@soat/sdk 0.14.0 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +131 -2
- package/dist/index.d.cts +586 -25
- package/dist/index.d.mts +586 -25
- package/dist/index.mjs +131 -3
- package/package.json +7 -9
package/dist/index.d.cts
CHANGED
|
@@ -119,6 +119,10 @@ interface Config$1 {
|
|
|
119
119
|
*/
|
|
120
120
|
responseValidator?: (data: unknown) => Promise<unknown>;
|
|
121
121
|
}
|
|
122
|
+
/**
|
|
123
|
+
* Arbitrary metadata passed through the `meta` request option.
|
|
124
|
+
*/
|
|
125
|
+
interface ClientMeta {}
|
|
122
126
|
//#endregion
|
|
123
127
|
//#region src/generated/core/serverSentEvents.gen.d.ts
|
|
124
128
|
type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config$1, 'method' | 'responseTransformer' | 'responseValidator'> & {
|
|
@@ -1662,6 +1666,10 @@ type ToolResourceProperties = {
|
|
|
1662
1666
|
pipeline?: {
|
|
1663
1667
|
[key: string]: unknown;
|
|
1664
1668
|
} | null;
|
|
1669
|
+
/**
|
|
1670
|
+
* For `discussion` tools: the ID of the discussion to invoke.
|
|
1671
|
+
*/
|
|
1672
|
+
discussion_id?: string | null;
|
|
1665
1673
|
/**
|
|
1666
1674
|
* Universal JSON Logic mapping applied to the tool's raw result, for every tool type. Evaluated over `{ output: <raw result> }`, e.g. `{ "var": "output.text" }`. For `pipeline` tools this runs after the pipeline's own `output` mapping.
|
|
1667
1675
|
*/
|
|
@@ -1757,6 +1765,53 @@ type WebhookResourceProperties = {
|
|
|
1757
1765
|
*/
|
|
1758
1766
|
events: Array<string>;
|
|
1759
1767
|
};
|
|
1768
|
+
/**
|
|
1769
|
+
* Binds a starter (manual, webhook, or schedule) to an executable target (orchestration, agent, or tool). Firings run under the project owner's confined run-as identity.
|
|
1770
|
+
*/
|
|
1771
|
+
type TriggerResourceProperties = {
|
|
1772
|
+
/**
|
|
1773
|
+
* Trigger display name (unique within the project)
|
|
1774
|
+
*/
|
|
1775
|
+
name: string;
|
|
1776
|
+
/**
|
|
1777
|
+
* Optional description
|
|
1778
|
+
*/
|
|
1779
|
+
description?: string | null;
|
|
1780
|
+
/**
|
|
1781
|
+
* Starter type. Immutable after creation
|
|
1782
|
+
*/
|
|
1783
|
+
type: 'manual' | 'webhook' | 'schedule';
|
|
1784
|
+
/**
|
|
1785
|
+
* The kind of resource this trigger activates
|
|
1786
|
+
*/
|
|
1787
|
+
target_type: 'orchestration' | 'agent' | 'tool';
|
|
1788
|
+
/**
|
|
1789
|
+
* Public ID of the target resource. Use { "ref": "LogicalId" } to reference an orchestration, agent, or tool defined in the template.
|
|
1790
|
+
*/
|
|
1791
|
+
target_id: string;
|
|
1792
|
+
/**
|
|
1793
|
+
* Tool targets only — the action for soat/mcp tools
|
|
1794
|
+
*/
|
|
1795
|
+
action?: string | null;
|
|
1796
|
+
/**
|
|
1797
|
+
* Static input shallow-merged under each firing's runtime input
|
|
1798
|
+
*/
|
|
1799
|
+
input?: {
|
|
1800
|
+
[key: string]: unknown;
|
|
1801
|
+
} | null;
|
|
1802
|
+
/**
|
|
1803
|
+
* 5-field cron expression (UTC). Required when type is schedule
|
|
1804
|
+
*/
|
|
1805
|
+
cron?: string | null;
|
|
1806
|
+
/**
|
|
1807
|
+
* Whether the trigger fires (default true)
|
|
1808
|
+
*/
|
|
1809
|
+
active?: boolean;
|
|
1810
|
+
/**
|
|
1811
|
+
* Optional boundary policy that further confines the run-as identity
|
|
1812
|
+
*/
|
|
1813
|
+
policy_id?: string | null;
|
|
1814
|
+
};
|
|
1760
1815
|
/**
|
|
1761
1816
|
* Creates an API key scoped to the formation's project and optionally restricted by a set of policies. The key is owned by the project owner.
|
|
1762
1817
|
*/
|
|
@@ -2024,12 +2079,12 @@ type ResourceDeclaration = {
|
|
|
2024
2079
|
/**
|
|
2025
2080
|
* Resource type
|
|
2026
2081
|
*/
|
|
2027
|
-
type: 'ai_provider' | 'tool' | 'agent' | 'actor' | 'api_key' | 'chat' | 'conversation' | 'document' | 'file' | 'ingestion_rule' | 'memory' | 'memory_entry' | 'orchestration' | 'policy' | 'secret' | 'session' | 'webhook';
|
|
2082
|
+
type: 'ai_provider' | 'tool' | 'agent' | 'actor' | 'api_key' | 'chat' | 'conversation' | 'document' | 'file' | 'ingestion_rule' | 'memory' | 'memory_entry' | 'orchestration' | 'policy' | 'secret' | 'session' | 'webhook' | 'trigger';
|
|
2028
2083
|
/**
|
|
2029
2084
|
* Resource properties. Values may use `{ "ref": "logicalId" }` to reference physical IDs of other resources in the template, `{ "param": "ParamName" }` to substitute a parameter value, or `{ "sub": "text ${ParamName}" }` to interpolate parameter values into a string.
|
|
2030
2085
|
*
|
|
2031
2086
|
*/
|
|
2032
|
-
properties: AgentResourceProperties | ActorResourceProperties | AiProviderResourceProperties | ToolResourceProperties | ApiKeyResourceProperties | ChatResourceProperties | ConversationResourceProperties | DiscussionResourceProperties | DocumentResourceProperties | FileResourceProperties | IngestionRuleResourceProperties | MemoryResourceProperties | MemoryEntryResourceProperties | OrchestrationResourceProperties | PolicyResourceProperties | SecretResourceProperties | SessionResourceProperties | WebhookResourceProperties;
|
|
2087
|
+
properties: AgentResourceProperties | ActorResourceProperties | AiProviderResourceProperties | ToolResourceProperties | ApiKeyResourceProperties | ChatResourceProperties | ConversationResourceProperties | DiscussionResourceProperties | DocumentResourceProperties | FileResourceProperties | IngestionRuleResourceProperties | MemoryResourceProperties | MemoryEntryResourceProperties | OrchestrationResourceProperties | PolicyResourceProperties | SecretResourceProperties | SessionResourceProperties | WebhookResourceProperties | TriggerResourceProperties;
|
|
2033
2088
|
/**
|
|
2034
2089
|
* Explicit dependency list. In addition to implicit `ref` dependencies.
|
|
2035
2090
|
*/
|
|
@@ -3091,11 +3146,9 @@ type Tool = {
|
|
|
3091
3146
|
[key: string]: unknown;
|
|
3092
3147
|
} | null;
|
|
3093
3148
|
/**
|
|
3094
|
-
*
|
|
3149
|
+
* For `discussion` tools: the ID of the discussion to invoke. Calling the tool with a `topic` runs that discussion synchronously and returns its outcome + run id as the tool result.
|
|
3095
3150
|
*/
|
|
3096
|
-
|
|
3097
|
-
discussion_id?: string;
|
|
3098
|
-
} | null;
|
|
3151
|
+
discussion_id?: string | null;
|
|
3099
3152
|
/**
|
|
3100
3153
|
* Universal JSON Logic mapping applied to the tool's raw result, for every tool type (`http`, `mcp`, `soat`, `pipeline`, `client`). Evaluated over `{ output: <raw result> }`, so `{ "var": "output.text" }` extracts a bare scalar field instead of requiring a wrapping `pipeline` tool. For `pipeline` tools this runs *after* the pipeline's own `output` mapping, over that mapping's result.
|
|
3101
3154
|
*/
|
|
@@ -3158,11 +3211,9 @@ type CreateToolRequest = {
|
|
|
3158
3211
|
[key: string]: unknown;
|
|
3159
3212
|
};
|
|
3160
3213
|
/**
|
|
3161
|
-
*
|
|
3214
|
+
* For `discussion` tools: the ID of the discussion to invoke.
|
|
3162
3215
|
*/
|
|
3163
|
-
|
|
3164
|
-
discussion_id?: string;
|
|
3165
|
-
};
|
|
3216
|
+
discussion_id?: string;
|
|
3166
3217
|
/**
|
|
3167
3218
|
* Universal JSON Logic mapping applied to the tool's raw result. See the `output_mapping` field on the Tool schema for details.
|
|
3168
3219
|
*/
|
|
@@ -3201,11 +3252,9 @@ type UpdateToolRequest = {
|
|
|
3201
3252
|
[key: string]: unknown;
|
|
3202
3253
|
} | null;
|
|
3203
3254
|
/**
|
|
3204
|
-
*
|
|
3255
|
+
* For `discussion` tools: the ID of the discussion to invoke.
|
|
3205
3256
|
*/
|
|
3206
|
-
|
|
3207
|
-
discussion_id?: string;
|
|
3208
|
-
} | null;
|
|
3257
|
+
discussion_id?: string | null;
|
|
3209
3258
|
/**
|
|
3210
3259
|
* Universal JSON Logic mapping applied to the tool's raw result. See the `output_mapping` field on the Tool schema for details.
|
|
3211
3260
|
*/
|
|
@@ -3303,9 +3352,132 @@ type TraceTreeNode = {
|
|
|
3303
3352
|
*/
|
|
3304
3353
|
generations?: Array<Generation>;
|
|
3305
3354
|
};
|
|
3355
|
+
type Trigger = {
|
|
3356
|
+
id?: string;
|
|
3357
|
+
project_id?: string;
|
|
3358
|
+
name?: string;
|
|
3359
|
+
description?: string | null;
|
|
3360
|
+
type?: 'manual' | 'webhook' | 'schedule';
|
|
3361
|
+
target_type?: 'orchestration' | 'agent' | 'tool';
|
|
3362
|
+
/**
|
|
3363
|
+
* Public ID of the target resource (orchestration, agent, or tool)
|
|
3364
|
+
*/
|
|
3365
|
+
target_id?: string;
|
|
3366
|
+
/**
|
|
3367
|
+
* Tool targets only — the action for soat/mcp tools
|
|
3368
|
+
*/
|
|
3369
|
+
action?: string | null;
|
|
3370
|
+
/**
|
|
3371
|
+
* Static input, shallow-merged under fire-time input
|
|
3372
|
+
*/
|
|
3373
|
+
input?: {
|
|
3374
|
+
[key: string]: unknown;
|
|
3375
|
+
} | null;
|
|
3376
|
+
/**
|
|
3377
|
+
* 5-field cron expression (UTC). Present only for schedule triggers
|
|
3378
|
+
*/
|
|
3379
|
+
cron?: string | null;
|
|
3380
|
+
active?: boolean;
|
|
3381
|
+
/**
|
|
3382
|
+
* Optional boundary policy that further restricts firings
|
|
3383
|
+
*/
|
|
3384
|
+
policy_id?: string | null;
|
|
3385
|
+
/**
|
|
3386
|
+
* Read-only, schedule triggers only. Server-computed next fire time
|
|
3387
|
+
*/
|
|
3388
|
+
next_fire_at?: Date | null;
|
|
3389
|
+
created_at?: Date;
|
|
3390
|
+
updated_at?: Date;
|
|
3391
|
+
};
|
|
3392
|
+
type TriggerWithSecret = Trigger & {
|
|
3393
|
+
/**
|
|
3394
|
+
* Webhook triggers only. Returned only on create and rotate
|
|
3395
|
+
*/
|
|
3396
|
+
secret?: string;
|
|
3397
|
+
};
|
|
3398
|
+
type CreateTriggerRequest = {
|
|
3399
|
+
/**
|
|
3400
|
+
* Public ID of the project. Optional when authenticating with a project-scoped API key, which defaults to the key's project; required otherwise.
|
|
3401
|
+
*/
|
|
3402
|
+
project_id?: string;
|
|
3403
|
+
name: string;
|
|
3404
|
+
description?: string;
|
|
3405
|
+
type: 'manual' | 'webhook' | 'schedule';
|
|
3406
|
+
target_type: 'orchestration' | 'agent' | 'tool';
|
|
3407
|
+
target_id: string;
|
|
3408
|
+
/**
|
|
3409
|
+
* Tool targets only — the action for soat/mcp tools
|
|
3410
|
+
*/
|
|
3411
|
+
action?: string;
|
|
3412
|
+
input?: {
|
|
3413
|
+
[key: string]: unknown;
|
|
3414
|
+
};
|
|
3415
|
+
/**
|
|
3416
|
+
* 5-field cron expression (UTC). Required when type is schedule
|
|
3417
|
+
*/
|
|
3418
|
+
cron?: string;
|
|
3419
|
+
active?: boolean;
|
|
3420
|
+
policy_id?: string;
|
|
3421
|
+
};
|
|
3422
|
+
type UpdateTriggerRequest = {
|
|
3423
|
+
name?: string;
|
|
3424
|
+
description?: string | null;
|
|
3425
|
+
target_type?: 'orchestration' | 'agent' | 'tool';
|
|
3426
|
+
target_id?: string;
|
|
3427
|
+
action?: string | null;
|
|
3428
|
+
input?: {
|
|
3429
|
+
[key: string]: unknown;
|
|
3430
|
+
} | null;
|
|
3431
|
+
cron?: string | null;
|
|
3432
|
+
active?: boolean;
|
|
3433
|
+
policy_id?: string | null;
|
|
3434
|
+
};
|
|
3435
|
+
type FireTriggerRequest = {
|
|
3436
|
+
/**
|
|
3437
|
+
* Fire-time input, shallow-merged over the trigger's static input
|
|
3438
|
+
*/
|
|
3439
|
+
input?: {
|
|
3440
|
+
[key: string]: unknown;
|
|
3441
|
+
};
|
|
3442
|
+
};
|
|
3443
|
+
type TriggerSecretResponse = {
|
|
3444
|
+
secret?: string;
|
|
3445
|
+
};
|
|
3446
|
+
type TriggerFiring = {
|
|
3447
|
+
id?: string;
|
|
3448
|
+
trigger_id?: string;
|
|
3449
|
+
project_id?: string;
|
|
3450
|
+
source?: 'manual' | 'webhook' | 'schedule';
|
|
3451
|
+
status?: 'pending' | 'running' | 'succeeded' | 'failed';
|
|
3452
|
+
input?: {
|
|
3453
|
+
[key: string]: unknown;
|
|
3454
|
+
} | null;
|
|
3455
|
+
/**
|
|
3456
|
+
* { target_type, result_id, status, output } — output truncated
|
|
3457
|
+
*/
|
|
3458
|
+
result?: {
|
|
3459
|
+
[key: string]: unknown;
|
|
3460
|
+
} | null;
|
|
3461
|
+
/**
|
|
3462
|
+
* { code, message, meta }
|
|
3463
|
+
*/
|
|
3464
|
+
error?: {
|
|
3465
|
+
[key: string]: unknown;
|
|
3466
|
+
} | null;
|
|
3467
|
+
started_at?: Date | null;
|
|
3468
|
+
completed_at?: Date | null;
|
|
3469
|
+
created_at?: Date;
|
|
3470
|
+
updated_at?: Date;
|
|
3471
|
+
};
|
|
3472
|
+
type TriggerFiringListResponse = {
|
|
3473
|
+
data?: Array<TriggerFiring>;
|
|
3474
|
+
total?: number;
|
|
3475
|
+
limit?: number;
|
|
3476
|
+
offset?: number;
|
|
3477
|
+
};
|
|
3306
3478
|
type UserRecord = {
|
|
3307
3479
|
/**
|
|
3308
|
-
* Public user ID (
|
|
3480
|
+
* Public user ID (user_ prefix)
|
|
3309
3481
|
*/
|
|
3310
3482
|
id?: string;
|
|
3311
3483
|
username?: string;
|
|
@@ -3315,7 +3487,7 @@ type UserRecord = {
|
|
|
3315
3487
|
};
|
|
3316
3488
|
type LoginResponse = {
|
|
3317
3489
|
/**
|
|
3318
|
-
* Public user ID (
|
|
3490
|
+
* Public user ID (user_ prefix)
|
|
3319
3491
|
*/
|
|
3320
3492
|
id?: string;
|
|
3321
3493
|
username?: string;
|
|
@@ -4090,10 +4262,11 @@ type ListAiProvidersResponses = {
|
|
|
4090
4262
|
200: Array<{
|
|
4091
4263
|
id?: string;
|
|
4092
4264
|
name?: string;
|
|
4093
|
-
provider?: 'openai' | 'anthropic' | 'google' | '
|
|
4265
|
+
provider?: 'openai' | 'anthropic' | 'google' | 'xai' | 'groq' | 'ollama' | 'azure' | 'bedrock' | 'gateway' | 'custom';
|
|
4094
4266
|
default_model?: string;
|
|
4095
4267
|
project_id?: string;
|
|
4096
4268
|
created_at?: Date;
|
|
4269
|
+
updated_at?: Date;
|
|
4097
4270
|
}>;
|
|
4098
4271
|
};
|
|
4099
4272
|
type ListAiProvidersResponse = ListAiProvidersResponses[keyof ListAiProvidersResponses];
|
|
@@ -4110,7 +4283,7 @@ type CreateAiProviderData = {
|
|
|
4110
4283
|
/**
|
|
4111
4284
|
* LLM provider
|
|
4112
4285
|
*/
|
|
4113
|
-
provider: 'openai' | 'anthropic' | 'google' | '
|
|
4286
|
+
provider: 'openai' | 'anthropic' | 'google' | 'xai' | 'groq' | 'ollama' | 'azure' | 'bedrock' | 'gateway' | 'custom';
|
|
4114
4287
|
/**
|
|
4115
4288
|
* Default model to use
|
|
4116
4289
|
*/
|
|
@@ -4163,6 +4336,7 @@ type CreateAiProviderResponses = {
|
|
|
4163
4336
|
default_model?: string;
|
|
4164
4337
|
project_id?: string;
|
|
4165
4338
|
created_at?: Date;
|
|
4339
|
+
updated_at?: Date;
|
|
4166
4340
|
};
|
|
4167
4341
|
};
|
|
4168
4342
|
type CreateAiProviderResponse = CreateAiProviderResponses[keyof CreateAiProviderResponses];
|
|
@@ -4238,6 +4412,7 @@ type GetAiProviderResponses = {
|
|
|
4238
4412
|
[key: string]: unknown;
|
|
4239
4413
|
};
|
|
4240
4414
|
created_at?: Date;
|
|
4415
|
+
updated_at?: Date;
|
|
4241
4416
|
};
|
|
4242
4417
|
};
|
|
4243
4418
|
type GetAiProviderResponse = GetAiProviderResponses[keyof GetAiProviderResponses];
|
|
@@ -4247,7 +4422,7 @@ type UpdateAiProviderData = {
|
|
|
4247
4422
|
/**
|
|
4248
4423
|
* LLM provider
|
|
4249
4424
|
*/
|
|
4250
|
-
provider?: 'openai' | 'anthropic' | 'google' | '
|
|
4425
|
+
provider?: 'openai' | 'anthropic' | 'google' | 'xai' | 'groq' | 'ollama' | 'azure' | 'bedrock' | 'gateway' | 'custom';
|
|
4251
4426
|
default_model?: string;
|
|
4252
4427
|
secret_id?: string;
|
|
4253
4428
|
base_url?: string;
|
|
@@ -8389,8 +8564,13 @@ type ListSecretsResponses = {
|
|
|
8389
8564
|
200: Array<{
|
|
8390
8565
|
id?: string;
|
|
8391
8566
|
name?: string;
|
|
8567
|
+
/**
|
|
8568
|
+
* Whether an encrypted value is stored for this secret
|
|
8569
|
+
*/
|
|
8570
|
+
has_value?: boolean;
|
|
8392
8571
|
project_id?: string;
|
|
8393
8572
|
created_at?: Date;
|
|
8573
|
+
updated_at?: Date;
|
|
8394
8574
|
}>;
|
|
8395
8575
|
};
|
|
8396
8576
|
type ListSecretsResponse = ListSecretsResponses[keyof ListSecretsResponses];
|
|
@@ -8438,8 +8618,13 @@ type CreateSecretResponses = {
|
|
|
8438
8618
|
201: {
|
|
8439
8619
|
id?: string;
|
|
8440
8620
|
name?: string;
|
|
8621
|
+
/**
|
|
8622
|
+
* Whether an encrypted value is stored for this secret
|
|
8623
|
+
*/
|
|
8624
|
+
has_value?: boolean;
|
|
8441
8625
|
project_id?: string;
|
|
8442
8626
|
created_at?: Date;
|
|
8627
|
+
updated_at?: Date;
|
|
8443
8628
|
};
|
|
8444
8629
|
};
|
|
8445
8630
|
type CreateSecretResponse = CreateSecretResponses[keyof CreateSecretResponses];
|
|
@@ -8507,11 +8692,12 @@ type GetSecretResponses = {
|
|
|
8507
8692
|
id?: string;
|
|
8508
8693
|
name?: string;
|
|
8509
8694
|
/**
|
|
8510
|
-
*
|
|
8695
|
+
* Whether an encrypted value is stored for this secret
|
|
8511
8696
|
*/
|
|
8512
|
-
|
|
8697
|
+
has_value?: boolean;
|
|
8513
8698
|
project_id?: string;
|
|
8514
8699
|
created_at?: Date;
|
|
8700
|
+
updated_at?: Date;
|
|
8515
8701
|
};
|
|
8516
8702
|
};
|
|
8517
8703
|
type GetSecretResponse = GetSecretResponses[keyof GetSecretResponses];
|
|
@@ -9283,6 +9469,317 @@ type GetTraceTreeResponses = {
|
|
|
9283
9469
|
200: TraceTreeNode;
|
|
9284
9470
|
};
|
|
9285
9471
|
type GetTraceTreeResponse = GetTraceTreeResponses[keyof GetTraceTreeResponses];
|
|
9472
|
+
type ListTriggersData = {
|
|
9473
|
+
body?: never;
|
|
9474
|
+
path?: never;
|
|
9475
|
+
query?: {
|
|
9476
|
+
project_id?: string;
|
|
9477
|
+
type?: 'manual' | 'webhook' | 'schedule';
|
|
9478
|
+
target_type?: 'orchestration' | 'agent' | 'tool';
|
|
9479
|
+
};
|
|
9480
|
+
url: '/api/v1/triggers';
|
|
9481
|
+
};
|
|
9482
|
+
type ListTriggersErrors = {
|
|
9483
|
+
/**
|
|
9484
|
+
* Unauthorized
|
|
9485
|
+
*/
|
|
9486
|
+
401: unknown;
|
|
9487
|
+
/**
|
|
9488
|
+
* Forbidden
|
|
9489
|
+
*/
|
|
9490
|
+
403: unknown;
|
|
9491
|
+
};
|
|
9492
|
+
type ListTriggersResponses = {
|
|
9493
|
+
/**
|
|
9494
|
+
* A list of triggers
|
|
9495
|
+
*/
|
|
9496
|
+
200: Array<Trigger>;
|
|
9497
|
+
};
|
|
9498
|
+
type ListTriggersResponse = ListTriggersResponses[keyof ListTriggersResponses];
|
|
9499
|
+
type CreateTriggerData = {
|
|
9500
|
+
body: CreateTriggerRequest;
|
|
9501
|
+
path?: never;
|
|
9502
|
+
query?: never;
|
|
9503
|
+
url: '/api/v1/triggers';
|
|
9504
|
+
};
|
|
9505
|
+
type CreateTriggerErrors = {
|
|
9506
|
+
/**
|
|
9507
|
+
* Bad request
|
|
9508
|
+
*/
|
|
9509
|
+
400: unknown;
|
|
9510
|
+
/**
|
|
9511
|
+
* Unauthorized
|
|
9512
|
+
*/
|
|
9513
|
+
401: unknown;
|
|
9514
|
+
/**
|
|
9515
|
+
* Forbidden
|
|
9516
|
+
*/
|
|
9517
|
+
403: unknown;
|
|
9518
|
+
};
|
|
9519
|
+
type CreateTriggerResponses = {
|
|
9520
|
+
/**
|
|
9521
|
+
* Trigger created
|
|
9522
|
+
*/
|
|
9523
|
+
201: TriggerWithSecret;
|
|
9524
|
+
};
|
|
9525
|
+
type CreateTriggerResponse = CreateTriggerResponses[keyof CreateTriggerResponses];
|
|
9526
|
+
type DeleteTriggerData = {
|
|
9527
|
+
body?: never;
|
|
9528
|
+
path: {
|
|
9529
|
+
trigger_id: string;
|
|
9530
|
+
};
|
|
9531
|
+
query?: never;
|
|
9532
|
+
url: '/api/v1/triggers/{trigger_id}';
|
|
9533
|
+
};
|
|
9534
|
+
type DeleteTriggerErrors = {
|
|
9535
|
+
/**
|
|
9536
|
+
* Unauthorized
|
|
9537
|
+
*/
|
|
9538
|
+
401: unknown;
|
|
9539
|
+
/**
|
|
9540
|
+
* Forbidden
|
|
9541
|
+
*/
|
|
9542
|
+
403: unknown;
|
|
9543
|
+
/**
|
|
9544
|
+
* Trigger not found
|
|
9545
|
+
*/
|
|
9546
|
+
404: unknown;
|
|
9547
|
+
};
|
|
9548
|
+
type DeleteTriggerResponses = {
|
|
9549
|
+
/**
|
|
9550
|
+
* Trigger deleted
|
|
9551
|
+
*/
|
|
9552
|
+
204: void;
|
|
9553
|
+
};
|
|
9554
|
+
type DeleteTriggerResponse = DeleteTriggerResponses[keyof DeleteTriggerResponses];
|
|
9555
|
+
type GetTriggerData = {
|
|
9556
|
+
body?: never;
|
|
9557
|
+
path: {
|
|
9558
|
+
trigger_id: string;
|
|
9559
|
+
};
|
|
9560
|
+
query?: never;
|
|
9561
|
+
url: '/api/v1/triggers/{trigger_id}';
|
|
9562
|
+
};
|
|
9563
|
+
type GetTriggerErrors = {
|
|
9564
|
+
/**
|
|
9565
|
+
* Unauthorized
|
|
9566
|
+
*/
|
|
9567
|
+
401: unknown;
|
|
9568
|
+
/**
|
|
9569
|
+
* Forbidden
|
|
9570
|
+
*/
|
|
9571
|
+
403: unknown;
|
|
9572
|
+
/**
|
|
9573
|
+
* Trigger not found
|
|
9574
|
+
*/
|
|
9575
|
+
404: unknown;
|
|
9576
|
+
};
|
|
9577
|
+
type GetTriggerResponses = {
|
|
9578
|
+
/**
|
|
9579
|
+
* Trigger details
|
|
9580
|
+
*/
|
|
9581
|
+
200: Trigger;
|
|
9582
|
+
};
|
|
9583
|
+
type GetTriggerResponse = GetTriggerResponses[keyof GetTriggerResponses];
|
|
9584
|
+
type UpdateTriggerData = {
|
|
9585
|
+
body: UpdateTriggerRequest;
|
|
9586
|
+
path: {
|
|
9587
|
+
trigger_id: string;
|
|
9588
|
+
};
|
|
9589
|
+
query?: never;
|
|
9590
|
+
url: '/api/v1/triggers/{trigger_id}';
|
|
9591
|
+
};
|
|
9592
|
+
type UpdateTriggerErrors = {
|
|
9593
|
+
/**
|
|
9594
|
+
* Bad request
|
|
9595
|
+
*/
|
|
9596
|
+
400: unknown;
|
|
9597
|
+
/**
|
|
9598
|
+
* Unauthorized
|
|
9599
|
+
*/
|
|
9600
|
+
401: unknown;
|
|
9601
|
+
/**
|
|
9602
|
+
* Forbidden
|
|
9603
|
+
*/
|
|
9604
|
+
403: unknown;
|
|
9605
|
+
/**
|
|
9606
|
+
* Trigger not found
|
|
9607
|
+
*/
|
|
9608
|
+
404: unknown;
|
|
9609
|
+
};
|
|
9610
|
+
type UpdateTriggerResponses = {
|
|
9611
|
+
/**
|
|
9612
|
+
* Trigger updated
|
|
9613
|
+
*/
|
|
9614
|
+
200: Trigger;
|
|
9615
|
+
};
|
|
9616
|
+
type UpdateTriggerResponse = UpdateTriggerResponses[keyof UpdateTriggerResponses];
|
|
9617
|
+
type FireTriggerData = {
|
|
9618
|
+
body?: FireTriggerRequest;
|
|
9619
|
+
path: {
|
|
9620
|
+
trigger_id: string;
|
|
9621
|
+
};
|
|
9622
|
+
query?: never;
|
|
9623
|
+
url: '/api/v1/triggers/{trigger_id}/fire';
|
|
9624
|
+
};
|
|
9625
|
+
type FireTriggerErrors = {
|
|
9626
|
+
/**
|
|
9627
|
+
* Bad request
|
|
9628
|
+
*/
|
|
9629
|
+
400: unknown;
|
|
9630
|
+
/**
|
|
9631
|
+
* Unauthorized
|
|
9632
|
+
*/
|
|
9633
|
+
401: unknown;
|
|
9634
|
+
/**
|
|
9635
|
+
* Forbidden
|
|
9636
|
+
*/
|
|
9637
|
+
403: unknown;
|
|
9638
|
+
/**
|
|
9639
|
+
* Trigger not found
|
|
9640
|
+
*/
|
|
9641
|
+
404: unknown;
|
|
9642
|
+
/**
|
|
9643
|
+
* Trigger inactive or creator unavailable
|
|
9644
|
+
*/
|
|
9645
|
+
409: unknown;
|
|
9646
|
+
};
|
|
9647
|
+
type FireTriggerResponses = {
|
|
9648
|
+
/**
|
|
9649
|
+
* Terminal firing record
|
|
9650
|
+
*/
|
|
9651
|
+
200: TriggerFiring;
|
|
9652
|
+
};
|
|
9653
|
+
type FireTriggerResponse = FireTriggerResponses[keyof FireTriggerResponses];
|
|
9654
|
+
type GetTriggerSecretData = {
|
|
9655
|
+
body?: never;
|
|
9656
|
+
path: {
|
|
9657
|
+
trigger_id: string;
|
|
9658
|
+
};
|
|
9659
|
+
query?: never;
|
|
9660
|
+
url: '/api/v1/triggers/{trigger_id}/secret';
|
|
9661
|
+
};
|
|
9662
|
+
type GetTriggerSecretErrors = {
|
|
9663
|
+
/**
|
|
9664
|
+
* Trigger is not a webhook trigger
|
|
9665
|
+
*/
|
|
9666
|
+
400: unknown;
|
|
9667
|
+
/**
|
|
9668
|
+
* Unauthorized
|
|
9669
|
+
*/
|
|
9670
|
+
401: unknown;
|
|
9671
|
+
/**
|
|
9672
|
+
* Forbidden
|
|
9673
|
+
*/
|
|
9674
|
+
403: unknown;
|
|
9675
|
+
/**
|
|
9676
|
+
* Trigger not found
|
|
9677
|
+
*/
|
|
9678
|
+
404: unknown;
|
|
9679
|
+
};
|
|
9680
|
+
type GetTriggerSecretResponses = {
|
|
9681
|
+
/**
|
|
9682
|
+
* Trigger secret
|
|
9683
|
+
*/
|
|
9684
|
+
200: TriggerSecretResponse;
|
|
9685
|
+
};
|
|
9686
|
+
type GetTriggerSecretResponse = GetTriggerSecretResponses[keyof GetTriggerSecretResponses];
|
|
9687
|
+
type RotateTriggerSecretData = {
|
|
9688
|
+
body?: never;
|
|
9689
|
+
path: {
|
|
9690
|
+
trigger_id: string;
|
|
9691
|
+
};
|
|
9692
|
+
query?: never;
|
|
9693
|
+
url: '/api/v1/triggers/{trigger_id}/rotate-secret';
|
|
9694
|
+
};
|
|
9695
|
+
type RotateTriggerSecretErrors = {
|
|
9696
|
+
/**
|
|
9697
|
+
* Trigger is not a webhook trigger
|
|
9698
|
+
*/
|
|
9699
|
+
400: unknown;
|
|
9700
|
+
/**
|
|
9701
|
+
* Unauthorized
|
|
9702
|
+
*/
|
|
9703
|
+
401: unknown;
|
|
9704
|
+
/**
|
|
9705
|
+
* Forbidden
|
|
9706
|
+
*/
|
|
9707
|
+
403: unknown;
|
|
9708
|
+
/**
|
|
9709
|
+
* Trigger not found
|
|
9710
|
+
*/
|
|
9711
|
+
404: unknown;
|
|
9712
|
+
};
|
|
9713
|
+
type RotateTriggerSecretResponses = {
|
|
9714
|
+
/**
|
|
9715
|
+
* Secret rotated
|
|
9716
|
+
*/
|
|
9717
|
+
200: TriggerWithSecret;
|
|
9718
|
+
};
|
|
9719
|
+
type RotateTriggerSecretResponse = RotateTriggerSecretResponses[keyof RotateTriggerSecretResponses];
|
|
9720
|
+
type ListTriggerFiringsData = {
|
|
9721
|
+
body?: never;
|
|
9722
|
+
path?: never;
|
|
9723
|
+
query: {
|
|
9724
|
+
/**
|
|
9725
|
+
* Trigger to list firings for (trg_...)
|
|
9726
|
+
*/
|
|
9727
|
+
trigger_id: string;
|
|
9728
|
+
limit?: number;
|
|
9729
|
+
offset?: number;
|
|
9730
|
+
};
|
|
9731
|
+
url: '/api/v1/trigger-firings';
|
|
9732
|
+
};
|
|
9733
|
+
type ListTriggerFiringsErrors = {
|
|
9734
|
+
/**
|
|
9735
|
+
* Unauthorized
|
|
9736
|
+
*/
|
|
9737
|
+
401: unknown;
|
|
9738
|
+
/**
|
|
9739
|
+
* Forbidden
|
|
9740
|
+
*/
|
|
9741
|
+
403: unknown;
|
|
9742
|
+
/**
|
|
9743
|
+
* Trigger not found
|
|
9744
|
+
*/
|
|
9745
|
+
404: unknown;
|
|
9746
|
+
};
|
|
9747
|
+
type ListTriggerFiringsResponses = {
|
|
9748
|
+
/**
|
|
9749
|
+
* A list of firings
|
|
9750
|
+
*/
|
|
9751
|
+
200: TriggerFiringListResponse;
|
|
9752
|
+
};
|
|
9753
|
+
type ListTriggerFiringsResponse = ListTriggerFiringsResponses[keyof ListTriggerFiringsResponses];
|
|
9754
|
+
type GetTriggerFiringData = {
|
|
9755
|
+
body?: never;
|
|
9756
|
+
path: {
|
|
9757
|
+
firing_id: string;
|
|
9758
|
+
};
|
|
9759
|
+
query?: never;
|
|
9760
|
+
url: '/api/v1/trigger-firings/{firing_id}';
|
|
9761
|
+
};
|
|
9762
|
+
type GetTriggerFiringErrors = {
|
|
9763
|
+
/**
|
|
9764
|
+
* Unauthorized
|
|
9765
|
+
*/
|
|
9766
|
+
401: unknown;
|
|
9767
|
+
/**
|
|
9768
|
+
* Forbidden
|
|
9769
|
+
*/
|
|
9770
|
+
403: unknown;
|
|
9771
|
+
/**
|
|
9772
|
+
* Firing not found
|
|
9773
|
+
*/
|
|
9774
|
+
404: unknown;
|
|
9775
|
+
};
|
|
9776
|
+
type GetTriggerFiringResponses = {
|
|
9777
|
+
/**
|
|
9778
|
+
* Firing details
|
|
9779
|
+
*/
|
|
9780
|
+
200: TriggerFiring;
|
|
9781
|
+
};
|
|
9782
|
+
type GetTriggerFiringResponse = GetTriggerFiringResponses[keyof GetTriggerFiringResponses];
|
|
9286
9783
|
type GetCurrentUserData = {
|
|
9287
9784
|
body?: never;
|
|
9288
9785
|
path?: never;
|
|
@@ -9468,7 +9965,7 @@ type AttachUserPoliciesData = {
|
|
|
9468
9965
|
};
|
|
9469
9966
|
path: {
|
|
9470
9967
|
/**
|
|
9471
|
-
* User public ID (
|
|
9968
|
+
* User public ID (user_ prefix)
|
|
9472
9969
|
*/
|
|
9473
9970
|
user_id: string;
|
|
9474
9971
|
};
|
|
@@ -9778,7 +10275,7 @@ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean
|
|
|
9778
10275
|
* You can pass arbitrary values through the `meta` object. This can be
|
|
9779
10276
|
* used to access values that aren't defined as part of the SDK function.
|
|
9780
10277
|
*/
|
|
9781
|
-
meta?: Record<string, unknown
|
|
10278
|
+
meta?: keyof ClientMeta extends never ? Record<string, unknown> : ClientMeta;
|
|
9782
10279
|
};
|
|
9783
10280
|
declare class Actors {
|
|
9784
10281
|
/**
|
|
@@ -10682,7 +11179,8 @@ declare class Sessions {
|
|
|
10682
11179
|
/**
|
|
10683
11180
|
* Delete a session
|
|
10684
11181
|
*
|
|
10685
|
-
* Deletes the session and its underlying conversation and
|
|
11182
|
+
* Deletes the session and its underlying conversation and messages. The session's actor is not deleted. Generations and traces produced by the session are not deleted either, since they are not linked to the session or conversation.
|
|
11183
|
+
*
|
|
10686
11184
|
*/
|
|
10687
11185
|
static deleteSession<ThrowOnError extends boolean = false>(options: Options<DeleteSessionData, ThrowOnError>): RequestResult<DeleteSessionResponses, DeleteSessionErrors, ThrowOnError>;
|
|
10688
11186
|
/**
|
|
@@ -10799,6 +11297,68 @@ declare class Traces {
|
|
|
10799
11297
|
*/
|
|
10800
11298
|
static getTraceTree<ThrowOnError extends boolean = false>(options: Options<GetTraceTreeData, ThrowOnError>): RequestResult<GetTraceTreeResponses, GetTraceTreeErrors, ThrowOnError>;
|
|
10801
11299
|
}
|
|
11300
|
+
declare class Triggers {
|
|
11301
|
+
/**
|
|
11302
|
+
* List triggers
|
|
11303
|
+
*
|
|
11304
|
+
* Lists triggers. Filter by project, starter type, or target type.
|
|
11305
|
+
*/
|
|
11306
|
+
static listTriggers<ThrowOnError extends boolean = false>(options?: Options<ListTriggersData, ThrowOnError>): RequestResult<ListTriggersResponses, ListTriggersErrors, ThrowOnError>;
|
|
11307
|
+
/**
|
|
11308
|
+
* Create a trigger
|
|
11309
|
+
*
|
|
11310
|
+
* Creates a new trigger for a project
|
|
11311
|
+
*/
|
|
11312
|
+
static createTrigger<ThrowOnError extends boolean = false>(options: Options<CreateTriggerData, ThrowOnError>): RequestResult<CreateTriggerResponses, CreateTriggerErrors, ThrowOnError>;
|
|
11313
|
+
/**
|
|
11314
|
+
* Delete a trigger
|
|
11315
|
+
*
|
|
11316
|
+
* Deletes a trigger
|
|
11317
|
+
*/
|
|
11318
|
+
static deleteTrigger<ThrowOnError extends boolean = false>(options: Options<DeleteTriggerData, ThrowOnError>): RequestResult<DeleteTriggerResponses, DeleteTriggerErrors, ThrowOnError>;
|
|
11319
|
+
/**
|
|
11320
|
+
* Get a trigger
|
|
11321
|
+
*
|
|
11322
|
+
* Retrieves the details of a specific trigger
|
|
11323
|
+
*/
|
|
11324
|
+
static getTrigger<ThrowOnError extends boolean = false>(options: Options<GetTriggerData, ThrowOnError>): RequestResult<GetTriggerResponses, GetTriggerErrors, ThrowOnError>;
|
|
11325
|
+
/**
|
|
11326
|
+
* Update a trigger
|
|
11327
|
+
*
|
|
11328
|
+
* Updates an existing trigger's configuration. The type is immutable.
|
|
11329
|
+
*/
|
|
11330
|
+
static updateTrigger<ThrowOnError extends boolean = false>(options: Options<UpdateTriggerData, ThrowOnError>): RequestResult<UpdateTriggerResponses, UpdateTriggerErrors, ThrowOnError>;
|
|
11331
|
+
/**
|
|
11332
|
+
* Fire a trigger
|
|
11333
|
+
*
|
|
11334
|
+
* Fires a trigger synchronously and returns the terminal firing record.
|
|
11335
|
+
*/
|
|
11336
|
+
static fireTrigger<ThrowOnError extends boolean = false>(options: Options<FireTriggerData, ThrowOnError>): RequestResult<FireTriggerResponses, FireTriggerErrors, ThrowOnError>;
|
|
11337
|
+
/**
|
|
11338
|
+
* Get trigger secret
|
|
11339
|
+
*
|
|
11340
|
+
* Retrieves the signing secret for a webhook trigger
|
|
11341
|
+
*/
|
|
11342
|
+
static getTriggerSecret<ThrowOnError extends boolean = false>(options: Options<GetTriggerSecretData, ThrowOnError>): RequestResult<GetTriggerSecretResponses, GetTriggerSecretErrors, ThrowOnError>;
|
|
11343
|
+
/**
|
|
11344
|
+
* Rotate trigger secret
|
|
11345
|
+
*
|
|
11346
|
+
* Rotates the signing secret for a webhook trigger
|
|
11347
|
+
*/
|
|
11348
|
+
static rotateTriggerSecret<ThrowOnError extends boolean = false>(options: Options<RotateTriggerSecretData, ThrowOnError>): RequestResult<RotateTriggerSecretResponses, RotateTriggerSecretErrors, ThrowOnError>;
|
|
11349
|
+
/**
|
|
11350
|
+
* List trigger firings
|
|
11351
|
+
*
|
|
11352
|
+
* Lists firings for a trigger (trigger_id is required).
|
|
11353
|
+
*/
|
|
11354
|
+
static listTriggerFirings<ThrowOnError extends boolean = false>(options: Options<ListTriggerFiringsData, ThrowOnError>): RequestResult<ListTriggerFiringsResponses, ListTriggerFiringsErrors, ThrowOnError>;
|
|
11355
|
+
/**
|
|
11356
|
+
* Get a trigger firing
|
|
11357
|
+
*
|
|
11358
|
+
* Retrieves the details of a specific trigger firing
|
|
11359
|
+
*/
|
|
11360
|
+
static getTriggerFiring<ThrowOnError extends boolean = false>(options: Options<GetTriggerFiringData, ThrowOnError>): RequestResult<GetTriggerFiringResponses, GetTriggerFiringErrors, ThrowOnError>;
|
|
11361
|
+
}
|
|
10802
11362
|
declare class Users {
|
|
10803
11363
|
/**
|
|
10804
11364
|
* Get the current authenticated user
|
|
@@ -10967,6 +11527,7 @@ declare class SoatClient {
|
|
|
10967
11527
|
readonly sessions: typeof Sessions;
|
|
10968
11528
|
readonly tools: typeof Tools;
|
|
10969
11529
|
readonly traces: typeof Traces;
|
|
11530
|
+
readonly triggers: typeof Triggers;
|
|
10970
11531
|
readonly users: typeof Users;
|
|
10971
11532
|
readonly webhooks: typeof Webhooks;
|
|
10972
11533
|
constructor({
|
|
@@ -10976,4 +11537,4 @@ declare class SoatClient {
|
|
|
10976
11537
|
}?: SoatClientOptions);
|
|
10977
11538
|
}
|
|
10978
11539
|
//#endregion
|
|
10979
|
-
export { type ActorRecord, type ActorResourceProperties, 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 AgentResourceProperties, Agents, type AiProviderResourceProperties, AiProviders, type ApiKeyCreated, type ApiKeyRecord, type ApiKeyResourceProperties, ApiKeys, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponse, type CallToolResponses, type CancelOrchestrationRunData, type CancelOrchestrationRunErrors, type CancelOrchestrationRunResponse, type CancelOrchestrationRunResponses, type Chat, type ChatCompletionChoice, type ChatCompletionForChatRequest, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessage, type ChatMessageInput, type ChatResourceProperties, Chats, type ClientOptions, type CompleteIngestionCallbackData, type CompleteIngestionCallbackError, type CompleteIngestionCallbackErrors, type CompleteIngestionCallbackResponse, type CompleteIngestionCallbackResponses, type ConversationMessageRecord, type ConversationRecord, type ConversationResourceProperties, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, 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 CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, 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 CreateDiscussionData, type CreateDiscussionError, type CreateDiscussionErrors, type CreateDiscussionResponse, type CreateDiscussionResponses, type CreateDiscussionRunData, type CreateDiscussionRunError, type CreateDiscussionRunErrors, type CreateDiscussionRunResponse, type CreateDiscussionRunResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateEmbeddingsData, type CreateEmbeddingsError, type CreateEmbeddingsErrors, type CreateEmbeddingsResponse, type CreateEmbeddingsResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateFormationData, type CreateFormationErrors, type CreateFormationResponse, type CreateFormationResponses, type CreateIngestionRuleData, type CreateIngestionRuleErrors, type CreateIngestionRuleResponse, type CreateIngestionRuleResponses, type CreateMemoryData, type CreateMemoryEntryData, type CreateMemoryEntryErrors, type CreateMemoryEntryResponse, type CreateMemoryEntryResponses, type CreateMemoryErrors, type CreateMemoryResponse, type CreateMemoryResponses, type CreateOrchestrationData, type CreateOrchestrationErrors, type CreateOrchestrationRequest, type CreateOrchestrationResponse, type CreateOrchestrationResponses, type CreatePolicyData, type CreatePolicyError, type CreatePolicyErrors, type CreatePolicyResponse, type CreatePolicyResponses, type CreatePresignedUrlData, type CreatePresignedUrlError, type CreatePresignedUrlErrors, type CreatePresignedUrlResponse, type CreatePresignedUrlResponses, type CreateProjectData, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionRequest, type CreateSessionResponse, type CreateSessionResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, 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 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 DeleteDiscussionData, type DeleteDiscussionError, type DeleteDiscussionErrors, type DeleteDiscussionResponse, type DeleteDiscussionResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeleteFormationData, type DeleteFormationErrors, type DeleteFormationResponse, type DeleteFormationResponses, type DeleteIngestionRuleData, type DeleteIngestionRuleErrors, type DeleteIngestionRuleResponse, type DeleteIngestionRuleResponses, type DeleteMemoryData, type DeleteMemoryEntryData, type DeleteMemoryEntryErrors, type DeleteMemoryEntryResponse, type DeleteMemoryEntryResponses, type DeleteMemoryErrors, type DeleteMemoryResponse, type DeleteMemoryResponses, type DeleteOrchestrationData, type DeleteOrchestrationErrors, type DeleteOrchestrationResponse, type DeleteOrchestrationResponses, type DeletePolicyData, type DeletePolicyErrors, type DeletePolicyResponse, type DeletePolicyResponses, type DeleteProjectData, type DeleteProjectError, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteSessionData, type DeleteSessionError, type DeleteSessionErrors, type DeleteSessionResponse, type DeleteSessionResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type Delivery, type DeliveryListResponse, type DiscussionRecord, type DiscussionResourceProperties, type DiscussionRunRecord, Discussions, type DocumentKnowledgeResult, type DocumentMessageContent, type DocumentRecord, type DocumentResourceProperties, type DocumentStatusRecord, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, Embeddings, type EmbeddingsResponse, type ErrorResponse, type FileRecord, type FileRecordWritable, type FileResourceProperties, Files, type Formation, type FormationEvent, type FormationOperation, type FormationResource, type FormationTemplate, type FormationTemplateInput, Formations, 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 Generation, Generations, 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 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 GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetDiscussionData, type GetDiscussionError, type GetDiscussionErrors, type GetDiscussionResponse, type GetDiscussionResponses, type GetDiscussionRunData, type GetDiscussionRunError, type GetDiscussionRunErrors, type GetDiscussionRunResponse, type GetDiscussionRunResponses, type GetDocumentData, type GetDocumentError, type GetDocumentErrors, type GetDocumentResponse, type GetDocumentResponses, type GetDocumentStatusData, type GetDocumentStatusError, type GetDocumentStatusErrors, type GetDocumentStatusResponse, type GetDocumentStatusResponses, 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 GetFormationData, type GetFormationErrors, type GetFormationResponse, type GetFormationResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetIngestionRuleData, type GetIngestionRuleErrors, type GetIngestionRuleResponse, type GetIngestionRuleResponses, type GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, 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 GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetUserData, type GetUserError, type GetUserErrors, type GetUserResponse, type GetUserResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GetWebhookSecretData, type GetWebhookSecretErrors, type GetWebhookSecretResponse, type GetWebhookSecretResponses, type HumanInputRequest, type IngestDocumentData, type IngestDocumentError, type IngestDocumentErrors, type IngestDocumentResponse, type IngestDocumentResponses, type IngestedDocumentRecord, type IngestionRule, type IngestionRuleResourceProperties, IngestionRules, Knowledge, type KnowledgeResult, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, 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 ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDiscussionRunsData, type ListDiscussionRunsError, type ListDiscussionRunsErrors, type ListDiscussionRunsResponse, type ListDiscussionRunsResponses, type ListDiscussionsData, type ListDiscussionsError, type ListDiscussionsErrors, type ListDiscussionsResponse, type ListDiscussionsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListFormationEventsData, type ListFormationEventsErrors, type ListFormationEventsResponse, type ListFormationEventsResponses, type ListFormationsData, type ListFormationsErrors, type ListFormationsResponse, type ListFormationsResponses, type ListGenerationsData, type ListGenerationsError, type ListGenerationsErrors, type ListGenerationsResponse, type ListGenerationsResponses, type ListIngestionRulesData, type ListIngestionRulesErrors, type ListIngestionRulesResponse, type ListIngestionRulesResponses, type ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListMemoryEntriesData, type ListMemoryEntriesErrors, type ListMemoryEntriesResponse, type ListMemoryEntriesResponses, type ListOrchestrationRunsData, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationsData, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListProjectsData, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, 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, Memories, type Memory, MemoryEntries, type MemoryEntry, type MemoryEntryResourceProperties, type MemoryEntryWriteResult, type MemoryKnowledgeResult, type MemoryResourceProperties, 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 NodeExecution, type Options, type Orchestration, type OrchestrationEdge, type OrchestrationId, type OrchestrationNode, type OrchestrationResourceProperties, type OrchestrationRun, Orchestrations, type ParameterDeclaration, type ParticipantInput, type ParticipantRecord, type PatchAgentData, type PatchAgentError, type PatchAgentErrors, type PatchAgentResponse, type PatchAgentResponses, type PlanChange, type PlanFormationData, type PlanFormationErrors, type PlanFormationResponse, type PlanFormationResponses, type PlanResult, Policies, type PolicyDocument, type PolicyRecord, type PolicyResourceProperties, type PolicyStatement, type PresignedUrlRequest, type PresignedUrlResponse, type ProjectRecord, Projects, type ReingestDocumentData, type ReingestDocumentError, type ReingestDocumentErrors, type ReingestDocumentResponse, type ReingestDocumentResponses, 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 RequiredAction, type ResourceDeclaration, type ResumeOrchestrationRunData, type ResumeOrchestrationRunErrors, type ResumeOrchestrationRunResponse, type ResumeOrchestrationRunResponses, type RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RunId, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionRecord, type SessionResourceProperties, Sessions, SoatClient, type SoatClientOptions, type StartOrchestrationRunData, type StartOrchestrationRunErrors, type StartOrchestrationRunResponse, type StartOrchestrationRunResponses, type StartRunRequest, type SubmitAgentToolOutputsData, type SubmitAgentToolOutputsError, type SubmitAgentToolOutputsErrors, type SubmitAgentToolOutputsResponse, type SubmitAgentToolOutputsResponses, type SubmitHumanInputData, type SubmitHumanInputErrors, type SubmitHumanInputResponse, type SubmitHumanInputResponses, type SubmitSessionToolOutputsData, type SubmitSessionToolOutputsError, type SubmitSessionToolOutputsErrors, type SubmitSessionToolOutputsRequest, type SubmitSessionToolOutputsResponse, type SubmitSessionToolOutputsResponses, type SubmitToolOutputsRequest, type SynthesisConfig, type Tool, type ToolOutputMessageContent, type ToolResourceProperties, Tools, type Trace, type TraceTreeNode, Traces, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentRequest, type UpdateAgentResponse, type UpdateAgentResponses, 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 UpdateDiscussionData, type UpdateDiscussionError, type UpdateDiscussionErrors, type UpdateDiscussionResponse, type UpdateDiscussionResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdateFormationData, type UpdateFormationErrors, type UpdateFormationResponse, type UpdateFormationResponses, type UpdateIngestionRuleData, type UpdateIngestionRuleErrors, type UpdateIngestionRuleResponse, type UpdateIngestionRuleResponses, type UpdateMemoryData, type UpdateMemoryEntryData, type UpdateMemoryEntryErrors, type UpdateMemoryEntryResponse, type UpdateMemoryEntryResponses, type UpdateMemoryErrors, type UpdateMemoryResponse, type UpdateMemoryResponses, type UpdateOrchestrationData, type UpdateOrchestrationErrors, type UpdateOrchestrationRequest, type UpdateOrchestrationResponse, type UpdateOrchestrationResponses, type UpdatePolicyData, type UpdatePolicyError, type UpdatePolicyErrors, type UpdatePolicyResponse, type UpdatePolicyResponses, type UpdateProjectData, type UpdateProjectErrors, type UpdateProjectResponse, type UpdateProjectResponses, type UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolRequest, type UpdateToolResponse, type UpdateToolResponses, 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 UploadFileWithTokenData, type UploadFileWithTokenError, type UploadFileWithTokenErrors, type UploadFileWithTokenRequest, type UploadFileWithTokenResponse, type UploadFileWithTokenResponses, type UserRecord, Users, type ValidateFormationData, type ValidateFormationErrors, type ValidateFormationResponse, type ValidateFormationResponses, type ValidateOrchestrationData, type ValidateOrchestrationErrors, type ValidateOrchestrationRequest, type ValidateOrchestrationResponse, type ValidateOrchestrationResponses, type ValidationError, type ValidationResult, type Webhook, type WebhookResourceProperties, type WebhookSecretResponse, type WebhookWithSecret, Webhooks, createClient, createConfig };
|
|
11540
|
+
export { type ActorRecord, type ActorResourceProperties, 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 AgentResourceProperties, Agents, type AiProviderResourceProperties, AiProviders, type ApiKeyCreated, type ApiKeyRecord, type ApiKeyResourceProperties, ApiKeys, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponse, type CallToolResponses, type CancelOrchestrationRunData, type CancelOrchestrationRunErrors, type CancelOrchestrationRunResponse, type CancelOrchestrationRunResponses, type Chat, type ChatCompletionChoice, type ChatCompletionForChatRequest, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessage, type ChatMessageInput, type ChatResourceProperties, Chats, type ClientOptions, type CompleteIngestionCallbackData, type CompleteIngestionCallbackError, type CompleteIngestionCallbackErrors, type CompleteIngestionCallbackResponse, type CompleteIngestionCallbackResponses, type ConversationMessageRecord, type ConversationRecord, type ConversationResourceProperties, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, 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 CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, 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 CreateDiscussionData, type CreateDiscussionError, type CreateDiscussionErrors, type CreateDiscussionResponse, type CreateDiscussionResponses, type CreateDiscussionRunData, type CreateDiscussionRunError, type CreateDiscussionRunErrors, type CreateDiscussionRunResponse, type CreateDiscussionRunResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateEmbeddingsData, type CreateEmbeddingsError, type CreateEmbeddingsErrors, type CreateEmbeddingsResponse, type CreateEmbeddingsResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateFormationData, type CreateFormationErrors, type CreateFormationResponse, type CreateFormationResponses, type CreateIngestionRuleData, type CreateIngestionRuleErrors, type CreateIngestionRuleResponse, type CreateIngestionRuleResponses, type CreateMemoryData, type CreateMemoryEntryData, type CreateMemoryEntryErrors, type CreateMemoryEntryResponse, type CreateMemoryEntryResponses, type CreateMemoryErrors, type CreateMemoryResponse, type CreateMemoryResponses, type CreateOrchestrationData, type CreateOrchestrationErrors, type CreateOrchestrationRequest, type CreateOrchestrationResponse, type CreateOrchestrationResponses, type CreatePolicyData, type CreatePolicyError, type CreatePolicyErrors, type CreatePolicyResponse, type CreatePolicyResponses, type CreatePresignedUrlData, type CreatePresignedUrlError, type CreatePresignedUrlErrors, type CreatePresignedUrlResponse, type CreatePresignedUrlResponses, type CreateProjectData, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionRequest, type CreateSessionResponse, type CreateSessionResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, type CreateTriggerData, type CreateTriggerErrors, type CreateTriggerRequest, type CreateTriggerResponse, type CreateTriggerResponses, 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 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 DeleteDiscussionData, type DeleteDiscussionError, type DeleteDiscussionErrors, type DeleteDiscussionResponse, type DeleteDiscussionResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeleteFormationData, type DeleteFormationErrors, type DeleteFormationResponse, type DeleteFormationResponses, type DeleteIngestionRuleData, type DeleteIngestionRuleErrors, type DeleteIngestionRuleResponse, type DeleteIngestionRuleResponses, type DeleteMemoryData, type DeleteMemoryEntryData, type DeleteMemoryEntryErrors, type DeleteMemoryEntryResponse, type DeleteMemoryEntryResponses, type DeleteMemoryErrors, type DeleteMemoryResponse, type DeleteMemoryResponses, type DeleteOrchestrationData, type DeleteOrchestrationErrors, type DeleteOrchestrationResponse, type DeleteOrchestrationResponses, type DeletePolicyData, type DeletePolicyErrors, type DeletePolicyResponse, type DeletePolicyResponses, type DeleteProjectData, type DeleteProjectError, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteSessionData, type DeleteSessionError, type DeleteSessionErrors, type DeleteSessionResponse, type DeleteSessionResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteTriggerData, type DeleteTriggerErrors, type DeleteTriggerResponse, type DeleteTriggerResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type Delivery, type DeliveryListResponse, type DiscussionRecord, type DiscussionResourceProperties, type DiscussionRunRecord, Discussions, type DocumentKnowledgeResult, type DocumentMessageContent, type DocumentRecord, type DocumentResourceProperties, type DocumentStatusRecord, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, Embeddings, type EmbeddingsResponse, type ErrorResponse, type FileRecord, type FileRecordWritable, type FileResourceProperties, Files, type FireTriggerData, type FireTriggerErrors, type FireTriggerRequest, type FireTriggerResponse, type FireTriggerResponses, type Formation, type FormationEvent, type FormationOperation, type FormationResource, type FormationTemplate, type FormationTemplateInput, Formations, 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 Generation, Generations, 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 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 GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetDiscussionData, type GetDiscussionError, type GetDiscussionErrors, type GetDiscussionResponse, type GetDiscussionResponses, type GetDiscussionRunData, type GetDiscussionRunError, type GetDiscussionRunErrors, type GetDiscussionRunResponse, type GetDiscussionRunResponses, type GetDocumentData, type GetDocumentError, type GetDocumentErrors, type GetDocumentResponse, type GetDocumentResponses, type GetDocumentStatusData, type GetDocumentStatusError, type GetDocumentStatusErrors, type GetDocumentStatusResponse, type GetDocumentStatusResponses, 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 GetFormationData, type GetFormationErrors, type GetFormationResponse, type GetFormationResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetIngestionRuleData, type GetIngestionRuleErrors, type GetIngestionRuleResponse, type GetIngestionRuleResponses, type GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, 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 GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetTriggerData, type GetTriggerErrors, type GetTriggerFiringData, type GetTriggerFiringErrors, type GetTriggerFiringResponse, type GetTriggerFiringResponses, type GetTriggerResponse, type GetTriggerResponses, type GetTriggerSecretData, type GetTriggerSecretErrors, type GetTriggerSecretResponse, type GetTriggerSecretResponses, type GetUserData, type GetUserError, type GetUserErrors, type GetUserResponse, type GetUserResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GetWebhookSecretData, type GetWebhookSecretErrors, type GetWebhookSecretResponse, type GetWebhookSecretResponses, type HumanInputRequest, type IngestDocumentData, type IngestDocumentError, type IngestDocumentErrors, type IngestDocumentResponse, type IngestDocumentResponses, type IngestedDocumentRecord, type IngestionRule, type IngestionRuleResourceProperties, IngestionRules, Knowledge, type KnowledgeResult, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, 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 ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDiscussionRunsData, type ListDiscussionRunsError, type ListDiscussionRunsErrors, type ListDiscussionRunsResponse, type ListDiscussionRunsResponses, type ListDiscussionsData, type ListDiscussionsError, type ListDiscussionsErrors, type ListDiscussionsResponse, type ListDiscussionsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListFormationEventsData, type ListFormationEventsErrors, type ListFormationEventsResponse, type ListFormationEventsResponses, type ListFormationsData, type ListFormationsErrors, type ListFormationsResponse, type ListFormationsResponses, type ListGenerationsData, type ListGenerationsError, type ListGenerationsErrors, type ListGenerationsResponse, type ListGenerationsResponses, type ListIngestionRulesData, type ListIngestionRulesErrors, type ListIngestionRulesResponse, type ListIngestionRulesResponses, type ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListMemoryEntriesData, type ListMemoryEntriesErrors, type ListMemoryEntriesResponse, type ListMemoryEntriesResponses, type ListOrchestrationRunsData, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationsData, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListProjectsData, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListTriggerFiringsData, type ListTriggerFiringsErrors, type ListTriggerFiringsResponse, type ListTriggerFiringsResponses, type ListTriggersData, type ListTriggersErrors, type ListTriggersResponse, type ListTriggersResponses, 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, Memories, type Memory, MemoryEntries, type MemoryEntry, type MemoryEntryResourceProperties, type MemoryEntryWriteResult, type MemoryKnowledgeResult, type MemoryResourceProperties, 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 NodeExecution, type Options, type Orchestration, type OrchestrationEdge, type OrchestrationId, type OrchestrationNode, type OrchestrationResourceProperties, type OrchestrationRun, Orchestrations, type ParameterDeclaration, type ParticipantInput, type ParticipantRecord, type PatchAgentData, type PatchAgentError, type PatchAgentErrors, type PatchAgentResponse, type PatchAgentResponses, type PlanChange, type PlanFormationData, type PlanFormationErrors, type PlanFormationResponse, type PlanFormationResponses, type PlanResult, Policies, type PolicyDocument, type PolicyRecord, type PolicyResourceProperties, type PolicyStatement, type PresignedUrlRequest, type PresignedUrlResponse, type ProjectRecord, Projects, type ReingestDocumentData, type ReingestDocumentError, type ReingestDocumentErrors, type ReingestDocumentResponse, type ReingestDocumentResponses, 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 RequiredAction, type ResourceDeclaration, type ResumeOrchestrationRunData, type ResumeOrchestrationRunErrors, type ResumeOrchestrationRunResponse, type ResumeOrchestrationRunResponses, type RotateTriggerSecretData, type RotateTriggerSecretErrors, type RotateTriggerSecretResponse, type RotateTriggerSecretResponses, type RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RunId, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionRecord, type SessionResourceProperties, Sessions, SoatClient, type SoatClientOptions, type StartOrchestrationRunData, type StartOrchestrationRunErrors, type StartOrchestrationRunResponse, type StartOrchestrationRunResponses, type StartRunRequest, type SubmitAgentToolOutputsData, type SubmitAgentToolOutputsError, type SubmitAgentToolOutputsErrors, type SubmitAgentToolOutputsResponse, type SubmitAgentToolOutputsResponses, type SubmitHumanInputData, type SubmitHumanInputErrors, type SubmitHumanInputResponse, type SubmitHumanInputResponses, type SubmitSessionToolOutputsData, type SubmitSessionToolOutputsError, type SubmitSessionToolOutputsErrors, type SubmitSessionToolOutputsRequest, type SubmitSessionToolOutputsResponse, type SubmitSessionToolOutputsResponses, type SubmitToolOutputsRequest, type SynthesisConfig, type Tool, type ToolOutputMessageContent, type ToolResourceProperties, Tools, type Trace, type TraceTreeNode, Traces, type Trigger, type TriggerFiring, type TriggerFiringListResponse, type TriggerResourceProperties, type TriggerSecretResponse, type TriggerWithSecret, Triggers, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentRequest, type UpdateAgentResponse, type UpdateAgentResponses, 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 UpdateDiscussionData, type UpdateDiscussionError, type UpdateDiscussionErrors, type UpdateDiscussionResponse, type UpdateDiscussionResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdateFormationData, type UpdateFormationErrors, type UpdateFormationResponse, type UpdateFormationResponses, type UpdateIngestionRuleData, type UpdateIngestionRuleErrors, type UpdateIngestionRuleResponse, type UpdateIngestionRuleResponses, type UpdateMemoryData, type UpdateMemoryEntryData, type UpdateMemoryEntryErrors, type UpdateMemoryEntryResponse, type UpdateMemoryEntryResponses, type UpdateMemoryErrors, type UpdateMemoryResponse, type UpdateMemoryResponses, type UpdateOrchestrationData, type UpdateOrchestrationErrors, type UpdateOrchestrationRequest, type UpdateOrchestrationResponse, type UpdateOrchestrationResponses, type UpdatePolicyData, type UpdatePolicyError, type UpdatePolicyErrors, type UpdatePolicyResponse, type UpdatePolicyResponses, type UpdateProjectData, type UpdateProjectErrors, type UpdateProjectResponse, type UpdateProjectResponses, type UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolRequest, type UpdateToolResponse, type UpdateToolResponses, type UpdateTriggerData, type UpdateTriggerErrors, type UpdateTriggerRequest, type UpdateTriggerResponse, type UpdateTriggerResponses, 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 UploadFileWithTokenData, type UploadFileWithTokenError, type UploadFileWithTokenErrors, type UploadFileWithTokenRequest, type UploadFileWithTokenResponse, type UploadFileWithTokenResponses, type UserRecord, Users, type ValidateFormationData, type ValidateFormationErrors, type ValidateFormationResponse, type ValidateFormationResponses, type ValidateOrchestrationData, type ValidateOrchestrationErrors, type ValidateOrchestrationRequest, type ValidateOrchestrationResponse, type ValidateOrchestrationResponses, type ValidationError, type ValidationResult, type Webhook, type WebhookResourceProperties, type WebhookSecretResponse, type WebhookWithSecret, Webhooks, createClient, createConfig };
|