@amigo-ai/sdk 0.76.0 → 0.78.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.
|
@@ -2964,9 +2964,20 @@ export interface components {
|
|
|
2964
2964
|
type: "engage-user-dynamic-behavior-override";
|
|
2965
2965
|
/**
|
|
2966
2966
|
* Overriding
|
|
2967
|
+
* @deprecated
|
|
2967
2968
|
* @description Whether the dynamic behavior set's instructions are overriding the existing instructions of the current state.
|
|
2968
2969
|
*/
|
|
2969
2970
|
overriding: boolean;
|
|
2971
|
+
/**
|
|
2972
|
+
* Overriding Instructions
|
|
2973
|
+
* @description Whether the dynamic behavior set is overriding instructions during this interaction.
|
|
2974
|
+
*/
|
|
2975
|
+
overriding_instructions: boolean;
|
|
2976
|
+
/**
|
|
2977
|
+
* Overriding Tool Candidates
|
|
2978
|
+
* @description Whether the dynamic behavior set is overriding the tool candidates during this interaction.
|
|
2979
|
+
*/
|
|
2980
|
+
overriding_tool_candidates: boolean;
|
|
2970
2981
|
};
|
|
2971
2982
|
/** EngageUserInvocationMetadata */
|
|
2972
2983
|
EngageUserInvocationMetadata: {
|
|
@@ -3660,12 +3671,6 @@ export interface components {
|
|
|
3660
3671
|
* @constant
|
|
3661
3672
|
*/
|
|
3662
3673
|
type?: "navigate-state-machine-dynamic-behavior-override";
|
|
3663
|
-
/**
|
|
3664
|
-
* Overriding
|
|
3665
|
-
* @deprecated
|
|
3666
|
-
* @description Whether the dynamic behavior set's instructions are overriding the existing instructions of the current state.
|
|
3667
|
-
*/
|
|
3668
|
-
overriding: boolean;
|
|
3669
3674
|
/**
|
|
3670
3675
|
* Overriding Instructions
|
|
3671
3676
|
* @description Whether the dynamic behavior set is overriding instructions during this interaction.
|
|
@@ -5307,7 +5312,7 @@ export interface components {
|
|
|
5307
5312
|
*/
|
|
5308
5313
|
tool_id: string;
|
|
5309
5314
|
/** @description The version of the tool. */
|
|
5310
|
-
version: components["schemas"]["
|
|
5315
|
+
version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
|
|
5311
5316
|
/**
|
|
5312
5317
|
* Required Envvars
|
|
5313
5318
|
* @description The environment variables that are required to run the tool.
|
|
@@ -5951,15 +5956,6 @@ export interface components {
|
|
|
5951
5956
|
/** User Id */
|
|
5952
5957
|
user_id: string;
|
|
5953
5958
|
};
|
|
5954
|
-
/** Version */
|
|
5955
|
-
amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version: {
|
|
5956
|
-
/** Major */
|
|
5957
|
-
major: number;
|
|
5958
|
-
/** Minor */
|
|
5959
|
-
minor: number;
|
|
5960
|
-
/** Patch */
|
|
5961
|
-
patch: number;
|
|
5962
|
-
};
|
|
5963
5959
|
/** UserInfo */
|
|
5964
5960
|
amigo_lib__mongo__collections__tool_version__ToolVersion__UserInfo: {
|
|
5965
5961
|
/**
|
|
@@ -5973,6 +5969,15 @@ export interface components {
|
|
|
5973
5969
|
*/
|
|
5974
5970
|
user_org_id: string;
|
|
5975
5971
|
};
|
|
5972
|
+
/** Version */
|
|
5973
|
+
amigo_lib__mongo__collections__tool_version__ToolVersion__Version: {
|
|
5974
|
+
/** Major */
|
|
5975
|
+
major: number;
|
|
5976
|
+
/** Minor */
|
|
5977
|
+
minor: number;
|
|
5978
|
+
/** Patch */
|
|
5979
|
+
patch: number;
|
|
5980
|
+
};
|
|
5976
5981
|
/**
|
|
5977
5982
|
* Preferences
|
|
5978
5983
|
* @description Preferences that the user can set to customize their experience.
|
|
@@ -6301,7 +6306,7 @@ export interface components {
|
|
|
6301
6306
|
* Actions
|
|
6302
6307
|
* @description The action to perform when the dynamic behavior set version is activated.
|
|
6303
6308
|
*/
|
|
6304
|
-
actions: (components["schemas"]["
|
|
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"])[];
|
|
6305
6310
|
};
|
|
6306
6311
|
/** ChangeToolCandidatesAction */
|
|
6307
6312
|
dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__ChangeToolCandidatesAction: {
|
|
@@ -6352,20 +6357,6 @@ export interface components {
|
|
|
6352
6357
|
* the context of the dynamic behavior. */
|
|
6353
6358
|
tool_name: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
6354
6359
|
};
|
|
6355
|
-
/** InjectInstructionAction */
|
|
6356
|
-
dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction: {
|
|
6357
|
-
/**
|
|
6358
|
-
* @description discriminator enum property added by openapi-typescript
|
|
6359
|
-
* @enum {string}
|
|
6360
|
-
*/
|
|
6361
|
-
type: "dynamic_behavior_set__create_dynamic_behavior_set__Request__InitialVersion__InjectInstructionAction";
|
|
6362
|
-
instruction: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
6363
|
-
/**
|
|
6364
|
-
* Overrides Instructions
|
|
6365
|
-
* @description During injection, whether the original instruction of the state is overriden with this instruction.
|
|
6366
|
-
*/
|
|
6367
|
-
overrides_instructions: boolean;
|
|
6368
|
-
};
|
|
6369
6360
|
/** Response */
|
|
6370
6361
|
dynamic_behavior_set__create_dynamic_behavior_set__Response: {
|
|
6371
6362
|
/**
|
|
@@ -6385,7 +6376,7 @@ export interface components {
|
|
|
6385
6376
|
* Actions
|
|
6386
6377
|
* @description The action to perform when the dynamic behavior set version is activated.
|
|
6387
6378
|
*/
|
|
6388
|
-
actions: (components["schemas"]["
|
|
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"])[];
|
|
6389
6380
|
};
|
|
6390
6381
|
/** ChangeToolCandidatesAction */
|
|
6391
6382
|
dynamic_behavior_set__create_dynamic_behavior_set_version__Request__ChangeToolCandidatesAction: {
|
|
@@ -6436,6 +6427,20 @@ export interface components {
|
|
|
6436
6427
|
* the context of the dynamic behavior. */
|
|
6437
6428
|
tool_name: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
6438
6429
|
};
|
|
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
|
+
};
|
|
6439
6444
|
/** Response */
|
|
6440
6445
|
dynamic_behavior_set__create_dynamic_behavior_set_version__Response: {
|
|
6441
6446
|
/**
|
|
@@ -7395,10 +7400,29 @@ export interface components {
|
|
|
7395
7400
|
* Permission Grants
|
|
7396
7401
|
* @description A list of permission grants associated with this role.
|
|
7397
7402
|
*/
|
|
7398
|
-
permission_grants: components["schemas"]["
|
|
7403
|
+
permission_grants: components["schemas"]["role__create_role__Request__PermissionGrant"][];
|
|
7399
7404
|
/** @description The frontend view for users of this role. */
|
|
7400
7405
|
frontend_view: components["schemas"]["FrontendView"];
|
|
7401
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
|
+
};
|
|
7402
7426
|
/** Response */
|
|
7403
7427
|
role__create_role__Response: {
|
|
7404
7428
|
/**
|
|
@@ -7423,29 +7447,10 @@ export interface components {
|
|
|
7423
7447
|
* Permission Grants
|
|
7424
7448
|
* @description A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.
|
|
7425
7449
|
*/
|
|
7426
|
-
permission_grants?: components["schemas"]["
|
|
7450
|
+
permission_grants?: components["schemas"]["role__create_role__Request__PermissionGrant"][] | null;
|
|
7427
7451
|
/** @description The frontend view for the user of this role. Only updated if specified. This field is an immutable field. */
|
|
7428
7452
|
frontend_view?: components["schemas"]["FrontendView"] | null;
|
|
7429
7453
|
};
|
|
7430
|
-
/** PermissionGrant */
|
|
7431
|
-
role__modify_role__Request__PermissionGrant: {
|
|
7432
|
-
/**
|
|
7433
|
-
* Action
|
|
7434
|
-
* @description Whether this grant allows or denies the specified access.
|
|
7435
|
-
* @enum {string}
|
|
7436
|
-
*/
|
|
7437
|
-
action: "Allow" | "Deny";
|
|
7438
|
-
/** Permission Name */
|
|
7439
|
-
permission_name: string;
|
|
7440
|
-
/**
|
|
7441
|
-
* Conditions
|
|
7442
|
-
* @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
|
|
7443
|
-
*/
|
|
7444
|
-
conditions: {
|
|
7445
|
-
[key: string]: components["schemas"]["Condition"];
|
|
7446
|
-
};
|
|
7447
|
-
description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
|
|
7448
|
-
};
|
|
7449
7454
|
/** Response */
|
|
7450
7455
|
role__modify_role__Response: {
|
|
7451
7456
|
/**
|
|
@@ -7492,6 +7497,18 @@ export interface components {
|
|
|
7492
7497
|
[key: string]: components["schemas"]["StrippedNonemptyString___w__s_____"] | null;
|
|
7493
7498
|
};
|
|
7494
7499
|
};
|
|
7500
|
+
/** LLMConfig */
|
|
7501
|
+
service__create_service__Request__VersionSet__LLMConfig: {
|
|
7502
|
+
llm_name: components["schemas"]["LLMType"];
|
|
7503
|
+
/**
|
|
7504
|
+
* Params
|
|
7505
|
+
* @description LLM-specific parameters to use.
|
|
7506
|
+
* @default {}
|
|
7507
|
+
*/
|
|
7508
|
+
params?: {
|
|
7509
|
+
[key: string]: unknown;
|
|
7510
|
+
};
|
|
7511
|
+
};
|
|
7495
7512
|
/** Response */
|
|
7496
7513
|
service__create_service__Response: {
|
|
7497
7514
|
/**
|
|
@@ -7588,19 +7605,7 @@ export interface components {
|
|
|
7588
7605
|
service_hierarchical_state_machine_version_number: number | null;
|
|
7589
7606
|
/** Llm Model Preferences */
|
|
7590
7607
|
llm_model_preferences: {
|
|
7591
|
-
[key: string]: components["schemas"]["
|
|
7592
|
-
};
|
|
7593
|
-
};
|
|
7594
|
-
/** LLMConfig */
|
|
7595
|
-
service__upsert_service_version_set__Request__VersionSet__LLMConfig: {
|
|
7596
|
-
llm_name: components["schemas"]["LLMType"];
|
|
7597
|
-
/**
|
|
7598
|
-
* Params
|
|
7599
|
-
* @description LLM-specific parameters to use.
|
|
7600
|
-
* @default {}
|
|
7601
|
-
*/
|
|
7602
|
-
params?: {
|
|
7603
|
-
[key: string]: unknown;
|
|
7608
|
+
[key: string]: components["schemas"]["service__create_service__Request__VersionSet__LLMConfig"];
|
|
7604
7609
|
};
|
|
7605
7610
|
};
|
|
7606
7611
|
/** Request */
|
|
@@ -7806,7 +7811,7 @@ export interface components {
|
|
|
7806
7811
|
* Unit Test Runs
|
|
7807
7812
|
* @description The unit test runs that are part of this set.
|
|
7808
7813
|
*/
|
|
7809
|
-
unit_test_runs: components["schemas"]["
|
|
7814
|
+
unit_test_runs: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
|
|
7810
7815
|
/**
|
|
7811
7816
|
* Tags
|
|
7812
7817
|
* @description The tags of the simulation unit test set.
|
|
@@ -7815,16 +7820,6 @@ export interface components {
|
|
|
7815
7820
|
[key: string]: string | null;
|
|
7816
7821
|
};
|
|
7817
7822
|
};
|
|
7818
|
-
/** UnitTestRunDescriptor */
|
|
7819
|
-
simulation__create_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
|
|
7820
|
-
/** Unit Test Id */
|
|
7821
|
-
unit_test_id: string;
|
|
7822
|
-
/**
|
|
7823
|
-
* Run Count
|
|
7824
|
-
* @description The number of times to run the unit test.
|
|
7825
|
-
*/
|
|
7826
|
-
run_count: number;
|
|
7827
|
-
};
|
|
7828
7823
|
/** Response */
|
|
7829
7824
|
simulation__create_simulation_unit_test_set__Response: {
|
|
7830
7825
|
/**
|
|
@@ -7978,7 +7973,7 @@ export interface components {
|
|
|
7978
7973
|
* Simulation Scenarios
|
|
7979
7974
|
* @description The list of simulation scenarios.
|
|
7980
7975
|
*/
|
|
7981
|
-
simulation_scenarios: components["schemas"]["
|
|
7976
|
+
simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
|
|
7982
7977
|
/**
|
|
7983
7978
|
* Has More
|
|
7984
7979
|
* @description Whether there are more simulation scenarios to fetch.
|
|
@@ -8008,6 +8003,47 @@ export interface components {
|
|
|
8008
8003
|
*/
|
|
8009
8004
|
tags: string[];
|
|
8010
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
|
+
};
|
|
8011
8047
|
/** Response */
|
|
8012
8048
|
simulation__get_simulation_unit_test_set_run_artifacts__Response: {
|
|
8013
8049
|
/**
|
|
@@ -8174,48 +8210,7 @@ export interface components {
|
|
|
8174
8210
|
* Simulation Scenarios
|
|
8175
8211
|
* @description The list of simulation scenarios.
|
|
8176
8212
|
*/
|
|
8177
|
-
simulation_scenarios: components["schemas"]["
|
|
8178
|
-
};
|
|
8179
|
-
/** SimulationScenarioInstance */
|
|
8180
|
-
simulation__search_simulation_scenarios__Response__SimulationScenarioInstance: {
|
|
8181
|
-
/**
|
|
8182
|
-
* Id
|
|
8183
|
-
* @description The ID of the simulation scenario.
|
|
8184
|
-
*/
|
|
8185
|
-
id: string;
|
|
8186
|
-
/**
|
|
8187
|
-
* Name
|
|
8188
|
-
* @description The name of the simulation scenario.
|
|
8189
|
-
*/
|
|
8190
|
-
name: string;
|
|
8191
|
-
/**
|
|
8192
|
-
* Tags
|
|
8193
|
-
* @description The tags of the simulation scenario.
|
|
8194
|
-
*/
|
|
8195
|
-
tags: {
|
|
8196
|
-
[key: string]: string | null;
|
|
8197
|
-
};
|
|
8198
|
-
/**
|
|
8199
|
-
* Is Deleted
|
|
8200
|
-
* @description Whether the simulation scenario is deleted.
|
|
8201
|
-
*/
|
|
8202
|
-
is_deleted: boolean;
|
|
8203
|
-
/**
|
|
8204
|
-
* Created At
|
|
8205
|
-
* Format: date-time
|
|
8206
|
-
* @description The timestamp when the simulation scenario was created.
|
|
8207
|
-
*/
|
|
8208
|
-
created_at: string;
|
|
8209
|
-
/** @description The user who created the simulation scenario. */
|
|
8210
|
-
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
|
|
8211
|
-
/**
|
|
8212
|
-
* Updated At
|
|
8213
|
-
* Format: date-time
|
|
8214
|
-
* @description The timestamp when the simulation scenario was last updated.
|
|
8215
|
-
*/
|
|
8216
|
-
updated_at: string;
|
|
8217
|
-
/** @description The user who last updated the simulation scenario. */
|
|
8218
|
-
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
|
|
8213
|
+
simulation_scenarios: components["schemas"]["simulation__get_simulation_scenarios__Response__SimulationScenarioInstance"][];
|
|
8219
8214
|
};
|
|
8220
8215
|
/** Response */
|
|
8221
8216
|
simulation__search_simulation_unit_test_set__Response: {
|
|
@@ -8321,7 +8316,7 @@ export interface components {
|
|
|
8321
8316
|
* Unit Test Runs
|
|
8322
8317
|
* @description The unit test runs that are part of this set.
|
|
8323
8318
|
*/
|
|
8324
|
-
unit_test_runs?: components["schemas"]["
|
|
8319
|
+
unit_test_runs?: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
|
|
8325
8320
|
/**
|
|
8326
8321
|
* Tags
|
|
8327
8322
|
* @description The tags of the simulation unit test set.
|
|
@@ -8330,6 +8325,16 @@ export interface components {
|
|
|
8330
8325
|
[key: string]: string | null;
|
|
8331
8326
|
} | null;
|
|
8332
8327
|
};
|
|
8328
|
+
/** UnitTestRunDescriptor */
|
|
8329
|
+
simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
|
|
8330
|
+
/** Unit Test Id */
|
|
8331
|
+
unit_test_id: string;
|
|
8332
|
+
/**
|
|
8333
|
+
* Run Count
|
|
8334
|
+
* @description The number of times to run the unit test.
|
|
8335
|
+
*/
|
|
8336
|
+
run_count: number;
|
|
8337
|
+
};
|
|
8333
8338
|
/** Request */
|
|
8334
8339
|
tool__create_tool__Request: {
|
|
8335
8340
|
/** @description The name of the tool. It must be unique among all non-deprecated tools in the organization. */
|
|
@@ -8438,7 +8443,23 @@ export interface components {
|
|
|
8438
8443
|
* Inputs
|
|
8439
8444
|
* @description The list of inputs for the tool invocation.
|
|
8440
8445
|
*/
|
|
8441
|
-
inputs: components["schemas"]["
|
|
8446
|
+
inputs: components["schemas"]["tool__invoke_tool_version__Request__Input"][];
|
|
8447
|
+
};
|
|
8448
|
+
/** Input */
|
|
8449
|
+
tool__invoke_tool_version__Request__Input: {
|
|
8450
|
+
/**
|
|
8451
|
+
* Input Parameters
|
|
8452
|
+
* @description The input parameters for the tool invocation.
|
|
8453
|
+
*/
|
|
8454
|
+
input_parameters: {
|
|
8455
|
+
[key: string]: unknown;
|
|
8456
|
+
};
|
|
8457
|
+
/**
|
|
8458
|
+
* Invocation Mode
|
|
8459
|
+
* @description The mode of invocation.
|
|
8460
|
+
* @enum {string}
|
|
8461
|
+
*/
|
|
8462
|
+
invocation_mode: "regular" | "conversation-simulation";
|
|
8442
8463
|
};
|
|
8443
8464
|
/** Response */
|
|
8444
8465
|
tool__invoke_tool_version__Response: {
|
|
@@ -8551,7 +8572,7 @@ export interface components {
|
|
|
8551
8572
|
*/
|
|
8552
8573
|
tool_id: string;
|
|
8553
8574
|
/** @description The version of the tool that was invoked. */
|
|
8554
|
-
tool_version: components["schemas"]["
|
|
8575
|
+
tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_version__ToolVersion__Version"];
|
|
8555
8576
|
};
|
|
8556
8577
|
/** Request */
|
|
8557
8578
|
tool__test_tool__Request: {
|
|
@@ -8559,7 +8580,7 @@ export interface components {
|
|
|
8559
8580
|
* Inputs
|
|
8560
8581
|
* @description The list of inputs for the tool invocation.
|
|
8561
8582
|
*/
|
|
8562
|
-
inputs: components["schemas"]["
|
|
8583
|
+
inputs: components["schemas"]["tool__invoke_tool_version__Request__Input"][];
|
|
8563
8584
|
/**
|
|
8564
8585
|
* Commit Branch
|
|
8565
8586
|
* @description The branch in the tools repo whose tip will be tested.
|
|
@@ -8585,22 +8606,6 @@ export interface components {
|
|
|
8585
8606
|
[key: string]: string;
|
|
8586
8607
|
};
|
|
8587
8608
|
};
|
|
8588
|
-
/** Input */
|
|
8589
|
-
tool__test_tool__Request__Input: {
|
|
8590
|
-
/**
|
|
8591
|
-
* Input Parameters
|
|
8592
|
-
* @description The input parameters for the tool invocation.
|
|
8593
|
-
*/
|
|
8594
|
-
input_parameters: {
|
|
8595
|
-
[key: string]: unknown;
|
|
8596
|
-
};
|
|
8597
|
-
/**
|
|
8598
|
-
* Invocation Mode
|
|
8599
|
-
* @description The mode of invocation.
|
|
8600
|
-
* @enum {string}
|
|
8601
|
-
*/
|
|
8602
|
-
invocation_mode: "regular" | "conversation-simulation";
|
|
8603
|
-
};
|
|
8604
8609
|
/** Response */
|
|
8605
8610
|
tool__test_tool__Response: {
|
|
8606
8611
|
/** Invocation Results */
|
|
@@ -8713,7 +8718,7 @@ export interface components {
|
|
|
8713
8718
|
* Users
|
|
8714
8719
|
* @description Users in this organization.
|
|
8715
8720
|
*/
|
|
8716
|
-
users: components["schemas"]["
|
|
8721
|
+
users: components["schemas"]["user__get_users__Response__UserInstance"][];
|
|
8717
8722
|
/**
|
|
8718
8723
|
* Has More
|
|
8719
8724
|
* @description Whether there are more users to retrieve.
|
|
@@ -8725,34 +8730,8 @@ export interface components {
|
|
|
8725
8730
|
*/
|
|
8726
8731
|
continuation_token: number | null;
|
|
8727
8732
|
};
|
|
8728
|
-
/** UserStats */
|
|
8729
|
-
user__get_users__Response__UserInstance__UserStats: {
|
|
8730
|
-
/**
|
|
8731
|
-
* Num Conversations
|
|
8732
|
-
* @description The number of conversations the user has created.
|
|
8733
|
-
*/
|
|
8734
|
-
num_conversations: number;
|
|
8735
|
-
/**
|
|
8736
|
-
* Num Messages
|
|
8737
|
-
* @description The number of messages the user has sent and received.
|
|
8738
|
-
*/
|
|
8739
|
-
num_messages: number;
|
|
8740
|
-
/**
|
|
8741
|
-
* Last Message Time
|
|
8742
|
-
* @description The time of the last message the user sent or received. If `None`, the user hasn't started any conversations.
|
|
8743
|
-
*/
|
|
8744
|
-
last_message_time: string | null;
|
|
8745
|
-
};
|
|
8746
|
-
/** Response */
|
|
8747
|
-
user__search_users__Response: {
|
|
8748
|
-
/**
|
|
8749
|
-
* Users
|
|
8750
|
-
* @description Users in this organization.
|
|
8751
|
-
*/
|
|
8752
|
-
users: components["schemas"]["user__search_users__Response__UserInstance"][];
|
|
8753
|
-
};
|
|
8754
8733
|
/** UserInstance */
|
|
8755
|
-
|
|
8734
|
+
user__get_users__Response__UserInstance: {
|
|
8756
8735
|
/**
|
|
8757
8736
|
* Org Id
|
|
8758
8737
|
* @description The ID of the organization that this user belongs to.
|
|
@@ -8779,7 +8758,7 @@ export interface components {
|
|
|
8779
8758
|
*/
|
|
8780
8759
|
email: string;
|
|
8781
8760
|
/** @description Statistics about the user's usage of the Amigo platform. */
|
|
8782
|
-
user_stats: components["schemas"]["
|
|
8761
|
+
user_stats: components["schemas"]["user__search_users__Response__UserInstance__UserStats"];
|
|
8783
8762
|
/**
|
|
8784
8763
|
* Role
|
|
8785
8764
|
* @description The ID of the role of the user.
|
|
@@ -8788,6 +8767,32 @@ export interface components {
|
|
|
8788
8767
|
/** @description The preferences of the user. */
|
|
8789
8768
|
preferences: components["schemas"]["amigo_lib__mongo__collections__user__User__Preferences"];
|
|
8790
8769
|
};
|
|
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
|
+
};
|
|
8791
8796
|
/** SigninWithAPIKeyResponse */
|
|
8792
8797
|
user__sign_in_with_api_key__Response: {
|
|
8793
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"]["
|
|
8
|
+
users: components["schemas"]["user__get_users__Response__UserInstance"][];
|
|
9
9
|
has_more: boolean;
|
|
10
10
|
continuation_token: number | null;
|
|
11
11
|
}>;
|