@modelrelay/sdk 5.3.0 → 8.1.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/README.md +122 -0
- package/dist/{api-7TVb2cnl.d.cts → api-B7SmXjnr.d.cts} +599 -1
- package/dist/{api-7TVb2cnl.d.ts → api-B7SmXjnr.d.ts} +599 -1
- package/dist/api-CdHqjsU_.d.cts +6062 -0
- package/dist/api-CdHqjsU_.d.ts +6062 -0
- package/dist/api-CyuI9lx0.d.cts +6249 -0
- package/dist/api-CyuI9lx0.d.ts +6249 -0
- package/dist/api-DP9MoKHy.d.cts +5993 -0
- package/dist/api-DP9MoKHy.d.ts +5993 -0
- package/dist/api-R_gUMD1L.d.cts +6243 -0
- package/dist/api-R_gUMD1L.d.ts +6243 -0
- package/dist/{api-BRAJe_xm.d.cts → api-c1j5ycVR.d.cts} +0 -54
- package/dist/{api-BRAJe_xm.d.ts → api-c1j5ycVR.d.ts} +0 -54
- package/dist/billing/index.d.cts +1 -1
- package/dist/billing/index.d.ts +1 -1
- package/dist/chunk-27KGKJLT.js +1194 -0
- package/dist/{chunk-5O4NJXLJ.js → chunk-HHBAD7FF.js} +1 -1
- package/dist/{chunk-LZDGY24E.js → chunk-PKGWFDGU.js} +111 -59
- package/dist/{chunk-HLJAMT7F.js → chunk-RVHKBQ7X.js} +1 -1
- package/dist/chunk-SJC7Q4NK.js +1199 -0
- package/dist/chunk-URFLODQC.js +1199 -0
- package/dist/{chunk-JZRSCFQH.js → chunk-YQWOQ74P.js} +53 -20
- package/dist/index.cjs +3468 -1156
- package/dist/index.d.cts +916 -85
- package/dist/index.d.ts +916 -85
- package/dist/index.js +3106 -881
- package/dist/node.cjs +11 -7
- package/dist/node.d.cts +11 -11
- package/dist/node.d.ts +11 -11
- package/dist/node.js +6 -6
- package/dist/{tools-Db-F5rIL.d.cts → tools-Bxdv0Np2.d.cts} +101 -218
- package/dist/{tools-Db-F5rIL.d.ts → tools-Bxdv0Np2.d.ts} +101 -218
- package/dist/tools-DHCGz_lx.d.cts +1041 -0
- package/dist/tools-DHCGz_lx.d.ts +1041 -0
- package/dist/tools-ZpcYacSo.d.cts +1000 -0
- package/dist/tools-ZpcYacSo.d.ts +1000 -0
- package/package.json +6 -1
- package/dist/api-B9x3HA3Z.d.cts +0 -5292
- package/dist/api-B9x3HA3Z.d.ts +0 -5292
- package/dist/api-Bitsm1tl.d.cts +0 -5290
- package/dist/api-Bitsm1tl.d.ts +0 -5290
- package/dist/api-D0wnVpwn.d.cts +0 -5292
- package/dist/api-D0wnVpwn.d.ts +0 -5292
- package/dist/api-HVh8Lusf.d.cts +0 -5300
- package/dist/api-HVh8Lusf.d.ts +0 -5300
- package/dist/chunk-BL7GWXRZ.js +0 -1196
- package/dist/chunk-CV3DTA6P.js +0 -1196
- package/dist/chunk-G5H7EY4F.js +0 -1196
- package/dist/chunk-OJFVI3QJ.js +0 -1133
- package/dist/chunk-Z6R4G2TU.js +0 -1133
|
@@ -110,6 +110,59 @@ interface paths {
|
|
|
110
110
|
patch?: never;
|
|
111
111
|
trace?: never;
|
|
112
112
|
};
|
|
113
|
+
"/account/billing/auto-topup": {
|
|
114
|
+
parameters: {
|
|
115
|
+
query?: never;
|
|
116
|
+
header?: never;
|
|
117
|
+
path?: never;
|
|
118
|
+
cookie?: never;
|
|
119
|
+
};
|
|
120
|
+
/** Get auto top-up configuration for the authenticated account */
|
|
121
|
+
get: operations["getAccountAutoTopup"];
|
|
122
|
+
/** Update auto top-up configuration for the authenticated account */
|
|
123
|
+
put: operations["updateAccountAutoTopup"];
|
|
124
|
+
post?: never;
|
|
125
|
+
/** Disable auto top-up for the authenticated account */
|
|
126
|
+
delete: operations["disableAccountAutoTopup"];
|
|
127
|
+
options?: never;
|
|
128
|
+
head?: never;
|
|
129
|
+
patch?: never;
|
|
130
|
+
trace?: never;
|
|
131
|
+
};
|
|
132
|
+
"/account/billing/auto-topup/setup": {
|
|
133
|
+
parameters: {
|
|
134
|
+
query?: never;
|
|
135
|
+
header?: never;
|
|
136
|
+
path?: never;
|
|
137
|
+
cookie?: never;
|
|
138
|
+
};
|
|
139
|
+
get?: never;
|
|
140
|
+
put?: never;
|
|
141
|
+
/** Create a setup intent for auto top-up payment methods */
|
|
142
|
+
post: operations["createAccountAutoTopupSetup"];
|
|
143
|
+
delete?: never;
|
|
144
|
+
options?: never;
|
|
145
|
+
head?: never;
|
|
146
|
+
patch?: never;
|
|
147
|
+
trace?: never;
|
|
148
|
+
};
|
|
149
|
+
"/account/billing/auto-topup/confirm": {
|
|
150
|
+
parameters: {
|
|
151
|
+
query?: never;
|
|
152
|
+
header?: never;
|
|
153
|
+
path?: never;
|
|
154
|
+
cookie?: never;
|
|
155
|
+
};
|
|
156
|
+
get?: never;
|
|
157
|
+
put?: never;
|
|
158
|
+
/** Confirm auto top-up setup intent */
|
|
159
|
+
post: operations["confirmAccountAutoTopupSetup"];
|
|
160
|
+
delete?: never;
|
|
161
|
+
options?: never;
|
|
162
|
+
head?: never;
|
|
163
|
+
patch?: never;
|
|
164
|
+
trace?: never;
|
|
165
|
+
};
|
|
113
166
|
"/customers": {
|
|
114
167
|
parameters: {
|
|
115
168
|
query?: never;
|
|
@@ -1005,6 +1058,8 @@ interface paths {
|
|
|
1005
1058
|
after_seq?: number;
|
|
1006
1059
|
/** @description When false, returns currently available events then closes. */
|
|
1007
1060
|
wait?: boolean;
|
|
1061
|
+
/** @description When true, inline node_output and run_completed payloads when they are <= 1MB. */
|
|
1062
|
+
include_output?: boolean;
|
|
1008
1063
|
/** @description Maximum number of events to send before closing. */
|
|
1009
1064
|
limit?: number;
|
|
1010
1065
|
};
|
|
@@ -1233,6 +1288,90 @@ interface paths {
|
|
|
1233
1288
|
patch?: never;
|
|
1234
1289
|
trace?: never;
|
|
1235
1290
|
};
|
|
1291
|
+
"/runs/{run_id}/pending-tools": {
|
|
1292
|
+
parameters: {
|
|
1293
|
+
query?: never;
|
|
1294
|
+
header?: never;
|
|
1295
|
+
path: {
|
|
1296
|
+
run_id: string;
|
|
1297
|
+
};
|
|
1298
|
+
cookie?: never;
|
|
1299
|
+
};
|
|
1300
|
+
/**
|
|
1301
|
+
* Get pending tool calls
|
|
1302
|
+
* @description Returns pending tool calls for runs using client-side tool execution mode. When a node emits a node_waiting event, use this endpoint to retrieve the tool calls that need execution.
|
|
1303
|
+
*/
|
|
1304
|
+
get: operations["getRunPendingTools"];
|
|
1305
|
+
put?: never;
|
|
1306
|
+
post?: never;
|
|
1307
|
+
delete?: never;
|
|
1308
|
+
options?: never;
|
|
1309
|
+
head?: never;
|
|
1310
|
+
patch?: never;
|
|
1311
|
+
trace?: never;
|
|
1312
|
+
};
|
|
1313
|
+
"/runs/{run_id}/tool-results": {
|
|
1314
|
+
parameters: {
|
|
1315
|
+
query?: never;
|
|
1316
|
+
header?: never;
|
|
1317
|
+
path: {
|
|
1318
|
+
run_id: string;
|
|
1319
|
+
};
|
|
1320
|
+
cookie?: never;
|
|
1321
|
+
};
|
|
1322
|
+
get?: never;
|
|
1323
|
+
put?: never;
|
|
1324
|
+
/**
|
|
1325
|
+
* Submit tool results
|
|
1326
|
+
* @description Submits tool execution results to resume a waiting run. Use the values from /pending-tools to correlate the results.
|
|
1327
|
+
*/
|
|
1328
|
+
post: operations["submitRunToolResults"];
|
|
1329
|
+
delete?: never;
|
|
1330
|
+
options?: never;
|
|
1331
|
+
head?: never;
|
|
1332
|
+
patch?: never;
|
|
1333
|
+
trace?: never;
|
|
1334
|
+
};
|
|
1335
|
+
"/workflows/compile": {
|
|
1336
|
+
parameters: {
|
|
1337
|
+
query?: never;
|
|
1338
|
+
header?: never;
|
|
1339
|
+
path?: never;
|
|
1340
|
+
cookie?: never;
|
|
1341
|
+
};
|
|
1342
|
+
get?: never;
|
|
1343
|
+
put?: never;
|
|
1344
|
+
/**
|
|
1345
|
+
* Compile a workflow spec
|
|
1346
|
+
* @description Compiles a workflow spec into a canonical plan and plan hash. This validates the workflow schema and model capability constraints.
|
|
1347
|
+
*/
|
|
1348
|
+
post: operations["compileWorkflow"];
|
|
1349
|
+
delete?: never;
|
|
1350
|
+
options?: never;
|
|
1351
|
+
head?: never;
|
|
1352
|
+
patch?: never;
|
|
1353
|
+
trace?: never;
|
|
1354
|
+
};
|
|
1355
|
+
"/workflows/lint": {
|
|
1356
|
+
parameters: {
|
|
1357
|
+
query?: never;
|
|
1358
|
+
header?: never;
|
|
1359
|
+
path?: never;
|
|
1360
|
+
cookie?: never;
|
|
1361
|
+
};
|
|
1362
|
+
get?: never;
|
|
1363
|
+
put?: never;
|
|
1364
|
+
/**
|
|
1365
|
+
* Lint a workflow spec
|
|
1366
|
+
* @description Runs strict JSON schema linting on output_format.json_schema for LLM nodes and optionally compiles the workflow. Pass compile=false to skip compilation.
|
|
1367
|
+
*/
|
|
1368
|
+
post: operations["lintWorkflow"];
|
|
1369
|
+
delete?: never;
|
|
1370
|
+
options?: never;
|
|
1371
|
+
head?: never;
|
|
1372
|
+
patch?: never;
|
|
1373
|
+
trace?: never;
|
|
1374
|
+
};
|
|
1236
1375
|
}
|
|
1237
1376
|
type webhooks = Record<string, never>;
|
|
1238
1377
|
interface components {
|
|
@@ -1530,6 +1669,52 @@ interface components {
|
|
|
1530
1669
|
session_id: string;
|
|
1531
1670
|
status: string;
|
|
1532
1671
|
};
|
|
1672
|
+
AutoTopupPaymentMethod: {
|
|
1673
|
+
id: string;
|
|
1674
|
+
brand: string;
|
|
1675
|
+
last4: string;
|
|
1676
|
+
/** Format: int64 */
|
|
1677
|
+
exp_month: number;
|
|
1678
|
+
/** Format: int64 */
|
|
1679
|
+
exp_year: number;
|
|
1680
|
+
};
|
|
1681
|
+
AutoTopupLimits: {
|
|
1682
|
+
/** Format: int64 */
|
|
1683
|
+
min_topup_cents: number;
|
|
1684
|
+
/** Format: int64 */
|
|
1685
|
+
max_single_cents: number;
|
|
1686
|
+
/** Format: int64 */
|
|
1687
|
+
max_daily_cents: number;
|
|
1688
|
+
/** Format: int64 */
|
|
1689
|
+
max_monthly_cents: number;
|
|
1690
|
+
};
|
|
1691
|
+
AutoTopupConfigResponse: {
|
|
1692
|
+
enabled: boolean;
|
|
1693
|
+
/** Format: int64 */
|
|
1694
|
+
threshold_cents: number;
|
|
1695
|
+
/** Format: int64 */
|
|
1696
|
+
amount_cents: number;
|
|
1697
|
+
payment_method?: components["schemas"]["AutoTopupPaymentMethod"];
|
|
1698
|
+
failure_count: number;
|
|
1699
|
+
/** Format: date-time */
|
|
1700
|
+
last_triggered_at?: string;
|
|
1701
|
+
limits: components["schemas"]["AutoTopupLimits"];
|
|
1702
|
+
};
|
|
1703
|
+
AutoTopupSetupResponse: {
|
|
1704
|
+
setup_intent_id: string;
|
|
1705
|
+
client_secret: string;
|
|
1706
|
+
status?: string;
|
|
1707
|
+
};
|
|
1708
|
+
AutoTopupConfigRequest: {
|
|
1709
|
+
enabled: boolean;
|
|
1710
|
+
/** Format: int64 */
|
|
1711
|
+
threshold_cents: number;
|
|
1712
|
+
/** Format: int64 */
|
|
1713
|
+
amount_cents: number;
|
|
1714
|
+
};
|
|
1715
|
+
AutoTopupConfirmRequest: {
|
|
1716
|
+
setup_intent_id: string;
|
|
1717
|
+
};
|
|
1533
1718
|
CustomerUsagePoint: {
|
|
1534
1719
|
/**
|
|
1535
1720
|
* Format: date-time
|
|
@@ -1951,6 +2136,8 @@ interface components {
|
|
|
1951
2136
|
input?: {
|
|
1952
2137
|
[key: string]: unknown;
|
|
1953
2138
|
};
|
|
2139
|
+
/** @description When true, overrides all llm.responses and route.switch nodes to stream (emit node_output_delta events). When false or omitted, uses the workflow spec defaults. */
|
|
2140
|
+
stream?: boolean;
|
|
1954
2141
|
options?: components["schemas"]["RunsCreateOptionsV0"];
|
|
1955
2142
|
/**
|
|
1956
2143
|
* Format: uuid
|
|
@@ -2710,6 +2897,58 @@ interface components {
|
|
|
2710
2897
|
WorkflowSpec: {
|
|
2711
2898
|
[key: string]: unknown;
|
|
2712
2899
|
};
|
|
2900
|
+
/** @description A lint or compile issue for a workflow spec. */
|
|
2901
|
+
WorkflowIssue: {
|
|
2902
|
+
/** @description Issue code */
|
|
2903
|
+
code: string;
|
|
2904
|
+
/** @description JSON path to the issue location (e.g., $.nodes[0].id) */
|
|
2905
|
+
path: string;
|
|
2906
|
+
/** @description Human-readable issue description */
|
|
2907
|
+
message: string;
|
|
2908
|
+
};
|
|
2909
|
+
/** @description Request to submit tool execution results for a waiting run. */
|
|
2910
|
+
RunsToolResultsRequest: {
|
|
2911
|
+
node_id: components["schemas"]["NodeId"];
|
|
2912
|
+
/**
|
|
2913
|
+
* Format: int64
|
|
2914
|
+
* @description Execution step from pending-tools
|
|
2915
|
+
*/
|
|
2916
|
+
step: number;
|
|
2917
|
+
request_id: components["schemas"]["RequestId"];
|
|
2918
|
+
/** @description Tool execution results */
|
|
2919
|
+
results: components["schemas"]["RunToolResultV0"][];
|
|
2920
|
+
};
|
|
2921
|
+
/** @description Response after submitting tool results. */
|
|
2922
|
+
RunsToolResultsResponse: {
|
|
2923
|
+
/**
|
|
2924
|
+
* Format: int64
|
|
2925
|
+
* @description Number of tool results accepted
|
|
2926
|
+
*/
|
|
2927
|
+
accepted: number;
|
|
2928
|
+
status: components["schemas"]["RunStatusV0"];
|
|
2929
|
+
};
|
|
2930
|
+
/** @description Response from compiling a workflow spec. */
|
|
2931
|
+
WorkflowsCompileResponse: {
|
|
2932
|
+
/** @description Canonical compiled plan JSON */
|
|
2933
|
+
plan_json: Record<string, never>;
|
|
2934
|
+
/** @description Hash of the compiled plan */
|
|
2935
|
+
plan_hash: string;
|
|
2936
|
+
};
|
|
2937
|
+
/** @description Response from linting a workflow spec. */
|
|
2938
|
+
WorkflowsLintResponse: {
|
|
2939
|
+
/** @description Workflow kind (e.g., workflow) */
|
|
2940
|
+
kind?: string;
|
|
2941
|
+
/** @description Lint issues found in the spec */
|
|
2942
|
+
lint_issues?: components["schemas"]["WorkflowIssue"][];
|
|
2943
|
+
/** @description Compile issues (when compile is enabled) */
|
|
2944
|
+
compile_issues?: components["schemas"]["WorkflowIssue"][];
|
|
2945
|
+
/** @description Non-validation compile failure message */
|
|
2946
|
+
compile_error?: string;
|
|
2947
|
+
/** @description Compiled plan JSON (when compile succeeds) */
|
|
2948
|
+
plan_json?: Record<string, never>;
|
|
2949
|
+
/** @description Plan hash (when compile succeeds) */
|
|
2950
|
+
plan_hash?: string;
|
|
2951
|
+
};
|
|
2713
2952
|
};
|
|
2714
2953
|
responses: never;
|
|
2715
2954
|
parameters: {
|
|
@@ -2910,6 +3149,217 @@ interface operations {
|
|
|
2910
3149
|
};
|
|
2911
3150
|
};
|
|
2912
3151
|
};
|
|
3152
|
+
getAccountAutoTopup: {
|
|
3153
|
+
parameters: {
|
|
3154
|
+
query?: never;
|
|
3155
|
+
header?: never;
|
|
3156
|
+
path?: never;
|
|
3157
|
+
cookie?: never;
|
|
3158
|
+
};
|
|
3159
|
+
requestBody?: never;
|
|
3160
|
+
responses: {
|
|
3161
|
+
/** @description Auto top-up configuration */
|
|
3162
|
+
200: {
|
|
3163
|
+
headers: {
|
|
3164
|
+
[name: string]: unknown;
|
|
3165
|
+
};
|
|
3166
|
+
content: {
|
|
3167
|
+
"application/json": components["schemas"]["AutoTopupConfigResponse"];
|
|
3168
|
+
};
|
|
3169
|
+
};
|
|
3170
|
+
/** @description Unauthorized */
|
|
3171
|
+
401: {
|
|
3172
|
+
headers: {
|
|
3173
|
+
[name: string]: unknown;
|
|
3174
|
+
};
|
|
3175
|
+
content?: never;
|
|
3176
|
+
};
|
|
3177
|
+
/** @description Failed to get auto top-up configuration */
|
|
3178
|
+
500: {
|
|
3179
|
+
headers: {
|
|
3180
|
+
[name: string]: unknown;
|
|
3181
|
+
};
|
|
3182
|
+
content?: never;
|
|
3183
|
+
};
|
|
3184
|
+
/** @description Auto top-up service unavailable */
|
|
3185
|
+
503: {
|
|
3186
|
+
headers: {
|
|
3187
|
+
[name: string]: unknown;
|
|
3188
|
+
};
|
|
3189
|
+
content?: never;
|
|
3190
|
+
};
|
|
3191
|
+
};
|
|
3192
|
+
};
|
|
3193
|
+
updateAccountAutoTopup: {
|
|
3194
|
+
parameters: {
|
|
3195
|
+
query?: never;
|
|
3196
|
+
header?: never;
|
|
3197
|
+
path?: never;
|
|
3198
|
+
cookie?: never;
|
|
3199
|
+
};
|
|
3200
|
+
requestBody: {
|
|
3201
|
+
content: {
|
|
3202
|
+
"application/json": components["schemas"]["AutoTopupConfigRequest"];
|
|
3203
|
+
};
|
|
3204
|
+
};
|
|
3205
|
+
responses: {
|
|
3206
|
+
/** @description Auto top-up configuration updated */
|
|
3207
|
+
200: {
|
|
3208
|
+
headers: {
|
|
3209
|
+
[name: string]: unknown;
|
|
3210
|
+
};
|
|
3211
|
+
content: {
|
|
3212
|
+
"application/json": components["schemas"]["AutoTopupConfigResponse"];
|
|
3213
|
+
};
|
|
3214
|
+
};
|
|
3215
|
+
/** @description Invalid request */
|
|
3216
|
+
400: {
|
|
3217
|
+
headers: {
|
|
3218
|
+
[name: string]: unknown;
|
|
3219
|
+
};
|
|
3220
|
+
content?: never;
|
|
3221
|
+
};
|
|
3222
|
+
/** @description Unauthorized */
|
|
3223
|
+
401: {
|
|
3224
|
+
headers: {
|
|
3225
|
+
[name: string]: unknown;
|
|
3226
|
+
};
|
|
3227
|
+
content?: never;
|
|
3228
|
+
};
|
|
3229
|
+
/** @description Auto top-up service unavailable */
|
|
3230
|
+
503: {
|
|
3231
|
+
headers: {
|
|
3232
|
+
[name: string]: unknown;
|
|
3233
|
+
};
|
|
3234
|
+
content?: never;
|
|
3235
|
+
};
|
|
3236
|
+
};
|
|
3237
|
+
};
|
|
3238
|
+
disableAccountAutoTopup: {
|
|
3239
|
+
parameters: {
|
|
3240
|
+
query?: never;
|
|
3241
|
+
header?: never;
|
|
3242
|
+
path?: never;
|
|
3243
|
+
cookie?: never;
|
|
3244
|
+
};
|
|
3245
|
+
requestBody?: never;
|
|
3246
|
+
responses: {
|
|
3247
|
+
/** @description Auto top-up disabled */
|
|
3248
|
+
204: {
|
|
3249
|
+
headers: {
|
|
3250
|
+
[name: string]: unknown;
|
|
3251
|
+
};
|
|
3252
|
+
content?: never;
|
|
3253
|
+
};
|
|
3254
|
+
/** @description Unauthorized */
|
|
3255
|
+
401: {
|
|
3256
|
+
headers: {
|
|
3257
|
+
[name: string]: unknown;
|
|
3258
|
+
};
|
|
3259
|
+
content?: never;
|
|
3260
|
+
};
|
|
3261
|
+
/** @description Failed to disable auto top-up */
|
|
3262
|
+
500: {
|
|
3263
|
+
headers: {
|
|
3264
|
+
[name: string]: unknown;
|
|
3265
|
+
};
|
|
3266
|
+
content?: never;
|
|
3267
|
+
};
|
|
3268
|
+
/** @description Auto top-up service unavailable */
|
|
3269
|
+
503: {
|
|
3270
|
+
headers: {
|
|
3271
|
+
[name: string]: unknown;
|
|
3272
|
+
};
|
|
3273
|
+
content?: never;
|
|
3274
|
+
};
|
|
3275
|
+
};
|
|
3276
|
+
};
|
|
3277
|
+
createAccountAutoTopupSetup: {
|
|
3278
|
+
parameters: {
|
|
3279
|
+
query?: never;
|
|
3280
|
+
header?: never;
|
|
3281
|
+
path?: never;
|
|
3282
|
+
cookie?: never;
|
|
3283
|
+
};
|
|
3284
|
+
requestBody?: never;
|
|
3285
|
+
responses: {
|
|
3286
|
+
/** @description Setup intent created */
|
|
3287
|
+
200: {
|
|
3288
|
+
headers: {
|
|
3289
|
+
[name: string]: unknown;
|
|
3290
|
+
};
|
|
3291
|
+
content: {
|
|
3292
|
+
"application/json": components["schemas"]["AutoTopupSetupResponse"];
|
|
3293
|
+
};
|
|
3294
|
+
};
|
|
3295
|
+
/** @description Invalid request */
|
|
3296
|
+
400: {
|
|
3297
|
+
headers: {
|
|
3298
|
+
[name: string]: unknown;
|
|
3299
|
+
};
|
|
3300
|
+
content?: never;
|
|
3301
|
+
};
|
|
3302
|
+
/** @description Unauthorized */
|
|
3303
|
+
401: {
|
|
3304
|
+
headers: {
|
|
3305
|
+
[name: string]: unknown;
|
|
3306
|
+
};
|
|
3307
|
+
content?: never;
|
|
3308
|
+
};
|
|
3309
|
+
/** @description Auto top-up service unavailable */
|
|
3310
|
+
503: {
|
|
3311
|
+
headers: {
|
|
3312
|
+
[name: string]: unknown;
|
|
3313
|
+
};
|
|
3314
|
+
content?: never;
|
|
3315
|
+
};
|
|
3316
|
+
};
|
|
3317
|
+
};
|
|
3318
|
+
confirmAccountAutoTopupSetup: {
|
|
3319
|
+
parameters: {
|
|
3320
|
+
query?: never;
|
|
3321
|
+
header?: never;
|
|
3322
|
+
path?: never;
|
|
3323
|
+
cookie?: never;
|
|
3324
|
+
};
|
|
3325
|
+
requestBody: {
|
|
3326
|
+
content: {
|
|
3327
|
+
"application/json": components["schemas"]["AutoTopupConfirmRequest"];
|
|
3328
|
+
};
|
|
3329
|
+
};
|
|
3330
|
+
responses: {
|
|
3331
|
+
/** @description Auto top-up payment method stored */
|
|
3332
|
+
200: {
|
|
3333
|
+
headers: {
|
|
3334
|
+
[name: string]: unknown;
|
|
3335
|
+
};
|
|
3336
|
+
content: {
|
|
3337
|
+
"application/json": components["schemas"]["AutoTopupConfigResponse"];
|
|
3338
|
+
};
|
|
3339
|
+
};
|
|
3340
|
+
/** @description Invalid request */
|
|
3341
|
+
400: {
|
|
3342
|
+
headers: {
|
|
3343
|
+
[name: string]: unknown;
|
|
3344
|
+
};
|
|
3345
|
+
content?: never;
|
|
3346
|
+
};
|
|
3347
|
+
/** @description Unauthorized */
|
|
3348
|
+
401: {
|
|
3349
|
+
headers: {
|
|
3350
|
+
[name: string]: unknown;
|
|
3351
|
+
};
|
|
3352
|
+
content?: never;
|
|
3353
|
+
};
|
|
3354
|
+
/** @description Auto top-up service unavailable */
|
|
3355
|
+
503: {
|
|
3356
|
+
headers: {
|
|
3357
|
+
[name: string]: unknown;
|
|
3358
|
+
};
|
|
3359
|
+
content?: never;
|
|
3360
|
+
};
|
|
3361
|
+
};
|
|
3362
|
+
};
|
|
2913
3363
|
listCustomers: {
|
|
2914
3364
|
parameters: {
|
|
2915
3365
|
query?: never;
|
|
@@ -4841,7 +5291,10 @@ interface operations {
|
|
|
4841
5291
|
};
|
|
4842
5292
|
createRun: {
|
|
4843
5293
|
parameters: {
|
|
4844
|
-
query?:
|
|
5294
|
+
query?: {
|
|
5295
|
+
/** @description When true, override all llm.responses and route.switch nodes to stream (emit node_output_delta events). When false or omitted, uses the workflow spec defaults. */
|
|
5296
|
+
stream?: boolean;
|
|
5297
|
+
};
|
|
4845
5298
|
header?: never;
|
|
4846
5299
|
path?: never;
|
|
4847
5300
|
cookie?: never;
|
|
@@ -4902,6 +5355,8 @@ interface operations {
|
|
|
4902
5355
|
after_seq?: number;
|
|
4903
5356
|
/** @description When false, returns currently available events then closes. */
|
|
4904
5357
|
wait?: boolean;
|
|
5358
|
+
/** @description When true, inline node_output and run_completed payloads when they are <= 1MB. */
|
|
5359
|
+
include_output?: boolean;
|
|
4905
5360
|
/** @description Maximum number of events to send before closing. */
|
|
4906
5361
|
limit?: number;
|
|
4907
5362
|
};
|
|
@@ -5314,6 +5769,149 @@ interface operations {
|
|
|
5314
5769
|
};
|
|
5315
5770
|
};
|
|
5316
5771
|
};
|
|
5772
|
+
getRunPendingTools: {
|
|
5773
|
+
parameters: {
|
|
5774
|
+
query?: never;
|
|
5775
|
+
header?: never;
|
|
5776
|
+
path: {
|
|
5777
|
+
run_id: string;
|
|
5778
|
+
};
|
|
5779
|
+
cookie?: never;
|
|
5780
|
+
};
|
|
5781
|
+
requestBody?: never;
|
|
5782
|
+
responses: {
|
|
5783
|
+
/** @description Pending tool calls */
|
|
5784
|
+
200: {
|
|
5785
|
+
headers: {
|
|
5786
|
+
[name: string]: unknown;
|
|
5787
|
+
};
|
|
5788
|
+
content: {
|
|
5789
|
+
"application/json": components["schemas"]["RunsPendingToolsResponse"];
|
|
5790
|
+
};
|
|
5791
|
+
};
|
|
5792
|
+
/** @description Run not found */
|
|
5793
|
+
404: {
|
|
5794
|
+
headers: {
|
|
5795
|
+
[name: string]: unknown;
|
|
5796
|
+
};
|
|
5797
|
+
content?: never;
|
|
5798
|
+
};
|
|
5799
|
+
};
|
|
5800
|
+
};
|
|
5801
|
+
submitRunToolResults: {
|
|
5802
|
+
parameters: {
|
|
5803
|
+
query?: never;
|
|
5804
|
+
header?: never;
|
|
5805
|
+
path: {
|
|
5806
|
+
run_id: string;
|
|
5807
|
+
};
|
|
5808
|
+
cookie?: never;
|
|
5809
|
+
};
|
|
5810
|
+
requestBody: {
|
|
5811
|
+
content: {
|
|
5812
|
+
"application/json": components["schemas"]["RunsToolResultsRequest"];
|
|
5813
|
+
};
|
|
5814
|
+
};
|
|
5815
|
+
responses: {
|
|
5816
|
+
/** @description Tool results accepted */
|
|
5817
|
+
200: {
|
|
5818
|
+
headers: {
|
|
5819
|
+
[name: string]: unknown;
|
|
5820
|
+
};
|
|
5821
|
+
content: {
|
|
5822
|
+
"application/json": components["schemas"]["RunsToolResultsResponse"];
|
|
5823
|
+
};
|
|
5824
|
+
};
|
|
5825
|
+
/** @description Invalid payload */
|
|
5826
|
+
400: {
|
|
5827
|
+
headers: {
|
|
5828
|
+
[name: string]: unknown;
|
|
5829
|
+
};
|
|
5830
|
+
content?: never;
|
|
5831
|
+
};
|
|
5832
|
+
/** @description Run or pending tool calls not found */
|
|
5833
|
+
404: {
|
|
5834
|
+
headers: {
|
|
5835
|
+
[name: string]: unknown;
|
|
5836
|
+
};
|
|
5837
|
+
content?: never;
|
|
5838
|
+
};
|
|
5839
|
+
/** @description Tool results conflict (wrong step/request_id) */
|
|
5840
|
+
409: {
|
|
5841
|
+
headers: {
|
|
5842
|
+
[name: string]: unknown;
|
|
5843
|
+
};
|
|
5844
|
+
content?: never;
|
|
5845
|
+
};
|
|
5846
|
+
};
|
|
5847
|
+
};
|
|
5848
|
+
compileWorkflow: {
|
|
5849
|
+
parameters: {
|
|
5850
|
+
query?: never;
|
|
5851
|
+
header?: never;
|
|
5852
|
+
path?: never;
|
|
5853
|
+
cookie?: never;
|
|
5854
|
+
};
|
|
5855
|
+
requestBody: {
|
|
5856
|
+
content: {
|
|
5857
|
+
"application/json": components["schemas"]["WorkflowSpec"];
|
|
5858
|
+
};
|
|
5859
|
+
};
|
|
5860
|
+
responses: {
|
|
5861
|
+
/** @description Compiled workflow */
|
|
5862
|
+
200: {
|
|
5863
|
+
headers: {
|
|
5864
|
+
[name: string]: unknown;
|
|
5865
|
+
};
|
|
5866
|
+
content: {
|
|
5867
|
+
"application/json": components["schemas"]["WorkflowsCompileResponse"];
|
|
5868
|
+
};
|
|
5869
|
+
};
|
|
5870
|
+
/** @description Invalid workflow spec or validation errors */
|
|
5871
|
+
400: {
|
|
5872
|
+
headers: {
|
|
5873
|
+
[name: string]: unknown;
|
|
5874
|
+
};
|
|
5875
|
+
content: {
|
|
5876
|
+
"application/json": components["schemas"]["APIError"];
|
|
5877
|
+
};
|
|
5878
|
+
};
|
|
5879
|
+
};
|
|
5880
|
+
};
|
|
5881
|
+
lintWorkflow: {
|
|
5882
|
+
parameters: {
|
|
5883
|
+
query?: {
|
|
5884
|
+
/** @description Whether to compile the workflow after linting (default: true) */
|
|
5885
|
+
compile?: boolean;
|
|
5886
|
+
};
|
|
5887
|
+
header?: never;
|
|
5888
|
+
path?: never;
|
|
5889
|
+
cookie?: never;
|
|
5890
|
+
};
|
|
5891
|
+
requestBody: {
|
|
5892
|
+
content: {
|
|
5893
|
+
"application/json": components["schemas"]["WorkflowSpec"];
|
|
5894
|
+
};
|
|
5895
|
+
};
|
|
5896
|
+
responses: {
|
|
5897
|
+
/** @description Lint results */
|
|
5898
|
+
200: {
|
|
5899
|
+
headers: {
|
|
5900
|
+
[name: string]: unknown;
|
|
5901
|
+
};
|
|
5902
|
+
content: {
|
|
5903
|
+
"application/json": components["schemas"]["WorkflowsLintResponse"];
|
|
5904
|
+
};
|
|
5905
|
+
};
|
|
5906
|
+
/** @description Invalid payload */
|
|
5907
|
+
400: {
|
|
5908
|
+
headers: {
|
|
5909
|
+
[name: string]: unknown;
|
|
5910
|
+
};
|
|
5911
|
+
content?: never;
|
|
5912
|
+
};
|
|
5913
|
+
};
|
|
5914
|
+
};
|
|
5317
5915
|
}
|
|
5318
5916
|
|
|
5319
5917
|
export type { $defs as $, components as c, operations as o, paths as p, webhooks as w };
|