@amigo-ai/sdk 0.75.0 → 0.76.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"]["organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition"][];
2294
+ exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__DecisionState__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"]["organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition"][];
2722
+ exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__DecisionState__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"];
@@ -3463,7 +3463,7 @@ export interface components {
3463
3463
  * Tags
3464
3464
  * @description The tags of the metric.
3465
3465
  */
3466
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
3466
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
3467
3467
  /** @description The user who created the metric. */
3468
3468
  creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
3469
3469
  /** @description The user who last updated the metric. */
@@ -3568,7 +3568,7 @@ export interface components {
3568
3568
  * Tags
3569
3569
  * @description The tags of the metric.
3570
3570
  */
3571
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
3571
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
3572
3572
  /** @description The user who created the metric. */
3573
3573
  creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
3574
3574
  /** @description The user who last updated the metric. */
@@ -4426,7 +4426,7 @@ export interface components {
4426
4426
  * Tags
4427
4427
  * @description The tags of the service.
4428
4428
  */
4429
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
4429
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4430
4430
  };
4431
4431
  /** SimulationConversationInvocationSource */
4432
4432
  SimulationConversationInvocationSource: {
@@ -4636,7 +4636,7 @@ export interface components {
4636
4636
  * Tags
4637
4637
  * @description The tags of the simulation persona.
4638
4638
  */
4639
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
4639
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4640
4640
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4641
4641
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4642
4642
  };
@@ -4708,7 +4708,7 @@ export interface components {
4708
4708
  * Tags
4709
4709
  * @description The tags of the simulation persona.
4710
4710
  */
4711
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
4711
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4712
4712
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4713
4713
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4714
4714
  };
@@ -4763,7 +4763,7 @@ export interface components {
4763
4763
  * Tags
4764
4764
  * @description The tags of the simulation unit test set.
4765
4765
  */
4766
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
4766
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4767
4767
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4768
4768
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4769
4769
  };
@@ -4815,7 +4815,7 @@ export interface components {
4815
4815
  * Tags
4816
4816
  * @description The tags of the simulation unit test set.
4817
4817
  */
4818
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
4818
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4819
4819
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4820
4820
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4821
4821
  };
@@ -5277,7 +5277,7 @@ export interface components {
5277
5277
  * Tags
5278
5278
  * @description The tags of the simulation persona.
5279
5279
  */
5280
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
5280
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
5281
5281
  };
5282
5282
  /** ToolVersionInstance */
5283
5283
  ToolVersionInstance: {
@@ -5307,7 +5307,7 @@ export interface components {
5307
5307
  */
5308
5308
  tool_id: string;
5309
5309
  /** @description The version of the tool. */
5310
- version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
5310
+ version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
5311
5311
  /**
5312
5312
  * Required Envvars
5313
5313
  * @description The environment variables that are required to run the tool.
@@ -5902,6 +5902,13 @@ export interface components {
5902
5902
  metric_id: string;
5903
5903
  criterion: components["schemas"]["SuccessCriterionDescription-Output"];
5904
5904
  };
5905
+ /** Tag */
5906
+ amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag: {
5907
+ /** Key */
5908
+ key: string;
5909
+ /** Value */
5910
+ value: string | null;
5911
+ };
5905
5912
  /** UserInfo */
5906
5913
  amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo: {
5907
5914
  /** Org Id */
@@ -5909,13 +5916,6 @@ export interface components {
5909
5916
  /** User Id */
5910
5917
  user_id: string;
5911
5918
  };
5912
- /** Tag */
5913
- amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag: {
5914
- /** Key */
5915
- key: string;
5916
- /** Value */
5917
- value: string | null;
5918
- };
5919
5919
  /** UnitTestRunDescriptor */
5920
5920
  amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UnitTestRunDescriptor: {
5921
5921
  /** Unit Test Id */
@@ -5951,6 +5951,15 @@ export interface components {
5951
5951
  /** User Id */
5952
5952
  user_id: string;
5953
5953
  };
5954
+ /** Version */
5955
+ amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version: {
5956
+ /** Major */
5957
+ major: number;
5958
+ /** Minor */
5959
+ minor: number;
5960
+ /** Patch */
5961
+ patch: number;
5962
+ };
5954
5963
  /** UserInfo */
5955
5964
  amigo_lib__mongo__collections__tool_version__ToolVersion__UserInfo: {
5956
5965
  /**
@@ -5964,15 +5973,6 @@ export interface components {
5964
5973
  */
5965
5974
  user_org_id: string;
5966
5975
  };
5967
- /** Version */
5968
- amigo_lib__mongo__collections__tool_version__ToolVersion__Version: {
5969
- /** Major */
5970
- major: number;
5971
- /** Minor */
5972
- minor: number;
5973
- /** Patch */
5974
- patch: number;
5975
- };
5976
5976
  /**
5977
5977
  * Preferences
5978
5978
  * @description Preferences that the user can set to customize their experience.
@@ -6301,7 +6301,7 @@ export interface components {
6301
6301
  * Actions
6302
6302
  * @description The action to perform when the dynamic behavior set version is activated.
6303
6303
  */
6304
- 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"])[];
6304
+ 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"])[];
6305
6305
  };
6306
6306
  /** ChangeToolCandidatesAction */
6307
6307
  dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__ChangeToolCandidatesAction: {
@@ -6352,6 +6352,20 @@ export interface components {
6352
6352
  * the context of the dynamic behavior. */
6353
6353
  tool_name: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6354
6354
  };
6355
+ /** InjectInstructionAction */
6356
+ dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction: {
6357
+ /**
6358
+ * @description discriminator enum property added by openapi-typescript
6359
+ * @enum {string}
6360
+ */
6361
+ type: "dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction";
6362
+ instruction: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6363
+ /**
6364
+ * Overrides Instructions
6365
+ * @description During injection, whether the original instruction of the state is overriden with this instruction.
6366
+ */
6367
+ overrides_instructions: boolean;
6368
+ };
6355
6369
  /** Response */
6356
6370
  dynamic_behavior_set__create_dynamic_behavior_set__Response: {
6357
6371
  /**
@@ -6371,7 +6385,7 @@ export interface components {
6371
6385
  * Actions
6372
6386
  * @description The action to perform when the dynamic behavior set version is activated.
6373
6387
  */
6374
- 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"])[];
6388
+ 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"])[];
6375
6389
  };
6376
6390
  /** ChangeToolCandidatesAction */
6377
6391
  dynamic_behavior_set__create_dynamic_behavior_set_version__Request__ChangeToolCandidatesAction: {
@@ -6422,20 +6436,6 @@ export interface components {
6422
6436
  * the context of the dynamic behavior. */
6423
6437
  tool_name: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6424
6438
  };
6425
- /** InjectInstructionAction */
6426
- dynamic_behavior_set__create_dynamic_behavior_set_version__Request__InjectInstructionAction: {
6427
- /**
6428
- * @description discriminator enum property added by openapi-typescript
6429
- * @enum {string}
6430
- */
6431
- type: "dynamic_behavior_set__create_dynamic_behavior_set_version__Request__InjectInstructionAction";
6432
- instruction: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6433
- /**
6434
- * Overrides Instructions
6435
- * @description During injection, whether the original instruction of the state is overriden with this instruction.
6436
- */
6437
- overrides_instructions: boolean;
6438
- };
6439
6439
  /** Response */
6440
6440
  dynamic_behavior_set__create_dynamic_behavior_set_version__Response: {
6441
6441
  /**
@@ -6486,7 +6486,7 @@ export interface components {
6486
6486
  * Dynamic Behavior Sets
6487
6487
  * @description The retrieved dynamic behavior sets.
6488
6488
  */
6489
- dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6489
+ dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6490
6490
  /**
6491
6491
  * Has More
6492
6492
  * @description Whether there are more dynamic behavior sets to retrieve.
@@ -6503,34 +6503,8 @@ export interface components {
6503
6503
  * retrieved. */
6504
6504
  filter_values: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues"] | null;
6505
6505
  };
6506
- /** FilterValues */
6507
- dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
6508
- /**
6509
- * Applied To Services Ids
6510
- * @description A set of service IDs that have dynamic behavior sets applied to the service.
6511
- */
6512
- applied_to_services_ids: string[];
6513
- /**
6514
- * Creators
6515
- * @description A set of creator infos that created the dynamic behavior sets under the current filters.
6516
- */
6517
- creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
6518
- /**
6519
- * Tags
6520
- * @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
6521
- */
6522
- tags: string[];
6523
- };
6524
- /** Response */
6525
- dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
6526
- /**
6527
- * Dynamic Behavior Sets
6528
- * @description The retrieved dynamic behavior sets.
6529
- */
6530
- dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6531
- };
6532
6506
  /** DynamicBehaviorSetInstance */
6533
- dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
6507
+ dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
6534
6508
  /** Id */
6535
6509
  id: string;
6536
6510
  /** Name */
@@ -6556,6 +6530,32 @@ export interface components {
6556
6530
  updated_at: string;
6557
6531
  updated_by: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"];
6558
6532
  };
6533
+ /** FilterValues */
6534
+ dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
6535
+ /**
6536
+ * Applied To Services Ids
6537
+ * @description A set of service IDs that have dynamic behavior sets applied to the service.
6538
+ */
6539
+ applied_to_services_ids: string[];
6540
+ /**
6541
+ * Creators
6542
+ * @description A set of creator infos that created the dynamic behavior sets under the current filters.
6543
+ */
6544
+ creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
6545
+ /**
6546
+ * Tags
6547
+ * @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
6548
+ */
6549
+ tags: string[];
6550
+ };
6551
+ /** Response */
6552
+ dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
6553
+ /**
6554
+ * Dynamic Behavior Sets
6555
+ * @description The retrieved dynamic behavior sets.
6556
+ */
6557
+ dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6558
+ };
6559
6559
  /** Request */
6560
6560
  dynamic_behavior_set__update_dynamic_behavior_set__Request: {
6561
6561
  /** @description The name of the dynamic behavior set. */
@@ -7026,7 +7026,7 @@ export interface components {
7026
7026
  global_boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
7027
7027
  };
7028
7028
  /** ExitCondition */
7029
- organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition: {
7029
+ organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition: {
7030
7030
  description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
7031
7031
  /** Next State */
7032
7032
  next_state: components["schemas"]["StateOrRefName"] | [
@@ -7492,18 +7492,6 @@ export interface components {
7492
7492
  [key: string]: components["schemas"]["StrippedNonemptyString___w__s_____"] | null;
7493
7493
  };
7494
7494
  };
7495
- /** LLMConfig */
7496
- service__create_service__Request__VersionSet__LLMConfig: {
7497
- llm_name: components["schemas"]["LLMType"];
7498
- /**
7499
- * Params
7500
- * @description LLM-specific parameters to use.
7501
- * @default {}
7502
- */
7503
- params?: {
7504
- [key: string]: unknown;
7505
- };
7506
- };
7507
7495
  /** Response */
7508
7496
  service__create_service__Response: {
7509
7497
  /**
@@ -7600,7 +7588,19 @@ export interface components {
7600
7588
  service_hierarchical_state_machine_version_number: number | null;
7601
7589
  /** Llm Model Preferences */
7602
7590
  llm_model_preferences: {
7603
- [key: string]: components["schemas"]["service__create_service__Request__VersionSet__LLMConfig"];
7591
+ [key: string]: components["schemas"]["service__upsert_service_version_set__Request__VersionSet__LLMConfig"];
7592
+ };
7593
+ };
7594
+ /** LLMConfig */
7595
+ service__upsert_service_version_set__Request__VersionSet__LLMConfig: {
7596
+ llm_name: components["schemas"]["LLMType"];
7597
+ /**
7598
+ * Params
7599
+ * @description LLM-specific parameters to use.
7600
+ * @default {}
7601
+ */
7602
+ params?: {
7603
+ [key: string]: unknown;
7604
7604
  };
7605
7605
  };
7606
7606
  /** Request */
@@ -7806,7 +7806,7 @@ export interface components {
7806
7806
  * Unit Test Runs
7807
7807
  * @description The unit test runs that are part of this set.
7808
7808
  */
7809
- unit_test_runs: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
7809
+ unit_test_runs: components["schemas"]["simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
7810
7810
  /**
7811
7811
  * Tags
7812
7812
  * @description The tags of the simulation unit test set.
@@ -7815,6 +7815,16 @@ export interface components {
7815
7815
  [key: string]: string | null;
7816
7816
  };
7817
7817
  };
7818
+ /** UnitTestRunDescriptor */
7819
+ simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
7820
+ /** Unit Test Id */
7821
+ unit_test_id: string;
7822
+ /**
7823
+ * Run Count
7824
+ * @description The number of times to run the unit test.
7825
+ */
7826
+ run_count: number;
7827
+ };
7818
7828
  /** Response */
7819
7829
  simulation__create_simulation_unit_test_set__Response: {
7820
7830
  /**
@@ -7863,7 +7873,7 @@ export interface components {
7863
7873
  * Simulation Personas
7864
7874
  * @description The list of simulation personas.
7865
7875
  */
7866
- simulation_personas: components["schemas"]["simulation__search_simulation_personas__Response__SimulationPersonaInstance"][];
7876
+ simulation_personas: components["schemas"]["simulation__get_simulation_personas__Response__SimulationPersonaInstance"][];
7867
7877
  /**
7868
7878
  * Has More
7869
7879
  * @description Whether there are more simulation personas to fetch.
@@ -7898,6 +7908,52 @@ export interface components {
7898
7908
  */
7899
7909
  roles: string[];
7900
7910
  };
7911
+ /** SimulationPersonaInstance */
7912
+ simulation__get_simulation_personas__Response__SimulationPersonaInstance: {
7913
+ /**
7914
+ * Id
7915
+ * @description The ID of the simulation persona.
7916
+ */
7917
+ id: string;
7918
+ /**
7919
+ * Name
7920
+ * @description The name of the simulation persona.
7921
+ */
7922
+ name: string;
7923
+ /**
7924
+ * Role
7925
+ * @description The role of the simulation persona.
7926
+ */
7927
+ role: string;
7928
+ /**
7929
+ * Tags
7930
+ * @description The tags of the simulation persona.
7931
+ */
7932
+ tags: {
7933
+ [key: string]: string | null;
7934
+ };
7935
+ /**
7936
+ * Is Deleted
7937
+ * @description Whether the simulation persona is deleted.
7938
+ */
7939
+ is_deleted: boolean;
7940
+ /**
7941
+ * Created At
7942
+ * Format: date-time
7943
+ * @description The timestamp when the simulation persona was created.
7944
+ */
7945
+ created_at: string;
7946
+ /** @description The user who created the simulation persona. */
7947
+ creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
7948
+ /**
7949
+ * Updated At
7950
+ * Format: date-time
7951
+ * @description The timestamp when the simulation persona was last updated.
7952
+ */
7953
+ updated_at: string;
7954
+ /** @description The user who last updated the simulation persona. */
7955
+ updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
7956
+ };
7901
7957
  /** Response */
7902
7958
  simulation__get_simulation_scenario_versions__Response: {
7903
7959
  /**
@@ -7922,7 +7978,7 @@ export interface components {
7922
7978
  * Simulation Scenarios
7923
7979
  * @description The list of simulation scenarios.
7924
7980
  */
7925
- simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
7981
+ simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
7926
7982
  /**
7927
7983
  * Has More
7928
7984
  * @description Whether there are more simulation scenarios to fetch.
@@ -7952,47 +8008,6 @@ export interface components {
7952
8008
  */
7953
8009
  tags: string[];
7954
8010
  };
7955
- /** SimulationScenarioInstance */
7956
- simulation__get_simulation_scenarios__Response__SimulationScenarioInstance: {
7957
- /**
7958
- * Id
7959
- * @description The ID of the simulation scenario.
7960
- */
7961
- id: string;
7962
- /**
7963
- * Name
7964
- * @description The name of the simulation scenario.
7965
- */
7966
- name: string;
7967
- /**
7968
- * Tags
7969
- * @description The tags of the simulation scenario.
7970
- */
7971
- tags: {
7972
- [key: string]: string | null;
7973
- };
7974
- /**
7975
- * Is Deleted
7976
- * @description Whether the simulation scenario is deleted.
7977
- */
7978
- is_deleted: boolean;
7979
- /**
7980
- * Created At
7981
- * Format: date-time
7982
- * @description The timestamp when the simulation scenario was created.
7983
- */
7984
- created_at: string;
7985
- /** @description The user who created the simulation scenario. */
7986
- creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
7987
- /**
7988
- * Updated At
7989
- * Format: date-time
7990
- * @description The timestamp when the simulation scenario was last updated.
7991
- */
7992
- updated_at: string;
7993
- /** @description The user who last updated the simulation scenario. */
7994
- updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
7995
- };
7996
8011
  /** Response */
7997
8012
  simulation__get_simulation_unit_test_set_run_artifacts__Response: {
7998
8013
  /**
@@ -8151,61 +8166,56 @@ export interface components {
8151
8166
  * Simulation Personas
8152
8167
  * @description The list of simulation personas.
8153
8168
  */
8154
- simulation_personas: components["schemas"]["simulation__search_simulation_personas__Response__SimulationPersonaInstance"][];
8169
+ simulation_personas: components["schemas"]["simulation__get_simulation_personas__Response__SimulationPersonaInstance"][];
8155
8170
  };
8156
- /** SimulationPersonaInstance */
8157
- simulation__search_simulation_personas__Response__SimulationPersonaInstance: {
8171
+ /** Response */
8172
+ simulation__search_simulation_scenarios__Response: {
8173
+ /**
8174
+ * Simulation Scenarios
8175
+ * @description The list of simulation scenarios.
8176
+ */
8177
+ simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
8178
+ };
8179
+ /** SimulationScenarioInstance */
8180
+ simulation__search_simulation_scenarios__Response__SimulationScenarioInstance: {
8158
8181
  /**
8159
8182
  * Id
8160
- * @description The ID of the simulation persona.
8183
+ * @description The ID of the simulation scenario.
8161
8184
  */
8162
8185
  id: string;
8163
8186
  /**
8164
8187
  * Name
8165
- * @description The name of the simulation persona.
8188
+ * @description The name of the simulation scenario.
8166
8189
  */
8167
8190
  name: string;
8168
- /**
8169
- * Role
8170
- * @description The role of the simulation persona.
8171
- */
8172
- role: string;
8173
8191
  /**
8174
8192
  * Tags
8175
- * @description The tags of the simulation persona.
8193
+ * @description The tags of the simulation scenario.
8176
8194
  */
8177
8195
  tags: {
8178
8196
  [key: string]: string | null;
8179
8197
  };
8180
8198
  /**
8181
8199
  * Is Deleted
8182
- * @description Whether the simulation persona is deleted.
8200
+ * @description Whether the simulation scenario is deleted.
8183
8201
  */
8184
8202
  is_deleted: boolean;
8185
8203
  /**
8186
8204
  * Created At
8187
8205
  * Format: date-time
8188
- * @description The timestamp when the simulation persona was created.
8206
+ * @description The timestamp when the simulation scenario was created.
8189
8207
  */
8190
8208
  created_at: string;
8191
- /** @description The user who created the simulation persona. */
8192
- creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
8209
+ /** @description The user who created the simulation scenario. */
8210
+ creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8193
8211
  /**
8194
8212
  * Updated At
8195
8213
  * Format: date-time
8196
- * @description The timestamp when the simulation persona was last updated.
8214
+ * @description The timestamp when the simulation scenario was last updated.
8197
8215
  */
8198
8216
  updated_at: string;
8199
- /** @description The user who last updated the simulation persona. */
8200
- updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
8201
- };
8202
- /** Response */
8203
- simulation__search_simulation_scenarios__Response: {
8204
- /**
8205
- * Simulation Scenarios
8206
- * @description The list of simulation scenarios.
8207
- */
8208
- simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
8217
+ /** @description The user who last updated the simulation scenario. */
8218
+ updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8209
8219
  };
8210
8220
  /** Response */
8211
8221
  simulation__search_simulation_unit_test_set__Response: {
@@ -8311,7 +8321,7 @@ export interface components {
8311
8321
  * Unit Test Runs
8312
8322
  * @description The unit test runs that are part of this set.
8313
8323
  */
8314
- unit_test_runs?: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
8324
+ unit_test_runs?: components["schemas"]["simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
8315
8325
  /**
8316
8326
  * Tags
8317
8327
  * @description The tags of the simulation unit test set.
@@ -8320,16 +8330,6 @@ export interface components {
8320
8330
  [key: string]: string | null;
8321
8331
  } | null;
8322
8332
  };
8323
- /** UnitTestRunDescriptor */
8324
- simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
8325
- /** Unit Test Id */
8326
- unit_test_id: string;
8327
- /**
8328
- * Run Count
8329
- * @description The number of times to run the unit test.
8330
- */
8331
- run_count: number;
8332
- };
8333
8333
  /** Request */
8334
8334
  tool__create_tool__Request: {
8335
8335
  /** @description The name of the tool. It must be unique among all non-deprecated tools in the organization. */
@@ -8551,7 +8551,7 @@ export interface components {
8551
8551
  */
8552
8552
  tool_id: string;
8553
8553
  /** @description The version of the tool that was invoked. */
8554
- tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
8554
+ tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
8555
8555
  };
8556
8556
  /** Request */
8557
8557
  tool__test_tool__Request: {
@@ -8713,7 +8713,7 @@ export interface components {
8713
8713
  * Users
8714
8714
  * @description Users in this organization.
8715
8715
  */
8716
- users: components["schemas"]["user__get_users__Response__UserInstance"][];
8716
+ users: components["schemas"]["user__search_users__Response__UserInstance"][];
8717
8717
  /**
8718
8718
  * Has More
8719
8719
  * @description Whether there are more users to retrieve.
@@ -8725,8 +8725,34 @@ export interface components {
8725
8725
  */
8726
8726
  continuation_token: number | null;
8727
8727
  };
8728
+ /** UserStats */
8729
+ user__get_users__Response__UserInstance__UserStats: {
8730
+ /**
8731
+ * Num Conversations
8732
+ * @description The number of conversations the user has created.
8733
+ */
8734
+ num_conversations: number;
8735
+ /**
8736
+ * Num Messages
8737
+ * @description The number of messages the user has sent and received.
8738
+ */
8739
+ num_messages: number;
8740
+ /**
8741
+ * Last Message Time
8742
+ * @description The time of the last message the user sent or received. If `None`, the user hasn't started any conversations.
8743
+ */
8744
+ last_message_time: string | null;
8745
+ };
8746
+ /** Response */
8747
+ user__search_users__Response: {
8748
+ /**
8749
+ * Users
8750
+ * @description Users in this organization.
8751
+ */
8752
+ users: components["schemas"]["user__search_users__Response__UserInstance"][];
8753
+ };
8728
8754
  /** UserInstance */
8729
- user__get_users__Response__UserInstance: {
8755
+ user__search_users__Response__UserInstance: {
8730
8756
  /**
8731
8757
  * Org Id
8732
8758
  * @description The ID of the organization that this user belongs to.
@@ -8762,32 +8788,6 @@ export interface components {
8762
8788
  /** @description The preferences of the user. */
8763
8789
  preferences: components["schemas"]["amigo_lib__mongo__collections__user__User__Preferences"];
8764
8790
  };
8765
- /** UserStats */
8766
- user__get_users__Response__UserInstance__UserStats: {
8767
- /**
8768
- * Num Conversations
8769
- * @description The number of conversations the user has created.
8770
- */
8771
- num_conversations: number;
8772
- /**
8773
- * Num Messages
8774
- * @description The number of messages the user has sent and received.
8775
- */
8776
- num_messages: number;
8777
- /**
8778
- * Last Message Time
8779
- * @description The time of the last message the user sent or received. If `None`, the user hasn't started any conversations.
8780
- */
8781
- last_message_time: string | null;
8782
- };
8783
- /** Response */
8784
- user__search_users__Response: {
8785
- /**
8786
- * Users
8787
- * @description Users in this organization.
8788
- */
8789
- users: components["schemas"]["user__get_users__Response__UserInstance"][];
8790
- };
8791
8791
  /** SigninWithAPIKeyResponse */
8792
8792
  user__sign_in_with_api_key__Response: {
8793
8793
  /**
@@ -11400,6 +11400,13 @@ export interface operations {
11400
11400
  };
11401
11401
  content?: never;
11402
11402
  };
11403
+ /** @description The request body stream timed out. */
11404
+ 408: {
11405
+ headers: {
11406
+ [name: string]: unknown;
11407
+ };
11408
+ content?: never;
11409
+ };
11403
11410
  /** @description The specified conversation is already finished, or a related operation is in process. */
11404
11411
  409: {
11405
11412
  headers: {
@@ -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"]["user__get_users__Response__UserInstance"][];
8
+ users: components["schemas"]["user__search_users__Response__UserInstance"][];
9
9
  has_more: boolean;
10
10
  continuation_token: number | null;
11
11
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.75.0",
3
+ "version": "0.76.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"