@naturali/sdk 0.52.0 → 0.53.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.cjs +167 -3
- package/dist/index.d.cts +892 -65
- package/dist/index.d.mts +892 -65
- package/dist/index.mjs +167 -4
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1864,6 +1864,238 @@ type ModelList = {
|
|
|
1864
1864
|
*/
|
|
1865
1865
|
next_cursor: string | null;
|
|
1866
1866
|
};
|
|
1867
|
+
/**
|
|
1868
|
+
* A single execution unit in the graph. Required fields beyond `id` and `type` vary by node type (`agent`, `tool`, `transform`, `knowledge`, `memory_write`, `condition`, `human`, `approval`, `loop`, `poll`, `delay`, `webhook`, `emit_event`, `sub_orchestration`) — passed through exactly as sent, so it is not re-declared field by field here. Sent to (and validated by) `POST …/orchestrations/validate` before it is trusted.
|
|
1869
|
+
*
|
|
1870
|
+
*/
|
|
1871
|
+
type OrchestrationNode = {
|
|
1872
|
+
/**
|
|
1873
|
+
* Unique node identifier within this orchestration.
|
|
1874
|
+
*/
|
|
1875
|
+
id: string;
|
|
1876
|
+
/**
|
|
1877
|
+
* Node execution type.
|
|
1878
|
+
*/
|
|
1879
|
+
type: string;
|
|
1880
|
+
[key: string]: unknown;
|
|
1881
|
+
};
|
|
1882
|
+
/**
|
|
1883
|
+
* A directed connection between two nodes.
|
|
1884
|
+
*/
|
|
1885
|
+
type OrchestrationEdge = {
|
|
1886
|
+
/**
|
|
1887
|
+
* Source node ID.
|
|
1888
|
+
*/
|
|
1889
|
+
from: string;
|
|
1890
|
+
/**
|
|
1891
|
+
* Target node ID.
|
|
1892
|
+
*/
|
|
1893
|
+
to: string;
|
|
1894
|
+
[key: string]: unknown;
|
|
1895
|
+
};
|
|
1896
|
+
/**
|
|
1897
|
+
* An orchestration (pipeline) definition.
|
|
1898
|
+
*/
|
|
1899
|
+
type Orchestration = {
|
|
1900
|
+
/**
|
|
1901
|
+
* Public orchestration ID (orch_ prefix).
|
|
1902
|
+
*/
|
|
1903
|
+
id: string | null;
|
|
1904
|
+
project_id: string | null;
|
|
1905
|
+
name: string;
|
|
1906
|
+
description: string | null;
|
|
1907
|
+
nodes: Array<OrchestrationNode>;
|
|
1908
|
+
edges: Array<OrchestrationEdge>;
|
|
1909
|
+
/**
|
|
1910
|
+
* Optional JSON Schema the run's accumulated state is validated against.
|
|
1911
|
+
*/
|
|
1912
|
+
state_schema: {
|
|
1913
|
+
[key: string]: unknown;
|
|
1914
|
+
} | null;
|
|
1915
|
+
/**
|
|
1916
|
+
* Schema for a run's initial input; its top-level properties seed state.
|
|
1917
|
+
*/
|
|
1918
|
+
input_schema: {
|
|
1919
|
+
[key: string]: unknown;
|
|
1920
|
+
} | null;
|
|
1921
|
+
created_at: Date | null;
|
|
1922
|
+
updated_at: Date | null;
|
|
1923
|
+
};
|
|
1924
|
+
type CreateOrchestrationRequest = {
|
|
1925
|
+
name: string;
|
|
1926
|
+
description?: string | null;
|
|
1927
|
+
nodes: Array<OrchestrationNode>;
|
|
1928
|
+
edges: Array<OrchestrationEdge>;
|
|
1929
|
+
state_schema?: {
|
|
1930
|
+
[key: string]: unknown;
|
|
1931
|
+
} | null;
|
|
1932
|
+
input_schema?: {
|
|
1933
|
+
[key: string]: unknown;
|
|
1934
|
+
} | null;
|
|
1935
|
+
};
|
|
1936
|
+
/**
|
|
1937
|
+
* Every field is independently optional; send only what changes.
|
|
1938
|
+
*/
|
|
1939
|
+
type UpdateOrchestrationRequest = {
|
|
1940
|
+
name?: string;
|
|
1941
|
+
description?: string | null;
|
|
1942
|
+
nodes?: Array<OrchestrationNode>;
|
|
1943
|
+
edges?: Array<OrchestrationEdge>;
|
|
1944
|
+
state_schema?: {
|
|
1945
|
+
[key: string]: unknown;
|
|
1946
|
+
} | null;
|
|
1947
|
+
input_schema?: {
|
|
1948
|
+
[key: string]: unknown;
|
|
1949
|
+
} | null;
|
|
1950
|
+
};
|
|
1951
|
+
type OrchestrationList = {
|
|
1952
|
+
data: Array<Orchestration>;
|
|
1953
|
+
total: number | null;
|
|
1954
|
+
limit: number;
|
|
1955
|
+
offset: number;
|
|
1956
|
+
};
|
|
1957
|
+
type ValidateOrchestrationRequest = {
|
|
1958
|
+
nodes?: Array<OrchestrationNode>;
|
|
1959
|
+
edges?: Array<OrchestrationEdge>;
|
|
1960
|
+
input_schema?: {
|
|
1961
|
+
[key: string]: unknown;
|
|
1962
|
+
} | null;
|
|
1963
|
+
};
|
|
1964
|
+
type ValidationIssue = {
|
|
1965
|
+
/**
|
|
1966
|
+
* Location of the issue (e.g. `nodes[1].input_mapping.val`).
|
|
1967
|
+
*/
|
|
1968
|
+
path: string;
|
|
1969
|
+
message: string;
|
|
1970
|
+
};
|
|
1971
|
+
type ValidationResult = {
|
|
1972
|
+
/**
|
|
1973
|
+
* True when there are no blocking errors.
|
|
1974
|
+
*/
|
|
1975
|
+
valid: boolean;
|
|
1976
|
+
errors: Array<ValidationIssue>;
|
|
1977
|
+
warnings: Array<ValidationIssue>;
|
|
1978
|
+
};
|
|
1979
|
+
/**
|
|
1980
|
+
* Details for an `awaiting_input` run waiting on human input.
|
|
1981
|
+
*/
|
|
1982
|
+
type RequiredAction = {
|
|
1983
|
+
type: 'human_input' | 'webhook_receive';
|
|
1984
|
+
node_id: string;
|
|
1985
|
+
prompt: string;
|
|
1986
|
+
context: {
|
|
1987
|
+
[key: string]: unknown;
|
|
1988
|
+
};
|
|
1989
|
+
options?: Array<string> | null;
|
|
1990
|
+
};
|
|
1991
|
+
/**
|
|
1992
|
+
* Record of a single node execution within a run — resolved input, output, status and error — the orchestration analogue of a trace step.
|
|
1993
|
+
*
|
|
1994
|
+
*/
|
|
1995
|
+
type NodeExecution = {
|
|
1996
|
+
node_id: string;
|
|
1997
|
+
node_type?: string | null;
|
|
1998
|
+
/**
|
|
1999
|
+
* 1-based attempt number; a retried node produces one record per attempt.
|
|
2000
|
+
*/
|
|
2001
|
+
attempt: number;
|
|
2002
|
+
status: 'completed' | 'failed' | 'requires_action' | 'skipped';
|
|
2003
|
+
input?: {
|
|
2004
|
+
[key: string]: unknown;
|
|
2005
|
+
} | null;
|
|
2006
|
+
output?: {
|
|
2007
|
+
[key: string]: unknown;
|
|
2008
|
+
} | null;
|
|
2009
|
+
error?: {
|
|
2010
|
+
[key: string]: unknown;
|
|
2011
|
+
} | null;
|
|
2012
|
+
started_at?: Date | null;
|
|
2013
|
+
completed_at?: Date | null;
|
|
2014
|
+
};
|
|
2015
|
+
type OrchestrationRun = {
|
|
2016
|
+
/**
|
|
2017
|
+
* Public run ID (orch_run_ prefix).
|
|
2018
|
+
*/
|
|
2019
|
+
id: string | null;
|
|
2020
|
+
orchestration_id: string | null;
|
|
2021
|
+
project_id: string | null;
|
|
2022
|
+
/**
|
|
2023
|
+
* `queued` awaits a worker; `running` is executing; `sleeping` is parked on a delay/poll wait; `awaiting_input` is parked on a human or webhook node; `succeeded`/`failed`/`cancelled` are terminal; `expired` is a wait that passed its deadline.
|
|
2024
|
+
*/
|
|
2025
|
+
status: 'queued' | 'running' | 'sleeping' | 'awaiting_input' | 'succeeded' | 'failed' | 'cancelled' | 'expired';
|
|
2026
|
+
/**
|
|
2027
|
+
* Current accumulated state.
|
|
2028
|
+
*/
|
|
2029
|
+
state: {
|
|
2030
|
+
[key: string]: unknown;
|
|
2031
|
+
};
|
|
2032
|
+
active_nodes: Array<string>;
|
|
2033
|
+
/**
|
|
2034
|
+
* Map of node ID to output artifact.
|
|
2035
|
+
*/
|
|
2036
|
+
artifacts: {
|
|
2037
|
+
[key: string]: unknown;
|
|
2038
|
+
};
|
|
2039
|
+
error: {
|
|
2040
|
+
[key: string]: unknown;
|
|
2041
|
+
} | null;
|
|
2042
|
+
trace_id: string | null;
|
|
2043
|
+
input: {
|
|
2044
|
+
[key: string]: unknown;
|
|
2045
|
+
} | null;
|
|
2046
|
+
/**
|
|
2047
|
+
* Terminal node artifact(s), once the run has succeeded.
|
|
2048
|
+
*/
|
|
2049
|
+
output: {
|
|
2050
|
+
[key: string]: unknown;
|
|
2051
|
+
} | null;
|
|
2052
|
+
node_executions: Array<NodeExecution>;
|
|
2053
|
+
/**
|
|
2054
|
+
* Token/cost roll-up across every metered generation the run produced. Present on the single-run read; omitted from run lists.
|
|
2055
|
+
*/
|
|
2056
|
+
usage?: {
|
|
2057
|
+
[key: string]: unknown;
|
|
2058
|
+
};
|
|
2059
|
+
required_action: RequiredAction | null;
|
|
2060
|
+
started_at: Date | null;
|
|
2061
|
+
completed_at: Date | null;
|
|
2062
|
+
created_at: Date | null;
|
|
2063
|
+
updated_at: Date | null;
|
|
2064
|
+
};
|
|
2065
|
+
type OrchestrationRunList = {
|
|
2066
|
+
data: Array<OrchestrationRun>;
|
|
2067
|
+
total: number | null;
|
|
2068
|
+
limit: number;
|
|
2069
|
+
offset: number;
|
|
2070
|
+
};
|
|
2071
|
+
type StartRunRequest = {
|
|
2072
|
+
/**
|
|
2073
|
+
* Orchestration to run.
|
|
2074
|
+
*/
|
|
2075
|
+
orchestration_id: string;
|
|
2076
|
+
/**
|
|
2077
|
+
* Initial state for the run, merged with orchestration defaults.
|
|
2078
|
+
*/
|
|
2079
|
+
input?: {
|
|
2080
|
+
[key: string]: unknown;
|
|
2081
|
+
};
|
|
2082
|
+
/**
|
|
2083
|
+
* 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"`.
|
|
2084
|
+
*/
|
|
2085
|
+
wait?: boolean;
|
|
2086
|
+
};
|
|
2087
|
+
type HumanInputRequest = {
|
|
2088
|
+
/**
|
|
2089
|
+
* ID of the human node to satisfy.
|
|
2090
|
+
*/
|
|
2091
|
+
node_id: string;
|
|
2092
|
+
/**
|
|
2093
|
+
* Output/response provided by the human reviewer.
|
|
2094
|
+
*/
|
|
2095
|
+
output?: {
|
|
2096
|
+
[key: string]: unknown;
|
|
2097
|
+
};
|
|
2098
|
+
};
|
|
1867
2099
|
type Project = {
|
|
1868
2100
|
/**
|
|
1869
2101
|
* Public project ID (proj_ prefix).
|
|
@@ -2610,10 +2842,10 @@ type TraceList = {
|
|
|
2610
2842
|
*/
|
|
2611
2843
|
type TriggerType = 'schedule';
|
|
2612
2844
|
/**
|
|
2613
|
-
*
|
|
2845
|
+
* What the trigger runs. `agent` starts an agent generation; `orchestration` starts a run of an orchestration graph. The runtime's third kind, `tool`, is not fronted here.
|
|
2614
2846
|
*
|
|
2615
2847
|
*/
|
|
2616
|
-
type TriggerTargetType = 'agent';
|
|
2848
|
+
type TriggerTargetType = 'agent' | 'orchestration';
|
|
2617
2849
|
type Trigger = {
|
|
2618
2850
|
/**
|
|
2619
2851
|
* Public trigger ID (trg_ prefix) — the runtime trigger id.
|
|
@@ -2625,11 +2857,12 @@ type Trigger = {
|
|
|
2625
2857
|
type: TriggerType;
|
|
2626
2858
|
target_type: TriggerTargetType;
|
|
2627
2859
|
/**
|
|
2628
|
-
* The agent this trigger runs
|
|
2860
|
+
* The agent or orchestration this trigger runs, per `target_type`.
|
|
2861
|
+
*
|
|
2629
2862
|
*/
|
|
2630
2863
|
target_id: string;
|
|
2631
2864
|
/**
|
|
2632
|
-
* Static input passed to the
|
|
2865
|
+
* Static input passed to the target on every fire, scheduled or manual — shallow-merged under any input a manual `…:fire` call supplies for that one run. For an `orchestration` target this is the run's initial input.
|
|
2633
2866
|
*
|
|
2634
2867
|
*/
|
|
2635
2868
|
input: {
|
|
@@ -2655,7 +2888,13 @@ type TriggerCreate = {
|
|
|
2655
2888
|
name: string;
|
|
2656
2889
|
description?: string;
|
|
2657
2890
|
/**
|
|
2658
|
-
*
|
|
2891
|
+
* Which kind of resource `target_id` names. Defaults to `agent`, so a body written before the orchestration target existed keeps its meaning.
|
|
2892
|
+
*
|
|
2893
|
+
*/
|
|
2894
|
+
target_type?: TriggerTargetType;
|
|
2895
|
+
/**
|
|
2896
|
+
* The agent or orchestration this trigger runs, per `target_type`. Must belong to this project — an id from another project is `404`.
|
|
2897
|
+
*
|
|
2659
2898
|
*/
|
|
2660
2899
|
target_id: string;
|
|
2661
2900
|
input?: {
|
|
@@ -2673,6 +2912,11 @@ type TriggerCreate = {
|
|
|
2673
2912
|
type TriggerUpdate = {
|
|
2674
2913
|
name?: string;
|
|
2675
2914
|
description?: string | null;
|
|
2915
|
+
/**
|
|
2916
|
+
* Change what kind of resource the trigger runs. Must be sent **together with `target_id`** — the kind and the id are one target, and accepting the kind alone would leave the trigger pointing at an id of the wrong kind (`400`). Sending `target_id` on its own is fine and keeps the trigger's current kind, which is the kind the new id is validated against.
|
|
2917
|
+
*
|
|
2918
|
+
*/
|
|
2919
|
+
target_type?: TriggerTargetType;
|
|
2676
2920
|
target_id?: string;
|
|
2677
2921
|
input?: {
|
|
2678
2922
|
[key: string]: unknown;
|
|
@@ -2976,6 +3220,14 @@ type DocumentId = string;
|
|
|
2976
3220
|
* Knowledge converter public ID (igr_ prefix).
|
|
2977
3221
|
*/
|
|
2978
3222
|
type ConverterId = string;
|
|
3223
|
+
/**
|
|
3224
|
+
* Orchestration public ID (orch_ prefix).
|
|
3225
|
+
*/
|
|
3226
|
+
type OrchestrationId = string;
|
|
3227
|
+
/**
|
|
3228
|
+
* Orchestration run public ID (orch_run_ prefix).
|
|
3229
|
+
*/
|
|
3230
|
+
type RunId = string;
|
|
2979
3231
|
/**
|
|
2980
3232
|
* Provider public ID (aip_ prefix).
|
|
2981
3233
|
*/
|
|
@@ -3012,6 +3264,11 @@ type ToolId = string;
|
|
|
3012
3264
|
* Trace public ID (trace_ prefix).
|
|
3013
3265
|
*/
|
|
3014
3266
|
type TraceId = string;
|
|
3267
|
+
/**
|
|
3268
|
+
* Narrow the page to one target kind. Filtered and counted upstream, so `total` is exact. Omit it to list both kinds — see the operation's note on `total`.
|
|
3269
|
+
*
|
|
3270
|
+
*/
|
|
3271
|
+
type TargetTypeFilter = TriggerTargetType;
|
|
3015
3272
|
/**
|
|
3016
3273
|
* Trigger public ID (trg_ prefix) — the runtime trigger id.
|
|
3017
3274
|
*/
|
|
@@ -5842,48 +6099,65 @@ type GetModelResponses = {
|
|
|
5842
6099
|
200: Model;
|
|
5843
6100
|
};
|
|
5844
6101
|
type GetModelResponse = GetModelResponses[keyof GetModelResponses];
|
|
5845
|
-
type
|
|
6102
|
+
type ListOrchestrationsData = {
|
|
5846
6103
|
body?: never;
|
|
5847
|
-
path
|
|
6104
|
+
path: {
|
|
6105
|
+
/**
|
|
6106
|
+
* Project public ID (proj_ prefix).
|
|
6107
|
+
*/
|
|
6108
|
+
project_id: string;
|
|
6109
|
+
};
|
|
5848
6110
|
query?: {
|
|
5849
6111
|
/**
|
|
5850
6112
|
* Maximum items to return (1–100).
|
|
5851
6113
|
*/
|
|
5852
6114
|
limit?: number;
|
|
5853
6115
|
/**
|
|
5854
|
-
*
|
|
6116
|
+
* 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.
|
|
6117
|
+
*
|
|
5855
6118
|
*/
|
|
5856
|
-
|
|
6119
|
+
offset?: number;
|
|
5857
6120
|
};
|
|
5858
|
-
url: '/v1/projects';
|
|
6121
|
+
url: '/v1/projects/{project_id}/orchestrations';
|
|
5859
6122
|
};
|
|
5860
|
-
type
|
|
6123
|
+
type ListOrchestrationsErrors = {
|
|
6124
|
+
/**
|
|
6125
|
+
* The request was malformed or failed validation.
|
|
6126
|
+
*/
|
|
6127
|
+
400: ErrorResponse;
|
|
5861
6128
|
/**
|
|
5862
6129
|
* Missing or invalid credentials.
|
|
5863
6130
|
*/
|
|
5864
6131
|
401: ErrorResponse;
|
|
6132
|
+
/**
|
|
6133
|
+
* The resource does not exist (existence is not leaked).
|
|
6134
|
+
*/
|
|
6135
|
+
404: ErrorResponse;
|
|
6136
|
+
/**
|
|
6137
|
+
* The upstream runtime could not complete the operation.
|
|
6138
|
+
*/
|
|
6139
|
+
502: ErrorResponse;
|
|
5865
6140
|
};
|
|
5866
|
-
type
|
|
5867
|
-
type
|
|
6141
|
+
type ListOrchestrationsError = ListOrchestrationsErrors[keyof ListOrchestrationsErrors];
|
|
6142
|
+
type ListOrchestrationsResponses = {
|
|
5868
6143
|
/**
|
|
5869
|
-
* A page of
|
|
6144
|
+
* A page of orchestrations.
|
|
5870
6145
|
*/
|
|
5871
|
-
200:
|
|
6146
|
+
200: OrchestrationList;
|
|
5872
6147
|
};
|
|
5873
|
-
type
|
|
5874
|
-
type
|
|
5875
|
-
body:
|
|
5876
|
-
|
|
6148
|
+
type ListOrchestrationsResponse = ListOrchestrationsResponses[keyof ListOrchestrationsResponses];
|
|
6149
|
+
type CreateOrchestrationData = {
|
|
6150
|
+
body: CreateOrchestrationRequest;
|
|
6151
|
+
path: {
|
|
5877
6152
|
/**
|
|
5878
|
-
*
|
|
6153
|
+
* Project public ID (proj_ prefix).
|
|
5879
6154
|
*/
|
|
5880
|
-
|
|
6155
|
+
project_id: string;
|
|
5881
6156
|
};
|
|
5882
|
-
path?: never;
|
|
5883
6157
|
query?: never;
|
|
5884
|
-
url: '/v1/projects';
|
|
6158
|
+
url: '/v1/projects/{project_id}/orchestrations';
|
|
5885
6159
|
};
|
|
5886
|
-
type
|
|
6160
|
+
type CreateOrchestrationErrors = {
|
|
5887
6161
|
/**
|
|
5888
6162
|
* The request was malformed or failed validation.
|
|
5889
6163
|
*/
|
|
@@ -5892,33 +6166,35 @@ type CreateProjectErrors = {
|
|
|
5892
6166
|
* Missing or invalid credentials.
|
|
5893
6167
|
*/
|
|
5894
6168
|
401: ErrorResponse;
|
|
6169
|
+
/**
|
|
6170
|
+
* The resource does not exist (existence is not leaked).
|
|
6171
|
+
*/
|
|
6172
|
+
404: ErrorResponse;
|
|
6173
|
+
/**
|
|
6174
|
+
* The upstream runtime could not complete the operation.
|
|
6175
|
+
*/
|
|
6176
|
+
502: ErrorResponse;
|
|
5895
6177
|
};
|
|
5896
|
-
type
|
|
5897
|
-
type
|
|
6178
|
+
type CreateOrchestrationError = CreateOrchestrationErrors[keyof CreateOrchestrationErrors];
|
|
6179
|
+
type CreateOrchestrationResponses = {
|
|
5898
6180
|
/**
|
|
5899
|
-
*
|
|
6181
|
+
* Orchestration created.
|
|
5900
6182
|
*/
|
|
5901
|
-
201:
|
|
6183
|
+
201: Orchestration;
|
|
5902
6184
|
};
|
|
5903
|
-
type
|
|
5904
|
-
type
|
|
5905
|
-
body
|
|
6185
|
+
type CreateOrchestrationResponse = CreateOrchestrationResponses[keyof CreateOrchestrationResponses];
|
|
6186
|
+
type ValidateOrchestrationData = {
|
|
6187
|
+
body: ValidateOrchestrationRequest;
|
|
5906
6188
|
path: {
|
|
5907
6189
|
/**
|
|
5908
6190
|
* Project public ID (proj_ prefix).
|
|
5909
6191
|
*/
|
|
5910
6192
|
project_id: string;
|
|
5911
6193
|
};
|
|
5912
|
-
query?:
|
|
5913
|
-
|
|
5914
|
-
* When true, delete the agent together with its dependent generations and traces instead of returning 409. Destructive and irreversible.
|
|
5915
|
-
*
|
|
5916
|
-
*/
|
|
5917
|
-
force?: boolean;
|
|
5918
|
-
};
|
|
5919
|
-
url: '/v1/projects/{project_id}';
|
|
6194
|
+
query?: never;
|
|
6195
|
+
url: '/v1/projects/{project_id}/orchestrations/validate';
|
|
5920
6196
|
};
|
|
5921
|
-
type
|
|
6197
|
+
type ValidateOrchestrationErrors = {
|
|
5922
6198
|
/**
|
|
5923
6199
|
* Missing or invalid credentials.
|
|
5924
6200
|
*/
|
|
@@ -5928,30 +6204,34 @@ type DeleteProjectErrors = {
|
|
|
5928
6204
|
*/
|
|
5929
6205
|
404: ErrorResponse;
|
|
5930
6206
|
/**
|
|
5931
|
-
* The
|
|
6207
|
+
* The upstream runtime could not complete the operation.
|
|
5932
6208
|
*/
|
|
5933
|
-
|
|
6209
|
+
502: ErrorResponse;
|
|
5934
6210
|
};
|
|
5935
|
-
type
|
|
5936
|
-
type
|
|
6211
|
+
type ValidateOrchestrationError = ValidateOrchestrationErrors[keyof ValidateOrchestrationErrors];
|
|
6212
|
+
type ValidateOrchestrationResponses = {
|
|
5937
6213
|
/**
|
|
5938
|
-
*
|
|
6214
|
+
* Validation result.
|
|
5939
6215
|
*/
|
|
5940
|
-
|
|
6216
|
+
200: ValidationResult;
|
|
5941
6217
|
};
|
|
5942
|
-
type
|
|
5943
|
-
type
|
|
6218
|
+
type ValidateOrchestrationResponse = ValidateOrchestrationResponses[keyof ValidateOrchestrationResponses];
|
|
6219
|
+
type DeleteOrchestrationData = {
|
|
5944
6220
|
body?: never;
|
|
5945
6221
|
path: {
|
|
5946
6222
|
/**
|
|
5947
6223
|
* Project public ID (proj_ prefix).
|
|
5948
6224
|
*/
|
|
5949
6225
|
project_id: string;
|
|
6226
|
+
/**
|
|
6227
|
+
* Orchestration public ID (orch_ prefix).
|
|
6228
|
+
*/
|
|
6229
|
+
orchestration_id: string;
|
|
5950
6230
|
};
|
|
5951
6231
|
query?: never;
|
|
5952
|
-
url: '/v1/projects/{project_id}';
|
|
6232
|
+
url: '/v1/projects/{project_id}/orchestrations/{orchestration_id}';
|
|
5953
6233
|
};
|
|
5954
|
-
type
|
|
6234
|
+
type DeleteOrchestrationErrors = {
|
|
5955
6235
|
/**
|
|
5956
6236
|
* Missing or invalid credentials.
|
|
5957
6237
|
*/
|
|
@@ -5960,31 +6240,492 @@ type GetProjectErrors = {
|
|
|
5960
6240
|
* The resource does not exist (existence is not leaked).
|
|
5961
6241
|
*/
|
|
5962
6242
|
404: ErrorResponse;
|
|
6243
|
+
/**
|
|
6244
|
+
* The upstream runtime could not complete the operation.
|
|
6245
|
+
*/
|
|
6246
|
+
502: ErrorResponse;
|
|
5963
6247
|
};
|
|
5964
|
-
type
|
|
5965
|
-
type
|
|
6248
|
+
type DeleteOrchestrationError = DeleteOrchestrationErrors[keyof DeleteOrchestrationErrors];
|
|
6249
|
+
type DeleteOrchestrationResponses = {
|
|
5966
6250
|
/**
|
|
5967
|
-
*
|
|
6251
|
+
* Deleted.
|
|
5968
6252
|
*/
|
|
5969
|
-
|
|
6253
|
+
204: void;
|
|
5970
6254
|
};
|
|
5971
|
-
type
|
|
5972
|
-
type
|
|
5973
|
-
body
|
|
6255
|
+
type DeleteOrchestrationResponse = DeleteOrchestrationResponses[keyof DeleteOrchestrationResponses];
|
|
6256
|
+
type GetOrchestrationData = {
|
|
6257
|
+
body?: never;
|
|
5974
6258
|
path: {
|
|
5975
6259
|
/**
|
|
5976
6260
|
* Project public ID (proj_ prefix).
|
|
5977
6261
|
*/
|
|
5978
6262
|
project_id: string;
|
|
6263
|
+
/**
|
|
6264
|
+
* Orchestration public ID (orch_ prefix).
|
|
6265
|
+
*/
|
|
6266
|
+
orchestration_id: string;
|
|
5979
6267
|
};
|
|
5980
6268
|
query?: never;
|
|
5981
|
-
url: '/v1/projects/{project_id}';
|
|
6269
|
+
url: '/v1/projects/{project_id}/orchestrations/{orchestration_id}';
|
|
5982
6270
|
};
|
|
5983
|
-
type
|
|
6271
|
+
type GetOrchestrationErrors = {
|
|
5984
6272
|
/**
|
|
5985
|
-
*
|
|
6273
|
+
* Missing or invalid credentials.
|
|
5986
6274
|
*/
|
|
5987
|
-
|
|
6275
|
+
401: ErrorResponse;
|
|
6276
|
+
/**
|
|
6277
|
+
* The resource does not exist (existence is not leaked).
|
|
6278
|
+
*/
|
|
6279
|
+
404: ErrorResponse;
|
|
6280
|
+
/**
|
|
6281
|
+
* The upstream runtime could not complete the operation.
|
|
6282
|
+
*/
|
|
6283
|
+
502: ErrorResponse;
|
|
6284
|
+
};
|
|
6285
|
+
type GetOrchestrationError = GetOrchestrationErrors[keyof GetOrchestrationErrors];
|
|
6286
|
+
type GetOrchestrationResponses = {
|
|
6287
|
+
/**
|
|
6288
|
+
* Orchestration details.
|
|
6289
|
+
*/
|
|
6290
|
+
200: Orchestration;
|
|
6291
|
+
};
|
|
6292
|
+
type GetOrchestrationResponse = GetOrchestrationResponses[keyof GetOrchestrationResponses];
|
|
6293
|
+
type UpdateOrchestrationData = {
|
|
6294
|
+
body: UpdateOrchestrationRequest;
|
|
6295
|
+
path: {
|
|
6296
|
+
/**
|
|
6297
|
+
* Project public ID (proj_ prefix).
|
|
6298
|
+
*/
|
|
6299
|
+
project_id: string;
|
|
6300
|
+
/**
|
|
6301
|
+
* Orchestration public ID (orch_ prefix).
|
|
6302
|
+
*/
|
|
6303
|
+
orchestration_id: string;
|
|
6304
|
+
};
|
|
6305
|
+
query?: never;
|
|
6306
|
+
url: '/v1/projects/{project_id}/orchestrations/{orchestration_id}';
|
|
6307
|
+
};
|
|
6308
|
+
type UpdateOrchestrationErrors = {
|
|
6309
|
+
/**
|
|
6310
|
+
* The request was malformed or failed validation.
|
|
6311
|
+
*/
|
|
6312
|
+
400: ErrorResponse;
|
|
6313
|
+
/**
|
|
6314
|
+
* Missing or invalid credentials.
|
|
6315
|
+
*/
|
|
6316
|
+
401: ErrorResponse;
|
|
6317
|
+
/**
|
|
6318
|
+
* The resource does not exist (existence is not leaked).
|
|
6319
|
+
*/
|
|
6320
|
+
404: ErrorResponse;
|
|
6321
|
+
/**
|
|
6322
|
+
* The upstream runtime could not complete the operation.
|
|
6323
|
+
*/
|
|
6324
|
+
502: ErrorResponse;
|
|
6325
|
+
};
|
|
6326
|
+
type UpdateOrchestrationError = UpdateOrchestrationErrors[keyof UpdateOrchestrationErrors];
|
|
6327
|
+
type UpdateOrchestrationResponses = {
|
|
6328
|
+
/**
|
|
6329
|
+
* Updated orchestration.
|
|
6330
|
+
*/
|
|
6331
|
+
200: Orchestration;
|
|
6332
|
+
};
|
|
6333
|
+
type UpdateOrchestrationResponse = UpdateOrchestrationResponses[keyof UpdateOrchestrationResponses];
|
|
6334
|
+
type ListOrchestrationRunsData = {
|
|
6335
|
+
body?: never;
|
|
6336
|
+
path: {
|
|
6337
|
+
/**
|
|
6338
|
+
* Project public ID (proj_ prefix).
|
|
6339
|
+
*/
|
|
6340
|
+
project_id: string;
|
|
6341
|
+
};
|
|
6342
|
+
query: {
|
|
6343
|
+
/**
|
|
6344
|
+
* Orchestration public ID to list runs of.
|
|
6345
|
+
*/
|
|
6346
|
+
orchestration_id: string;
|
|
6347
|
+
/**
|
|
6348
|
+
* Maximum items to return (1–100).
|
|
6349
|
+
*/
|
|
6350
|
+
limit?: number;
|
|
6351
|
+
/**
|
|
6352
|
+
* 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.
|
|
6353
|
+
*
|
|
6354
|
+
*/
|
|
6355
|
+
offset?: number;
|
|
6356
|
+
};
|
|
6357
|
+
url: '/v1/projects/{project_id}/orchestration-runs';
|
|
6358
|
+
};
|
|
6359
|
+
type ListOrchestrationRunsErrors = {
|
|
6360
|
+
/**
|
|
6361
|
+
* The request was malformed or failed validation.
|
|
6362
|
+
*/
|
|
6363
|
+
400: ErrorResponse;
|
|
6364
|
+
/**
|
|
6365
|
+
* Missing or invalid credentials.
|
|
6366
|
+
*/
|
|
6367
|
+
401: ErrorResponse;
|
|
6368
|
+
/**
|
|
6369
|
+
* The resource does not exist (existence is not leaked).
|
|
6370
|
+
*/
|
|
6371
|
+
404: ErrorResponse;
|
|
6372
|
+
/**
|
|
6373
|
+
* The upstream runtime could not complete the operation.
|
|
6374
|
+
*/
|
|
6375
|
+
502: ErrorResponse;
|
|
6376
|
+
};
|
|
6377
|
+
type ListOrchestrationRunsError = ListOrchestrationRunsErrors[keyof ListOrchestrationRunsErrors];
|
|
6378
|
+
type ListOrchestrationRunsResponses = {
|
|
6379
|
+
/**
|
|
6380
|
+
* A page of runs.
|
|
6381
|
+
*/
|
|
6382
|
+
200: OrchestrationRunList;
|
|
6383
|
+
};
|
|
6384
|
+
type ListOrchestrationRunsResponse = ListOrchestrationRunsResponses[keyof ListOrchestrationRunsResponses];
|
|
6385
|
+
type StartOrchestrationRunData = {
|
|
6386
|
+
body: StartRunRequest;
|
|
6387
|
+
path: {
|
|
6388
|
+
/**
|
|
6389
|
+
* Project public ID (proj_ prefix).
|
|
6390
|
+
*/
|
|
6391
|
+
project_id: string;
|
|
6392
|
+
};
|
|
6393
|
+
query?: never;
|
|
6394
|
+
url: '/v1/projects/{project_id}/orchestration-runs';
|
|
6395
|
+
};
|
|
6396
|
+
type StartOrchestrationRunErrors = {
|
|
6397
|
+
/**
|
|
6398
|
+
* The request was malformed or failed validation.
|
|
6399
|
+
*/
|
|
6400
|
+
400: ErrorResponse;
|
|
6401
|
+
/**
|
|
6402
|
+
* Missing or invalid credentials.
|
|
6403
|
+
*/
|
|
6404
|
+
401: ErrorResponse;
|
|
6405
|
+
/**
|
|
6406
|
+
* The project, or the referenced orchestration, was not found.
|
|
6407
|
+
*/
|
|
6408
|
+
404: ErrorResponse;
|
|
6409
|
+
/**
|
|
6410
|
+
* The upstream runtime could not complete the operation.
|
|
6411
|
+
*/
|
|
6412
|
+
502: ErrorResponse;
|
|
6413
|
+
};
|
|
6414
|
+
type StartOrchestrationRunError = StartOrchestrationRunErrors[keyof StartOrchestrationRunErrors];
|
|
6415
|
+
type StartOrchestrationRunResponses = {
|
|
6416
|
+
/**
|
|
6417
|
+
* Run created (and, with wait: true, executed).
|
|
6418
|
+
*/
|
|
6419
|
+
201: OrchestrationRun;
|
|
6420
|
+
};
|
|
6421
|
+
type StartOrchestrationRunResponse = StartOrchestrationRunResponses[keyof StartOrchestrationRunResponses];
|
|
6422
|
+
type GetOrchestrationRunData = {
|
|
6423
|
+
body?: never;
|
|
6424
|
+
path: {
|
|
6425
|
+
/**
|
|
6426
|
+
* Project public ID (proj_ prefix).
|
|
6427
|
+
*/
|
|
6428
|
+
project_id: string;
|
|
6429
|
+
/**
|
|
6430
|
+
* Orchestration run public ID (orch_run_ prefix).
|
|
6431
|
+
*/
|
|
6432
|
+
orchestration_run_id: string;
|
|
6433
|
+
};
|
|
6434
|
+
query?: never;
|
|
6435
|
+
url: '/v1/projects/{project_id}/orchestration-runs/{orchestration_run_id}';
|
|
6436
|
+
};
|
|
6437
|
+
type GetOrchestrationRunErrors = {
|
|
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 GetOrchestrationRunError = GetOrchestrationRunErrors[keyof GetOrchestrationRunErrors];
|
|
6452
|
+
type GetOrchestrationRunResponses = {
|
|
6453
|
+
/**
|
|
6454
|
+
* Run details.
|
|
6455
|
+
*/
|
|
6456
|
+
200: OrchestrationRun;
|
|
6457
|
+
};
|
|
6458
|
+
type GetOrchestrationRunResponse = GetOrchestrationRunResponses[keyof GetOrchestrationRunResponses];
|
|
6459
|
+
type CancelOrchestrationRunData = {
|
|
6460
|
+
body?: never;
|
|
6461
|
+
path: {
|
|
6462
|
+
/**
|
|
6463
|
+
* Project public ID (proj_ prefix).
|
|
6464
|
+
*/
|
|
6465
|
+
project_id: string;
|
|
6466
|
+
/**
|
|
6467
|
+
* Orchestration run public ID (orch_run_ prefix).
|
|
6468
|
+
*/
|
|
6469
|
+
orchestration_run_id: string;
|
|
6470
|
+
};
|
|
6471
|
+
query?: never;
|
|
6472
|
+
url: '/v1/projects/{project_id}/orchestration-runs/{orchestration_run_id}/cancel';
|
|
6473
|
+
};
|
|
6474
|
+
type CancelOrchestrationRunErrors = {
|
|
6475
|
+
/**
|
|
6476
|
+
* Missing or invalid credentials.
|
|
6477
|
+
*/
|
|
6478
|
+
401: ErrorResponse;
|
|
6479
|
+
/**
|
|
6480
|
+
* The resource does not exist (existence is not leaked).
|
|
6481
|
+
*/
|
|
6482
|
+
404: ErrorResponse;
|
|
6483
|
+
/**
|
|
6484
|
+
* The run has already reached a terminal state.
|
|
6485
|
+
*/
|
|
6486
|
+
409: ErrorResponse;
|
|
6487
|
+
/**
|
|
6488
|
+
* The upstream runtime could not complete the operation.
|
|
6489
|
+
*/
|
|
6490
|
+
502: ErrorResponse;
|
|
6491
|
+
};
|
|
6492
|
+
type CancelOrchestrationRunError = CancelOrchestrationRunErrors[keyof CancelOrchestrationRunErrors];
|
|
6493
|
+
type CancelOrchestrationRunResponses = {
|
|
6494
|
+
/**
|
|
6495
|
+
* Cancelled run.
|
|
6496
|
+
*/
|
|
6497
|
+
200: OrchestrationRun;
|
|
6498
|
+
};
|
|
6499
|
+
type CancelOrchestrationRunResponse = CancelOrchestrationRunResponses[keyof CancelOrchestrationRunResponses];
|
|
6500
|
+
type ResumeOrchestrationRunData = {
|
|
6501
|
+
body?: never;
|
|
6502
|
+
path: {
|
|
6503
|
+
/**
|
|
6504
|
+
* Project public ID (proj_ prefix).
|
|
6505
|
+
*/
|
|
6506
|
+
project_id: string;
|
|
6507
|
+
/**
|
|
6508
|
+
* Orchestration run public ID (orch_run_ prefix).
|
|
6509
|
+
*/
|
|
6510
|
+
orchestration_run_id: string;
|
|
6511
|
+
};
|
|
6512
|
+
query?: never;
|
|
6513
|
+
url: '/v1/projects/{project_id}/orchestration-runs/{orchestration_run_id}/resume';
|
|
6514
|
+
};
|
|
6515
|
+
type ResumeOrchestrationRunErrors = {
|
|
6516
|
+
/**
|
|
6517
|
+
* Missing or invalid credentials.
|
|
6518
|
+
*/
|
|
6519
|
+
401: ErrorResponse;
|
|
6520
|
+
/**
|
|
6521
|
+
* The resource does not exist (existence is not leaked).
|
|
6522
|
+
*/
|
|
6523
|
+
404: ErrorResponse;
|
|
6524
|
+
/**
|
|
6525
|
+
* The run is not awaiting input.
|
|
6526
|
+
*/
|
|
6527
|
+
409: ErrorResponse;
|
|
6528
|
+
/**
|
|
6529
|
+
* The upstream runtime could not complete the operation.
|
|
6530
|
+
*/
|
|
6531
|
+
502: ErrorResponse;
|
|
6532
|
+
};
|
|
6533
|
+
type ResumeOrchestrationRunError = ResumeOrchestrationRunErrors[keyof ResumeOrchestrationRunErrors];
|
|
6534
|
+
type ResumeOrchestrationRunResponses = {
|
|
6535
|
+
/**
|
|
6536
|
+
* Resumed run.
|
|
6537
|
+
*/
|
|
6538
|
+
200: OrchestrationRun;
|
|
6539
|
+
};
|
|
6540
|
+
type ResumeOrchestrationRunResponse = ResumeOrchestrationRunResponses[keyof ResumeOrchestrationRunResponses];
|
|
6541
|
+
type SubmitHumanInputData = {
|
|
6542
|
+
body: HumanInputRequest;
|
|
6543
|
+
path: {
|
|
6544
|
+
/**
|
|
6545
|
+
* Project public ID (proj_ prefix).
|
|
6546
|
+
*/
|
|
6547
|
+
project_id: string;
|
|
6548
|
+
/**
|
|
6549
|
+
* Orchestration run public ID (orch_run_ prefix).
|
|
6550
|
+
*/
|
|
6551
|
+
orchestration_run_id: string;
|
|
6552
|
+
};
|
|
6553
|
+
query?: never;
|
|
6554
|
+
url: '/v1/projects/{project_id}/orchestration-runs/{orchestration_run_id}/human-input';
|
|
6555
|
+
};
|
|
6556
|
+
type SubmitHumanInputErrors = {
|
|
6557
|
+
/**
|
|
6558
|
+
* The request was malformed or failed validation.
|
|
6559
|
+
*/
|
|
6560
|
+
400: ErrorResponse;
|
|
6561
|
+
/**
|
|
6562
|
+
* Missing or invalid credentials.
|
|
6563
|
+
*/
|
|
6564
|
+
401: ErrorResponse;
|
|
6565
|
+
/**
|
|
6566
|
+
* The resource does not exist (existence is not leaked).
|
|
6567
|
+
*/
|
|
6568
|
+
404: ErrorResponse;
|
|
6569
|
+
/**
|
|
6570
|
+
* The run is not awaiting input.
|
|
6571
|
+
*/
|
|
6572
|
+
409: ErrorResponse;
|
|
6573
|
+
/**
|
|
6574
|
+
* The upstream runtime could not complete the operation.
|
|
6575
|
+
*/
|
|
6576
|
+
502: ErrorResponse;
|
|
6577
|
+
};
|
|
6578
|
+
type SubmitHumanInputError = SubmitHumanInputErrors[keyof SubmitHumanInputErrors];
|
|
6579
|
+
type SubmitHumanInputResponses = {
|
|
6580
|
+
/**
|
|
6581
|
+
* Run after processing the human input.
|
|
6582
|
+
*/
|
|
6583
|
+
200: OrchestrationRun;
|
|
6584
|
+
};
|
|
6585
|
+
type SubmitHumanInputResponse = SubmitHumanInputResponses[keyof SubmitHumanInputResponses];
|
|
6586
|
+
type ListProjectsData = {
|
|
6587
|
+
body?: never;
|
|
6588
|
+
path?: never;
|
|
6589
|
+
query?: {
|
|
6590
|
+
/**
|
|
6591
|
+
* Maximum items to return (1–100).
|
|
6592
|
+
*/
|
|
6593
|
+
limit?: number;
|
|
6594
|
+
/**
|
|
6595
|
+
* Opaque pagination cursor from a previous response's next_cursor.
|
|
6596
|
+
*/
|
|
6597
|
+
cursor?: string;
|
|
6598
|
+
};
|
|
6599
|
+
url: '/v1/projects';
|
|
6600
|
+
};
|
|
6601
|
+
type ListProjectsErrors = {
|
|
6602
|
+
/**
|
|
6603
|
+
* Missing or invalid credentials.
|
|
6604
|
+
*/
|
|
6605
|
+
401: ErrorResponse;
|
|
6606
|
+
};
|
|
6607
|
+
type ListProjectsError = ListProjectsErrors[keyof ListProjectsErrors];
|
|
6608
|
+
type ListProjectsResponses = {
|
|
6609
|
+
/**
|
|
6610
|
+
* A page of projects.
|
|
6611
|
+
*/
|
|
6612
|
+
200: ProjectList;
|
|
6613
|
+
};
|
|
6614
|
+
type ListProjectsResponse = ListProjectsResponses[keyof ListProjectsResponses];
|
|
6615
|
+
type CreateProjectData = {
|
|
6616
|
+
body: ProjectCreate;
|
|
6617
|
+
headers?: {
|
|
6618
|
+
/**
|
|
6619
|
+
* Client-supplied key to make this mutating POST idempotent.
|
|
6620
|
+
*/
|
|
6621
|
+
'Idempotency-Key'?: string;
|
|
6622
|
+
};
|
|
6623
|
+
path?: never;
|
|
6624
|
+
query?: never;
|
|
6625
|
+
url: '/v1/projects';
|
|
6626
|
+
};
|
|
6627
|
+
type CreateProjectErrors = {
|
|
6628
|
+
/**
|
|
6629
|
+
* The request was malformed or failed validation.
|
|
6630
|
+
*/
|
|
6631
|
+
400: ErrorResponse;
|
|
6632
|
+
/**
|
|
6633
|
+
* Missing or invalid credentials.
|
|
6634
|
+
*/
|
|
6635
|
+
401: ErrorResponse;
|
|
6636
|
+
};
|
|
6637
|
+
type CreateProjectError = CreateProjectErrors[keyof CreateProjectErrors];
|
|
6638
|
+
type CreateProjectResponses = {
|
|
6639
|
+
/**
|
|
6640
|
+
* Project created.
|
|
6641
|
+
*/
|
|
6642
|
+
201: Project;
|
|
6643
|
+
};
|
|
6644
|
+
type CreateProjectResponse = CreateProjectResponses[keyof CreateProjectResponses];
|
|
6645
|
+
type DeleteProjectData = {
|
|
6646
|
+
body?: never;
|
|
6647
|
+
path: {
|
|
6648
|
+
/**
|
|
6649
|
+
* Project public ID (proj_ prefix).
|
|
6650
|
+
*/
|
|
6651
|
+
project_id: string;
|
|
6652
|
+
};
|
|
6653
|
+
query?: {
|
|
6654
|
+
/**
|
|
6655
|
+
* When true, delete the agent together with its dependent generations and traces instead of returning 409. Destructive and irreversible.
|
|
6656
|
+
*
|
|
6657
|
+
*/
|
|
6658
|
+
force?: boolean;
|
|
6659
|
+
};
|
|
6660
|
+
url: '/v1/projects/{project_id}';
|
|
6661
|
+
};
|
|
6662
|
+
type DeleteProjectErrors = {
|
|
6663
|
+
/**
|
|
6664
|
+
* Missing or invalid credentials.
|
|
6665
|
+
*/
|
|
6666
|
+
401: ErrorResponse;
|
|
6667
|
+
/**
|
|
6668
|
+
* The resource does not exist (existence is not leaked).
|
|
6669
|
+
*/
|
|
6670
|
+
404: ErrorResponse;
|
|
6671
|
+
/**
|
|
6672
|
+
* The project still has dependent resources on the runtime (retry with `force=true`).
|
|
6673
|
+
*/
|
|
6674
|
+
409: ErrorResponse;
|
|
6675
|
+
};
|
|
6676
|
+
type DeleteProjectError = DeleteProjectErrors[keyof DeleteProjectErrors];
|
|
6677
|
+
type DeleteProjectResponses = {
|
|
6678
|
+
/**
|
|
6679
|
+
* Project deleted.
|
|
6680
|
+
*/
|
|
6681
|
+
204: void;
|
|
6682
|
+
};
|
|
6683
|
+
type DeleteProjectResponse = DeleteProjectResponses[keyof DeleteProjectResponses];
|
|
6684
|
+
type GetProjectData = {
|
|
6685
|
+
body?: never;
|
|
6686
|
+
path: {
|
|
6687
|
+
/**
|
|
6688
|
+
* Project public ID (proj_ prefix).
|
|
6689
|
+
*/
|
|
6690
|
+
project_id: string;
|
|
6691
|
+
};
|
|
6692
|
+
query?: never;
|
|
6693
|
+
url: '/v1/projects/{project_id}';
|
|
6694
|
+
};
|
|
6695
|
+
type GetProjectErrors = {
|
|
6696
|
+
/**
|
|
6697
|
+
* Missing or invalid credentials.
|
|
6698
|
+
*/
|
|
6699
|
+
401: ErrorResponse;
|
|
6700
|
+
/**
|
|
6701
|
+
* The resource does not exist (existence is not leaked).
|
|
6702
|
+
*/
|
|
6703
|
+
404: ErrorResponse;
|
|
6704
|
+
};
|
|
6705
|
+
type GetProjectError = GetProjectErrors[keyof GetProjectErrors];
|
|
6706
|
+
type GetProjectResponses = {
|
|
6707
|
+
/**
|
|
6708
|
+
* Project details.
|
|
6709
|
+
*/
|
|
6710
|
+
200: Project;
|
|
6711
|
+
};
|
|
6712
|
+
type GetProjectResponse = GetProjectResponses[keyof GetProjectResponses];
|
|
6713
|
+
type UpdateProjectData = {
|
|
6714
|
+
body: ProjectUpdate;
|
|
6715
|
+
path: {
|
|
6716
|
+
/**
|
|
6717
|
+
* Project public ID (proj_ prefix).
|
|
6718
|
+
*/
|
|
6719
|
+
project_id: string;
|
|
6720
|
+
};
|
|
6721
|
+
query?: never;
|
|
6722
|
+
url: '/v1/projects/{project_id}';
|
|
6723
|
+
};
|
|
6724
|
+
type UpdateProjectErrors = {
|
|
6725
|
+
/**
|
|
6726
|
+
* The request was malformed or failed validation.
|
|
6727
|
+
*/
|
|
6728
|
+
400: ErrorResponse;
|
|
5988
6729
|
/**
|
|
5989
6730
|
* Missing or invalid credentials.
|
|
5990
6731
|
*/
|
|
@@ -7223,6 +7964,11 @@ type ListTriggersData = {
|
|
|
7223
7964
|
project_id: string;
|
|
7224
7965
|
};
|
|
7225
7966
|
query?: {
|
|
7967
|
+
/**
|
|
7968
|
+
* Narrow the page to one target kind. Filtered and counted upstream, so `total` is exact. Omit it to list both kinds — see the operation's note on `total`.
|
|
7969
|
+
*
|
|
7970
|
+
*/
|
|
7971
|
+
target_type?: TriggerTargetType;
|
|
7226
7972
|
/**
|
|
7227
7973
|
* Maximum items to return (1–100).
|
|
7228
7974
|
*/
|
|
@@ -8408,6 +9154,83 @@ declare class Models {
|
|
|
8408
9154
|
*/
|
|
8409
9155
|
static getModel<ThrowOnError extends boolean = false>(options: Options<GetModelData, ThrowOnError>): RequestResult<GetModelResponses, GetModelErrors, ThrowOnError>;
|
|
8410
9156
|
}
|
|
9157
|
+
declare class Orchestrations {
|
|
9158
|
+
/**
|
|
9159
|
+
* List orchestrations
|
|
9160
|
+
*
|
|
9161
|
+
* Lists the project's orchestration definitions.
|
|
9162
|
+
*/
|
|
9163
|
+
static listOrchestrations<ThrowOnError extends boolean = false>(options: Options<ListOrchestrationsData, ThrowOnError>): RequestResult<ListOrchestrationsResponses, ListOrchestrationsErrors, ThrowOnError>;
|
|
9164
|
+
/**
|
|
9165
|
+
* Create an orchestration
|
|
9166
|
+
*
|
|
9167
|
+
* Creates a new orchestration (pipeline) definition in the project.
|
|
9168
|
+
*/
|
|
9169
|
+
static createOrchestration<ThrowOnError extends boolean = false>(options: Options<CreateOrchestrationData, ThrowOnError>): RequestResult<CreateOrchestrationResponses, CreateOrchestrationErrors, ThrowOnError>;
|
|
9170
|
+
/**
|
|
9171
|
+
* Validate an orchestration graph
|
|
9172
|
+
*
|
|
9173
|
+
* Statically validates a graph without persisting anything — the same checks `create`/`update` enforce (unique node ids, edges reference existing nodes, the graph is acyclic unless it contains a loop node, every `input_mapping` reference resolves). Returns blocking `errors` and non-blocking `warnings`.
|
|
9174
|
+
*
|
|
9175
|
+
*/
|
|
9176
|
+
static validateOrchestration<ThrowOnError extends boolean = false>(options: Options<ValidateOrchestrationData, ThrowOnError>): RequestResult<ValidateOrchestrationResponses, ValidateOrchestrationErrors, ThrowOnError>;
|
|
9177
|
+
/**
|
|
9178
|
+
* Delete an orchestration
|
|
9179
|
+
*
|
|
9180
|
+
* Deletes the orchestration definition and all of its runs.
|
|
9181
|
+
*/
|
|
9182
|
+
static deleteOrchestration<ThrowOnError extends boolean = false>(options: Options<DeleteOrchestrationData, ThrowOnError>): RequestResult<DeleteOrchestrationResponses, DeleteOrchestrationErrors, ThrowOnError>;
|
|
9183
|
+
/**
|
|
9184
|
+
* Get an orchestration
|
|
9185
|
+
*
|
|
9186
|
+
* Returns one orchestration with its nodes and edges. Belonging to another project responds `404`, not `403` — existence is not leaked.
|
|
9187
|
+
*
|
|
9188
|
+
*/
|
|
9189
|
+
static getOrchestration<ThrowOnError extends boolean = false>(options: Options<GetOrchestrationData, ThrowOnError>): RequestResult<GetOrchestrationResponses, GetOrchestrationErrors, ThrowOnError>;
|
|
9190
|
+
/**
|
|
9191
|
+
* Update an orchestration
|
|
9192
|
+
*
|
|
9193
|
+
* Partially updates an orchestration's definition.
|
|
9194
|
+
*/
|
|
9195
|
+
static updateOrchestration<ThrowOnError extends boolean = false>(options: Options<UpdateOrchestrationData, ThrowOnError>): RequestResult<UpdateOrchestrationResponses, UpdateOrchestrationErrors, ThrowOnError>;
|
|
9196
|
+
/**
|
|
9197
|
+
* List orchestration runs
|
|
9198
|
+
*
|
|
9199
|
+
* Lists runs of one orchestration. `orchestration_id` is required — it is what scopes the list to this project, since a run carries no cheaper project-level filter of its own.
|
|
9200
|
+
*
|
|
9201
|
+
*/
|
|
9202
|
+
static listOrchestrationRuns<ThrowOnError extends boolean = false>(options: Options<ListOrchestrationRunsData, ThrowOnError>): RequestResult<ListOrchestrationRunsResponses, ListOrchestrationRunsErrors, ThrowOnError>;
|
|
9203
|
+
/**
|
|
9204
|
+
* Start an orchestration run
|
|
9205
|
+
*
|
|
9206
|
+
* Starts a new run of the orchestration named by `orchestration_id`, which must belong to this project. By default the run executes durably in the background and this returns immediately with `status: "queued"`; pass `wait: true` to block until the run reaches a terminal or `awaiting_input` state instead.
|
|
9207
|
+
*/
|
|
9208
|
+
static startOrchestrationRun<ThrowOnError extends boolean = false>(options: Options<StartOrchestrationRunData, ThrowOnError>): RequestResult<StartOrchestrationRunResponses, StartOrchestrationRunErrors, ThrowOnError>;
|
|
9209
|
+
/**
|
|
9210
|
+
* Get an orchestration run
|
|
9211
|
+
*
|
|
9212
|
+
* Returns the status, state, and artifacts of one run.
|
|
9213
|
+
*/
|
|
9214
|
+
static getOrchestrationRun<ThrowOnError extends boolean = false>(options: Options<GetOrchestrationRunData, ThrowOnError>): RequestResult<GetOrchestrationRunResponses, GetOrchestrationRunErrors, ThrowOnError>;
|
|
9215
|
+
/**
|
|
9216
|
+
* Cancel an orchestration run
|
|
9217
|
+
*
|
|
9218
|
+
* Cancels a run that has not yet reached a terminal state.
|
|
9219
|
+
*/
|
|
9220
|
+
static cancelOrchestrationRun<ThrowOnError extends boolean = false>(options: Options<CancelOrchestrationRunData, ThrowOnError>): RequestResult<CancelOrchestrationRunResponses, CancelOrchestrationRunErrors, ThrowOnError>;
|
|
9221
|
+
/**
|
|
9222
|
+
* Resume an orchestration run
|
|
9223
|
+
*
|
|
9224
|
+
* Re-drives an `awaiting_input` run from its last checkpoint. This does not satisfy the pause itself — a run parked on a human or webhook node re-parks on the same node. Use `human-input` to supply the awaited payload and advance the run.
|
|
9225
|
+
*/
|
|
9226
|
+
static resumeOrchestrationRun<ThrowOnError extends boolean = false>(options: Options<ResumeOrchestrationRunData, ThrowOnError>): RequestResult<ResumeOrchestrationRunResponses, ResumeOrchestrationRunErrors, ThrowOnError>;
|
|
9227
|
+
/**
|
|
9228
|
+
* Submit human input
|
|
9229
|
+
*
|
|
9230
|
+
* Provides human input to a run that is `awaiting_input` at a human node, and advances it.
|
|
9231
|
+
*/
|
|
9232
|
+
static submitHumanInput<ThrowOnError extends boolean = false>(options: Options<SubmitHumanInputData, ThrowOnError>): RequestResult<SubmitHumanInputResponses, SubmitHumanInputErrors, ThrowOnError>;
|
|
9233
|
+
}
|
|
8411
9234
|
declare class Projects {
|
|
8412
9235
|
/**
|
|
8413
9236
|
* List projects
|
|
@@ -8644,13 +9467,15 @@ declare class Triggers {
|
|
|
8644
9467
|
/**
|
|
8645
9468
|
* List triggers
|
|
8646
9469
|
*
|
|
8647
|
-
* The project's schedule triggers.
|
|
9470
|
+
* The project's schedule triggers, of either fronted target kind.
|
|
9471
|
+
* `total` is the runtime's count of the project's schedule triggers, so it can exceed the rows returned when a trigger was authored directly against the runtime with a target this surface doesn't front (the same bypass `getTrigger` answers `404` for). Pass `target_type` — which is filtered and counted upstream — when an exact count matters.
|
|
9472
|
+
*
|
|
8648
9473
|
*/
|
|
8649
9474
|
static listTriggers<ThrowOnError extends boolean = false>(options: Options<ListTriggersData, ThrowOnError>): RequestResult<ListTriggersResponses, ListTriggersErrors, ThrowOnError>;
|
|
8650
9475
|
/**
|
|
8651
9476
|
* Create a trigger
|
|
8652
9477
|
*
|
|
8653
|
-
* Schedules `target_id`
|
|
9478
|
+
* Schedules `target_id` — an agent or an orchestration in this project, per `target_type` — to run on `cron`, a 5-field cron expression evaluated in UTC.
|
|
8654
9479
|
*
|
|
8655
9480
|
*/
|
|
8656
9481
|
static createTrigger<ThrowOnError extends boolean = false>(options: Options<CreateTriggerData, ThrowOnError>): RequestResult<CreateTriggerResponses, CreateTriggerErrors, ThrowOnError>;
|
|
@@ -8667,7 +9492,7 @@ declare class Triggers {
|
|
|
8667
9492
|
/**
|
|
8668
9493
|
* Update a trigger
|
|
8669
9494
|
*
|
|
8670
|
-
* Retune the schedule, its target, or whether it fires at all. At least one field is required. `type`
|
|
9495
|
+
* Retune the schedule, its target, or whether it fires at all. At least one field is required. `type` is immutable; `target_type` may be changed only together with `target_id`.
|
|
8671
9496
|
*
|
|
8672
9497
|
*/
|
|
8673
9498
|
static updateTrigger<ThrowOnError extends boolean = false>(options: Options<UpdateTriggerData, ThrowOnError>): RequestResult<UpdateTriggerResponses, UpdateTriggerErrors, ThrowOnError>;
|
|
@@ -8809,16 +9634,18 @@ declare class NaturaliClient {
|
|
|
8809
9634
|
readonly generations: typeof Generations;
|
|
8810
9635
|
readonly knowledge: typeof Knowledge;
|
|
8811
9636
|
readonly models: typeof Models;
|
|
9637
|
+
readonly orchestrations: typeof Orchestrations;
|
|
8812
9638
|
readonly projects: typeof Projects;
|
|
8813
9639
|
readonly providers: typeof Providers;
|
|
8814
9640
|
readonly sessions: typeof Sessions;
|
|
8815
9641
|
readonly tasks: typeof Tasks;
|
|
8816
9642
|
readonly tools: typeof Tools;
|
|
8817
9643
|
readonly traces: typeof Traces;
|
|
9644
|
+
readonly triggers: typeof Triggers;
|
|
8818
9645
|
readonly webhooks: typeof Webhooks;
|
|
8819
9646
|
/** The underlying HTTP client, for interceptors or one-off requests. */
|
|
8820
9647
|
readonly http: Client;
|
|
8821
9648
|
constructor({ token, headers }?: NaturaliClientOptions);
|
|
8822
9649
|
}
|
|
8823
9650
|
//#endregion
|
|
8824
|
-
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 };
|
|
9651
|
+
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 CancelOrchestrationRunData, type CancelOrchestrationRunError, type CancelOrchestrationRunErrors, type CancelOrchestrationRunResponse, type CancelOrchestrationRunResponses, 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 CreateOrchestrationData, type CreateOrchestrationError, type CreateOrchestrationErrors, type CreateOrchestrationRequest, type CreateOrchestrationResponse, type CreateOrchestrationResponses, 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 DeleteOrchestrationData, type DeleteOrchestrationError, type DeleteOrchestrationErrors, type DeleteOrchestrationResponse, type DeleteOrchestrationResponses, 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 GetOrchestrationData, type GetOrchestrationError, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunError, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, 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 HumanInputRequest, 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 ListOrchestrationRunsData, type ListOrchestrationRunsError, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationsData, type ListOrchestrationsError, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, 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 NodeExecution, type Offset, type Options, type Orchestration, type OrchestrationEdge, type OrchestrationId, type OrchestrationList, type OrchestrationNode, type OrchestrationRun, type OrchestrationRunList, Orchestrations, 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 ResumeOrchestrationRunData, type ResumeOrchestrationRunError, type ResumeOrchestrationRunErrors, type ResumeOrchestrationRunResponse, type ResumeOrchestrationRunResponses, 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 RunId, 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 StartOrchestrationRunData, type StartOrchestrationRunError, type StartOrchestrationRunErrors, type StartOrchestrationRunResponse, type StartOrchestrationRunResponses, type StartRunRequest, type StateFilter, type StatusFilter, type StepRules, type SubmitHumanInputData, type SubmitHumanInputError, type SubmitHumanInputErrors, type SubmitHumanInputResponse, type SubmitHumanInputResponses, type TargetTypeFilter, 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 UpdateOrchestrationData, type UpdateOrchestrationError, type UpdateOrchestrationErrors, type UpdateOrchestrationRequest, type UpdateOrchestrationResponse, type UpdateOrchestrationResponses, 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 ValidateOrchestrationData, type ValidateOrchestrationError, type ValidateOrchestrationErrors, type ValidateOrchestrationRequest, type ValidateOrchestrationResponse, type ValidateOrchestrationResponses, type ValidationIssue, type ValidationResult, 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 };
|