@amigo-ai/sdk 0.54.0 → 0.55.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.
@@ -2339,7 +2339,7 @@ export interface components {
2339
2339
  /** Boundary Constraints */
2340
2340
  boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
2341
2341
  /** Exit Conditions */
2342
- exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition"][];
2342
+ exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition"][];
2343
2343
  /** Action Tool Call Specs */
2344
2344
  action_tool_call_specs: components["schemas"]["ToolCallSpec-Input"][];
2345
2345
  /** Exit Condition Tool Call Specs */
@@ -2784,7 +2784,7 @@ export interface components {
2784
2784
  type: "decision";
2785
2785
  name: components["schemas"]["StateOrRefName"];
2786
2786
  /** Exit Conditions */
2787
- exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition"][];
2787
+ exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition"][];
2788
2788
  /** Decision Guidelines */
2789
2789
  decision_guidelines: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
2790
2790
  objective: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
@@ -3526,7 +3526,7 @@ export interface components {
3526
3526
  * Tags
3527
3527
  * @description The tags of the metric.
3528
3528
  */
3529
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
3529
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
3530
3530
  /** @description The user who created the metric. */
3531
3531
  creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
3532
3532
  /** @description The user who last updated the metric. */
@@ -3631,7 +3631,7 @@ export interface components {
3631
3631
  * Tags
3632
3632
  * @description The tags of the metric.
3633
3633
  */
3634
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
3634
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
3635
3635
  /** @description The user who created the metric. */
3636
3636
  creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
3637
3637
  /** @description The user who last updated the metric. */
@@ -4495,7 +4495,7 @@ export interface components {
4495
4495
  * Tags
4496
4496
  * @description The tags of the service.
4497
4497
  */
4498
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4498
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
4499
4499
  };
4500
4500
  /** SimulationConversationInvocationSource */
4501
4501
  SimulationConversationInvocationSource: {
@@ -4705,7 +4705,7 @@ export interface components {
4705
4705
  * Tags
4706
4706
  * @description The tags of the simulation persona.
4707
4707
  */
4708
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4708
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
4709
4709
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4710
4710
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4711
4711
  };
@@ -4777,7 +4777,7 @@ export interface components {
4777
4777
  * Tags
4778
4778
  * @description The tags of the simulation persona.
4779
4779
  */
4780
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4780
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
4781
4781
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4782
4782
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4783
4783
  };
@@ -4832,7 +4832,7 @@ export interface components {
4832
4832
  * Tags
4833
4833
  * @description The tags of the simulation unit test set.
4834
4834
  */
4835
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4835
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
4836
4836
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4837
4837
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4838
4838
  };
@@ -4884,7 +4884,7 @@ export interface components {
4884
4884
  * Tags
4885
4885
  * @description The tags of the simulation unit test set.
4886
4886
  */
4887
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4887
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
4888
4888
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4889
4889
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4890
4890
  };
@@ -5400,7 +5400,7 @@ export interface components {
5400
5400
  * Tags
5401
5401
  * @description The tags of the simulation persona.
5402
5402
  */
5403
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
5403
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
5404
5404
  };
5405
5405
  /** ToolVersionInstance */
5406
5406
  ToolVersionInstance: {
@@ -6108,6 +6108,13 @@ export interface components {
6108
6108
  /** User Id */
6109
6109
  user_id: string;
6110
6110
  };
6111
+ /** Tag */
6112
+ amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag: {
6113
+ /** Key */
6114
+ key: string;
6115
+ /** Value */
6116
+ value: string | null;
6117
+ };
6111
6118
  /** UnitTestRunDescriptor */
6112
6119
  amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UnitTestRunDescriptor: {
6113
6120
  /** Unit Test Id */
@@ -6143,13 +6150,6 @@ export interface components {
6143
6150
  /** User Id */
6144
6151
  user_id: string;
6145
6152
  };
6146
- /** Tag */
6147
- amigo_lib__mongo__collections__tool__Tool__Tag: {
6148
- /** Key */
6149
- key: string;
6150
- /** Value */
6151
- value: string | null;
6152
- };
6153
6153
  /** Version */
6154
6154
  amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version: {
6155
6155
  /** Major */
@@ -6554,7 +6554,7 @@ export interface components {
6554
6554
  * Dynamic Behavior Sets
6555
6555
  * @description The retrieved dynamic behavior sets.
6556
6556
  */
6557
- dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6557
+ dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6558
6558
  /**
6559
6559
  * Has More
6560
6560
  * @description Whether there are more dynamic behavior sets to retrieve.
@@ -6571,34 +6571,8 @@ export interface components {
6571
6571
  * retrieved. */
6572
6572
  filter_values: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues"] | null;
6573
6573
  };
6574
- /** FilterValues */
6575
- dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
6576
- /**
6577
- * Applied To Services Ids
6578
- * @description A set of service IDs that have dynamic behavior sets applied to the service.
6579
- */
6580
- applied_to_services_ids: string[];
6581
- /**
6582
- * Creators
6583
- * @description A set of creator infos that created the dynamic behavior sets under the current filters.
6584
- */
6585
- creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
6586
- /**
6587
- * Tags
6588
- * @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
6589
- */
6590
- tags: string[];
6591
- };
6592
- /** Response */
6593
- dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
6594
- /**
6595
- * Dynamic Behavior Sets
6596
- * @description The retrieved dynamic behavior sets.
6597
- */
6598
- dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6599
- };
6600
6574
  /** DynamicBehaviorSetInstance */
6601
- dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
6575
+ dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
6602
6576
  /** Id */
6603
6577
  id: string;
6604
6578
  /** Name */
@@ -6624,6 +6598,32 @@ export interface components {
6624
6598
  updated_at: string;
6625
6599
  updated_by: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"];
6626
6600
  };
6601
+ /** FilterValues */
6602
+ dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
6603
+ /**
6604
+ * Applied To Services Ids
6605
+ * @description A set of service IDs that have dynamic behavior sets applied to the service.
6606
+ */
6607
+ applied_to_services_ids: string[];
6608
+ /**
6609
+ * Creators
6610
+ * @description A set of creator infos that created the dynamic behavior sets under the current filters.
6611
+ */
6612
+ creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
6613
+ /**
6614
+ * Tags
6615
+ * @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
6616
+ */
6617
+ tags: string[];
6618
+ };
6619
+ /** Response */
6620
+ dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
6621
+ /**
6622
+ * Dynamic Behavior Sets
6623
+ * @description The retrieved dynamic behavior sets.
6624
+ */
6625
+ dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6626
+ };
6627
6627
  /** Request */
6628
6628
  dynamic_behavior_set__update_dynamic_behavior_set__Request: {
6629
6629
  /** @description The name of the dynamic behavior set. */
@@ -7081,7 +7081,7 @@ export interface components {
7081
7081
  global_boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
7082
7082
  };
7083
7083
  /** ExitCondition */
7084
- organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition: {
7084
+ organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition: {
7085
7085
  description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
7086
7086
  /** Next State */
7087
7087
  next_state: components["schemas"]["StateOrRefName"] | [
@@ -7556,27 +7556,16 @@ export interface components {
7556
7556
  service_hierarchical_state_machine_version_number: number | null;
7557
7557
  /** Llm Model Preferences */
7558
7558
  llm_model_preferences: {
7559
- [key: string]: components["schemas"]["service__create_service__Request__VersionSet__LLMConfig"] | components["schemas"]["service__upsert_service_version_set__Request__VersionSet__LLMLoadBalancingSetConfig"];
7559
+ [key: string]: components["schemas"]["service__upsert_service_version_set__Request__VersionSet__LLMConfig"] | components["schemas"]["service__create_service__Request__VersionSet__LLMLoadBalancingSetConfig"];
7560
7560
  };
7561
7561
  };
7562
- /** LLMConfig */
7563
- service__create_service__Request__VersionSet__LLMConfig: {
7564
- llm_name: components["schemas"]["LLMType"];
7565
- /**
7566
- * Top P
7567
- * @description The preferred `top_p` value.
7568
- */
7569
- top_p: number;
7570
- /**
7571
- * Temperature
7572
- * @description The preferred temperature value.
7573
- */
7574
- temperature: number;
7575
- /**
7576
- * Top K
7577
- * @description The preferred `top_k` value. Note that not all LLMs support this.
7578
- */
7579
- top_k: number;
7562
+ /** LLMLoadBalancingSetConfig */
7563
+ service__create_service__Request__VersionSet__LLMLoadBalancingSetConfig: {
7564
+ llm_load_balancing_set_name: components["schemas"]["LLMLoadBalancingSetType"];
7565
+ /** Configs */
7566
+ configs: {
7567
+ [key: string]: components["schemas"]["PerLLMConfig"];
7568
+ };
7580
7569
  };
7581
7570
  /** Response */
7582
7571
  service__create_service__Response: {
@@ -7655,13 +7644,24 @@ export interface components {
7655
7644
  /** @description The version set to upsert. */
7656
7645
  version_set: components["schemas"]["service__create_service__Request__VersionSet"];
7657
7646
  };
7658
- /** LLMLoadBalancingSetConfig */
7659
- service__upsert_service_version_set__Request__VersionSet__LLMLoadBalancingSetConfig: {
7660
- llm_load_balancing_set_name: components["schemas"]["LLMLoadBalancingSetType"];
7661
- /** Configs */
7662
- configs: {
7663
- [key: string]: components["schemas"]["PerLLMConfig"];
7664
- };
7647
+ /** LLMConfig */
7648
+ service__upsert_service_version_set__Request__VersionSet__LLMConfig: {
7649
+ llm_name: components["schemas"]["LLMType"];
7650
+ /**
7651
+ * Top P
7652
+ * @description The preferred `top_p` value.
7653
+ */
7654
+ top_p: number;
7655
+ /**
7656
+ * Temperature
7657
+ * @description The preferred temperature value.
7658
+ */
7659
+ temperature: number;
7660
+ /**
7661
+ * Top K
7662
+ * @description The preferred `top_k` value. Note that not all LLMs support this.
7663
+ */
7664
+ top_k: number;
7665
7665
  };
7666
7666
  /** Request */
7667
7667
  simulation__create_simulation_persona__Request: {
@@ -8767,7 +8767,7 @@ export interface components {
8767
8767
  * Users
8768
8768
  * @description Users in this organization.
8769
8769
  */
8770
- users: components["schemas"]["user__get_users__Response__UserInstance"][];
8770
+ users: components["schemas"]["user__search_users__Response__UserInstance"][];
8771
8771
  /**
8772
8772
  * Has More
8773
8773
  * @description Whether there are more users to retrieve.
@@ -8779,8 +8779,16 @@ export interface components {
8779
8779
  */
8780
8780
  continuation_token: number | null;
8781
8781
  };
8782
+ /** Response */
8783
+ user__search_users__Response: {
8784
+ /**
8785
+ * Users
8786
+ * @description Users in this organization.
8787
+ */
8788
+ users: components["schemas"]["user__search_users__Response__UserInstance"][];
8789
+ };
8782
8790
  /** UserInstance */
8783
- user__get_users__Response__UserInstance: {
8791
+ user__search_users__Response__UserInstance: {
8784
8792
  /**
8785
8793
  * Org Id
8786
8794
  * @description The ID of the organization that this user belongs to.
@@ -8807,7 +8815,7 @@ export interface components {
8807
8815
  */
8808
8816
  email: string;
8809
8817
  /** @description Statistics about the user's usage of the Amigo platform. */
8810
- user_stats: components["schemas"]["user__get_users__Response__UserInstance__UserStats"];
8818
+ user_stats: components["schemas"]["user__search_users__Response__UserInstance__UserStats"];
8811
8819
  /**
8812
8820
  * Role
8813
8821
  * @description The ID of the role of the user.
@@ -8817,7 +8825,7 @@ export interface components {
8817
8825
  preferences: components["schemas"]["amigo_lib__mongo__collections__user__User__Preferences"];
8818
8826
  };
8819
8827
  /** UserStats */
8820
- user__get_users__Response__UserInstance__UserStats: {
8828
+ user__search_users__Response__UserInstance__UserStats: {
8821
8829
  /**
8822
8830
  * Num Conversations
8823
8831
  * @description The number of conversations the user has created.
@@ -8834,14 +8842,6 @@ export interface components {
8834
8842
  */
8835
8843
  last_message_time: string | null;
8836
8844
  };
8837
- /** Response */
8838
- user__search_users__Response: {
8839
- /**
8840
- * Users
8841
- * @description Users in this organization.
8842
- */
8843
- users: components["schemas"]["user__get_users__Response__UserInstance"][];
8844
- };
8845
8845
  /** SigninWithAPIKeyResponse */
8846
8846
  user__sign_in_with_api_key__Response: {
8847
8847
  /**
@@ -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.54.0",
3
+ "version": "0.55.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"