@amigo-ai/sdk 0.78.0 → 0.80.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"];
@@ -2962,12 +2962,6 @@ export interface components {
2962
2962
  * @enum {string}
2963
2963
  */
2964
2964
  type: "engage-user-dynamic-behavior-override";
2965
- /**
2966
- * Overriding
2967
- * @deprecated
2968
- * @description Whether the dynamic behavior set's instructions are overriding the existing instructions of the current state.
2969
- */
2970
- overriding: boolean;
2971
2965
  /**
2972
2966
  * Overriding Instructions
2973
2967
  * @description Whether the dynamic behavior set is overriding instructions during this interaction.
@@ -5312,7 +5306,7 @@ export interface components {
5312
5306
  */
5313
5307
  tool_id: string;
5314
5308
  /** @description The version of the tool. */
5315
- version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
5309
+ version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
5316
5310
  /**
5317
5311
  * Required Envvars
5318
5312
  * @description The environment variables that are required to run the tool.
@@ -5956,6 +5950,15 @@ export interface components {
5956
5950
  /** User Id */
5957
5951
  user_id: string;
5958
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
+ };
5959
5962
  /** UserInfo */
5960
5963
  amigo_lib__mongo__collections__tool_version__ToolVersion__UserInfo: {
5961
5964
  /**
@@ -5969,15 +5972,6 @@ export interface components {
5969
5972
  */
5970
5973
  user_org_id: string;
5971
5974
  };
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
5975
  /**
5982
5976
  * Preferences
5983
5977
  * @description Preferences that the user can set to customize their experience.
@@ -7031,7 +7025,7 @@ export interface components {
7031
7025
  global_boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
7032
7026
  };
7033
7027
  /** ExitCondition */
7034
- organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition: {
7028
+ organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition: {
7035
7029
  description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
7036
7030
  /** Next State */
7037
7031
  next_state: components["schemas"]["StateOrRefName"] | [
@@ -7482,7 +7476,7 @@ export interface components {
7482
7476
  is_active: boolean;
7483
7477
  /** @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
7478
  * latest agent and state machine versions with no model preference. */
7485
- release_version_set?: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"] | null;
7479
+ release_version_set?: components["schemas"]["service__create_service__Request__VersionSet"] | null;
7486
7480
  /**
7487
7481
  * Keyterms
7488
7482
  * @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.
@@ -7497,6 +7491,23 @@ export interface components {
7497
7491
  [key: string]: components["schemas"]["StrippedNonemptyString___w__s_____"] | null;
7498
7492
  };
7499
7493
  };
7494
+ /** VersionSet */
7495
+ service__create_service__Request__VersionSet: {
7496
+ /**
7497
+ * Agent Version Number
7498
+ * @description The version number of the agent to be used. If None, the latest agent version will be used.
7499
+ */
7500
+ agent_version_number: number | null;
7501
+ /**
7502
+ * Service Hierarchical State Machine Version Number
7503
+ * @description The version number of the state machine to be used. If None, the latest state machine version will be used.
7504
+ */
7505
+ service_hierarchical_state_machine_version_number: number | null;
7506
+ /** Llm Model Preferences */
7507
+ llm_model_preferences: {
7508
+ [key: string]: components["schemas"]["service__create_service__Request__VersionSet__LLMConfig"];
7509
+ };
7510
+ };
7500
7511
  /** LLMConfig */
7501
7512
  service__create_service__Request__VersionSet__LLMConfig: {
7502
7513
  llm_name: components["schemas"]["LLMType"];
@@ -7589,24 +7600,7 @@ export interface components {
7589
7600
  /** Request */
7590
7601
  service__upsert_service_version_set__Request: {
7591
7602
  /** @description The version set to upsert. */
7592
- version_set: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"];
7593
- };
7594
- /** VersionSet */
7595
- service__upsert_service_version_set__Request__VersionSet: {
7596
- /**
7597
- * Agent Version Number
7598
- * @description The version number of the agent to be used. If None, the latest agent version will be used.
7599
- */
7600
- agent_version_number: number | null;
7601
- /**
7602
- * Service Hierarchical State Machine Version Number
7603
- * @description The version number of the state machine to be used. If None, the latest state machine version will be used.
7604
- */
7605
- service_hierarchical_state_machine_version_number: number | null;
7606
- /** Llm Model Preferences */
7607
- llm_model_preferences: {
7608
- [key: string]: components["schemas"]["service__create_service__Request__VersionSet__LLMConfig"];
7609
- };
7603
+ version_set: components["schemas"]["service__create_service__Request__VersionSet"];
7610
7604
  };
7611
7605
  /** Request */
7612
7606
  simulation__create_simulation_persona__Request: {
@@ -7811,7 +7805,7 @@ export interface components {
7811
7805
  * Unit Test Runs
7812
7806
  * @description The unit test runs that are part of this set.
7813
7807
  */
7814
- unit_test_runs: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
7808
+ unit_test_runs: components["schemas"]["simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
7815
7809
  /**
7816
7810
  * Tags
7817
7811
  * @description The tags of the simulation unit test set.
@@ -7820,6 +7814,16 @@ export interface components {
7820
7814
  [key: string]: string | null;
7821
7815
  };
7822
7816
  };
7817
+ /** UnitTestRunDescriptor */
7818
+ simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
7819
+ /** Unit Test Id */
7820
+ unit_test_id: string;
7821
+ /**
7822
+ * Run Count
7823
+ * @description The number of times to run the unit test.
7824
+ */
7825
+ run_count: number;
7826
+ };
7823
7827
  /** Response */
7824
7828
  simulation__create_simulation_unit_test_set__Response: {
7825
7829
  /**
@@ -7868,7 +7872,7 @@ export interface components {
7868
7872
  * Simulation Personas
7869
7873
  * @description The list of simulation personas.
7870
7874
  */
7871
- simulation_personas: components["schemas"]["simulation__get_simulation_personas__Response__SimulationPersonaInstance"][];
7875
+ simulation_personas: components["schemas"]["simulation__search_simulation_personas__Response__SimulationPersonaInstance"][];
7872
7876
  /**
7873
7877
  * Has More
7874
7878
  * @description Whether there are more simulation personas to fetch.
@@ -7903,52 +7907,6 @@ export interface components {
7903
7907
  */
7904
7908
  roles: string[];
7905
7909
  };
7906
- /** SimulationPersonaInstance */
7907
- simulation__get_simulation_personas__Response__SimulationPersonaInstance: {
7908
- /**
7909
- * Id
7910
- * @description The ID of the simulation persona.
7911
- */
7912
- id: string;
7913
- /**
7914
- * Name
7915
- * @description The name of the simulation persona.
7916
- */
7917
- name: string;
7918
- /**
7919
- * Role
7920
- * @description The role of the simulation persona.
7921
- */
7922
- role: string;
7923
- /**
7924
- * Tags
7925
- * @description The tags of the simulation persona.
7926
- */
7927
- tags: {
7928
- [key: string]: string | null;
7929
- };
7930
- /**
7931
- * Is Deleted
7932
- * @description Whether the simulation persona is deleted.
7933
- */
7934
- is_deleted: boolean;
7935
- /**
7936
- * Created At
7937
- * Format: date-time
7938
- * @description The timestamp when the simulation persona was created.
7939
- */
7940
- created_at: string;
7941
- /** @description The user who created the simulation persona. */
7942
- creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
7943
- /**
7944
- * Updated At
7945
- * Format: date-time
7946
- * @description The timestamp when the simulation persona was last updated.
7947
- */
7948
- updated_at: string;
7949
- /** @description The user who last updated the simulation persona. */
7950
- updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
7951
- };
7952
7910
  /** Response */
7953
7911
  simulation__get_simulation_scenario_versions__Response: {
7954
7912
  /**
@@ -8202,7 +8160,53 @@ export interface components {
8202
8160
  * Simulation Personas
8203
8161
  * @description The list of simulation personas.
8204
8162
  */
8205
- simulation_personas: components["schemas"]["simulation__get_simulation_personas__Response__SimulationPersonaInstance"][];
8163
+ simulation_personas: components["schemas"]["simulation__search_simulation_personas__Response__SimulationPersonaInstance"][];
8164
+ };
8165
+ /** SimulationPersonaInstance */
8166
+ simulation__search_simulation_personas__Response__SimulationPersonaInstance: {
8167
+ /**
8168
+ * Id
8169
+ * @description The ID of the simulation persona.
8170
+ */
8171
+ id: string;
8172
+ /**
8173
+ * Name
8174
+ * @description The name of the simulation persona.
8175
+ */
8176
+ name: string;
8177
+ /**
8178
+ * Role
8179
+ * @description The role of the simulation persona.
8180
+ */
8181
+ role: string;
8182
+ /**
8183
+ * Tags
8184
+ * @description The tags of the simulation persona.
8185
+ */
8186
+ tags: {
8187
+ [key: string]: string | null;
8188
+ };
8189
+ /**
8190
+ * Is Deleted
8191
+ * @description Whether the simulation persona is deleted.
8192
+ */
8193
+ is_deleted: boolean;
8194
+ /**
8195
+ * Created At
8196
+ * Format: date-time
8197
+ * @description The timestamp when the simulation persona was created.
8198
+ */
8199
+ created_at: string;
8200
+ /** @description The user who created the simulation persona. */
8201
+ creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
8202
+ /**
8203
+ * Updated At
8204
+ * Format: date-time
8205
+ * @description The timestamp when the simulation persona was last updated.
8206
+ */
8207
+ updated_at: string;
8208
+ /** @description The user who last updated the simulation persona. */
8209
+ updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
8206
8210
  };
8207
8211
  /** Response */
8208
8212
  simulation__search_simulation_scenarios__Response: {
@@ -8316,7 +8320,7 @@ export interface components {
8316
8320
  * Unit Test Runs
8317
8321
  * @description The unit test runs that are part of this set.
8318
8322
  */
8319
- unit_test_runs?: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
8323
+ unit_test_runs?: components["schemas"]["simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
8320
8324
  /**
8321
8325
  * Tags
8322
8326
  * @description The tags of the simulation unit test set.
@@ -8325,16 +8329,6 @@ export interface components {
8325
8329
  [key: string]: string | null;
8326
8330
  } | null;
8327
8331
  };
8328
- /** UnitTestRunDescriptor */
8329
- simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
8330
- /** Unit Test Id */
8331
- unit_test_id: string;
8332
- /**
8333
- * Run Count
8334
- * @description The number of times to run the unit test.
8335
- */
8336
- run_count: number;
8337
- };
8338
8332
  /** Request */
8339
8333
  tool__create_tool__Request: {
8340
8334
  /** @description The name of the tool. It must be unique among all non-deprecated tools in the organization. */
@@ -8572,7 +8566,7 @@ export interface components {
8572
8566
  */
8573
8567
  tool_id: string;
8574
8568
  /** @description The version of the tool that was invoked. */
8575
- tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
8569
+ tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
8576
8570
  };
8577
8571
  /** Request */
8578
8572
  tool__test_tool__Request: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.78.0",
3
+ "version": "0.80.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"