@runtypelabs/sdk 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +398 -0
- package/dist/batch-builder.d.ts +106 -0
- package/dist/batch-builder.d.ts.map +1 -0
- package/dist/batch-builder.js +124 -0
- package/dist/batch-builder.js.map +1 -0
- package/dist/batches-namespace.d.ts +132 -0
- package/dist/batches-namespace.d.ts.map +1 -0
- package/dist/batches-namespace.js +128 -0
- package/dist/batches-namespace.js.map +1 -0
- package/dist/client.d.ts +121 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +485 -0
- package/dist/client.js.map +1 -0
- package/dist/endpoints.d.ts +560 -0
- package/dist/endpoints.d.ts.map +1 -0
- package/dist/endpoints.js +725 -0
- package/dist/endpoints.js.map +1 -0
- package/dist/eval-builder.d.ts +216 -0
- package/dist/eval-builder.d.ts.map +1 -0
- package/dist/eval-builder.js +225 -0
- package/dist/eval-builder.js.map +1 -0
- package/dist/evals-namespace.d.ts +205 -0
- package/dist/evals-namespace.d.ts.map +1 -0
- package/dist/evals-namespace.js +208 -0
- package/dist/evals-namespace.js.map +1 -0
- package/dist/flow-builder.d.ts +620 -0
- package/dist/flow-builder.d.ts.map +1 -0
- package/dist/flow-builder.js +565 -0
- package/dist/flow-builder.js.map +1 -0
- package/dist/flow-result.d.ts +117 -0
- package/dist/flow-result.d.ts.map +1 -0
- package/dist/flow-result.js +175 -0
- package/dist/flow-result.js.map +1 -0
- package/dist/flows-namespace.d.ts +430 -0
- package/dist/flows-namespace.d.ts.map +1 -0
- package/dist/flows-namespace.js +679 -0
- package/dist/flows-namespace.js.map +1 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +76 -0
- package/dist/index.js.map +1 -0
- package/dist/prompts-namespace.d.ts +236 -0
- package/dist/prompts-namespace.d.ts.map +1 -0
- package/dist/prompts-namespace.js +222 -0
- package/dist/prompts-namespace.js.map +1 -0
- package/dist/runtype.d.ts +232 -0
- package/dist/runtype.d.ts.map +1 -0
- package/dist/runtype.js +367 -0
- package/dist/runtype.js.map +1 -0
- package/dist/stream-utils.d.ts +58 -0
- package/dist/stream-utils.d.ts.map +1 -0
- package/dist/stream-utils.js +348 -0
- package/dist/stream-utils.js.map +1 -0
- package/dist/transform.d.ts +21 -0
- package/dist/transform.d.ts.map +1 -0
- package/dist/transform.js +170 -0
- package/dist/transform.js.map +1 -0
- package/dist/types.d.ts +626 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +7 -0
- package/dist/types.js.map +1 -0
- package/package.json +61 -0
|
@@ -0,0 +1,560 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API endpoint handlers with automatic camelCase/snake_case transformation
|
|
3
|
+
*/
|
|
4
|
+
import type { Flow, Prompt, RuntypeRecord, ApiKey, ModelConfig, UserProfile, PaginationResponse, ListParams, RecordListParams, CreateFlowRequest, CreatePromptRequest, CreateRecordRequest, CreateApiKeyRequest, CreateModelConfigRequest, DispatchRequest, BulkEditRequest, BulkEditResponse, Tool, ToolExecution, CreateToolRequest, UpdateToolRequest, ExecuteToolRequest, ExecuteToolResponse, BuiltInTool, ModelUsageResponse, ModelUsageQueryParams } from './types';
|
|
5
|
+
export interface ApiClient {
|
|
6
|
+
get<T>(path: string, params?: {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}): Promise<T>;
|
|
9
|
+
post<T>(path: string, data?: any): Promise<T>;
|
|
10
|
+
put<T>(path: string, data?: any): Promise<T>;
|
|
11
|
+
patch<T>(path: string, data?: any): Promise<T>;
|
|
12
|
+
delete<T>(path: string, data?: any): Promise<T>;
|
|
13
|
+
postFormData<T>(path: string, formData: FormData): Promise<T>;
|
|
14
|
+
requestStream(path: string, options?: RequestInit): Promise<Response>;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Flows endpoint handlers
|
|
18
|
+
*/
|
|
19
|
+
export declare class FlowsEndpoint {
|
|
20
|
+
private client;
|
|
21
|
+
constructor(client: ApiClient);
|
|
22
|
+
/**
|
|
23
|
+
* List all flows for the authenticated user
|
|
24
|
+
*/
|
|
25
|
+
list(params?: ListParams): Promise<PaginationResponse<Flow>>;
|
|
26
|
+
/**
|
|
27
|
+
* Get a specific flow by ID
|
|
28
|
+
*/
|
|
29
|
+
get(id: string): Promise<Flow>;
|
|
30
|
+
/**
|
|
31
|
+
* Create a new flow
|
|
32
|
+
*/
|
|
33
|
+
create(data: CreateFlowRequest): Promise<Flow>;
|
|
34
|
+
/**
|
|
35
|
+
* Update an existing flow
|
|
36
|
+
*/
|
|
37
|
+
update(id: string, data: Partial<CreateFlowRequest>): Promise<Flow>;
|
|
38
|
+
/**
|
|
39
|
+
* Delete a flow
|
|
40
|
+
*/
|
|
41
|
+
delete(id: string): Promise<void>;
|
|
42
|
+
/**
|
|
43
|
+
* Run a flow on all records of a specific type
|
|
44
|
+
*/
|
|
45
|
+
runOnRecordType(id: string, recordType: string): Promise<any>;
|
|
46
|
+
/**
|
|
47
|
+
* Publish flow (promote draft to published)
|
|
48
|
+
*/
|
|
49
|
+
publish(id: string): Promise<{
|
|
50
|
+
success: boolean;
|
|
51
|
+
publishedVersionId: string;
|
|
52
|
+
message: string;
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Prompts endpoint handlers
|
|
57
|
+
*/
|
|
58
|
+
export declare class PromptsEndpoint {
|
|
59
|
+
private client;
|
|
60
|
+
constructor(client: ApiClient);
|
|
61
|
+
/**
|
|
62
|
+
* List all prompts for the authenticated user
|
|
63
|
+
*/
|
|
64
|
+
list(params?: ListParams & {
|
|
65
|
+
flowId?: string;
|
|
66
|
+
}): Promise<PaginationResponse<Prompt>>;
|
|
67
|
+
/**
|
|
68
|
+
* Get a specific prompt by ID
|
|
69
|
+
*/
|
|
70
|
+
get(id: string): Promise<Prompt>;
|
|
71
|
+
/**
|
|
72
|
+
* Create a new prompt
|
|
73
|
+
*/
|
|
74
|
+
create(data: CreatePromptRequest): Promise<Prompt>;
|
|
75
|
+
/**
|
|
76
|
+
* Update an existing prompt
|
|
77
|
+
*/
|
|
78
|
+
update(id: string, data: Partial<CreatePromptRequest>): Promise<Prompt>;
|
|
79
|
+
/**
|
|
80
|
+
* Delete a prompt
|
|
81
|
+
*/
|
|
82
|
+
delete(id: string): Promise<void>;
|
|
83
|
+
/**
|
|
84
|
+
* Run a prompt on a specific record
|
|
85
|
+
*/
|
|
86
|
+
runOnRecord(id: string, recordId: string): Promise<any>;
|
|
87
|
+
/**
|
|
88
|
+
* Get flows using this prompt
|
|
89
|
+
*/
|
|
90
|
+
getFlows(id: string): Promise<{
|
|
91
|
+
flows: any[];
|
|
92
|
+
}>;
|
|
93
|
+
/**
|
|
94
|
+
* Update flow attachments for a prompt
|
|
95
|
+
*/
|
|
96
|
+
updateFlows(id: string, flowIds: string[]): Promise<{
|
|
97
|
+
success: boolean;
|
|
98
|
+
attachedFlows: number;
|
|
99
|
+
}>;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Records endpoint handlers
|
|
103
|
+
*/
|
|
104
|
+
export declare class RecordsEndpoint {
|
|
105
|
+
private client;
|
|
106
|
+
constructor(client: ApiClient);
|
|
107
|
+
/**
|
|
108
|
+
* List all records for the authenticated user
|
|
109
|
+
*/
|
|
110
|
+
list(params?: RecordListParams): Promise<PaginationResponse<RuntypeRecord>>;
|
|
111
|
+
/**
|
|
112
|
+
* Get a specific record by ID
|
|
113
|
+
*/
|
|
114
|
+
get(id: string): Promise<RuntypeRecord>;
|
|
115
|
+
/**
|
|
116
|
+
* Create a new record
|
|
117
|
+
*/
|
|
118
|
+
create(data: CreateRecordRequest): Promise<RuntypeRecord>;
|
|
119
|
+
/**
|
|
120
|
+
* Update an existing record
|
|
121
|
+
*/
|
|
122
|
+
update(id: string, data: Partial<CreateRecordRequest>): Promise<RuntypeRecord>;
|
|
123
|
+
/**
|
|
124
|
+
* Delete a record
|
|
125
|
+
*/
|
|
126
|
+
delete(id: string): Promise<void>;
|
|
127
|
+
/**
|
|
128
|
+
* Bulk delete multiple records
|
|
129
|
+
*/
|
|
130
|
+
bulkDelete(ids: string[]): Promise<{
|
|
131
|
+
success: boolean;
|
|
132
|
+
deleted: number;
|
|
133
|
+
deleted_ids: string[];
|
|
134
|
+
not_found_ids?: string[];
|
|
135
|
+
}>;
|
|
136
|
+
/**
|
|
137
|
+
* Bulk edit multiple records
|
|
138
|
+
*/
|
|
139
|
+
bulkEdit(data: BulkEditRequest): Promise<BulkEditResponse>;
|
|
140
|
+
/**
|
|
141
|
+
* Get results for a record
|
|
142
|
+
*/
|
|
143
|
+
getResults(id: string, params?: {
|
|
144
|
+
flowId?: string;
|
|
145
|
+
fromDate?: string;
|
|
146
|
+
toDate?: string;
|
|
147
|
+
}): Promise<any[]>;
|
|
148
|
+
/**
|
|
149
|
+
* Delete a specific result for a record
|
|
150
|
+
*/
|
|
151
|
+
deleteResult(id: string, resultId: string): Promise<void>;
|
|
152
|
+
/**
|
|
153
|
+
* Upload CSV file to create multiple records
|
|
154
|
+
*/
|
|
155
|
+
uploadCsv(file: File, params?: {
|
|
156
|
+
typeColumn?: string;
|
|
157
|
+
nameColumn?: string;
|
|
158
|
+
}): Promise<any>;
|
|
159
|
+
/**
|
|
160
|
+
* Get record types (distinct values)
|
|
161
|
+
*/
|
|
162
|
+
getTypes(): Promise<{
|
|
163
|
+
data: string[];
|
|
164
|
+
total: number;
|
|
165
|
+
}>;
|
|
166
|
+
/**
|
|
167
|
+
* Get example record by type and/or name
|
|
168
|
+
*/
|
|
169
|
+
getExample(params: {
|
|
170
|
+
type?: string;
|
|
171
|
+
name?: string;
|
|
172
|
+
}): Promise<PaginationResponse<RuntypeRecord>>;
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* API Keys endpoint handlers
|
|
176
|
+
*/
|
|
177
|
+
export declare class ApiKeysEndpoint {
|
|
178
|
+
private client;
|
|
179
|
+
constructor(client: ApiClient);
|
|
180
|
+
/**
|
|
181
|
+
* List all API keys for the authenticated user
|
|
182
|
+
*/
|
|
183
|
+
list(): Promise<ApiKey[]>;
|
|
184
|
+
/**
|
|
185
|
+
* Get a specific API key by ID
|
|
186
|
+
*/
|
|
187
|
+
get(id: string): Promise<ApiKey>;
|
|
188
|
+
/**
|
|
189
|
+
* Create a new API key
|
|
190
|
+
*/
|
|
191
|
+
create(data: CreateApiKeyRequest): Promise<{
|
|
192
|
+
apiKey: ApiKey;
|
|
193
|
+
plainKey: string;
|
|
194
|
+
warning: string;
|
|
195
|
+
}>;
|
|
196
|
+
/**
|
|
197
|
+
* Update an existing API key
|
|
198
|
+
*/
|
|
199
|
+
update(id: string, data: Partial<CreateApiKeyRequest>): Promise<{
|
|
200
|
+
apiKey: ApiKey;
|
|
201
|
+
}>;
|
|
202
|
+
/**
|
|
203
|
+
* Delete an API key
|
|
204
|
+
*/
|
|
205
|
+
delete(id: string): Promise<void>;
|
|
206
|
+
/**
|
|
207
|
+
* Regenerate an API key
|
|
208
|
+
*/
|
|
209
|
+
regenerate(id: string): Promise<{
|
|
210
|
+
apiKey: ApiKey;
|
|
211
|
+
plainKey: string;
|
|
212
|
+
warning: string;
|
|
213
|
+
}>;
|
|
214
|
+
/**
|
|
215
|
+
* Get API key analytics
|
|
216
|
+
*/
|
|
217
|
+
getAnalytics(id: string): Promise<any>;
|
|
218
|
+
/**
|
|
219
|
+
* Get usage logs for an API key
|
|
220
|
+
*/
|
|
221
|
+
getUsage(id: string, params?: {
|
|
222
|
+
startDate?: string;
|
|
223
|
+
endDate?: string;
|
|
224
|
+
limit?: number;
|
|
225
|
+
}): Promise<any>;
|
|
226
|
+
/**
|
|
227
|
+
* Get API key analytics (all keys or specific key)
|
|
228
|
+
*/
|
|
229
|
+
getAnalyticsEnhanced(apiKeyId: string | 'all', params?: Record<string, string>): Promise<any>;
|
|
230
|
+
/**
|
|
231
|
+
* Get API key usage logs (all keys or specific key)
|
|
232
|
+
*/
|
|
233
|
+
getLogs(apiKeyId: string | 'all', params?: Record<string, string>): Promise<any>;
|
|
234
|
+
/**
|
|
235
|
+
* Get API key permission options
|
|
236
|
+
*/
|
|
237
|
+
getPermissionOptions(): Promise<any>;
|
|
238
|
+
/**
|
|
239
|
+
* Get API key security logs
|
|
240
|
+
*/
|
|
241
|
+
getSecurityLogs(id: string): Promise<any>;
|
|
242
|
+
/**
|
|
243
|
+
* Update API key security settings
|
|
244
|
+
*/
|
|
245
|
+
updateSecurity(id: string, data: any): Promise<any>;
|
|
246
|
+
/**
|
|
247
|
+
* Clear suspicious activity for API key
|
|
248
|
+
*/
|
|
249
|
+
clearSuspiciousActivity(id: string): Promise<any>;
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* Model Configurations endpoint handlers
|
|
253
|
+
*/
|
|
254
|
+
export declare class ModelConfigsEndpoint {
|
|
255
|
+
private client;
|
|
256
|
+
constructor(client: ApiClient);
|
|
257
|
+
/**
|
|
258
|
+
* Get available models catalog
|
|
259
|
+
*/
|
|
260
|
+
getAvailable(): Promise<ModelConfig[]>;
|
|
261
|
+
/**
|
|
262
|
+
* Get search-capable models (all available, regardless of user configuration)
|
|
263
|
+
*/
|
|
264
|
+
getSearchCapable(): Promise<ModelConfig[]>;
|
|
265
|
+
/**
|
|
266
|
+
* Get configured search-capable models (only user's configured and enabled models)
|
|
267
|
+
*/
|
|
268
|
+
getSearchConfigured(): Promise<ModelConfig[]>;
|
|
269
|
+
/**
|
|
270
|
+
* List user's model configurations
|
|
271
|
+
*/
|
|
272
|
+
list(): Promise<ModelConfig[]>;
|
|
273
|
+
/**
|
|
274
|
+
* Create a new model configuration
|
|
275
|
+
*/
|
|
276
|
+
create(data: CreateModelConfigRequest): Promise<ModelConfig>;
|
|
277
|
+
/**
|
|
278
|
+
* Update an existing model configuration
|
|
279
|
+
*/
|
|
280
|
+
update(id: string, data: Partial<CreateModelConfigRequest>): Promise<ModelConfig>;
|
|
281
|
+
/**
|
|
282
|
+
* Delete a model configuration
|
|
283
|
+
*/
|
|
284
|
+
delete(id: string): Promise<void>;
|
|
285
|
+
/**
|
|
286
|
+
* Enable/disable a model configuration
|
|
287
|
+
*/
|
|
288
|
+
updateStatus(id: string, isEnabled: boolean): Promise<{
|
|
289
|
+
success: boolean;
|
|
290
|
+
message: string;
|
|
291
|
+
}>;
|
|
292
|
+
/**
|
|
293
|
+
* Set a model configuration as default
|
|
294
|
+
*/
|
|
295
|
+
setDefault(id: string): Promise<{
|
|
296
|
+
success: boolean;
|
|
297
|
+
message: string;
|
|
298
|
+
data: ModelConfig;
|
|
299
|
+
}>;
|
|
300
|
+
/**
|
|
301
|
+
* Get usage statistics
|
|
302
|
+
*/
|
|
303
|
+
getUsage(): Promise<any>;
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* Dispatch endpoint handler for atomic record/flow creation and execution
|
|
307
|
+
*/
|
|
308
|
+
export declare class DispatchEndpoint {
|
|
309
|
+
private client;
|
|
310
|
+
constructor(client: ApiClient);
|
|
311
|
+
/**
|
|
312
|
+
* Dispatch: create and/or execute flows on records atomically
|
|
313
|
+
*/
|
|
314
|
+
execute(data: DispatchRequest): Promise<any>;
|
|
315
|
+
/**
|
|
316
|
+
* Dispatch with streaming response
|
|
317
|
+
*/
|
|
318
|
+
executeStream(data: DispatchRequest): Promise<Response>;
|
|
319
|
+
/**
|
|
320
|
+
* Resume paused flow execution
|
|
321
|
+
* API expects snake_case field names
|
|
322
|
+
*
|
|
323
|
+
* @param data.execution_id - The execution ID to resume
|
|
324
|
+
* @param data.tool_outputs - Tool outputs to inject into the flow
|
|
325
|
+
* @param data.stream_response - Whether to stream the response
|
|
326
|
+
* @param data.messages - Optional messages to override the original dispatch messages
|
|
327
|
+
*/
|
|
328
|
+
resume(data: {
|
|
329
|
+
execution_id: string;
|
|
330
|
+
tool_outputs?: Record<string, any>;
|
|
331
|
+
stream_response?: boolean;
|
|
332
|
+
messages?: Array<{
|
|
333
|
+
role: 'system' | 'user' | 'assistant';
|
|
334
|
+
content: string | Array<{
|
|
335
|
+
type: string;
|
|
336
|
+
text?: string;
|
|
337
|
+
image?: string;
|
|
338
|
+
}>;
|
|
339
|
+
}>;
|
|
340
|
+
}): Promise<any>;
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* Chat endpoint handler
|
|
344
|
+
*/
|
|
345
|
+
export declare class ChatEndpoint {
|
|
346
|
+
private client;
|
|
347
|
+
constructor(client: ApiClient);
|
|
348
|
+
/**
|
|
349
|
+
* Send a chat message
|
|
350
|
+
*/
|
|
351
|
+
send(message: string): Promise<any>;
|
|
352
|
+
/**
|
|
353
|
+
* Send a chat message with streaming response
|
|
354
|
+
*/
|
|
355
|
+
sendStream(message: string, options?: any): Promise<Response>;
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* Users endpoint handlers
|
|
359
|
+
*/
|
|
360
|
+
export declare class UsersEndpoint {
|
|
361
|
+
private client;
|
|
362
|
+
constructor(client: ApiClient);
|
|
363
|
+
/**
|
|
364
|
+
* Get current user profile
|
|
365
|
+
*/
|
|
366
|
+
getProfile(): Promise<UserProfile>;
|
|
367
|
+
/**
|
|
368
|
+
* Update user profile
|
|
369
|
+
*/
|
|
370
|
+
updateProfile(data: Partial<UserProfile>): Promise<UserProfile>;
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* Analytics endpoint handlers
|
|
374
|
+
*/
|
|
375
|
+
export declare class AnalyticsEndpoint {
|
|
376
|
+
private client;
|
|
377
|
+
constructor(client: ApiClient);
|
|
378
|
+
/**
|
|
379
|
+
* Get analytics stats
|
|
380
|
+
*/
|
|
381
|
+
getStats(params?: Record<string, string>): Promise<any>;
|
|
382
|
+
/**
|
|
383
|
+
* Get analytics executions
|
|
384
|
+
*/
|
|
385
|
+
getExecutions(params?: Record<string, string>): Promise<any>;
|
|
386
|
+
/**
|
|
387
|
+
* Get all record results (same as executions)
|
|
388
|
+
*/
|
|
389
|
+
getAllRecordResults(params?: Record<string, string>): Promise<any>;
|
|
390
|
+
/**
|
|
391
|
+
* Get model usage analytics
|
|
392
|
+
*/
|
|
393
|
+
getModelUsage(params?: ModelUsageQueryParams): Promise<ModelUsageResponse>;
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* Flow Steps endpoint handlers
|
|
397
|
+
*/
|
|
398
|
+
export declare class FlowStepsEndpoint {
|
|
399
|
+
private client;
|
|
400
|
+
constructor(client: ApiClient);
|
|
401
|
+
/**
|
|
402
|
+
* Get flow steps for a flow
|
|
403
|
+
*/
|
|
404
|
+
getByFlow(flowId: string): Promise<any[]>;
|
|
405
|
+
/**
|
|
406
|
+
* Get a specific flow step
|
|
407
|
+
*/
|
|
408
|
+
get(id: string): Promise<any>;
|
|
409
|
+
/**
|
|
410
|
+
* Create a flow step
|
|
411
|
+
*/
|
|
412
|
+
create(data: any): Promise<any>;
|
|
413
|
+
/**
|
|
414
|
+
* Update a flow step
|
|
415
|
+
*/
|
|
416
|
+
update(id: string, data: any): Promise<any>;
|
|
417
|
+
/**
|
|
418
|
+
* Delete a flow step
|
|
419
|
+
*/
|
|
420
|
+
delete(id: string): Promise<void>;
|
|
421
|
+
/**
|
|
422
|
+
* Reorder flow steps
|
|
423
|
+
*/
|
|
424
|
+
reorder(flowId: string, stepOrders: Array<{
|
|
425
|
+
id: string;
|
|
426
|
+
order: number;
|
|
427
|
+
}>): Promise<any>;
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* Context Templates endpoint handlers
|
|
431
|
+
*/
|
|
432
|
+
export declare class ContextTemplatesEndpoint {
|
|
433
|
+
private client;
|
|
434
|
+
constructor(client: ApiClient);
|
|
435
|
+
/**
|
|
436
|
+
* List context templates
|
|
437
|
+
*/
|
|
438
|
+
list(params?: Record<string, string>): Promise<any[]>;
|
|
439
|
+
/**
|
|
440
|
+
* Get a specific context template
|
|
441
|
+
*/
|
|
442
|
+
get(id: string): Promise<any>;
|
|
443
|
+
/**
|
|
444
|
+
* Create a context template
|
|
445
|
+
*/
|
|
446
|
+
create(data: any): Promise<any>;
|
|
447
|
+
/**
|
|
448
|
+
* Update a context template
|
|
449
|
+
*/
|
|
450
|
+
update(id: string, data: any): Promise<any>;
|
|
451
|
+
/**
|
|
452
|
+
* Delete a context template
|
|
453
|
+
*/
|
|
454
|
+
delete(id: string): Promise<void>;
|
|
455
|
+
}
|
|
456
|
+
/**
|
|
457
|
+
* Tools endpoint handlers
|
|
458
|
+
*/
|
|
459
|
+
export declare class ToolsEndpoint {
|
|
460
|
+
private client;
|
|
461
|
+
constructor(client: ApiClient);
|
|
462
|
+
/**
|
|
463
|
+
* List all tools for the authenticated user
|
|
464
|
+
*/
|
|
465
|
+
list(params?: ListParams): Promise<PaginationResponse<Tool>>;
|
|
466
|
+
/**
|
|
467
|
+
* Get a specific tool by ID
|
|
468
|
+
*/
|
|
469
|
+
get(id: string): Promise<Tool>;
|
|
470
|
+
/**
|
|
471
|
+
* Create a new tool
|
|
472
|
+
*/
|
|
473
|
+
create(data: CreateToolRequest): Promise<Tool>;
|
|
474
|
+
/**
|
|
475
|
+
* Update an existing tool
|
|
476
|
+
*/
|
|
477
|
+
update(id: string, data: UpdateToolRequest): Promise<Tool>;
|
|
478
|
+
/**
|
|
479
|
+
* Delete a tool
|
|
480
|
+
*/
|
|
481
|
+
delete(id: string): Promise<void>;
|
|
482
|
+
/**
|
|
483
|
+
* Execute a tool
|
|
484
|
+
*/
|
|
485
|
+
execute(id: string, data: ExecuteToolRequest): Promise<ExecuteToolResponse>;
|
|
486
|
+
/**
|
|
487
|
+
* Execute a tool with streaming response
|
|
488
|
+
*/
|
|
489
|
+
executeStream(id: string, data: ExecuteToolRequest): Promise<Response>;
|
|
490
|
+
/**
|
|
491
|
+
* Test a tool (same as execute but for testing purposes)
|
|
492
|
+
*/
|
|
493
|
+
test(id: string, data: ExecuteToolRequest): Promise<ExecuteToolResponse>;
|
|
494
|
+
/**
|
|
495
|
+
* Get tool executions for a specific tool
|
|
496
|
+
*/
|
|
497
|
+
getExecutions(toolId: string, params?: ListParams): Promise<PaginationResponse<ToolExecution>>;
|
|
498
|
+
/**
|
|
499
|
+
* Get AI SDK compatible tool schemas
|
|
500
|
+
*/
|
|
501
|
+
getSchemas(params?: {
|
|
502
|
+
toolIds?: string[];
|
|
503
|
+
}): Promise<any[]>;
|
|
504
|
+
/**
|
|
505
|
+
* Get available tools for prompts
|
|
506
|
+
*/
|
|
507
|
+
getAvailable(): Promise<Tool[]>;
|
|
508
|
+
/**
|
|
509
|
+
* Convert a flow to a tool
|
|
510
|
+
*/
|
|
511
|
+
convertFromFlow(flowId: string, data: {
|
|
512
|
+
name: string;
|
|
513
|
+
description: string;
|
|
514
|
+
parameterMapping?: Record<string, string>;
|
|
515
|
+
outputMapping?: string;
|
|
516
|
+
}): Promise<Tool>;
|
|
517
|
+
/**
|
|
518
|
+
* Get all built-in tools
|
|
519
|
+
*/
|
|
520
|
+
getBuiltInTools(): Promise<PaginationResponse<BuiltInTool>>;
|
|
521
|
+
/**
|
|
522
|
+
* Get built-in tools compatible with a specific model and provider
|
|
523
|
+
*/
|
|
524
|
+
getCompatibleBuiltInTools(model: string, provider: string): Promise<PaginationResponse<BuiltInTool>>;
|
|
525
|
+
/**
|
|
526
|
+
* Get parameter schema for a specific built-in tool
|
|
527
|
+
*/
|
|
528
|
+
getBuiltInToolSchema(toolId: string): Promise<BuiltInTool>;
|
|
529
|
+
}
|
|
530
|
+
/**
|
|
531
|
+
* Eval endpoint handlers
|
|
532
|
+
*/
|
|
533
|
+
export declare class EvalEndpoint {
|
|
534
|
+
private client;
|
|
535
|
+
constructor(client: ApiClient);
|
|
536
|
+
/**
|
|
537
|
+
* Run virtual eval with streaming response
|
|
538
|
+
* Executes multiple eval configs simultaneously and streams results via multiplexed SSE
|
|
539
|
+
*/
|
|
540
|
+
runVirtualEval(data: {
|
|
541
|
+
record?: {
|
|
542
|
+
name?: string;
|
|
543
|
+
type?: string;
|
|
544
|
+
metadata?: Record<string, any>;
|
|
545
|
+
};
|
|
546
|
+
messages?: Array<{
|
|
547
|
+
role: 'system' | 'user' | 'assistant';
|
|
548
|
+
content: string;
|
|
549
|
+
}>;
|
|
550
|
+
flow_id?: string;
|
|
551
|
+
flow_definition?: any;
|
|
552
|
+
eval_configs: Array<{
|
|
553
|
+
eval_config_id?: string;
|
|
554
|
+
eval_name?: string;
|
|
555
|
+
step_overrides?: Record<string, any>;
|
|
556
|
+
}>;
|
|
557
|
+
eval_group_id?: string;
|
|
558
|
+
}): Promise<Response>;
|
|
559
|
+
}
|
|
560
|
+
//# sourceMappingURL=endpoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../src/endpoints.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EACV,IAAI,EACJ,MAAM,EACN,aAAa,EACb,MAAM,EACN,WAAW,EACX,WAAW,EACX,kBAAkB,EAElB,UAAU,EACV,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,wBAAwB,EACxB,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,IAAI,EACJ,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,WAAW,EACX,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,SAAS,CAAA;AAEhB,MAAM,WAAW,SAAS;IACxB,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;IACjE,IAAI,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;IAC7C,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,GAAG,GA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