@amigo-ai/sdk 0.78.0 → 0.79.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"];
@@ -3474,7 +3474,7 @@ export interface components {
3474
3474
  * Tags
3475
3475
  * @description The tags of the metric.
3476
3476
  */
3477
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
3477
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
3478
3478
  /** @description The user who created the metric. */
3479
3479
  creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
3480
3480
  /** @description The user who last updated the metric. */
@@ -3579,7 +3579,7 @@ export interface components {
3579
3579
  * Tags
3580
3580
  * @description The tags of the metric.
3581
3581
  */
3582
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
3582
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
3583
3583
  /** @description The user who created the metric. */
3584
3584
  creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
3585
3585
  /** @description The user who last updated the metric. */
@@ -4431,7 +4431,7 @@ export interface components {
4431
4431
  * Tags
4432
4432
  * @description The tags of the service.
4433
4433
  */
4434
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4434
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
4435
4435
  };
4436
4436
  /** SimulationConversationInvocationSource */
4437
4437
  SimulationConversationInvocationSource: {
@@ -4641,7 +4641,7 @@ export interface components {
4641
4641
  * Tags
4642
4642
  * @description The tags of the simulation persona.
4643
4643
  */
4644
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4644
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
4645
4645
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4646
4646
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4647
4647
  };
@@ -4713,7 +4713,7 @@ export interface components {
4713
4713
  * Tags
4714
4714
  * @description The tags of the simulation persona.
4715
4715
  */
4716
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4716
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
4717
4717
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4718
4718
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4719
4719
  };
@@ -4768,7 +4768,7 @@ export interface components {
4768
4768
  * Tags
4769
4769
  * @description The tags of the simulation unit test set.
4770
4770
  */
4771
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4771
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
4772
4772
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4773
4773
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4774
4774
  };
@@ -4820,7 +4820,7 @@ export interface components {
4820
4820
  * Tags
4821
4821
  * @description The tags of the simulation unit test set.
4822
4822
  */
4823
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
4823
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
4824
4824
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4825
4825
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4826
4826
  };
@@ -5282,7 +5282,7 @@ export interface components {
5282
5282
  * Tags
5283
5283
  * @description The tags of the simulation persona.
5284
5284
  */
5285
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag"][];
5285
+ tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
5286
5286
  };
5287
5287
  /** ToolVersionInstance */
5288
5288
  ToolVersionInstance: {
@@ -5784,6 +5784,13 @@ export interface components {
5784
5784
  */
5785
5785
  tool_name: string;
5786
5786
  };
5787
+ /** Tag */
5788
+ amigo_lib__mongo__collections__metric__Metric__Tag: {
5789
+ /** Key */
5790
+ key: string;
5791
+ /** Value */
5792
+ value: string | null;
5793
+ };
5787
5794
  /** UserInfo */
5788
5795
  amigo_lib__mongo__collections__metric__Metric__UserInfo: {
5789
5796
  /** Org Id */
@@ -5907,13 +5914,6 @@ export interface components {
5907
5914
  metric_id: string;
5908
5915
  criterion: components["schemas"]["SuccessCriterionDescription-Output"];
5909
5916
  };
5910
- /** Tag */
5911
- amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag: {
5912
- /** Key */
5913
- key: string;
5914
- /** Value */
5915
- value: string | null;
5916
- };
5917
5917
  /** UserInfo */
5918
5918
  amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo: {
5919
5919
  /** Org Id */
@@ -6306,7 +6306,7 @@ export interface components {
6306
6306
  * Actions
6307
6307
  * @description The action to perform when the dynamic behavior set version is activated.
6308
6308
  */
6309
- actions: (components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set_version__Request__InjectInstructionAction"] | components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__ChangeToolCandidatesAction"])[];
6309
+ actions: (components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction"] | components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__ChangeToolCandidatesAction"])[];
6310
6310
  };
6311
6311
  /** ChangeToolCandidatesAction */
6312
6312
  dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__ChangeToolCandidatesAction: {
@@ -6357,6 +6357,20 @@ export interface components {
6357
6357
  * the context of the dynamic behavior. */
6358
6358
  tool_name: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6359
6359
  };
6360
+ /** InjectInstructionAction */
6361
+ dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction: {
6362
+ /**
6363
+ * @description discriminator enum property added by openapi-typescript
6364
+ * @enum {string}
6365
+ */
6366
+ type: "dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction";
6367
+ instruction: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6368
+ /**
6369
+ * Overrides Instructions
6370
+ * @description During injection, whether the original instruction of the state is overriden with this instruction.
6371
+ */
6372
+ overrides_instructions: boolean;
6373
+ };
6360
6374
  /** Response */
6361
6375
  dynamic_behavior_set__create_dynamic_behavior_set__Response: {
6362
6376
  /**
@@ -6376,7 +6390,7 @@ export interface components {
6376
6390
  * Actions
6377
6391
  * @description The action to perform when the dynamic behavior set version is activated.
6378
6392
  */
6379
- actions: (components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set_version__Request__InjectInstructionAction"] | components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set_version__Request__ChangeToolCandidatesAction"])[];
6393
+ actions: (components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction"] | components["schemas"]["dynamic_behavior_set__create_dynamic_behavior_set_version__Request__ChangeToolCandidatesAction"])[];
6380
6394
  };
6381
6395
  /** ChangeToolCandidatesAction */
6382
6396
  dynamic_behavior_set__create_dynamic_behavior_set_version__Request__ChangeToolCandidatesAction: {
@@ -6427,20 +6441,6 @@ export interface components {
6427
6441
  * the context of the dynamic behavior. */
6428
6442
  tool_name: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6429
6443
  };
6430
- /** InjectInstructionAction */
6431
- dynamic_behavior_set__create_dynamic_behavior_set_version__Request__InjectInstructionAction: {
6432
- /**
6433
- * @description discriminator enum property added by openapi-typescript
6434
- * @enum {string}
6435
- */
6436
- type: "dynamic_behavior_set__create_dynamic_behavior_set_version__Request__InjectInstructionAction";
6437
- instruction: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6438
- /**
6439
- * Overrides Instructions
6440
- * @description During injection, whether the original instruction of the state is overriden with this instruction.
6441
- */
6442
- overrides_instructions: boolean;
6443
- };
6444
6444
  /** Response */
6445
6445
  dynamic_behavior_set__create_dynamic_behavior_set_version__Response: {
6446
6446
  /**
@@ -6885,7 +6885,7 @@ export interface components {
6885
6885
  * User Dimensions
6886
6886
  * @description User dimensions for the organization.
6887
6887
  */
6888
- user_dimensions: components["schemas"]["organization__create_organization__Request__UserDimension"][];
6888
+ user_dimensions: components["schemas"]["organization__modify_organization__Request__UserDimension"][];
6889
6889
  /**
6890
6890
  * Logo
6891
6891
  * Format: base64
@@ -6962,12 +6962,6 @@ export interface components {
6962
6962
  */
6963
6963
  audio_keyterms?: string[];
6964
6964
  };
6965
- /** UserDimension */
6966
- organization__create_organization__Request__UserDimension: {
6967
- description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
6968
- /** Tags */
6969
- tags: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
6970
- };
6971
6965
  /** Response */
6972
6966
  organization__create_organization__Response: {
6973
6967
  /**
@@ -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"] | [
@@ -7334,7 +7328,7 @@ export interface components {
7334
7328
  * User Dimensions
7335
7329
  * @description User dimensions for the organization. If not set or `null`, this field is not updated.
7336
7330
  */
7337
- user_dimensions?: components["schemas"]["organization__create_organization__Request__UserDimension"][] | null;
7331
+ user_dimensions?: components["schemas"]["organization__modify_organization__Request__UserDimension"][] | null;
7338
7332
  /** @description The default user preferences for the organization. If `null`, this field is not updated. */
7339
7333
  default_user_preferences?: components["schemas"]["organization__modify_organization__Request__Preferences"] | null;
7340
7334
  /**
@@ -7374,6 +7368,12 @@ export interface components {
7374
7368
  */
7375
7369
  audio_keyterms?: string[];
7376
7370
  };
7371
+ /** UserDimension */
7372
+ organization__modify_organization__Request__UserDimension: {
7373
+ description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
7374
+ /** Tags */
7375
+ tags: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
7376
+ };
7377
7377
  /** Request */
7378
7378
  role__assign_role__Request: {
7379
7379
  /**
@@ -7400,29 +7400,10 @@ export interface components {
7400
7400
  * Permission Grants
7401
7401
  * @description A list of permission grants associated with this role.
7402
7402
  */
7403
- permission_grants: components["schemas"]["role__create_role__Request__PermissionGrant"][];
7403
+ permission_grants: components["schemas"]["role__modify_role__Request__PermissionGrant"][];
7404
7404
  /** @description The frontend view for users of this role. */
7405
7405
  frontend_view: components["schemas"]["FrontendView"];
7406
7406
  };
7407
- /** PermissionGrant */
7408
- role__create_role__Request__PermissionGrant: {
7409
- /**
7410
- * Action
7411
- * @description Whether this grant allows or denies the specified access.
7412
- * @enum {string}
7413
- */
7414
- action: "Allow" | "Deny";
7415
- /** Permission Name */
7416
- permission_name: string;
7417
- /**
7418
- * Conditions
7419
- * @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
7420
- */
7421
- conditions: {
7422
- [key: string]: components["schemas"]["Condition"];
7423
- };
7424
- description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
7425
- };
7426
7407
  /** Response */
7427
7408
  role__create_role__Response: {
7428
7409
  /**
@@ -7447,10 +7428,29 @@ export interface components {
7447
7428
  * Permission Grants
7448
7429
  * @description A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.
7449
7430
  */
7450
- permission_grants?: components["schemas"]["role__create_role__Request__PermissionGrant"][] | null;
7431
+ permission_grants?: components["schemas"]["role__modify_role__Request__PermissionGrant"][] | null;
7451
7432
  /** @description The frontend view for the user of this role. Only updated if specified. This field is an immutable field. */
7452
7433
  frontend_view?: components["schemas"]["FrontendView"] | null;
7453
7434
  };
7435
+ /** PermissionGrant */
7436
+ role__modify_role__Request__PermissionGrant: {
7437
+ /**
7438
+ * Action
7439
+ * @description Whether this grant allows or denies the specified access.
7440
+ * @enum {string}
7441
+ */
7442
+ action: "Allow" | "Deny";
7443
+ /** Permission Name */
7444
+ permission_name: string;
7445
+ /**
7446
+ * Conditions
7447
+ * @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
7448
+ */
7449
+ conditions: {
7450
+ [key: string]: components["schemas"]["Condition"];
7451
+ };
7452
+ description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
7453
+ };
7454
7454
  /** Response */
7455
7455
  role__modify_role__Response: {
7456
7456
  /**
@@ -7482,7 +7482,7 @@ export interface components {
7482
7482
  is_active: boolean;
7483
7483
  /** @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
7484
  * latest agent and state machine versions with no model preference. */
7485
- release_version_set?: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"] | null;
7485
+ release_version_set?: components["schemas"]["service__create_service__Request__VersionSet"] | null;
7486
7486
  /**
7487
7487
  * Keyterms
7488
7488
  * @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,16 +7497,21 @@ export interface components {
7497
7497
  [key: string]: components["schemas"]["StrippedNonemptyString___w__s_____"] | null;
7498
7498
  };
7499
7499
  };
7500
- /** LLMConfig */
7501
- service__create_service__Request__VersionSet__LLMConfig: {
7502
- llm_name: components["schemas"]["LLMType"];
7500
+ /** VersionSet */
7501
+ service__create_service__Request__VersionSet: {
7503
7502
  /**
7504
- * Params
7505
- * @description LLM-specific parameters to use.
7506
- * @default {}
7503
+ * Agent Version Number
7504
+ * @description The version number of the agent to be used. If None, the latest agent version will be used.
7507
7505
  */
7508
- params?: {
7509
- [key: string]: unknown;
7506
+ agent_version_number: number | null;
7507
+ /**
7508
+ * Service Hierarchical State Machine Version Number
7509
+ * @description The version number of the state machine to be used. If None, the latest state machine version will be used.
7510
+ */
7511
+ service_hierarchical_state_machine_version_number: number | null;
7512
+ /** Llm Model Preferences */
7513
+ llm_model_preferences: {
7514
+ [key: string]: components["schemas"]["service__upsert_service_version_set__Request__VersionSet__LLMConfig"];
7510
7515
  };
7511
7516
  };
7512
7517
  /** Response */
@@ -7589,23 +7594,18 @@ export interface components {
7589
7594
  /** Request */
7590
7595
  service__upsert_service_version_set__Request: {
7591
7596
  /** @description The version set to upsert. */
7592
- version_set: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"];
7597
+ version_set: components["schemas"]["service__create_service__Request__VersionSet"];
7593
7598
  };
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;
7599
+ /** LLMConfig */
7600
+ service__upsert_service_version_set__Request__VersionSet__LLMConfig: {
7601
+ llm_name: components["schemas"]["LLMType"];
7601
7602
  /**
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.
7603
+ * Params
7604
+ * @description LLM-specific parameters to use.
7605
+ * @default {}
7604
7606
  */
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"];
7607
+ params?: {
7608
+ [key: string]: unknown;
7609
7609
  };
7610
7610
  };
7611
7611
  /** Request */
@@ -7973,7 +7973,7 @@ export interface components {
7973
7973
  * Simulation Scenarios
7974
7974
  * @description The list of simulation scenarios.
7975
7975
  */
7976
- simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
7976
+ simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
7977
7977
  /**
7978
7978
  * Has More
7979
7979
  * @description Whether there are more simulation scenarios to fetch.
@@ -8003,47 +8003,6 @@ export interface components {
8003
8003
  */
8004
8004
  tags: string[];
8005
8005
  };
8006
- /** SimulationScenarioInstance */
8007
- simulation__get_simulation_scenarios__Response__SimulationScenarioInstance: {
8008
- /**
8009
- * Id
8010
- * @description The ID of the simulation scenario.
8011
- */
8012
- id: string;
8013
- /**
8014
- * Name
8015
- * @description The name of the simulation scenario.
8016
- */
8017
- name: string;
8018
- /**
8019
- * Tags
8020
- * @description The tags of the simulation scenario.
8021
- */
8022
- tags: {
8023
- [key: string]: string | null;
8024
- };
8025
- /**
8026
- * Is Deleted
8027
- * @description Whether the simulation scenario is deleted.
8028
- */
8029
- is_deleted: boolean;
8030
- /**
8031
- * Created At
8032
- * Format: date-time
8033
- * @description The timestamp when the simulation scenario was created.
8034
- */
8035
- created_at: string;
8036
- /** @description The user who created the simulation scenario. */
8037
- creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8038
- /**
8039
- * Updated At
8040
- * Format: date-time
8041
- * @description The timestamp when the simulation scenario was last updated.
8042
- */
8043
- updated_at: string;
8044
- /** @description The user who last updated the simulation scenario. */
8045
- updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8046
- };
8047
8006
  /** Response */
8048
8007
  simulation__get_simulation_unit_test_set_run_artifacts__Response: {
8049
8008
  /**
@@ -8210,7 +8169,48 @@ export interface components {
8210
8169
  * Simulation Scenarios
8211
8170
  * @description The list of simulation scenarios.
8212
8171
  */
8213
- simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
8172
+ simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
8173
+ };
8174
+ /** SimulationScenarioInstance */
8175
+ simulation__search_simulation_scenarios__Response__SimulationScenarioInstance: {
8176
+ /**
8177
+ * Id
8178
+ * @description The ID of the simulation scenario.
8179
+ */
8180
+ id: string;
8181
+ /**
8182
+ * Name
8183
+ * @description The name of the simulation scenario.
8184
+ */
8185
+ name: string;
8186
+ /**
8187
+ * Tags
8188
+ * @description The tags of the simulation scenario.
8189
+ */
8190
+ tags: {
8191
+ [key: string]: string | null;
8192
+ };
8193
+ /**
8194
+ * Is Deleted
8195
+ * @description Whether the simulation scenario is deleted.
8196
+ */
8197
+ is_deleted: boolean;
8198
+ /**
8199
+ * Created At
8200
+ * Format: date-time
8201
+ * @description The timestamp when the simulation scenario was created.
8202
+ */
8203
+ created_at: string;
8204
+ /** @description The user who created the simulation scenario. */
8205
+ creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8206
+ /**
8207
+ * Updated At
8208
+ * Format: date-time
8209
+ * @description The timestamp when the simulation scenario was last updated.
8210
+ */
8211
+ updated_at: string;
8212
+ /** @description The user who last updated the simulation scenario. */
8213
+ updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
8214
8214
  };
8215
8215
  /** Response */
8216
8216
  simulation__search_simulation_unit_test_set__Response: {
@@ -8363,7 +8363,7 @@ export interface components {
8363
8363
  * Tool Invocations
8364
8364
  * @description The list of tool invocations.
8365
8365
  */
8366
- tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
8366
+ tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
8367
8367
  /**
8368
8368
  * Has More
8369
8369
  * @description Whether there are more tool invocations to retrieve.
@@ -8375,6 +8375,47 @@ export interface components {
8375
8375
  */
8376
8376
  continuation_token: unknown | null;
8377
8377
  };
8378
+ /** ToolInvocationInstance */
8379
+ tool__get_tool_invocations__Response__ToolInvocationInstance: {
8380
+ /**
8381
+ * Id
8382
+ * @description The ID of the tool invocation.
8383
+ */
8384
+ id: string;
8385
+ /**
8386
+ * Org Id
8387
+ * @description The ID of the organization.
8388
+ */
8389
+ org_id: string;
8390
+ /**
8391
+ * Created At
8392
+ * Format: date-time
8393
+ */
8394
+ created_at?: string;
8395
+ /**
8396
+ * Updated At
8397
+ * Format: date-time
8398
+ */
8399
+ updated_at?: string;
8400
+ /** @description The status of the tool invocation. */
8401
+ invocation_status: components["schemas"]["InvocationStatus"];
8402
+ /** @description The source of the tool invocation. */
8403
+ invocation_source: components["schemas"]["InvocationSource"];
8404
+ /** Logs */
8405
+ logs: string[];
8406
+ /**
8407
+ * Duration Ms
8408
+ * @description The duration of the tool invocation in milliseconds.
8409
+ */
8410
+ duration_ms: number;
8411
+ /**
8412
+ * Tool Id
8413
+ * @description The ID of the tool that was invoked.
8414
+ */
8415
+ tool_id: string;
8416
+ /** @description The version of the tool that was invoked. */
8417
+ tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
8418
+ };
8378
8419
  /** Response */
8379
8420
  tool__get_tool_versions__Response: {
8380
8421
  /**
@@ -8531,48 +8572,7 @@ export interface components {
8531
8572
  * Tool Invocations
8532
8573
  * @description The list of tool invocations.
8533
8574
  */
8534
- tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
8535
- };
8536
- /** ToolInvocationInstance */
8537
- tool__search_tool_invocations__Response__ToolInvocationInstance: {
8538
- /**
8539
- * Id
8540
- * @description The ID of the tool invocation.
8541
- */
8542
- id: string;
8543
- /**
8544
- * Org Id
8545
- * @description The ID of the organization.
8546
- */
8547
- org_id: string;
8548
- /**
8549
- * Created At
8550
- * Format: date-time
8551
- */
8552
- created_at?: string;
8553
- /**
8554
- * Updated At
8555
- * Format: date-time
8556
- */
8557
- updated_at?: string;
8558
- /** @description The status of the tool invocation. */
8559
- invocation_status: components["schemas"]["InvocationStatus"];
8560
- /** @description The source of the tool invocation. */
8561
- invocation_source: components["schemas"]["InvocationSource"];
8562
- /** Logs */
8563
- logs: string[];
8564
- /**
8565
- * Duration Ms
8566
- * @description The duration of the tool invocation in milliseconds.
8567
- */
8568
- duration_ms: number;
8569
- /**
8570
- * Tool Id
8571
- * @description The ID of the tool that was invoked.
8572
- */
8573
- tool_id: string;
8574
- /** @description The version of the tool that was invoked. */
8575
- tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
8575
+ tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
8576
8576
  };
8577
8577
  /** Request */
8578
8578
  tool__test_tool__Request: {
@@ -8718,7 +8718,7 @@ export interface components {
8718
8718
  * Users
8719
8719
  * @description Users in this organization.
8720
8720
  */
8721
- users: components["schemas"]["user__get_users__Response__UserInstance"][];
8721
+ users: components["schemas"]["user__search_users__Response__UserInstance"][];
8722
8722
  /**
8723
8723
  * Has More
8724
8724
  * @description Whether there are more users to retrieve.
@@ -8730,8 +8730,34 @@ export interface components {
8730
8730
  */
8731
8731
  continuation_token: number | null;
8732
8732
  };
8733
+ /** UserStats */
8734
+ user__get_users__Response__UserInstance__UserStats: {
8735
+ /**
8736
+ * Num Conversations
8737
+ * @description The number of conversations the user has created.
8738
+ */
8739
+ num_conversations: number;
8740
+ /**
8741
+ * Num Messages
8742
+ * @description The number of messages the user has sent and received.
8743
+ */
8744
+ num_messages: number;
8745
+ /**
8746
+ * Last Message Time
8747
+ * @description The time of the last message the user sent or received. If `None`, the user hasn't started any conversations.
8748
+ */
8749
+ last_message_time: string | null;
8750
+ };
8751
+ /** Response */
8752
+ user__search_users__Response: {
8753
+ /**
8754
+ * Users
8755
+ * @description Users in this organization.
8756
+ */
8757
+ users: components["schemas"]["user__search_users__Response__UserInstance"][];
8758
+ };
8733
8759
  /** UserInstance */
8734
- user__get_users__Response__UserInstance: {
8760
+ user__search_users__Response__UserInstance: {
8735
8761
  /**
8736
8762
  * Org Id
8737
8763
  * @description The ID of the organization that this user belongs to.
@@ -8758,7 +8784,7 @@ export interface components {
8758
8784
  */
8759
8785
  email: string;
8760
8786
  /** @description Statistics about the user's usage of the Amigo platform. */
8761
- user_stats: components["schemas"]["user__search_users__Response__UserInstance__UserStats"];
8787
+ user_stats: components["schemas"]["user__get_users__Response__UserInstance__UserStats"];
8762
8788
  /**
8763
8789
  * Role
8764
8790
  * @description The ID of the role of the user.
@@ -8767,32 +8793,6 @@ export interface components {
8767
8793
  /** @description The preferences of the user. */
8768
8794
  preferences: components["schemas"]["amigo_lib__mongo__collections__user__User__Preferences"];
8769
8795
  };
8770
- /** Response */
8771
- user__search_users__Response: {
8772
- /**
8773
- * Users
8774
- * @description Users in this organization.
8775
- */
8776
- users: components["schemas"]["user__get_users__Response__UserInstance"][];
8777
- };
8778
- /** UserStats */
8779
- user__search_users__Response__UserInstance__UserStats: {
8780
- /**
8781
- * Num Conversations
8782
- * @description The number of conversations the user has created.
8783
- */
8784
- num_conversations: number;
8785
- /**
8786
- * Num Messages
8787
- * @description The number of messages the user has sent and received.
8788
- */
8789
- num_messages: number;
8790
- /**
8791
- * Last Message Time
8792
- * @description The time of the last message the user sent or received. If `None`, the user hasn't started any conversations.
8793
- */
8794
- last_message_time: string | null;
8795
- };
8796
8796
  /** SigninWithAPIKeyResponse */
8797
8797
  user__sign_in_with_api_key__Response: {
8798
8798
  /**
@@ -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__get_users__Response__UserInstance"][];
8
+ users: components["schemas"]["user__search_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.78.0",
3
+ "version": "0.79.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"