@soat/sdk 0.4.3 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1694,10 +1694,10 @@ type CreateAgentToolResponse = CreateAgentToolResponses[keyof CreateAgentToolRes
1694
1694
  type DeleteAgentToolData = {
1695
1695
  body?: never;
1696
1696
  path: {
1697
- toolId: string;
1697
+ tool_id: string;
1698
1698
  };
1699
1699
  query?: never;
1700
- url: '/agents/tools/{toolId}';
1700
+ url: '/agents/tools/{tool_id}';
1701
1701
  };
1702
1702
  type DeleteAgentToolErrors = {
1703
1703
  /**
@@ -1724,10 +1724,10 @@ type DeleteAgentToolResponse = DeleteAgentToolResponses[keyof DeleteAgentToolRes
1724
1724
  type GetAgentToolData = {
1725
1725
  body?: never;
1726
1726
  path: {
1727
- toolId: string;
1727
+ tool_id: string;
1728
1728
  };
1729
1729
  query?: never;
1730
- url: '/agents/tools/{toolId}';
1730
+ url: '/agents/tools/{tool_id}';
1731
1731
  };
1732
1732
  type GetAgentToolErrors = {
1733
1733
  /**
@@ -1754,10 +1754,10 @@ type GetAgentToolResponse = GetAgentToolResponses[keyof GetAgentToolResponses];
1754
1754
  type UpdateAgentToolData = {
1755
1755
  body: UpdateAgentToolRequest;
1756
1756
  path: {
1757
- toolId: string;
1757
+ tool_id: string;
1758
1758
  };
1759
1759
  query?: never;
1760
- url: '/agents/tools/{toolId}';
1760
+ url: '/agents/tools/{tool_id}';
1761
1761
  };
1762
1762
  type UpdateAgentToolErrors = {
1763
1763
  /**
@@ -1826,10 +1826,10 @@ type ListAgentTracesResponse = ListAgentTracesResponses[keyof ListAgentTracesRes
1826
1826
  type GetAgentTraceData = {
1827
1827
  body?: never;
1828
1828
  path: {
1829
- traceId: string;
1829
+ trace_id: string;
1830
1830
  };
1831
1831
  query?: never;
1832
- url: '/agents/traces/{traceId}';
1832
+ url: '/agents/traces/{trace_id}';
1833
1833
  };
1834
1834
  type GetAgentTraceErrors = {
1835
1835
  /**
@@ -1917,10 +1917,10 @@ type CreateAgentResponse = CreateAgentResponses[keyof CreateAgentResponses];
1917
1917
  type DeleteAgentData = {
1918
1918
  body?: never;
1919
1919
  path: {
1920
- agentId: string;
1920
+ agent_id: string;
1921
1921
  };
1922
1922
  query?: never;
1923
- url: '/agents/{agentId}';
1923
+ url: '/agents/{agent_id}';
1924
1924
  };
1925
1925
  type DeleteAgentErrors = {
1926
1926
  /**
@@ -1947,10 +1947,10 @@ type DeleteAgentResponse = DeleteAgentResponses[keyof DeleteAgentResponses];
1947
1947
  type GetAgentData = {
1948
1948
  body?: never;
1949
1949
  path: {
1950
- agentId: string;
1950
+ agent_id: string;
1951
1951
  };
1952
1952
  query?: never;
1953
- url: '/agents/{agentId}';
1953
+ url: '/agents/{agent_id}';
1954
1954
  };
1955
1955
  type GetAgentErrors = {
1956
1956
  /**
@@ -1977,10 +1977,10 @@ type GetAgentResponse = GetAgentResponses[keyof GetAgentResponses];
1977
1977
  type UpdateAgentData = {
1978
1978
  body: UpdateAgentRequest;
1979
1979
  path: {
1980
- agentId: string;
1980
+ agent_id: string;
1981
1981
  };
1982
1982
  query?: never;
1983
- url: '/agents/{agentId}';
1983
+ url: '/agents/{agent_id}';
1984
1984
  };
1985
1985
  type UpdateAgentErrors = {
1986
1986
  /**
@@ -2007,10 +2007,10 @@ type UpdateAgentResponse = UpdateAgentResponses[keyof UpdateAgentResponses];
2007
2007
  type CreateAgentGenerationData = {
2008
2008
  body: CreateAgentGenerationRequest;
2009
2009
  path: {
2010
- agentId: string;
2010
+ agent_id: string;
2011
2011
  };
2012
2012
  query?: never;
2013
- url: '/agents/{agentId}/generate';
2013
+ url: '/agents/{agent_id}/generate';
2014
2014
  };
2015
2015
  type CreateAgentGenerationErrors = {
2016
2016
  /**
@@ -2041,11 +2041,11 @@ type CreateAgentGenerationResponse = CreateAgentGenerationResponses[keyof Create
2041
2041
  type SubmitAgentToolOutputsData = {
2042
2042
  body: SubmitToolOutputsRequest;
2043
2043
  path: {
2044
- agentId: string;
2045
- generationId: string;
2044
+ agent_id: string;
2045
+ generation_id: string;
2046
2046
  };
2047
2047
  query?: never;
2048
- url: '/agents/{agentId}/generate/{generationId}/tool-outputs';
2048
+ url: '/agents/{agent_id}/generate/{generation_id}/tool-outputs';
2049
2049
  };
2050
2050
  type SubmitAgentToolOutputsErrors = {
2051
2051
  /**
@@ -2092,10 +2092,10 @@ type CreateAgentActorData = {
2092
2092
  /**
2093
2093
  * Agent ID
2094
2094
  */
2095
- agentId: string;
2095
+ agent_id: string;
2096
2096
  };
2097
2097
  query?: never;
2098
- url: '/agents/{agentId}/actors';
2098
+ url: '/agents/{agent_id}/actors';
2099
2099
  };
2100
2100
  type CreateAgentActorErrors = {
2101
2101
  /**
@@ -2248,10 +2248,10 @@ type DeleteAiProviderData = {
2248
2248
  /**
2249
2249
  * AI Provider ID
2250
2250
  */
2251
- aiProviderId: string;
2251
+ ai_provider_id: string;
2252
2252
  };
2253
2253
  query?: never;
2254
- url: '/ai-providers/{aiProviderId}';
2254
+ url: '/ai-providers/{ai_provider_id}';
2255
2255
  };
2256
2256
  type DeleteAiProviderErrors = {
2257
2257
  /**
@@ -2279,10 +2279,10 @@ type GetAiProviderData = {
2279
2279
  /**
2280
2280
  * AI Provider ID
2281
2281
  */
2282
- aiProviderId: string;
2282
+ ai_provider_id: string;
2283
2283
  };
2284
2284
  query?: never;
2285
- url: '/ai-providers/{aiProviderId}';
2285
+ url: '/ai-providers/{ai_provider_id}';
2286
2286
  };
2287
2287
  type GetAiProviderErrors = {
2288
2288
  /**
@@ -2331,10 +2331,10 @@ type UpdateAiProviderData = {
2331
2331
  /**
2332
2332
  * AI Provider ID
2333
2333
  */
2334
- aiProviderId: string;
2334
+ ai_provider_id: string;
2335
2335
  };
2336
2336
  query?: never;
2337
- url: '/ai-providers/{aiProviderId}';
2337
+ url: '/ai-providers/{ai_provider_id}';
2338
2338
  };
2339
2339
  type UpdateAiProviderErrors = {
2340
2340
  /**
@@ -2572,10 +2572,10 @@ type CreateChatResponse = CreateChatResponses[keyof CreateChatResponses];
2572
2572
  type DeleteChatData = {
2573
2573
  body?: never;
2574
2574
  path: {
2575
- chatId: string;
2575
+ chat_id: string;
2576
2576
  };
2577
2577
  query?: never;
2578
- url: '/chats/{chatId}';
2578
+ url: '/chats/{chat_id}';
2579
2579
  };
2580
2580
  type DeleteChatErrors = {
2581
2581
  /**
@@ -2598,10 +2598,10 @@ type DeleteChatResponse = DeleteChatResponses[keyof DeleteChatResponses];
2598
2598
  type GetChatData = {
2599
2599
  body?: never;
2600
2600
  path: {
2601
- chatId: string;
2601
+ chat_id: string;
2602
2602
  };
2603
2603
  query?: never;
2604
- url: '/chats/{chatId}';
2604
+ url: '/chats/{chat_id}';
2605
2605
  };
2606
2606
  type GetChatErrors = {
2607
2607
  /**
@@ -2624,10 +2624,10 @@ type GetChatResponse = GetChatResponses[keyof GetChatResponses];
2624
2624
  type CreateChatCompletionForChatData = {
2625
2625
  body: ChatCompletionForChatRequest;
2626
2626
  path: {
2627
- chatId: string;
2627
+ chat_id: string;
2628
2628
  };
2629
2629
  query?: never;
2630
- url: '/chats/{chatId}/completions';
2630
+ url: '/chats/{chat_id}/completions';
2631
2631
  };
2632
2632
  type CreateChatCompletionForChatErrors = {
2633
2633
  /**
@@ -2698,10 +2698,10 @@ type CreateChatActorData = {
2698
2698
  /**
2699
2699
  * Chat ID
2700
2700
  */
2701
- chatId: string;
2701
+ chat_id: string;
2702
2702
  };
2703
2703
  query?: never;
2704
- url: '/chats/{chatId}/actors';
2704
+ url: '/chats/{chat_id}/actors';
2705
2705
  };
2706
2706
  type CreateChatActorErrors = {
2707
2707
  /**
@@ -3134,10 +3134,10 @@ type RemoveConversationMessageData = {
3134
3134
  /**
3135
3135
  * Document ID
3136
3136
  */
3137
- documentId: string;
3137
+ document_id: string;
3138
3138
  };
3139
3139
  query?: never;
3140
- url: '/conversations/{id}/messages/{documentId}';
3140
+ url: '/conversations/{id}/messages/{document_id}';
3141
3141
  };
3142
3142
  type RemoveConversationMessageErrors = {
3143
3143
  /**
@@ -3630,6 +3630,10 @@ type ListFilesData = {
3630
3630
  body?: never;
3631
3631
  path?: never;
3632
3632
  query?: {
3633
+ /**
3634
+ * Filter files by project ID
3635
+ */
3636
+ project_id?: string;
3633
3637
  /**
3634
3638
  * Maximum number of results to return
3635
3639
  */
@@ -4135,10 +4139,10 @@ type DeletePolicyData = {
4135
4139
  /**
4136
4140
  * Policy public ID (pol_ prefix)
4137
4141
  */
4138
- policyId: string;
4142
+ policy_id: string;
4139
4143
  };
4140
4144
  query?: never;
4141
- url: '/policies/{policyId}';
4145
+ url: '/policies/{policy_id}';
4142
4146
  };
4143
4147
  type DeletePolicyErrors = {
4144
4148
  /**
@@ -4167,10 +4171,10 @@ type GetPolicyData = {
4167
4171
  /**
4168
4172
  * Policy public ID (pol_ prefix)
4169
4173
  */
4170
- policyId: string;
4174
+ policy_id: string;
4171
4175
  };
4172
4176
  query?: never;
4173
- url: '/policies/{policyId}';
4177
+ url: '/policies/{policy_id}';
4174
4178
  };
4175
4179
  type GetPolicyErrors = {
4176
4180
  /**
@@ -4203,10 +4207,10 @@ type UpdatePolicyData = {
4203
4207
  /**
4204
4208
  * Policy public ID (pol_ prefix)
4205
4209
  */
4206
- policyId: string;
4210
+ policy_id: string;
4207
4211
  };
4208
4212
  query?: never;
4209
- url: '/policies/{policyId}';
4213
+ url: '/policies/{policy_id}';
4210
4214
  };
4211
4215
  type UpdatePolicyErrors = {
4212
4216
  /**
@@ -4273,10 +4277,10 @@ type DeleteProjectData = {
4273
4277
  /**
4274
4278
  * Project public ID (proj_ prefix)
4275
4279
  */
4276
- projectId: string;
4280
+ project_id: string;
4277
4281
  };
4278
4282
  query?: never;
4279
- url: '/projects/{projectId}';
4283
+ url: '/projects/{project_id}';
4280
4284
  };
4281
4285
  type DeleteProjectErrors = {
4282
4286
  /**
@@ -4305,10 +4309,10 @@ type GetProjectData = {
4305
4309
  /**
4306
4310
  * Project public ID (proj_ prefix)
4307
4311
  */
4308
- projectId: string;
4312
+ project_id: string;
4309
4313
  };
4310
4314
  query?: never;
4311
- url: '/projects/{projectId}';
4315
+ url: '/projects/{project_id}';
4312
4316
  };
4313
4317
  type GetProjectErrors = {
4314
4318
  /**
@@ -4431,10 +4435,10 @@ type DeleteSecretData = {
4431
4435
  /**
4432
4436
  * Secret ID
4433
4437
  */
4434
- secretId: string;
4438
+ secret_id: string;
4435
4439
  };
4436
4440
  query?: never;
4437
- url: '/secrets/{secretId}';
4441
+ url: '/secrets/{secret_id}';
4438
4442
  };
4439
4443
  type DeleteSecretErrors = {
4440
4444
  /**
@@ -4462,10 +4466,10 @@ type GetSecretData = {
4462
4466
  /**
4463
4467
  * Secret ID
4464
4468
  */
4465
- secretId: string;
4469
+ secret_id: string;
4466
4470
  };
4467
4471
  query?: never;
4468
- url: '/secrets/{secretId}';
4472
+ url: '/secrets/{secret_id}';
4469
4473
  };
4470
4474
  type GetSecretErrors = {
4471
4475
  /**
@@ -4512,10 +4516,10 @@ type UpdateSecretData = {
4512
4516
  /**
4513
4517
  * Secret ID
4514
4518
  */
4515
- secretId: string;
4519
+ secret_id: string;
4516
4520
  };
4517
4521
  query?: never;
4518
- url: '/secrets/{secretId}';
4522
+ url: '/secrets/{secret_id}';
4519
4523
  };
4520
4524
  type UpdateSecretErrors = {
4521
4525
  /**
@@ -4547,7 +4551,7 @@ type ListAgentSessionsData = {
4547
4551
  /**
4548
4552
  * Agent public ID
4549
4553
  */
4550
- agentId: string;
4554
+ agent_id: string;
4551
4555
  };
4552
4556
  query?: {
4553
4557
  /**
@@ -4561,7 +4565,7 @@ type ListAgentSessionsData = {
4561
4565
  limit?: number;
4562
4566
  offset?: number;
4563
4567
  };
4564
- url: '/agents/{agentId}/sessions';
4568
+ url: '/agents/{agent_id}/sessions';
4565
4569
  };
4566
4570
  type ListAgentSessionsErrors = {
4567
4571
  /**
@@ -4596,10 +4600,10 @@ type CreateAgentSessionData = {
4596
4600
  /**
4597
4601
  * Agent public ID
4598
4602
  */
4599
- agentId: string;
4603
+ agent_id: string;
4600
4604
  };
4601
4605
  query?: never;
4602
- url: '/agents/{agentId}/sessions';
4606
+ url: '/agents/{agent_id}/sessions';
4603
4607
  };
4604
4608
  type CreateAgentSessionErrors = {
4605
4609
  /**
@@ -4629,14 +4633,14 @@ type DeleteAgentSessionData = {
4629
4633
  /**
4630
4634
  * Agent public ID
4631
4635
  */
4632
- agentId: string;
4636
+ agent_id: string;
4633
4637
  /**
4634
4638
  * Session public ID
4635
4639
  */
4636
- sessionId: string;
4640
+ session_id: string;
4637
4641
  };
4638
4642
  query?: never;
4639
- url: '/agents/{agentId}/sessions/{sessionId}';
4643
+ url: '/agents/{agent_id}/sessions/{session_id}';
4640
4644
  };
4641
4645
  type DeleteAgentSessionErrors = {
4642
4646
  /**
@@ -4666,14 +4670,14 @@ type GetAgentSessionData = {
4666
4670
  /**
4667
4671
  * Agent public ID
4668
4672
  */
4669
- agentId: string;
4673
+ agent_id: string;
4670
4674
  /**
4671
4675
  * Session public ID
4672
4676
  */
4673
- sessionId: string;
4677
+ session_id: string;
4674
4678
  };
4675
4679
  query?: never;
4676
- url: '/agents/{agentId}/sessions/{sessionId}';
4680
+ url: '/agents/{agent_id}/sessions/{session_id}';
4677
4681
  };
4678
4682
  type GetAgentSessionErrors = {
4679
4683
  /**
@@ -4703,14 +4707,14 @@ type UpdateSessionData = {
4703
4707
  /**
4704
4708
  * Agent public ID
4705
4709
  */
4706
- agentId: string;
4710
+ agent_id: string;
4707
4711
  /**
4708
4712
  * Session public ID
4709
4713
  */
4710
- sessionId: string;
4714
+ session_id: string;
4711
4715
  };
4712
4716
  query?: never;
4713
- url: '/agents/{agentId}/sessions/{sessionId}';
4717
+ url: '/agents/{agent_id}/sessions/{session_id}';
4714
4718
  };
4715
4719
  type UpdateSessionErrors = {
4716
4720
  /**
@@ -4740,17 +4744,17 @@ type ListAgentSessionMessagesData = {
4740
4744
  /**
4741
4745
  * Agent public ID
4742
4746
  */
4743
- agentId: string;
4747
+ agent_id: string;
4744
4748
  /**
4745
4749
  * Session public ID
4746
4750
  */
4747
- sessionId: string;
4751
+ session_id: string;
4748
4752
  };
4749
4753
  query?: {
4750
4754
  limit?: number;
4751
4755
  offset?: number;
4752
4756
  };
4753
- url: '/agents/{agentId}/sessions/{sessionId}/messages';
4757
+ url: '/agents/{agent_id}/sessions/{session_id}/messages';
4754
4758
  };
4755
4759
  type ListAgentSessionMessagesErrors = {
4756
4760
  /**
@@ -4785,14 +4789,14 @@ type AddSessionMessageData = {
4785
4789
  /**
4786
4790
  * Agent public ID
4787
4791
  */
4788
- agentId: string;
4792
+ agent_id: string;
4789
4793
  /**
4790
4794
  * Session public ID
4791
4795
  */
4792
- sessionId: string;
4796
+ session_id: string;
4793
4797
  };
4794
4798
  query?: never;
4795
- url: '/agents/{agentId}/sessions/{sessionId}/messages';
4799
+ url: '/agents/{agent_id}/sessions/{session_id}/messages';
4796
4800
  };
4797
4801
  type AddSessionMessageErrors = {
4798
4802
  /**
@@ -4822,11 +4826,11 @@ type GenerateSessionResponseData = {
4822
4826
  /**
4823
4827
  * Agent public ID
4824
4828
  */
4825
- agentId: string;
4829
+ agent_id: string;
4826
4830
  /**
4827
4831
  * Session public ID
4828
4832
  */
4829
- sessionId: string;
4833
+ session_id: string;
4830
4834
  };
4831
4835
  query?: {
4832
4836
  /**
@@ -4834,7 +4838,7 @@ type GenerateSessionResponseData = {
4834
4838
  */
4835
4839
  async?: boolean;
4836
4840
  };
4837
- url: '/agents/{agentId}/sessions/{sessionId}/generate';
4841
+ url: '/agents/{agent_id}/sessions/{session_id}/generate';
4838
4842
  };
4839
4843
  type GenerateSessionResponseErrors = {
4840
4844
  /**
@@ -4875,14 +4879,14 @@ type SubmitSessionToolOutputsData = {
4875
4879
  /**
4876
4880
  * Agent public ID
4877
4881
  */
4878
- agentId: string;
4882
+ agent_id: string;
4879
4883
  /**
4880
4884
  * Session public ID
4881
4885
  */
4882
- sessionId: string;
4886
+ session_id: string;
4883
4887
  };
4884
4888
  query?: never;
4885
- url: '/agents/{agentId}/sessions/{sessionId}/tool-outputs';
4889
+ url: '/agents/{agent_id}/sessions/{session_id}/tool-outputs';
4886
4890
  };
4887
4891
  type SubmitSessionToolOutputsErrors = {
4888
4892
  /**
@@ -4912,14 +4916,14 @@ type GetSessionTagsData = {
4912
4916
  /**
4913
4917
  * Agent public ID
4914
4918
  */
4915
- agentId: string;
4919
+ agent_id: string;
4916
4920
  /**
4917
4921
  * Session public ID
4918
4922
  */
4919
- sessionId: string;
4923
+ session_id: string;
4920
4924
  };
4921
4925
  query?: never;
4922
- url: '/agents/{agentId}/sessions/{sessionId}/tags';
4926
+ url: '/agents/{agent_id}/sessions/{session_id}/tags';
4923
4927
  };
4924
4928
  type GetSessionTagsErrors = {
4925
4929
  /**
@@ -4953,14 +4957,14 @@ type MergeSessionTagsData = {
4953
4957
  /**
4954
4958
  * Agent public ID
4955
4959
  */
4956
- agentId: string;
4960
+ agent_id: string;
4957
4961
  /**
4958
4962
  * Session public ID
4959
4963
  */
4960
- sessionId: string;
4964
+ session_id: string;
4961
4965
  };
4962
4966
  query?: never;
4963
- url: '/agents/{agentId}/sessions/{sessionId}/tags';
4967
+ url: '/agents/{agent_id}/sessions/{session_id}/tags';
4964
4968
  };
4965
4969
  type MergeSessionTagsErrors = {
4966
4970
  /**
@@ -4994,14 +4998,14 @@ type ReplaceSessionTagsData = {
4994
4998
  /**
4995
4999
  * Agent public ID
4996
5000
  */
4997
- agentId: string;
5001
+ agent_id: string;
4998
5002
  /**
4999
5003
  * Session public ID
5000
5004
  */
5001
- sessionId: string;
5005
+ session_id: string;
5002
5006
  };
5003
5007
  query?: never;
5004
- url: '/agents/{agentId}/sessions/{sessionId}/tags';
5008
+ url: '/agents/{agent_id}/sessions/{session_id}/tags';
5005
5009
  };
5006
5010
  type ReplaceSessionTagsErrors = {
5007
5011
  /**
@@ -5189,10 +5193,10 @@ type GetUserPoliciesData = {
5189
5193
  /**
5190
5194
  * User public ID (usr_ prefix)
5191
5195
  */
5192
- userId: string;
5196
+ user_id: string;
5193
5197
  };
5194
5198
  query?: never;
5195
- url: '/users/{userId}/policies';
5199
+ url: '/users/{user_id}/policies';
5196
5200
  };
5197
5201
  type GetUserPoliciesErrors = {
5198
5202
  /**
@@ -5230,10 +5234,10 @@ type AttachUserPoliciesData = {
5230
5234
  /**
5231
5235
  * User public ID (usr_ prefix)
5232
5236
  */
5233
- userId: string;
5237
+ user_id: string;
5234
5238
  };
5235
5239
  query?: never;
5236
- url: '/users/{userId}/policies';
5240
+ url: '/users/{user_id}/policies';
5237
5241
  };
5238
5242
  type AttachUserPoliciesErrors = {
5239
5243
  /**
@@ -5264,10 +5268,10 @@ type AttachUserPoliciesResponse = AttachUserPoliciesResponses[keyof AttachUserPo
5264
5268
  type ListWebhooksData = {
5265
5269
  body?: never;
5266
5270
  path: {
5267
- projectId: string;
5271
+ project_id: string;
5268
5272
  };
5269
5273
  query?: never;
5270
- url: '/projects/{projectId}/webhooks';
5274
+ url: '/projects/{project_id}/webhooks';
5271
5275
  };
5272
5276
  type ListWebhooksErrors = {
5273
5277
  /**
@@ -5289,10 +5293,10 @@ type ListWebhooksResponse = ListWebhooksResponses[keyof ListWebhooksResponses];
5289
5293
  type CreateWebhookData = {
5290
5294
  body: CreateWebhookRequest;
5291
5295
  path: {
5292
- projectId: string;
5296
+ project_id: string;
5293
5297
  };
5294
5298
  query?: never;
5295
- url: '/projects/{projectId}/webhooks';
5299
+ url: '/projects/{project_id}/webhooks';
5296
5300
  };
5297
5301
  type CreateWebhookErrors = {
5298
5302
  /**
@@ -5318,11 +5322,11 @@ type CreateWebhookResponse = CreateWebhookResponses[keyof CreateWebhookResponses
5318
5322
  type DeleteWebhookData = {
5319
5323
  body?: never;
5320
5324
  path: {
5321
- projectId: string;
5322
- webhookId: string;
5325
+ project_id: string;
5326
+ webhook_id: string;
5323
5327
  };
5324
5328
  query?: never;
5325
- url: '/projects/{projectId}/webhooks/{webhookId}';
5329
+ url: '/projects/{project_id}/webhooks/{webhook_id}';
5326
5330
  };
5327
5331
  type DeleteWebhookErrors = {
5328
5332
  /**
@@ -5348,11 +5352,11 @@ type DeleteWebhookResponse = DeleteWebhookResponses[keyof DeleteWebhookResponses
5348
5352
  type GetWebhookData = {
5349
5353
  body?: never;
5350
5354
  path: {
5351
- projectId: string;
5352
- webhookId: string;
5355
+ project_id: string;
5356
+ webhook_id: string;
5353
5357
  };
5354
5358
  query?: never;
5355
- url: '/projects/{projectId}/webhooks/{webhookId}';
5359
+ url: '/projects/{project_id}/webhooks/{webhook_id}';
5356
5360
  };
5357
5361
  type GetWebhookErrors = {
5358
5362
  /**
@@ -5378,11 +5382,11 @@ type GetWebhookResponse = GetWebhookResponses[keyof GetWebhookResponses];
5378
5382
  type UpdateWebhookData = {
5379
5383
  body: UpdateWebhookRequest;
5380
5384
  path: {
5381
- projectId: string;
5382
- webhookId: string;
5385
+ project_id: string;
5386
+ webhook_id: string;
5383
5387
  };
5384
5388
  query?: never;
5385
- url: '/projects/{projectId}/webhooks/{webhookId}';
5389
+ url: '/projects/{project_id}/webhooks/{webhook_id}';
5386
5390
  };
5387
5391
  type UpdateWebhookErrors = {
5388
5392
  /**
@@ -5412,14 +5416,14 @@ type UpdateWebhookResponse = UpdateWebhookResponses[keyof UpdateWebhookResponses
5412
5416
  type ListWebhookDeliveriesData = {
5413
5417
  body?: never;
5414
5418
  path: {
5415
- projectId: string;
5416
- webhookId: string;
5419
+ project_id: string;
5420
+ webhook_id: string;
5417
5421
  };
5418
5422
  query?: {
5419
5423
  limit?: number;
5420
5424
  offset?: number;
5421
5425
  };
5422
- url: '/projects/{projectId}/webhooks/{webhookId}/deliveries';
5426
+ url: '/projects/{project_id}/webhooks/{webhook_id}/deliveries';
5423
5427
  };
5424
5428
  type ListWebhookDeliveriesErrors = {
5425
5429
  /**
@@ -5445,12 +5449,12 @@ type ListWebhookDeliveriesResponse = ListWebhookDeliveriesResponses[keyof ListWe
5445
5449
  type GetWebhookDeliveryData = {
5446
5450
  body?: never;
5447
5451
  path: {
5448
- projectId: string;
5449
- webhookId: string;
5450
- deliveryId: string;
5452
+ project_id: string;
5453
+ webhook_id: string;
5454
+ delivery_id: string;
5451
5455
  };
5452
5456
  query?: never;
5453
- url: '/projects/{projectId}/webhooks/{webhookId}/deliveries/{deliveryId}';
5457
+ url: '/projects/{project_id}/webhooks/{webhook_id}/deliveries/{delivery_id}';
5454
5458
  };
5455
5459
  type GetWebhookDeliveryErrors = {
5456
5460
  /**
@@ -5476,11 +5480,11 @@ type GetWebhookDeliveryResponse = GetWebhookDeliveryResponses[keyof GetWebhookDe
5476
5480
  type RotateWebhookSecretData = {
5477
5481
  body?: never;
5478
5482
  path: {
5479
- projectId: string;
5480
- webhookId: string;
5483
+ project_id: string;
5484
+ webhook_id: string;
5481
5485
  };
5482
5486
  query?: never;
5483
- url: '/projects/{projectId}/webhooks/{webhookId}/rotate-secret';
5487
+ url: '/projects/{project_id}/webhooks/{webhook_id}/rotate-secret';
5484
5488
  };
5485
5489
  type RotateWebhookSecretErrors = {
5486
5490
  /**
@@ -6248,4 +6252,64 @@ declare class Webhooks {
6248
6252
  static rotateWebhookSecret<ThrowOnError extends boolean = false>(options: Options<RotateWebhookSecretData, ThrowOnError>): RequestResult<RotateWebhookSecretResponses, RotateWebhookSecretErrors, ThrowOnError, "fields">;
6249
6253
  }
6250
6254
 
6251
- 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, 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 };
6255
+ interface SoatClientOptions {
6256
+ /**
6257
+ * Base URL of the SOAT API (without the `/api/v1` prefix).
6258
+ * Defaults to `/api/v1` when not provided.
6259
+ *
6260
+ * @example 'https://api.example.com/api/v1'
6261
+ */
6262
+ baseUrl?: string;
6263
+ /**
6264
+ * Bearer token (JWT or API key starting with `sk_`) used for authentication.
6265
+ * Sets the `Authorization: Bearer <token>` header on every request.
6266
+ */
6267
+ token?: string;
6268
+ /**
6269
+ * Custom headers merged into every request. Use this when you need fine-
6270
+ * grained control over auth headers or want to pass additional headers.
6271
+ */
6272
+ headers?: Record<string, string>;
6273
+ }
6274
+ /**
6275
+ * Stripe-style SOAT client.
6276
+ *
6277
+ * Create an instance once and reuse it throughout your application:
6278
+ *
6279
+ * ```ts
6280
+ * import { SoatClient } from '@soat/sdk';
6281
+ *
6282
+ * const soat = new SoatClient({ baseUrl: 'https://api.example.com/api/v1', token: 'sk_...' });
6283
+ *
6284
+ * const { data, error } = await soat.sessions.addSessionMessage({
6285
+ * path: { agent_id: AGENT_ID, session_id: SESSION_ID },
6286
+ * body: { message: 'What is the capital of France?' },
6287
+ * });
6288
+ * ```
6289
+ *
6290
+ * The instance exposes one property per API resource. Each property mirrors
6291
+ * the corresponding static class from the generated SDK, so all method
6292
+ * signatures, types, and return values are identical — the only difference
6293
+ * is that you never need to supply `client` yourself.
6294
+ */
6295
+ declare class SoatClient {
6296
+ readonly actors: typeof Actors;
6297
+ readonly agentTools: typeof AgentTools;
6298
+ readonly agentTraces: typeof AgentTraces;
6299
+ readonly agents: typeof Agents;
6300
+ readonly aiProviders: typeof AiProviders;
6301
+ readonly apiKeys: typeof ApiKeys;
6302
+ readonly chats: typeof Chats;
6303
+ readonly conversations: typeof Conversations;
6304
+ readonly documents: typeof Documents;
6305
+ readonly files: typeof Files;
6306
+ readonly policies: typeof Policies;
6307
+ readonly projects: typeof Projects;
6308
+ readonly secrets: typeof Secrets;
6309
+ readonly sessions: typeof Sessions;
6310
+ readonly users: typeof Users;
6311
+ readonly webhooks: typeof Webhooks;
6312
+ constructor({ baseUrl, token, headers }?: SoatClientOptions);
6313
+ }
6314
+
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 };