@amigo-ai/sdk 0.52.0 → 0.53.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.
@@ -5430,7 +5430,7 @@ export interface components {
5430
5430
  */
5431
5431
  tool_id: string;
5432
5432
  /** @description The version of the tool. */
5433
- version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
5433
+ version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
5434
5434
  /**
5435
5435
  * Required Envvars
5436
5436
  * @description The environment variables that are required to run the tool.
@@ -6150,6 +6150,15 @@ export interface components {
6150
6150
  /** User Id */
6151
6151
  user_id: string;
6152
6152
  };
6153
+ /** Version */
6154
+ amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version: {
6155
+ /** Major */
6156
+ major: number;
6157
+ /** Minor */
6158
+ minor: number;
6159
+ /** Patch */
6160
+ patch: number;
6161
+ };
6153
6162
  /** UserInfo */
6154
6163
  amigo_lib__mongo__collections__tool_version__ToolVersion__UserInfo: {
6155
6164
  /**
@@ -6163,15 +6172,6 @@ export interface components {
6163
6172
  */
6164
6173
  user_org_id: string;
6165
6174
  };
6166
- /** Version */
6167
- amigo_lib__mongo__collections__tool_version__ToolVersion__Version: {
6168
- /** Major */
6169
- major: number;
6170
- /** Minor */
6171
- minor: number;
6172
- /** Patch */
6173
- patch: number;
6174
- };
6175
6175
  /**
6176
6176
  * Preferences
6177
6177
  * @description Preferences that the user can set to customize their experience.
@@ -7533,7 +7533,7 @@ export interface components {
7533
7533
  is_active: boolean;
7534
7534
  /** @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
7535
7535
  * latest agent and state machine versions with no model preference. */
7536
- release_version_set?: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"] | null;
7536
+ release_version_set?: components["schemas"]["service__create_service__Request__VersionSet"] | null;
7537
7537
  /**
7538
7538
  * Tags
7539
7539
  * @description The tags of this service.
@@ -7542,6 +7542,23 @@ export interface components {
7542
7542
  [key: string]: components["schemas"]["StrippedNonemptyString___w__s_____"] | null;
7543
7543
  };
7544
7544
  };
7545
+ /** VersionSet */
7546
+ service__create_service__Request__VersionSet: {
7547
+ /**
7548
+ * Agent Version Number
7549
+ * @description The version number of the agent to be used. If None, the latest agent version will be used.
7550
+ */
7551
+ agent_version_number: number | null;
7552
+ /**
7553
+ * Service Hierarchical State Machine Version Number
7554
+ * @description The version number of the state machine to be used. If None, the latest state machine version will be used.
7555
+ */
7556
+ service_hierarchical_state_machine_version_number: number | null;
7557
+ /** Llm Model Preferences */
7558
+ llm_model_preferences: {
7559
+ [key: string]: components["schemas"]["service__create_service__Request__VersionSet__LLMConfig"] | components["schemas"]["service__upsert_service_version_set__Request__VersionSet__LLMLoadBalancingSetConfig"];
7560
+ };
7561
+ };
7545
7562
  /** LLMConfig */
7546
7563
  service__create_service__Request__VersionSet__LLMConfig: {
7547
7564
  llm_name: components["schemas"]["LLMType"];
@@ -7561,14 +7578,6 @@ export interface components {
7561
7578
  */
7562
7579
  top_k: number;
7563
7580
  };
7564
- /** LLMLoadBalancingSetConfig */
7565
- service__create_service__Request__VersionSet__LLMLoadBalancingSetConfig: {
7566
- llm_load_balancing_set_name: components["schemas"]["LLMLoadBalancingSetType"];
7567
- /** Configs */
7568
- configs: {
7569
- [key: string]: components["schemas"]["PerLLMConfig"];
7570
- };
7571
- };
7572
7581
  /** Response */
7573
7582
  service__create_service__Response: {
7574
7583
  /**
@@ -7644,23 +7653,14 @@ export interface components {
7644
7653
  /** Request */
7645
7654
  service__upsert_service_version_set__Request: {
7646
7655
  /** @description The version set to upsert. */
7647
- version_set: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"];
7656
+ version_set: components["schemas"]["service__create_service__Request__VersionSet"];
7648
7657
  };
7649
- /** VersionSet */
7650
- service__upsert_service_version_set__Request__VersionSet: {
7651
- /**
7652
- * Agent Version Number
7653
- * @description The version number of the agent to be used. If None, the latest agent version will be used.
7654
- */
7655
- agent_version_number: number | null;
7656
- /**
7657
- * Service Hierarchical State Machine Version Number
7658
- * @description The version number of the state machine to be used. If None, the latest state machine version will be used.
7659
- */
7660
- service_hierarchical_state_machine_version_number: number | null;
7661
- /** Llm Model Preferences */
7662
- llm_model_preferences: {
7663
- [key: string]: components["schemas"]["service__create_service__Request__VersionSet__LLMConfig"] | components["schemas"]["service__create_service__Request__VersionSet__LLMLoadBalancingSetConfig"];
7658
+ /** LLMLoadBalancingSetConfig */
7659
+ service__upsert_service_version_set__Request__VersionSet__LLMLoadBalancingSetConfig: {
7660
+ llm_load_balancing_set_name: components["schemas"]["LLMLoadBalancingSetType"];
7661
+ /** Configs */
7662
+ configs: {
7663
+ [key: string]: components["schemas"]["PerLLMConfig"];
7664
7664
  };
7665
7665
  };
7666
7666
  /** Request */
@@ -7933,7 +7933,7 @@ export interface components {
7933
7933
  * Simulation Personas
7934
7934
  * @description The list of simulation personas.
7935
7935
  */
7936
- simulation_personas: components["schemas"]["simulation__get_simulation_personas__Response__SimulationPersonaInstance"][];
7936
+ simulation_personas: components["schemas"]["simulation__search_simulation_personas__Response__SimulationPersonaInstance"][];
7937
7937
  /**
7938
7938
  * Has More
7939
7939
  * @description Whether there are more simulation personas to fetch.
@@ -7968,52 +7968,6 @@ export interface components {
7968
7968
  */
7969
7969
  roles: string[];
7970
7970
  };
7971
- /** SimulationPersonaInstance */
7972
- simulation__get_simulation_personas__Response__SimulationPersonaInstance: {
7973
- /**
7974
- * Id
7975
- * @description The ID of the simulation persona.
7976
- */
7977
- id: string;
7978
- /**
7979
- * Name
7980
- * @description The name of the simulation persona.
7981
- */
7982
- name: string;
7983
- /**
7984
- * Role
7985
- * @description The role of the simulation persona.
7986
- */
7987
- role: string;
7988
- /**
7989
- * Tags
7990
- * @description The tags of the simulation persona.
7991
- */
7992
- tags: {
7993
- [key: string]: string | null;
7994
- };
7995
- /**
7996
- * Is Deleted
7997
- * @description Whether the simulation persona is deleted.
7998
- */
7999
- is_deleted: boolean;
8000
- /**
8001
- * Created At
8002
- * Format: date-time
8003
- * @description The timestamp when the simulation persona was created.
8004
- */
8005
- created_at: string;
8006
- /** @description The user who created the simulation persona. */
8007
- creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
8008
- /**
8009
- * Updated At
8010
- * Format: date-time
8011
- * @description The timestamp when the simulation persona was last updated.
8012
- */
8013
- updated_at: string;
8014
- /** @description The user who last updated the simulation persona. */
8015
- updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
8016
- };
8017
7971
  /** Response */
8018
7972
  simulation__get_simulation_scenario_versions__Response: {
8019
7973
  /**
@@ -8038,7 +7992,7 @@ export interface components {
8038
7992
  * Simulation Scenarios
8039
7993
  * @description The list of simulation scenarios.
8040
7994
  */
8041
- simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
7995
+ simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
8042
7996
  /**
8043
7997
  * Has More
8044
7998
  * @description Whether there are more simulation scenarios to fetch.
@@ -8068,6 +8022,47 @@ export interface components {
8068
8022
  */
8069
8023
  tags: string[];
8070
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
+ };
8071
8066
  /** Response */
8072
8067
  simulation__get_simulation_unit_test_set_run_artifacts__Response: {
8073
8068
  /**
@@ -8226,56 +8221,61 @@ export interface components {
8226
8221
  * Simulation Personas
8227
8222
  * @description The list of simulation personas.
8228
8223
  */
8229
- simulation_personas: components["schemas"]["simulation__get_simulation_personas__Response__SimulationPersonaInstance"][];
8230
- };
8231
- /** Response */
8232
- simulation__search_simulation_scenarios__Response: {
8233
- /**
8234
- * Simulation Scenarios
8235
- * @description The list of simulation scenarios.
8236
- */
8237
- simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
8224
+ simulation_personas: components["schemas"]["simulation__search_simulation_personas__Response__SimulationPersonaInstance"][];
8238
8225
  };
8239
- /** SimulationScenarioInstance */
8240
- simulation__search_simulation_scenarios__Response__SimulationScenarioInstance: {
8226
+ /** SimulationPersonaInstance */
8227
+ simulation__search_simulation_personas__Response__SimulationPersonaInstance: {
8241
8228
  /**
8242
8229
  * Id
8243
- * @description The ID of the simulation scenario.
8230
+ * @description The ID of the simulation persona.
8244
8231
  */
8245
8232
  id: string;
8246
8233
  /**
8247
8234
  * Name
8248
- * @description The name of the simulation scenario.
8235
+ * @description The name of the simulation persona.
8249
8236
  */
8250
8237
  name: string;
8238
+ /**
8239
+ * Role
8240
+ * @description The role of the simulation persona.
8241
+ */
8242
+ role: string;
8251
8243
  /**
8252
8244
  * Tags
8253
- * @description The tags of the simulation scenario.
8245
+ * @description The tags of the simulation persona.
8254
8246
  */
8255
8247
  tags: {
8256
8248
  [key: string]: string | null;
8257
8249
  };
8258
8250
  /**
8259
8251
  * Is Deleted
8260
- * @description Whether the simulation scenario is deleted.
8252
+ * @description Whether the simulation persona is deleted.
8261
8253
  */
8262
8254
  is_deleted: boolean;
8263
8255
  /**
8264
8256
  * Created At
8265
8257
  * Format: date-time
8266
- * @description The timestamp when the simulation scenario was created.
8258
+ * @description The timestamp when the simulation persona was created.
8267
8259
  */
8268
8260
  created_at: string;
8269
- /** @description The user who created the simulation scenario. */
8270
- creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8261
+ /** @description The user who created the simulation persona. */
8262
+ creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
8271
8263
  /**
8272
8264
  * Updated At
8273
8265
  * Format: date-time
8274
- * @description The timestamp when the simulation scenario was last updated.
8266
+ * @description The timestamp when the simulation persona was last updated.
8275
8267
  */
8276
8268
  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"];
8269
+ /** @description The user who last updated the simulation persona. */
8270
+ updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
8271
+ };
8272
+ /** Response */
8273
+ simulation__search_simulation_scenarios__Response: {
8274
+ /**
8275
+ * Simulation Scenarios
8276
+ * @description The list of simulation scenarios.
8277
+ */
8278
+ simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
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__search_tool_invocations__Response__ToolInvocationInstance"][];
8421
+ tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
8422
8422
  /**
8423
8423
  * Has More
8424
8424
  * @description Whether there are more tool invocations to retrieve.
@@ -8430,6 +8430,47 @@ 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
+ };
8433
8474
  /** Response */
8434
8475
  tool__get_tool_versions__Response: {
8435
8476
  /**
@@ -8586,48 +8627,7 @@ export interface components {
8586
8627
  * Tool Invocations
8587
8628
  * @description The list of tool invocations.
8588
8629
  */
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_version__ToolVersion__Version"];
8630
+ tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
8631
8631
  };
8632
8632
  /** Request */
8633
8633
  tool__test_tool__Request: {
@@ -8807,7 +8807,7 @@ export interface components {
8807
8807
  */
8808
8808
  email: string;
8809
8809
  /** @description Statistics about the user's usage of the Amigo platform. */
8810
- user_stats: components["schemas"]["user__search_users__Response__UserInstance__UserStats"];
8810
+ user_stats: components["schemas"]["user__get_users__Response__UserInstance__UserStats"];
8811
8811
  /**
8812
8812
  * Role
8813
8813
  * @description The ID of the role of the user.
@@ -8816,16 +8816,8 @@ export interface components {
8816
8816
  /** @description The preferences of the user. */
8817
8817
  preferences: components["schemas"]["amigo_lib__mongo__collections__user__User__Preferences"];
8818
8818
  };
8819
- /** Response */
8820
- user__search_users__Response: {
8821
- /**
8822
- * Users
8823
- * @description Users in this organization.
8824
- */
8825
- users: components["schemas"]["user__get_users__Response__UserInstance"][];
8826
- };
8827
8819
  /** UserStats */
8828
- user__search_users__Response__UserInstance__UserStats: {
8820
+ user__get_users__Response__UserInstance__UserStats: {
8829
8821
  /**
8830
8822
  * Num Conversations
8831
8823
  * @description The number of conversations the user has created.
@@ -8842,6 +8834,14 @@ export interface components {
8842
8834
  */
8843
8835
  last_message_time: string | null;
8844
8836
  };
8837
+ /** Response */
8838
+ user__search_users__Response: {
8839
+ /**
8840
+ * Users
8841
+ * @description Users in this organization.
8842
+ */
8843
+ users: components["schemas"]["user__get_users__Response__UserInstance"][];
8844
+ };
8845
8845
  /** SigninWithAPIKeyResponse */
8846
8846
  user__sign_in_with_api_key__Response: {
8847
8847
  /**
@@ -17534,7 +17534,7 @@ export interface operations {
17534
17534
  "application/json": components["schemas"]["tool__publish_tool_version__Response"];
17535
17535
  };
17536
17536
  };
17537
- /** @description Specified commit is older than the last valid commit, or the environment variables required by the tool version do not exist on the tool. */
17537
+ /** @description Specified commit is older than the last valid commit, or the environment variables required by the tool version do not exist on the tool, or more than 3 active versions of the tool exist. */
17538
17538
  400: {
17539
17539
  headers: {
17540
17540
  [name: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.52.0",
3
+ "version": "0.53.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"