@amigo-ai/sdk 0.91.0 → 0.92.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.
|
@@ -2291,7 +2291,7 @@ export interface components {
|
|
|
2291
2291
|
/** Boundary Constraints */
|
|
2292
2292
|
boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
2293
2293
|
/** Exit Conditions */
|
|
2294
|
-
exit_conditions: components["schemas"]["
|
|
2294
|
+
exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition"][];
|
|
2295
2295
|
/** Action Tool Call Specs */
|
|
2296
2296
|
action_tool_call_specs: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ToolCallSpec"][];
|
|
2297
2297
|
/** Exit Condition Tool Call Specs */
|
|
@@ -2719,7 +2719,7 @@ export interface components {
|
|
|
2719
2719
|
type: "decision";
|
|
2720
2720
|
name: components["schemas"]["StateOrRefName"];
|
|
2721
2721
|
/** Exit Conditions */
|
|
2722
|
-
exit_conditions: components["schemas"]["
|
|
2722
|
+
exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition"][];
|
|
2723
2723
|
/** Decision Guidelines */
|
|
2724
2724
|
decision_guidelines: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
2725
2725
|
objective: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
@@ -4426,6 +4426,11 @@ export interface components {
|
|
|
4426
4426
|
* @description The tags of the service.
|
|
4427
4427
|
*/
|
|
4428
4428
|
tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
|
|
4429
|
+
/**
|
|
4430
|
+
* Keyterms
|
|
4431
|
+
* @description A list of keyterms that are easy to get wrong during audio transcriptions that tend to occur commonly in audio sessions using this service.
|
|
4432
|
+
*/
|
|
4433
|
+
keyterms: string[];
|
|
4429
4434
|
};
|
|
4430
4435
|
/** SimulationConversationInvocationSource */
|
|
4431
4436
|
SimulationConversationInvocationSource: {
|
|
@@ -5306,7 +5311,7 @@ export interface components {
|
|
|
5306
5311
|
*/
|
|
5307
5312
|
tool_id: string;
|
|
5308
5313
|
/** @description The version of the tool. */
|
|
5309
|
-
version: components["schemas"]["
|
|
5314
|
+
version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
|
|
5310
5315
|
/**
|
|
5311
5316
|
* Required Envvars
|
|
5312
5317
|
* @description The environment variables that are required to run the tool.
|
|
@@ -5950,6 +5955,15 @@ export interface components {
|
|
|
5950
5955
|
/** User Id */
|
|
5951
5956
|
user_id: string;
|
|
5952
5957
|
};
|
|
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
|
+
};
|
|
5953
5967
|
/** UserInfo */
|
|
5954
5968
|
amigo_lib__mongo__collections__tool_version__ToolVersion__UserInfo: {
|
|
5955
5969
|
/**
|
|
@@ -5963,15 +5977,6 @@ export interface components {
|
|
|
5963
5977
|
*/
|
|
5964
5978
|
user_org_id: string;
|
|
5965
5979
|
};
|
|
5966
|
-
/** Version */
|
|
5967
|
-
amigo_lib__mongo__collections__tool_version__ToolVersion__Version: {
|
|
5968
|
-
/** Major */
|
|
5969
|
-
major: number;
|
|
5970
|
-
/** Minor */
|
|
5971
|
-
minor: number;
|
|
5972
|
-
/** Patch */
|
|
5973
|
-
patch: number;
|
|
5974
|
-
};
|
|
5975
5980
|
/**
|
|
5976
5981
|
* Preferences
|
|
5977
5982
|
* @description Preferences that the user can set to customize their experience.
|
|
@@ -6300,7 +6305,7 @@ export interface components {
|
|
|
6300
6305
|
* Actions
|
|
6301
6306
|
* @description The action to perform when the dynamic behavior set version is activated.
|
|
6302
6307
|
*/
|
|
6303
|
-
actions: (components["schemas"]["
|
|
6308
|
+
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"])[];
|
|
6304
6309
|
};
|
|
6305
6310
|
/** ChangeToolCandidatesAction */
|
|
6306
6311
|
dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__ChangeToolCandidatesAction: {
|
|
@@ -6351,6 +6356,20 @@ export interface components {
|
|
|
6351
6356
|
* the context of the dynamic behavior. */
|
|
6352
6357
|
tool_name: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
6353
6358
|
};
|
|
6359
|
+
/** InjectInstructionAction */
|
|
6360
|
+
dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction: {
|
|
6361
|
+
/**
|
|
6362
|
+
* @description discriminator enum property added by openapi-typescript
|
|
6363
|
+
* @enum {string}
|
|
6364
|
+
*/
|
|
6365
|
+
type: "dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction";
|
|
6366
|
+
instruction: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
6367
|
+
/**
|
|
6368
|
+
* Overrides Instructions
|
|
6369
|
+
* @description During injection, whether the original instruction of the state is overriden with this instruction.
|
|
6370
|
+
*/
|
|
6371
|
+
overrides_instructions: boolean;
|
|
6372
|
+
};
|
|
6354
6373
|
/** Response */
|
|
6355
6374
|
dynamic_behavior_set__create_dynamic_behavior_set__Response: {
|
|
6356
6375
|
/**
|
|
@@ -6370,7 +6389,7 @@ export interface components {
|
|
|
6370
6389
|
* Actions
|
|
6371
6390
|
* @description The action to perform when the dynamic behavior set version is activated.
|
|
6372
6391
|
*/
|
|
6373
|
-
actions: (components["schemas"]["
|
|
6392
|
+
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"])[];
|
|
6374
6393
|
};
|
|
6375
6394
|
/** ChangeToolCandidatesAction */
|
|
6376
6395
|
dynamic_behavior_set__create_dynamic_behavior_set_version__Request__ChangeToolCandidatesAction: {
|
|
@@ -6421,20 +6440,6 @@ export interface components {
|
|
|
6421
6440
|
* the context of the dynamic behavior. */
|
|
6422
6441
|
tool_name: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
6423
6442
|
};
|
|
6424
|
-
/** InjectInstructionAction */
|
|
6425
|
-
dynamic_behavior_set__create_dynamic_behavior_set_version__Request__InjectInstructionAction: {
|
|
6426
|
-
/**
|
|
6427
|
-
* @description discriminator enum property added by openapi-typescript
|
|
6428
|
-
* @enum {string}
|
|
6429
|
-
*/
|
|
6430
|
-
type: "dynamic_behavior_set__create_dynamic_behavior_set_version__Request__InjectInstructionAction";
|
|
6431
|
-
instruction: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
6432
|
-
/**
|
|
6433
|
-
* Overrides Instructions
|
|
6434
|
-
* @description During injection, whether the original instruction of the state is overriden with this instruction.
|
|
6435
|
-
*/
|
|
6436
|
-
overrides_instructions: boolean;
|
|
6437
|
-
};
|
|
6438
6443
|
/** Response */
|
|
6439
6444
|
dynamic_behavior_set__create_dynamic_behavior_set_version__Response: {
|
|
6440
6445
|
/**
|
|
@@ -6485,7 +6490,7 @@ export interface components {
|
|
|
6485
6490
|
* Dynamic Behavior Sets
|
|
6486
6491
|
* @description The retrieved dynamic behavior sets.
|
|
6487
6492
|
*/
|
|
6488
|
-
dynamic_behavior_sets: components["schemas"]["
|
|
6493
|
+
dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
|
|
6489
6494
|
/**
|
|
6490
6495
|
* Has More
|
|
6491
6496
|
* @description Whether there are more dynamic behavior sets to retrieve.
|
|
@@ -6502,8 +6507,34 @@ export interface components {
|
|
|
6502
6507
|
* retrieved. */
|
|
6503
6508
|
filter_values: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues"] | null;
|
|
6504
6509
|
};
|
|
6510
|
+
/** FilterValues */
|
|
6511
|
+
dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
|
|
6512
|
+
/**
|
|
6513
|
+
* Applied To Services Ids
|
|
6514
|
+
* @description A set of service IDs that have dynamic behavior sets applied to the service.
|
|
6515
|
+
*/
|
|
6516
|
+
applied_to_services_ids: string[];
|
|
6517
|
+
/**
|
|
6518
|
+
* Creators
|
|
6519
|
+
* @description A set of creator infos that created the dynamic behavior sets under the current filters.
|
|
6520
|
+
*/
|
|
6521
|
+
creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
|
|
6522
|
+
/**
|
|
6523
|
+
* Tags
|
|
6524
|
+
* @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
|
|
6525
|
+
*/
|
|
6526
|
+
tags: string[];
|
|
6527
|
+
};
|
|
6528
|
+
/** Response */
|
|
6529
|
+
dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
|
|
6530
|
+
/**
|
|
6531
|
+
* Dynamic Behavior Sets
|
|
6532
|
+
* @description The retrieved dynamic behavior sets.
|
|
6533
|
+
*/
|
|
6534
|
+
dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
|
|
6535
|
+
};
|
|
6505
6536
|
/** DynamicBehaviorSetInstance */
|
|
6506
|
-
|
|
6537
|
+
dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
|
|
6507
6538
|
/** Id */
|
|
6508
6539
|
id: string;
|
|
6509
6540
|
/** Name */
|
|
@@ -6529,32 +6560,6 @@ export interface components {
|
|
|
6529
6560
|
updated_at: string;
|
|
6530
6561
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"];
|
|
6531
6562
|
};
|
|
6532
|
-
/** FilterValues */
|
|
6533
|
-
dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
|
|
6534
|
-
/**
|
|
6535
|
-
* Applied To Services Ids
|
|
6536
|
-
* @description A set of service IDs that have dynamic behavior sets applied to the service.
|
|
6537
|
-
*/
|
|
6538
|
-
applied_to_services_ids: string[];
|
|
6539
|
-
/**
|
|
6540
|
-
* Creators
|
|
6541
|
-
* @description A set of creator infos that created the dynamic behavior sets under the current filters.
|
|
6542
|
-
*/
|
|
6543
|
-
creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
|
|
6544
|
-
/**
|
|
6545
|
-
* Tags
|
|
6546
|
-
* @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
|
|
6547
|
-
*/
|
|
6548
|
-
tags: string[];
|
|
6549
|
-
};
|
|
6550
|
-
/** Response */
|
|
6551
|
-
dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
|
|
6552
|
-
/**
|
|
6553
|
-
* Dynamic Behavior Sets
|
|
6554
|
-
* @description The retrieved dynamic behavior sets.
|
|
6555
|
-
*/
|
|
6556
|
-
dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
|
|
6557
|
-
};
|
|
6558
6563
|
/** Request */
|
|
6559
6564
|
dynamic_behavior_set__update_dynamic_behavior_set__Request: {
|
|
6560
6565
|
/** @description The name of the dynamic behavior set. */
|
|
@@ -6879,7 +6884,7 @@ export interface components {
|
|
|
6879
6884
|
* User Dimensions
|
|
6880
6885
|
* @description User dimensions for the organization.
|
|
6881
6886
|
*/
|
|
6882
|
-
user_dimensions: components["schemas"]["
|
|
6887
|
+
user_dimensions: components["schemas"]["organization__create_organization__Request__UserDimension"][];
|
|
6883
6888
|
/**
|
|
6884
6889
|
* Logo
|
|
6885
6890
|
* Format: base64
|
|
@@ -6956,6 +6961,12 @@ export interface components {
|
|
|
6956
6961
|
*/
|
|
6957
6962
|
audio_keyterms?: string[];
|
|
6958
6963
|
};
|
|
6964
|
+
/** UserDimension */
|
|
6965
|
+
organization__create_organization__Request__UserDimension: {
|
|
6966
|
+
description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
6967
|
+
/** Tags */
|
|
6968
|
+
tags: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
6969
|
+
};
|
|
6959
6970
|
/** Response */
|
|
6960
6971
|
organization__create_organization__Response: {
|
|
6961
6972
|
/**
|
|
@@ -7019,7 +7030,7 @@ export interface components {
|
|
|
7019
7030
|
global_boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
7020
7031
|
};
|
|
7021
7032
|
/** ExitCondition */
|
|
7022
|
-
|
|
7033
|
+
organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition: {
|
|
7023
7034
|
description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
7024
7035
|
/** Next State */
|
|
7025
7036
|
next_state: components["schemas"]["StateOrRefName"] | [
|
|
@@ -7322,7 +7333,7 @@ export interface components {
|
|
|
7322
7333
|
* User Dimensions
|
|
7323
7334
|
* @description User dimensions for the organization. If not set or `null`, this field is not updated.
|
|
7324
7335
|
*/
|
|
7325
|
-
user_dimensions?: components["schemas"]["
|
|
7336
|
+
user_dimensions?: components["schemas"]["organization__create_organization__Request__UserDimension"][] | null;
|
|
7326
7337
|
/** @description The default user preferences for the organization. If `null`, this field is not updated. */
|
|
7327
7338
|
default_user_preferences?: components["schemas"]["organization__modify_organization__Request__Preferences"] | null;
|
|
7328
7339
|
/**
|
|
@@ -7362,12 +7373,6 @@ export interface components {
|
|
|
7362
7373
|
*/
|
|
7363
7374
|
audio_keyterms?: string[];
|
|
7364
7375
|
};
|
|
7365
|
-
/** UserDimension */
|
|
7366
|
-
organization__modify_organization__Request__UserDimension: {
|
|
7367
|
-
description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
7368
|
-
/** Tags */
|
|
7369
|
-
tags: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
7370
|
-
};
|
|
7371
7376
|
/** Request */
|
|
7372
7377
|
role__assign_role__Request: {
|
|
7373
7378
|
/**
|
|
@@ -7476,7 +7481,7 @@ export interface components {
|
|
|
7476
7481
|
is_active: boolean;
|
|
7477
7482
|
/** @description The `release` version set to use for this service. If not specified, the `release` version set will be the same as the `edge` version set, which uses the
|
|
7478
7483
|
* latest agent and state machine versions with no model preference. */
|
|
7479
|
-
release_version_set?: components["schemas"]["
|
|
7484
|
+
release_version_set?: components["schemas"]["service__create_service__Request__VersionSet"] | null;
|
|
7480
7485
|
/**
|
|
7481
7486
|
* Keyterms
|
|
7482
7487
|
* @description A list of keyterms that are easy to get wrong during audio transcriptions that tend to occur commonly in audio sessions using this service.
|
|
@@ -7490,6 +7495,35 @@ export interface components {
|
|
|
7490
7495
|
[key: string]: components["schemas"]["StrippedNonemptyString___w__s_____"] | null;
|
|
7491
7496
|
};
|
|
7492
7497
|
};
|
|
7498
|
+
/** VersionSet */
|
|
7499
|
+
service__create_service__Request__VersionSet: {
|
|
7500
|
+
/**
|
|
7501
|
+
* Agent Version Number
|
|
7502
|
+
* @description The version number of the agent to be used. If None, the latest agent version will be used.
|
|
7503
|
+
*/
|
|
7504
|
+
agent_version_number: number | null;
|
|
7505
|
+
/**
|
|
7506
|
+
* Service Hierarchical State Machine Version Number
|
|
7507
|
+
* @description The version number of the state machine to be used. If None, the latest state machine version will be used.
|
|
7508
|
+
*/
|
|
7509
|
+
service_hierarchical_state_machine_version_number: number | null;
|
|
7510
|
+
/** Llm Model Preferences */
|
|
7511
|
+
llm_model_preferences: {
|
|
7512
|
+
[key: string]: components["schemas"]["service__create_service__Request__VersionSet__LLMConfig"];
|
|
7513
|
+
};
|
|
7514
|
+
};
|
|
7515
|
+
/** LLMConfig */
|
|
7516
|
+
service__create_service__Request__VersionSet__LLMConfig: {
|
|
7517
|
+
llm_name: components["schemas"]["LLMType"];
|
|
7518
|
+
/**
|
|
7519
|
+
* Params
|
|
7520
|
+
* @description LLM-specific parameters to use.
|
|
7521
|
+
* @default {}
|
|
7522
|
+
*/
|
|
7523
|
+
params?: {
|
|
7524
|
+
[key: string]: unknown;
|
|
7525
|
+
};
|
|
7526
|
+
};
|
|
7493
7527
|
/** Response */
|
|
7494
7528
|
service__create_service__Response: {
|
|
7495
7529
|
/**
|
|
@@ -7570,36 +7604,7 @@ export interface components {
|
|
|
7570
7604
|
/** Request */
|
|
7571
7605
|
service__upsert_service_version_set__Request: {
|
|
7572
7606
|
/** @description The version set to upsert. */
|
|
7573
|
-
version_set: components["schemas"]["
|
|
7574
|
-
};
|
|
7575
|
-
/** VersionSet */
|
|
7576
|
-
service__upsert_service_version_set__Request__VersionSet: {
|
|
7577
|
-
/**
|
|
7578
|
-
* Agent Version Number
|
|
7579
|
-
* @description The version number of the agent to be used. If None, the latest agent version will be used.
|
|
7580
|
-
*/
|
|
7581
|
-
agent_version_number: number | null;
|
|
7582
|
-
/**
|
|
7583
|
-
* Service Hierarchical State Machine Version Number
|
|
7584
|
-
* @description The version number of the state machine to be used. If None, the latest state machine version will be used.
|
|
7585
|
-
*/
|
|
7586
|
-
service_hierarchical_state_machine_version_number: number | null;
|
|
7587
|
-
/** Llm Model Preferences */
|
|
7588
|
-
llm_model_preferences: {
|
|
7589
|
-
[key: string]: components["schemas"]["service__upsert_service_version_set__Request__VersionSet__LLMConfig"];
|
|
7590
|
-
};
|
|
7591
|
-
};
|
|
7592
|
-
/** LLMConfig */
|
|
7593
|
-
service__upsert_service_version_set__Request__VersionSet__LLMConfig: {
|
|
7594
|
-
llm_name: components["schemas"]["LLMType"];
|
|
7595
|
-
/**
|
|
7596
|
-
* Params
|
|
7597
|
-
* @description LLM-specific parameters to use.
|
|
7598
|
-
* @default {}
|
|
7599
|
-
*/
|
|
7600
|
-
params?: {
|
|
7601
|
-
[key: string]: unknown;
|
|
7602
|
-
};
|
|
7607
|
+
version_set: components["schemas"]["service__create_service__Request__VersionSet"];
|
|
7603
7608
|
};
|
|
7604
7609
|
/** Request */
|
|
7605
7610
|
simulation__create_simulation_persona__Request: {
|
|
@@ -7861,7 +7866,7 @@ export interface components {
|
|
|
7861
7866
|
* Simulation Personas
|
|
7862
7867
|
* @description The list of simulation personas.
|
|
7863
7868
|
*/
|
|
7864
|
-
simulation_personas: components["schemas"]["
|
|
7869
|
+
simulation_personas: components["schemas"]["simulation__search_simulation_personas__Response__SimulationPersonaInstance"][];
|
|
7865
7870
|
/**
|
|
7866
7871
|
* Has More
|
|
7867
7872
|
* @description Whether there are more simulation personas to fetch.
|
|
@@ -7896,52 +7901,6 @@ export interface components {
|
|
|
7896
7901
|
*/
|
|
7897
7902
|
roles: string[];
|
|
7898
7903
|
};
|
|
7899
|
-
/** SimulationPersonaInstance */
|
|
7900
|
-
simulation__get_simulation_personas__Response__SimulationPersonaInstance: {
|
|
7901
|
-
/**
|
|
7902
|
-
* Id
|
|
7903
|
-
* @description The ID of the simulation persona.
|
|
7904
|
-
*/
|
|
7905
|
-
id: string;
|
|
7906
|
-
/**
|
|
7907
|
-
* Name
|
|
7908
|
-
* @description The name of the simulation persona.
|
|
7909
|
-
*/
|
|
7910
|
-
name: string;
|
|
7911
|
-
/**
|
|
7912
|
-
* Role
|
|
7913
|
-
* @description The role of the simulation persona.
|
|
7914
|
-
*/
|
|
7915
|
-
role: string;
|
|
7916
|
-
/**
|
|
7917
|
-
* Tags
|
|
7918
|
-
* @description The tags of the simulation persona.
|
|
7919
|
-
*/
|
|
7920
|
-
tags: {
|
|
7921
|
-
[key: string]: string | null;
|
|
7922
|
-
};
|
|
7923
|
-
/**
|
|
7924
|
-
* Is Deleted
|
|
7925
|
-
* @description Whether the simulation persona is deleted.
|
|
7926
|
-
*/
|
|
7927
|
-
is_deleted: boolean;
|
|
7928
|
-
/**
|
|
7929
|
-
* Created At
|
|
7930
|
-
* Format: date-time
|
|
7931
|
-
* @description The timestamp when the simulation persona was created.
|
|
7932
|
-
*/
|
|
7933
|
-
created_at: string;
|
|
7934
|
-
/** @description The user who created the simulation persona. */
|
|
7935
|
-
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
|
|
7936
|
-
/**
|
|
7937
|
-
* Updated At
|
|
7938
|
-
* Format: date-time
|
|
7939
|
-
* @description The timestamp when the simulation persona was last updated.
|
|
7940
|
-
*/
|
|
7941
|
-
updated_at: string;
|
|
7942
|
-
/** @description The user who last updated the simulation persona. */
|
|
7943
|
-
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
|
|
7944
|
-
};
|
|
7945
7904
|
/** Response */
|
|
7946
7905
|
simulation__get_simulation_scenario_versions__Response: {
|
|
7947
7906
|
/**
|
|
@@ -7966,7 +7925,7 @@ export interface components {
|
|
|
7966
7925
|
* Simulation Scenarios
|
|
7967
7926
|
* @description The list of simulation scenarios.
|
|
7968
7927
|
*/
|
|
7969
|
-
simulation_scenarios: components["schemas"]["
|
|
7928
|
+
simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
|
|
7970
7929
|
/**
|
|
7971
7930
|
* Has More
|
|
7972
7931
|
* @description Whether there are more simulation scenarios to fetch.
|
|
@@ -7996,6 +7955,47 @@ export interface components {
|
|
|
7996
7955
|
*/
|
|
7997
7956
|
tags: string[];
|
|
7998
7957
|
};
|
|
7958
|
+
/** SimulationScenarioInstance */
|
|
7959
|
+
simulation__get_simulation_scenarios__Response__SimulationScenarioInstance: {
|
|
7960
|
+
/**
|
|
7961
|
+
* Id
|
|
7962
|
+
* @description The ID of the simulation scenario.
|
|
7963
|
+
*/
|
|
7964
|
+
id: string;
|
|
7965
|
+
/**
|
|
7966
|
+
* Name
|
|
7967
|
+
* @description The name of the simulation scenario.
|
|
7968
|
+
*/
|
|
7969
|
+
name: string;
|
|
7970
|
+
/**
|
|
7971
|
+
* Tags
|
|
7972
|
+
* @description The tags of the simulation scenario.
|
|
7973
|
+
*/
|
|
7974
|
+
tags: {
|
|
7975
|
+
[key: string]: string | null;
|
|
7976
|
+
};
|
|
7977
|
+
/**
|
|
7978
|
+
* Is Deleted
|
|
7979
|
+
* @description Whether the simulation scenario is deleted.
|
|
7980
|
+
*/
|
|
7981
|
+
is_deleted: boolean;
|
|
7982
|
+
/**
|
|
7983
|
+
* Created At
|
|
7984
|
+
* Format: date-time
|
|
7985
|
+
* @description The timestamp when the simulation scenario was created.
|
|
7986
|
+
*/
|
|
7987
|
+
created_at: string;
|
|
7988
|
+
/** @description The user who created the simulation scenario. */
|
|
7989
|
+
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
|
|
7990
|
+
/**
|
|
7991
|
+
* Updated At
|
|
7992
|
+
* Format: date-time
|
|
7993
|
+
* @description The timestamp when the simulation scenario was last updated.
|
|
7994
|
+
*/
|
|
7995
|
+
updated_at: string;
|
|
7996
|
+
/** @description The user who last updated the simulation scenario. */
|
|
7997
|
+
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
|
|
7998
|
+
};
|
|
7999
7999
|
/** Response */
|
|
8000
8000
|
simulation__get_simulation_unit_test_set_run_artifacts__Response: {
|
|
8001
8001
|
/**
|
|
@@ -8154,56 +8154,61 @@ export interface components {
|
|
|
8154
8154
|
* Simulation Personas
|
|
8155
8155
|
* @description The list of simulation personas.
|
|
8156
8156
|
*/
|
|
8157
|
-
simulation_personas: components["schemas"]["
|
|
8158
|
-
};
|
|
8159
|
-
/** Response */
|
|
8160
|
-
simulation__search_simulation_scenarios__Response: {
|
|
8161
|
-
/**
|
|
8162
|
-
* Simulation Scenarios
|
|
8163
|
-
* @description The list of simulation scenarios.
|
|
8164
|
-
*/
|
|
8165
|
-
simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
|
|
8157
|
+
simulation_personas: components["schemas"]["simulation__search_simulation_personas__Response__SimulationPersonaInstance"][];
|
|
8166
8158
|
};
|
|
8167
|
-
/**
|
|
8168
|
-
|
|
8159
|
+
/** SimulationPersonaInstance */
|
|
8160
|
+
simulation__search_simulation_personas__Response__SimulationPersonaInstance: {
|
|
8169
8161
|
/**
|
|
8170
8162
|
* Id
|
|
8171
|
-
* @description The ID of the simulation
|
|
8163
|
+
* @description The ID of the simulation persona.
|
|
8172
8164
|
*/
|
|
8173
8165
|
id: string;
|
|
8174
8166
|
/**
|
|
8175
8167
|
* Name
|
|
8176
|
-
* @description The name of the simulation
|
|
8168
|
+
* @description The name of the simulation persona.
|
|
8177
8169
|
*/
|
|
8178
8170
|
name: string;
|
|
8171
|
+
/**
|
|
8172
|
+
* Role
|
|
8173
|
+
* @description The role of the simulation persona.
|
|
8174
|
+
*/
|
|
8175
|
+
role: string;
|
|
8179
8176
|
/**
|
|
8180
8177
|
* Tags
|
|
8181
|
-
* @description The tags of the simulation
|
|
8178
|
+
* @description The tags of the simulation persona.
|
|
8182
8179
|
*/
|
|
8183
8180
|
tags: {
|
|
8184
8181
|
[key: string]: string | null;
|
|
8185
8182
|
};
|
|
8186
8183
|
/**
|
|
8187
8184
|
* Is Deleted
|
|
8188
|
-
* @description Whether the simulation
|
|
8185
|
+
* @description Whether the simulation persona is deleted.
|
|
8189
8186
|
*/
|
|
8190
8187
|
is_deleted: boolean;
|
|
8191
8188
|
/**
|
|
8192
8189
|
* Created At
|
|
8193
8190
|
* Format: date-time
|
|
8194
|
-
* @description The timestamp when the simulation
|
|
8191
|
+
* @description The timestamp when the simulation persona was created.
|
|
8195
8192
|
*/
|
|
8196
8193
|
created_at: string;
|
|
8197
|
-
/** @description The user who created the simulation
|
|
8198
|
-
creator: components["schemas"]["
|
|
8194
|
+
/** @description The user who created the simulation persona. */
|
|
8195
|
+
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
|
|
8199
8196
|
/**
|
|
8200
8197
|
* Updated At
|
|
8201
8198
|
* Format: date-time
|
|
8202
|
-
* @description The timestamp when the simulation
|
|
8199
|
+
* @description The timestamp when the simulation persona was last updated.
|
|
8203
8200
|
*/
|
|
8204
8201
|
updated_at: string;
|
|
8205
|
-
/** @description The user who last updated the simulation
|
|
8206
|
-
updated_by: components["schemas"]["
|
|
8202
|
+
/** @description The user who last updated the simulation persona. */
|
|
8203
|
+
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
|
|
8204
|
+
};
|
|
8205
|
+
/** Response */
|
|
8206
|
+
simulation__search_simulation_scenarios__Response: {
|
|
8207
|
+
/**
|
|
8208
|
+
* Simulation Scenarios
|
|
8209
|
+
* @description The list of simulation scenarios.
|
|
8210
|
+
*/
|
|
8211
|
+
simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
|
|
8207
8212
|
};
|
|
8208
8213
|
/** Response */
|
|
8209
8214
|
simulation__search_simulation_unit_test_set__Response: {
|
|
@@ -8356,7 +8361,7 @@ export interface components {
|
|
|
8356
8361
|
* Tool Invocations
|
|
8357
8362
|
* @description The list of tool invocations.
|
|
8358
8363
|
*/
|
|
8359
|
-
tool_invocations: components["schemas"]["
|
|
8364
|
+
tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
|
|
8360
8365
|
/**
|
|
8361
8366
|
* Has More
|
|
8362
8367
|
* @description Whether there are more tool invocations to retrieve.
|
|
@@ -8368,47 +8373,6 @@ export interface components {
|
|
|
8368
8373
|
*/
|
|
8369
8374
|
continuation_token: unknown | null;
|
|
8370
8375
|
};
|
|
8371
|
-
/** ToolInvocationInstance */
|
|
8372
|
-
tool__get_tool_invocations__Response__ToolInvocationInstance: {
|
|
8373
|
-
/**
|
|
8374
|
-
* Id
|
|
8375
|
-
* @description The ID of the tool invocation.
|
|
8376
|
-
*/
|
|
8377
|
-
id: string;
|
|
8378
|
-
/**
|
|
8379
|
-
* Org Id
|
|
8380
|
-
* @description The ID of the organization.
|
|
8381
|
-
*/
|
|
8382
|
-
org_id: string;
|
|
8383
|
-
/**
|
|
8384
|
-
* Created At
|
|
8385
|
-
* Format: date-time
|
|
8386
|
-
*/
|
|
8387
|
-
created_at?: string;
|
|
8388
|
-
/**
|
|
8389
|
-
* Updated At
|
|
8390
|
-
* Format: date-time
|
|
8391
|
-
*/
|
|
8392
|
-
updated_at?: string;
|
|
8393
|
-
/** @description The status of the tool invocation. */
|
|
8394
|
-
invocation_status: components["schemas"]["InvocationStatus"];
|
|
8395
|
-
/** @description The source of the tool invocation. */
|
|
8396
|
-
invocation_source: components["schemas"]["InvocationSource"];
|
|
8397
|
-
/** Logs */
|
|
8398
|
-
logs: string[];
|
|
8399
|
-
/**
|
|
8400
|
-
* Duration Ms
|
|
8401
|
-
* @description The duration of the tool invocation in milliseconds.
|
|
8402
|
-
*/
|
|
8403
|
-
duration_ms: number;
|
|
8404
|
-
/**
|
|
8405
|
-
* Tool Id
|
|
8406
|
-
* @description The ID of the tool that was invoked.
|
|
8407
|
-
*/
|
|
8408
|
-
tool_id: string;
|
|
8409
|
-
/** @description The version of the tool that was invoked. */
|
|
8410
|
-
tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
|
|
8411
|
-
};
|
|
8412
8376
|
/** Response */
|
|
8413
8377
|
tool__get_tool_versions__Response: {
|
|
8414
8378
|
/**
|
|
@@ -8549,7 +8513,48 @@ export interface components {
|
|
|
8549
8513
|
* Tool Invocations
|
|
8550
8514
|
* @description The list of tool invocations.
|
|
8551
8515
|
*/
|
|
8552
|
-
tool_invocations: components["schemas"]["
|
|
8516
|
+
tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
|
|
8517
|
+
};
|
|
8518
|
+
/** ToolInvocationInstance */
|
|
8519
|
+
tool__search_tool_invocations__Response__ToolInvocationInstance: {
|
|
8520
|
+
/**
|
|
8521
|
+
* Id
|
|
8522
|
+
* @description The ID of the tool invocation.
|
|
8523
|
+
*/
|
|
8524
|
+
id: string;
|
|
8525
|
+
/**
|
|
8526
|
+
* Org Id
|
|
8527
|
+
* @description The ID of the organization.
|
|
8528
|
+
*/
|
|
8529
|
+
org_id: string;
|
|
8530
|
+
/**
|
|
8531
|
+
* Created At
|
|
8532
|
+
* Format: date-time
|
|
8533
|
+
*/
|
|
8534
|
+
created_at?: string;
|
|
8535
|
+
/**
|
|
8536
|
+
* Updated At
|
|
8537
|
+
* Format: date-time
|
|
8538
|
+
*/
|
|
8539
|
+
updated_at?: string;
|
|
8540
|
+
/** @description The status of the tool invocation. */
|
|
8541
|
+
invocation_status: components["schemas"]["InvocationStatus"];
|
|
8542
|
+
/** @description The source of the tool invocation. */
|
|
8543
|
+
invocation_source: components["schemas"]["InvocationSource"];
|
|
8544
|
+
/** Logs */
|
|
8545
|
+
logs: string[];
|
|
8546
|
+
/**
|
|
8547
|
+
* Duration Ms
|
|
8548
|
+
* @description The duration of the tool invocation in milliseconds.
|
|
8549
|
+
*/
|
|
8550
|
+
duration_ms: number;
|
|
8551
|
+
/**
|
|
8552
|
+
* Tool Id
|
|
8553
|
+
* @description The ID of the tool that was invoked.
|
|
8554
|
+
*/
|
|
8555
|
+
tool_id: string;
|
|
8556
|
+
/** @description The version of the tool that was invoked. */
|
|
8557
|
+
tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
|
|
8553
8558
|
};
|
|
8554
8559
|
/** Request */
|
|
8555
8560
|
tool__test_tool__Request: {
|
|
@@ -8711,7 +8716,7 @@ export interface components {
|
|
|
8711
8716
|
* Users
|
|
8712
8717
|
* @description Users in this organization.
|
|
8713
8718
|
*/
|
|
8714
|
-
users: components["schemas"]["
|
|
8719
|
+
users: components["schemas"]["user__search_users__Response__UserInstance"][];
|
|
8715
8720
|
/**
|
|
8716
8721
|
* Has More
|
|
8717
8722
|
* @description Whether there are more users to retrieve.
|
|
@@ -8723,8 +8728,34 @@ export interface components {
|
|
|
8723
8728
|
*/
|
|
8724
8729
|
continuation_token: number | null;
|
|
8725
8730
|
};
|
|
8731
|
+
/** UserStats */
|
|
8732
|
+
user__get_users__Response__UserInstance__UserStats: {
|
|
8733
|
+
/**
|
|
8734
|
+
* Num Conversations
|
|
8735
|
+
* @description The number of conversations the user has created.
|
|
8736
|
+
*/
|
|
8737
|
+
num_conversations: number;
|
|
8738
|
+
/**
|
|
8739
|
+
* Num Messages
|
|
8740
|
+
* @description The number of messages the user has sent and received.
|
|
8741
|
+
*/
|
|
8742
|
+
num_messages: number;
|
|
8743
|
+
/**
|
|
8744
|
+
* Last Message Time
|
|
8745
|
+
* @description The time of the last message the user sent or received. If `None`, the user hasn't started any conversations.
|
|
8746
|
+
*/
|
|
8747
|
+
last_message_time: string | null;
|
|
8748
|
+
};
|
|
8749
|
+
/** Response */
|
|
8750
|
+
user__search_users__Response: {
|
|
8751
|
+
/**
|
|
8752
|
+
* Users
|
|
8753
|
+
* @description Users in this organization.
|
|
8754
|
+
*/
|
|
8755
|
+
users: components["schemas"]["user__search_users__Response__UserInstance"][];
|
|
8756
|
+
};
|
|
8726
8757
|
/** UserInstance */
|
|
8727
|
-
|
|
8758
|
+
user__search_users__Response__UserInstance: {
|
|
8728
8759
|
/**
|
|
8729
8760
|
* Org Id
|
|
8730
8761
|
* @description The ID of the organization that this user belongs to.
|
|
@@ -8760,32 +8791,6 @@ export interface components {
|
|
|
8760
8791
|
/** @description The preferences of the user. */
|
|
8761
8792
|
preferences: components["schemas"]["amigo_lib__mongo__collections__user__User__Preferences"];
|
|
8762
8793
|
};
|
|
8763
|
-
/** UserStats */
|
|
8764
|
-
user__get_users__Response__UserInstance__UserStats: {
|
|
8765
|
-
/**
|
|
8766
|
-
* Num Conversations
|
|
8767
|
-
* @description The number of conversations the user has created.
|
|
8768
|
-
*/
|
|
8769
|
-
num_conversations: number;
|
|
8770
|
-
/**
|
|
8771
|
-
* Num Messages
|
|
8772
|
-
* @description The number of messages the user has sent and received.
|
|
8773
|
-
*/
|
|
8774
|
-
num_messages: number;
|
|
8775
|
-
/**
|
|
8776
|
-
* Last Message Time
|
|
8777
|
-
* @description The time of the last message the user sent or received. If `None`, the user hasn't started any conversations.
|
|
8778
|
-
*/
|
|
8779
|
-
last_message_time: string | null;
|
|
8780
|
-
};
|
|
8781
|
-
/** Response */
|
|
8782
|
-
user__search_users__Response: {
|
|
8783
|
-
/**
|
|
8784
|
-
* Users
|
|
8785
|
-
* @description Users in this organization.
|
|
8786
|
-
*/
|
|
8787
|
-
users: components["schemas"]["user__get_users__Response__UserInstance"][];
|
|
8788
|
-
};
|
|
8789
8794
|
/** SigninWithAPIKeyResponse */
|
|
8790
8795
|
user__sign_in_with_api_key__Response: {
|
|
8791
8796
|
/**
|
|
@@ -5,7 +5,7 @@ export declare class UserResource {
|
|
|
5
5
|
private orgId;
|
|
6
6
|
constructor(c: AmigoFetch, orgId: string);
|
|
7
7
|
getUsers(queryParams?: operations['get-users']['parameters']['query'], headers?: operations['get-users']['parameters']['header']): Promise<{
|
|
8
|
-
users: components["schemas"]["
|
|
8
|
+
users: components["schemas"]["user__search_users__Response__UserInstance"][];
|
|
9
9
|
has_more: boolean;
|
|
10
10
|
continuation_token: number | null;
|
|
11
11
|
}>;
|