@amigo-ai/sdk 0.84.0 → 0.85.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"];
@@ -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.
@@ -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.
@@ -6485,7 +6485,7 @@ export interface components {
6485
6485
  * Dynamic Behavior Sets
6486
6486
  * @description The retrieved dynamic behavior sets.
6487
6487
  */
6488
- dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6488
+ dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6489
6489
  /**
6490
6490
  * Has More
6491
6491
  * @description Whether there are more dynamic behavior sets to retrieve.
@@ -6502,8 +6502,34 @@ export interface components {
6502
6502
  * retrieved. */
6503
6503
  filter_values: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues"] | null;
6504
6504
  };
6505
+ /** FilterValues */
6506
+ dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
6507
+ /**
6508
+ * Applied To Services Ids
6509
+ * @description A set of service IDs that have dynamic behavior sets applied to the service.
6510
+ */
6511
+ applied_to_services_ids: string[];
6512
+ /**
6513
+ * Creators
6514
+ * @description A set of creator infos that created the dynamic behavior sets under the current filters.
6515
+ */
6516
+ creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
6517
+ /**
6518
+ * Tags
6519
+ * @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
6520
+ */
6521
+ tags: string[];
6522
+ };
6523
+ /** Response */
6524
+ dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
6525
+ /**
6526
+ * Dynamic Behavior Sets
6527
+ * @description The retrieved dynamic behavior sets.
6528
+ */
6529
+ dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6530
+ };
6505
6531
  /** DynamicBehaviorSetInstance */
6506
- dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
6532
+ dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
6507
6533
  /** Id */
6508
6534
  id: string;
6509
6535
  /** Name */
@@ -6529,32 +6555,6 @@ export interface components {
6529
6555
  updated_at: string;
6530
6556
  updated_by: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"];
6531
6557
  };
6532
- /** FilterValues */
6533
- dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
6534
- /**
6535
- * Applied To Services Ids
6536
- * @description A set of service IDs that have dynamic behavior sets applied to the service.
6537
- */
6538
- applied_to_services_ids: string[];
6539
- /**
6540
- * Creators
6541
- * @description A set of creator infos that created the dynamic behavior sets under the current filters.
6542
- */
6543
- creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
6544
- /**
6545
- * Tags
6546
- * @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
6547
- */
6548
- tags: string[];
6549
- };
6550
- /** Response */
6551
- dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
6552
- /**
6553
- * Dynamic Behavior Sets
6554
- * @description The retrieved dynamic behavior sets.
6555
- */
6556
- dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
6557
- };
6558
6558
  /** Request */
6559
6559
  dynamic_behavior_set__update_dynamic_behavior_set__Request: {
6560
6560
  /** @description The name of the dynamic behavior set. */
@@ -7025,7 +7025,7 @@ export interface components {
7025
7025
  global_boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
7026
7026
  };
7027
7027
  /** ExitCondition */
7028
- organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition: {
7028
+ organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition: {
7029
7029
  description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
7030
7030
  /** Next State */
7031
7031
  next_state: components["schemas"]["StateOrRefName"] | [
@@ -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. */
@@ -7977,7 +7977,7 @@ export interface components {
7977
7977
  * Simulation Scenarios
7978
7978
  * @description The list of simulation scenarios.
7979
7979
  */
7980
- simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
7980
+ simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
7981
7981
  /**
7982
7982
  * Has More
7983
7983
  * @description Whether there are more simulation scenarios to fetch.
@@ -8007,6 +8007,47 @@ export interface components {
8007
8007
  */
8008
8008
  tags: string[];
8009
8009
  };
8010
+ /** SimulationScenarioInstance */
8011
+ simulation__get_simulation_scenarios__Response__SimulationScenarioInstance: {
8012
+ /**
8013
+ * Id
8014
+ * @description The ID of the simulation scenario.
8015
+ */
8016
+ id: string;
8017
+ /**
8018
+ * Name
8019
+ * @description The name of the simulation scenario.
8020
+ */
8021
+ name: string;
8022
+ /**
8023
+ * Tags
8024
+ * @description The tags of the simulation scenario.
8025
+ */
8026
+ tags: {
8027
+ [key: string]: string | null;
8028
+ };
8029
+ /**
8030
+ * Is Deleted
8031
+ * @description Whether the simulation scenario is deleted.
8032
+ */
8033
+ is_deleted: boolean;
8034
+ /**
8035
+ * Created At
8036
+ * Format: date-time
8037
+ * @description The timestamp when the simulation scenario was created.
8038
+ */
8039
+ created_at: string;
8040
+ /** @description The user who created the simulation scenario. */
8041
+ creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8042
+ /**
8043
+ * Updated At
8044
+ * Format: date-time
8045
+ * @description The timestamp when the simulation scenario was last updated.
8046
+ */
8047
+ updated_at: string;
8048
+ /** @description The user who last updated the simulation scenario. */
8049
+ updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8050
+ };
8010
8051
  /** Response */
8011
8052
  simulation__get_simulation_unit_test_set_run_artifacts__Response: {
8012
8053
  /**
@@ -8173,48 +8214,7 @@ export interface components {
8173
8214
  * Simulation Scenarios
8174
8215
  * @description The list of simulation scenarios.
8175
8216
  */
8176
- simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
8177
- };
8178
- /** SimulationScenarioInstance */
8179
- simulation__search_simulation_scenarios__Response__SimulationScenarioInstance: {
8180
- /**
8181
- * Id
8182
- * @description The ID of the simulation scenario.
8183
- */
8184
- id: string;
8185
- /**
8186
- * Name
8187
- * @description The name of the simulation scenario.
8188
- */
8189
- name: string;
8190
- /**
8191
- * Tags
8192
- * @description The tags of the simulation scenario.
8193
- */
8194
- tags: {
8195
- [key: string]: string | null;
8196
- };
8197
- /**
8198
- * Is Deleted
8199
- * @description Whether the simulation scenario is deleted.
8200
- */
8201
- is_deleted: boolean;
8202
- /**
8203
- * Created At
8204
- * Format: date-time
8205
- * @description The timestamp when the simulation scenario was created.
8206
- */
8207
- created_at: string;
8208
- /** @description The user who created the simulation scenario. */
8209
- creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8210
- /**
8211
- * Updated At
8212
- * Format: date-time
8213
- * @description The timestamp when the simulation scenario was last updated.
8214
- */
8215
- updated_at: string;
8216
- /** @description The user who last updated the simulation scenario. */
8217
- updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8217
+ simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
8218
8218
  };
8219
8219
  /** Response */
8220
8220
  simulation__search_simulation_unit_test_set__Response: {
@@ -8357,7 +8357,7 @@ export interface components {
8357
8357
  * Tool Invocations
8358
8358
  * @description The list of tool invocations.
8359
8359
  */
8360
- tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
8360
+ tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
8361
8361
  /**
8362
8362
  * Has More
8363
8363
  * @description Whether there are more tool invocations to retrieve.
@@ -8369,6 +8369,47 @@ export interface components {
8369
8369
  */
8370
8370
  continuation_token: unknown | null;
8371
8371
  };
8372
+ /** ToolInvocationInstance */
8373
+ tool__get_tool_invocations__Response__ToolInvocationInstance: {
8374
+ /**
8375
+ * Id
8376
+ * @description The ID of the tool invocation.
8377
+ */
8378
+ id: string;
8379
+ /**
8380
+ * Org Id
8381
+ * @description The ID of the organization.
8382
+ */
8383
+ org_id: string;
8384
+ /**
8385
+ * Created At
8386
+ * Format: date-time
8387
+ */
8388
+ created_at?: string;
8389
+ /**
8390
+ * Updated At
8391
+ * Format: date-time
8392
+ */
8393
+ updated_at?: string;
8394
+ /** @description The status of the tool invocation. */
8395
+ invocation_status: components["schemas"]["InvocationStatus"];
8396
+ /** @description The source of the tool invocation. */
8397
+ invocation_source: components["schemas"]["InvocationSource"];
8398
+ /** Logs */
8399
+ logs: string[];
8400
+ /**
8401
+ * Duration Ms
8402
+ * @description The duration of the tool invocation in milliseconds.
8403
+ */
8404
+ duration_ms: number;
8405
+ /**
8406
+ * Tool Id
8407
+ * @description The ID of the tool that was invoked.
8408
+ */
8409
+ tool_id: string;
8410
+ /** @description The version of the tool that was invoked. */
8411
+ tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
8412
+ };
8372
8413
  /** Response */
8373
8414
  tool__get_tool_versions__Response: {
8374
8415
  /**
@@ -8525,48 +8566,7 @@ export interface components {
8525
8566
  * Tool Invocations
8526
8567
  * @description The list of tool invocations.
8527
8568
  */
8528
- tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
8529
- };
8530
- /** ToolInvocationInstance */
8531
- tool__search_tool_invocations__Response__ToolInvocationInstance: {
8532
- /**
8533
- * Id
8534
- * @description The ID of the tool invocation.
8535
- */
8536
- id: string;
8537
- /**
8538
- * Org Id
8539
- * @description The ID of the organization.
8540
- */
8541
- org_id: string;
8542
- /**
8543
- * Created At
8544
- * Format: date-time
8545
- */
8546
- created_at?: string;
8547
- /**
8548
- * Updated At
8549
- * Format: date-time
8550
- */
8551
- updated_at?: string;
8552
- /** @description The status of the tool invocation. */
8553
- invocation_status: components["schemas"]["InvocationStatus"];
8554
- /** @description The source of the tool invocation. */
8555
- invocation_source: components["schemas"]["InvocationSource"];
8556
- /** Logs */
8557
- logs: string[];
8558
- /**
8559
- * Duration Ms
8560
- * @description The duration of the tool invocation in milliseconds.
8561
- */
8562
- duration_ms: number;
8563
- /**
8564
- * Tool Id
8565
- * @description The ID of the tool that was invoked.
8566
- */
8567
- tool_id: string;
8568
- /** @description The version of the tool that was invoked. */
8569
- tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
8569
+ tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
8570
8570
  };
8571
8571
  /** Request */
8572
8572
  tool__test_tool__Request: {
@@ -8712,7 +8712,7 @@ export interface components {
8712
8712
  * Users
8713
8713
  * @description Users in this organization.
8714
8714
  */
8715
- users: components["schemas"]["user__search_users__Response__UserInstance"][];
8715
+ users: components["schemas"]["user__get_users__Response__UserInstance"][];
8716
8716
  /**
8717
8717
  * Has More
8718
8718
  * @description Whether there are more users to retrieve.
@@ -8724,16 +8724,8 @@ export interface components {
8724
8724
  */
8725
8725
  continuation_token: number | null;
8726
8726
  };
8727
- /** Response */
8728
- user__search_users__Response: {
8729
- /**
8730
- * Users
8731
- * @description Users in this organization.
8732
- */
8733
- users: components["schemas"]["user__search_users__Response__UserInstance"][];
8734
- };
8735
8727
  /** UserInstance */
8736
- user__search_users__Response__UserInstance: {
8728
+ user__get_users__Response__UserInstance: {
8737
8729
  /**
8738
8730
  * Org Id
8739
8731
  * @description The ID of the organization that this user belongs to.
@@ -8760,7 +8752,7 @@ export interface components {
8760
8752
  */
8761
8753
  email: string;
8762
8754
  /** @description Statistics about the user's usage of the Amigo platform. */
8763
- user_stats: components["schemas"]["user__search_users__Response__UserInstance__UserStats"];
8755
+ user_stats: components["schemas"]["user__get_users__Response__UserInstance__UserStats"];
8764
8756
  /**
8765
8757
  * Role
8766
8758
  * @description The ID of the role of the user.
@@ -8770,7 +8762,7 @@ export interface components {
8770
8762
  preferences: components["schemas"]["amigo_lib__mongo__collections__user__User__Preferences"];
8771
8763
  };
8772
8764
  /** UserStats */
8773
- user__search_users__Response__UserInstance__UserStats: {
8765
+ user__get_users__Response__UserInstance__UserStats: {
8774
8766
  /**
8775
8767
  * Num Conversations
8776
8768
  * @description The number of conversations the user has created.
@@ -8787,6 +8779,14 @@ export interface components {
8787
8779
  */
8788
8780
  last_message_time: string | null;
8789
8781
  };
8782
+ /** Response */
8783
+ user__search_users__Response: {
8784
+ /**
8785
+ * Users
8786
+ * @description Users in this organization.
8787
+ */
8788
+ users: components["schemas"]["user__get_users__Response__UserInstance"][];
8789
+ };
8790
8790
  /** SigninWithAPIKeyResponse */
8791
8791
  user__sign_in_with_api_key__Response: {
8792
8792
  /**
@@ -5,7 +5,7 @@ export declare class UserResource {
5
5
  private orgId;
6
6
  constructor(c: AmigoFetch, orgId: string);
7
7
  getUsers(queryParams?: operations['get-users']['parameters']['query'], headers?: operations['get-users']['parameters']['header']): Promise<{
8
- users: components["schemas"]["user__search_users__Response__UserInstance"][];
8
+ users: components["schemas"]["user__get_users__Response__UserInstance"][];
9
9
  has_more: boolean;
10
10
  continuation_token: number | null;
11
11
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amigo-ai/sdk",
3
- "version": "0.84.0",
3
+ "version": "0.85.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"