@amigo-ai/sdk 0.71.0 → 0.73.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 */
|
|
@@ -2688,6 +2688,13 @@ export interface components {
|
|
|
2688
2688
|
* @description The number of messages in this conversation.
|
|
2689
2689
|
*/
|
|
2690
2690
|
num_messages: number;
|
|
2691
|
+
/**
|
|
2692
|
+
* Tags
|
|
2693
|
+
* @description The tags associated with this conversation.
|
|
2694
|
+
*/
|
|
2695
|
+
tags: {
|
|
2696
|
+
[key: string]: string | null;
|
|
2697
|
+
};
|
|
2691
2698
|
};
|
|
2692
2699
|
/**
|
|
2693
2700
|
* CurrentAgentActionEvent
|
|
@@ -2712,7 +2719,7 @@ export interface components {
|
|
|
2712
2719
|
type: "decision";
|
|
2713
2720
|
name: components["schemas"]["StateOrRefName"];
|
|
2714
2721
|
/** Exit Conditions */
|
|
2715
|
-
exit_conditions: components["schemas"]["
|
|
2722
|
+
exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition"][];
|
|
2716
2723
|
/** Decision Guidelines */
|
|
2717
2724
|
decision_guidelines: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
2718
2725
|
objective: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
@@ -3456,7 +3463,7 @@ export interface components {
|
|
|
3456
3463
|
* Tags
|
|
3457
3464
|
* @description The tags of the metric.
|
|
3458
3465
|
*/
|
|
3459
|
-
tags: components["schemas"]["
|
|
3466
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
|
|
3460
3467
|
/** @description The user who created the metric. */
|
|
3461
3468
|
creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
|
|
3462
3469
|
/** @description The user who last updated the metric. */
|
|
@@ -3561,7 +3568,7 @@ export interface components {
|
|
|
3561
3568
|
* Tags
|
|
3562
3569
|
* @description The tags of the metric.
|
|
3563
3570
|
*/
|
|
3564
|
-
tags: components["schemas"]["
|
|
3571
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
|
|
3565
3572
|
/** @description The user who created the metric. */
|
|
3566
3573
|
creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
|
|
3567
3574
|
/** @description The user who last updated the metric. */
|
|
@@ -4408,7 +4415,7 @@ export interface components {
|
|
|
4408
4415
|
* Tags
|
|
4409
4416
|
* @description The tags of the service.
|
|
4410
4417
|
*/
|
|
4411
|
-
tags: components["schemas"]["
|
|
4418
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
|
|
4412
4419
|
};
|
|
4413
4420
|
/** SimulationConversationInvocationSource */
|
|
4414
4421
|
SimulationConversationInvocationSource: {
|
|
@@ -4618,7 +4625,7 @@ export interface components {
|
|
|
4618
4625
|
* Tags
|
|
4619
4626
|
* @description The tags of the simulation persona.
|
|
4620
4627
|
*/
|
|
4621
|
-
tags: components["schemas"]["
|
|
4628
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
|
|
4622
4629
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4623
4630
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4624
4631
|
};
|
|
@@ -4690,7 +4697,7 @@ export interface components {
|
|
|
4690
4697
|
* Tags
|
|
4691
4698
|
* @description The tags of the simulation persona.
|
|
4692
4699
|
*/
|
|
4693
|
-
tags: components["schemas"]["
|
|
4700
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
|
|
4694
4701
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4695
4702
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4696
4703
|
};
|
|
@@ -4745,7 +4752,7 @@ export interface components {
|
|
|
4745
4752
|
* Tags
|
|
4746
4753
|
* @description The tags of the simulation unit test set.
|
|
4747
4754
|
*/
|
|
4748
|
-
tags: components["schemas"]["
|
|
4755
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
|
|
4749
4756
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4750
4757
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4751
4758
|
};
|
|
@@ -4797,7 +4804,7 @@ export interface components {
|
|
|
4797
4804
|
* Tags
|
|
4798
4805
|
* @description The tags of the simulation unit test set.
|
|
4799
4806
|
*/
|
|
4800
|
-
tags: components["schemas"]["
|
|
4807
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
|
|
4801
4808
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4802
4809
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4803
4810
|
};
|
|
@@ -5259,7 +5266,7 @@ export interface components {
|
|
|
5259
5266
|
* Tags
|
|
5260
5267
|
* @description The tags of the simulation persona.
|
|
5261
5268
|
*/
|
|
5262
|
-
tags: components["schemas"]["
|
|
5269
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
|
|
5263
5270
|
};
|
|
5264
5271
|
/** ToolVersionInstance */
|
|
5265
5272
|
ToolVersionInstance: {
|
|
@@ -5289,7 +5296,7 @@ export interface components {
|
|
|
5289
5296
|
*/
|
|
5290
5297
|
tool_id: string;
|
|
5291
5298
|
/** @description The version of the tool. */
|
|
5292
|
-
version: components["schemas"]["
|
|
5299
|
+
version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
|
|
5293
5300
|
/**
|
|
5294
5301
|
* Required Envvars
|
|
5295
5302
|
* @description The environment variables that are required to run the tool.
|
|
@@ -5761,13 +5768,6 @@ export interface components {
|
|
|
5761
5768
|
*/
|
|
5762
5769
|
tool_name: string;
|
|
5763
5770
|
};
|
|
5764
|
-
/** Tag */
|
|
5765
|
-
amigo_lib__mongo__collections__metric__Metric__Tag: {
|
|
5766
|
-
/** Key */
|
|
5767
|
-
key: string;
|
|
5768
|
-
/** Value */
|
|
5769
|
-
value: string | null;
|
|
5770
|
-
};
|
|
5771
5771
|
/** UserInfo */
|
|
5772
5772
|
amigo_lib__mongo__collections__metric__Metric__UserInfo: {
|
|
5773
5773
|
/** Org Id */
|
|
@@ -5808,6 +5808,13 @@ export interface components {
|
|
|
5808
5808
|
*/
|
|
5809
5809
|
description?: string | null;
|
|
5810
5810
|
};
|
|
5811
|
+
/** Tag */
|
|
5812
|
+
amigo_lib__mongo__collections__service__Service__Tag: {
|
|
5813
|
+
/** Key */
|
|
5814
|
+
key: string;
|
|
5815
|
+
/** Value */
|
|
5816
|
+
value: string | null;
|
|
5817
|
+
};
|
|
5811
5818
|
/**
|
|
5812
5819
|
* VersionSet
|
|
5813
5820
|
* @description A version set pins the agent, state machine, and model version used by this service.
|
|
@@ -5933,15 +5940,6 @@ export interface components {
|
|
|
5933
5940
|
/** User Id */
|
|
5934
5941
|
user_id: string;
|
|
5935
5942
|
};
|
|
5936
|
-
/** Version */
|
|
5937
|
-
amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version: {
|
|
5938
|
-
/** Major */
|
|
5939
|
-
major: number;
|
|
5940
|
-
/** Minor */
|
|
5941
|
-
minor: number;
|
|
5942
|
-
/** Patch */
|
|
5943
|
-
patch: number;
|
|
5944
|
-
};
|
|
5945
5943
|
/** UserInfo */
|
|
5946
5944
|
amigo_lib__mongo__collections__tool_version__ToolVersion__UserInfo: {
|
|
5947
5945
|
/**
|
|
@@ -5955,6 +5953,15 @@ export interface components {
|
|
|
5955
5953
|
*/
|
|
5956
5954
|
user_org_id: string;
|
|
5957
5955
|
};
|
|
5956
|
+
/** Version */
|
|
5957
|
+
amigo_lib__mongo__collections__tool_version__ToolVersion__Version: {
|
|
5958
|
+
/** Major */
|
|
5959
|
+
major: number;
|
|
5960
|
+
/** Minor */
|
|
5961
|
+
minor: number;
|
|
5962
|
+
/** Patch */
|
|
5963
|
+
patch: number;
|
|
5964
|
+
};
|
|
5958
5965
|
/**
|
|
5959
5966
|
* Preferences
|
|
5960
5967
|
* @description Preferences that the user can set to customize their experience.
|
|
@@ -6072,8 +6079,9 @@ export interface components {
|
|
|
6072
6079
|
/**
|
|
6073
6080
|
* Tags
|
|
6074
6081
|
* @description A list of tags for the conversation. Both the key and the value can only contain alphanumeric characters, underscores, or spaces.
|
|
6082
|
+
* @default {}
|
|
6075
6083
|
*/
|
|
6076
|
-
tags
|
|
6084
|
+
tags?: {
|
|
6077
6085
|
[key: string]: components["schemas"]["StrippedNonemptyString___w__s_____"] | null;
|
|
6078
6086
|
};
|
|
6079
6087
|
};
|
|
@@ -6282,7 +6290,7 @@ export interface components {
|
|
|
6282
6290
|
* Actions
|
|
6283
6291
|
* @description The action to perform when the dynamic behavior set version is activated.
|
|
6284
6292
|
*/
|
|
6285
|
-
actions: (components["schemas"]["
|
|
6293
|
+
actions: (components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set_version__Request__InjectInstructionAction"] | components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__ChangeToolCandidatesAction"])[];
|
|
6286
6294
|
};
|
|
6287
6295
|
/** ChangeToolCandidatesAction */
|
|
6288
6296
|
dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__ChangeToolCandidatesAction: {
|
|
@@ -6333,20 +6341,6 @@ export interface components {
|
|
|
6333
6341
|
* the context of the dynamic behavior. */
|
|
6334
6342
|
tool_name: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
6335
6343
|
};
|
|
6336
|
-
/** InjectInstructionAction */
|
|
6337
|
-
dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction: {
|
|
6338
|
-
/**
|
|
6339
|
-
* @description discriminator enum property added by openapi-typescript
|
|
6340
|
-
* @enum {string}
|
|
6341
|
-
*/
|
|
6342
|
-
type: "dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction";
|
|
6343
|
-
instruction: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
6344
|
-
/**
|
|
6345
|
-
* Overrides Instructions
|
|
6346
|
-
* @description During injection, whether the original instruction of the state is overriden with this instruction.
|
|
6347
|
-
*/
|
|
6348
|
-
overrides_instructions: boolean;
|
|
6349
|
-
};
|
|
6350
6344
|
/** Response */
|
|
6351
6345
|
dynamic_behavior_set__create_dynamic_behavior_set__Response: {
|
|
6352
6346
|
/**
|
|
@@ -6366,7 +6360,7 @@ export interface components {
|
|
|
6366
6360
|
* Actions
|
|
6367
6361
|
* @description The action to perform when the dynamic behavior set version is activated.
|
|
6368
6362
|
*/
|
|
6369
|
-
actions: (components["schemas"]["
|
|
6363
|
+
actions: (components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set_version__Request__InjectInstructionAction"] | components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set_version__Request__ChangeToolCandidatesAction"])[];
|
|
6370
6364
|
};
|
|
6371
6365
|
/** ChangeToolCandidatesAction */
|
|
6372
6366
|
dynamic_behavior_set__create_dynamic_behavior_set_version__Request__ChangeToolCandidatesAction: {
|
|
@@ -6417,6 +6411,20 @@ export interface components {
|
|
|
6417
6411
|
* the context of the dynamic behavior. */
|
|
6418
6412
|
tool_name: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
6419
6413
|
};
|
|
6414
|
+
/** InjectInstructionAction */
|
|
6415
|
+
dynamic_behavior_set__create_dynamic_behavior_set_version__Request__InjectInstructionAction: {
|
|
6416
|
+
/**
|
|
6417
|
+
* @description discriminator enum property added by openapi-typescript
|
|
6418
|
+
* @enum {string}
|
|
6419
|
+
*/
|
|
6420
|
+
type: "dynamic_behavior_set__create_dynamic_behavior_set_version__Request__InjectInstructionAction";
|
|
6421
|
+
instruction: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
6422
|
+
/**
|
|
6423
|
+
* Overrides Instructions
|
|
6424
|
+
* @description During injection, whether the original instruction of the state is overriden with this instruction.
|
|
6425
|
+
*/
|
|
6426
|
+
overrides_instructions: boolean;
|
|
6427
|
+
};
|
|
6420
6428
|
/** Response */
|
|
6421
6429
|
dynamic_behavior_set__create_dynamic_behavior_set_version__Response: {
|
|
6422
6430
|
/**
|
|
@@ -6467,7 +6475,7 @@ export interface components {
|
|
|
6467
6475
|
* Dynamic Behavior Sets
|
|
6468
6476
|
* @description The retrieved dynamic behavior sets.
|
|
6469
6477
|
*/
|
|
6470
|
-
dynamic_behavior_sets: components["schemas"]["
|
|
6478
|
+
dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
|
|
6471
6479
|
/**
|
|
6472
6480
|
* Has More
|
|
6473
6481
|
* @description Whether there are more dynamic behavior sets to retrieve.
|
|
@@ -6484,34 +6492,8 @@ export interface components {
|
|
|
6484
6492
|
* retrieved. */
|
|
6485
6493
|
filter_values: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues"] | null;
|
|
6486
6494
|
};
|
|
6487
|
-
/** FilterValues */
|
|
6488
|
-
dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
|
|
6489
|
-
/**
|
|
6490
|
-
* Applied To Services Ids
|
|
6491
|
-
* @description A set of service IDs that have dynamic behavior sets applied to the service.
|
|
6492
|
-
*/
|
|
6493
|
-
applied_to_services_ids: string[];
|
|
6494
|
-
/**
|
|
6495
|
-
* Creators
|
|
6496
|
-
* @description A set of creator infos that created the dynamic behavior sets under the current filters.
|
|
6497
|
-
*/
|
|
6498
|
-
creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
|
|
6499
|
-
/**
|
|
6500
|
-
* Tags
|
|
6501
|
-
* @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
|
|
6502
|
-
*/
|
|
6503
|
-
tags: string[];
|
|
6504
|
-
};
|
|
6505
|
-
/** Response */
|
|
6506
|
-
dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
|
|
6507
|
-
/**
|
|
6508
|
-
* Dynamic Behavior Sets
|
|
6509
|
-
* @description The retrieved dynamic behavior sets.
|
|
6510
|
-
*/
|
|
6511
|
-
dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
|
|
6512
|
-
};
|
|
6513
6495
|
/** DynamicBehaviorSetInstance */
|
|
6514
|
-
|
|
6496
|
+
dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
|
|
6515
6497
|
/** Id */
|
|
6516
6498
|
id: string;
|
|
6517
6499
|
/** Name */
|
|
@@ -6537,6 +6519,32 @@ export interface components {
|
|
|
6537
6519
|
updated_at: string;
|
|
6538
6520
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"];
|
|
6539
6521
|
};
|
|
6522
|
+
/** FilterValues */
|
|
6523
|
+
dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
|
|
6524
|
+
/**
|
|
6525
|
+
* Applied To Services Ids
|
|
6526
|
+
* @description A set of service IDs that have dynamic behavior sets applied to the service.
|
|
6527
|
+
*/
|
|
6528
|
+
applied_to_services_ids: string[];
|
|
6529
|
+
/**
|
|
6530
|
+
* Creators
|
|
6531
|
+
* @description A set of creator infos that created the dynamic behavior sets under the current filters.
|
|
6532
|
+
*/
|
|
6533
|
+
creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
|
|
6534
|
+
/**
|
|
6535
|
+
* Tags
|
|
6536
|
+
* @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
|
|
6537
|
+
*/
|
|
6538
|
+
tags: string[];
|
|
6539
|
+
};
|
|
6540
|
+
/** Response */
|
|
6541
|
+
dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
|
|
6542
|
+
/**
|
|
6543
|
+
* Dynamic Behavior Sets
|
|
6544
|
+
* @description The retrieved dynamic behavior sets.
|
|
6545
|
+
*/
|
|
6546
|
+
dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
|
|
6547
|
+
};
|
|
6540
6548
|
/** Request */
|
|
6541
6549
|
dynamic_behavior_set__update_dynamic_behavior_set__Request: {
|
|
6542
6550
|
/** @description The name of the dynamic behavior set. */
|
|
@@ -6861,7 +6869,7 @@ export interface components {
|
|
|
6861
6869
|
* User Dimensions
|
|
6862
6870
|
* @description User dimensions for the organization.
|
|
6863
6871
|
*/
|
|
6864
|
-
user_dimensions: components["schemas"]["
|
|
6872
|
+
user_dimensions: components["schemas"]["organization__modify_organization__Request__UserDimension"][];
|
|
6865
6873
|
/**
|
|
6866
6874
|
* Logo
|
|
6867
6875
|
* Format: base64
|
|
@@ -6938,12 +6946,6 @@ export interface components {
|
|
|
6938
6946
|
*/
|
|
6939
6947
|
audio_keyterms?: string[];
|
|
6940
6948
|
};
|
|
6941
|
-
/** UserDimension */
|
|
6942
|
-
organization__create_organization__Request__UserDimension: {
|
|
6943
|
-
description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
6944
|
-
/** Tags */
|
|
6945
|
-
tags: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
6946
|
-
};
|
|
6947
6949
|
/** Response */
|
|
6948
6950
|
organization__create_organization__Response: {
|
|
6949
6951
|
/**
|
|
@@ -7007,7 +7009,7 @@ export interface components {
|
|
|
7007
7009
|
global_boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
7008
7010
|
};
|
|
7009
7011
|
/** ExitCondition */
|
|
7010
|
-
|
|
7012
|
+
organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition: {
|
|
7011
7013
|
description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
7012
7014
|
/** Next State */
|
|
7013
7015
|
next_state: components["schemas"]["StateOrRefName"] | [
|
|
@@ -7310,7 +7312,7 @@ export interface components {
|
|
|
7310
7312
|
* User Dimensions
|
|
7311
7313
|
* @description User dimensions for the organization. If not set or `null`, this field is not updated.
|
|
7312
7314
|
*/
|
|
7313
|
-
user_dimensions?: components["schemas"]["
|
|
7315
|
+
user_dimensions?: components["schemas"]["organization__modify_organization__Request__UserDimension"][] | null;
|
|
7314
7316
|
/** @description The default user preferences for the organization. If `null`, this field is not updated. */
|
|
7315
7317
|
default_user_preferences?: components["schemas"]["organization__modify_organization__Request__Preferences"] | null;
|
|
7316
7318
|
/**
|
|
@@ -7350,6 +7352,12 @@ export interface components {
|
|
|
7350
7352
|
*/
|
|
7351
7353
|
audio_keyterms?: string[];
|
|
7352
7354
|
};
|
|
7355
|
+
/** UserDimension */
|
|
7356
|
+
organization__modify_organization__Request__UserDimension: {
|
|
7357
|
+
description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
7358
|
+
/** Tags */
|
|
7359
|
+
tags: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
7360
|
+
};
|
|
7353
7361
|
/** Request */
|
|
7354
7362
|
role__assign_role__Request: {
|
|
7355
7363
|
/**
|
|
@@ -7376,29 +7384,10 @@ export interface components {
|
|
|
7376
7384
|
* Permission Grants
|
|
7377
7385
|
* @description A list of permission grants associated with this role.
|
|
7378
7386
|
*/
|
|
7379
|
-
permission_grants: components["schemas"]["
|
|
7387
|
+
permission_grants: components["schemas"]["role__modify_role__Request__PermissionGrant"][];
|
|
7380
7388
|
/** @description The frontend view for users of this role. */
|
|
7381
7389
|
frontend_view: components["schemas"]["FrontendView"];
|
|
7382
7390
|
};
|
|
7383
|
-
/** PermissionGrant */
|
|
7384
|
-
role__create_role__Request__PermissionGrant: {
|
|
7385
|
-
/**
|
|
7386
|
-
* Action
|
|
7387
|
-
* @description Whether this grant allows or denies the specified access.
|
|
7388
|
-
* @enum {string}
|
|
7389
|
-
*/
|
|
7390
|
-
action: "Allow" | "Deny";
|
|
7391
|
-
/** Permission Name */
|
|
7392
|
-
permission_name: string;
|
|
7393
|
-
/**
|
|
7394
|
-
* Conditions
|
|
7395
|
-
* @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
|
|
7396
|
-
*/
|
|
7397
|
-
conditions: {
|
|
7398
|
-
[key: string]: components["schemas"]["Condition"];
|
|
7399
|
-
};
|
|
7400
|
-
description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
|
|
7401
|
-
};
|
|
7402
7391
|
/** Response */
|
|
7403
7392
|
role__create_role__Response: {
|
|
7404
7393
|
/**
|
|
@@ -7423,10 +7412,29 @@ export interface components {
|
|
|
7423
7412
|
* Permission Grants
|
|
7424
7413
|
* @description A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.
|
|
7425
7414
|
*/
|
|
7426
|
-
permission_grants?: components["schemas"]["
|
|
7415
|
+
permission_grants?: components["schemas"]["role__modify_role__Request__PermissionGrant"][] | null;
|
|
7427
7416
|
/** @description The frontend view for the user of this role. Only updated if specified. This field is an immutable field. */
|
|
7428
7417
|
frontend_view?: components["schemas"]["FrontendView"] | null;
|
|
7429
7418
|
};
|
|
7419
|
+
/** PermissionGrant */
|
|
7420
|
+
role__modify_role__Request__PermissionGrant: {
|
|
7421
|
+
/**
|
|
7422
|
+
* Action
|
|
7423
|
+
* @description Whether this grant allows or denies the specified access.
|
|
7424
|
+
* @enum {string}
|
|
7425
|
+
*/
|
|
7426
|
+
action: "Allow" | "Deny";
|
|
7427
|
+
/** Permission Name */
|
|
7428
|
+
permission_name: string;
|
|
7429
|
+
/**
|
|
7430
|
+
* Conditions
|
|
7431
|
+
* @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
|
|
7432
|
+
*/
|
|
7433
|
+
conditions: {
|
|
7434
|
+
[key: string]: components["schemas"]["Condition"];
|
|
7435
|
+
};
|
|
7436
|
+
description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
|
|
7437
|
+
};
|
|
7430
7438
|
/** Response */
|
|
7431
7439
|
role__modify_role__Response: {
|
|
7432
7440
|
/**
|
|
@@ -7487,19 +7495,7 @@ export interface components {
|
|
|
7487
7495
|
service_hierarchical_state_machine_version_number: number | null;
|
|
7488
7496
|
/** Llm Model Preferences */
|
|
7489
7497
|
llm_model_preferences: {
|
|
7490
|
-
[key: string]: components["schemas"]["
|
|
7491
|
-
};
|
|
7492
|
-
};
|
|
7493
|
-
/** LLMConfig */
|
|
7494
|
-
service__create_service__Request__VersionSet__LLMConfig: {
|
|
7495
|
-
llm_name: components["schemas"]["LLMType"];
|
|
7496
|
-
/**
|
|
7497
|
-
* Params
|
|
7498
|
-
* @description LLM-specific parameters to use.
|
|
7499
|
-
* @default {}
|
|
7500
|
-
*/
|
|
7501
|
-
params?: {
|
|
7502
|
-
[key: string]: unknown;
|
|
7498
|
+
[key: string]: components["schemas"]["service__upsert_service_version_set__Request__VersionSet__LLMConfig"];
|
|
7503
7499
|
};
|
|
7504
7500
|
};
|
|
7505
7501
|
/** Response */
|
|
@@ -7584,6 +7580,18 @@ export interface components {
|
|
|
7584
7580
|
/** @description The version set to upsert. */
|
|
7585
7581
|
version_set: components["schemas"]["service__create_service__Request__VersionSet"];
|
|
7586
7582
|
};
|
|
7583
|
+
/** LLMConfig */
|
|
7584
|
+
service__upsert_service_version_set__Request__VersionSet__LLMConfig: {
|
|
7585
|
+
llm_name: components["schemas"]["LLMType"];
|
|
7586
|
+
/**
|
|
7587
|
+
* Params
|
|
7588
|
+
* @description LLM-specific parameters to use.
|
|
7589
|
+
* @default {}
|
|
7590
|
+
*/
|
|
7591
|
+
params?: {
|
|
7592
|
+
[key: string]: unknown;
|
|
7593
|
+
};
|
|
7594
|
+
};
|
|
7587
7595
|
/** Request */
|
|
7588
7596
|
simulation__create_simulation_persona__Request: {
|
|
7589
7597
|
/** @description The name of the simulation persona. */
|
|
@@ -7787,7 +7795,7 @@ export interface components {
|
|
|
7787
7795
|
* Unit Test Runs
|
|
7788
7796
|
* @description The unit test runs that are part of this set.
|
|
7789
7797
|
*/
|
|
7790
|
-
unit_test_runs: components["schemas"]["
|
|
7798
|
+
unit_test_runs: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
|
|
7791
7799
|
/**
|
|
7792
7800
|
* Tags
|
|
7793
7801
|
* @description The tags of the simulation unit test set.
|
|
@@ -7796,16 +7804,6 @@ export interface components {
|
|
|
7796
7804
|
[key: string]: string | null;
|
|
7797
7805
|
};
|
|
7798
7806
|
};
|
|
7799
|
-
/** UnitTestRunDescriptor */
|
|
7800
|
-
simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
|
|
7801
|
-
/** Unit Test Id */
|
|
7802
|
-
unit_test_id: string;
|
|
7803
|
-
/**
|
|
7804
|
-
* Run Count
|
|
7805
|
-
* @description The number of times to run the unit test.
|
|
7806
|
-
*/
|
|
7807
|
-
run_count: number;
|
|
7808
|
-
};
|
|
7809
7807
|
/** Response */
|
|
7810
7808
|
simulation__create_simulation_unit_test_set__Response: {
|
|
7811
7809
|
/**
|
|
@@ -8302,7 +8300,7 @@ export interface components {
|
|
|
8302
8300
|
* Unit Test Runs
|
|
8303
8301
|
* @description The unit test runs that are part of this set.
|
|
8304
8302
|
*/
|
|
8305
|
-
unit_test_runs?: components["schemas"]["
|
|
8303
|
+
unit_test_runs?: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
|
|
8306
8304
|
/**
|
|
8307
8305
|
* Tags
|
|
8308
8306
|
* @description The tags of the simulation unit test set.
|
|
@@ -8311,6 +8309,16 @@ export interface components {
|
|
|
8311
8309
|
[key: string]: string | null;
|
|
8312
8310
|
} | null;
|
|
8313
8311
|
};
|
|
8312
|
+
/** UnitTestRunDescriptor */
|
|
8313
|
+
simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
|
|
8314
|
+
/** Unit Test Id */
|
|
8315
|
+
unit_test_id: string;
|
|
8316
|
+
/**
|
|
8317
|
+
* Run Count
|
|
8318
|
+
* @description The number of times to run the unit test.
|
|
8319
|
+
*/
|
|
8320
|
+
run_count: number;
|
|
8321
|
+
};
|
|
8314
8322
|
/** Request */
|
|
8315
8323
|
tool__create_tool__Request: {
|
|
8316
8324
|
/** @description The name of the tool. It must be unique among all non-deprecated tools in the organization. */
|
|
@@ -8339,7 +8347,7 @@ export interface components {
|
|
|
8339
8347
|
* Tool Invocations
|
|
8340
8348
|
* @description The list of tool invocations.
|
|
8341
8349
|
*/
|
|
8342
|
-
tool_invocations: components["schemas"]["
|
|
8350
|
+
tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
|
|
8343
8351
|
/**
|
|
8344
8352
|
* Has More
|
|
8345
8353
|
* @description Whether there are more tool invocations to retrieve.
|
|
@@ -8351,47 +8359,6 @@ export interface components {
|
|
|
8351
8359
|
*/
|
|
8352
8360
|
continuation_token: unknown | null;
|
|
8353
8361
|
};
|
|
8354
|
-
/** ToolInvocationInstance */
|
|
8355
|
-
tool__get_tool_invocations__Response__ToolInvocationInstance: {
|
|
8356
|
-
/**
|
|
8357
|
-
* Id
|
|
8358
|
-
* @description The ID of the tool invocation.
|
|
8359
|
-
*/
|
|
8360
|
-
id: string;
|
|
8361
|
-
/**
|
|
8362
|
-
* Org Id
|
|
8363
|
-
* @description The ID of the organization.
|
|
8364
|
-
*/
|
|
8365
|
-
org_id: string;
|
|
8366
|
-
/**
|
|
8367
|
-
* Created At
|
|
8368
|
-
* Format: date-time
|
|
8369
|
-
*/
|
|
8370
|
-
created_at?: string;
|
|
8371
|
-
/**
|
|
8372
|
-
* Updated At
|
|
8373
|
-
* Format: date-time
|
|
8374
|
-
*/
|
|
8375
|
-
updated_at?: string;
|
|
8376
|
-
/** @description The status of the tool invocation. */
|
|
8377
|
-
invocation_status: components["schemas"]["InvocationStatus"];
|
|
8378
|
-
/** @description The source of the tool invocation. */
|
|
8379
|
-
invocation_source: components["schemas"]["InvocationSource"];
|
|
8380
|
-
/** Logs */
|
|
8381
|
-
logs: string[];
|
|
8382
|
-
/**
|
|
8383
|
-
* Duration Ms
|
|
8384
|
-
* @description The duration of the tool invocation in milliseconds.
|
|
8385
|
-
*/
|
|
8386
|
-
duration_ms: number;
|
|
8387
|
-
/**
|
|
8388
|
-
* Tool Id
|
|
8389
|
-
* @description The ID of the tool that was invoked.
|
|
8390
|
-
*/
|
|
8391
|
-
tool_id: string;
|
|
8392
|
-
/** @description The version of the tool that was invoked. */
|
|
8393
|
-
tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
|
|
8394
|
-
};
|
|
8395
8362
|
/** Response */
|
|
8396
8363
|
tool__get_tool_versions__Response: {
|
|
8397
8364
|
/**
|
|
@@ -8532,7 +8499,48 @@ export interface components {
|
|
|
8532
8499
|
* Tool Invocations
|
|
8533
8500
|
* @description The list of tool invocations.
|
|
8534
8501
|
*/
|
|
8535
|
-
tool_invocations: components["schemas"]["
|
|
8502
|
+
tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
|
|
8503
|
+
};
|
|
8504
|
+
/** ToolInvocationInstance */
|
|
8505
|
+
tool__search_tool_invocations__Response__ToolInvocationInstance: {
|
|
8506
|
+
/**
|
|
8507
|
+
* Id
|
|
8508
|
+
* @description The ID of the tool invocation.
|
|
8509
|
+
*/
|
|
8510
|
+
id: string;
|
|
8511
|
+
/**
|
|
8512
|
+
* Org Id
|
|
8513
|
+
* @description The ID of the organization.
|
|
8514
|
+
*/
|
|
8515
|
+
org_id: string;
|
|
8516
|
+
/**
|
|
8517
|
+
* Created At
|
|
8518
|
+
* Format: date-time
|
|
8519
|
+
*/
|
|
8520
|
+
created_at?: string;
|
|
8521
|
+
/**
|
|
8522
|
+
* Updated At
|
|
8523
|
+
* Format: date-time
|
|
8524
|
+
*/
|
|
8525
|
+
updated_at?: string;
|
|
8526
|
+
/** @description The status of the tool invocation. */
|
|
8527
|
+
invocation_status: components["schemas"]["InvocationStatus"];
|
|
8528
|
+
/** @description The source of the tool invocation. */
|
|
8529
|
+
invocation_source: components["schemas"]["InvocationSource"];
|
|
8530
|
+
/** Logs */
|
|
8531
|
+
logs: string[];
|
|
8532
|
+
/**
|
|
8533
|
+
* Duration Ms
|
|
8534
|
+
* @description The duration of the tool invocation in milliseconds.
|
|
8535
|
+
*/
|
|
8536
|
+
duration_ms: number;
|
|
8537
|
+
/**
|
|
8538
|
+
* Tool Id
|
|
8539
|
+
* @description The ID of the tool that was invoked.
|
|
8540
|
+
*/
|
|
8541
|
+
tool_id: string;
|
|
8542
|
+
/** @description The version of the tool that was invoked. */
|
|
8543
|
+
tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
|
|
8536
8544
|
};
|
|
8537
8545
|
/** Request */
|
|
8538
8546
|
tool__test_tool__Request: {
|
|
@@ -8694,7 +8702,7 @@ export interface components {
|
|
|
8694
8702
|
* Users
|
|
8695
8703
|
* @description Users in this organization.
|
|
8696
8704
|
*/
|
|
8697
|
-
users: components["schemas"]["
|
|
8705
|
+
users: components["schemas"]["user__get_users__Response__UserInstance"][];
|
|
8698
8706
|
/**
|
|
8699
8707
|
* Has More
|
|
8700
8708
|
* @description Whether there are more users to retrieve.
|
|
@@ -8706,34 +8714,8 @@ export interface components {
|
|
|
8706
8714
|
*/
|
|
8707
8715
|
continuation_token: number | null;
|
|
8708
8716
|
};
|
|
8709
|
-
/** UserStats */
|
|
8710
|
-
user__get_users__Response__UserInstance__UserStats: {
|
|
8711
|
-
/**
|
|
8712
|
-
* Num Conversations
|
|
8713
|
-
* @description The number of conversations the user has created.
|
|
8714
|
-
*/
|
|
8715
|
-
num_conversations: number;
|
|
8716
|
-
/**
|
|
8717
|
-
* Num Messages
|
|
8718
|
-
* @description The number of messages the user has sent and received.
|
|
8719
|
-
*/
|
|
8720
|
-
num_messages: number;
|
|
8721
|
-
/**
|
|
8722
|
-
* Last Message Time
|
|
8723
|
-
* @description The time of the last message the user sent or received. If `None`, the user hasn't started any conversations.
|
|
8724
|
-
*/
|
|
8725
|
-
last_message_time: string | null;
|
|
8726
|
-
};
|
|
8727
|
-
/** Response */
|
|
8728
|
-
user__search_users__Response: {
|
|
8729
|
-
/**
|
|
8730
|
-
* Users
|
|
8731
|
-
* @description Users in this organization.
|
|
8732
|
-
*/
|
|
8733
|
-
users: components["schemas"]["user__search_users__Response__UserInstance"][];
|
|
8734
|
-
};
|
|
8735
8717
|
/** UserInstance */
|
|
8736
|
-
|
|
8718
|
+
user__get_users__Response__UserInstance: {
|
|
8737
8719
|
/**
|
|
8738
8720
|
* Org Id
|
|
8739
8721
|
* @description The ID of the organization that this user belongs to.
|
|
@@ -8760,7 +8742,7 @@ export interface components {
|
|
|
8760
8742
|
*/
|
|
8761
8743
|
email: string;
|
|
8762
8744
|
/** @description Statistics about the user's usage of the Amigo platform. */
|
|
8763
|
-
user_stats: components["schemas"]["
|
|
8745
|
+
user_stats: components["schemas"]["user__search_users__Response__UserInstance__UserStats"];
|
|
8764
8746
|
/**
|
|
8765
8747
|
* Role
|
|
8766
8748
|
* @description The ID of the role of the user.
|
|
@@ -8769,6 +8751,32 @@ export interface components {
|
|
|
8769
8751
|
/** @description The preferences of the user. */
|
|
8770
8752
|
preferences: components["schemas"]["amigo_lib__mongo__collections__user__User__Preferences"];
|
|
8771
8753
|
};
|
|
8754
|
+
/** Response */
|
|
8755
|
+
user__search_users__Response: {
|
|
8756
|
+
/**
|
|
8757
|
+
* Users
|
|
8758
|
+
* @description Users in this organization.
|
|
8759
|
+
*/
|
|
8760
|
+
users: components["schemas"]["user__get_users__Response__UserInstance"][];
|
|
8761
|
+
};
|
|
8762
|
+
/** UserStats */
|
|
8763
|
+
user__search_users__Response__UserInstance__UserStats: {
|
|
8764
|
+
/**
|
|
8765
|
+
* Num Conversations
|
|
8766
|
+
* @description The number of conversations the user has created.
|
|
8767
|
+
*/
|
|
8768
|
+
num_conversations: number;
|
|
8769
|
+
/**
|
|
8770
|
+
* Num Messages
|
|
8771
|
+
* @description The number of messages the user has sent and received.
|
|
8772
|
+
*/
|
|
8773
|
+
num_messages: number;
|
|
8774
|
+
/**
|
|
8775
|
+
* Last Message Time
|
|
8776
|
+
* @description The time of the last message the user sent or received. If `None`, the user hasn't started any conversations.
|
|
8777
|
+
*/
|
|
8778
|
+
last_message_time: string | null;
|
|
8779
|
+
};
|
|
8772
8780
|
/** SigninWithAPIKeyResponse */
|
|
8773
8781
|
user__sign_in_with_api_key__Response: {
|
|
8774
8782
|
/**
|
|
@@ -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__get_users__Response__UserInstance"][];
|
|
9
9
|
has_more: boolean;
|
|
10
10
|
continuation_token: number | null;
|
|
11
11
|
}>;
|