@amigo-ai/sdk 0.97.0 → 0.99.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__simulation_unit_test__SimulationUnitTest__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__simulation_unit_test__SimulationUnitTest__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__simulation_unit_test__SimulationUnitTest__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__simulation_unit_test__SimulationUnitTest__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__simulation_unit_test__SimulationUnitTest__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__simulation_unit_test__SimulationUnitTest__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__simulation_unit_test__SimulationUnitTest__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__simulation_unit_test__SimulationUnitTest__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.
@@ -5330,12 +5330,6 @@ export interface components {
5330
5330
  input_schema: {
5331
5331
  [key: string]: unknown;
5332
5332
  };
5333
- /**
5334
- * Tool Repo
5335
- * @description Whether this tool is published from the main repository or the team-specific repository.
5336
- * @enum {string}
5337
- */
5338
- tool_repo: "main" | "team";
5339
5333
  /**
5340
5334
  * Tool Commit Hash
5341
5335
  * @description The commit hash of the tool within the repository.
@@ -5363,6 +5357,12 @@ export interface components {
5363
5357
  * @description Whether the tool version is deprecated. Deprecated tool versions are not usable and do not participate in version resolution.
5364
5358
  */
5365
5359
  deprecated: boolean;
5360
+ /**
5361
+ * Tool Repo
5362
+ * @default team
5363
+ * @constant
5364
+ */
5365
+ tool_repo?: "team";
5366
5366
  };
5367
5367
  /** UnitTestRunResult */
5368
5368
  UnitTestRunResult: {
@@ -5907,6 +5907,13 @@ export interface components {
5907
5907
  metric_id: string;
5908
5908
  criterion: components["schemas"]["SuccessCriterionDescription-Output"];
5909
5909
  };
5910
+ /** Tag */
5911
+ amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag: {
5912
+ /** Key */
5913
+ key: string;
5914
+ /** Value */
5915
+ value: string | null;
5916
+ };
5910
5917
  /** UserInfo */
5911
5918
  amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo: {
5912
5919
  /** 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,21 +7496,16 @@ 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;
7499
+ /** LLMConfig */
7500
+ service__create_service__Request__VersionSet__LLMConfig: {
7501
+ llm_name: components["schemas"]["LLMType"];
7506
7502
  /**
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.
7503
+ * Params
7504
+ * @description LLM-specific parameters to use.
7505
+ * @default {}
7509
7506
  */
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"];
7507
+ params?: {
7508
+ [key: string]: unknown;
7514
7509
  };
7515
7510
  };
7516
7511
  /** Response */
@@ -7593,18 +7588,23 @@ export interface components {
7593
7588
  /** Request */
7594
7589
  service__upsert_service_version_set__Request: {
7595
7590
  /** @description The version set to upsert. */
7596
- version_set: components["schemas"]["service__create_service__Request__VersionSet"];
7591
+ version_set: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"];
7597
7592
  };
7598
- /** LLMConfig */
7599
- service__upsert_service_version_set__Request__VersionSet__LLMConfig: {
7600
- llm_name: components["schemas"]["LLMType"];
7593
+ /** VersionSet */
7594
+ service__upsert_service_version_set__Request__VersionSet: {
7601
7595
  /**
7602
- * Params
7603
- * @description LLM-specific parameters to use.
7604
- * @default {}
7596
+ * Agent Version Number
7597
+ * @description The version number of the agent to be used. If None, the latest agent version will be used.
7605
7598
  */
7606
- params?: {
7607
- [key: string]: unknown;
7599
+ agent_version_number: number | null;
7600
+ /**
7601
+ * Service Hierarchical State Machine Version Number
7602
+ * @description The version number of the state machine to be used. If None, the latest state machine version will be used.
7603
+ */
7604
+ service_hierarchical_state_machine_version_number: number | null;
7605
+ /** Llm Model Preferences */
7606
+ llm_model_preferences: {
7607
+ [key: string]: components["schemas"]["service__create_service__Request__VersionSet__LLMConfig"];
7608
7608
  };
7609
7609
  };
7610
7610
  /** Request */
@@ -7972,7 +7972,7 @@ export interface components {
7972
7972
  * Simulation Scenarios
7973
7973
  * @description The list of simulation scenarios.
7974
7974
  */
7975
- simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
7975
+ simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
7976
7976
  /**
7977
7977
  * Has More
7978
7978
  * @description Whether there are more simulation scenarios to fetch.
@@ -8002,6 +8002,47 @@ export interface components {
8002
8002
  */
8003
8003
  tags: string[];
8004
8004
  };
8005
+ /** SimulationScenarioInstance */
8006
+ simulation__get_simulation_scenarios__Response__SimulationScenarioInstance: {
8007
+ /**
8008
+ * Id
8009
+ * @description The ID of the simulation scenario.
8010
+ */
8011
+ id: string;
8012
+ /**
8013
+ * Name
8014
+ * @description The name of the simulation scenario.
8015
+ */
8016
+ name: string;
8017
+ /**
8018
+ * Tags
8019
+ * @description The tags of the simulation scenario.
8020
+ */
8021
+ tags: {
8022
+ [key: string]: string | null;
8023
+ };
8024
+ /**
8025
+ * Is Deleted
8026
+ * @description Whether the simulation scenario is deleted.
8027
+ */
8028
+ is_deleted: boolean;
8029
+ /**
8030
+ * Created At
8031
+ * Format: date-time
8032
+ * @description The timestamp when the simulation scenario was created.
8033
+ */
8034
+ created_at: string;
8035
+ /** @description The user who created the simulation scenario. */
8036
+ creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8037
+ /**
8038
+ * Updated At
8039
+ * Format: date-time
8040
+ * @description The timestamp when the simulation scenario was last updated.
8041
+ */
8042
+ updated_at: string;
8043
+ /** @description The user who last updated the simulation scenario. */
8044
+ updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8045
+ };
8005
8046
  /** Response */
8006
8047
  simulation__get_simulation_unit_test_set_run_artifacts__Response: {
8007
8048
  /**
@@ -8168,48 +8209,7 @@ export interface components {
8168
8209
  * Simulation Scenarios
8169
8210
  * @description The list of simulation scenarios.
8170
8211
  */
8171
- simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
8172
- };
8173
- /** SimulationScenarioInstance */
8174
- simulation__search_simulation_scenarios__Response__SimulationScenarioInstance: {
8175
- /**
8176
- * Id
8177
- * @description The ID of the simulation scenario.
8178
- */
8179
- id: string;
8180
- /**
8181
- * Name
8182
- * @description The name of the simulation scenario.
8183
- */
8184
- name: string;
8185
- /**
8186
- * Tags
8187
- * @description The tags of the simulation scenario.
8188
- */
8189
- tags: {
8190
- [key: string]: string | null;
8191
- };
8192
- /**
8193
- * Is Deleted
8194
- * @description Whether the simulation scenario is deleted.
8195
- */
8196
- is_deleted: boolean;
8197
- /**
8198
- * Created At
8199
- * Format: date-time
8200
- * @description The timestamp when the simulation scenario was created.
8201
- */
8202
- 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
- /**
8206
- * Updated At
8207
- * Format: date-time
8208
- * @description The timestamp when the simulation scenario was last updated.
8209
- */
8210
- 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"];
8212
+ simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
8213
8213
  };
8214
8214
  /** Response */
8215
8215
  simulation__search_simulation_unit_test_set__Response: {
@@ -8362,7 +8362,7 @@ export interface components {
8362
8362
  * Tool Invocations
8363
8363
  * @description The list of tool invocations.
8364
8364
  */
8365
- tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
8365
+ tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
8366
8366
  /**
8367
8367
  * Has More
8368
8368
  * @description Whether there are more tool invocations to retrieve.
@@ -8374,47 +8374,6 @@ export interface components {
8374
8374
  */
8375
8375
  continuation_token: unknown | null;
8376
8376
  };
8377
- /** ToolInvocationInstance */
8378
- tool__get_tool_invocations__Response__ToolInvocationInstance: {
8379
- /**
8380
- * Id
8381
- * @description The ID of the tool invocation.
8382
- */
8383
- id: string;
8384
- /**
8385
- * Org Id
8386
- * @description The ID of the organization.
8387
- */
8388
- org_id: string;
8389
- /**
8390
- * Created At
8391
- * Format: date-time
8392
- */
8393
- created_at?: string;
8394
- /**
8395
- * Updated At
8396
- * Format: date-time
8397
- */
8398
- updated_at?: string;
8399
- /** @description The status of the tool invocation. */
8400
- invocation_status: components["schemas"]["InvocationStatus"];
8401
- /** @description The source of the tool invocation. */
8402
- invocation_source: components["schemas"]["InvocationSource"];
8403
- /** Logs */
8404
- logs: string[];
8405
- /**
8406
- * Duration Ms
8407
- * @description The duration of the tool invocation in milliseconds.
8408
- */
8409
- duration_ms: number;
8410
- /**
8411
- * Tool Id
8412
- * @description The ID of the tool that was invoked.
8413
- */
8414
- tool_id: string;
8415
- /** @description The version of the tool that was invoked. */
8416
- tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
8417
- };
8418
8377
  /** Response */
8419
8378
  tool__get_tool_versions__Response: {
8420
8379
  /**
@@ -8522,13 +8481,6 @@ export interface components {
8522
8481
  };
8523
8482
  /** Request */
8524
8483
  tool__publish_tool_version__Request: {
8525
- /**
8526
- * Repo
8527
- * @description The repo to publish the tool version from. If `team`, then it's published from the repo of the organization's Azure DevOps team. If `main`, then it's published
8528
- * from the `tools-main` repo.
8529
- * @enum {string}
8530
- */
8531
- repo: "main" | "team";
8532
8484
  /**
8533
8485
  * Project Path
8534
8486
  * @description The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.
@@ -8555,7 +8507,48 @@ export interface components {
8555
8507
  * Tool Invocations
8556
8508
  * @description The list of tool invocations.
8557
8509
  */
8558
- tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
8510
+ tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
8511
+ };
8512
+ /** ToolInvocationInstance */
8513
+ tool__search_tool_invocations__Response__ToolInvocationInstance: {
8514
+ /**
8515
+ * Id
8516
+ * @description The ID of the tool invocation.
8517
+ */
8518
+ id: string;
8519
+ /**
8520
+ * Org Id
8521
+ * @description The ID of the organization.
8522
+ */
8523
+ org_id: string;
8524
+ /**
8525
+ * Created At
8526
+ * Format: date-time
8527
+ */
8528
+ created_at?: string;
8529
+ /**
8530
+ * Updated At
8531
+ * Format: date-time
8532
+ */
8533
+ updated_at?: string;
8534
+ /** @description The status of the tool invocation. */
8535
+ invocation_status: components["schemas"]["InvocationStatus"];
8536
+ /** @description The source of the tool invocation. */
8537
+ invocation_source: components["schemas"]["InvocationSource"];
8538
+ /** Logs */
8539
+ logs: string[];
8540
+ /**
8541
+ * Duration Ms
8542
+ * @description The duration of the tool invocation in milliseconds.
8543
+ */
8544
+ duration_ms: number;
8545
+ /**
8546
+ * Tool Id
8547
+ * @description The ID of the tool that was invoked.
8548
+ */
8549
+ tool_id: string;
8550
+ /** @description The version of the tool that was invoked. */
8551
+ tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
8559
8552
  };
8560
8553
  /** Request */
8561
8554
  tool__test_tool__Request: {
@@ -8757,7 +8750,7 @@ export interface components {
8757
8750
  */
8758
8751
  email: string;
8759
8752
  /** @description Statistics about the user's usage of the Amigo platform. */
8760
- user_stats: components["schemas"]["user__search_users__Response__UserInstance__UserStats"];
8753
+ user_stats: components["schemas"]["user__get_users__Response__UserInstance__UserStats"];
8761
8754
  /**
8762
8755
  * Role
8763
8756
  * @description The ID of the role of the user.
@@ -8766,16 +8759,8 @@ export interface components {
8766
8759
  /** @description The preferences of the user. */
8767
8760
  preferences: components["schemas"]["amigo_lib__mongo__collections__user__User__Preferences"];
8768
8761
  };
8769
- /** Response */
8770
- user__search_users__Response: {
8771
- /**
8772
- * Users
8773
- * @description Users in this organization.
8774
- */
8775
- users: components["schemas"]["user__get_users__Response__UserInstance"][];
8776
- };
8777
8762
  /** UserStats */
8778
- user__search_users__Response__UserInstance__UserStats: {
8763
+ user__get_users__Response__UserInstance__UserStats: {
8779
8764
  /**
8780
8765
  * Num Conversations
8781
8766
  * @description The number of conversations the user has created.
@@ -8792,6 +8777,14 @@ export interface components {
8792
8777
  */
8793
8778
  last_message_time: string | null;
8794
8779
  };
8780
+ /** Response */
8781
+ user__search_users__Response: {
8782
+ /**
8783
+ * Users
8784
+ * @description Users in this organization.
8785
+ */
8786
+ users: components["schemas"]["user__get_users__Response__UserInstance"][];
8787
+ };
8795
8788
  /** SigninWithAPIKeyResponse */
8796
8789
  user__sign_in_with_api_key__Response: {
8797
8790
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.97.0",
3
+ "version": "0.99.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"