@amigo-ai/sdk 0.74.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__tool__Tool__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__tool__Tool__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__tool__Tool__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__tool__Tool__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__tool__Tool__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__tool__Tool__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__tool__Tool__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__tool__Tool__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 */
@@ -5944,12 +5951,14 @@ export interface components {
5944
5951
  /** User Id */
5945
5952
  user_id: string;
5946
5953
  };
5947
- /** Tag */
5948
- amigo_lib__mongo__collections__tool__Tool__Tag: {
5949
- /** Key */
5950
- key: string;
5951
- /** Value */
5952
- value: string | null;
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;
5953
5962
  };
5954
5963
  /** UserInfo */
5955
5964
  amigo_lib__mongo__collections__tool_version__ToolVersion__UserInfo: {
@@ -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.
@@ -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"] | [
@@ -7395,29 +7395,10 @@ export interface components {
7395
7395
  * Permission Grants
7396
7396
  * @description A list of permission grants associated with this role.
7397
7397
  */
7398
- permission_grants: components["schemas"]["role__create_role__Request__PermissionGrant"][];
7398
+ permission_grants: components["schemas"]["role__modify_role__Request__PermissionGrant"][];
7399
7399
  /** @description The frontend view for users of this role. */
7400
7400
  frontend_view: components["schemas"]["FrontendView"];
7401
7401
  };
7402
- /** PermissionGrant */
7403
- role__create_role__Request__PermissionGrant: {
7404
- /**
7405
- * Action
7406
- * @description Whether this grant allows or denies the specified access.
7407
- * @enum {string}
7408
- */
7409
- action: "Allow" | "Deny";
7410
- /** Permission Name */
7411
- permission_name: string;
7412
- /**
7413
- * Conditions
7414
- * @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
7415
- */
7416
- conditions: {
7417
- [key: string]: components["schemas"]["Condition"];
7418
- };
7419
- description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
7420
- };
7421
7402
  /** Response */
7422
7403
  role__create_role__Response: {
7423
7404
  /**
@@ -7442,10 +7423,29 @@ export interface components {
7442
7423
  * Permission Grants
7443
7424
  * @description A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.
7444
7425
  */
7445
- permission_grants?: components["schemas"]["role__create_role__Request__PermissionGrant"][] | null;
7426
+ permission_grants?: components["schemas"]["role__modify_role__Request__PermissionGrant"][] | null;
7446
7427
  /** @description The frontend view for the user of this role. Only updated if specified. This field is an immutable field. */
7447
7428
  frontend_view?: components["schemas"]["FrontendView"] | null;
7448
7429
  };
7430
+ /** PermissionGrant */
7431
+ role__modify_role__Request__PermissionGrant: {
7432
+ /**
7433
+ * Action
7434
+ * @description Whether this grant allows or denies the specified access.
7435
+ * @enum {string}
7436
+ */
7437
+ action: "Allow" | "Deny";
7438
+ /** Permission Name */
7439
+ permission_name: string;
7440
+ /**
7441
+ * Conditions
7442
+ * @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
7443
+ */
7444
+ conditions: {
7445
+ [key: string]: components["schemas"]["Condition"];
7446
+ };
7447
+ description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
7448
+ };
7449
7449
  /** Response */
7450
7450
  role__modify_role__Response: {
7451
7451
  /**
@@ -7477,7 +7477,7 @@ export interface components {
7477
7477
  is_active: boolean;
7478
7478
  /** @description The `release` version set to use for this service. If not specified, the `release` version set will be the same as the `edge` version set, which uses the
7479
7479
  * latest agent and state machine versions with no model preference. */
7480
- release_version_set?: components["schemas"]["service__create_service__Request__VersionSet"] | null;
7480
+ release_version_set?: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"] | null;
7481
7481
  /**
7482
7482
  * Keyterms
7483
7483
  * @description A list of keyterms that are easy to get wrong during audio transcriptions that tend to occur commonly in audio sessions using this service.
@@ -7492,35 +7492,6 @@ export interface components {
7492
7492
  [key: string]: components["schemas"]["StrippedNonemptyString___w__s_____"] | null;
7493
7493
  };
7494
7494
  };
7495
- /** VersionSet */
7496
- service__create_service__Request__VersionSet: {
7497
- /**
7498
- * Agent Version Number
7499
- * @description The version number of the agent to be used. If None, the latest agent version will be used.
7500
- */
7501
- agent_version_number: number | null;
7502
- /**
7503
- * Service Hierarchical State Machine Version Number
7504
- * @description The version number of the state machine to be used. If None, the latest state machine version will be used.
7505
- */
7506
- service_hierarchical_state_machine_version_number: number | null;
7507
- /** Llm Model Preferences */
7508
- llm_model_preferences: {
7509
- [key: string]: components["schemas"]["service__create_service__Request__VersionSet__LLMConfig"];
7510
- };
7511
- };
7512
- /** LLMConfig */
7513
- service__create_service__Request__VersionSet__LLMConfig: {
7514
- llm_name: components["schemas"]["LLMType"];
7515
- /**
7516
- * Params
7517
- * @description LLM-specific parameters to use.
7518
- * @default {}
7519
- */
7520
- params?: {
7521
- [key: string]: unknown;
7522
- };
7523
- };
7524
7495
  /** Response */
7525
7496
  service__create_service__Response: {
7526
7497
  /**
@@ -7601,7 +7572,36 @@ export interface components {
7601
7572
  /** Request */
7602
7573
  service__upsert_service_version_set__Request: {
7603
7574
  /** @description The version set to upsert. */
7604
- version_set: components["schemas"]["service__create_service__Request__VersionSet"];
7575
+ version_set: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"];
7576
+ };
7577
+ /** VersionSet */
7578
+ service__upsert_service_version_set__Request__VersionSet: {
7579
+ /**
7580
+ * Agent Version Number
7581
+ * @description The version number of the agent to be used. If None, the latest agent version will be used.
7582
+ */
7583
+ agent_version_number: number | null;
7584
+ /**
7585
+ * Service Hierarchical State Machine Version Number
7586
+ * @description The version number of the state machine to be used. If None, the latest state machine version will be used.
7587
+ */
7588
+ service_hierarchical_state_machine_version_number: number | null;
7589
+ /** Llm Model Preferences */
7590
+ llm_model_preferences: {
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
+ };
7605
7605
  };
7606
7606
  /** Request */
7607
7607
  simulation__create_simulation_persona__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
  /**
@@ -8110,53 +8166,7 @@ export interface components {
8110
8166
  * Simulation Personas
8111
8167
  * @description The list of simulation personas.
8112
8168
  */
8113
- simulation_personas: components["schemas"]["simulation__search_simulation_personas__Response__SimulationPersonaInstance"][];
8114
- };
8115
- /** SimulationPersonaInstance */
8116
- simulation__search_simulation_personas__Response__SimulationPersonaInstance: {
8117
- /**
8118
- * Id
8119
- * @description The ID of the simulation persona.
8120
- */
8121
- id: string;
8122
- /**
8123
- * Name
8124
- * @description The name of the simulation persona.
8125
- */
8126
- name: string;
8127
- /**
8128
- * Role
8129
- * @description The role of the simulation persona.
8130
- */
8131
- role: string;
8132
- /**
8133
- * Tags
8134
- * @description The tags of the simulation persona.
8135
- */
8136
- tags: {
8137
- [key: string]: string | null;
8138
- };
8139
- /**
8140
- * Is Deleted
8141
- * @description Whether the simulation persona is deleted.
8142
- */
8143
- is_deleted: boolean;
8144
- /**
8145
- * Created At
8146
- * Format: date-time
8147
- * @description The timestamp when the simulation persona was created.
8148
- */
8149
- created_at: string;
8150
- /** @description The user who created the simulation persona. */
8151
- creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
8152
- /**
8153
- * Updated At
8154
- * Format: date-time
8155
- * @description The timestamp when the simulation persona was last updated.
8156
- */
8157
- updated_at: string;
8158
- /** @description The user who last updated the simulation persona. */
8159
- updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
8169
+ simulation_personas: components["schemas"]["simulation__get_simulation_personas__Response__SimulationPersonaInstance"][];
8160
8170
  };
8161
8171
  /** Response */
8162
8172
  simulation__search_simulation_scenarios__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. */
@@ -8358,7 +8358,7 @@ export interface components {
8358
8358
  * Tool Invocations
8359
8359
  * @description The list of tool invocations.
8360
8360
  */
8361
- tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
8361
+ tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
8362
8362
  /**
8363
8363
  * Has More
8364
8364
  * @description Whether there are more tool invocations to retrieve.
@@ -8370,47 +8370,6 @@ export interface components {
8370
8370
  */
8371
8371
  continuation_token: unknown | null;
8372
8372
  };
8373
- /** ToolInvocationInstance */
8374
- tool__get_tool_invocations__Response__ToolInvocationInstance: {
8375
- /**
8376
- * Id
8377
- * @description The ID of the tool invocation.
8378
- */
8379
- id: string;
8380
- /**
8381
- * Org Id
8382
- * @description The ID of the organization.
8383
- */
8384
- org_id: string;
8385
- /**
8386
- * Created At
8387
- * Format: date-time
8388
- */
8389
- created_at?: string;
8390
- /**
8391
- * Updated At
8392
- * Format: date-time
8393
- */
8394
- updated_at?: string;
8395
- /** @description The status of the tool invocation. */
8396
- invocation_status: components["schemas"]["InvocationStatus"];
8397
- /** @description The source of the tool invocation. */
8398
- invocation_source: components["schemas"]["InvocationSource"];
8399
- /** Logs */
8400
- logs: string[];
8401
- /**
8402
- * Duration Ms
8403
- * @description The duration of the tool invocation in milliseconds.
8404
- */
8405
- duration_ms: number;
8406
- /**
8407
- * Tool Id
8408
- * @description The ID of the tool that was invoked.
8409
- */
8410
- tool_id: string;
8411
- /** @description The version of the tool that was invoked. */
8412
- tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
8413
- };
8414
8373
  /** Response */
8415
8374
  tool__get_tool_versions__Response: {
8416
8375
  /**
@@ -8479,23 +8438,7 @@ export interface components {
8479
8438
  * Inputs
8480
8439
  * @description The list of inputs for the tool invocation.
8481
8440
  */
8482
- inputs: components["schemas"]["tool__invoke_tool_version__Request__Input"][];
8483
- };
8484
- /** Input */
8485
- tool__invoke_tool_version__Request__Input: {
8486
- /**
8487
- * Input Parameters
8488
- * @description The input parameters for the tool invocation.
8489
- */
8490
- input_parameters: {
8491
- [key: string]: unknown;
8492
- };
8493
- /**
8494
- * Invocation Mode
8495
- * @description The mode of invocation.
8496
- * @enum {string}
8497
- */
8498
- invocation_mode: "regular" | "conversation-simulation";
8441
+ inputs: components["schemas"]["tool__test_tool__Request__Input"][];
8499
8442
  };
8500
8443
  /** Response */
8501
8444
  tool__invoke_tool_version__Response: {
@@ -8567,7 +8510,48 @@ export interface components {
8567
8510
  * Tool Invocations
8568
8511
  * @description The list of tool invocations.
8569
8512
  */
8570
- tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
8513
+ tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
8514
+ };
8515
+ /** ToolInvocationInstance */
8516
+ tool__search_tool_invocations__Response__ToolInvocationInstance: {
8517
+ /**
8518
+ * Id
8519
+ * @description The ID of the tool invocation.
8520
+ */
8521
+ id: string;
8522
+ /**
8523
+ * Org Id
8524
+ * @description The ID of the organization.
8525
+ */
8526
+ org_id: string;
8527
+ /**
8528
+ * Created At
8529
+ * Format: date-time
8530
+ */
8531
+ created_at?: string;
8532
+ /**
8533
+ * Updated At
8534
+ * Format: date-time
8535
+ */
8536
+ updated_at?: string;
8537
+ /** @description The status of the tool invocation. */
8538
+ invocation_status: components["schemas"]["InvocationStatus"];
8539
+ /** @description The source of the tool invocation. */
8540
+ invocation_source: components["schemas"]["InvocationSource"];
8541
+ /** Logs */
8542
+ logs: string[];
8543
+ /**
8544
+ * Duration Ms
8545
+ * @description The duration of the tool invocation in milliseconds.
8546
+ */
8547
+ duration_ms: number;
8548
+ /**
8549
+ * Tool Id
8550
+ * @description The ID of the tool that was invoked.
8551
+ */
8552
+ tool_id: string;
8553
+ /** @description The version of the tool that was invoked. */
8554
+ tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
8571
8555
  };
8572
8556
  /** Request */
8573
8557
  tool__test_tool__Request: {
@@ -8575,7 +8559,7 @@ export interface components {
8575
8559
  * Inputs
8576
8560
  * @description The list of inputs for the tool invocation.
8577
8561
  */
8578
- inputs: components["schemas"]["tool__invoke_tool_version__Request__Input"][];
8562
+ inputs: components["schemas"]["tool__test_tool__Request__Input"][];
8579
8563
  /**
8580
8564
  * Commit Branch
8581
8565
  * @description The branch in the tools repo whose tip will be tested.
@@ -8601,6 +8585,22 @@ export interface components {
8601
8585
  [key: string]: string;
8602
8586
  };
8603
8587
  };
8588
+ /** Input */
8589
+ tool__test_tool__Request__Input: {
8590
+ /**
8591
+ * Input Parameters
8592
+ * @description The input parameters for the tool invocation.
8593
+ */
8594
+ input_parameters: {
8595
+ [key: string]: unknown;
8596
+ };
8597
+ /**
8598
+ * Invocation Mode
8599
+ * @description The mode of invocation.
8600
+ * @enum {string}
8601
+ */
8602
+ invocation_mode: "regular" | "conversation-simulation";
8603
+ };
8604
8604
  /** Response */
8605
8605
  tool__test_tool__Response: {
8606
8606
  /** Invocation Results */
@@ -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.74.0",
3
+ "version": "0.76.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"