@amigo-ai/sdk 0.76.0 → 0.77.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"]["
|
|
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"]["
|
|
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"];
|
|
@@ -3463,7 +3463,7 @@ export interface components {
|
|
|
3463
3463
|
* Tags
|
|
3464
3464
|
* @description The tags of the metric.
|
|
3465
3465
|
*/
|
|
3466
|
-
tags: components["schemas"]["
|
|
3466
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
|
|
3467
3467
|
/** @description The user who created the metric. */
|
|
3468
3468
|
creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
|
|
3469
3469
|
/** @description The user who last updated the metric. */
|
|
@@ -3568,7 +3568,7 @@ export interface components {
|
|
|
3568
3568
|
* Tags
|
|
3569
3569
|
* @description The tags of the metric.
|
|
3570
3570
|
*/
|
|
3571
|
-
tags: components["schemas"]["
|
|
3571
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
|
|
3572
3572
|
/** @description The user who created the metric. */
|
|
3573
3573
|
creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
|
|
3574
3574
|
/** @description The user who last updated the metric. */
|
|
@@ -4426,7 +4426,7 @@ export interface components {
|
|
|
4426
4426
|
* Tags
|
|
4427
4427
|
* @description The tags of the service.
|
|
4428
4428
|
*/
|
|
4429
|
-
tags: components["schemas"]["
|
|
4429
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
|
|
4430
4430
|
};
|
|
4431
4431
|
/** SimulationConversationInvocationSource */
|
|
4432
4432
|
SimulationConversationInvocationSource: {
|
|
@@ -4636,7 +4636,7 @@ export interface components {
|
|
|
4636
4636
|
* Tags
|
|
4637
4637
|
* @description The tags of the simulation persona.
|
|
4638
4638
|
*/
|
|
4639
|
-
tags: components["schemas"]["
|
|
4639
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
|
|
4640
4640
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4641
4641
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4642
4642
|
};
|
|
@@ -4708,7 +4708,7 @@ export interface components {
|
|
|
4708
4708
|
* Tags
|
|
4709
4709
|
* @description The tags of the simulation persona.
|
|
4710
4710
|
*/
|
|
4711
|
-
tags: components["schemas"]["
|
|
4711
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
|
|
4712
4712
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4713
4713
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4714
4714
|
};
|
|
@@ -4763,7 +4763,7 @@ export interface components {
|
|
|
4763
4763
|
* Tags
|
|
4764
4764
|
* @description The tags of the simulation unit test set.
|
|
4765
4765
|
*/
|
|
4766
|
-
tags: components["schemas"]["
|
|
4766
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
|
|
4767
4767
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4768
4768
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4769
4769
|
};
|
|
@@ -4815,7 +4815,7 @@ export interface components {
|
|
|
4815
4815
|
* Tags
|
|
4816
4816
|
* @description The tags of the simulation unit test set.
|
|
4817
4817
|
*/
|
|
4818
|
-
tags: components["schemas"]["
|
|
4818
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
|
|
4819
4819
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4820
4820
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4821
4821
|
};
|
|
@@ -5277,7 +5277,7 @@ export interface components {
|
|
|
5277
5277
|
* Tags
|
|
5278
5278
|
* @description The tags of the simulation persona.
|
|
5279
5279
|
*/
|
|
5280
|
-
tags: components["schemas"]["
|
|
5280
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
|
|
5281
5281
|
};
|
|
5282
5282
|
/** ToolVersionInstance */
|
|
5283
5283
|
ToolVersionInstance: {
|
|
@@ -5902,13 +5902,6 @@ export interface components {
|
|
|
5902
5902
|
metric_id: string;
|
|
5903
5903
|
criterion: components["schemas"]["SuccessCriterionDescription-Output"];
|
|
5904
5904
|
};
|
|
5905
|
-
/** Tag */
|
|
5906
|
-
amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__Tag: {
|
|
5907
|
-
/** Key */
|
|
5908
|
-
key: string;
|
|
5909
|
-
/** Value */
|
|
5910
|
-
value: string | null;
|
|
5911
|
-
};
|
|
5912
5905
|
/** UserInfo */
|
|
5913
5906
|
amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo: {
|
|
5914
5907
|
/** Org Id */
|
|
@@ -5951,6 +5944,13 @@ export interface components {
|
|
|
5951
5944
|
/** User Id */
|
|
5952
5945
|
user_id: string;
|
|
5953
5946
|
};
|
|
5947
|
+
/** Tag */
|
|
5948
|
+
amigo_lib__mongo__collections__tool__Tool__Tag: {
|
|
5949
|
+
/** Key */
|
|
5950
|
+
key: string;
|
|
5951
|
+
/** Value */
|
|
5952
|
+
value: string | null;
|
|
5953
|
+
};
|
|
5954
5954
|
/** Version */
|
|
5955
5955
|
amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version: {
|
|
5956
5956
|
/** Major */
|
|
@@ -6486,7 +6486,7 @@ export interface components {
|
|
|
6486
6486
|
* Dynamic Behavior Sets
|
|
6487
6487
|
* @description The retrieved dynamic behavior sets.
|
|
6488
6488
|
*/
|
|
6489
|
-
dynamic_behavior_sets: components["schemas"]["
|
|
6489
|
+
dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
|
|
6490
6490
|
/**
|
|
6491
6491
|
* Has More
|
|
6492
6492
|
* @description Whether there are more dynamic behavior sets to retrieve.
|
|
@@ -6503,8 +6503,34 @@ export interface components {
|
|
|
6503
6503
|
* retrieved. */
|
|
6504
6504
|
filter_values: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues"] | null;
|
|
6505
6505
|
};
|
|
6506
|
+
/** FilterValues */
|
|
6507
|
+
dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
|
|
6508
|
+
/**
|
|
6509
|
+
* Applied To Services Ids
|
|
6510
|
+
* @description A set of service IDs that have dynamic behavior sets applied to the service.
|
|
6511
|
+
*/
|
|
6512
|
+
applied_to_services_ids: string[];
|
|
6513
|
+
/**
|
|
6514
|
+
* Creators
|
|
6515
|
+
* @description A set of creator infos that created the dynamic behavior sets under the current filters.
|
|
6516
|
+
*/
|
|
6517
|
+
creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
|
|
6518
|
+
/**
|
|
6519
|
+
* Tags
|
|
6520
|
+
* @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
|
|
6521
|
+
*/
|
|
6522
|
+
tags: string[];
|
|
6523
|
+
};
|
|
6524
|
+
/** Response */
|
|
6525
|
+
dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
|
|
6526
|
+
/**
|
|
6527
|
+
* Dynamic Behavior Sets
|
|
6528
|
+
* @description The retrieved dynamic behavior sets.
|
|
6529
|
+
*/
|
|
6530
|
+
dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
|
|
6531
|
+
};
|
|
6506
6532
|
/** DynamicBehaviorSetInstance */
|
|
6507
|
-
|
|
6533
|
+
dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
|
|
6508
6534
|
/** Id */
|
|
6509
6535
|
id: string;
|
|
6510
6536
|
/** Name */
|
|
@@ -6530,32 +6556,6 @@ export interface components {
|
|
|
6530
6556
|
updated_at: string;
|
|
6531
6557
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"];
|
|
6532
6558
|
};
|
|
6533
|
-
/** FilterValues */
|
|
6534
|
-
dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
|
|
6535
|
-
/**
|
|
6536
|
-
* Applied To Services Ids
|
|
6537
|
-
* @description A set of service IDs that have dynamic behavior sets applied to the service.
|
|
6538
|
-
*/
|
|
6539
|
-
applied_to_services_ids: string[];
|
|
6540
|
-
/**
|
|
6541
|
-
* Creators
|
|
6542
|
-
* @description A set of creator infos that created the dynamic behavior sets under the current filters.
|
|
6543
|
-
*/
|
|
6544
|
-
creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
|
|
6545
|
-
/**
|
|
6546
|
-
* Tags
|
|
6547
|
-
* @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
|
|
6548
|
-
*/
|
|
6549
|
-
tags: string[];
|
|
6550
|
-
};
|
|
6551
|
-
/** Response */
|
|
6552
|
-
dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
|
|
6553
|
-
/**
|
|
6554
|
-
* Dynamic Behavior Sets
|
|
6555
|
-
* @description The retrieved dynamic behavior sets.
|
|
6556
|
-
*/
|
|
6557
|
-
dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
|
|
6558
|
-
};
|
|
6559
6559
|
/** Request */
|
|
6560
6560
|
dynamic_behavior_set__update_dynamic_behavior_set__Request: {
|
|
6561
6561
|
/** @description The name of the dynamic behavior set. */
|
|
@@ -6880,7 +6880,7 @@ export interface components {
|
|
|
6880
6880
|
* User Dimensions
|
|
6881
6881
|
* @description User dimensions for the organization.
|
|
6882
6882
|
*/
|
|
6883
|
-
user_dimensions: components["schemas"]["
|
|
6883
|
+
user_dimensions: components["schemas"]["organization__modify_organization__Request__UserDimension"][];
|
|
6884
6884
|
/**
|
|
6885
6885
|
* Logo
|
|
6886
6886
|
* Format: base64
|
|
@@ -6957,12 +6957,6 @@ export interface components {
|
|
|
6957
6957
|
*/
|
|
6958
6958
|
audio_keyterms?: string[];
|
|
6959
6959
|
};
|
|
6960
|
-
/** UserDimension */
|
|
6961
|
-
organization__create_organization__Request__UserDimension: {
|
|
6962
|
-
description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
6963
|
-
/** Tags */
|
|
6964
|
-
tags: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
6965
|
-
};
|
|
6966
6960
|
/** Response */
|
|
6967
6961
|
organization__create_organization__Response: {
|
|
6968
6962
|
/**
|
|
@@ -7026,7 +7020,7 @@ export interface components {
|
|
|
7026
7020
|
global_boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
7027
7021
|
};
|
|
7028
7022
|
/** ExitCondition */
|
|
7029
|
-
|
|
7023
|
+
organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition: {
|
|
7030
7024
|
description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
7031
7025
|
/** Next State */
|
|
7032
7026
|
next_state: components["schemas"]["StateOrRefName"] | [
|
|
@@ -7329,7 +7323,7 @@ export interface components {
|
|
|
7329
7323
|
* User Dimensions
|
|
7330
7324
|
* @description User dimensions for the organization. If not set or `null`, this field is not updated.
|
|
7331
7325
|
*/
|
|
7332
|
-
user_dimensions?: components["schemas"]["
|
|
7326
|
+
user_dimensions?: components["schemas"]["organization__modify_organization__Request__UserDimension"][] | null;
|
|
7333
7327
|
/** @description The default user preferences for the organization. If `null`, this field is not updated. */
|
|
7334
7328
|
default_user_preferences?: components["schemas"]["organization__modify_organization__Request__Preferences"] | null;
|
|
7335
7329
|
/**
|
|
@@ -7369,6 +7363,12 @@ export interface components {
|
|
|
7369
7363
|
*/
|
|
7370
7364
|
audio_keyterms?: string[];
|
|
7371
7365
|
};
|
|
7366
|
+
/** UserDimension */
|
|
7367
|
+
organization__modify_organization__Request__UserDimension: {
|
|
7368
|
+
description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
7369
|
+
/** Tags */
|
|
7370
|
+
tags: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
7371
|
+
};
|
|
7372
7372
|
/** Request */
|
|
7373
7373
|
role__assign_role__Request: {
|
|
7374
7374
|
/**
|
|
@@ -7395,10 +7395,29 @@ export interface components {
|
|
|
7395
7395
|
* Permission Grants
|
|
7396
7396
|
* @description A list of permission grants associated with this role.
|
|
7397
7397
|
*/
|
|
7398
|
-
permission_grants: components["schemas"]["
|
|
7398
|
+
permission_grants: components["schemas"]["role__create_role__Request__PermissionGrant"][];
|
|
7399
7399
|
/** @description The frontend view for users of this role. */
|
|
7400
7400
|
frontend_view: components["schemas"]["FrontendView"];
|
|
7401
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
|
+
};
|
|
7402
7421
|
/** Response */
|
|
7403
7422
|
role__create_role__Response: {
|
|
7404
7423
|
/**
|
|
@@ -7423,29 +7442,10 @@ export interface components {
|
|
|
7423
7442
|
* Permission Grants
|
|
7424
7443
|
* @description A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.
|
|
7425
7444
|
*/
|
|
7426
|
-
permission_grants?: components["schemas"]["
|
|
7445
|
+
permission_grants?: components["schemas"]["role__create_role__Request__PermissionGrant"][] | null;
|
|
7427
7446
|
/** @description The frontend view for the user of this role. Only updated if specified. This field is an immutable field. */
|
|
7428
7447
|
frontend_view?: components["schemas"]["FrontendView"] | null;
|
|
7429
7448
|
};
|
|
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
7449
|
/** Response */
|
|
7450
7450
|
role__modify_role__Response: {
|
|
7451
7451
|
/**
|
|
@@ -7806,7 +7806,7 @@ export interface components {
|
|
|
7806
7806
|
* Unit Test Runs
|
|
7807
7807
|
* @description The unit test runs that are part of this set.
|
|
7808
7808
|
*/
|
|
7809
|
-
unit_test_runs: components["schemas"]["
|
|
7809
|
+
unit_test_runs: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][];
|
|
7810
7810
|
/**
|
|
7811
7811
|
* Tags
|
|
7812
7812
|
* @description The tags of the simulation unit test set.
|
|
@@ -7815,16 +7815,6 @@ export interface components {
|
|
|
7815
7815
|
[key: string]: string | null;
|
|
7816
7816
|
};
|
|
7817
7817
|
};
|
|
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
7818
|
/** Response */
|
|
7829
7819
|
simulation__create_simulation_unit_test_set__Response: {
|
|
7830
7820
|
/**
|
|
@@ -8321,7 +8311,7 @@ export interface components {
|
|
|
8321
8311
|
* Unit Test Runs
|
|
8322
8312
|
* @description The unit test runs that are part of this set.
|
|
8323
8313
|
*/
|
|
8324
|
-
unit_test_runs?: components["schemas"]["
|
|
8314
|
+
unit_test_runs?: components["schemas"]["simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor"][] | null;
|
|
8325
8315
|
/**
|
|
8326
8316
|
* Tags
|
|
8327
8317
|
* @description The tags of the simulation unit test set.
|
|
@@ -8330,6 +8320,16 @@ export interface components {
|
|
|
8330
8320
|
[key: string]: string | null;
|
|
8331
8321
|
} | null;
|
|
8332
8322
|
};
|
|
8323
|
+
/** UnitTestRunDescriptor */
|
|
8324
|
+
simulation__update_simulation_unit_test_set__Request__UnitTestRunDescriptor: {
|
|
8325
|
+
/** Unit Test Id */
|
|
8326
|
+
unit_test_id: string;
|
|
8327
|
+
/**
|
|
8328
|
+
* Run Count
|
|
8329
|
+
* @description The number of times to run the unit test.
|
|
8330
|
+
*/
|
|
8331
|
+
run_count: number;
|
|
8332
|
+
};
|
|
8333
8333
|
/** Request */
|
|
8334
8334
|
tool__create_tool__Request: {
|
|
8335
8335
|
/** @description The name of the tool. It must be unique among all non-deprecated tools in the organization. */
|
|
@@ -8713,7 +8713,7 @@ export interface components {
|
|
|
8713
8713
|
* Users
|
|
8714
8714
|
* @description Users in this organization.
|
|
8715
8715
|
*/
|
|
8716
|
-
users: components["schemas"]["
|
|
8716
|
+
users: components["schemas"]["user__get_users__Response__UserInstance"][];
|
|
8717
8717
|
/**
|
|
8718
8718
|
* Has More
|
|
8719
8719
|
* @description Whether there are more users to retrieve.
|
|
@@ -8725,34 +8725,8 @@ export interface components {
|
|
|
8725
8725
|
*/
|
|
8726
8726
|
continuation_token: number | null;
|
|
8727
8727
|
};
|
|
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
8728
|
/** UserInstance */
|
|
8755
|
-
|
|
8729
|
+
user__get_users__Response__UserInstance: {
|
|
8756
8730
|
/**
|
|
8757
8731
|
* Org Id
|
|
8758
8732
|
* @description The ID of the organization that this user belongs to.
|
|
@@ -8779,7 +8753,7 @@ export interface components {
|
|
|
8779
8753
|
*/
|
|
8780
8754
|
email: string;
|
|
8781
8755
|
/** @description Statistics about the user's usage of the Amigo platform. */
|
|
8782
|
-
user_stats: components["schemas"]["
|
|
8756
|
+
user_stats: components["schemas"]["user__search_users__Response__UserInstance__UserStats"];
|
|
8783
8757
|
/**
|
|
8784
8758
|
* Role
|
|
8785
8759
|
* @description The ID of the role of the user.
|
|
@@ -8788,6 +8762,32 @@ export interface components {
|
|
|
8788
8762
|
/** @description The preferences of the user. */
|
|
8789
8763
|
preferences: components["schemas"]["amigo_lib__mongo__collections__user__User__Preferences"];
|
|
8790
8764
|
};
|
|
8765
|
+
/** Response */
|
|
8766
|
+
user__search_users__Response: {
|
|
8767
|
+
/**
|
|
8768
|
+
* Users
|
|
8769
|
+
* @description Users in this organization.
|
|
8770
|
+
*/
|
|
8771
|
+
users: components["schemas"]["user__get_users__Response__UserInstance"][];
|
|
8772
|
+
};
|
|
8773
|
+
/** UserStats */
|
|
8774
|
+
user__search_users__Response__UserInstance__UserStats: {
|
|
8775
|
+
/**
|
|
8776
|
+
* Num Conversations
|
|
8777
|
+
* @description The number of conversations the user has created.
|
|
8778
|
+
*/
|
|
8779
|
+
num_conversations: number;
|
|
8780
|
+
/**
|
|
8781
|
+
* Num Messages
|
|
8782
|
+
* @description The number of messages the user has sent and received.
|
|
8783
|
+
*/
|
|
8784
|
+
num_messages: number;
|
|
8785
|
+
/**
|
|
8786
|
+
* Last Message Time
|
|
8787
|
+
* @description The time of the last message the user sent or received. If `None`, the user hasn't started any conversations.
|
|
8788
|
+
*/
|
|
8789
|
+
last_message_time: string | null;
|
|
8790
|
+
};
|
|
8791
8791
|
/** SigninWithAPIKeyResponse */
|
|
8792
8792
|
user__sign_in_with_api_key__Response: {
|
|
8793
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"]["
|
|
8
|
+
users: components["schemas"]["user__get_users__Response__UserInstance"][];
|
|
9
9
|
has_more: boolean;
|
|
10
10
|
continuation_token: number | null;
|
|
11
11
|
}>;
|