@amigo-ai/sdk 0.68.0 → 0.69.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.
@@ -3432,7 +3432,7 @@ export interface components {
3432
3432
  * Tags
3433
3433
  * @description The tags of the metric.
3434
3434
  */
3435
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
3435
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
3436
3436
  /** @description The user who created the metric. */
3437
3437
  creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
3438
3438
  /** @description The user who last updated the metric. */
@@ -3537,7 +3537,7 @@ export interface components {
3537
3537
  * Tags
3538
3538
  * @description The tags of the metric.
3539
3539
  */
3540
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
3540
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
3541
3541
  /** @description The user who created the metric. */
3542
3542
  creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
3543
3543
  /** @description The user who last updated the metric. */
@@ -4384,7 +4384,7 @@ export interface components {
4384
4384
  * Tags
4385
4385
  * @description The tags of the service.
4386
4386
  */
4387
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4387
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4388
4388
  };
4389
4389
  /** SimulationConversationInvocationSource */
4390
4390
  SimulationConversationInvocationSource: {
@@ -4594,7 +4594,7 @@ export interface components {
4594
4594
  * Tags
4595
4595
  * @description The tags of the simulation persona.
4596
4596
  */
4597
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4597
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4598
4598
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4599
4599
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4600
4600
  };
@@ -4666,7 +4666,7 @@ export interface components {
4666
4666
  * Tags
4667
4667
  * @description The tags of the simulation persona.
4668
4668
  */
4669
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4669
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4670
4670
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4671
4671
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4672
4672
  };
@@ -4721,7 +4721,7 @@ export interface components {
4721
4721
  * Tags
4722
4722
  * @description The tags of the simulation unit test set.
4723
4723
  */
4724
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4724
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4725
4725
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4726
4726
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4727
4727
  };
@@ -4773,7 +4773,7 @@ export interface components {
4773
4773
  * Tags
4774
4774
  * @description The tags of the simulation unit test set.
4775
4775
  */
4776
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4776
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4777
4777
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4778
4778
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4779
4779
  };
@@ -5235,7 +5235,7 @@ export interface components {
5235
5235
  * Tags
5236
5236
  * @description The tags of the simulation persona.
5237
5237
  */
5238
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
5238
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
5239
5239
  };
5240
5240
  /** ToolVersionInstance */
5241
5241
  ToolVersionInstance: {
@@ -5265,7 +5265,7 @@ export interface components {
5265
5265
  */
5266
5266
  tool_id: string;
5267
5267
  /** @description The version of the tool. */
5268
- version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
5268
+ version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
5269
5269
  /**
5270
5270
  * Required Envvars
5271
5271
  * @description The environment variables that are required to run the tool.
@@ -5860,13 +5860,6 @@ export interface components {
5860
5860
  metric_id: string;
5861
5861
  criterion: components["schemas"]["SuccessCriterionDescription-Output"];
5862
5862
  };
5863
- /** Tag */
5864
- amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag: {
5865
- /** Key */
5866
- key: string;
5867
- /** Value */
5868
- value: string | null;
5869
- };
5870
5863
  /** UserInfo */
5871
5864
  amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo: {
5872
5865
  /** Org Id */
@@ -5909,6 +5902,22 @@ export interface components {
5909
5902
  /** User Id */
5910
5903
  user_id: string;
5911
5904
  };
5905
+ /** Tag */
5906
+ amigo_lib__mongo__collections__tool__Tool__Tag: {
5907
+ /** Key */
5908
+ key: string;
5909
+ /** Value */
5910
+ value: string | null;
5911
+ };
5912
+ /** Version */
5913
+ amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version: {
5914
+ /** Major */
5915
+ major: number;
5916
+ /** Minor */
5917
+ minor: number;
5918
+ /** Patch */
5919
+ patch: number;
5920
+ };
5912
5921
  /** UserInfo */
5913
5922
  amigo_lib__mongo__collections__tool_version__ToolVersion__UserInfo: {
5914
5923
  /**
@@ -5922,15 +5931,6 @@ export interface components {
5922
5931
  */
5923
5932
  user_org_id: string;
5924
5933
  };
5925
- /** Version */
5926
- amigo_lib__mongo__collections__tool_version__ToolVersion__Version: {
5927
- /** Major */
5928
- major: number;
5929
- /** Minor */
5930
- minor: number;
5931
- /** Patch */
5932
- patch: number;
5933
- };
5934
5934
  /**
5935
5935
  * Preferences
5936
5936
  * @description Preferences that the user can set to customize their experience.
@@ -6419,7 +6419,7 @@ export interface components {
6419
6419
  * Dynamic Behavior Sets
6420
6420
  * @description The retrieved dynamic behavior sets.
6421
6421
  */
6422
- dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6422
+ dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6423
6423
  /**
6424
6424
  * Has More
6425
6425
  * @description Whether there are more dynamic behavior sets to retrieve.
@@ -6436,8 +6436,34 @@ export interface components {
6436
6436
  * retrieved. */
6437
6437
  filter_values: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues"] | null;
6438
6438
  };
6439
+ /** FilterValues */
6440
+ dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
6441
+ /**
6442
+ * Applied To Services Ids
6443
+ * @description A set of service IDs that have dynamic behavior sets applied to the service.
6444
+ */
6445
+ applied_to_services_ids: string[];
6446
+ /**
6447
+ * Creators
6448
+ * @description A set of creator infos that created the dynamic behavior sets under the current filters.
6449
+ */
6450
+ creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
6451
+ /**
6452
+ * Tags
6453
+ * @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
6454
+ */
6455
+ tags: string[];
6456
+ };
6457
+ /** Response */
6458
+ dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
6459
+ /**
6460
+ * Dynamic Behavior Sets
6461
+ * @description The retrieved dynamic behavior sets.
6462
+ */
6463
+ dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6464
+ };
6439
6465
  /** DynamicBehaviorSetInstance */
6440
- dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
6466
+ dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
6441
6467
  /** Id */
6442
6468
  id: string;
6443
6469
  /** Name */
@@ -6463,32 +6489,6 @@ export interface components {
6463
6489
  updated_at: string;
6464
6490
  updated_by: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"];
6465
6491
  };
6466
- /** FilterValues */
6467
- dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
6468
- /**
6469
- * Applied To Services Ids
6470
- * @description A set of service IDs that have dynamic behavior sets applied to the service.
6471
- */
6472
- applied_to_services_ids: string[];
6473
- /**
6474
- * Creators
6475
- * @description A set of creator infos that created the dynamic behavior sets under the current filters.
6476
- */
6477
- creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
6478
- /**
6479
- * Tags
6480
- * @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
6481
- */
6482
- tags: string[];
6483
- };
6484
- /** Response */
6485
- dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
6486
- /**
6487
- * Dynamic Behavior Sets
6488
- * @description The retrieved dynamic behavior sets.
6489
- */
6490
- dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6491
- };
6492
6492
  /** Request */
6493
6493
  dynamic_behavior_set__update_dynamic_behavior_set__Request: {
6494
6494
  /** @description The name of the dynamic behavior set. */
@@ -7410,7 +7410,7 @@ export interface components {
7410
7410
  is_active: boolean;
7411
7411
  /** @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
7412
7412
  * latest agent and state machine versions with no model preference. */
7413
- release_version_set?: components["schemas"]["service__create_service__Request__VersionSet"] | null;
7413
+ release_version_set?: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"] | null;
7414
7414
  /**
7415
7415
  * Keyterms
7416
7416
  * @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.
@@ -7425,21 +7425,16 @@ export interface components {
7425
7425
  [key: string]: components["schemas"]["StrippedNonemptyString___w__s_____"] | null;
7426
7426
  };
7427
7427
  };
7428
- /** VersionSet */
7429
- service__create_service__Request__VersionSet: {
7430
- /**
7431
- * Agent Version Number
7432
- * @description The version number of the agent to be used. If None, the latest agent version will be used.
7433
- */
7434
- agent_version_number: number | null;
7428
+ /** LLMConfig */
7429
+ service__create_service__Request__VersionSet__LLMConfig: {
7430
+ llm_name: components["schemas"]["LLMType"];
7435
7431
  /**
7436
- * Service Hierarchical State Machine Version Number
7437
- * @description The version number of the state machine to be used. If None, the latest state machine version will be used.
7432
+ * Params
7433
+ * @description LLM-specific parameters to use.
7434
+ * @default {}
7438
7435
  */
7439
- service_hierarchical_state_machine_version_number: number | null;
7440
- /** Llm Model Preferences */
7441
- llm_model_preferences: {
7442
- [key: string]: components["schemas"]["service__upsert_service_version_set__Request__VersionSet__LLMConfig"];
7436
+ params?: {
7437
+ [key: string]: unknown;
7443
7438
  };
7444
7439
  };
7445
7440
  /** Response */
@@ -7522,18 +7517,23 @@ export interface components {
7522
7517
  /** Request */
7523
7518
  service__upsert_service_version_set__Request: {
7524
7519
  /** @description The version set to upsert. */
7525
- version_set: components["schemas"]["service__create_service__Request__VersionSet"];
7520
+ version_set: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"];
7526
7521
  };
7527
- /** LLMConfig */
7528
- service__upsert_service_version_set__Request__VersionSet__LLMConfig: {
7529
- llm_name: components["schemas"]["LLMType"];
7522
+ /** VersionSet */
7523
+ service__upsert_service_version_set__Request__VersionSet: {
7530
7524
  /**
7531
- * Params
7532
- * @description LLM-specific parameters to use.
7533
- * @default {}
7525
+ * Agent Version Number
7526
+ * @description The version number of the agent to be used. If None, the latest agent version will be used.
7534
7527
  */
7535
- params?: {
7536
- [key: string]: unknown;
7528
+ agent_version_number: number | null;
7529
+ /**
7530
+ * Service Hierarchical State Machine Version Number
7531
+ * @description The version number of the state machine to be used. If None, the latest state machine version will be used.
7532
+ */
7533
+ service_hierarchical_state_machine_version_number: number | null;
7534
+ /** Llm Model Preferences */
7535
+ llm_model_preferences: {
7536
+ [key: string]: components["schemas"]["service__create_service__Request__VersionSet__LLMConfig"];
7537
7537
  };
7538
7538
  };
7539
7539
  /** Request */
@@ -7739,7 +7739,7 @@ export interface components {
7739
7739
  * Unit Test Runs
7740
7740
  * @description The unit test runs that are part of this set.
7741
7741
  */
7742
- unit_test_runs: components["schemas"]["simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
7742
+ unit_test_runs: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
7743
7743
  /**
7744
7744
  * Tags
7745
7745
  * @description The tags of the simulation unit test set.
@@ -7748,16 +7748,6 @@ export interface components {
7748
7748
  [key: string]: string | null;
7749
7749
  };
7750
7750
  };
7751
- /** UnitTestRunDescriptor */
7752
- simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
7753
- /** Unit Test Id */
7754
- unit_test_id: string;
7755
- /**
7756
- * Run Count
7757
- * @description The number of times to run the unit test.
7758
- */
7759
- run_count: number;
7760
- };
7761
7751
  /** Response */
7762
7752
  simulation__create_simulation_unit_test_set__Response: {
7763
7753
  /**
@@ -7865,7 +7855,7 @@ export interface components {
7865
7855
  * Simulation Scenarios
7866
7856
  * @description The list of simulation scenarios.
7867
7857
  */
7868
- simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
7858
+ simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
7869
7859
  /**
7870
7860
  * Has More
7871
7861
  * @description Whether there are more simulation scenarios to fetch.
@@ -7895,47 +7885,6 @@ export interface components {
7895
7885
  */
7896
7886
  tags: string[];
7897
7887
  };
7898
- /** SimulationScenarioInstance */
7899
- simulation__get_simulation_scenarios__Response__SimulationScenarioInstance: {
7900
- /**
7901
- * Id
7902
- * @description The ID of the simulation scenario.
7903
- */
7904
- id: string;
7905
- /**
7906
- * Name
7907
- * @description The name of the simulation scenario.
7908
- */
7909
- name: string;
7910
- /**
7911
- * Tags
7912
- * @description The tags of the simulation scenario.
7913
- */
7914
- tags: {
7915
- [key: string]: string | null;
7916
- };
7917
- /**
7918
- * Is Deleted
7919
- * @description Whether the simulation scenario is deleted.
7920
- */
7921
- is_deleted: boolean;
7922
- /**
7923
- * Created At
7924
- * Format: date-time
7925
- * @description The timestamp when the simulation scenario was created.
7926
- */
7927
- created_at: string;
7928
- /** @description The user who created the simulation scenario. */
7929
- creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
7930
- /**
7931
- * Updated At
7932
- * Format: date-time
7933
- * @description The timestamp when the simulation scenario was last updated.
7934
- */
7935
- updated_at: string;
7936
- /** @description The user who last updated the simulation scenario. */
7937
- updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
7938
- };
7939
7888
  /** Response */
7940
7889
  simulation__get_simulation_unit_test_set_run_artifacts__Response: {
7941
7890
  /**
@@ -8148,7 +8097,48 @@ export interface components {
8148
8097
  * Simulation Scenarios
8149
8098
  * @description The list of simulation scenarios.
8150
8099
  */
8151
- simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
8100
+ simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
8101
+ };
8102
+ /** SimulationScenarioInstance */
8103
+ simulation__search_simulation_scenarios__Response__SimulationScenarioInstance: {
8104
+ /**
8105
+ * Id
8106
+ * @description The ID of the simulation scenario.
8107
+ */
8108
+ id: string;
8109
+ /**
8110
+ * Name
8111
+ * @description The name of the simulation scenario.
8112
+ */
8113
+ name: string;
8114
+ /**
8115
+ * Tags
8116
+ * @description The tags of the simulation scenario.
8117
+ */
8118
+ tags: {
8119
+ [key: string]: string | null;
8120
+ };
8121
+ /**
8122
+ * Is Deleted
8123
+ * @description Whether the simulation scenario is deleted.
8124
+ */
8125
+ is_deleted: boolean;
8126
+ /**
8127
+ * Created At
8128
+ * Format: date-time
8129
+ * @description The timestamp when the simulation scenario was created.
8130
+ */
8131
+ created_at: string;
8132
+ /** @description The user who created the simulation scenario. */
8133
+ creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8134
+ /**
8135
+ * Updated At
8136
+ * Format: date-time
8137
+ * @description The timestamp when the simulation scenario was last updated.
8138
+ */
8139
+ updated_at: string;
8140
+ /** @description The user who last updated the simulation scenario. */
8141
+ updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8152
8142
  };
8153
8143
  /** Response */
8154
8144
  simulation__search_simulation_unit_test_set__Response: {
@@ -8254,7 +8244,7 @@ export interface components {
8254
8244
  * Unit Test Runs
8255
8245
  * @description The unit test runs that are part of this set.
8256
8246
  */
8257
- unit_test_runs?: components["schemas"]["simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
8247
+ unit_test_runs?: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
8258
8248
  /**
8259
8249
  * Tags
8260
8250
  * @description The tags of the simulation unit test set.
@@ -8263,6 +8253,16 @@ export interface components {
8263
8253
  [key: string]: string | null;
8264
8254
  } | null;
8265
8255
  };
8256
+ /** UnitTestRunDescriptor */
8257
+ simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
8258
+ /** Unit Test Id */
8259
+ unit_test_id: string;
8260
+ /**
8261
+ * Run Count
8262
+ * @description The number of times to run the unit test.
8263
+ */
8264
+ run_count: number;
8265
+ };
8266
8266
  /** Request */
8267
8267
  tool__create_tool__Request: {
8268
8268
  /** @description The name of the tool. It must be unique among all non-deprecated tools in the organization. */
@@ -8484,7 +8484,7 @@ export interface components {
8484
8484
  */
8485
8485
  tool_id: string;
8486
8486
  /** @description The version of the tool that was invoked. */
8487
- tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
8487
+ tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
8488
8488
  };
8489
8489
  /** Request */
8490
8490
  tool__test_tool__Request: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.68.0",
3
+ "version": "0.69.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"