@amigo-ai/sdk 0.53.0 → 0.54.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.
@@ -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__metric__Metric__Tag"][];
3529
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__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__metric__Metric__Tag"][];
3634
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__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__metric__Metric__Tag"][];
4498
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__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__metric__Metric__Tag"][];
4708
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__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__metric__Metric__Tag"][];
4780
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__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__metric__Metric__Tag"][];
4835
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__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__metric__Metric__Tag"][];
4887
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__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__metric__Metric__Tag"][];
5403
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
5404
5404
  };
5405
5405
  /** ToolVersionInstance */
5406
5406
  ToolVersionInstance: {
@@ -6015,13 +6015,6 @@ export interface components {
6015
6015
  */
6016
6016
  overrides_instructions: boolean;
6017
6017
  };
6018
- /** Tag */
6019
- amigo_lib__mongo__collections__metric__Metric__Tag: {
6020
- /** Key */
6021
- key: string;
6022
- /** Value */
6023
- value: string | null;
6024
- };
6025
6018
  /** UserInfo */
6026
6019
  amigo_lib__mongo__collections__metric__Metric__UserInfo: {
6027
6020
  /** Org Id */
@@ -6150,6 +6143,13 @@ export interface components {
6150
6143
  /** User Id */
6151
6144
  user_id: string;
6152
6145
  };
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__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6557
+ dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6558
6558
  /**
6559
6559
  * Has More
6560
6560
  * @description Whether there are more dynamic behavior sets to retrieve.
@@ -6571,8 +6571,34 @@ 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
+ };
6574
6600
  /** DynamicBehaviorSetInstance */
6575
- dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
6601
+ dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
6576
6602
  /** Id */
6577
6603
  id: string;
6578
6604
  /** Name */
@@ -6598,32 +6624,6 @@ export interface components {
6598
6624
  updated_at: string;
6599
6625
  updated_by: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"];
6600
6626
  };
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. */
@@ -7435,7 +7435,7 @@ export interface components {
7435
7435
  * Permission Grants
7436
7436
  * @description A list of permission grants associated with this role.
7437
7437
  */
7438
- permission_grants: components["schemas"]["role__modify_role__Request__PermissionGrant"][];
7438
+ permission_grants: components["schemas"]["role__create_role__Request__PermissionGrant"][];
7439
7439
  /** @description The frontend view for users of this role. */
7440
7440
  frontend_view: components["schemas"]["FrontendView"];
7441
7441
  /**
@@ -7449,6 +7449,25 @@ export interface components {
7449
7449
  */
7450
7450
  inherited_from: string | null;
7451
7451
  };
7452
+ /** PermissionGrant */
7453
+ role__create_role__Request__PermissionGrant: {
7454
+ /**
7455
+ * Action
7456
+ * @description Whether this grant allows or denies the specified access.
7457
+ * @enum {string}
7458
+ */
7459
+ action: "Allow" | "Deny";
7460
+ /** Permission Name */
7461
+ permission_name: string;
7462
+ /**
7463
+ * Conditions
7464
+ * @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
7465
+ */
7466
+ conditions: {
7467
+ [key: string]: components["schemas"]["Condition"];
7468
+ };
7469
+ description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
7470
+ };
7452
7471
  /** Response */
7453
7472
  role__create_role__Response: {
7454
7473
  /**
@@ -7473,7 +7492,7 @@ export interface components {
7473
7492
  * Permission Grants
7474
7493
  * @description A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.
7475
7494
  */
7476
- permission_grants?: components["schemas"]["role__modify_role__Request__PermissionGrant"][] | null;
7495
+ permission_grants?: components["schemas"]["role__create_role__Request__PermissionGrant"][] | null;
7477
7496
  /** @description The frontend view for the user of this role. Only updated if specified. This field is an immutable field. */
7478
7497
  frontend_view?: components["schemas"]["FrontendView"] | null;
7479
7498
  /**
@@ -7483,25 +7502,6 @@ export interface components {
7483
7502
  */
7484
7503
  inherited_from?: string | components["schemas"]["_NotSet"] | null;
7485
7504
  };
7486
- /** PermissionGrant */
7487
- role__modify_role__Request__PermissionGrant: {
7488
- /**
7489
- * Action
7490
- * @description Whether this grant allows or denies the specified access.
7491
- * @enum {string}
7492
- */
7493
- action: "Allow" | "Deny";
7494
- /** Permission Name */
7495
- permission_name: string;
7496
- /**
7497
- * Conditions
7498
- * @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
7499
- */
7500
- conditions: {
7501
- [key: string]: components["schemas"]["Condition"];
7502
- };
7503
- description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
7504
- };
7505
7505
  /** Response */
7506
7506
  role__modify_role__Response: {
7507
7507
  /**
@@ -7992,7 +7992,7 @@ export interface components {
7992
7992
  * Simulation Scenarios
7993
7993
  * @description The list of simulation scenarios.
7994
7994
  */
7995
- simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
7995
+ simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
7996
7996
  /**
7997
7997
  * Has More
7998
7998
  * @description Whether there are more simulation scenarios to fetch.
@@ -8022,47 +8022,6 @@ export interface components {
8022
8022
  */
8023
8023
  tags: string[];
8024
8024
  };
8025
- /** SimulationScenarioInstance */
8026
- simulation__get_simulation_scenarios__Response__SimulationScenarioInstance: {
8027
- /**
8028
- * Id
8029
- * @description The ID of the simulation scenario.
8030
- */
8031
- id: string;
8032
- /**
8033
- * Name
8034
- * @description The name of the simulation scenario.
8035
- */
8036
- name: string;
8037
- /**
8038
- * Tags
8039
- * @description The tags of the simulation scenario.
8040
- */
8041
- tags: {
8042
- [key: string]: string | null;
8043
- };
8044
- /**
8045
- * Is Deleted
8046
- * @description Whether the simulation scenario is deleted.
8047
- */
8048
- is_deleted: boolean;
8049
- /**
8050
- * Created At
8051
- * Format: date-time
8052
- * @description The timestamp when the simulation scenario was created.
8053
- */
8054
- created_at: string;
8055
- /** @description The user who created the simulation scenario. */
8056
- creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8057
- /**
8058
- * Updated At
8059
- * Format: date-time
8060
- * @description The timestamp when the simulation scenario was last updated.
8061
- */
8062
- updated_at: string;
8063
- /** @description The user who last updated the simulation scenario. */
8064
- updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8065
- };
8066
8025
  /** Response */
8067
8026
  simulation__get_simulation_unit_test_set_run_artifacts__Response: {
8068
8027
  /**
@@ -8275,7 +8234,48 @@ export interface components {
8275
8234
  * Simulation Scenarios
8276
8235
  * @description The list of simulation scenarios.
8277
8236
  */
8278
- simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
8237
+ simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
8238
+ };
8239
+ /** SimulationScenarioInstance */
8240
+ simulation__search_simulation_scenarios__Response__SimulationScenarioInstance: {
8241
+ /**
8242
+ * Id
8243
+ * @description The ID of the simulation scenario.
8244
+ */
8245
+ id: string;
8246
+ /**
8247
+ * Name
8248
+ * @description The name of the simulation scenario.
8249
+ */
8250
+ name: string;
8251
+ /**
8252
+ * Tags
8253
+ * @description The tags of the simulation scenario.
8254
+ */
8255
+ tags: {
8256
+ [key: string]: string | null;
8257
+ };
8258
+ /**
8259
+ * Is Deleted
8260
+ * @description Whether the simulation scenario is deleted.
8261
+ */
8262
+ is_deleted: boolean;
8263
+ /**
8264
+ * Created At
8265
+ * Format: date-time
8266
+ * @description The timestamp when the simulation scenario was created.
8267
+ */
8268
+ created_at: string;
8269
+ /** @description The user who created the simulation scenario. */
8270
+ creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8271
+ /**
8272
+ * Updated At
8273
+ * Format: date-time
8274
+ * @description The timestamp when the simulation scenario was last updated.
8275
+ */
8276
+ updated_at: string;
8277
+ /** @description The user who last updated the simulation scenario. */
8278
+ updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8279
8279
  };
8280
8280
  /** Response */
8281
8281
  simulation__search_simulation_unit_test_set__Response: {
@@ -8418,7 +8418,7 @@ export interface components {
8418
8418
  * Tool Invocations
8419
8419
  * @description The list of tool invocations.
8420
8420
  */
8421
- tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
8421
+ tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
8422
8422
  /**
8423
8423
  * Has More
8424
8424
  * @description Whether there are more tool invocations to retrieve.
@@ -8430,47 +8430,6 @@ export interface components {
8430
8430
  */
8431
8431
  continuation_token: unknown | null;
8432
8432
  };
8433
- /** ToolInvocationInstance */
8434
- tool__get_tool_invocations__Response__ToolInvocationInstance: {
8435
- /**
8436
- * Id
8437
- * @description The ID of the tool invocation.
8438
- */
8439
- id: string;
8440
- /**
8441
- * Org Id
8442
- * @description The ID of the organization.
8443
- */
8444
- org_id: string;
8445
- /**
8446
- * Created At
8447
- * Format: date-time
8448
- */
8449
- created_at?: string;
8450
- /**
8451
- * Updated At
8452
- * Format: date-time
8453
- */
8454
- updated_at?: string;
8455
- /** @description The status of the tool invocation. */
8456
- invocation_status: components["schemas"]["InvocationStatus"];
8457
- /** @description The source of the tool invocation. */
8458
- invocation_source: components["schemas"]["InvocationSource"];
8459
- /** Logs */
8460
- logs: string[];
8461
- /**
8462
- * Duration Ms
8463
- * @description The duration of the tool invocation in milliseconds.
8464
- */
8465
- duration_ms: number;
8466
- /**
8467
- * Tool Id
8468
- * @description The ID of the tool that was invoked.
8469
- */
8470
- tool_id: string;
8471
- /** @description The version of the tool that was invoked. */
8472
- tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
8473
- };
8474
8433
  /** Response */
8475
8434
  tool__get_tool_versions__Response: {
8476
8435
  /**
@@ -8627,7 +8586,48 @@ export interface components {
8627
8586
  * Tool Invocations
8628
8587
  * @description The list of tool invocations.
8629
8588
  */
8630
- tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
8589
+ tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
8590
+ };
8591
+ /** ToolInvocationInstance */
8592
+ tool__search_tool_invocations__Response__ToolInvocationInstance: {
8593
+ /**
8594
+ * Id
8595
+ * @description The ID of the tool invocation.
8596
+ */
8597
+ id: string;
8598
+ /**
8599
+ * Org Id
8600
+ * @description The ID of the organization.
8601
+ */
8602
+ org_id: string;
8603
+ /**
8604
+ * Created At
8605
+ * Format: date-time
8606
+ */
8607
+ created_at?: string;
8608
+ /**
8609
+ * Updated At
8610
+ * Format: date-time
8611
+ */
8612
+ updated_at?: string;
8613
+ /** @description The status of the tool invocation. */
8614
+ invocation_status: components["schemas"]["InvocationStatus"];
8615
+ /** @description The source of the tool invocation. */
8616
+ invocation_source: components["schemas"]["InvocationSource"];
8617
+ /** Logs */
8618
+ logs: string[];
8619
+ /**
8620
+ * Duration Ms
8621
+ * @description The duration of the tool invocation in milliseconds.
8622
+ */
8623
+ duration_ms: number;
8624
+ /**
8625
+ * Tool Id
8626
+ * @description The ID of the tool that was invoked.
8627
+ */
8628
+ tool_id: string;
8629
+ /** @description The version of the tool that was invoked. */
8630
+ tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
8631
8631
  };
8632
8632
  /** Request */
8633
8633
  tool__test_tool__Request: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.53.0",
3
+ "version": "0.54.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"