@amigo-ai/sdk 0.80.0 → 0.81.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"];
@@ -3468,7 +3468,7 @@ export interface components {
3468
3468
  * Tags
3469
3469
  * @description The tags of the metric.
3470
3470
  */
3471
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
3471
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
3472
3472
  /** @description The user who created the metric. */
3473
3473
  creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
3474
3474
  /** @description The user who last updated the metric. */
@@ -3573,7 +3573,7 @@ export interface components {
3573
3573
  * Tags
3574
3574
  * @description The tags of the metric.
3575
3575
  */
3576
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
3576
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
3577
3577
  /** @description The user who created the metric. */
3578
3578
  creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
3579
3579
  /** @description The user who last updated the metric. */
@@ -4425,7 +4425,7 @@ export interface components {
4425
4425
  * Tags
4426
4426
  * @description The tags of the service.
4427
4427
  */
4428
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4428
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4429
4429
  };
4430
4430
  /** SimulationConversationInvocationSource */
4431
4431
  SimulationConversationInvocationSource: {
@@ -4635,7 +4635,7 @@ export interface components {
4635
4635
  * Tags
4636
4636
  * @description The tags of the simulation persona.
4637
4637
  */
4638
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4638
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4639
4639
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4640
4640
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4641
4641
  };
@@ -4707,7 +4707,7 @@ export interface components {
4707
4707
  * Tags
4708
4708
  * @description The tags of the simulation persona.
4709
4709
  */
4710
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4710
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4711
4711
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4712
4712
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4713
4713
  };
@@ -4762,7 +4762,7 @@ export interface components {
4762
4762
  * Tags
4763
4763
  * @description The tags of the simulation unit test set.
4764
4764
  */
4765
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4765
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4766
4766
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4767
4767
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4768
4768
  };
@@ -4814,7 +4814,7 @@ export interface components {
4814
4814
  * Tags
4815
4815
  * @description The tags of the simulation unit test set.
4816
4816
  */
4817
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4817
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4818
4818
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4819
4819
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4820
4820
  };
@@ -5276,7 +5276,7 @@ export interface components {
5276
5276
  * Tags
5277
5277
  * @description The tags of the simulation persona.
5278
5278
  */
5279
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
5279
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
5280
5280
  };
5281
5281
  /** ToolVersionInstance */
5282
5282
  ToolVersionInstance: {
@@ -5306,7 +5306,7 @@ export interface components {
5306
5306
  */
5307
5307
  tool_id: string;
5308
5308
  /** @description The version of the tool. */
5309
- version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
5309
+ version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
5310
5310
  /**
5311
5311
  * Required Envvars
5312
5312
  * @description The environment variables that are required to run the tool.
@@ -5901,13 +5901,6 @@ export interface components {
5901
5901
  metric_id: string;
5902
5902
  criterion: components["schemas"]["SuccessCriterionDescription-Output"];
5903
5903
  };
5904
- /** Tag */
5905
- amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag: {
5906
- /** Key */
5907
- key: string;
5908
- /** Value */
5909
- value: string | null;
5910
- };
5911
5904
  /** UserInfo */
5912
5905
  amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo: {
5913
5906
  /** Org Id */
@@ -5950,14 +5943,12 @@ export interface components {
5950
5943
  /** User Id */
5951
5944
  user_id: string;
5952
5945
  };
5953
- /** Version */
5954
- amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version: {
5955
- /** Major */
5956
- major: number;
5957
- /** Minor */
5958
- minor: number;
5959
- /** Patch */
5960
- patch: number;
5946
+ /** Tag */
5947
+ amigo_lib__mongo__collections__tool__Tool__Tag: {
5948
+ /** Key */
5949
+ key: string;
5950
+ /** Value */
5951
+ value: string | null;
5961
5952
  };
5962
5953
  /** UserInfo */
5963
5954
  amigo_lib__mongo__collections__tool_version__ToolVersion__UserInfo: {
@@ -5972,6 +5963,15 @@ export interface components {
5972
5963
  */
5973
5964
  user_org_id: string;
5974
5965
  };
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
5975
  /**
5976
5976
  * Preferences
5977
5977
  * @description Preferences that the user can set to customize their experience.
@@ -6300,7 +6300,7 @@ export interface components {
6300
6300
  * Actions
6301
6301
  * @description The action to perform when the dynamic behavior set version is activated.
6302
6302
  */
6303
- 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"])[];
6303
+ 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
6304
  };
6305
6305
  /** ChangeToolCandidatesAction */
6306
6306
  dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__ChangeToolCandidatesAction: {
@@ -6351,6 +6351,20 @@ export interface components {
6351
6351
  * the context of the dynamic behavior. */
6352
6352
  tool_name: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6353
6353
  };
6354
+ /** InjectInstructionAction */
6355
+ dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction: {
6356
+ /**
6357
+ * @description discriminator enum property added by openapi-typescript
6358
+ * @enum {string}
6359
+ */
6360
+ type: "dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction";
6361
+ instruction: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6362
+ /**
6363
+ * Overrides Instructions
6364
+ * @description During injection, whether the original instruction of the state is overriden with this instruction.
6365
+ */
6366
+ overrides_instructions: boolean;
6367
+ };
6354
6368
  /** Response */
6355
6369
  dynamic_behavior_set__create_dynamic_behavior_set__Response: {
6356
6370
  /**
@@ -6370,7 +6384,7 @@ export interface components {
6370
6384
  * Actions
6371
6385
  * @description The action to perform when the dynamic behavior set version is activated.
6372
6386
  */
6373
- 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"])[];
6387
+ 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
6388
  };
6375
6389
  /** ChangeToolCandidatesAction */
6376
6390
  dynamic_behavior_set__create_dynamic_behavior_set_version__Request__ChangeToolCandidatesAction: {
@@ -6421,20 +6435,6 @@ export interface components {
6421
6435
  * the context of the dynamic behavior. */
6422
6436
  tool_name: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6423
6437
  };
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
6438
  /** Response */
6439
6439
  dynamic_behavior_set__create_dynamic_behavior_set_version__Response: {
6440
6440
  /**
@@ -6485,7 +6485,7 @@ export interface components {
6485
6485
  * Dynamic Behavior Sets
6486
6486
  * @description The retrieved dynamic behavior sets.
6487
6487
  */
6488
- dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6488
+ dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6489
6489
  /**
6490
6490
  * Has More
6491
6491
  * @description Whether there are more dynamic behavior sets to retrieve.
@@ -6502,8 +6502,34 @@ export interface components {
6502
6502
  * retrieved. */
6503
6503
  filter_values: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues"] | null;
6504
6504
  };
6505
+ /** FilterValues */
6506
+ dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
6507
+ /**
6508
+ * Applied To Services Ids
6509
+ * @description A set of service IDs that have dynamic behavior sets applied to the service.
6510
+ */
6511
+ applied_to_services_ids: string[];
6512
+ /**
6513
+ * Creators
6514
+ * @description A set of creator infos that created the dynamic behavior sets under the current filters.
6515
+ */
6516
+ creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
6517
+ /**
6518
+ * Tags
6519
+ * @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
6520
+ */
6521
+ tags: string[];
6522
+ };
6523
+ /** Response */
6524
+ dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
6525
+ /**
6526
+ * Dynamic Behavior Sets
6527
+ * @description The retrieved dynamic behavior sets.
6528
+ */
6529
+ dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6530
+ };
6505
6531
  /** DynamicBehaviorSetInstance */
6506
- dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
6532
+ dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
6507
6533
  /** Id */
6508
6534
  id: string;
6509
6535
  /** Name */
@@ -6529,32 +6555,6 @@ export interface components {
6529
6555
  updated_at: string;
6530
6556
  updated_by: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"];
6531
6557
  };
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
6558
  /** Request */
6559
6559
  dynamic_behavior_set__update_dynamic_behavior_set__Request: {
6560
6560
  /** @description The name of the dynamic behavior set. */
@@ -6879,7 +6879,7 @@ export interface components {
6879
6879
  * User Dimensions
6880
6880
  * @description User dimensions for the organization.
6881
6881
  */
6882
- user_dimensions: components["schemas"]["organization__create_organization__Request__UserDimension"][];
6882
+ user_dimensions: components["schemas"]["organization__modify_organization__Request__UserDimension"][];
6883
6883
  /**
6884
6884
  * Logo
6885
6885
  * Format: base64
@@ -6956,12 +6956,6 @@ export interface components {
6956
6956
  */
6957
6957
  audio_keyterms?: string[];
6958
6958
  };
6959
- /** UserDimension */
6960
- organization__create_organization__Request__UserDimension: {
6961
- description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6962
- /** Tags */
6963
- tags: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
6964
- };
6965
6959
  /** Response */
6966
6960
  organization__create_organization__Response: {
6967
6961
  /**
@@ -7025,7 +7019,7 @@ export interface components {
7025
7019
  global_boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
7026
7020
  };
7027
7021
  /** ExitCondition */
7028
- organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition: {
7022
+ organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition: {
7029
7023
  description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
7030
7024
  /** Next State */
7031
7025
  next_state: components["schemas"]["StateOrRefName"] | [
@@ -7328,7 +7322,7 @@ export interface components {
7328
7322
  * User Dimensions
7329
7323
  * @description User dimensions for the organization. If not set or `null`, this field is not updated.
7330
7324
  */
7331
- user_dimensions?: components["schemas"]["organization__create_organization__Request__UserDimension"][] | null;
7325
+ user_dimensions?: components["schemas"]["organization__modify_organization__Request__UserDimension"][] | null;
7332
7326
  /** @description The default user preferences for the organization. If `null`, this field is not updated. */
7333
7327
  default_user_preferences?: components["schemas"]["organization__modify_organization__Request__Preferences"] | null;
7334
7328
  /**
@@ -7368,6 +7362,12 @@ export interface components {
7368
7362
  */
7369
7363
  audio_keyterms?: string[];
7370
7364
  };
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
7371
  /** Request */
7372
7372
  role__assign_role__Request: {
7373
7373
  /**
@@ -7505,19 +7505,7 @@ export interface components {
7505
7505
  service_hierarchical_state_machine_version_number: number | null;
7506
7506
  /** Llm Model Preferences */
7507
7507
  llm_model_preferences: {
7508
- [key: string]: components["schemas"]["service__create_service__Request__VersionSet__LLMConfig"];
7509
- };
7510
- };
7511
- /** LLMConfig */
7512
- service__create_service__Request__VersionSet__LLMConfig: {
7513
- llm_name: components["schemas"]["LLMType"];
7514
- /**
7515
- * Params
7516
- * @description LLM-specific parameters to use.
7517
- * @default {}
7518
- */
7519
- params?: {
7520
- [key: string]: unknown;
7508
+ [key: string]: components["schemas"]["service__upsert_service_version_set__Request__VersionSet__LLMConfig"];
7521
7509
  };
7522
7510
  };
7523
7511
  /** Response */
@@ -7602,6 +7590,18 @@ export interface components {
7602
7590
  /** @description The version set to upsert. */
7603
7591
  version_set: components["schemas"]["service__create_service__Request__VersionSet"];
7604
7592
  };
7593
+ /** LLMConfig */
7594
+ service__upsert_service_version_set__Request__VersionSet__LLMConfig: {
7595
+ llm_name: components["schemas"]["LLMType"];
7596
+ /**
7597
+ * Params
7598
+ * @description LLM-specific parameters to use.
7599
+ * @default {}
7600
+ */
7601
+ params?: {
7602
+ [key: string]: unknown;
7603
+ };
7604
+ };
7605
7605
  /** Request */
7606
7606
  simulation__create_simulation_persona__Request: {
7607
7607
  /** @description The name of the simulation persona. */
@@ -7805,7 +7805,7 @@ export interface components {
7805
7805
  * Unit Test Runs
7806
7806
  * @description The unit test runs that are part of this set.
7807
7807
  */
7808
- unit_test_runs: components["schemas"]["simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
7808
+ unit_test_runs: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
7809
7809
  /**
7810
7810
  * Tags
7811
7811
  * @description The tags of the simulation unit test set.
@@ -7814,16 +7814,6 @@ export interface components {
7814
7814
  [key: string]: string | null;
7815
7815
  };
7816
7816
  };
7817
- /** UnitTestRunDescriptor */
7818
- simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
7819
- /** Unit Test Id */
7820
- unit_test_id: string;
7821
- /**
7822
- * Run Count
7823
- * @description The number of times to run the unit test.
7824
- */
7825
- run_count: number;
7826
- };
7827
7817
  /** Response */
7828
7818
  simulation__create_simulation_unit_test_set__Response: {
7829
7819
  /**
@@ -7872,7 +7862,7 @@ export interface components {
7872
7862
  * Simulation Personas
7873
7863
  * @description The list of simulation personas.
7874
7864
  */
7875
- simulation_personas: components["schemas"]["simulation__search_simulation_personas__Response__SimulationPersonaInstance"][];
7865
+ simulation_personas: components["schemas"]["simulation__get_simulation_personas__Response__SimulationPersonaInstance"][];
7876
7866
  /**
7877
7867
  * Has More
7878
7868
  * @description Whether there are more simulation personas to fetch.
@@ -7907,6 +7897,52 @@ export interface components {
7907
7897
  */
7908
7898
  roles: string[];
7909
7899
  };
7900
+ /** SimulationPersonaInstance */
7901
+ simulation__get_simulation_personas__Response__SimulationPersonaInstance: {
7902
+ /**
7903
+ * Id
7904
+ * @description The ID of the simulation persona.
7905
+ */
7906
+ id: string;
7907
+ /**
7908
+ * Name
7909
+ * @description The name of the simulation persona.
7910
+ */
7911
+ name: string;
7912
+ /**
7913
+ * Role
7914
+ * @description The role of the simulation persona.
7915
+ */
7916
+ role: string;
7917
+ /**
7918
+ * Tags
7919
+ * @description The tags of the simulation persona.
7920
+ */
7921
+ tags: {
7922
+ [key: string]: string | null;
7923
+ };
7924
+ /**
7925
+ * Is Deleted
7926
+ * @description Whether the simulation persona is deleted.
7927
+ */
7928
+ is_deleted: boolean;
7929
+ /**
7930
+ * Created At
7931
+ * Format: date-time
7932
+ * @description The timestamp when the simulation persona was created.
7933
+ */
7934
+ created_at: string;
7935
+ /** @description The user who created the simulation persona. */
7936
+ creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
7937
+ /**
7938
+ * Updated At
7939
+ * Format: date-time
7940
+ * @description The timestamp when the simulation persona was last updated.
7941
+ */
7942
+ updated_at: string;
7943
+ /** @description The user who last updated the simulation persona. */
7944
+ updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
7945
+ };
7910
7946
  /** Response */
7911
7947
  simulation__get_simulation_scenario_versions__Response: {
7912
7948
  /**
@@ -7931,7 +7967,7 @@ export interface components {
7931
7967
  * Simulation Scenarios
7932
7968
  * @description The list of simulation scenarios.
7933
7969
  */
7934
- simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
7970
+ simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
7935
7971
  /**
7936
7972
  * Has More
7937
7973
  * @description Whether there are more simulation scenarios to fetch.
@@ -7961,47 +7997,6 @@ export interface components {
7961
7997
  */
7962
7998
  tags: string[];
7963
7999
  };
7964
- /** SimulationScenarioInstance */
7965
- simulation__get_simulation_scenarios__Response__SimulationScenarioInstance: {
7966
- /**
7967
- * Id
7968
- * @description The ID of the simulation scenario.
7969
- */
7970
- id: string;
7971
- /**
7972
- * Name
7973
- * @description The name of the simulation scenario.
7974
- */
7975
- name: string;
7976
- /**
7977
- * Tags
7978
- * @description The tags of the simulation scenario.
7979
- */
7980
- tags: {
7981
- [key: string]: string | null;
7982
- };
7983
- /**
7984
- * Is Deleted
7985
- * @description Whether the simulation scenario is deleted.
7986
- */
7987
- is_deleted: boolean;
7988
- /**
7989
- * Created At
7990
- * Format: date-time
7991
- * @description The timestamp when the simulation scenario was created.
7992
- */
7993
- created_at: string;
7994
- /** @description The user who created the simulation scenario. */
7995
- creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
7996
- /**
7997
- * Updated At
7998
- * Format: date-time
7999
- * @description The timestamp when the simulation scenario was last updated.
8000
- */
8001
- updated_at: string;
8002
- /** @description The user who last updated the simulation scenario. */
8003
- updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8004
- };
8005
8000
  /** Response */
8006
8001
  simulation__get_simulation_unit_test_set_run_artifacts__Response: {
8007
8002
  /**
@@ -8160,61 +8155,56 @@ export interface components {
8160
8155
  * Simulation Personas
8161
8156
  * @description The list of simulation personas.
8162
8157
  */
8163
- simulation_personas: components["schemas"]["simulation__search_simulation_personas__Response__SimulationPersonaInstance"][];
8158
+ simulation_personas: components["schemas"]["simulation__get_simulation_personas__Response__SimulationPersonaInstance"][];
8164
8159
  };
8165
- /** SimulationPersonaInstance */
8166
- simulation__search_simulation_personas__Response__SimulationPersonaInstance: {
8160
+ /** Response */
8161
+ simulation__search_simulation_scenarios__Response: {
8162
+ /**
8163
+ * Simulation Scenarios
8164
+ * @description The list of simulation scenarios.
8165
+ */
8166
+ simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
8167
+ };
8168
+ /** SimulationScenarioInstance */
8169
+ simulation__search_simulation_scenarios__Response__SimulationScenarioInstance: {
8167
8170
  /**
8168
8171
  * Id
8169
- * @description The ID of the simulation persona.
8172
+ * @description The ID of the simulation scenario.
8170
8173
  */
8171
8174
  id: string;
8172
8175
  /**
8173
8176
  * Name
8174
- * @description The name of the simulation persona.
8177
+ * @description The name of the simulation scenario.
8175
8178
  */
8176
8179
  name: string;
8177
- /**
8178
- * Role
8179
- * @description The role of the simulation persona.
8180
- */
8181
- role: string;
8182
8180
  /**
8183
8181
  * Tags
8184
- * @description The tags of the simulation persona.
8182
+ * @description The tags of the simulation scenario.
8185
8183
  */
8186
8184
  tags: {
8187
8185
  [key: string]: string | null;
8188
8186
  };
8189
8187
  /**
8190
8188
  * Is Deleted
8191
- * @description Whether the simulation persona is deleted.
8189
+ * @description Whether the simulation scenario is deleted.
8192
8190
  */
8193
8191
  is_deleted: boolean;
8194
8192
  /**
8195
8193
  * Created At
8196
8194
  * Format: date-time
8197
- * @description The timestamp when the simulation persona was created.
8195
+ * @description The timestamp when the simulation scenario was created.
8198
8196
  */
8199
8197
  created_at: string;
8200
- /** @description The user who created the simulation persona. */
8201
- creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
8198
+ /** @description The user who created the simulation scenario. */
8199
+ creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8202
8200
  /**
8203
8201
  * Updated At
8204
8202
  * Format: date-time
8205
- * @description The timestamp when the simulation persona was last updated.
8203
+ * @description The timestamp when the simulation scenario was last updated.
8206
8204
  */
8207
8205
  updated_at: string;
8208
- /** @description The user who last updated the simulation persona. */
8209
- updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
8210
- };
8211
- /** Response */
8212
- simulation__search_simulation_scenarios__Response: {
8213
- /**
8214
- * Simulation Scenarios
8215
- * @description The list of simulation scenarios.
8216
- */
8217
- simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
8206
+ /** @description The user who last updated the simulation scenario. */
8207
+ updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8218
8208
  };
8219
8209
  /** Response */
8220
8210
  simulation__search_simulation_unit_test_set__Response: {
@@ -8320,7 +8310,7 @@ export interface components {
8320
8310
  * Unit Test Runs
8321
8311
  * @description The unit test runs that are part of this set.
8322
8312
  */
8323
- unit_test_runs?: components["schemas"]["simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
8313
+ unit_test_runs?: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
8324
8314
  /**
8325
8315
  * Tags
8326
8316
  * @description The tags of the simulation unit test set.
@@ -8329,6 +8319,16 @@ export interface components {
8329
8319
  [key: string]: string | null;
8330
8320
  } | null;
8331
8321
  };
8322
+ /** UnitTestRunDescriptor */
8323
+ simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
8324
+ /** Unit Test Id */
8325
+ unit_test_id: string;
8326
+ /**
8327
+ * Run Count
8328
+ * @description The number of times to run the unit test.
8329
+ */
8330
+ run_count: number;
8331
+ };
8332
8332
  /** Request */
8333
8333
  tool__create_tool__Request: {
8334
8334
  /** @description The name of the tool. It must be unique among all non-deprecated tools in the organization. */
@@ -8357,7 +8357,7 @@ export interface components {
8357
8357
  * Tool Invocations
8358
8358
  * @description The list of tool invocations.
8359
8359
  */
8360
- tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
8360
+ tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
8361
8361
  /**
8362
8362
  * Has More
8363
8363
  * @description Whether there are more tool invocations to retrieve.
@@ -8369,6 +8369,47 @@ export interface components {
8369
8369
  */
8370
8370
  continuation_token: unknown | null;
8371
8371
  };
8372
+ /** ToolInvocationInstance */
8373
+ tool__get_tool_invocations__Response__ToolInvocationInstance: {
8374
+ /**
8375
+ * Id
8376
+ * @description The ID of the tool invocation.
8377
+ */
8378
+ id: string;
8379
+ /**
8380
+ * Org Id
8381
+ * @description The ID of the organization.
8382
+ */
8383
+ org_id: string;
8384
+ /**
8385
+ * Created At
8386
+ * Format: date-time
8387
+ */
8388
+ created_at?: string;
8389
+ /**
8390
+ * Updated At
8391
+ * Format: date-time
8392
+ */
8393
+ updated_at?: string;
8394
+ /** @description The status of the tool invocation. */
8395
+ invocation_status: components["schemas"]["InvocationStatus"];
8396
+ /** @description The source of the tool invocation. */
8397
+ invocation_source: components["schemas"]["InvocationSource"];
8398
+ /** Logs */
8399
+ logs: string[];
8400
+ /**
8401
+ * Duration Ms
8402
+ * @description The duration of the tool invocation in milliseconds.
8403
+ */
8404
+ duration_ms: number;
8405
+ /**
8406
+ * Tool Id
8407
+ * @description The ID of the tool that was invoked.
8408
+ */
8409
+ tool_id: string;
8410
+ /** @description The version of the tool that was invoked. */
8411
+ tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
8412
+ };
8372
8413
  /** Response */
8373
8414
  tool__get_tool_versions__Response: {
8374
8415
  /**
@@ -8525,48 +8566,7 @@ export interface components {
8525
8566
  * Tool Invocations
8526
8567
  * @description The list of tool invocations.
8527
8568
  */
8528
- tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
8529
- };
8530
- /** ToolInvocationInstance */
8531
- tool__search_tool_invocations__Response__ToolInvocationInstance: {
8532
- /**
8533
- * Id
8534
- * @description The ID of the tool invocation.
8535
- */
8536
- id: string;
8537
- /**
8538
- * Org Id
8539
- * @description The ID of the organization.
8540
- */
8541
- org_id: string;
8542
- /**
8543
- * Created At
8544
- * Format: date-time
8545
- */
8546
- created_at?: string;
8547
- /**
8548
- * Updated At
8549
- * Format: date-time
8550
- */
8551
- updated_at?: string;
8552
- /** @description The status of the tool invocation. */
8553
- invocation_status: components["schemas"]["InvocationStatus"];
8554
- /** @description The source of the tool invocation. */
8555
- invocation_source: components["schemas"]["InvocationSource"];
8556
- /** Logs */
8557
- logs: string[];
8558
- /**
8559
- * Duration Ms
8560
- * @description The duration of the tool invocation in milliseconds.
8561
- */
8562
- duration_ms: number;
8563
- /**
8564
- * Tool Id
8565
- * @description The ID of the tool that was invoked.
8566
- */
8567
- tool_id: string;
8568
- /** @description The version of the tool that was invoked. */
8569
- tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
8569
+ tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
8570
8570
  };
8571
8571
  /** Request */
8572
8572
  tool__test_tool__Request: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.80.0",
3
+ "version": "0.81.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"