@amigo-ai/sdk 0.84.0 → 0.86.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.
@@ -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__metric__Metric__Tag"][];
3471
+ tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__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__metric__Metric__Tag"][];
3576
+ tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__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__metric__Metric__Tag"][];
4428
+ tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__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__metric__Metric__Tag"][];
4638
+ tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__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__metric__Metric__Tag"][];
4710
+ tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__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__metric__Metric__Tag"][];
4765
+ tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__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__metric__Metric__Tag"][];
4817
+ tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__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__metric__Metric__Tag"][];
5279
+ tags: components["schemas"]["amigo_lib__mongo__collections__service__Service__Tag"][];
5280
5280
  };
5281
5281
  /** ToolVersionInstance */
5282
5282
  ToolVersionInstance: {
@@ -5778,13 +5778,6 @@ export interface components {
5778
5778
  */
5779
5779
  tool_name: string;
5780
5780
  };
5781
- /** Tag */
5782
- amigo_lib__mongo__collections__metric__Metric__Tag: {
5783
- /** Key */
5784
- key: string;
5785
- /** Value */
5786
- value: string | null;
5787
- };
5788
5781
  /** UserInfo */
5789
5782
  amigo_lib__mongo__collections__metric__Metric__UserInfo: {
5790
5783
  /** Org Id */
@@ -5825,6 +5818,13 @@ export interface components {
5825
5818
  */
5826
5819
  description?: string | null;
5827
5820
  };
5821
+ /** Tag */
5822
+ amigo_lib__mongo__collections__service__Service__Tag: {
5823
+ /** Key */
5824
+ key: string;
5825
+ /** Value */
5826
+ value: string | null;
5827
+ };
5828
5828
  /**
5829
5829
  * VersionSet
5830
5830
  * @description A version set pins the agent, state machine, and model version used by this service.
@@ -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
  /**
@@ -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
  /**
@@ -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__get_simulation_personas__Response__SimulationPersonaInstance"][];
7865
+ simulation_personas: components["schemas"]["simulation__search_simulation_personas__Response__SimulationPersonaInstance"][];
7876
7866
  /**
7877
7867
  * Has More
7878
7868
  * @description Whether there are more simulation personas to fetch.
@@ -7907,52 +7897,6 @@ export interface components {
7907
7897
  */
7908
7898
  roles: string[];
7909
7899
  };
7910
- /** SimulationPersonaInstance */
7911
- simulation__get_simulation_personas__Response__SimulationPersonaInstance: {
7912
- /**
7913
- * Id
7914
- * @description The ID of the simulation persona.
7915
- */
7916
- id: string;
7917
- /**
7918
- * Name
7919
- * @description The name of the simulation persona.
7920
- */
7921
- name: string;
7922
- /**
7923
- * Role
7924
- * @description The role of the simulation persona.
7925
- */
7926
- role: string;
7927
- /**
7928
- * Tags
7929
- * @description The tags of the simulation persona.
7930
- */
7931
- tags: {
7932
- [key: string]: string | null;
7933
- };
7934
- /**
7935
- * Is Deleted
7936
- * @description Whether the simulation persona is deleted.
7937
- */
7938
- is_deleted: boolean;
7939
- /**
7940
- * Created At
7941
- * Format: date-time
7942
- * @description The timestamp when the simulation persona was created.
7943
- */
7944
- created_at: string;
7945
- /** @description The user who created the simulation persona. */
7946
- creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
7947
- /**
7948
- * Updated At
7949
- * Format: date-time
7950
- * @description The timestamp when the simulation persona was last updated.
7951
- */
7952
- updated_at: string;
7953
- /** @description The user who last updated the simulation persona. */
7954
- updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
7955
- };
7956
7900
  /** Response */
7957
7901
  simulation__get_simulation_scenario_versions__Response: {
7958
7902
  /**
@@ -8165,7 +8109,53 @@ export interface components {
8165
8109
  * Simulation Personas
8166
8110
  * @description The list of simulation personas.
8167
8111
  */
8168
- simulation_personas: components["schemas"]["simulation__get_simulation_personas__Response__SimulationPersonaInstance"][];
8112
+ simulation_personas: components["schemas"]["simulation__search_simulation_personas__Response__SimulationPersonaInstance"][];
8113
+ };
8114
+ /** SimulationPersonaInstance */
8115
+ simulation__search_simulation_personas__Response__SimulationPersonaInstance: {
8116
+ /**
8117
+ * Id
8118
+ * @description The ID of the simulation persona.
8119
+ */
8120
+ id: string;
8121
+ /**
8122
+ * Name
8123
+ * @description The name of the simulation persona.
8124
+ */
8125
+ name: string;
8126
+ /**
8127
+ * Role
8128
+ * @description The role of the simulation persona.
8129
+ */
8130
+ role: string;
8131
+ /**
8132
+ * Tags
8133
+ * @description The tags of the simulation persona.
8134
+ */
8135
+ tags: {
8136
+ [key: string]: string | null;
8137
+ };
8138
+ /**
8139
+ * Is Deleted
8140
+ * @description Whether the simulation persona is deleted.
8141
+ */
8142
+ is_deleted: boolean;
8143
+ /**
8144
+ * Created At
8145
+ * Format: date-time
8146
+ * @description The timestamp when the simulation persona was created.
8147
+ */
8148
+ created_at: string;
8149
+ /** @description The user who created the simulation persona. */
8150
+ creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
8151
+ /**
8152
+ * Updated At
8153
+ * Format: date-time
8154
+ * @description The timestamp when the simulation persona was last updated.
8155
+ */
8156
+ updated_at: string;
8157
+ /** @description The user who last updated the simulation persona. */
8158
+ updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
8169
8159
  };
8170
8160
  /** Response */
8171
8161
  simulation__search_simulation_scenarios__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. */
@@ -8437,23 +8437,7 @@ export interface components {
8437
8437
  * Inputs
8438
8438
  * @description The list of inputs for the tool invocation.
8439
8439
  */
8440
- inputs: components["schemas"]["tool__invoke_tool_version__Request__Input"][];
8441
- };
8442
- /** Input */
8443
- tool__invoke_tool_version__Request__Input: {
8444
- /**
8445
- * Input Parameters
8446
- * @description The input parameters for the tool invocation.
8447
- */
8448
- input_parameters: {
8449
- [key: string]: unknown;
8450
- };
8451
- /**
8452
- * Invocation Mode
8453
- * @description The mode of invocation.
8454
- * @enum {string}
8455
- */
8456
- invocation_mode: "regular" | "conversation-simulation";
8440
+ inputs: components["schemas"]["tool__test_tool__Request__Input"][];
8457
8441
  };
8458
8442
  /** Response */
8459
8443
  tool__invoke_tool_version__Response: {
@@ -8574,7 +8558,7 @@ export interface components {
8574
8558
  * Inputs
8575
8559
  * @description The list of inputs for the tool invocation.
8576
8560
  */
8577
- inputs: components["schemas"]["tool__invoke_tool_version__Request__Input"][];
8561
+ inputs: components["schemas"]["tool__test_tool__Request__Input"][];
8578
8562
  /**
8579
8563
  * Commit Branch
8580
8564
  * @description The branch in the tools repo whose tip will be tested.
@@ -8600,6 +8584,22 @@ export interface components {
8600
8584
  [key: string]: string;
8601
8585
  };
8602
8586
  };
8587
+ /** Input */
8588
+ tool__test_tool__Request__Input: {
8589
+ /**
8590
+ * Input Parameters
8591
+ * @description The input parameters for the tool invocation.
8592
+ */
8593
+ input_parameters: {
8594
+ [key: string]: unknown;
8595
+ };
8596
+ /**
8597
+ * Invocation Mode
8598
+ * @description The mode of invocation.
8599
+ * @enum {string}
8600
+ */
8601
+ invocation_mode: "regular" | "conversation-simulation";
8602
+ };
8603
8603
  /** Response */
8604
8604
  tool__test_tool__Response: {
8605
8605
  /** Invocation Results */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.84.0",
3
+ "version": "0.86.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"