@soat/sdk 0.4.6 → 0.4.8
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/esm/index.js +132 -298
- package/dist/index.d.cts +146 -120
- package/dist/index.d.ts +146 -120
- package/dist/index.js +132 -298
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -310,7 +310,7 @@ type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boole
|
|
|
310
310
|
declare const createClient: (config?: Config) => Client;
|
|
311
311
|
|
|
312
312
|
type ClientOptions = {
|
|
313
|
-
baseUrl: `${string}
|
|
313
|
+
baseUrl: `${string}://{baseUrl}` | (string & {});
|
|
314
314
|
};
|
|
315
315
|
type ActorRecord = {
|
|
316
316
|
/**
|
|
@@ -1342,7 +1342,7 @@ type ListActorsData = {
|
|
|
1342
1342
|
*/
|
|
1343
1343
|
offset?: number;
|
|
1344
1344
|
};
|
|
1345
|
-
url: '/actors';
|
|
1345
|
+
url: '/api/v1/actors';
|
|
1346
1346
|
};
|
|
1347
1347
|
type ListActorsErrors = {
|
|
1348
1348
|
/**
|
|
@@ -1385,7 +1385,7 @@ type CreateActorData = {
|
|
|
1385
1385
|
};
|
|
1386
1386
|
path?: never;
|
|
1387
1387
|
query?: never;
|
|
1388
|
-
url: '/actors';
|
|
1388
|
+
url: '/api/v1/actors';
|
|
1389
1389
|
};
|
|
1390
1390
|
type CreateActorErrors = {
|
|
1391
1391
|
/**
|
|
@@ -1422,7 +1422,7 @@ type DeleteActorData = {
|
|
|
1422
1422
|
actor_id: string;
|
|
1423
1423
|
};
|
|
1424
1424
|
query?: never;
|
|
1425
|
-
url: '/actors/{actor_id}';
|
|
1425
|
+
url: '/api/v1/actors/{actor_id}';
|
|
1426
1426
|
};
|
|
1427
1427
|
type DeleteActorErrors = {
|
|
1428
1428
|
/**
|
|
@@ -1455,7 +1455,7 @@ type GetActorData = {
|
|
|
1455
1455
|
actor_id: string;
|
|
1456
1456
|
};
|
|
1457
1457
|
query?: never;
|
|
1458
|
-
url: '/actors/{actor_id}';
|
|
1458
|
+
url: '/api/v1/actors/{actor_id}';
|
|
1459
1459
|
};
|
|
1460
1460
|
type GetActorErrors = {
|
|
1461
1461
|
/**
|
|
@@ -1501,7 +1501,7 @@ type UpdateActorData = {
|
|
|
1501
1501
|
actor_id: string;
|
|
1502
1502
|
};
|
|
1503
1503
|
query?: never;
|
|
1504
|
-
url: '/actors/{actor_id}';
|
|
1504
|
+
url: '/api/v1/actors/{actor_id}';
|
|
1505
1505
|
};
|
|
1506
1506
|
type UpdateActorErrors = {
|
|
1507
1507
|
/**
|
|
@@ -1534,7 +1534,7 @@ type GetActorTagsData = {
|
|
|
1534
1534
|
actor_id: string;
|
|
1535
1535
|
};
|
|
1536
1536
|
query?: never;
|
|
1537
|
-
url: '/actors/{actor_id}/tags';
|
|
1537
|
+
url: '/api/v1/actors/{actor_id}/tags';
|
|
1538
1538
|
};
|
|
1539
1539
|
type GetActorTagsErrors = {
|
|
1540
1540
|
/**
|
|
@@ -1571,7 +1571,7 @@ type MergeActorTagsData = {
|
|
|
1571
1571
|
actor_id: string;
|
|
1572
1572
|
};
|
|
1573
1573
|
query?: never;
|
|
1574
|
-
url: '/actors/{actor_id}/tags';
|
|
1574
|
+
url: '/api/v1/actors/{actor_id}/tags';
|
|
1575
1575
|
};
|
|
1576
1576
|
type MergeActorTagsErrors = {
|
|
1577
1577
|
/**
|
|
@@ -1608,7 +1608,7 @@ type ReplaceActorTagsData = {
|
|
|
1608
1608
|
actor_id: string;
|
|
1609
1609
|
};
|
|
1610
1610
|
query?: never;
|
|
1611
|
-
url: '/actors/{actor_id}/tags';
|
|
1611
|
+
url: '/api/v1/actors/{actor_id}/tags';
|
|
1612
1612
|
};
|
|
1613
1613
|
type ReplaceActorTagsErrors = {
|
|
1614
1614
|
/**
|
|
@@ -1643,7 +1643,7 @@ type ListAgentToolsData = {
|
|
|
1643
1643
|
*/
|
|
1644
1644
|
project_id?: string;
|
|
1645
1645
|
};
|
|
1646
|
-
url: '/agents/tools';
|
|
1646
|
+
url: '/api/v1/agents/tools';
|
|
1647
1647
|
};
|
|
1648
1648
|
type ListAgentToolsErrors = {
|
|
1649
1649
|
/**
|
|
@@ -1667,7 +1667,7 @@ type CreateAgentToolData = {
|
|
|
1667
1667
|
body: CreateAgentToolRequest;
|
|
1668
1668
|
path?: never;
|
|
1669
1669
|
query?: never;
|
|
1670
|
-
url: '/agents/tools';
|
|
1670
|
+
url: '/api/v1/agents/tools';
|
|
1671
1671
|
};
|
|
1672
1672
|
type CreateAgentToolErrors = {
|
|
1673
1673
|
/**
|
|
@@ -1697,7 +1697,7 @@ type DeleteAgentToolData = {
|
|
|
1697
1697
|
tool_id: string;
|
|
1698
1698
|
};
|
|
1699
1699
|
query?: never;
|
|
1700
|
-
url: '/agents/tools/{tool_id}';
|
|
1700
|
+
url: '/api/v1/agents/tools/{tool_id}';
|
|
1701
1701
|
};
|
|
1702
1702
|
type DeleteAgentToolErrors = {
|
|
1703
1703
|
/**
|
|
@@ -1727,7 +1727,7 @@ type GetAgentToolData = {
|
|
|
1727
1727
|
tool_id: string;
|
|
1728
1728
|
};
|
|
1729
1729
|
query?: never;
|
|
1730
|
-
url: '/agents/tools/{tool_id}';
|
|
1730
|
+
url: '/api/v1/agents/tools/{tool_id}';
|
|
1731
1731
|
};
|
|
1732
1732
|
type GetAgentToolErrors = {
|
|
1733
1733
|
/**
|
|
@@ -1757,7 +1757,7 @@ type UpdateAgentToolData = {
|
|
|
1757
1757
|
tool_id: string;
|
|
1758
1758
|
};
|
|
1759
1759
|
query?: never;
|
|
1760
|
-
url: '/agents/tools/{tool_id}';
|
|
1760
|
+
url: '/api/v1/agents/tools/{tool_id}';
|
|
1761
1761
|
};
|
|
1762
1762
|
type UpdateAgentToolErrors = {
|
|
1763
1763
|
/**
|
|
@@ -1798,7 +1798,7 @@ type ListAgentTracesData = {
|
|
|
1798
1798
|
*/
|
|
1799
1799
|
offset?: number;
|
|
1800
1800
|
};
|
|
1801
|
-
url: '/agents/traces';
|
|
1801
|
+
url: '/api/v1/agents/traces';
|
|
1802
1802
|
};
|
|
1803
1803
|
type ListAgentTracesErrors = {
|
|
1804
1804
|
/**
|
|
@@ -1829,7 +1829,7 @@ type GetAgentTraceData = {
|
|
|
1829
1829
|
trace_id: string;
|
|
1830
1830
|
};
|
|
1831
1831
|
query?: never;
|
|
1832
|
-
url: '/agents/traces/{trace_id}';
|
|
1832
|
+
url: '/api/v1/agents/traces/{trace_id}';
|
|
1833
1833
|
};
|
|
1834
1834
|
type GetAgentTraceErrors = {
|
|
1835
1835
|
/**
|
|
@@ -1862,7 +1862,7 @@ type ListAgentsData = {
|
|
|
1862
1862
|
*/
|
|
1863
1863
|
project_id?: string;
|
|
1864
1864
|
};
|
|
1865
|
-
url: '/agents';
|
|
1865
|
+
url: '/api/v1/agents';
|
|
1866
1866
|
};
|
|
1867
1867
|
type ListAgentsErrors = {
|
|
1868
1868
|
/**
|
|
@@ -1886,7 +1886,7 @@ type CreateAgentData = {
|
|
|
1886
1886
|
body: CreateAgentRequest;
|
|
1887
1887
|
path?: never;
|
|
1888
1888
|
query?: never;
|
|
1889
|
-
url: '/agents';
|
|
1889
|
+
url: '/api/v1/agents';
|
|
1890
1890
|
};
|
|
1891
1891
|
type CreateAgentErrors = {
|
|
1892
1892
|
/**
|
|
@@ -1920,7 +1920,7 @@ type DeleteAgentData = {
|
|
|
1920
1920
|
agent_id: string;
|
|
1921
1921
|
};
|
|
1922
1922
|
query?: never;
|
|
1923
|
-
url: '/agents/{agent_id}';
|
|
1923
|
+
url: '/api/v1/agents/{agent_id}';
|
|
1924
1924
|
};
|
|
1925
1925
|
type DeleteAgentErrors = {
|
|
1926
1926
|
/**
|
|
@@ -1950,7 +1950,7 @@ type GetAgentData = {
|
|
|
1950
1950
|
agent_id: string;
|
|
1951
1951
|
};
|
|
1952
1952
|
query?: never;
|
|
1953
|
-
url: '/agents/{agent_id}';
|
|
1953
|
+
url: '/api/v1/agents/{agent_id}';
|
|
1954
1954
|
};
|
|
1955
1955
|
type GetAgentErrors = {
|
|
1956
1956
|
/**
|
|
@@ -1980,7 +1980,7 @@ type UpdateAgentData = {
|
|
|
1980
1980
|
agent_id: string;
|
|
1981
1981
|
};
|
|
1982
1982
|
query?: never;
|
|
1983
|
-
url: '/agents/{agent_id}';
|
|
1983
|
+
url: '/api/v1/agents/{agent_id}';
|
|
1984
1984
|
};
|
|
1985
1985
|
type UpdateAgentErrors = {
|
|
1986
1986
|
/**
|
|
@@ -2010,7 +2010,7 @@ type CreateAgentGenerationData = {
|
|
|
2010
2010
|
agent_id: string;
|
|
2011
2011
|
};
|
|
2012
2012
|
query?: never;
|
|
2013
|
-
url: '/agents/{agent_id}/generate';
|
|
2013
|
+
url: '/api/v1/agents/{agent_id}/generate';
|
|
2014
2014
|
};
|
|
2015
2015
|
type CreateAgentGenerationErrors = {
|
|
2016
2016
|
/**
|
|
@@ -2045,7 +2045,7 @@ type SubmitAgentToolOutputsData = {
|
|
|
2045
2045
|
generation_id: string;
|
|
2046
2046
|
};
|
|
2047
2047
|
query?: never;
|
|
2048
|
-
url: '/agents/{agent_id}/generate/{generation_id}/tool-outputs';
|
|
2048
|
+
url: '/api/v1/agents/{agent_id}/generate/{generation_id}/tool-outputs';
|
|
2049
2049
|
};
|
|
2050
2050
|
type SubmitAgentToolOutputsErrors = {
|
|
2051
2051
|
/**
|
|
@@ -2095,7 +2095,7 @@ type CreateAgentActorData = {
|
|
|
2095
2095
|
agent_id: string;
|
|
2096
2096
|
};
|
|
2097
2097
|
query?: never;
|
|
2098
|
-
url: '/agents/{agent_id}/actors';
|
|
2098
|
+
url: '/api/v1/agents/{agent_id}/actors';
|
|
2099
2099
|
};
|
|
2100
2100
|
type CreateAgentActorErrors = {
|
|
2101
2101
|
/**
|
|
@@ -2143,7 +2143,7 @@ type ListAiProvidersData = {
|
|
|
2143
2143
|
*/
|
|
2144
2144
|
offset?: number;
|
|
2145
2145
|
};
|
|
2146
|
-
url: '/ai-providers';
|
|
2146
|
+
url: '/api/v1/ai-providers';
|
|
2147
2147
|
};
|
|
2148
2148
|
type ListAiProvidersErrors = {
|
|
2149
2149
|
/**
|
|
@@ -2208,7 +2208,7 @@ type CreateAiProviderData = {
|
|
|
2208
2208
|
};
|
|
2209
2209
|
path?: never;
|
|
2210
2210
|
query?: never;
|
|
2211
|
-
url: '/ai-providers';
|
|
2211
|
+
url: '/api/v1/ai-providers';
|
|
2212
2212
|
};
|
|
2213
2213
|
type CreateAiProviderErrors = {
|
|
2214
2214
|
/**
|
|
@@ -2251,7 +2251,7 @@ type DeleteAiProviderData = {
|
|
|
2251
2251
|
ai_provider_id: string;
|
|
2252
2252
|
};
|
|
2253
2253
|
query?: never;
|
|
2254
|
-
url: '/ai-providers/{ai_provider_id}';
|
|
2254
|
+
url: '/api/v1/ai-providers/{ai_provider_id}';
|
|
2255
2255
|
};
|
|
2256
2256
|
type DeleteAiProviderErrors = {
|
|
2257
2257
|
/**
|
|
@@ -2282,7 +2282,7 @@ type GetAiProviderData = {
|
|
|
2282
2282
|
ai_provider_id: string;
|
|
2283
2283
|
};
|
|
2284
2284
|
query?: never;
|
|
2285
|
-
url: '/ai-providers/{ai_provider_id}';
|
|
2285
|
+
url: '/api/v1/ai-providers/{ai_provider_id}';
|
|
2286
2286
|
};
|
|
2287
2287
|
type GetAiProviderErrors = {
|
|
2288
2288
|
/**
|
|
@@ -2334,7 +2334,7 @@ type UpdateAiProviderData = {
|
|
|
2334
2334
|
ai_provider_id: string;
|
|
2335
2335
|
};
|
|
2336
2336
|
query?: never;
|
|
2337
|
-
url: '/ai-providers/{ai_provider_id}';
|
|
2337
|
+
url: '/api/v1/ai-providers/{ai_provider_id}';
|
|
2338
2338
|
};
|
|
2339
2339
|
type UpdateAiProviderErrors = {
|
|
2340
2340
|
/**
|
|
@@ -2360,6 +2360,25 @@ type UpdateAiProviderResponses = {
|
|
|
2360
2360
|
*/
|
|
2361
2361
|
200: unknown;
|
|
2362
2362
|
};
|
|
2363
|
+
type ListApiKeysData = {
|
|
2364
|
+
body?: never;
|
|
2365
|
+
path?: never;
|
|
2366
|
+
query?: never;
|
|
2367
|
+
url: '/api/v1/api-keys';
|
|
2368
|
+
};
|
|
2369
|
+
type ListApiKeysErrors = {
|
|
2370
|
+
/**
|
|
2371
|
+
* Unauthorized
|
|
2372
|
+
*/
|
|
2373
|
+
401: unknown;
|
|
2374
|
+
};
|
|
2375
|
+
type ListApiKeysResponses = {
|
|
2376
|
+
/**
|
|
2377
|
+
* List of API keys
|
|
2378
|
+
*/
|
|
2379
|
+
200: Array<ApiKeyRecord>;
|
|
2380
|
+
};
|
|
2381
|
+
type ListApiKeysResponse = ListApiKeysResponses[keyof ListApiKeysResponses];
|
|
2363
2382
|
type CreateApiKeyData = {
|
|
2364
2383
|
body: {
|
|
2365
2384
|
/**
|
|
@@ -2377,7 +2396,7 @@ type CreateApiKeyData = {
|
|
|
2377
2396
|
};
|
|
2378
2397
|
path?: never;
|
|
2379
2398
|
query?: never;
|
|
2380
|
-
url: '/api-keys';
|
|
2399
|
+
url: '/api/v1/api-keys';
|
|
2381
2400
|
};
|
|
2382
2401
|
type CreateApiKeyErrors = {
|
|
2383
2402
|
/**
|
|
@@ -2406,7 +2425,7 @@ type DeleteApiKeyData = {
|
|
|
2406
2425
|
api_key_id: string;
|
|
2407
2426
|
};
|
|
2408
2427
|
query?: never;
|
|
2409
|
-
url: '/api-keys/{api_key_id}';
|
|
2428
|
+
url: '/api/v1/api-keys/{api_key_id}';
|
|
2410
2429
|
};
|
|
2411
2430
|
type DeleteApiKeyErrors = {
|
|
2412
2431
|
/**
|
|
@@ -2438,7 +2457,7 @@ type GetApiKeyData = {
|
|
|
2438
2457
|
api_key_id: string;
|
|
2439
2458
|
};
|
|
2440
2459
|
query?: never;
|
|
2441
|
-
url: '/api-keys/{api_key_id}';
|
|
2460
|
+
url: '/api/v1/api-keys/{api_key_id}';
|
|
2442
2461
|
};
|
|
2443
2462
|
type GetApiKeyErrors = {
|
|
2444
2463
|
/**
|
|
@@ -2480,7 +2499,7 @@ type UpdateApiKeyData = {
|
|
|
2480
2499
|
api_key_id: string;
|
|
2481
2500
|
};
|
|
2482
2501
|
query?: never;
|
|
2483
|
-
url: '/api-keys/{api_key_id}';
|
|
2502
|
+
url: '/api/v1/api-keys/{api_key_id}';
|
|
2484
2503
|
};
|
|
2485
2504
|
type UpdateApiKeyErrors = {
|
|
2486
2505
|
/**
|
|
@@ -2517,7 +2536,7 @@ type ListChatsData = {
|
|
|
2517
2536
|
*/
|
|
2518
2537
|
project_id?: string;
|
|
2519
2538
|
};
|
|
2520
|
-
url: '/chats';
|
|
2539
|
+
url: '/api/v1/chats';
|
|
2521
2540
|
};
|
|
2522
2541
|
type ListChatsErrors = {
|
|
2523
2542
|
/**
|
|
@@ -2541,7 +2560,7 @@ type CreateChatData = {
|
|
|
2541
2560
|
body: CreateChatRequest;
|
|
2542
2561
|
path?: never;
|
|
2543
2562
|
query?: never;
|
|
2544
|
-
url: '/chats';
|
|
2563
|
+
url: '/api/v1/chats';
|
|
2545
2564
|
};
|
|
2546
2565
|
type CreateChatErrors = {
|
|
2547
2566
|
/**
|
|
@@ -2575,7 +2594,7 @@ type DeleteChatData = {
|
|
|
2575
2594
|
chat_id: string;
|
|
2576
2595
|
};
|
|
2577
2596
|
query?: never;
|
|
2578
|
-
url: '/chats/{chat_id}';
|
|
2597
|
+
url: '/api/v1/chats/{chat_id}';
|
|
2579
2598
|
};
|
|
2580
2599
|
type DeleteChatErrors = {
|
|
2581
2600
|
/**
|
|
@@ -2601,7 +2620,7 @@ type GetChatData = {
|
|
|
2601
2620
|
chat_id: string;
|
|
2602
2621
|
};
|
|
2603
2622
|
query?: never;
|
|
2604
|
-
url: '/chats/{chat_id}';
|
|
2623
|
+
url: '/api/v1/chats/{chat_id}';
|
|
2605
2624
|
};
|
|
2606
2625
|
type GetChatErrors = {
|
|
2607
2626
|
/**
|
|
@@ -2627,7 +2646,7 @@ type CreateChatCompletionForChatData = {
|
|
|
2627
2646
|
chat_id: string;
|
|
2628
2647
|
};
|
|
2629
2648
|
query?: never;
|
|
2630
|
-
url: '/chats/{chat_id}/completions';
|
|
2649
|
+
url: '/api/v1/chats/{chat_id}/completions';
|
|
2631
2650
|
};
|
|
2632
2651
|
type CreateChatCompletionForChatErrors = {
|
|
2633
2652
|
/**
|
|
@@ -2655,7 +2674,7 @@ type CreateChatCompletionData = {
|
|
|
2655
2674
|
body: ChatCompletionRequest;
|
|
2656
2675
|
path?: never;
|
|
2657
2676
|
query?: never;
|
|
2658
|
-
url: '/chats/completions';
|
|
2677
|
+
url: '/api/v1/chats/completions';
|
|
2659
2678
|
};
|
|
2660
2679
|
type CreateChatCompletionErrors = {
|
|
2661
2680
|
/**
|
|
@@ -2701,7 +2720,7 @@ type CreateChatActorData = {
|
|
|
2701
2720
|
chat_id: string;
|
|
2702
2721
|
};
|
|
2703
2722
|
query?: never;
|
|
2704
|
-
url: '/chats/{chat_id}/actors';
|
|
2723
|
+
url: '/api/v1/chats/{chat_id}/actors';
|
|
2705
2724
|
};
|
|
2706
2725
|
type CreateChatActorErrors = {
|
|
2707
2726
|
/**
|
|
@@ -2753,7 +2772,7 @@ type ListConversationsData = {
|
|
|
2753
2772
|
*/
|
|
2754
2773
|
offset?: number;
|
|
2755
2774
|
};
|
|
2756
|
-
url: '/conversations';
|
|
2775
|
+
url: '/api/v1/conversations';
|
|
2757
2776
|
};
|
|
2758
2777
|
type ListConversationsErrors = {
|
|
2759
2778
|
/**
|
|
@@ -2799,7 +2818,7 @@ type CreateConversationData = {
|
|
|
2799
2818
|
};
|
|
2800
2819
|
path?: never;
|
|
2801
2820
|
query?: never;
|
|
2802
|
-
url: '/conversations';
|
|
2821
|
+
url: '/api/v1/conversations';
|
|
2803
2822
|
};
|
|
2804
2823
|
type CreateConversationErrors = {
|
|
2805
2824
|
/**
|
|
@@ -2832,7 +2851,7 @@ type DeleteConversationData = {
|
|
|
2832
2851
|
conversation_id: string;
|
|
2833
2852
|
};
|
|
2834
2853
|
query?: never;
|
|
2835
|
-
url: '/conversations/{conversation_id}';
|
|
2854
|
+
url: '/api/v1/conversations/{conversation_id}';
|
|
2836
2855
|
};
|
|
2837
2856
|
type DeleteConversationErrors = {
|
|
2838
2857
|
/**
|
|
@@ -2865,7 +2884,7 @@ type GetConversationData = {
|
|
|
2865
2884
|
conversation_id: string;
|
|
2866
2885
|
};
|
|
2867
2886
|
query?: never;
|
|
2868
|
-
url: '/conversations/{conversation_id}';
|
|
2887
|
+
url: '/api/v1/conversations/{conversation_id}';
|
|
2869
2888
|
};
|
|
2870
2889
|
type GetConversationErrors = {
|
|
2871
2890
|
/**
|
|
@@ -2903,7 +2922,7 @@ type UpdateConversationData = {
|
|
|
2903
2922
|
conversation_id: string;
|
|
2904
2923
|
};
|
|
2905
2924
|
query?: never;
|
|
2906
|
-
url: '/conversations/{conversation_id}';
|
|
2925
|
+
url: '/api/v1/conversations/{conversation_id}';
|
|
2907
2926
|
};
|
|
2908
2927
|
type UpdateConversationErrors = {
|
|
2909
2928
|
/**
|
|
@@ -2949,7 +2968,7 @@ type ListConversationMessagesData = {
|
|
|
2949
2968
|
*/
|
|
2950
2969
|
offset?: number;
|
|
2951
2970
|
};
|
|
2952
|
-
url: '/conversations/{conversation_id}/messages';
|
|
2971
|
+
url: '/api/v1/conversations/{conversation_id}/messages';
|
|
2953
2972
|
};
|
|
2954
2973
|
type ListConversationMessagesErrors = {
|
|
2955
2974
|
/**
|
|
@@ -3006,7 +3025,7 @@ type AddConversationMessageData = {
|
|
|
3006
3025
|
conversation_id: string;
|
|
3007
3026
|
};
|
|
3008
3027
|
query?: never;
|
|
3009
|
-
url: '/conversations/{conversation_id}/messages';
|
|
3028
|
+
url: '/api/v1/conversations/{conversation_id}/messages';
|
|
3010
3029
|
};
|
|
3011
3030
|
type AddConversationMessageErrors = {
|
|
3012
3031
|
/**
|
|
@@ -3059,7 +3078,7 @@ type GenerateConversationMessageData = {
|
|
|
3059
3078
|
conversation_id: string;
|
|
3060
3079
|
};
|
|
3061
3080
|
query?: never;
|
|
3062
|
-
url: '/conversations/{conversation_id}/generate';
|
|
3081
|
+
url: '/api/v1/conversations/{conversation_id}/generate';
|
|
3063
3082
|
};
|
|
3064
3083
|
type GenerateConversationMessageErrors = {
|
|
3065
3084
|
/**
|
|
@@ -3100,7 +3119,7 @@ type ListConversationActorsData = {
|
|
|
3100
3119
|
conversation_id: string;
|
|
3101
3120
|
};
|
|
3102
3121
|
query?: never;
|
|
3103
|
-
url: '/conversations/{conversation_id}/actors';
|
|
3122
|
+
url: '/api/v1/conversations/{conversation_id}/actors';
|
|
3104
3123
|
};
|
|
3105
3124
|
type ListConversationActorsErrors = {
|
|
3106
3125
|
/**
|
|
@@ -3137,7 +3156,7 @@ type RemoveConversationMessageData = {
|
|
|
3137
3156
|
document_id: string;
|
|
3138
3157
|
};
|
|
3139
3158
|
query?: never;
|
|
3140
|
-
url: '/conversations/{conversation_id}/messages/{document_id}';
|
|
3159
|
+
url: '/api/v1/conversations/{conversation_id}/messages/{document_id}';
|
|
3141
3160
|
};
|
|
3142
3161
|
type RemoveConversationMessageErrors = {
|
|
3143
3162
|
/**
|
|
@@ -3170,7 +3189,7 @@ type GetConversationTagsData = {
|
|
|
3170
3189
|
conversation_id: string;
|
|
3171
3190
|
};
|
|
3172
3191
|
query?: never;
|
|
3173
|
-
url: '/conversations/{conversation_id}/tags';
|
|
3192
|
+
url: '/api/v1/conversations/{conversation_id}/tags';
|
|
3174
3193
|
};
|
|
3175
3194
|
type GetConversationTagsErrors = {
|
|
3176
3195
|
/**
|
|
@@ -3207,7 +3226,7 @@ type MergeConversationTagsData = {
|
|
|
3207
3226
|
conversation_id: string;
|
|
3208
3227
|
};
|
|
3209
3228
|
query?: never;
|
|
3210
|
-
url: '/conversations/{conversation_id}/tags';
|
|
3229
|
+
url: '/api/v1/conversations/{conversation_id}/tags';
|
|
3211
3230
|
};
|
|
3212
3231
|
type MergeConversationTagsErrors = {
|
|
3213
3232
|
/**
|
|
@@ -3244,7 +3263,7 @@ type ReplaceConversationTagsData = {
|
|
|
3244
3263
|
conversation_id: string;
|
|
3245
3264
|
};
|
|
3246
3265
|
query?: never;
|
|
3247
|
-
url: '/conversations/{conversation_id}/tags';
|
|
3266
|
+
url: '/api/v1/conversations/{conversation_id}/tags';
|
|
3248
3267
|
};
|
|
3249
3268
|
type ReplaceConversationTagsErrors = {
|
|
3250
3269
|
/**
|
|
@@ -3279,7 +3298,7 @@ type ListDocumentsData = {
|
|
|
3279
3298
|
*/
|
|
3280
3299
|
project_id?: string;
|
|
3281
3300
|
};
|
|
3282
|
-
url: '/documents';
|
|
3301
|
+
url: '/api/v1/documents';
|
|
3283
3302
|
};
|
|
3284
3303
|
type ListDocumentsErrors = {
|
|
3285
3304
|
/**
|
|
@@ -3314,7 +3333,7 @@ type CreateDocumentData = {
|
|
|
3314
3333
|
};
|
|
3315
3334
|
path?: never;
|
|
3316
3335
|
query?: never;
|
|
3317
|
-
url: '/documents';
|
|
3336
|
+
url: '/api/v1/documents';
|
|
3318
3337
|
};
|
|
3319
3338
|
type CreateDocumentErrors = {
|
|
3320
3339
|
/**
|
|
@@ -3347,7 +3366,7 @@ type DeleteDocumentData = {
|
|
|
3347
3366
|
document_id: string;
|
|
3348
3367
|
};
|
|
3349
3368
|
query?: never;
|
|
3350
|
-
url: '/documents/{document_id}';
|
|
3369
|
+
url: '/api/v1/documents/{document_id}';
|
|
3351
3370
|
};
|
|
3352
3371
|
type DeleteDocumentErrors = {
|
|
3353
3372
|
/**
|
|
@@ -3380,7 +3399,7 @@ type GetDocumentData = {
|
|
|
3380
3399
|
document_id: string;
|
|
3381
3400
|
};
|
|
3382
3401
|
query?: never;
|
|
3383
|
-
url: '/documents/{document_id}';
|
|
3402
|
+
url: '/api/v1/documents/{document_id}';
|
|
3384
3403
|
};
|
|
3385
3404
|
type GetDocumentErrors = {
|
|
3386
3405
|
/**
|
|
@@ -3438,7 +3457,7 @@ type UpdateDocumentData = {
|
|
|
3438
3457
|
document_id: string;
|
|
3439
3458
|
};
|
|
3440
3459
|
query?: never;
|
|
3441
|
-
url: '/documents/{document_id}';
|
|
3460
|
+
url: '/api/v1/documents/{document_id}';
|
|
3442
3461
|
};
|
|
3443
3462
|
type UpdateDocumentErrors = {
|
|
3444
3463
|
/**
|
|
@@ -3471,7 +3490,7 @@ type GetDocumentTagsData = {
|
|
|
3471
3490
|
document_id: string;
|
|
3472
3491
|
};
|
|
3473
3492
|
query?: never;
|
|
3474
|
-
url: '/documents/{document_id}/tags';
|
|
3493
|
+
url: '/api/v1/documents/{document_id}/tags';
|
|
3475
3494
|
};
|
|
3476
3495
|
type GetDocumentTagsErrors = {
|
|
3477
3496
|
/**
|
|
@@ -3508,7 +3527,7 @@ type MergeDocumentTagsData = {
|
|
|
3508
3527
|
document_id: string;
|
|
3509
3528
|
};
|
|
3510
3529
|
query?: never;
|
|
3511
|
-
url: '/documents/{document_id}/tags';
|
|
3530
|
+
url: '/api/v1/documents/{document_id}/tags';
|
|
3512
3531
|
};
|
|
3513
3532
|
type MergeDocumentTagsErrors = {
|
|
3514
3533
|
/**
|
|
@@ -3545,7 +3564,7 @@ type ReplaceDocumentTagsData = {
|
|
|
3545
3564
|
document_id: string;
|
|
3546
3565
|
};
|
|
3547
3566
|
query?: never;
|
|
3548
|
-
url: '/documents/{document_id}/tags';
|
|
3567
|
+
url: '/api/v1/documents/{document_id}/tags';
|
|
3549
3568
|
};
|
|
3550
3569
|
type ReplaceDocumentTagsErrors = {
|
|
3551
3570
|
/**
|
|
@@ -3600,7 +3619,7 @@ type SearchDocumentsData = {
|
|
|
3600
3619
|
};
|
|
3601
3620
|
path?: never;
|
|
3602
3621
|
query?: never;
|
|
3603
|
-
url: '/documents/search';
|
|
3622
|
+
url: '/api/v1/documents/search';
|
|
3604
3623
|
};
|
|
3605
3624
|
type SearchDocumentsErrors = {
|
|
3606
3625
|
/**
|
|
@@ -3643,7 +3662,7 @@ type ListFilesData = {
|
|
|
3643
3662
|
*/
|
|
3644
3663
|
offset?: number;
|
|
3645
3664
|
};
|
|
3646
|
-
url: '/files';
|
|
3665
|
+
url: '/api/v1/files';
|
|
3647
3666
|
};
|
|
3648
3667
|
type ListFilesErrors = {
|
|
3649
3668
|
/**
|
|
@@ -3701,7 +3720,7 @@ type CreateFileData = {
|
|
|
3701
3720
|
};
|
|
3702
3721
|
path?: never;
|
|
3703
3722
|
query?: never;
|
|
3704
|
-
url: '/files';
|
|
3723
|
+
url: '/api/v1/files';
|
|
3705
3724
|
};
|
|
3706
3725
|
type CreateFileErrors = {
|
|
3707
3726
|
/**
|
|
@@ -3734,7 +3753,7 @@ type UploadFileData = {
|
|
|
3734
3753
|
};
|
|
3735
3754
|
path?: never;
|
|
3736
3755
|
query?: never;
|
|
3737
|
-
url: '/files/upload';
|
|
3756
|
+
url: '/api/v1/files/upload';
|
|
3738
3757
|
};
|
|
3739
3758
|
type UploadFileErrors = {
|
|
3740
3759
|
/**
|
|
@@ -3762,7 +3781,7 @@ type UploadFileBase64Data = {
|
|
|
3762
3781
|
body: UploadFileBase64Request;
|
|
3763
3782
|
path?: never;
|
|
3764
3783
|
query?: never;
|
|
3765
|
-
url: '/files/upload/base64';
|
|
3784
|
+
url: '/api/v1/files/upload/base64';
|
|
3766
3785
|
};
|
|
3767
3786
|
type UploadFileBase64Errors = {
|
|
3768
3787
|
/**
|
|
@@ -3795,7 +3814,7 @@ type DeleteFileData = {
|
|
|
3795
3814
|
file_id: string;
|
|
3796
3815
|
};
|
|
3797
3816
|
query?: never;
|
|
3798
|
-
url: '/files/{file_id}';
|
|
3817
|
+
url: '/api/v1/files/{file_id}';
|
|
3799
3818
|
};
|
|
3800
3819
|
type DeleteFileErrors = {
|
|
3801
3820
|
/**
|
|
@@ -3824,7 +3843,7 @@ type GetFileData = {
|
|
|
3824
3843
|
file_id: string;
|
|
3825
3844
|
};
|
|
3826
3845
|
query?: never;
|
|
3827
|
-
url: '/files/{file_id}';
|
|
3846
|
+
url: '/api/v1/files/{file_id}';
|
|
3828
3847
|
};
|
|
3829
3848
|
type GetFileErrors = {
|
|
3830
3849
|
/**
|
|
@@ -3853,7 +3872,7 @@ type DownloadFileData = {
|
|
|
3853
3872
|
file_id: string;
|
|
3854
3873
|
};
|
|
3855
3874
|
query?: never;
|
|
3856
|
-
url: '/files/{file_id}/download';
|
|
3875
|
+
url: '/api/v1/files/{file_id}/download';
|
|
3857
3876
|
};
|
|
3858
3877
|
type DownloadFileErrors = {
|
|
3859
3878
|
/**
|
|
@@ -3895,7 +3914,7 @@ type UpdateFileMetadataData = {
|
|
|
3895
3914
|
file_id: string;
|
|
3896
3915
|
};
|
|
3897
3916
|
query?: never;
|
|
3898
|
-
url: '/files/{file_id}/metadata';
|
|
3917
|
+
url: '/api/v1/files/{file_id}/metadata';
|
|
3899
3918
|
};
|
|
3900
3919
|
type UpdateFileMetadataErrors = {
|
|
3901
3920
|
/**
|
|
@@ -3928,7 +3947,7 @@ type DownloadFileBase64Data = {
|
|
|
3928
3947
|
file_id: string;
|
|
3929
3948
|
};
|
|
3930
3949
|
query?: never;
|
|
3931
|
-
url: '/files/{file_id}/download/base64';
|
|
3950
|
+
url: '/api/v1/files/{file_id}/download/base64';
|
|
3932
3951
|
};
|
|
3933
3952
|
type DownloadFileBase64Errors = {
|
|
3934
3953
|
/**
|
|
@@ -3978,7 +3997,7 @@ type GetFileTagsData = {
|
|
|
3978
3997
|
file_id: string;
|
|
3979
3998
|
};
|
|
3980
3999
|
query?: never;
|
|
3981
|
-
url: '/files/{file_id}/tags';
|
|
4000
|
+
url: '/api/v1/files/{file_id}/tags';
|
|
3982
4001
|
};
|
|
3983
4002
|
type GetFileTagsErrors = {
|
|
3984
4003
|
/**
|
|
@@ -4015,7 +4034,7 @@ type MergeFileTagsData = {
|
|
|
4015
4034
|
file_id: string;
|
|
4016
4035
|
};
|
|
4017
4036
|
query?: never;
|
|
4018
|
-
url: '/files/{file_id}/tags';
|
|
4037
|
+
url: '/api/v1/files/{file_id}/tags';
|
|
4019
4038
|
};
|
|
4020
4039
|
type MergeFileTagsErrors = {
|
|
4021
4040
|
/**
|
|
@@ -4052,7 +4071,7 @@ type ReplaceFileTagsData = {
|
|
|
4052
4071
|
file_id: string;
|
|
4053
4072
|
};
|
|
4054
4073
|
query?: never;
|
|
4055
|
-
url: '/files/{file_id}/tags';
|
|
4074
|
+
url: '/api/v1/files/{file_id}/tags';
|
|
4056
4075
|
};
|
|
4057
4076
|
type ReplaceFileTagsErrors = {
|
|
4058
4077
|
/**
|
|
@@ -4082,7 +4101,7 @@ type ListPoliciesData = {
|
|
|
4082
4101
|
body?: never;
|
|
4083
4102
|
path?: never;
|
|
4084
4103
|
query?: never;
|
|
4085
|
-
url: '/policies';
|
|
4104
|
+
url: '/api/v1/policies';
|
|
4086
4105
|
};
|
|
4087
4106
|
type ListPoliciesErrors = {
|
|
4088
4107
|
/**
|
|
@@ -4109,7 +4128,7 @@ type CreatePolicyData = {
|
|
|
4109
4128
|
};
|
|
4110
4129
|
path?: never;
|
|
4111
4130
|
query?: never;
|
|
4112
|
-
url: '/policies';
|
|
4131
|
+
url: '/api/v1/policies';
|
|
4113
4132
|
};
|
|
4114
4133
|
type CreatePolicyErrors = {
|
|
4115
4134
|
/**
|
|
@@ -4142,7 +4161,7 @@ type DeletePolicyData = {
|
|
|
4142
4161
|
policy_id: string;
|
|
4143
4162
|
};
|
|
4144
4163
|
query?: never;
|
|
4145
|
-
url: '/policies/{policy_id}';
|
|
4164
|
+
url: '/api/v1/policies/{policy_id}';
|
|
4146
4165
|
};
|
|
4147
4166
|
type DeletePolicyErrors = {
|
|
4148
4167
|
/**
|
|
@@ -4174,7 +4193,7 @@ type GetPolicyData = {
|
|
|
4174
4193
|
policy_id: string;
|
|
4175
4194
|
};
|
|
4176
4195
|
query?: never;
|
|
4177
|
-
url: '/policies/{policy_id}';
|
|
4196
|
+
url: '/api/v1/policies/{policy_id}';
|
|
4178
4197
|
};
|
|
4179
4198
|
type GetPolicyErrors = {
|
|
4180
4199
|
/**
|
|
@@ -4210,7 +4229,7 @@ type UpdatePolicyData = {
|
|
|
4210
4229
|
policy_id: string;
|
|
4211
4230
|
};
|
|
4212
4231
|
query?: never;
|
|
4213
|
-
url: '/policies/{policy_id}';
|
|
4232
|
+
url: '/api/v1/policies/{policy_id}';
|
|
4214
4233
|
};
|
|
4215
4234
|
type UpdatePolicyErrors = {
|
|
4216
4235
|
/**
|
|
@@ -4244,7 +4263,7 @@ type CreateProjectData = {
|
|
|
4244
4263
|
};
|
|
4245
4264
|
path?: never;
|
|
4246
4265
|
query?: never;
|
|
4247
|
-
url: '/projects';
|
|
4266
|
+
url: '/api/v1/projects';
|
|
4248
4267
|
};
|
|
4249
4268
|
type CreateProjectErrors = {
|
|
4250
4269
|
/**
|
|
@@ -4280,7 +4299,7 @@ type DeleteProjectData = {
|
|
|
4280
4299
|
project_id: string;
|
|
4281
4300
|
};
|
|
4282
4301
|
query?: never;
|
|
4283
|
-
url: '/projects/{project_id}';
|
|
4302
|
+
url: '/api/v1/projects/{project_id}';
|
|
4284
4303
|
};
|
|
4285
4304
|
type DeleteProjectErrors = {
|
|
4286
4305
|
/**
|
|
@@ -4312,7 +4331,7 @@ type GetProjectData = {
|
|
|
4312
4331
|
project_id: string;
|
|
4313
4332
|
};
|
|
4314
4333
|
query?: never;
|
|
4315
|
-
url: '/projects/{project_id}';
|
|
4334
|
+
url: '/api/v1/projects/{project_id}';
|
|
4316
4335
|
};
|
|
4317
4336
|
type GetProjectErrors = {
|
|
4318
4337
|
/**
|
|
@@ -4352,7 +4371,7 @@ type ListSecretsData = {
|
|
|
4352
4371
|
*/
|
|
4353
4372
|
offset?: number;
|
|
4354
4373
|
};
|
|
4355
|
-
url: '/secrets';
|
|
4374
|
+
url: '/api/v1/secrets';
|
|
4356
4375
|
};
|
|
4357
4376
|
type ListSecretsErrors = {
|
|
4358
4377
|
/**
|
|
@@ -4397,7 +4416,7 @@ type CreateSecretData = {
|
|
|
4397
4416
|
};
|
|
4398
4417
|
path?: never;
|
|
4399
4418
|
query?: never;
|
|
4400
|
-
url: '/secrets';
|
|
4419
|
+
url: '/api/v1/secrets';
|
|
4401
4420
|
};
|
|
4402
4421
|
type CreateSecretErrors = {
|
|
4403
4422
|
/**
|
|
@@ -4438,7 +4457,7 @@ type DeleteSecretData = {
|
|
|
4438
4457
|
secret_id: string;
|
|
4439
4458
|
};
|
|
4440
4459
|
query?: never;
|
|
4441
|
-
url: '/secrets/{secret_id}';
|
|
4460
|
+
url: '/api/v1/secrets/{secret_id}';
|
|
4442
4461
|
};
|
|
4443
4462
|
type DeleteSecretErrors = {
|
|
4444
4463
|
/**
|
|
@@ -4469,7 +4488,7 @@ type GetSecretData = {
|
|
|
4469
4488
|
secret_id: string;
|
|
4470
4489
|
};
|
|
4471
4490
|
query?: never;
|
|
4472
|
-
url: '/secrets/{secret_id}';
|
|
4491
|
+
url: '/api/v1/secrets/{secret_id}';
|
|
4473
4492
|
};
|
|
4474
4493
|
type GetSecretErrors = {
|
|
4475
4494
|
/**
|
|
@@ -4519,7 +4538,7 @@ type UpdateSecretData = {
|
|
|
4519
4538
|
secret_id: string;
|
|
4520
4539
|
};
|
|
4521
4540
|
query?: never;
|
|
4522
|
-
url: '/secrets/{secret_id}';
|
|
4541
|
+
url: '/api/v1/secrets/{secret_id}';
|
|
4523
4542
|
};
|
|
4524
4543
|
type UpdateSecretErrors = {
|
|
4525
4544
|
/**
|
|
@@ -4565,7 +4584,7 @@ type ListAgentSessionsData = {
|
|
|
4565
4584
|
limit?: number;
|
|
4566
4585
|
offset?: number;
|
|
4567
4586
|
};
|
|
4568
|
-
url: '/agents/{agent_id}/sessions';
|
|
4587
|
+
url: '/api/v1/agents/{agent_id}/sessions';
|
|
4569
4588
|
};
|
|
4570
4589
|
type ListAgentSessionsErrors = {
|
|
4571
4590
|
/**
|
|
@@ -4603,7 +4622,7 @@ type CreateAgentSessionData = {
|
|
|
4603
4622
|
agent_id: string;
|
|
4604
4623
|
};
|
|
4605
4624
|
query?: never;
|
|
4606
|
-
url: '/agents/{agent_id}/sessions';
|
|
4625
|
+
url: '/api/v1/agents/{agent_id}/sessions';
|
|
4607
4626
|
};
|
|
4608
4627
|
type CreateAgentSessionErrors = {
|
|
4609
4628
|
/**
|
|
@@ -4640,7 +4659,7 @@ type DeleteAgentSessionData = {
|
|
|
4640
4659
|
session_id: string;
|
|
4641
4660
|
};
|
|
4642
4661
|
query?: never;
|
|
4643
|
-
url: '/agents/{agent_id}/sessions/{session_id}';
|
|
4662
|
+
url: '/api/v1/agents/{agent_id}/sessions/{session_id}';
|
|
4644
4663
|
};
|
|
4645
4664
|
type DeleteAgentSessionErrors = {
|
|
4646
4665
|
/**
|
|
@@ -4677,7 +4696,7 @@ type GetAgentSessionData = {
|
|
|
4677
4696
|
session_id: string;
|
|
4678
4697
|
};
|
|
4679
4698
|
query?: never;
|
|
4680
|
-
url: '/agents/{agent_id}/sessions/{session_id}';
|
|
4699
|
+
url: '/api/v1/agents/{agent_id}/sessions/{session_id}';
|
|
4681
4700
|
};
|
|
4682
4701
|
type GetAgentSessionErrors = {
|
|
4683
4702
|
/**
|
|
@@ -4714,7 +4733,7 @@ type UpdateSessionData = {
|
|
|
4714
4733
|
session_id: string;
|
|
4715
4734
|
};
|
|
4716
4735
|
query?: never;
|
|
4717
|
-
url: '/agents/{agent_id}/sessions/{session_id}';
|
|
4736
|
+
url: '/api/v1/agents/{agent_id}/sessions/{session_id}';
|
|
4718
4737
|
};
|
|
4719
4738
|
type UpdateSessionErrors = {
|
|
4720
4739
|
/**
|
|
@@ -4754,7 +4773,7 @@ type ListAgentSessionMessagesData = {
|
|
|
4754
4773
|
limit?: number;
|
|
4755
4774
|
offset?: number;
|
|
4756
4775
|
};
|
|
4757
|
-
url: '/agents/{agent_id}/sessions/{session_id}/messages';
|
|
4776
|
+
url: '/api/v1/agents/{agent_id}/sessions/{session_id}/messages';
|
|
4758
4777
|
};
|
|
4759
4778
|
type ListAgentSessionMessagesErrors = {
|
|
4760
4779
|
/**
|
|
@@ -4796,7 +4815,7 @@ type AddSessionMessageData = {
|
|
|
4796
4815
|
session_id: string;
|
|
4797
4816
|
};
|
|
4798
4817
|
query?: never;
|
|
4799
|
-
url: '/agents/{agent_id}/sessions/{session_id}/messages';
|
|
4818
|
+
url: '/api/v1/agents/{agent_id}/sessions/{session_id}/messages';
|
|
4800
4819
|
};
|
|
4801
4820
|
type AddSessionMessageErrors = {
|
|
4802
4821
|
/**
|
|
@@ -4838,7 +4857,7 @@ type GenerateSessionResponseData = {
|
|
|
4838
4857
|
*/
|
|
4839
4858
|
async?: boolean;
|
|
4840
4859
|
};
|
|
4841
|
-
url: '/agents/{agent_id}/sessions/{session_id}/generate';
|
|
4860
|
+
url: '/api/v1/agents/{agent_id}/sessions/{session_id}/generate';
|
|
4842
4861
|
};
|
|
4843
4862
|
type GenerateSessionResponseErrors = {
|
|
4844
4863
|
/**
|
|
@@ -4886,7 +4905,7 @@ type SubmitSessionToolOutputsData = {
|
|
|
4886
4905
|
session_id: string;
|
|
4887
4906
|
};
|
|
4888
4907
|
query?: never;
|
|
4889
|
-
url: '/agents/{agent_id}/sessions/{session_id}/tool-outputs';
|
|
4908
|
+
url: '/api/v1/agents/{agent_id}/sessions/{session_id}/tool-outputs';
|
|
4890
4909
|
};
|
|
4891
4910
|
type SubmitSessionToolOutputsErrors = {
|
|
4892
4911
|
/**
|
|
@@ -4923,7 +4942,7 @@ type GetSessionTagsData = {
|
|
|
4923
4942
|
session_id: string;
|
|
4924
4943
|
};
|
|
4925
4944
|
query?: never;
|
|
4926
|
-
url: '/agents/{agent_id}/sessions/{session_id}/tags';
|
|
4945
|
+
url: '/api/v1/agents/{agent_id}/sessions/{session_id}/tags';
|
|
4927
4946
|
};
|
|
4928
4947
|
type GetSessionTagsErrors = {
|
|
4929
4948
|
/**
|
|
@@ -4964,7 +4983,7 @@ type MergeSessionTagsData = {
|
|
|
4964
4983
|
session_id: string;
|
|
4965
4984
|
};
|
|
4966
4985
|
query?: never;
|
|
4967
|
-
url: '/agents/{agent_id}/sessions/{session_id}/tags';
|
|
4986
|
+
url: '/api/v1/agents/{agent_id}/sessions/{session_id}/tags';
|
|
4968
4987
|
};
|
|
4969
4988
|
type MergeSessionTagsErrors = {
|
|
4970
4989
|
/**
|
|
@@ -5005,7 +5024,7 @@ type ReplaceSessionTagsData = {
|
|
|
5005
5024
|
session_id: string;
|
|
5006
5025
|
};
|
|
5007
5026
|
query?: never;
|
|
5008
|
-
url: '/agents/{agent_id}/sessions/{session_id}/tags';
|
|
5027
|
+
url: '/api/v1/agents/{agent_id}/sessions/{session_id}/tags';
|
|
5009
5028
|
};
|
|
5010
5029
|
type ReplaceSessionTagsErrors = {
|
|
5011
5030
|
/**
|
|
@@ -5035,7 +5054,7 @@ type ListUsersData = {
|
|
|
5035
5054
|
body?: never;
|
|
5036
5055
|
path?: never;
|
|
5037
5056
|
query?: never;
|
|
5038
|
-
url: '/users';
|
|
5057
|
+
url: '/api/v1/users';
|
|
5039
5058
|
};
|
|
5040
5059
|
type ListUsersErrors = {
|
|
5041
5060
|
/**
|
|
@@ -5059,7 +5078,7 @@ type CreateUserData = {
|
|
|
5059
5078
|
};
|
|
5060
5079
|
path?: never;
|
|
5061
5080
|
query?: never;
|
|
5062
|
-
url: '/users';
|
|
5081
|
+
url: '/api/v1/users';
|
|
5063
5082
|
};
|
|
5064
5083
|
type CreateUserErrors = {
|
|
5065
5084
|
/**
|
|
@@ -5084,7 +5103,7 @@ type DeleteUserData = {
|
|
|
5084
5103
|
user_id: string;
|
|
5085
5104
|
};
|
|
5086
5105
|
query?: never;
|
|
5087
|
-
url: '/users/{user_id}';
|
|
5106
|
+
url: '/api/v1/users/{user_id}';
|
|
5088
5107
|
};
|
|
5089
5108
|
type DeleteUserErrors = {
|
|
5090
5109
|
/**
|
|
@@ -5113,7 +5132,7 @@ type GetUserData = {
|
|
|
5113
5132
|
user_id: string;
|
|
5114
5133
|
};
|
|
5115
5134
|
query?: never;
|
|
5116
|
-
url: '/users/{user_id}';
|
|
5135
|
+
url: '/api/v1/users/{user_id}';
|
|
5117
5136
|
};
|
|
5118
5137
|
type GetUserErrors = {
|
|
5119
5138
|
/**
|
|
@@ -5140,7 +5159,7 @@ type BootstrapUserData = {
|
|
|
5140
5159
|
};
|
|
5141
5160
|
path?: never;
|
|
5142
5161
|
query?: never;
|
|
5143
|
-
url: '/users/bootstrap';
|
|
5162
|
+
url: '/api/v1/users/bootstrap';
|
|
5144
5163
|
};
|
|
5145
5164
|
type BootstrapUserErrors = {
|
|
5146
5165
|
/**
|
|
@@ -5167,7 +5186,7 @@ type LoginUserData = {
|
|
|
5167
5186
|
};
|
|
5168
5187
|
path?: never;
|
|
5169
5188
|
query?: never;
|
|
5170
|
-
url: '/users/login';
|
|
5189
|
+
url: '/api/v1/users/login';
|
|
5171
5190
|
};
|
|
5172
5191
|
type LoginUserErrors = {
|
|
5173
5192
|
/**
|
|
@@ -5196,7 +5215,7 @@ type GetUserPoliciesData = {
|
|
|
5196
5215
|
user_id: string;
|
|
5197
5216
|
};
|
|
5198
5217
|
query?: never;
|
|
5199
|
-
url: '/users/{user_id}/policies';
|
|
5218
|
+
url: '/api/v1/users/{user_id}/policies';
|
|
5200
5219
|
};
|
|
5201
5220
|
type GetUserPoliciesErrors = {
|
|
5202
5221
|
/**
|
|
@@ -5237,7 +5256,7 @@ type AttachUserPoliciesData = {
|
|
|
5237
5256
|
user_id: string;
|
|
5238
5257
|
};
|
|
5239
5258
|
query?: never;
|
|
5240
|
-
url: '/users/{user_id}/policies';
|
|
5259
|
+
url: '/api/v1/users/{user_id}/policies';
|
|
5241
5260
|
};
|
|
5242
5261
|
type AttachUserPoliciesErrors = {
|
|
5243
5262
|
/**
|
|
@@ -5271,7 +5290,7 @@ type ListWebhooksData = {
|
|
|
5271
5290
|
project_id: string;
|
|
5272
5291
|
};
|
|
5273
5292
|
query?: never;
|
|
5274
|
-
url: '/projects/{project_id}/webhooks';
|
|
5293
|
+
url: '/api/v1/projects/{project_id}/webhooks';
|
|
5275
5294
|
};
|
|
5276
5295
|
type ListWebhooksErrors = {
|
|
5277
5296
|
/**
|
|
@@ -5296,7 +5315,7 @@ type CreateWebhookData = {
|
|
|
5296
5315
|
project_id: string;
|
|
5297
5316
|
};
|
|
5298
5317
|
query?: never;
|
|
5299
|
-
url: '/projects/{project_id}/webhooks';
|
|
5318
|
+
url: '/api/v1/projects/{project_id}/webhooks';
|
|
5300
5319
|
};
|
|
5301
5320
|
type CreateWebhookErrors = {
|
|
5302
5321
|
/**
|
|
@@ -5326,7 +5345,7 @@ type DeleteWebhookData = {
|
|
|
5326
5345
|
webhook_id: string;
|
|
5327
5346
|
};
|
|
5328
5347
|
query?: never;
|
|
5329
|
-
url: '/projects/{project_id}/webhooks/{webhook_id}';
|
|
5348
|
+
url: '/api/v1/projects/{project_id}/webhooks/{webhook_id}';
|
|
5330
5349
|
};
|
|
5331
5350
|
type DeleteWebhookErrors = {
|
|
5332
5351
|
/**
|
|
@@ -5356,7 +5375,7 @@ type GetWebhookData = {
|
|
|
5356
5375
|
webhook_id: string;
|
|
5357
5376
|
};
|
|
5358
5377
|
query?: never;
|
|
5359
|
-
url: '/projects/{project_id}/webhooks/{webhook_id}';
|
|
5378
|
+
url: '/api/v1/projects/{project_id}/webhooks/{webhook_id}';
|
|
5360
5379
|
};
|
|
5361
5380
|
type GetWebhookErrors = {
|
|
5362
5381
|
/**
|
|
@@ -5386,7 +5405,7 @@ type UpdateWebhookData = {
|
|
|
5386
5405
|
webhook_id: string;
|
|
5387
5406
|
};
|
|
5388
5407
|
query?: never;
|
|
5389
|
-
url: '/projects/{project_id}/webhooks/{webhook_id}';
|
|
5408
|
+
url: '/api/v1/projects/{project_id}/webhooks/{webhook_id}';
|
|
5390
5409
|
};
|
|
5391
5410
|
type UpdateWebhookErrors = {
|
|
5392
5411
|
/**
|
|
@@ -5423,7 +5442,7 @@ type ListWebhookDeliveriesData = {
|
|
|
5423
5442
|
limit?: number;
|
|
5424
5443
|
offset?: number;
|
|
5425
5444
|
};
|
|
5426
|
-
url: '/projects/{project_id}/webhooks/{webhook_id}/deliveries';
|
|
5445
|
+
url: '/api/v1/projects/{project_id}/webhooks/{webhook_id}/deliveries';
|
|
5427
5446
|
};
|
|
5428
5447
|
type ListWebhookDeliveriesErrors = {
|
|
5429
5448
|
/**
|
|
@@ -5454,7 +5473,7 @@ type GetWebhookDeliveryData = {
|
|
|
5454
5473
|
delivery_id: string;
|
|
5455
5474
|
};
|
|
5456
5475
|
query?: never;
|
|
5457
|
-
url: '/projects/{project_id}/webhooks/{webhook_id}/deliveries/{delivery_id}';
|
|
5476
|
+
url: '/api/v1/projects/{project_id}/webhooks/{webhook_id}/deliveries/{delivery_id}';
|
|
5458
5477
|
};
|
|
5459
5478
|
type GetWebhookDeliveryErrors = {
|
|
5460
5479
|
/**
|
|
@@ -5484,7 +5503,7 @@ type RotateWebhookSecretData = {
|
|
|
5484
5503
|
webhook_id: string;
|
|
5485
5504
|
};
|
|
5486
5505
|
query?: never;
|
|
5487
|
-
url: '/projects/{project_id}/webhooks/{webhook_id}/rotate-secret';
|
|
5506
|
+
url: '/api/v1/projects/{project_id}/webhooks/{webhook_id}/rotate-secret';
|
|
5488
5507
|
};
|
|
5489
5508
|
type RotateWebhookSecretErrors = {
|
|
5490
5509
|
/**
|
|
@@ -5702,6 +5721,13 @@ declare class AiProviders {
|
|
|
5702
5721
|
static updateAiProvider<ThrowOnError extends boolean = false>(options: Options<UpdateAiProviderData, ThrowOnError>): RequestResult<UpdateAiProviderResponses, UpdateAiProviderErrors, ThrowOnError, "fields">;
|
|
5703
5722
|
}
|
|
5704
5723
|
declare class ApiKeys {
|
|
5724
|
+
/**
|
|
5725
|
+
* List API keys
|
|
5726
|
+
*
|
|
5727
|
+
* Lists API keys accessible to the caller. - JWT admin: returns all API keys. - JWT regular user: returns only the user's own API keys. - API key scoped to a project: returns only API keys scoped to that project.
|
|
5728
|
+
*
|
|
5729
|
+
*/
|
|
5730
|
+
static listApiKeys<ThrowOnError extends boolean = false>(options?: Options<ListApiKeysData, ThrowOnError>): RequestResult<ListApiKeysResponses, ListApiKeysErrors, ThrowOnError, "fields">;
|
|
5705
5731
|
/**
|
|
5706
5732
|
* Create an API key
|
|
5707
5733
|
*
|
|
@@ -6254,10 +6280,10 @@ declare class Webhooks {
|
|
|
6254
6280
|
|
|
6255
6281
|
interface SoatClientOptions {
|
|
6256
6282
|
/**
|
|
6257
|
-
* Base URL of the SOAT API
|
|
6258
|
-
* Defaults to
|
|
6283
|
+
* Base URL of the SOAT API host.
|
|
6284
|
+
* Defaults to the current origin when not provided.
|
|
6259
6285
|
*
|
|
6260
|
-
* @example 'https://api.example.com
|
|
6286
|
+
* @example 'https://api.example.com'
|
|
6261
6287
|
*/
|
|
6262
6288
|
baseUrl?: string;
|
|
6263
6289
|
/**
|
|
@@ -6279,7 +6305,7 @@ interface SoatClientOptions {
|
|
|
6279
6305
|
* ```ts
|
|
6280
6306
|
* import { SoatClient } from '@soat/sdk';
|
|
6281
6307
|
*
|
|
6282
|
-
* const soat = new SoatClient({ baseUrl: 'https://api.example.com
|
|
6308
|
+
* const soat = new SoatClient({ baseUrl: 'https://api.example.com', token: 'sk_...' });
|
|
6283
6309
|
*
|
|
6284
6310
|
* const { data, error } = await soat.sessions.addSessionMessage({
|
|
6285
6311
|
* path: { agent_id: AGENT_ID, session_id: SESSION_ID },
|
|
@@ -6312,4 +6338,4 @@ declare class SoatClient {
|
|
|
6312
6338
|
constructor({ baseUrl, token, headers }?: SoatClientOptions);
|
|
6313
6339
|
}
|
|
6314
6340
|
|
|
6315
|
-
export { type ActorRecord, Actors, type AddConversationMessageData, type AddConversationMessageError, type AddConversationMessageErrors, type AddConversationMessageResponse, type AddConversationMessageResponses, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageRequest, type AddSessionMessageResponse, type AddSessionMessageResponse2, type AddSessionMessageResponses, type AddSessionMessageSaved, type Agent, type AgentGenerationResponse, type AgentId, type AgentTool, AgentTools, type AgentTrace, AgentTraces, Agents, AiProviders, type ApiKeyCreated, type ApiKeyRecord, ApiKeys, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type Chat, type ChatCompletionChoice, type ChatCompletionForChatRequest, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessage, type ChatMessageInput, Chats, type ClientOptions, type ConversationActorRecord, type ConversationMessageRecord, type ConversationRecord, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentActorData, type CreateAgentActorError, type CreateAgentActorErrors, type CreateAgentActorResponse, type CreateAgentActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentGenerationData, type CreateAgentGenerationError, type CreateAgentGenerationErrors, type CreateAgentGenerationRequest, type CreateAgentGenerationResponse, type CreateAgentGenerationResponses, type CreateAgentRequest, type CreateAgentResponse, type CreateAgentResponses, type CreateAgentSessionData, type CreateAgentSessionError, type CreateAgentSessionErrors, type CreateAgentSessionResponse, type CreateAgentSessionResponses, type CreateAgentToolData, type CreateAgentToolError, type CreateAgentToolErrors, type CreateAgentToolRequest, type CreateAgentToolResponse, type CreateAgentToolResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChatActorData, type CreateChatActorError, type CreateChatActorErrors, type CreateChatActorResponse, type CreateChatActorResponses, type CreateChatCompletionData, type CreateChatCompletionError, type CreateChatCompletionErrors, type CreateChatCompletionForChatData, type CreateChatCompletionForChatError, type CreateChatCompletionForChatErrors, type CreateChatCompletionForChatResponse, type CreateChatCompletionForChatResponses, type CreateChatCompletionResponse, type CreateChatCompletionResponses, type CreateChatData, type CreateChatError, type CreateChatErrors, type CreateChatRequest, type CreateChatResponse, type CreateChatResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreatePolicyData, type CreatePolicyError, type CreatePolicyErrors, type CreatePolicyResponse, type CreatePolicyResponses, type CreateProjectData, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionRequest, type CreateUserData, type CreateUserError, type CreateUserErrors, type CreateUserResponse, type CreateUserResponses, type CreateWebhookData, type CreateWebhookErrors, type CreateWebhookRequest, type CreateWebhookResponse, type CreateWebhookResponses, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAgentSessionData, type DeleteAgentSessionError, type DeleteAgentSessionErrors, type DeleteAgentSessionResponse, type DeleteAgentSessionResponses, type DeleteAgentToolData, type DeleteAgentToolError, type DeleteAgentToolErrors, type DeleteAgentToolResponse, type DeleteAgentToolResponses, type DeleteAiProviderData, type DeleteAiProviderErrors, type DeleteAiProviderResponses, type DeleteApiKeyData, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChatData, type DeleteChatError, type DeleteChatErrors, type DeleteChatResponse, type DeleteChatResponses, type DeleteConversationData, type DeleteConversationError, type DeleteConversationErrors, type DeleteConversationResponse, type DeleteConversationResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeletePolicyData, type DeletePolicyErrors, type DeletePolicyResponse, type DeletePolicyResponses, type DeleteProjectData, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type Delivery, type DeliveryListResponse, type DocumentRecord, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, type ErrorResponse, type FileRecord, Files, type GenerateConversationMessageCompleted, type GenerateConversationMessageData, type GenerateConversationMessageError, type GenerateConversationMessageErrors, type GenerateConversationMessageRequiresAction, type GenerateConversationMessageResponse, type GenerateConversationMessageResponse2, type GenerateConversationMessageResponses, type GenerateSessionRequest, type GenerateSessionResponse, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetActorTagsData, type GetActorTagsError, type GetActorTagsErrors, type GetActorTagsResponse, type GetActorTagsResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetAgentSessionData, type GetAgentSessionError, type GetAgentSessionErrors, type GetAgentSessionResponse, type GetAgentSessionResponses, type GetAgentToolData, type GetAgentToolError, type GetAgentToolErrors, type GetAgentToolResponse, type GetAgentToolResponses, type GetAgentTraceData, type GetAgentTraceError, type GetAgentTraceErrors, type GetAgentTraceResponse, type GetAgentTraceResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetChatData, type GetChatError, type GetChatErrors, type GetChatResponse, type GetChatResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetConversationTagsData, type GetConversationTagsError, type GetConversationTagsErrors, type GetConversationTagsResponse, type GetConversationTagsResponses, type GetDocumentData, type GetDocumentError, type GetDocumentErrors, type GetDocumentResponse, type GetDocumentResponses, type GetDocumentTagsData, type GetDocumentTagsError, type GetDocumentTagsErrors, type GetDocumentTagsResponse, type GetDocumentTagsResponses, type GetFileData, type GetFileError, type GetFileErrors, type GetFileResponse, type GetFileResponses, type GetFileTagsData, type GetFileTagsError, type GetFileTagsErrors, type GetFileTagsResponse, type GetFileTagsResponses, type GetPolicyData, type GetPolicyErrors, type GetPolicyResponse, type GetPolicyResponses, type GetProjectData, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetSecretData, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetUserData, type GetUserError, type GetUserErrors, type GetUserPoliciesData, type GetUserPoliciesErrors, type GetUserPoliciesResponse, type GetUserPoliciesResponses, type GetUserResponse, type GetUserResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentSessionMessagesData, type ListAgentSessionMessagesError, type ListAgentSessionMessagesErrors, type ListAgentSessionMessagesResponse, type ListAgentSessionMessagesResponses, type ListAgentSessionsData, type ListAgentSessionsError, type ListAgentSessionsErrors, type ListAgentSessionsResponse, type ListAgentSessionsResponses, type ListAgentToolsData, type ListAgentToolsError, type ListAgentToolsErrors, type ListAgentToolsResponse, type ListAgentToolsResponses, type ListAgentTracesData, type ListAgentTracesError, type ListAgentTracesErrors, type ListAgentTracesResponse, type ListAgentTracesResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListChatsData, type ListChatsError, type ListChatsErrors, type ListChatsResponse, type ListChatsResponses, type ListConversationActorsData, type ListConversationActorsError, type ListConversationActorsErrors, type ListConversationActorsResponse, type ListConversationActorsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListUsersData, type ListUsersError, type ListUsersErrors, type ListUsersResponse, type ListUsersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type LoginResponse, type LoginUserData, type LoginUserError, type LoginUserErrors, type LoginUserResponse, type LoginUserResponses, type MergeActorTagsData, type MergeActorTagsError, type MergeActorTagsErrors, type MergeActorTagsResponse, type MergeActorTagsResponses, type MergeConversationTagsData, type MergeConversationTagsError, type MergeConversationTagsErrors, type MergeConversationTagsResponse, type MergeConversationTagsResponses, type MergeDocumentTagsData, type MergeDocumentTagsError, type MergeDocumentTagsErrors, type MergeDocumentTagsResponse, type MergeDocumentTagsResponses, type MergeFileTagsData, type MergeFileTagsError, type MergeFileTagsErrors, type MergeFileTagsResponse, type MergeFileTagsResponses, type MergeSessionTagsData, type MergeSessionTagsError, type MergeSessionTagsErrors, type MergeSessionTagsResponse, type MergeSessionTagsResponses, type Options, Policies, type PolicyDocument, type PolicyRecord, type PolicyStatement, type ProjectRecord, Projects, type RemoveConversationMessageData, type RemoveConversationMessageError, type RemoveConversationMessageErrors, type RemoveConversationMessageResponse, type RemoveConversationMessageResponses, type ReplaceActorTagsData, type ReplaceActorTagsError, type ReplaceActorTagsErrors, type ReplaceActorTagsResponse, type ReplaceActorTagsResponses, type ReplaceConversationTagsData, type ReplaceConversationTagsError, type ReplaceConversationTagsErrors, type ReplaceConversationTagsResponse, type ReplaceConversationTagsResponses, type ReplaceDocumentTagsData, type ReplaceDocumentTagsError, type ReplaceDocumentTagsErrors, type ReplaceDocumentTagsResponse, type ReplaceDocumentTagsResponses, type ReplaceFileTagsData, type ReplaceFileTagsError, type ReplaceFileTagsErrors, type ReplaceFileTagsResponse, type ReplaceFileTagsResponses, type ReplaceSessionTagsData, type ReplaceSessionTagsError, type ReplaceSessionTagsErrors, type ReplaceSessionTagsResponse, type ReplaceSessionTagsResponses, type RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type SearchDocumentsData, type SearchDocumentsError, type SearchDocumentsErrors, type SearchDocumentsResponse, type SearchDocumentsResponses, Secrets, type SendSessionMessageResponse, type SessionId, type SessionMessage, type SessionRecord, Sessions, SoatClient, type SoatClientOptions, type SubmitAgentToolOutputsData, type SubmitAgentToolOutputsError, type SubmitAgentToolOutputsErrors, type SubmitAgentToolOutputsResponse, type SubmitAgentToolOutputsResponses, type SubmitSessionToolOutputsData, type SubmitSessionToolOutputsError, type SubmitSessionToolOutputsErrors, type SubmitSessionToolOutputsRequest, type SubmitSessionToolOutputsResponse, type SubmitSessionToolOutputsResponses, type SubmitToolOutputsRequest, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentRequest, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateAgentToolData, type UpdateAgentToolError, type UpdateAgentToolErrors, type UpdateAgentToolRequest, type UpdateAgentToolResponse, type UpdateAgentToolResponses, type UpdateAiProviderData, type UpdateAiProviderErrors, type UpdateAiProviderResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdatePolicyData, type UpdatePolicyError, type UpdatePolicyErrors, type UpdatePolicyResponse, type UpdatePolicyResponses, type UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateWebhookData, type UpdateWebhookErrors, type UpdateWebhookRequest, type UpdateWebhookResponse, type UpdateWebhookResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UserRecord, Users, type Webhook, type WebhookWithSecret, Webhooks, createClient, createConfig };
|
|
6341
|
+
export { type ActorRecord, Actors, type AddConversationMessageData, type AddConversationMessageError, type AddConversationMessageErrors, type AddConversationMessageResponse, type AddConversationMessageResponses, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageRequest, type AddSessionMessageResponse, type AddSessionMessageResponse2, type AddSessionMessageResponses, type AddSessionMessageSaved, type Agent, type AgentGenerationResponse, type AgentId, type AgentTool, AgentTools, type AgentTrace, AgentTraces, Agents, AiProviders, type ApiKeyCreated, type ApiKeyRecord, ApiKeys, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type Chat, type ChatCompletionChoice, type ChatCompletionForChatRequest, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessage, type ChatMessageInput, Chats, type ClientOptions, type ConversationActorRecord, type ConversationMessageRecord, type ConversationRecord, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentActorData, type CreateAgentActorError, type CreateAgentActorErrors, type CreateAgentActorResponse, type CreateAgentActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentGenerationData, type CreateAgentGenerationError, type CreateAgentGenerationErrors, type CreateAgentGenerationRequest, type CreateAgentGenerationResponse, type CreateAgentGenerationResponses, type CreateAgentRequest, type CreateAgentResponse, type CreateAgentResponses, type CreateAgentSessionData, type CreateAgentSessionError, type CreateAgentSessionErrors, type CreateAgentSessionResponse, type CreateAgentSessionResponses, type CreateAgentToolData, type CreateAgentToolError, type CreateAgentToolErrors, type CreateAgentToolRequest, type CreateAgentToolResponse, type CreateAgentToolResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChatActorData, type CreateChatActorError, type CreateChatActorErrors, type CreateChatActorResponse, type CreateChatActorResponses, type CreateChatCompletionData, type CreateChatCompletionError, type CreateChatCompletionErrors, type CreateChatCompletionForChatData, type CreateChatCompletionForChatError, type CreateChatCompletionForChatErrors, type CreateChatCompletionForChatResponse, type CreateChatCompletionForChatResponses, type CreateChatCompletionResponse, type CreateChatCompletionResponses, type CreateChatData, type CreateChatError, type CreateChatErrors, type CreateChatRequest, type CreateChatResponse, type CreateChatResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreatePolicyData, type CreatePolicyError, type CreatePolicyErrors, type CreatePolicyResponse, type CreatePolicyResponses, type CreateProjectData, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionRequest, type CreateUserData, type CreateUserError, type CreateUserErrors, type CreateUserResponse, type CreateUserResponses, type CreateWebhookData, type CreateWebhookErrors, type CreateWebhookRequest, type CreateWebhookResponse, type CreateWebhookResponses, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAgentSessionData, type DeleteAgentSessionError, type DeleteAgentSessionErrors, type DeleteAgentSessionResponse, type DeleteAgentSessionResponses, type DeleteAgentToolData, type DeleteAgentToolError, type DeleteAgentToolErrors, type DeleteAgentToolResponse, type DeleteAgentToolResponses, type DeleteAiProviderData, type DeleteAiProviderErrors, type DeleteAiProviderResponses, type DeleteApiKeyData, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChatData, type DeleteChatError, type DeleteChatErrors, type DeleteChatResponse, type DeleteChatResponses, type DeleteConversationData, type DeleteConversationError, type DeleteConversationErrors, type DeleteConversationResponse, type DeleteConversationResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeletePolicyData, type DeletePolicyErrors, type DeletePolicyResponse, type DeletePolicyResponses, type DeleteProjectData, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type Delivery, type DeliveryListResponse, type DocumentRecord, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, type ErrorResponse, type FileRecord, Files, type GenerateConversationMessageCompleted, type GenerateConversationMessageData, type GenerateConversationMessageError, type GenerateConversationMessageErrors, type GenerateConversationMessageRequiresAction, type GenerateConversationMessageResponse, type GenerateConversationMessageResponse2, type GenerateConversationMessageResponses, type GenerateSessionRequest, type GenerateSessionResponse, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetActorTagsData, type GetActorTagsError, type GetActorTagsErrors, type GetActorTagsResponse, type GetActorTagsResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetAgentSessionData, type GetAgentSessionError, type GetAgentSessionErrors, type GetAgentSessionResponse, type GetAgentSessionResponses, type GetAgentToolData, type GetAgentToolError, type GetAgentToolErrors, type GetAgentToolResponse, type GetAgentToolResponses, type GetAgentTraceData, type GetAgentTraceError, type GetAgentTraceErrors, type GetAgentTraceResponse, type GetAgentTraceResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetChatData, type GetChatError, type GetChatErrors, type GetChatResponse, type GetChatResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetConversationTagsData, type GetConversationTagsError, type GetConversationTagsErrors, type GetConversationTagsResponse, type GetConversationTagsResponses, type GetDocumentData, type GetDocumentError, type GetDocumentErrors, type GetDocumentResponse, type GetDocumentResponses, type GetDocumentTagsData, type GetDocumentTagsError, type GetDocumentTagsErrors, type GetDocumentTagsResponse, type GetDocumentTagsResponses, type GetFileData, type GetFileError, type GetFileErrors, type GetFileResponse, type GetFileResponses, type GetFileTagsData, type GetFileTagsError, type GetFileTagsErrors, type GetFileTagsResponse, type GetFileTagsResponses, type GetPolicyData, type GetPolicyErrors, type GetPolicyResponse, type GetPolicyResponses, type GetProjectData, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetSecretData, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetUserData, type GetUserError, type GetUserErrors, type GetUserPoliciesData, type GetUserPoliciesErrors, type GetUserPoliciesResponse, type GetUserPoliciesResponses, type GetUserResponse, type GetUserResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentSessionMessagesData, type ListAgentSessionMessagesError, type ListAgentSessionMessagesErrors, type ListAgentSessionMessagesResponse, type ListAgentSessionMessagesResponses, type ListAgentSessionsData, type ListAgentSessionsError, type ListAgentSessionsErrors, type ListAgentSessionsResponse, type ListAgentSessionsResponses, type ListAgentToolsData, type ListAgentToolsError, type ListAgentToolsErrors, type ListAgentToolsResponse, type ListAgentToolsResponses, type ListAgentTracesData, type ListAgentTracesError, type ListAgentTracesErrors, type ListAgentTracesResponse, type ListAgentTracesResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListChatsData, type ListChatsError, type ListChatsErrors, type ListChatsResponse, type ListChatsResponses, type ListConversationActorsData, type ListConversationActorsError, type ListConversationActorsErrors, type ListConversationActorsResponse, type ListConversationActorsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListUsersData, type ListUsersError, type ListUsersErrors, type ListUsersResponse, type ListUsersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type LoginResponse, type LoginUserData, type LoginUserError, type LoginUserErrors, type LoginUserResponse, type LoginUserResponses, type MergeActorTagsData, type MergeActorTagsError, type MergeActorTagsErrors, type MergeActorTagsResponse, type MergeActorTagsResponses, type MergeConversationTagsData, type MergeConversationTagsError, type MergeConversationTagsErrors, type MergeConversationTagsResponse, type MergeConversationTagsResponses, type MergeDocumentTagsData, type MergeDocumentTagsError, type MergeDocumentTagsErrors, type MergeDocumentTagsResponse, type MergeDocumentTagsResponses, type MergeFileTagsData, type MergeFileTagsError, type MergeFileTagsErrors, type MergeFileTagsResponse, type MergeFileTagsResponses, type MergeSessionTagsData, type MergeSessionTagsError, type MergeSessionTagsErrors, type MergeSessionTagsResponse, type MergeSessionTagsResponses, type Options, Policies, type PolicyDocument, type PolicyRecord, type PolicyStatement, type ProjectRecord, Projects, type RemoveConversationMessageData, type RemoveConversationMessageError, type RemoveConversationMessageErrors, type RemoveConversationMessageResponse, type RemoveConversationMessageResponses, type ReplaceActorTagsData, type ReplaceActorTagsError, type ReplaceActorTagsErrors, type ReplaceActorTagsResponse, type ReplaceActorTagsResponses, type ReplaceConversationTagsData, type ReplaceConversationTagsError, type ReplaceConversationTagsErrors, type ReplaceConversationTagsResponse, type ReplaceConversationTagsResponses, type ReplaceDocumentTagsData, type ReplaceDocumentTagsError, type ReplaceDocumentTagsErrors, type ReplaceDocumentTagsResponse, type ReplaceDocumentTagsResponses, type ReplaceFileTagsData, type ReplaceFileTagsError, type ReplaceFileTagsErrors, type ReplaceFileTagsResponse, type ReplaceFileTagsResponses, type ReplaceSessionTagsData, type ReplaceSessionTagsError, type ReplaceSessionTagsErrors, type ReplaceSessionTagsResponse, type ReplaceSessionTagsResponses, type RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type SearchDocumentsData, type SearchDocumentsError, type SearchDocumentsErrors, type SearchDocumentsResponse, type SearchDocumentsResponses, Secrets, type SendSessionMessageResponse, type SessionId, type SessionMessage, type SessionRecord, Sessions, SoatClient, type SoatClientOptions, type SubmitAgentToolOutputsData, type SubmitAgentToolOutputsError, type SubmitAgentToolOutputsErrors, type SubmitAgentToolOutputsResponse, type SubmitAgentToolOutputsResponses, type SubmitSessionToolOutputsData, type SubmitSessionToolOutputsError, type SubmitSessionToolOutputsErrors, type SubmitSessionToolOutputsRequest, type SubmitSessionToolOutputsResponse, type SubmitSessionToolOutputsResponses, type SubmitToolOutputsRequest, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentRequest, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateAgentToolData, type UpdateAgentToolError, type UpdateAgentToolErrors, type UpdateAgentToolRequest, type UpdateAgentToolResponse, type UpdateAgentToolResponses, type UpdateAiProviderData, type UpdateAiProviderErrors, type UpdateAiProviderResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdatePolicyData, type UpdatePolicyError, type UpdatePolicyErrors, type UpdatePolicyResponse, type UpdatePolicyResponses, type UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateWebhookData, type UpdateWebhookErrors, type UpdateWebhookRequest, type UpdateWebhookResponse, type UpdateWebhookResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UserRecord, Users, type Webhook, type WebhookWithSecret, Webhooks, createClient, createConfig };
|