@amigo-ai/sdk 0.72.0 → 0.74.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 */
@@ -2688,6 +2688,13 @@ export interface components {
2688
2688
  * @description The number of messages in this conversation.
2689
2689
  */
2690
2690
  num_messages: number;
2691
+ /**
2692
+ * Tags
2693
+ * @description The tags associated with this conversation.
2694
+ */
2695
+ tags: {
2696
+ [key: string]: string | null;
2697
+ };
2691
2698
  };
2692
2699
  /**
2693
2700
  * CurrentAgentActionEvent
@@ -2712,7 +2719,7 @@ export interface components {
2712
2719
  type: "decision";
2713
2720
  name: components["schemas"]["StateOrRefName"];
2714
2721
  /** Exit Conditions */
2715
- 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"][];
2716
2723
  /** Decision Guidelines */
2717
2724
  decision_guidelines: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
2718
2725
  objective: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
@@ -3456,7 +3463,7 @@ export interface components {
3456
3463
  * Tags
3457
3464
  * @description The tags of the metric.
3458
3465
  */
3459
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
3466
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
3460
3467
  /** @description The user who created the metric. */
3461
3468
  creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
3462
3469
  /** @description The user who last updated the metric. */
@@ -3561,7 +3568,7 @@ export interface components {
3561
3568
  * Tags
3562
3569
  * @description The tags of the metric.
3563
3570
  */
3564
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
3571
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
3565
3572
  /** @description The user who created the metric. */
3566
3573
  creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
3567
3574
  /** @description The user who last updated the metric. */
@@ -3655,9 +3662,20 @@ export interface components {
3655
3662
  type?: "navigate-state-machine-dynamic-behavior-override";
3656
3663
  /**
3657
3664
  * Overriding
3665
+ * @deprecated
3658
3666
  * @description Whether the dynamic behavior set's instructions are overriding the existing instructions of the current state.
3659
3667
  */
3660
3668
  overriding: boolean;
3669
+ /**
3670
+ * Overriding Instructions
3671
+ * @description Whether the dynamic behavior set is overriding instructions during this interaction.
3672
+ */
3673
+ overriding_instructions: boolean;
3674
+ /**
3675
+ * Overriding Tool Candidates
3676
+ * @description Whether the dynamic behavior set is overriding the tool candidates during this interaction.
3677
+ */
3678
+ overriding_tool_candidates: boolean;
3661
3679
  };
3662
3680
  /**
3663
3681
  * NavigateStateMachineExitConditionSelectedEvent
@@ -4408,7 +4426,7 @@ export interface components {
4408
4426
  * Tags
4409
4427
  * @description The tags of the service.
4410
4428
  */
4411
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
4429
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4412
4430
  };
4413
4431
  /** SimulationConversationInvocationSource */
4414
4432
  SimulationConversationInvocationSource: {
@@ -4618,7 +4636,7 @@ export interface components {
4618
4636
  * Tags
4619
4637
  * @description The tags of the simulation persona.
4620
4638
  */
4621
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
4639
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4622
4640
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4623
4641
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4624
4642
  };
@@ -4690,7 +4708,7 @@ export interface components {
4690
4708
  * Tags
4691
4709
  * @description The tags of the simulation persona.
4692
4710
  */
4693
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
4711
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4694
4712
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4695
4713
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
4696
4714
  };
@@ -4745,7 +4763,7 @@ export interface components {
4745
4763
  * Tags
4746
4764
  * @description The tags of the simulation unit test set.
4747
4765
  */
4748
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
4766
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4749
4767
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4750
4768
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4751
4769
  };
@@ -4797,7 +4815,7 @@ export interface components {
4797
4815
  * Tags
4798
4816
  * @description The tags of the simulation unit test set.
4799
4817
  */
4800
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
4818
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
4801
4819
  creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4802
4820
  updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
4803
4821
  };
@@ -5259,7 +5277,7 @@ export interface components {
5259
5277
  * Tags
5260
5278
  * @description The tags of the simulation persona.
5261
5279
  */
5262
- tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
5280
+ tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
5263
5281
  };
5264
5282
  /** ToolVersionInstance */
5265
5283
  ToolVersionInstance: {
@@ -5891,13 +5909,6 @@ export interface components {
5891
5909
  /** User Id */
5892
5910
  user_id: string;
5893
5911
  };
5894
- /** Tag */
5895
- amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag: {
5896
- /** Key */
5897
- key: string;
5898
- /** Value */
5899
- value: string | null;
5900
- };
5901
5912
  /** UnitTestRunDescriptor */
5902
5913
  amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UnitTestRunDescriptor: {
5903
5914
  /** Unit Test Id */
@@ -5933,6 +5944,13 @@ export interface components {
5933
5944
  /** User Id */
5934
5945
  user_id: string;
5935
5946
  };
5947
+ /** Tag */
5948
+ amigo_lib__mongo__collections__tool__Tool__Tag: {
5949
+ /** Key */
5950
+ key: string;
5951
+ /** Value */
5952
+ value: string | null;
5953
+ };
5936
5954
  /** UserInfo */
5937
5955
  amigo_lib__mongo__collections__tool_version__ToolVersion__UserInfo: {
5938
5956
  /**
@@ -7008,7 +7026,7 @@ export interface components {
7008
7026
  global_boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
7009
7027
  };
7010
7028
  /** ExitCondition */
7011
- organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition: {
7029
+ organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition: {
7012
7030
  description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
7013
7031
  /** Next State */
7014
7032
  next_state: components["schemas"]["StateOrRefName"] | [
@@ -7377,10 +7395,29 @@ export interface components {
7377
7395
  * Permission Grants
7378
7396
  * @description A list of permission grants associated with this role.
7379
7397
  */
7380
- permission_grants: components["schemas"]["role__modify_role__Request__PermissionGrant"][];
7398
+ permission_grants: components["schemas"]["role__create_role__Request__PermissionGrant"][];
7381
7399
  /** @description The frontend view for users of this role. */
7382
7400
  frontend_view: components["schemas"]["FrontendView"];
7383
7401
  };
7402
+ /** PermissionGrant */
7403
+ role__create_role__Request__PermissionGrant: {
7404
+ /**
7405
+ * Action
7406
+ * @description Whether this grant allows or denies the specified access.
7407
+ * @enum {string}
7408
+ */
7409
+ action: "Allow" | "Deny";
7410
+ /** Permission Name */
7411
+ permission_name: string;
7412
+ /**
7413
+ * Conditions
7414
+ * @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
7415
+ */
7416
+ conditions: {
7417
+ [key: string]: components["schemas"]["Condition"];
7418
+ };
7419
+ description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
7420
+ };
7384
7421
  /** Response */
7385
7422
  role__create_role__Response: {
7386
7423
  /**
@@ -7405,29 +7442,10 @@ export interface components {
7405
7442
  * Permission Grants
7406
7443
  * @description A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.
7407
7444
  */
7408
- permission_grants?: components["schemas"]["role__modify_role__Request__PermissionGrant"][] | null;
7445
+ permission_grants?: components["schemas"]["role__create_role__Request__PermissionGrant"][] | null;
7409
7446
  /** @description The frontend view for the user of this role. Only updated if specified. This field is an immutable field. */
7410
7447
  frontend_view?: components["schemas"]["FrontendView"] | null;
7411
7448
  };
7412
- /** PermissionGrant */
7413
- role__modify_role__Request__PermissionGrant: {
7414
- /**
7415
- * Action
7416
- * @description Whether this grant allows or denies the specified access.
7417
- * @enum {string}
7418
- */
7419
- action: "Allow" | "Deny";
7420
- /** Permission Name */
7421
- permission_name: string;
7422
- /**
7423
- * Conditions
7424
- * @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
7425
- */
7426
- conditions: {
7427
- [key: string]: components["schemas"]["Condition"];
7428
- };
7429
- description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
7430
- };
7431
7449
  /** Response */
7432
7450
  role__modify_role__Response: {
7433
7451
  /**
@@ -7459,7 +7477,7 @@ export interface components {
7459
7477
  is_active: boolean;
7460
7478
  /** @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
7461
7479
  * latest agent and state machine versions with no model preference. */
7462
- release_version_set?: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"] | null;
7480
+ release_version_set?: components["schemas"]["service__create_service__Request__VersionSet"] | null;
7463
7481
  /**
7464
7482
  * Keyterms
7465
7483
  * @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.
@@ -7474,6 +7492,35 @@ export interface components {
7474
7492
  [key: string]: components["schemas"]["StrippedNonemptyString___w__s_____"] | null;
7475
7493
  };
7476
7494
  };
7495
+ /** VersionSet */
7496
+ service__create_service__Request__VersionSet: {
7497
+ /**
7498
+ * Agent Version Number
7499
+ * @description The version number of the agent to be used. If None, the latest agent version will be used.
7500
+ */
7501
+ agent_version_number: number | null;
7502
+ /**
7503
+ * Service Hierarchical State Machine Version Number
7504
+ * @description The version number of the state machine to be used. If None, the latest state machine version will be used.
7505
+ */
7506
+ service_hierarchical_state_machine_version_number: number | null;
7507
+ /** Llm Model Preferences */
7508
+ llm_model_preferences: {
7509
+ [key: string]: components["schemas"]["service__create_service__Request__VersionSet__LLMConfig"];
7510
+ };
7511
+ };
7512
+ /** LLMConfig */
7513
+ service__create_service__Request__VersionSet__LLMConfig: {
7514
+ llm_name: components["schemas"]["LLMType"];
7515
+ /**
7516
+ * Params
7517
+ * @description LLM-specific parameters to use.
7518
+ * @default {}
7519
+ */
7520
+ params?: {
7521
+ [key: string]: unknown;
7522
+ };
7523
+ };
7477
7524
  /** Response */
7478
7525
  service__create_service__Response: {
7479
7526
  /**
@@ -7554,36 +7601,7 @@ export interface components {
7554
7601
  /** Request */
7555
7602
  service__upsert_service_version_set__Request: {
7556
7603
  /** @description The version set to upsert. */
7557
- version_set: components["schemas"]["service__upsert_service_version_set__Request__VersionSet"];
7558
- };
7559
- /** VersionSet */
7560
- service__upsert_service_version_set__Request__VersionSet: {
7561
- /**
7562
- * Agent Version Number
7563
- * @description The version number of the agent to be used. If None, the latest agent version will be used.
7564
- */
7565
- agent_version_number: number | null;
7566
- /**
7567
- * Service Hierarchical State Machine Version Number
7568
- * @description The version number of the state machine to be used. If None, the latest state machine version will be used.
7569
- */
7570
- service_hierarchical_state_machine_version_number: number | null;
7571
- /** Llm Model Preferences */
7572
- llm_model_preferences: {
7573
- [key: string]: components["schemas"]["service__upsert_service_version_set__Request__VersionSet__LLMConfig"];
7574
- };
7575
- };
7576
- /** LLMConfig */
7577
- service__upsert_service_version_set__Request__VersionSet__LLMConfig: {
7578
- llm_name: components["schemas"]["LLMType"];
7579
- /**
7580
- * Params
7581
- * @description LLM-specific parameters to use.
7582
- * @default {}
7583
- */
7584
- params?: {
7585
- [key: string]: unknown;
7586
- };
7604
+ version_set: components["schemas"]["service__create_service__Request__VersionSet"];
7587
7605
  };
7588
7606
  /** Request */
7589
7607
  simulation__create_simulation_persona__Request: {
@@ -7845,7 +7863,7 @@ export interface components {
7845
7863
  * Simulation Personas
7846
7864
  * @description The list of simulation personas.
7847
7865
  */
7848
- simulation_personas: components["schemas"]["simulation__get_simulation_personas__Response__SimulationPersonaInstance"][];
7866
+ simulation_personas: components["schemas"]["simulation__search_simulation_personas__Response__SimulationPersonaInstance"][];
7849
7867
  /**
7850
7868
  * Has More
7851
7869
  * @description Whether there are more simulation personas to fetch.
@@ -7880,52 +7898,6 @@ export interface components {
7880
7898
  */
7881
7899
  roles: string[];
7882
7900
  };
7883
- /** SimulationPersonaInstance */
7884
- simulation__get_simulation_personas__Response__SimulationPersonaInstance: {
7885
- /**
7886
- * Id
7887
- * @description The ID of the simulation persona.
7888
- */
7889
- id: string;
7890
- /**
7891
- * Name
7892
- * @description The name of the simulation persona.
7893
- */
7894
- name: string;
7895
- /**
7896
- * Role
7897
- * @description The role of the simulation persona.
7898
- */
7899
- role: string;
7900
- /**
7901
- * Tags
7902
- * @description The tags of the simulation persona.
7903
- */
7904
- tags: {
7905
- [key: string]: string | null;
7906
- };
7907
- /**
7908
- * Is Deleted
7909
- * @description Whether the simulation persona is deleted.
7910
- */
7911
- is_deleted: boolean;
7912
- /**
7913
- * Created At
7914
- * Format: date-time
7915
- * @description The timestamp when the simulation persona was created.
7916
- */
7917
- created_at: string;
7918
- /** @description The user who created the simulation persona. */
7919
- creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
7920
- /**
7921
- * Updated At
7922
- * Format: date-time
7923
- * @description The timestamp when the simulation persona was last updated.
7924
- */
7925
- updated_at: string;
7926
- /** @description The user who last updated the simulation persona. */
7927
- updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
7928
- };
7929
7901
  /** Response */
7930
7902
  simulation__get_simulation_scenario_versions__Response: {
7931
7903
  /**
@@ -8138,7 +8110,53 @@ export interface components {
8138
8110
  * Simulation Personas
8139
8111
  * @description The list of simulation personas.
8140
8112
  */
8141
- simulation_personas: components["schemas"]["simulation__get_simulation_personas__Response__SimulationPersonaInstance"][];
8113
+ simulation_personas: components["schemas"]["simulation__search_simulation_personas__Response__SimulationPersonaInstance"][];
8114
+ };
8115
+ /** SimulationPersonaInstance */
8116
+ simulation__search_simulation_personas__Response__SimulationPersonaInstance: {
8117
+ /**
8118
+ * Id
8119
+ * @description The ID of the simulation persona.
8120
+ */
8121
+ id: string;
8122
+ /**
8123
+ * Name
8124
+ * @description The name of the simulation persona.
8125
+ */
8126
+ name: string;
8127
+ /**
8128
+ * Role
8129
+ * @description The role of the simulation persona.
8130
+ */
8131
+ role: string;
8132
+ /**
8133
+ * Tags
8134
+ * @description The tags of the simulation persona.
8135
+ */
8136
+ tags: {
8137
+ [key: string]: string | null;
8138
+ };
8139
+ /**
8140
+ * Is Deleted
8141
+ * @description Whether the simulation persona is deleted.
8142
+ */
8143
+ is_deleted: boolean;
8144
+ /**
8145
+ * Created At
8146
+ * Format: date-time
8147
+ * @description The timestamp when the simulation persona was created.
8148
+ */
8149
+ created_at: string;
8150
+ /** @description The user who created the simulation persona. */
8151
+ creator: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
8152
+ /**
8153
+ * Updated At
8154
+ * Format: date-time
8155
+ * @description The timestamp when the simulation persona was last updated.
8156
+ */
8157
+ updated_at: string;
8158
+ /** @description The user who last updated the simulation persona. */
8159
+ updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_persona__SimulationPersona__UserInfo"];
8142
8160
  };
8143
8161
  /** Response */
8144
8162
  simulation__search_simulation_scenarios__Response: {
@@ -8340,7 +8358,7 @@ export interface components {
8340
8358
  * Tool Invocations
8341
8359
  * @description The list of tool invocations.
8342
8360
  */
8343
- tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
8361
+ tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
8344
8362
  /**
8345
8363
  * Has More
8346
8364
  * @description Whether there are more tool invocations to retrieve.
@@ -8352,6 +8370,47 @@ export interface components {
8352
8370
  */
8353
8371
  continuation_token: unknown | null;
8354
8372
  };
8373
+ /** ToolInvocationInstance */
8374
+ tool__get_tool_invocations__Response__ToolInvocationInstance: {
8375
+ /**
8376
+ * Id
8377
+ * @description The ID of the tool invocation.
8378
+ */
8379
+ id: string;
8380
+ /**
8381
+ * Org Id
8382
+ * @description The ID of the organization.
8383
+ */
8384
+ org_id: string;
8385
+ /**
8386
+ * Created At
8387
+ * Format: date-time
8388
+ */
8389
+ created_at?: string;
8390
+ /**
8391
+ * Updated At
8392
+ * Format: date-time
8393
+ */
8394
+ updated_at?: string;
8395
+ /** @description The status of the tool invocation. */
8396
+ invocation_status: components["schemas"]["InvocationStatus"];
8397
+ /** @description The source of the tool invocation. */
8398
+ invocation_source: components["schemas"]["InvocationSource"];
8399
+ /** Logs */
8400
+ logs: string[];
8401
+ /**
8402
+ * Duration Ms
8403
+ * @description The duration of the tool invocation in milliseconds.
8404
+ */
8405
+ duration_ms: number;
8406
+ /**
8407
+ * Tool Id
8408
+ * @description The ID of the tool that was invoked.
8409
+ */
8410
+ tool_id: string;
8411
+ /** @description The version of the tool that was invoked. */
8412
+ tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
8413
+ };
8355
8414
  /** Response */
8356
8415
  tool__get_tool_versions__Response: {
8357
8416
  /**
@@ -8420,7 +8479,23 @@ export interface components {
8420
8479
  * Inputs
8421
8480
  * @description The list of inputs for the tool invocation.
8422
8481
  */
8423
- inputs: components["schemas"]["tool__test_tool__Request__Input"][];
8482
+ inputs: components["schemas"]["tool__invoke_tool_version__Request__Input"][];
8483
+ };
8484
+ /** Input */
8485
+ tool__invoke_tool_version__Request__Input: {
8486
+ /**
8487
+ * Input Parameters
8488
+ * @description The input parameters for the tool invocation.
8489
+ */
8490
+ input_parameters: {
8491
+ [key: string]: unknown;
8492
+ };
8493
+ /**
8494
+ * Invocation Mode
8495
+ * @description The mode of invocation.
8496
+ * @enum {string}
8497
+ */
8498
+ invocation_mode: "regular" | "conversation-simulation";
8424
8499
  };
8425
8500
  /** Response */
8426
8501
  tool__invoke_tool_version__Response: {
@@ -8492,48 +8567,7 @@ export interface components {
8492
8567
  * Tool Invocations
8493
8568
  * @description The list of tool invocations.
8494
8569
  */
8495
- tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
8496
- };
8497
- /** ToolInvocationInstance */
8498
- tool__search_tool_invocations__Response__ToolInvocationInstance: {
8499
- /**
8500
- * Id
8501
- * @description The ID of the tool invocation.
8502
- */
8503
- id: string;
8504
- /**
8505
- * Org Id
8506
- * @description The ID of the organization.
8507
- */
8508
- org_id: string;
8509
- /**
8510
- * Created At
8511
- * Format: date-time
8512
- */
8513
- created_at?: string;
8514
- /**
8515
- * Updated At
8516
- * Format: date-time
8517
- */
8518
- updated_at?: string;
8519
- /** @description The status of the tool invocation. */
8520
- invocation_status: components["schemas"]["InvocationStatus"];
8521
- /** @description The source of the tool invocation. */
8522
- invocation_source: components["schemas"]["InvocationSource"];
8523
- /** Logs */
8524
- logs: string[];
8525
- /**
8526
- * Duration Ms
8527
- * @description The duration of the tool invocation in milliseconds.
8528
- */
8529
- duration_ms: number;
8530
- /**
8531
- * Tool Id
8532
- * @description The ID of the tool that was invoked.
8533
- */
8534
- tool_id: string;
8535
- /** @description The version of the tool that was invoked. */
8536
- tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
8570
+ tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
8537
8571
  };
8538
8572
  /** Request */
8539
8573
  tool__test_tool__Request: {
@@ -8541,7 +8575,7 @@ export interface components {
8541
8575
  * Inputs
8542
8576
  * @description The list of inputs for the tool invocation.
8543
8577
  */
8544
- inputs: components["schemas"]["tool__test_tool__Request__Input"][];
8578
+ inputs: components["schemas"]["tool__invoke_tool_version__Request__Input"][];
8545
8579
  /**
8546
8580
  * Commit Branch
8547
8581
  * @description The branch in the tools repo whose tip will be tested.
@@ -8567,22 +8601,6 @@ export interface components {
8567
8601
  [key: string]: string;
8568
8602
  };
8569
8603
  };
8570
- /** Input */
8571
- tool__test_tool__Request__Input: {
8572
- /**
8573
- * Input Parameters
8574
- * @description The input parameters for the tool invocation.
8575
- */
8576
- input_parameters: {
8577
- [key: string]: unknown;
8578
- };
8579
- /**
8580
- * Invocation Mode
8581
- * @description The mode of invocation.
8582
- * @enum {string}
8583
- */
8584
- invocation_mode: "regular" | "conversation-simulation";
8585
- };
8586
8604
  /** Response */
8587
8605
  tool__test_tool__Response: {
8588
8606
  /** Invocation Results */
@@ -8695,7 +8713,7 @@ export interface components {
8695
8713
  * Users
8696
8714
  * @description Users in this organization.
8697
8715
  */
8698
- users: components["schemas"]["user__search_users__Response__UserInstance"][];
8716
+ users: components["schemas"]["user__get_users__Response__UserInstance"][];
8699
8717
  /**
8700
8718
  * Has More
8701
8719
  * @description Whether there are more users to retrieve.
@@ -8707,16 +8725,8 @@ export interface components {
8707
8725
  */
8708
8726
  continuation_token: number | null;
8709
8727
  };
8710
- /** Response */
8711
- user__search_users__Response: {
8712
- /**
8713
- * Users
8714
- * @description Users in this organization.
8715
- */
8716
- users: components["schemas"]["user__search_users__Response__UserInstance"][];
8717
- };
8718
8728
  /** UserInstance */
8719
- user__search_users__Response__UserInstance: {
8729
+ user__get_users__Response__UserInstance: {
8720
8730
  /**
8721
8731
  * Org Id
8722
8732
  * @description The ID of the organization that this user belongs to.
@@ -8743,7 +8753,7 @@ export interface components {
8743
8753
  */
8744
8754
  email: string;
8745
8755
  /** @description Statistics about the user's usage of the Amigo platform. */
8746
- user_stats: components["schemas"]["user__search_users__Response__UserInstance__UserStats"];
8756
+ user_stats: components["schemas"]["user__get_users__Response__UserInstance__UserStats"];
8747
8757
  /**
8748
8758
  * Role
8749
8759
  * @description The ID of the role of the user.
@@ -8753,7 +8763,7 @@ export interface components {
8753
8763
  preferences: components["schemas"]["amigo_lib__mongo__collections__user__User__Preferences"];
8754
8764
  };
8755
8765
  /** UserStats */
8756
- user__search_users__Response__UserInstance__UserStats: {
8766
+ user__get_users__Response__UserInstance__UserStats: {
8757
8767
  /**
8758
8768
  * Num Conversations
8759
8769
  * @description The number of conversations the user has created.
@@ -8770,6 +8780,14 @@ export interface components {
8770
8780
  */
8771
8781
  last_message_time: string | null;
8772
8782
  };
8783
+ /** Response */
8784
+ user__search_users__Response: {
8785
+ /**
8786
+ * Users
8787
+ * @description Users in this organization.
8788
+ */
8789
+ users: components["schemas"]["user__get_users__Response__UserInstance"][];
8790
+ };
8773
8791
  /** SigninWithAPIKeyResponse */
8774
8792
  user__sign_in_with_api_key__Response: {
8775
8793
  /**
@@ -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.72.0",
3
+ "version": "0.74.0",
4
4
  "description": "Amigo TypeScript SDK",
5
5
  "publishConfig": {
6
6
  "access": "public"