@amigo-ai/sdk 0.63.0 → 0.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/generated/api-types.d.ts +152 -170
- package/package.json +1 -1
|
@@ -497,7 +497,7 @@ export interface paths {
|
|
|
497
497
|
*
|
|
498
498
|
* #### Permissions
|
|
499
499
|
* This endpoint requires the following permissions:
|
|
500
|
-
* * `Conversation
|
|
500
|
+
* * `Conversation:CreateConversation` for the new conversation.
|
|
501
501
|
*
|
|
502
502
|
* This endpoint may be impacted by the following permissions:
|
|
503
503
|
* * `CurrentAgentActionEvent`s are only emitted if the authenticated user has the `Conversation:GetInteractionInsights` permission.
|
|
@@ -558,7 +558,7 @@ export interface paths {
|
|
|
558
558
|
* #### Permissions
|
|
559
559
|
* This endpoint requires the following permissions:
|
|
560
560
|
* * `User:UpdateUserInfo` on the user who started the conversation.
|
|
561
|
-
* * `Conversation:
|
|
561
|
+
* * `Conversation:FinishConversation` on the conversation.
|
|
562
562
|
*/
|
|
563
563
|
post: operations["finish-conversation"];
|
|
564
564
|
delete?: never;
|
|
@@ -938,12 +938,9 @@ export interface paths {
|
|
|
938
938
|
* @description Modify an existing role. The roles are modified in-place unless immutable fields are modified, in which case a new role with the same name
|
|
939
939
|
* is created, and all users/API keys assigned to the previous role are switched to the new role. The old role document will expire after 1 day.
|
|
940
940
|
*
|
|
941
|
-
* If a base role is updated, all of its dependent roles will also be updated (by creating a new version of it), and all users/API keys assigned to the role
|
|
942
|
-
* will be switched to the new role.
|
|
943
|
-
*
|
|
944
941
|
* #### Permissions
|
|
945
942
|
* This endpoint requires the following permissions:
|
|
946
|
-
* * `Role:ModifyRole` for the role
|
|
943
|
+
* * `Role:ModifyRole` for the role.
|
|
947
944
|
*
|
|
948
945
|
* This endpoint may require the authenticated user to have great privileges than the new role if a new role document is created as a result of
|
|
949
946
|
* immutable field changes.
|
|
@@ -2270,7 +2267,7 @@ export interface components {
|
|
|
2270
2267
|
/** Boundary Constraints */
|
|
2271
2268
|
boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
2272
2269
|
/** Exit Conditions */
|
|
2273
|
-
exit_conditions: components["schemas"]["
|
|
2270
|
+
exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition"][];
|
|
2274
2271
|
/** Action Tool Call Specs */
|
|
2275
2272
|
action_tool_call_specs: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ToolCallSpec"][];
|
|
2276
2273
|
/** Exit Condition Tool Call Specs */
|
|
@@ -2691,7 +2688,7 @@ export interface components {
|
|
|
2691
2688
|
type: "decision";
|
|
2692
2689
|
name: components["schemas"]["StateOrRefName"];
|
|
2693
2690
|
/** Exit Conditions */
|
|
2694
|
-
exit_conditions: components["schemas"]["
|
|
2691
|
+
exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition"][];
|
|
2695
2692
|
/** Decision Guidelines */
|
|
2696
2693
|
decision_guidelines: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
2697
2694
|
objective: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
@@ -2892,8 +2889,8 @@ export interface components {
|
|
|
2892
2889
|
*/
|
|
2893
2890
|
external_event_message_ids?: string[];
|
|
2894
2891
|
};
|
|
2895
|
-
/**
|
|
2896
|
-
|
|
2892
|
+
/** DynamicBehaviorSetVersion */
|
|
2893
|
+
DynamicBehaviorSetVersion: {
|
|
2897
2894
|
/**
|
|
2898
2895
|
* Id
|
|
2899
2896
|
* @description The ID of the document.
|
|
@@ -2922,7 +2919,6 @@ export interface components {
|
|
|
2922
2919
|
conversation_triggers: string[];
|
|
2923
2920
|
/** Actions */
|
|
2924
2921
|
actions: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set_version__Action"][];
|
|
2925
|
-
action: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set_version__DynamicBehaviorSetVersion__InjectInstructionAction"] | null;
|
|
2926
2922
|
};
|
|
2927
2923
|
EngageUserAgentActionEvent: components["schemas"]["EngageUserDynamicBehaviorOverrideEvent"] | components["schemas"]["EngageUserMessageFragmentGeneratedEvent"] | components["schemas"]["ToolCallStartedEvent"] | components["schemas"]["ToolCallEndedEvent"] | components["schemas"]["ActionTooLongEvent"];
|
|
2928
2924
|
/**
|
|
@@ -3183,6 +3179,21 @@ export interface components {
|
|
|
3183
3179
|
};
|
|
3184
3180
|
/** @enum {string} */
|
|
3185
3181
|
InitialMessageType: "user-message" | "external-event" | "skip";
|
|
3182
|
+
/** InjectInstructionAction */
|
|
3183
|
+
"InjectInstructionAction-Output": {
|
|
3184
|
+
/**
|
|
3185
|
+
* @description discriminator enum property added by openapi-typescript
|
|
3186
|
+
* @enum {string}
|
|
3187
|
+
*/
|
|
3188
|
+
type: "inject-instruction";
|
|
3189
|
+
/** Instruction */
|
|
3190
|
+
instruction: string;
|
|
3191
|
+
/**
|
|
3192
|
+
* Overrides Instructions
|
|
3193
|
+
* @description During injection, whether the original instruction of the state is overriden with this instruction.
|
|
3194
|
+
*/
|
|
3195
|
+
overrides_instructions: boolean;
|
|
3196
|
+
};
|
|
3186
3197
|
/** InsertRequest */
|
|
3187
3198
|
InsertRequest: {
|
|
3188
3199
|
/** @description The name of the environment variable to insert. */
|
|
@@ -3421,7 +3432,7 @@ export interface components {
|
|
|
3421
3432
|
* Tags
|
|
3422
3433
|
* @description The tags of the metric.
|
|
3423
3434
|
*/
|
|
3424
|
-
tags: components["schemas"]["
|
|
3435
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
|
|
3425
3436
|
/** @description The user who created the metric. */
|
|
3426
3437
|
creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
|
|
3427
3438
|
/** @description The user who last updated the metric. */
|
|
@@ -3526,7 +3537,7 @@ export interface components {
|
|
|
3526
3537
|
* Tags
|
|
3527
3538
|
* @description The tags of the metric.
|
|
3528
3539
|
*/
|
|
3529
|
-
tags: components["schemas"]["
|
|
3540
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
|
|
3530
3541
|
/** @description The user who created the metric. */
|
|
3531
3542
|
creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
|
|
3532
3543
|
/** @description The user who last updated the metric. */
|
|
@@ -4217,11 +4228,13 @@ export interface components {
|
|
|
4217
4228
|
permission_grants: components["schemas"]["amigo_lib__mongo__collections__role__Role__PermissionGrant"][];
|
|
4218
4229
|
/**
|
|
4219
4230
|
* Inherited From
|
|
4231
|
+
* @deprecated
|
|
4220
4232
|
* @description The ID of the role that this role inherits from. Only returned if the role inherits from another role.
|
|
4221
4233
|
*/
|
|
4222
4234
|
inherited_from: string | null;
|
|
4223
4235
|
/**
|
|
4224
4236
|
* Is Base Role
|
|
4237
|
+
* @deprecated
|
|
4225
4238
|
* @description Whether this role is a base role. Base roles cannot inherit from other roles. One can only inherit from base roles.
|
|
4226
4239
|
*/
|
|
4227
4240
|
is_base_role: boolean;
|
|
@@ -4383,7 +4396,7 @@ export interface components {
|
|
|
4383
4396
|
* Tags
|
|
4384
4397
|
* @description The tags of the service.
|
|
4385
4398
|
*/
|
|
4386
|
-
tags: components["schemas"]["
|
|
4399
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
|
|
4387
4400
|
};
|
|
4388
4401
|
/** SimulationConversationInvocationSource */
|
|
4389
4402
|
SimulationConversationInvocationSource: {
|
|
@@ -4593,7 +4606,7 @@ export interface components {
|
|
|
4593
4606
|
* Tags
|
|
4594
4607
|
* @description The tags of the simulation persona.
|
|
4595
4608
|
*/
|
|
4596
|
-
tags: components["schemas"]["
|
|
4609
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
|
|
4597
4610
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4598
4611
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4599
4612
|
};
|
|
@@ -4665,7 +4678,7 @@ export interface components {
|
|
|
4665
4678
|
* Tags
|
|
4666
4679
|
* @description The tags of the simulation persona.
|
|
4667
4680
|
*/
|
|
4668
|
-
tags: components["schemas"]["
|
|
4681
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
|
|
4669
4682
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4670
4683
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4671
4684
|
};
|
|
@@ -4720,7 +4733,7 @@ export interface components {
|
|
|
4720
4733
|
* Tags
|
|
4721
4734
|
* @description The tags of the simulation unit test set.
|
|
4722
4735
|
*/
|
|
4723
|
-
tags: components["schemas"]["
|
|
4736
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
|
|
4724
4737
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4725
4738
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4726
4739
|
};
|
|
@@ -4772,7 +4785,7 @@ export interface components {
|
|
|
4772
4785
|
* Tags
|
|
4773
4786
|
* @description The tags of the simulation unit test set.
|
|
4774
4787
|
*/
|
|
4775
|
-
tags: components["schemas"]["
|
|
4788
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
|
|
4776
4789
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4777
4790
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4778
4791
|
};
|
|
@@ -5234,7 +5247,7 @@ export interface components {
|
|
|
5234
5247
|
* Tags
|
|
5235
5248
|
* @description The tags of the simulation persona.
|
|
5236
5249
|
*/
|
|
5237
|
-
tags: components["schemas"]["
|
|
5250
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
|
|
5238
5251
|
};
|
|
5239
5252
|
/** ToolVersionInstance */
|
|
5240
5253
|
ToolVersionInstance: {
|
|
@@ -5264,7 +5277,7 @@ export interface components {
|
|
|
5264
5277
|
*/
|
|
5265
5278
|
tool_id: string;
|
|
5266
5279
|
/** @description The version of the tool. */
|
|
5267
|
-
version: components["schemas"]["
|
|
5280
|
+
version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
|
|
5268
5281
|
/**
|
|
5269
5282
|
* Required Envvars
|
|
5270
5283
|
* @description The environment variables that are required to run the tool.
|
|
@@ -5727,7 +5740,7 @@ export interface components {
|
|
|
5727
5740
|
/** User Id */
|
|
5728
5741
|
user_id: string;
|
|
5729
5742
|
};
|
|
5730
|
-
amigo_lib__mongo__collections__dynamic_behavior_set_version__Action: components["schemas"]["
|
|
5743
|
+
amigo_lib__mongo__collections__dynamic_behavior_set_version__Action: components["schemas"]["InjectInstructionAction-Output"] | components["schemas"]["ChangeToolCandidatesAction-Output"];
|
|
5731
5744
|
/** ToolCallSpec */
|
|
5732
5745
|
amigo_lib__mongo__collections__dynamic_behavior_set_version__DynamicBehaviorSetVersion__ChangeToolCandidatesAction__ToolCallSpec: {
|
|
5733
5746
|
/**
|
|
@@ -5768,20 +5781,12 @@ export interface components {
|
|
|
5768
5781
|
*/
|
|
5769
5782
|
tool_name: string;
|
|
5770
5783
|
};
|
|
5771
|
-
/**
|
|
5772
|
-
|
|
5773
|
-
/**
|
|
5774
|
-
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
type: "amigo_lib__mongo__collections__dynamic_behavior_set_version__DynamicBehaviorSetVersion__InjectInstructionAction";
|
|
5778
|
-
/** Instruction */
|
|
5779
|
-
instruction: string;
|
|
5780
|
-
/**
|
|
5781
|
-
* Overrides Instructions
|
|
5782
|
-
* @description During injection, whether the original instruction of the state is overriden with this instruction.
|
|
5783
|
-
*/
|
|
5784
|
-
overrides_instructions: boolean;
|
|
5784
|
+
/** Tag */
|
|
5785
|
+
amigo_lib__mongo__collections__metric__Metric__Tag: {
|
|
5786
|
+
/** Key */
|
|
5787
|
+
key: string;
|
|
5788
|
+
/** Value */
|
|
5789
|
+
value: string | null;
|
|
5785
5790
|
};
|
|
5786
5791
|
/** UserInfo */
|
|
5787
5792
|
amigo_lib__mongo__collections__metric__Metric__UserInfo: {
|
|
@@ -5823,13 +5828,6 @@ export interface components {
|
|
|
5823
5828
|
*/
|
|
5824
5829
|
description?: string | null;
|
|
5825
5830
|
};
|
|
5826
|
-
/** Tag */
|
|
5827
|
-
amigo_lib__mongo__collections__service__Service__Tag: {
|
|
5828
|
-
/** Key */
|
|
5829
|
-
key: string;
|
|
5830
|
-
/** Value */
|
|
5831
|
-
value: string | null;
|
|
5832
|
-
};
|
|
5833
5831
|
/**
|
|
5834
5832
|
* VersionSet
|
|
5835
5833
|
* @description A version set pins the agent, state machine, and model version used by this service.
|
|
@@ -5955,15 +5953,6 @@ export interface components {
|
|
|
5955
5953
|
/** User Id */
|
|
5956
5954
|
user_id: string;
|
|
5957
5955
|
};
|
|
5958
|
-
/** Version */
|
|
5959
|
-
amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version: {
|
|
5960
|
-
/** Major */
|
|
5961
|
-
major: number;
|
|
5962
|
-
/** Minor */
|
|
5963
|
-
minor: number;
|
|
5964
|
-
/** Patch */
|
|
5965
|
-
patch: number;
|
|
5966
|
-
};
|
|
5967
5956
|
/** UserInfo */
|
|
5968
5957
|
amigo_lib__mongo__collections__tool_version__ToolVersion__UserInfo: {
|
|
5969
5958
|
/**
|
|
@@ -5977,6 +5966,15 @@ export interface components {
|
|
|
5977
5966
|
*/
|
|
5978
5967
|
user_org_id: string;
|
|
5979
5968
|
};
|
|
5969
|
+
/** Version */
|
|
5970
|
+
amigo_lib__mongo__collections__tool_version__ToolVersion__Version: {
|
|
5971
|
+
/** Major */
|
|
5972
|
+
major: number;
|
|
5973
|
+
/** Minor */
|
|
5974
|
+
minor: number;
|
|
5975
|
+
/** Patch */
|
|
5976
|
+
patch: number;
|
|
5977
|
+
};
|
|
5980
5978
|
/**
|
|
5981
5979
|
* Preferences
|
|
5982
5980
|
* @description Preferences that the user can set to customize their experience.
|
|
@@ -6280,7 +6278,7 @@ export interface components {
|
|
|
6280
6278
|
* Actions
|
|
6281
6279
|
* @description The action to perform when the dynamic behavior set version is activated.
|
|
6282
6280
|
*/
|
|
6283
|
-
actions: (components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction"] | components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__ChangeToolCandidatesAction"])[]
|
|
6281
|
+
actions: (components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction"] | components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__ChangeToolCandidatesAction"])[];
|
|
6284
6282
|
};
|
|
6285
6283
|
/** ChangeToolCandidatesAction */
|
|
6286
6284
|
dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__ChangeToolCandidatesAction: {
|
|
@@ -6364,7 +6362,7 @@ export interface components {
|
|
|
6364
6362
|
* Actions
|
|
6365
6363
|
* @description The action to perform when the dynamic behavior set version is activated.
|
|
6366
6364
|
*/
|
|
6367
|
-
actions: (components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction"] | components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set_version__Request__ChangeToolCandidatesAction"])[]
|
|
6365
|
+
actions: (components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction"] | components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set_version__Request__ChangeToolCandidatesAction"])[];
|
|
6368
6366
|
};
|
|
6369
6367
|
/** ChangeToolCandidatesAction */
|
|
6370
6368
|
dynamic_behavior_set__create_dynamic_behavior_set_version__Request__ChangeToolCandidatesAction: {
|
|
@@ -6447,7 +6445,7 @@ export interface components {
|
|
|
6447
6445
|
* Dynamic Behavior Set Versions
|
|
6448
6446
|
* @description The retrieved dynamic behavior set versions.
|
|
6449
6447
|
*/
|
|
6450
|
-
dynamic_behavior_set_versions: components["schemas"]["
|
|
6448
|
+
dynamic_behavior_set_versions: components["schemas"]["DynamicBehaviorSetVersion"][];
|
|
6451
6449
|
/**
|
|
6452
6450
|
* Has More
|
|
6453
6451
|
* @description Whether there are more dynamic behavior set versions to retrieve.
|
|
@@ -6859,7 +6857,7 @@ export interface components {
|
|
|
6859
6857
|
* User Dimensions
|
|
6860
6858
|
* @description User dimensions for the organization.
|
|
6861
6859
|
*/
|
|
6862
|
-
user_dimensions: components["schemas"]["
|
|
6860
|
+
user_dimensions: components["schemas"]["organization__modify_organization__Request__UserDimension"][];
|
|
6863
6861
|
/**
|
|
6864
6862
|
* Logo
|
|
6865
6863
|
* Format: base64
|
|
@@ -6936,12 +6934,6 @@ export interface components {
|
|
|
6936
6934
|
*/
|
|
6937
6935
|
audio_keyterms?: string[];
|
|
6938
6936
|
};
|
|
6939
|
-
/** UserDimension */
|
|
6940
|
-
organization__create_organization__Request__UserDimension: {
|
|
6941
|
-
description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
6942
|
-
/** Tags */
|
|
6943
|
-
tags: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
6944
|
-
};
|
|
6945
6937
|
/** Response */
|
|
6946
6938
|
organization__create_organization__Response: {
|
|
6947
6939
|
/**
|
|
@@ -7005,7 +6997,7 @@ export interface components {
|
|
|
7005
6997
|
global_boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
7006
6998
|
};
|
|
7007
6999
|
/** ExitCondition */
|
|
7008
|
-
|
|
7000
|
+
organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition: {
|
|
7009
7001
|
description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
7010
7002
|
/** Next State */
|
|
7011
7003
|
next_state: components["schemas"]["StateOrRefName"] | [
|
|
@@ -7308,7 +7300,7 @@ export interface components {
|
|
|
7308
7300
|
* User Dimensions
|
|
7309
7301
|
* @description User dimensions for the organization. If not set or `null`, this field is not updated.
|
|
7310
7302
|
*/
|
|
7311
|
-
user_dimensions?: components["schemas"]["
|
|
7303
|
+
user_dimensions?: components["schemas"]["organization__modify_organization__Request__UserDimension"][] | null;
|
|
7312
7304
|
/** @description The default user preferences for the organization. If `null`, this field is not updated. */
|
|
7313
7305
|
default_user_preferences?: components["schemas"]["organization__modify_organization__Request__Preferences"] | null;
|
|
7314
7306
|
/**
|
|
@@ -7348,6 +7340,12 @@ export interface components {
|
|
|
7348
7340
|
*/
|
|
7349
7341
|
audio_keyterms?: string[];
|
|
7350
7342
|
};
|
|
7343
|
+
/** UserDimension */
|
|
7344
|
+
organization__modify_organization__Request__UserDimension: {
|
|
7345
|
+
description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
7346
|
+
/** Tags */
|
|
7347
|
+
tags: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
7348
|
+
};
|
|
7351
7349
|
/** Request */
|
|
7352
7350
|
role__assign_role__Request: {
|
|
7353
7351
|
/**
|
|
@@ -7377,16 +7375,6 @@ export interface components {
|
|
|
7377
7375
|
permission_grants: components["schemas"]["role__modify_role__Request__PermissionGrant"][];
|
|
7378
7376
|
/** @description The frontend view for users of this role. */
|
|
7379
7377
|
frontend_view: components["schemas"]["FrontendView"];
|
|
7380
|
-
/**
|
|
7381
|
-
* Is Base Role
|
|
7382
|
-
* @description Whether this role is a base role. Base roles cannot inherit from other roles. One can only inherit from base roles.
|
|
7383
|
-
*/
|
|
7384
|
-
is_base_role: boolean;
|
|
7385
|
-
/**
|
|
7386
|
-
* Inherited From
|
|
7387
|
-
* @description The ID of the role that this role inherits from.
|
|
7388
|
-
*/
|
|
7389
|
-
inherited_from: string | null;
|
|
7390
7378
|
};
|
|
7391
7379
|
/** Response */
|
|
7392
7380
|
role__create_role__Response: {
|
|
@@ -7415,12 +7403,6 @@ export interface components {
|
|
|
7415
7403
|
permission_grants?: components["schemas"]["role__modify_role__Request__PermissionGrant"][] | null;
|
|
7416
7404
|
/** @description The frontend view for the user of this role. Only updated if specified. This field is an immutable field. */
|
|
7417
7405
|
frontend_view?: components["schemas"]["FrontendView"] | null;
|
|
7418
|
-
/**
|
|
7419
|
-
* Inherited From
|
|
7420
|
-
* @description The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.
|
|
7421
|
-
* @default {}
|
|
7422
|
-
*/
|
|
7423
|
-
inherited_from?: string | components["schemas"]["_NotSet"] | null;
|
|
7424
7406
|
};
|
|
7425
7407
|
/** PermissionGrant */
|
|
7426
7408
|
role__modify_role__Request__PermissionGrant: {
|
|
@@ -7868,7 +7850,7 @@ export interface components {
|
|
|
7868
7850
|
* Simulation Personas
|
|
7869
7851
|
* @description The list of simulation personas.
|
|
7870
7852
|
*/
|
|
7871
|
-
simulation_personas: components["schemas"]["
|
|
7853
|
+
simulation_personas: components["schemas"]["simulation__get_simulation_personas__Response__SimulationPersonaInstance"][];
|
|
7872
7854
|
/**
|
|
7873
7855
|
* Has More
|
|
7874
7856
|
* @description Whether there are more simulation personas to fetch.
|
|
@@ -7903,6 +7885,52 @@ export interface components {
|
|
|
7903
7885
|
*/
|
|
7904
7886
|
roles: string[];
|
|
7905
7887
|
};
|
|
7888
|
+
/** SimulationPersonaInstance */
|
|
7889
|
+
simulation__get_simulation_personas__Response__SimulationPersonaInstance: {
|
|
7890
|
+
/**
|
|
7891
|
+
* Id
|
|
7892
|
+
* @description The ID of the simulation persona.
|
|
7893
|
+
*/
|
|
7894
|
+
id: string;
|
|
7895
|
+
/**
|
|
7896
|
+
* Name
|
|
7897
|
+
* @description The name of the simulation persona.
|
|
7898
|
+
*/
|
|
7899
|
+
name: string;
|
|
7900
|
+
/**
|
|
7901
|
+
* Role
|
|
7902
|
+
* @description The role of the simulation persona.
|
|
7903
|
+
*/
|
|
7904
|
+
role: string;
|
|
7905
|
+
/**
|
|
7906
|
+
* Tags
|
|
7907
|
+
* @description The tags of the simulation persona.
|
|
7908
|
+
*/
|
|
7909
|
+
tags: {
|
|
7910
|
+
[key: string]: string | null;
|
|
7911
|
+
};
|
|
7912
|
+
/**
|
|
7913
|
+
* Is Deleted
|
|
7914
|
+
* @description Whether the simulation persona is deleted.
|
|
7915
|
+
*/
|
|
7916
|
+
is_deleted: boolean;
|
|
7917
|
+
/**
|
|
7918
|
+
* Created At
|
|
7919
|
+
* Format: date-time
|
|
7920
|
+
* @description The timestamp when the simulation persona was created.
|
|
7921
|
+
*/
|
|
7922
|
+
created_at: string;
|
|
7923
|
+
/** @description The user who created the simulation persona. */
|
|
7924
|
+
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
|
|
7925
|
+
/**
|
|
7926
|
+
* Updated At
|
|
7927
|
+
* Format: date-time
|
|
7928
|
+
* @description The timestamp when the simulation persona was last updated.
|
|
7929
|
+
*/
|
|
7930
|
+
updated_at: string;
|
|
7931
|
+
/** @description The user who last updated the simulation persona. */
|
|
7932
|
+
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
|
|
7933
|
+
};
|
|
7906
7934
|
/** Response */
|
|
7907
7935
|
simulation__get_simulation_scenario_versions__Response: {
|
|
7908
7936
|
/**
|
|
@@ -8156,53 +8184,7 @@ export interface components {
|
|
|
8156
8184
|
* Simulation Personas
|
|
8157
8185
|
* @description The list of simulation personas.
|
|
8158
8186
|
*/
|
|
8159
|
-
simulation_personas: components["schemas"]["
|
|
8160
|
-
};
|
|
8161
|
-
/** SimulationPersonaInstance */
|
|
8162
|
-
simulation__search_simulation_personas__Response__SimulationPersonaInstance: {
|
|
8163
|
-
/**
|
|
8164
|
-
* Id
|
|
8165
|
-
* @description The ID of the simulation persona.
|
|
8166
|
-
*/
|
|
8167
|
-
id: string;
|
|
8168
|
-
/**
|
|
8169
|
-
* Name
|
|
8170
|
-
* @description The name of the simulation persona.
|
|
8171
|
-
*/
|
|
8172
|
-
name: string;
|
|
8173
|
-
/**
|
|
8174
|
-
* Role
|
|
8175
|
-
* @description The role of the simulation persona.
|
|
8176
|
-
*/
|
|
8177
|
-
role: string;
|
|
8178
|
-
/**
|
|
8179
|
-
* Tags
|
|
8180
|
-
* @description The tags of the simulation persona.
|
|
8181
|
-
*/
|
|
8182
|
-
tags: {
|
|
8183
|
-
[key: string]: string | null;
|
|
8184
|
-
};
|
|
8185
|
-
/**
|
|
8186
|
-
* Is Deleted
|
|
8187
|
-
* @description Whether the simulation persona is deleted.
|
|
8188
|
-
*/
|
|
8189
|
-
is_deleted: boolean;
|
|
8190
|
-
/**
|
|
8191
|
-
* Created At
|
|
8192
|
-
* Format: date-time
|
|
8193
|
-
* @description The timestamp when the simulation persona was created.
|
|
8194
|
-
*/
|
|
8195
|
-
created_at: string;
|
|
8196
|
-
/** @description The user who created the simulation persona. */
|
|
8197
|
-
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
|
|
8198
|
-
/**
|
|
8199
|
-
* Updated At
|
|
8200
|
-
* Format: date-time
|
|
8201
|
-
* @description The timestamp when the simulation persona was last updated.
|
|
8202
|
-
*/
|
|
8203
|
-
updated_at: string;
|
|
8204
|
-
/** @description The user who last updated the simulation persona. */
|
|
8205
|
-
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
|
|
8187
|
+
simulation_personas: components["schemas"]["simulation__get_simulation_personas__Response__SimulationPersonaInstance"][];
|
|
8206
8188
|
};
|
|
8207
8189
|
/** Response */
|
|
8208
8190
|
simulation__search_simulation_scenarios__Response: {
|
|
@@ -8353,7 +8335,7 @@ export interface components {
|
|
|
8353
8335
|
* Tool Invocations
|
|
8354
8336
|
* @description The list of tool invocations.
|
|
8355
8337
|
*/
|
|
8356
|
-
tool_invocations: components["schemas"]["
|
|
8338
|
+
tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
|
|
8357
8339
|
/**
|
|
8358
8340
|
* Has More
|
|
8359
8341
|
* @description Whether there are more tool invocations to retrieve.
|
|
@@ -8365,6 +8347,47 @@ export interface components {
|
|
|
8365
8347
|
*/
|
|
8366
8348
|
continuation_token: unknown | null;
|
|
8367
8349
|
};
|
|
8350
|
+
/** ToolInvocationInstance */
|
|
8351
|
+
tool__get_tool_invocations__Response__ToolInvocationInstance: {
|
|
8352
|
+
/**
|
|
8353
|
+
* Id
|
|
8354
|
+
* @description The ID of the tool invocation.
|
|
8355
|
+
*/
|
|
8356
|
+
id: string;
|
|
8357
|
+
/**
|
|
8358
|
+
* Org Id
|
|
8359
|
+
* @description The ID of the organization.
|
|
8360
|
+
*/
|
|
8361
|
+
org_id: string;
|
|
8362
|
+
/**
|
|
8363
|
+
* Created At
|
|
8364
|
+
* Format: date-time
|
|
8365
|
+
*/
|
|
8366
|
+
created_at?: string;
|
|
8367
|
+
/**
|
|
8368
|
+
* Updated At
|
|
8369
|
+
* Format: date-time
|
|
8370
|
+
*/
|
|
8371
|
+
updated_at?: string;
|
|
8372
|
+
/** @description The status of the tool invocation. */
|
|
8373
|
+
invocation_status: components["schemas"]["InvocationStatus"];
|
|
8374
|
+
/** @description The source of the tool invocation. */
|
|
8375
|
+
invocation_source: components["schemas"]["InvocationSource"];
|
|
8376
|
+
/** Logs */
|
|
8377
|
+
logs: string[];
|
|
8378
|
+
/**
|
|
8379
|
+
* Duration Ms
|
|
8380
|
+
* @description The duration of the tool invocation in milliseconds.
|
|
8381
|
+
*/
|
|
8382
|
+
duration_ms: number;
|
|
8383
|
+
/**
|
|
8384
|
+
* Tool Id
|
|
8385
|
+
* @description The ID of the tool that was invoked.
|
|
8386
|
+
*/
|
|
8387
|
+
tool_id: string;
|
|
8388
|
+
/** @description The version of the tool that was invoked. */
|
|
8389
|
+
tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
|
|
8390
|
+
};
|
|
8368
8391
|
/** Response */
|
|
8369
8392
|
tool__get_tool_versions__Response: {
|
|
8370
8393
|
/**
|
|
@@ -8521,48 +8544,7 @@ export interface components {
|
|
|
8521
8544
|
* Tool Invocations
|
|
8522
8545
|
* @description The list of tool invocations.
|
|
8523
8546
|
*/
|
|
8524
|
-
tool_invocations: components["schemas"]["
|
|
8525
|
-
};
|
|
8526
|
-
/** ToolInvocationInstance */
|
|
8527
|
-
tool__search_tool_invocations__Response__ToolInvocationInstance: {
|
|
8528
|
-
/**
|
|
8529
|
-
* Id
|
|
8530
|
-
* @description The ID of the tool invocation.
|
|
8531
|
-
*/
|
|
8532
|
-
id: string;
|
|
8533
|
-
/**
|
|
8534
|
-
* Org Id
|
|
8535
|
-
* @description The ID of the organization.
|
|
8536
|
-
*/
|
|
8537
|
-
org_id: string;
|
|
8538
|
-
/**
|
|
8539
|
-
* Created At
|
|
8540
|
-
* Format: date-time
|
|
8541
|
-
*/
|
|
8542
|
-
created_at?: string;
|
|
8543
|
-
/**
|
|
8544
|
-
* Updated At
|
|
8545
|
-
* Format: date-time
|
|
8546
|
-
*/
|
|
8547
|
-
updated_at?: string;
|
|
8548
|
-
/** @description The status of the tool invocation. */
|
|
8549
|
-
invocation_status: components["schemas"]["InvocationStatus"];
|
|
8550
|
-
/** @description The source of the tool invocation. */
|
|
8551
|
-
invocation_source: components["schemas"]["InvocationSource"];
|
|
8552
|
-
/** Logs */
|
|
8553
|
-
logs: string[];
|
|
8554
|
-
/**
|
|
8555
|
-
* Duration Ms
|
|
8556
|
-
* @description The duration of the tool invocation in milliseconds.
|
|
8557
|
-
*/
|
|
8558
|
-
duration_ms: number;
|
|
8559
|
-
/**
|
|
8560
|
-
* Tool Id
|
|
8561
|
-
* @description The ID of the tool that was invoked.
|
|
8562
|
-
*/
|
|
8563
|
-
tool_id: string;
|
|
8564
|
-
/** @description The version of the tool that was invoked. */
|
|
8565
|
-
tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
|
|
8547
|
+
tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
|
|
8566
8548
|
};
|
|
8567
8549
|
/** Request */
|
|
8568
8550
|
tool__test_tool__Request: {
|