@amigo-ai/sdk 0.86.0 → 0.88.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.
@@ -2291,7 +2291,7 @@ export interface components {
2291
2291
  /** Boundary Constraints */
2292
2292
  boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
2293
2293
  /** Exit Conditions */
2294
- exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition"][];
2294
+ exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition"][];
2295
2295
  /** Action Tool Call Specs */
2296
2296
  action_tool_call_specs: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ToolCallSpec"][];
2297
2297
  /** Exit Condition Tool Call Specs */
@@ -2719,7 +2719,7 @@ export interface components {
2719
2719
  type: "decision";
2720
2720
  name: components["schemas"]["StateOrRefName"];
2721
2721
  /** Exit Conditions */
2722
- exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition"][];
2722
+ exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition"][];
2723
2723
  /** Decision Guidelines */
2724
2724
  decision_guidelines: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
2725
2725
  objective: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
@@ -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__service__Service__Tag"][];
3471
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__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__service__Service__Tag"][];
3576
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__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__service__Service__Tag"][];
4428
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__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__service__Service__Tag"][];
4638
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__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__service__Service__Tag"][];
4710
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__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__service__Service__Tag"][];
4765
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__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__service__Service__Tag"][];
4817
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__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__service__Service__Tag"][];
5279
+ tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
5280
5280
  };
5281
5281
  /** ToolVersionInstance */
5282
5282
  ToolVersionInstance: {
@@ -5306,7 +5306,7 @@ export interface components {
5306
5306
  */
5307
5307
  tool_id: string;
5308
5308
  /** @description The version of the tool. */
5309
- version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
5309
+ version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
5310
5310
  /**
5311
5311
  * Required Envvars
5312
5312
  * @description The environment variables that are required to run the tool.
@@ -5818,13 +5818,6 @@ export interface components {
5818
5818
  */
5819
5819
  description?: string | null;
5820
5820
  };
5821
- /** Tag */
5822
- amigo_lib__mongo__collections__service__Service__Tag: {
5823
- /** Key */
5824
- key: string;
5825
- /** Value */
5826
- value: string | null;
5827
- };
5828
5821
  /**
5829
5822
  * VersionSet
5830
5823
  * @description A version set pins the agent, state machine, and model version used by this service.
@@ -5915,6 +5908,13 @@ export interface components {
5915
5908
  /** User Id */
5916
5909
  user_id: string;
5917
5910
  };
5911
+ /** Tag */
5912
+ amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag: {
5913
+ /** Key */
5914
+ key: string;
5915
+ /** Value */
5916
+ value: string | null;
5917
+ };
5918
5918
  /** UnitTestRunDescriptor */
5919
5919
  amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UnitTestRunDescriptor: {
5920
5920
  /** Unit Test Id */
@@ -5950,6 +5950,15 @@ export interface components {
5950
5950
  /** User Id */
5951
5951
  user_id: string;
5952
5952
  };
5953
+ /** Version */
5954
+ amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version: {
5955
+ /** Major */
5956
+ major: number;
5957
+ /** Minor */
5958
+ minor: number;
5959
+ /** Patch */
5960
+ patch: number;
5961
+ };
5953
5962
  /** UserInfo */
5954
5963
  amigo_lib__mongo__collections__tool_version__ToolVersion__UserInfo: {
5955
5964
  /**
@@ -5963,15 +5972,6 @@ export interface components {
5963
5972
  */
5964
5973
  user_org_id: string;
5965
5974
  };
5966
- /** Version */
5967
- amigo_lib__mongo__collections__tool_version__ToolVersion__Version: {
5968
- /** Major */
5969
- major: number;
5970
- /** Minor */
5971
- minor: number;
5972
- /** Patch */
5973
- patch: number;
5974
- };
5975
5975
  /**
5976
5976
  * Preferences
5977
5977
  * @description Preferences that the user can set to customize their experience.
@@ -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__modify_organization__Request__UserDimension"][];
6882
+ user_dimensions: components["schemas"]["organization__create_organization__Request__UserDimension"][];
6883
6883
  /**
6884
6884
  * Logo
6885
6885
  * Format: base64
@@ -6956,6 +6956,12 @@ 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
+ };
6959
6965
  /** Response */
6960
6966
  organization__create_organization__Response: {
6961
6967
  /**
@@ -7019,7 +7025,7 @@ export interface components {
7019
7025
  global_boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
7020
7026
  };
7021
7027
  /** ExitCondition */
7022
- organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition: {
7028
+ organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition: {
7023
7029
  description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
7024
7030
  /** Next State */
7025
7031
  next_state: components["schemas"]["StateOrRefName"] | [
@@ -7322,7 +7328,7 @@ export interface components {
7322
7328
  * User Dimensions
7323
7329
  * @description User dimensions for the organization. If not set or `null`, this field is not updated.
7324
7330
  */
7325
- user_dimensions?: components["schemas"]["organization__modify_organization__Request__UserDimension"][] | null;
7331
+ user_dimensions?: components["schemas"]["organization__create_organization__Request__UserDimension"][] | null;
7326
7332
  /** @description The default user preferences for the organization. If `null`, this field is not updated. */
7327
7333
  default_user_preferences?: components["schemas"]["organization__modify_organization__Request__Preferences"] | null;
7328
7334
  /**
@@ -7362,12 +7368,6 @@ export interface components {
7362
7368
  */
7363
7369
  audio_keyterms?: string[];
7364
7370
  };
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
  /**
@@ -7394,29 +7394,10 @@ export interface components {
7394
7394
  * Permission Grants
7395
7395
  * @description A list of permission grants associated with this role.
7396
7396
  */
7397
- permission_grants: components["schemas"]["role__create_role__Request__PermissionGrant"][];
7397
+ permission_grants: components["schemas"]["role__modify_role__Request__PermissionGrant"][];
7398
7398
  /** @description The frontend view for users of this role. */
7399
7399
  frontend_view: components["schemas"]["FrontendView"];
7400
7400
  };
7401
- /** PermissionGrant */
7402
- role__create_role__Request__PermissionGrant: {
7403
- /**
7404
- * Action
7405
- * @description Whether this grant allows or denies the specified access.
7406
- * @enum {string}
7407
- */
7408
- action: "Allow" | "Deny";
7409
- /** Permission Name */
7410
- permission_name: string;
7411
- /**
7412
- * Conditions
7413
- * @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
7414
- */
7415
- conditions: {
7416
- [key: string]: components["schemas"]["Condition"];
7417
- };
7418
- description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
7419
- };
7420
7401
  /** Response */
7421
7402
  role__create_role__Response: {
7422
7403
  /**
@@ -7441,10 +7422,29 @@ export interface components {
7441
7422
  * Permission Grants
7442
7423
  * @description A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.
7443
7424
  */
7444
- permission_grants?: components["schemas"]["role__create_role__Request__PermissionGrant"][] | null;
7425
+ permission_grants?: components["schemas"]["role__modify_role__Request__PermissionGrant"][] | null;
7445
7426
  /** @description The frontend view for the user of this role. Only updated if specified. This field is an immutable field. */
7446
7427
  frontend_view?: components["schemas"]["FrontendView"] | null;
7447
7428
  };
7429
+ /** PermissionGrant */
7430
+ role__modify_role__Request__PermissionGrant: {
7431
+ /**
7432
+ * Action
7433
+ * @description Whether this grant allows or denies the specified access.
7434
+ * @enum {string}
7435
+ */
7436
+ action: "Allow" | "Deny";
7437
+ /** Permission Name */
7438
+ permission_name: string;
7439
+ /**
7440
+ * Conditions
7441
+ * @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
7442
+ */
7443
+ conditions: {
7444
+ [key: string]: components["schemas"]["Condition"];
7445
+ };
7446
+ description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
7447
+ };
7448
7448
  /** Response */
7449
7449
  role__modify_role__Response: {
7450
7450
  /**
@@ -7505,7 +7505,19 @@ export interface components {
7505
7505
  service_hierarchical_state_machine_version_number: number | null;
7506
7506
  /** Llm Model Preferences */
7507
7507
  llm_model_preferences: {
7508
- [key: string]: components["schemas"]["service__upsert_service_version_set__Request__VersionSet__LLMConfig"];
7508
+ [key: string]: components["schemas"]["service__create_service__Request__VersionSet__LLMConfig"];
7509
+ };
7510
+ };
7511
+ /** LLMConfig */
7512
+ service__create_service__Request__VersionSet__LLMConfig: {
7513
+ llm_name: components["schemas"]["LLMType"];
7514
+ /**
7515
+ * Params
7516
+ * @description LLM-specific parameters to use.
7517
+ * @default {}
7518
+ */
7519
+ params?: {
7520
+ [key: string]: unknown;
7509
7521
  };
7510
7522
  };
7511
7523
  /** Response */
@@ -7590,18 +7602,6 @@ export interface components {
7590
7602
  /** @description The version set to upsert. */
7591
7603
  version_set: components["schemas"]["service__create_service__Request__VersionSet"];
7592
7604
  };
7593
- /** LLMConfig */
7594
- service__upsert_service_version_set__Request__VersionSet__LLMConfig: {
7595
- llm_name: components["schemas"]["LLMType"];
7596
- /**
7597
- * Params
7598
- * @description LLM-specific parameters to use.
7599
- * @default {}
7600
- */
7601
- params?: {
7602
- [key: string]: unknown;
7603
- };
7604
- };
7605
7605
  /** Request */
7606
7606
  simulation__create_simulation_persona__Request: {
7607
7607
  /** @description The name of the simulation persona. */
@@ -8550,7 +8550,7 @@ export interface components {
8550
8550
  */
8551
8551
  tool_id: string;
8552
8552
  /** @description The version of the tool that was invoked. */
8553
- tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
8553
+ tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
8554
8554
  };
8555
8555
  /** Request */
8556
8556
  tool__test_tool__Request: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.86.0",
3
+ "version": "0.88.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"