@amigo-ai/sdk 0.97.0 → 0.98.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.
@@ -3469,7 +3469,7 @@ export interface components {
3469
3469
  * Tags
3470
3470
  * @description The tags of the metric.
3471
3471
  */
3472
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
3472
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
3473
3473
  /** @description The user who created the metric. */
3474
3474
  creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
3475
3475
  /** @description The user who last updated the metric. */
@@ -3574,7 +3574,7 @@ export interface components {
3574
3574
  * Tags
3575
3575
  * @description The tags of the metric.
3576
3576
  */
3577
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
3577
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
3578
3578
  /** @description The user who created the metric. */
3579
3579
  creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
3580
3580
  /** @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__metric__Metric__Tag"][];
4430
4430
  /**
4431
4431
  * Keyterms
4432
4432
  * @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.
@@ -4641,7 +4641,7 @@ export interface components {
4641
4641
  * Tags
4642
4642
  * @description The tags of the simulation persona.
4643
4643
  */
4644
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4644
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
4645
4645
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4646
4646
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4647
4647
  };
@@ -4713,7 +4713,7 @@ export interface components {
4713
4713
  * Tags
4714
4714
  * @description The tags of the simulation persona.
4715
4715
  */
4716
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4716
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
4717
4717
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4718
4718
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4719
4719
  };
@@ -4768,7 +4768,7 @@ export interface components {
4768
4768
  * Tags
4769
4769
  * @description The tags of the simulation unit test set.
4770
4770
  */
4771
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4771
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
4772
4772
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4773
4773
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4774
4774
  };
@@ -4820,7 +4820,7 @@ export interface components {
4820
4820
  * Tags
4821
4821
  * @description The tags of the simulation unit test set.
4822
4822
  */
4823
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4823
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
4824
4824
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4825
4825
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4826
4826
  };
@@ -5282,7 +5282,7 @@ export interface components {
5282
5282
  * Tags
5283
5283
  * @description The tags of the simulation persona.
5284
5284
  */
5285
- tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
5285
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
5286
5286
  };
5287
5287
  /** ToolVersionInstance */
5288
5288
  ToolVersionInstance: {
@@ -5312,7 +5312,7 @@ export interface components {
5312
5312
  */
5313
5313
  tool_id: string;
5314
5314
  /** @description The version of the tool. */
5315
- version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
5315
+ version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
5316
5316
  /**
5317
5317
  * Required Envvars
5318
5318
  * @description The environment variables that are required to run the tool.
@@ -5784,6 +5784,13 @@ export interface components {
5784
5784
  */
5785
5785
  tool_name: string;
5786
5786
  };
5787
+ /** Tag */
5788
+ amigo_lib__mongo__collections__metric__Metric__Tag: {
5789
+ /** Key */
5790
+ key: string;
5791
+ /** Value */
5792
+ value: string | null;
5793
+ };
5787
5794
  /** UserInfo */
5788
5795
  amigo_lib__mongo__collections__metric__Metric__UserInfo: {
5789
5796
  /** Org Id */
@@ -5949,12 +5956,14 @@ export interface components {
5949
5956
  /** User Id */
5950
5957
  user_id: string;
5951
5958
  };
5952
- /** Tag */
5953
- amigo_lib__mongo__collections__tool__Tool__Tag: {
5954
- /** Key */
5955
- key: string;
5956
- /** Value */
5957
- value: string | null;
5959
+ /** Version */
5960
+ amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version: {
5961
+ /** Major */
5962
+ major: number;
5963
+ /** Minor */
5964
+ minor: number;
5965
+ /** Patch */
5966
+ patch: number;
5958
5967
  };
5959
5968
  /** UserInfo */
5960
5969
  amigo_lib__mongo__collections__tool_version__ToolVersion__UserInfo: {
@@ -5969,15 +5978,6 @@ export interface components {
5969
5978
  */
5970
5979
  user_org_id: string;
5971
5980
  };
5972
- /** Version */
5973
- amigo_lib__mongo__collections__tool_version__ToolVersion__Version: {
5974
- /** Major */
5975
- major: number;
5976
- /** Minor */
5977
- minor: number;
5978
- /** Patch */
5979
- patch: number;
5980
- };
5981
5981
  /**
5982
5982
  * Preferences
5983
5983
  * @description Preferences that the user can set to customize their experience.
@@ -7482,7 +7482,7 @@ export interface components {
7482
7482
  is_active: boolean;
7483
7483
  /** @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
7484
7484
  * latest agent and state machine versions with no model preference. */
7485
- release_version_set?: components["schemas"]["service__create_service__Request__VersionSet"] | null;
7485
+ release_version_set?: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"] | null;
7486
7486
  /**
7487
7487
  * Keyterms
7488
7488
  * @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.
@@ -7496,23 +7496,6 @@ export interface components {
7496
7496
  [key: string]: components["schemas"]["StrippedNonemptyString___w__s_____"] | null;
7497
7497
  };
7498
7498
  };
7499
- /** VersionSet */
7500
- service__create_service__Request__VersionSet: {
7501
- /**
7502
- * Agent Version Number
7503
- * @description The version number of the agent to be used. If None, the latest agent version will be used.
7504
- */
7505
- agent_version_number: number | null;
7506
- /**
7507
- * Service Hierarchical State Machine Version Number
7508
- * @description The version number of the state machine to be used. If None, the latest state machine version will be used.
7509
- */
7510
- service_hierarchical_state_machine_version_number: number | null;
7511
- /** Llm Model Preferences */
7512
- llm_model_preferences: {
7513
- [key: string]: components["schemas"]["service__upsert_service_version_set__Request__VersionSet__LLMConfig"];
7514
- };
7515
- };
7516
7499
  /** Response */
7517
7500
  service__create_service__Response: {
7518
7501
  /**
@@ -7593,7 +7576,24 @@ export interface components {
7593
7576
  /** Request */
7594
7577
  service__upsert_service_version_set__Request: {
7595
7578
  /** @description The version set to upsert. */
7596
- version_set: components["schemas"]["service__create_service__Request__VersionSet"];
7579
+ version_set: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"];
7580
+ };
7581
+ /** VersionSet */
7582
+ service__upsert_service_version_set__Request__VersionSet: {
7583
+ /**
7584
+ * Agent Version Number
7585
+ * @description The version number of the agent to be used. If None, the latest agent version will be used.
7586
+ */
7587
+ agent_version_number: number | null;
7588
+ /**
7589
+ * Service Hierarchical State Machine Version Number
7590
+ * @description The version number of the state machine to be used. If None, the latest state machine version will be used.
7591
+ */
7592
+ service_hierarchical_state_machine_version_number: number | null;
7593
+ /** Llm Model Preferences */
7594
+ llm_model_preferences: {
7595
+ [key: string]: components["schemas"]["service__upsert_service_version_set__Request__VersionSet__LLMConfig"];
7596
+ };
7597
7597
  };
7598
7598
  /** LLMConfig */
7599
7599
  service__upsert_service_version_set__Request__VersionSet__LLMConfig: {
@@ -7810,7 +7810,7 @@ export interface components {
7810
7810
  * Unit Test Runs
7811
7811
  * @description The unit test runs that are part of this set.
7812
7812
  */
7813
- unit_test_runs: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
7813
+ unit_test_runs: components["schemas"]["simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
7814
7814
  /**
7815
7815
  * Tags
7816
7816
  * @description The tags of the simulation unit test set.
@@ -7819,6 +7819,16 @@ export interface components {
7819
7819
  [key: string]: string | null;
7820
7820
  };
7821
7821
  };
7822
+ /** UnitTestRunDescriptor */
7823
+ simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
7824
+ /** Unit Test Id */
7825
+ unit_test_id: string;
7826
+ /**
7827
+ * Run Count
7828
+ * @description The number of times to run the unit test.
7829
+ */
7830
+ run_count: number;
7831
+ };
7822
7832
  /** Response */
7823
7833
  simulation__create_simulation_unit_test_set__Response: {
7824
7834
  /**
@@ -7867,7 +7877,7 @@ export interface components {
7867
7877
  * Simulation Personas
7868
7878
  * @description The list of simulation personas.
7869
7879
  */
7870
- simulation_personas: components["schemas"]["simulation__get_simulation_personas__Response__SimulationPersonaInstance"][];
7880
+ simulation_personas: components["schemas"]["simulation__search_simulation_personas__Response__SimulationPersonaInstance"][];
7871
7881
  /**
7872
7882
  * Has More
7873
7883
  * @description Whether there are more simulation personas to fetch.
@@ -7902,52 +7912,6 @@ export interface components {
7902
7912
  */
7903
7913
  roles: string[];
7904
7914
  };
7905
- /** SimulationPersonaInstance */
7906
- simulation__get_simulation_personas__Response__SimulationPersonaInstance: {
7907
- /**
7908
- * Id
7909
- * @description The ID of the simulation persona.
7910
- */
7911
- id: string;
7912
- /**
7913
- * Name
7914
- * @description The name of the simulation persona.
7915
- */
7916
- name: string;
7917
- /**
7918
- * Role
7919
- * @description The role of the simulation persona.
7920
- */
7921
- role: string;
7922
- /**
7923
- * Tags
7924
- * @description The tags of the simulation persona.
7925
- */
7926
- tags: {
7927
- [key: string]: string | null;
7928
- };
7929
- /**
7930
- * Is Deleted
7931
- * @description Whether the simulation persona is deleted.
7932
- */
7933
- is_deleted: boolean;
7934
- /**
7935
- * Created At
7936
- * Format: date-time
7937
- * @description The timestamp when the simulation persona was created.
7938
- */
7939
- created_at: string;
7940
- /** @description The user who created the simulation persona. */
7941
- creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
7942
- /**
7943
- * Updated At
7944
- * Format: date-time
7945
- * @description The timestamp when the simulation persona was last updated.
7946
- */
7947
- updated_at: string;
7948
- /** @description The user who last updated the simulation persona. */
7949
- updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
7950
- };
7951
7915
  /** Response */
7952
7916
  simulation__get_simulation_scenario_versions__Response: {
7953
7917
  /**
@@ -7972,7 +7936,7 @@ export interface components {
7972
7936
  * Simulation Scenarios
7973
7937
  * @description The list of simulation scenarios.
7974
7938
  */
7975
- simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
7939
+ simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
7976
7940
  /**
7977
7941
  * Has More
7978
7942
  * @description Whether there are more simulation scenarios to fetch.
@@ -8002,6 +7966,47 @@ export interface components {
8002
7966
  */
8003
7967
  tags: string[];
8004
7968
  };
7969
+ /** SimulationScenarioInstance */
7970
+ simulation__get_simulation_scenarios__Response__SimulationScenarioInstance: {
7971
+ /**
7972
+ * Id
7973
+ * @description The ID of the simulation scenario.
7974
+ */
7975
+ id: string;
7976
+ /**
7977
+ * Name
7978
+ * @description The name of the simulation scenario.
7979
+ */
7980
+ name: string;
7981
+ /**
7982
+ * Tags
7983
+ * @description The tags of the simulation scenario.
7984
+ */
7985
+ tags: {
7986
+ [key: string]: string | null;
7987
+ };
7988
+ /**
7989
+ * Is Deleted
7990
+ * @description Whether the simulation scenario is deleted.
7991
+ */
7992
+ is_deleted: boolean;
7993
+ /**
7994
+ * Created At
7995
+ * Format: date-time
7996
+ * @description The timestamp when the simulation scenario was created.
7997
+ */
7998
+ created_at: string;
7999
+ /** @description The user who created the simulation scenario. */
8000
+ creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8001
+ /**
8002
+ * Updated At
8003
+ * Format: date-time
8004
+ * @description The timestamp when the simulation scenario was last updated.
8005
+ */
8006
+ updated_at: string;
8007
+ /** @description The user who last updated the simulation scenario. */
8008
+ updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8009
+ };
8005
8010
  /** Response */
8006
8011
  simulation__get_simulation_unit_test_set_run_artifacts__Response: {
8007
8012
  /**
@@ -8160,56 +8165,61 @@ export interface components {
8160
8165
  * Simulation Personas
8161
8166
  * @description The list of simulation personas.
8162
8167
  */
8163
- simulation_personas: components["schemas"]["simulation__get_simulation_personas__Response__SimulationPersonaInstance"][];
8168
+ simulation_personas: components["schemas"]["simulation__search_simulation_personas__Response__SimulationPersonaInstance"][];
8164
8169
  };
8165
- /** Response */
8166
- simulation__search_simulation_scenarios__Response: {
8167
- /**
8168
- * Simulation Scenarios
8169
- * @description The list of simulation scenarios.
8170
- */
8171
- simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
8172
- };
8173
- /** SimulationScenarioInstance */
8174
- simulation__search_simulation_scenarios__Response__SimulationScenarioInstance: {
8170
+ /** SimulationPersonaInstance */
8171
+ simulation__search_simulation_personas__Response__SimulationPersonaInstance: {
8175
8172
  /**
8176
8173
  * Id
8177
- * @description The ID of the simulation scenario.
8174
+ * @description The ID of the simulation persona.
8178
8175
  */
8179
8176
  id: string;
8180
8177
  /**
8181
8178
  * Name
8182
- * @description The name of the simulation scenario.
8179
+ * @description The name of the simulation persona.
8183
8180
  */
8184
8181
  name: string;
8182
+ /**
8183
+ * Role
8184
+ * @description The role of the simulation persona.
8185
+ */
8186
+ role: string;
8185
8187
  /**
8186
8188
  * Tags
8187
- * @description The tags of the simulation scenario.
8189
+ * @description The tags of the simulation persona.
8188
8190
  */
8189
8191
  tags: {
8190
8192
  [key: string]: string | null;
8191
8193
  };
8192
8194
  /**
8193
8195
  * Is Deleted
8194
- * @description Whether the simulation scenario is deleted.
8196
+ * @description Whether the simulation persona is deleted.
8195
8197
  */
8196
8198
  is_deleted: boolean;
8197
8199
  /**
8198
8200
  * Created At
8199
8201
  * Format: date-time
8200
- * @description The timestamp when the simulation scenario was created.
8202
+ * @description The timestamp when the simulation persona was created.
8201
8203
  */
8202
8204
  created_at: string;
8203
- /** @description The user who created the simulation scenario. */
8204
- creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8205
+ /** @description The user who created the simulation persona. */
8206
+ creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
8205
8207
  /**
8206
8208
  * Updated At
8207
8209
  * Format: date-time
8208
- * @description The timestamp when the simulation scenario was last updated.
8210
+ * @description The timestamp when the simulation persona was last updated.
8209
8211
  */
8210
8212
  updated_at: string;
8211
- /** @description The user who last updated the simulation scenario. */
8212
- updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8213
+ /** @description The user who last updated the simulation persona. */
8214
+ updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
8215
+ };
8216
+ /** Response */
8217
+ simulation__search_simulation_scenarios__Response: {
8218
+ /**
8219
+ * Simulation Scenarios
8220
+ * @description The list of simulation scenarios.
8221
+ */
8222
+ simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
8213
8223
  };
8214
8224
  /** Response */
8215
8225
  simulation__search_simulation_unit_test_set__Response: {
@@ -8315,7 +8325,7 @@ export interface components {
8315
8325
  * Unit Test Runs
8316
8326
  * @description The unit test runs that are part of this set.
8317
8327
  */
8318
- unit_test_runs?: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
8328
+ unit_test_runs?: components["schemas"]["simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
8319
8329
  /**
8320
8330
  * Tags
8321
8331
  * @description The tags of the simulation unit test set.
@@ -8324,16 +8334,6 @@ export interface components {
8324
8334
  [key: string]: string | null;
8325
8335
  } | null;
8326
8336
  };
8327
- /** UnitTestRunDescriptor */
8328
- simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
8329
- /** Unit Test Id */
8330
- unit_test_id: string;
8331
- /**
8332
- * Run Count
8333
- * @description The number of times to run the unit test.
8334
- */
8335
- run_count: number;
8336
- };
8337
8337
  /** Request */
8338
8338
  tool__create_tool__Request: {
8339
8339
  /** @description The name of the tool. It must be unique among all non-deprecated tools in the organization. */
@@ -8413,7 +8413,7 @@ export interface components {
8413
8413
  */
8414
8414
  tool_id: string;
8415
8415
  /** @description The version of the tool that was invoked. */
8416
- tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
8416
+ tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
8417
8417
  };
8418
8418
  /** Response */
8419
8419
  tool__get_tool_versions__Response: {
@@ -8483,7 +8483,23 @@ export interface components {
8483
8483
  * Inputs
8484
8484
  * @description The list of inputs for the tool invocation.
8485
8485
  */
8486
- inputs: components["schemas"]["tool__test_tool__Request__Input"][];
8486
+ inputs: components["schemas"]["tool__invoke_tool_version__Request__Input"][];
8487
+ };
8488
+ /** Input */
8489
+ tool__invoke_tool_version__Request__Input: {
8490
+ /**
8491
+ * Input Parameters
8492
+ * @description The input parameters for the tool invocation.
8493
+ */
8494
+ input_parameters: {
8495
+ [key: string]: unknown;
8496
+ };
8497
+ /**
8498
+ * Invocation Mode
8499
+ * @description The mode of invocation.
8500
+ * @enum {string}
8501
+ */
8502
+ invocation_mode: "regular" | "conversation-simulation";
8487
8503
  };
8488
8504
  /** Response */
8489
8505
  tool__invoke_tool_version__Response: {
@@ -8563,7 +8579,7 @@ export interface components {
8563
8579
  * Inputs
8564
8580
  * @description The list of inputs for the tool invocation.
8565
8581
  */
8566
- inputs: components["schemas"]["tool__test_tool__Request__Input"][];
8582
+ inputs: components["schemas"]["tool__invoke_tool_version__Request__Input"][];
8567
8583
  /**
8568
8584
  * Commit Branch
8569
8585
  * @description The branch in the tools repo whose tip will be tested.
@@ -8589,22 +8605,6 @@ export interface components {
8589
8605
  [key: string]: string;
8590
8606
  };
8591
8607
  };
8592
- /** Input */
8593
- tool__test_tool__Request__Input: {
8594
- /**
8595
- * Input Parameters
8596
- * @description The input parameters for the tool invocation.
8597
- */
8598
- input_parameters: {
8599
- [key: string]: unknown;
8600
- };
8601
- /**
8602
- * Invocation Mode
8603
- * @description The mode of invocation.
8604
- * @enum {string}
8605
- */
8606
- invocation_mode: "regular" | "conversation-simulation";
8607
- };
8608
8608
  /** Response */
8609
8609
  tool__test_tool__Response: {
8610
8610
  /** Invocation Results */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.97.0",
3
+ "version": "0.98.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"