@amigo-ai/sdk 0.79.0 → 0.81.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__DecisionState__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__DecisionState__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"];
|
|
@@ -2962,12 +2962,6 @@ export interface components {
|
|
|
2962
2962
|
* @enum {string}
|
|
2963
2963
|
*/
|
|
2964
2964
|
type: "engage-user-dynamic-behavior-override";
|
|
2965
|
-
/**
|
|
2966
|
-
* Overriding
|
|
2967
|
-
* @deprecated
|
|
2968
|
-
* @description Whether the dynamic behavior set's instructions are overriding the existing instructions of the current state.
|
|
2969
|
-
*/
|
|
2970
|
-
overriding: boolean;
|
|
2971
2965
|
/**
|
|
2972
2966
|
* Overriding Instructions
|
|
2973
2967
|
* @description Whether the dynamic behavior set is overriding instructions during this interaction.
|
|
@@ -3474,7 +3468,7 @@ export interface components {
|
|
|
3474
3468
|
* Tags
|
|
3475
3469
|
* @description The tags of the metric.
|
|
3476
3470
|
*/
|
|
3477
|
-
tags: components["schemas"]["
|
|
3471
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
|
|
3478
3472
|
/** @description The user who created the metric. */
|
|
3479
3473
|
creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
|
|
3480
3474
|
/** @description The user who last updated the metric. */
|
|
@@ -3579,7 +3573,7 @@ export interface components {
|
|
|
3579
3573
|
* Tags
|
|
3580
3574
|
* @description The tags of the metric.
|
|
3581
3575
|
*/
|
|
3582
|
-
tags: components["schemas"]["
|
|
3576
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
|
|
3583
3577
|
/** @description The user who created the metric. */
|
|
3584
3578
|
creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
|
|
3585
3579
|
/** @description The user who last updated the metric. */
|
|
@@ -4431,7 +4425,7 @@ export interface components {
|
|
|
4431
4425
|
* Tags
|
|
4432
4426
|
* @description The tags of the service.
|
|
4433
4427
|
*/
|
|
4434
|
-
tags: components["schemas"]["
|
|
4428
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
|
|
4435
4429
|
};
|
|
4436
4430
|
/** SimulationConversationInvocationSource */
|
|
4437
4431
|
SimulationConversationInvocationSource: {
|
|
@@ -4641,7 +4635,7 @@ export interface components {
|
|
|
4641
4635
|
* Tags
|
|
4642
4636
|
* @description The tags of the simulation persona.
|
|
4643
4637
|
*/
|
|
4644
|
-
tags: components["schemas"]["
|
|
4638
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
|
|
4645
4639
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4646
4640
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4647
4641
|
};
|
|
@@ -4713,7 +4707,7 @@ export interface components {
|
|
|
4713
4707
|
* Tags
|
|
4714
4708
|
* @description The tags of the simulation persona.
|
|
4715
4709
|
*/
|
|
4716
|
-
tags: components["schemas"]["
|
|
4710
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
|
|
4717
4711
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4718
4712
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4719
4713
|
};
|
|
@@ -4768,7 +4762,7 @@ export interface components {
|
|
|
4768
4762
|
* Tags
|
|
4769
4763
|
* @description The tags of the simulation unit test set.
|
|
4770
4764
|
*/
|
|
4771
|
-
tags: components["schemas"]["
|
|
4765
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
|
|
4772
4766
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4773
4767
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4774
4768
|
};
|
|
@@ -4820,7 +4814,7 @@ export interface components {
|
|
|
4820
4814
|
* Tags
|
|
4821
4815
|
* @description The tags of the simulation unit test set.
|
|
4822
4816
|
*/
|
|
4823
|
-
tags: components["schemas"]["
|
|
4817
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
|
|
4824
4818
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4825
4819
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4826
4820
|
};
|
|
@@ -5282,7 +5276,7 @@ export interface components {
|
|
|
5282
5276
|
* Tags
|
|
5283
5277
|
* @description The tags of the simulation persona.
|
|
5284
5278
|
*/
|
|
5285
|
-
tags: components["schemas"]["
|
|
5279
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__tool__Tool__Tag"][];
|
|
5286
5280
|
};
|
|
5287
5281
|
/** ToolVersionInstance */
|
|
5288
5282
|
ToolVersionInstance: {
|
|
@@ -5784,13 +5778,6 @@ export interface components {
|
|
|
5784
5778
|
*/
|
|
5785
5779
|
tool_name: string;
|
|
5786
5780
|
};
|
|
5787
|
-
/** Tag */
|
|
5788
|
-
amigo_lib__mongo__collections__metric__Metric__Tag: {
|
|
5789
|
-
/** Key */
|
|
5790
|
-
key: string;
|
|
5791
|
-
/** Value */
|
|
5792
|
-
value: string | null;
|
|
5793
|
-
};
|
|
5794
5781
|
/** UserInfo */
|
|
5795
5782
|
amigo_lib__mongo__collections__metric__Metric__UserInfo: {
|
|
5796
5783
|
/** Org Id */
|
|
@@ -5956,6 +5943,13 @@ export interface components {
|
|
|
5956
5943
|
/** User Id */
|
|
5957
5944
|
user_id: string;
|
|
5958
5945
|
};
|
|
5946
|
+
/** Tag */
|
|
5947
|
+
amigo_lib__mongo__collections__tool__Tool__Tag: {
|
|
5948
|
+
/** Key */
|
|
5949
|
+
key: string;
|
|
5950
|
+
/** Value */
|
|
5951
|
+
value: string | null;
|
|
5952
|
+
};
|
|
5959
5953
|
/** UserInfo */
|
|
5960
5954
|
amigo_lib__mongo__collections__tool_version__ToolVersion__UserInfo: {
|
|
5961
5955
|
/**
|
|
@@ -6491,7 +6485,7 @@ export interface components {
|
|
|
6491
6485
|
* Dynamic Behavior Sets
|
|
6492
6486
|
* @description The retrieved dynamic behavior sets.
|
|
6493
6487
|
*/
|
|
6494
|
-
dynamic_behavior_sets: components["schemas"]["
|
|
6488
|
+
dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
|
|
6495
6489
|
/**
|
|
6496
6490
|
* Has More
|
|
6497
6491
|
* @description Whether there are more dynamic behavior sets to retrieve.
|
|
@@ -6508,8 +6502,34 @@ export interface components {
|
|
|
6508
6502
|
* retrieved. */
|
|
6509
6503
|
filter_values: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues"] | null;
|
|
6510
6504
|
};
|
|
6505
|
+
/** FilterValues */
|
|
6506
|
+
dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
|
|
6507
|
+
/**
|
|
6508
|
+
* Applied To Services Ids
|
|
6509
|
+
* @description A set of service IDs that have dynamic behavior sets applied to the service.
|
|
6510
|
+
*/
|
|
6511
|
+
applied_to_services_ids: string[];
|
|
6512
|
+
/**
|
|
6513
|
+
* Creators
|
|
6514
|
+
* @description A set of creator infos that created the dynamic behavior sets under the current filters.
|
|
6515
|
+
*/
|
|
6516
|
+
creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
|
|
6517
|
+
/**
|
|
6518
|
+
* Tags
|
|
6519
|
+
* @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
|
|
6520
|
+
*/
|
|
6521
|
+
tags: string[];
|
|
6522
|
+
};
|
|
6523
|
+
/** Response */
|
|
6524
|
+
dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
|
|
6525
|
+
/**
|
|
6526
|
+
* Dynamic Behavior Sets
|
|
6527
|
+
* @description The retrieved dynamic behavior sets.
|
|
6528
|
+
*/
|
|
6529
|
+
dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
|
|
6530
|
+
};
|
|
6511
6531
|
/** DynamicBehaviorSetInstance */
|
|
6512
|
-
|
|
6532
|
+
dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
|
|
6513
6533
|
/** Id */
|
|
6514
6534
|
id: string;
|
|
6515
6535
|
/** Name */
|
|
@@ -6535,32 +6555,6 @@ export interface components {
|
|
|
6535
6555
|
updated_at: string;
|
|
6536
6556
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"];
|
|
6537
6557
|
};
|
|
6538
|
-
/** FilterValues */
|
|
6539
|
-
dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
|
|
6540
|
-
/**
|
|
6541
|
-
* Applied To Services Ids
|
|
6542
|
-
* @description A set of service IDs that have dynamic behavior sets applied to the service.
|
|
6543
|
-
*/
|
|
6544
|
-
applied_to_services_ids: string[];
|
|
6545
|
-
/**
|
|
6546
|
-
* Creators
|
|
6547
|
-
* @description A set of creator infos that created the dynamic behavior sets under the current filters.
|
|
6548
|
-
*/
|
|
6549
|
-
creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
|
|
6550
|
-
/**
|
|
6551
|
-
* Tags
|
|
6552
|
-
* @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
|
|
6553
|
-
*/
|
|
6554
|
-
tags: string[];
|
|
6555
|
-
};
|
|
6556
|
-
/** Response */
|
|
6557
|
-
dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
|
|
6558
|
-
/**
|
|
6559
|
-
* Dynamic Behavior Sets
|
|
6560
|
-
* @description The retrieved dynamic behavior sets.
|
|
6561
|
-
*/
|
|
6562
|
-
dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
|
|
6563
|
-
};
|
|
6564
6558
|
/** Request */
|
|
6565
6559
|
dynamic_behavior_set__update_dynamic_behavior_set__Request: {
|
|
6566
6560
|
/** @description The name of the dynamic behavior set. */
|
|
@@ -7025,7 +7019,7 @@ export interface components {
|
|
|
7025
7019
|
global_boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
7026
7020
|
};
|
|
7027
7021
|
/** ExitCondition */
|
|
7028
|
-
|
|
7022
|
+
organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition: {
|
|
7029
7023
|
description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
7030
7024
|
/** Next State */
|
|
7031
7025
|
next_state: components["schemas"]["StateOrRefName"] | [
|
|
@@ -7400,10 +7394,29 @@ export interface components {
|
|
|
7400
7394
|
* Permission Grants
|
|
7401
7395
|
* @description A list of permission grants associated with this role.
|
|
7402
7396
|
*/
|
|
7403
|
-
permission_grants: components["schemas"]["
|
|
7397
|
+
permission_grants: components["schemas"]["role__create_role__Request__PermissionGrant"][];
|
|
7404
7398
|
/** @description The frontend view for users of this role. */
|
|
7405
7399
|
frontend_view: components["schemas"]["FrontendView"];
|
|
7406
7400
|
};
|
|
7401
|
+
/** PermissionGrant */
|
|
7402
|
+
role__create_role__Request__PermissionGrant: {
|
|
7403
|
+
/**
|
|
7404
|
+
* Action
|
|
7405
|
+
* @description Whether this grant allows or denies the specified access.
|
|
7406
|
+
* @enum {string}
|
|
7407
|
+
*/
|
|
7408
|
+
action: "Allow" | "Deny";
|
|
7409
|
+
/** Permission Name */
|
|
7410
|
+
permission_name: string;
|
|
7411
|
+
/**
|
|
7412
|
+
* Conditions
|
|
7413
|
+
* @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
|
|
7414
|
+
*/
|
|
7415
|
+
conditions: {
|
|
7416
|
+
[key: string]: components["schemas"]["Condition"];
|
|
7417
|
+
};
|
|
7418
|
+
description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
|
|
7419
|
+
};
|
|
7407
7420
|
/** Response */
|
|
7408
7421
|
role__create_role__Response: {
|
|
7409
7422
|
/**
|
|
@@ -7428,29 +7441,10 @@ export interface components {
|
|
|
7428
7441
|
* Permission Grants
|
|
7429
7442
|
* @description A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.
|
|
7430
7443
|
*/
|
|
7431
|
-
permission_grants?: components["schemas"]["
|
|
7444
|
+
permission_grants?: components["schemas"]["role__create_role__Request__PermissionGrant"][] | null;
|
|
7432
7445
|
/** @description The frontend view for the user of this role. Only updated if specified. This field is an immutable field. */
|
|
7433
7446
|
frontend_view?: components["schemas"]["FrontendView"] | null;
|
|
7434
7447
|
};
|
|
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
7448
|
/** Response */
|
|
7455
7449
|
role__modify_role__Response: {
|
|
7456
7450
|
/**
|
|
@@ -8718,7 +8712,7 @@ export interface components {
|
|
|
8718
8712
|
* Users
|
|
8719
8713
|
* @description Users in this organization.
|
|
8720
8714
|
*/
|
|
8721
|
-
users: components["schemas"]["
|
|
8715
|
+
users: components["schemas"]["user__get_users__Response__UserInstance"][];
|
|
8722
8716
|
/**
|
|
8723
8717
|
* Has More
|
|
8724
8718
|
* @description Whether there are more users to retrieve.
|
|
@@ -8730,34 +8724,8 @@ export interface components {
|
|
|
8730
8724
|
*/
|
|
8731
8725
|
continuation_token: number | null;
|
|
8732
8726
|
};
|
|
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
|
-
};
|
|
8759
8727
|
/** UserInstance */
|
|
8760
|
-
|
|
8728
|
+
user__get_users__Response__UserInstance: {
|
|
8761
8729
|
/**
|
|
8762
8730
|
* Org Id
|
|
8763
8731
|
* @description The ID of the organization that this user belongs to.
|
|
@@ -8784,7 +8752,7 @@ export interface components {
|
|
|
8784
8752
|
*/
|
|
8785
8753
|
email: string;
|
|
8786
8754
|
/** @description Statistics about the user's usage of the Amigo platform. */
|
|
8787
|
-
user_stats: components["schemas"]["
|
|
8755
|
+
user_stats: components["schemas"]["user__search_users__Response__UserInstance__UserStats"];
|
|
8788
8756
|
/**
|
|
8789
8757
|
* Role
|
|
8790
8758
|
* @description The ID of the role of the user.
|
|
@@ -8793,6 +8761,32 @@ export interface components {
|
|
|
8793
8761
|
/** @description The preferences of the user. */
|
|
8794
8762
|
preferences: components["schemas"]["amigo_lib__mongo__collections__user__User__Preferences"];
|
|
8795
8763
|
};
|
|
8764
|
+
/** Response */
|
|
8765
|
+
user__search_users__Response: {
|
|
8766
|
+
/**
|
|
8767
|
+
* Users
|
|
8768
|
+
* @description Users in this organization.
|
|
8769
|
+
*/
|
|
8770
|
+
users: components["schemas"]["user__get_users__Response__UserInstance"][];
|
|
8771
|
+
};
|
|
8772
|
+
/** UserStats */
|
|
8773
|
+
user__search_users__Response__UserInstance__UserStats: {
|
|
8774
|
+
/**
|
|
8775
|
+
* Num Conversations
|
|
8776
|
+
* @description The number of conversations the user has created.
|
|
8777
|
+
*/
|
|
8778
|
+
num_conversations: number;
|
|
8779
|
+
/**
|
|
8780
|
+
* Num Messages
|
|
8781
|
+
* @description The number of messages the user has sent and received.
|
|
8782
|
+
*/
|
|
8783
|
+
num_messages: number;
|
|
8784
|
+
/**
|
|
8785
|
+
* Last Message Time
|
|
8786
|
+
* @description The time of the last message the user sent or received. If `None`, the user hasn't started any conversations.
|
|
8787
|
+
*/
|
|
8788
|
+
last_message_time: string | null;
|
|
8789
|
+
};
|
|
8796
8790
|
/** SigninWithAPIKeyResponse */
|
|
8797
8791
|
user__sign_in_with_api_key__Response: {
|
|
8798
8792
|
/**
|
|
@@ -5,7 +5,7 @@ export declare class UserResource {
|
|
|
5
5
|
private orgId;
|
|
6
6
|
constructor(c: AmigoFetch, orgId: string);
|
|
7
7
|
getUsers(queryParams?: operations['get-users']['parameters']['query'], headers?: operations['get-users']['parameters']['header']): Promise<{
|
|
8
|
-
users: components["schemas"]["
|
|
8
|
+
users: components["schemas"]["user__get_users__Response__UserInstance"][];
|
|
9
9
|
has_more: boolean;
|
|
10
10
|
continuation_token: number | null;
|
|
11
11
|
}>;
|