amigo_sdk 0.89.0__py3-none-any.whl → 0.91.0__py3-none-any.whl
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.
- amigo_sdk/__init__.py +1 -1
- amigo_sdk/generated/model.py +67 -67
- {amigo_sdk-0.89.0.dist-info → amigo_sdk-0.91.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.89.0.dist-info → amigo_sdk-0.91.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.89.0.dist-info → amigo_sdk-0.91.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.89.0.dist-info → amigo_sdk-0.91.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.89.0.dist-info → amigo_sdk-0.91.0.dist-info}/licenses/LICENSE +0 -0
amigo_sdk/__init__.py
CHANGED
amigo_sdk/generated/model.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# generated by datamodel-codegen:
|
|
2
2
|
# filename: <stdin>
|
|
3
|
-
# timestamp: 2025-12-
|
|
3
|
+
# timestamp: 2025-12-14T08:50:01+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -1709,6 +1709,12 @@ AmigoLibMongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo
|
|
|
1709
1709
|
)
|
|
1710
1710
|
|
|
1711
1711
|
|
|
1712
|
+
class AmigoLibMongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
|
|
1713
|
+
major: int = Field(..., title='Major')
|
|
1714
|
+
minor: int = Field(..., title='Minor')
|
|
1715
|
+
patch: int = Field(..., title='Patch')
|
|
1716
|
+
|
|
1717
|
+
|
|
1712
1718
|
class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
|
|
1713
1719
|
user_id: str = Field(..., description='The ID of the user.', title='User Id')
|
|
1714
1720
|
user_org_id: str = Field(
|
|
@@ -1716,12 +1722,6 @@ class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
|
|
|
1716
1722
|
)
|
|
1717
1723
|
|
|
1718
1724
|
|
|
1719
|
-
class AmigoLibMongoCollectionsToolVersionToolVersionVersion(BaseModel):
|
|
1720
|
-
major: int = Field(..., title='Major')
|
|
1721
|
-
minor: int = Field(..., title='Minor')
|
|
1722
|
-
patch: int = Field(..., title='Patch')
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
1725
|
class AmigoLibMongoCollectionsUserUserPreferences(BaseModel):
|
|
1726
1726
|
enable_response_recommendation: Optional[bool] = Field(
|
|
1727
1727
|
False,
|
|
@@ -10757,13 +10757,6 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
|
|
|
10757
10757
|
)
|
|
10758
10758
|
|
|
10759
10759
|
|
|
10760
|
-
class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
|
|
10761
|
-
description: str = Field(..., min_length=1)
|
|
10762
|
-
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10763
|
-
..., title='Tags'
|
|
10764
|
-
)
|
|
10765
|
-
|
|
10766
|
-
|
|
10767
10760
|
class OrganizationCreateOrganizationResponse(BaseModel):
|
|
10768
10761
|
org_id: str = Field(
|
|
10769
10762
|
...,
|
|
@@ -10787,19 +10780,19 @@ class OrganizationCreateServiceHierarchicalStateMachineResponse(BaseModel):
|
|
|
10787
10780
|
)
|
|
10788
10781
|
|
|
10789
10782
|
|
|
10790
|
-
class
|
|
10783
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitConditionNextState(
|
|
10791
10784
|
AnnotationStateInputNextState
|
|
10792
10785
|
):
|
|
10793
10786
|
pass
|
|
10794
10787
|
|
|
10795
10788
|
|
|
10796
|
-
class
|
|
10789
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition(
|
|
10797
10790
|
BaseModel
|
|
10798
10791
|
):
|
|
10799
10792
|
description: str = Field(..., min_length=1)
|
|
10800
10793
|
next_state: Union[
|
|
10801
10794
|
StateOrRefName,
|
|
10802
|
-
|
|
10795
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitConditionNextState,
|
|
10803
10796
|
] = Field(..., title='Next State')
|
|
10804
10797
|
|
|
10805
10798
|
|
|
@@ -10905,22 +10898,18 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
|
|
|
10905
10898
|
)
|
|
10906
10899
|
|
|
10907
10900
|
|
|
10908
|
-
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
10909
|
-
RootModel[List[OrganizationCreateOrganizationRequestUserDimension]]
|
|
10910
|
-
):
|
|
10911
|
-
root: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
10912
|
-
...,
|
|
10913
|
-
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
10914
|
-
min_length=1,
|
|
10915
|
-
title='User Dimensions',
|
|
10916
|
-
)
|
|
10917
|
-
|
|
10918
|
-
|
|
10919
10901
|
OrganizationModifyOrganizationRequestPreferences = (
|
|
10920
10902
|
OrganizationCreateOrganizationRequestPreferences
|
|
10921
10903
|
)
|
|
10922
10904
|
|
|
10923
10905
|
|
|
10906
|
+
class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
|
|
10907
|
+
description: str = Field(..., min_length=1)
|
|
10908
|
+
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10909
|
+
..., title='Tags'
|
|
10910
|
+
)
|
|
10911
|
+
|
|
10912
|
+
|
|
10924
10913
|
class RoleAssignRoleRequest(BaseModel):
|
|
10925
10914
|
user_id: str = Field(
|
|
10926
10915
|
...,
|
|
@@ -12181,7 +12170,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
|
|
|
12181
12170
|
[], description='The IDs of the messages to retrieve.', title='Id'
|
|
12182
12171
|
)
|
|
12183
12172
|
message_type: Optional[List[MessageType]] = Field(
|
|
12184
|
-
['
|
|
12173
|
+
['external-event', 'agent-message', 'user-message'],
|
|
12185
12174
|
description='The type of messages to retrieve.',
|
|
12186
12175
|
title='Message Type',
|
|
12187
12176
|
)
|
|
@@ -14210,7 +14199,7 @@ class ToolVersionInstance(BaseModel):
|
|
|
14210
14199
|
description='The ID of the tool that this version belongs to.',
|
|
14211
14200
|
title='Tool Id',
|
|
14212
14201
|
)
|
|
14213
|
-
version:
|
|
14202
|
+
version: AmigoLibMongoCollectionsToolInvocationToolInvocationVersion = Field(
|
|
14214
14203
|
..., description='The version of the tool.'
|
|
14215
14204
|
)
|
|
14216
14205
|
required_envvars: List[str] = Field(
|
|
@@ -14616,7 +14605,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
|
|
|
14616
14605
|
description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
|
|
14617
14606
|
min_length=1,
|
|
14618
14607
|
)
|
|
14619
|
-
user_dimensions: List[
|
|
14608
|
+
user_dimensions: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14620
14609
|
...,
|
|
14621
14610
|
description='User dimensions for the organization.',
|
|
14622
14611
|
title='User Dimensions',
|
|
@@ -14761,6 +14750,17 @@ class OrganizationGetOrganizationMetricsResponse(BaseModel):
|
|
|
14761
14750
|
)
|
|
14762
14751
|
|
|
14763
14752
|
|
|
14753
|
+
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
14754
|
+
RootModel[List[OrganizationModifyOrganizationRequestUserDimension]]
|
|
14755
|
+
):
|
|
14756
|
+
root: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14757
|
+
...,
|
|
14758
|
+
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
14759
|
+
min_length=1,
|
|
14760
|
+
title='User Dimensions',
|
|
14761
|
+
)
|
|
14762
|
+
|
|
14763
|
+
|
|
14764
14764
|
class OrganizationModifyOrganizationRequest(BaseModel):
|
|
14765
14765
|
title: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14766
14766
|
None,
|
|
@@ -14818,7 +14818,7 @@ class OrganizationModifyOrganizationRequest(BaseModel):
|
|
|
14818
14818
|
)
|
|
14819
14819
|
|
|
14820
14820
|
|
|
14821
|
-
class
|
|
14821
|
+
class RoleCreateRoleRequestPermissionGrant(BaseModel):
|
|
14822
14822
|
action: AmigoLibMongoCollectionsRoleRolePermissionGrantAction = Field(
|
|
14823
14823
|
...,
|
|
14824
14824
|
description='Whether this grant allows or denies the specified access.',
|
|
@@ -14835,6 +14835,29 @@ class RoleModifyRoleRequestPermissionGrant(BaseModel):
|
|
|
14835
14835
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
|
|
14836
14836
|
|
|
14837
14837
|
|
|
14838
|
+
class RoleModifyRoleRequest(BaseModel):
|
|
14839
|
+
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14840
|
+
None,
|
|
14841
|
+
description='A description about the role. Only updated if specified. This field is a mutable field.',
|
|
14842
|
+
)
|
|
14843
|
+
permission_grants: Optional[List[RoleCreateRoleRequestPermissionGrant]] = Field(
|
|
14844
|
+
None,
|
|
14845
|
+
description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
|
|
14846
|
+
title='Permission Grants',
|
|
14847
|
+
)
|
|
14848
|
+
frontend_view: Optional[FrontendView] = Field(
|
|
14849
|
+
None,
|
|
14850
|
+
description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
|
|
14851
|
+
)
|
|
14852
|
+
inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
|
|
14853
|
+
Field(
|
|
14854
|
+
{},
|
|
14855
|
+
description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
|
|
14856
|
+
title='Inherited From',
|
|
14857
|
+
)
|
|
14858
|
+
)
|
|
14859
|
+
|
|
14860
|
+
|
|
14838
14861
|
class ServiceGetServicesResponse(BaseModel):
|
|
14839
14862
|
services: List[ServiceInstance] = Field(
|
|
14840
14863
|
..., description='The services that are found.', title='Services'
|
|
@@ -15121,7 +15144,7 @@ class UserGetUserModelResponse(BaseModel):
|
|
|
15121
15144
|
)
|
|
15122
15145
|
|
|
15123
15146
|
|
|
15124
|
-
class
|
|
15147
|
+
class UserSearchUsersResponseUserInstance(BaseModel):
|
|
15125
15148
|
org_id: str = Field(
|
|
15126
15149
|
...,
|
|
15127
15150
|
description='The ID of the organization that this user belongs to.',
|
|
@@ -15146,12 +15169,6 @@ class UserGetUsersResponseUserInstance(BaseModel):
|
|
|
15146
15169
|
)
|
|
15147
15170
|
|
|
15148
15171
|
|
|
15149
|
-
class UserSearchUsersResponse(BaseModel):
|
|
15150
|
-
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
15151
|
-
..., description='Users in this organization.', title='Users'
|
|
15152
|
-
)
|
|
15153
|
-
|
|
15154
|
-
|
|
15155
15172
|
class WebhookDestinationGetWebhookDeliveriesResponse(BaseModel):
|
|
15156
15173
|
webhook_deliveries: List[WebhookDeliveryInstance] = Field(
|
|
15157
15174
|
..., description='The retrieved webhook deliveries.', title='Webhook Deliveries'
|
|
@@ -15243,7 +15260,7 @@ class ActionStateInput(BaseModel):
|
|
|
15243
15260
|
Field(..., title='Boundary Constraints')
|
|
15244
15261
|
)
|
|
15245
15262
|
exit_conditions: List[
|
|
15246
|
-
|
|
15263
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition
|
|
15247
15264
|
] = Field(..., title='Exit Conditions')
|
|
15248
15265
|
action_tool_call_specs: List[ToolCallSpecInput] = Field(
|
|
15249
15266
|
..., title='Action Tool Call Specs'
|
|
@@ -15352,7 +15369,7 @@ class DecisionStateInput(BaseModel):
|
|
|
15352
15369
|
type: Literal['decision'] = Field(..., title='Type')
|
|
15353
15370
|
name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
|
|
15354
15371
|
exit_conditions: List[
|
|
15355
|
-
|
|
15372
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition
|
|
15356
15373
|
] = Field(..., title='Exit Conditions')
|
|
15357
15374
|
decision_guidelines: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
15358
15375
|
..., title='Decision Guidelines'
|
|
@@ -16010,7 +16027,7 @@ class RoleCreateRoleRequest(BaseModel):
|
|
|
16010
16027
|
description: str = Field(
|
|
16011
16028
|
..., description='A description about the role.', min_length=1
|
|
16012
16029
|
)
|
|
16013
|
-
permission_grants: List[
|
|
16030
|
+
permission_grants: List[RoleCreateRoleRequestPermissionGrant] = Field(
|
|
16014
16031
|
...,
|
|
16015
16032
|
description='A list of permission grants associated with this role.',
|
|
16016
16033
|
title='Permission Grants',
|
|
@@ -16036,29 +16053,6 @@ class RoleGetRolesResponse(BaseModel):
|
|
|
16036
16053
|
)
|
|
16037
16054
|
|
|
16038
16055
|
|
|
16039
|
-
class RoleModifyRoleRequest(BaseModel):
|
|
16040
|
-
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
16041
|
-
None,
|
|
16042
|
-
description='A description about the role. Only updated if specified. This field is a mutable field.',
|
|
16043
|
-
)
|
|
16044
|
-
permission_grants: Optional[List[RoleModifyRoleRequestPermissionGrant]] = Field(
|
|
16045
|
-
None,
|
|
16046
|
-
description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
|
|
16047
|
-
title='Permission Grants',
|
|
16048
|
-
)
|
|
16049
|
-
frontend_view: Optional[FrontendView] = Field(
|
|
16050
|
-
None,
|
|
16051
|
-
description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
|
|
16052
|
-
)
|
|
16053
|
-
inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
|
|
16054
|
-
Field(
|
|
16055
|
-
{},
|
|
16056
|
-
description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
|
|
16057
|
-
title='Inherited From',
|
|
16058
|
-
)
|
|
16059
|
-
)
|
|
16060
|
-
|
|
16061
|
-
|
|
16062
16056
|
class ServiceCreateServiceRequest(BaseModel):
|
|
16063
16057
|
service_hierarchical_state_machine_id: str = Field(
|
|
16064
16058
|
...,
|
|
@@ -16259,7 +16253,7 @@ class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
|
16259
16253
|
tool_id: str = Field(
|
|
16260
16254
|
..., description='The ID of the tool that was invoked.', title='Tool Id'
|
|
16261
16255
|
)
|
|
16262
|
-
tool_version:
|
|
16256
|
+
tool_version: AmigoLibMongoCollectionsToolInvocationToolInvocationVersion = Field(
|
|
16263
16257
|
..., description='The version of the tool that was invoked.'
|
|
16264
16258
|
)
|
|
16265
16259
|
|
|
@@ -16273,7 +16267,7 @@ class ToolSearchToolInvocationsResponse(BaseModel):
|
|
|
16273
16267
|
|
|
16274
16268
|
|
|
16275
16269
|
class UserGetUsersResponse(BaseModel):
|
|
16276
|
-
users: List[
|
|
16270
|
+
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
16277
16271
|
..., description='Users in this organization.', title='Users'
|
|
16278
16272
|
)
|
|
16279
16273
|
has_more: bool = Field(
|
|
@@ -16286,6 +16280,12 @@ class UserGetUsersResponse(BaseModel):
|
|
|
16286
16280
|
)
|
|
16287
16281
|
|
|
16288
16282
|
|
|
16283
|
+
class UserSearchUsersResponse(BaseModel):
|
|
16284
|
+
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
16285
|
+
..., description='Users in this organization.', title='Users'
|
|
16286
|
+
)
|
|
16287
|
+
|
|
16288
|
+
|
|
16289
16289
|
class SimulationUnitTestSetRunInstance(BaseModel):
|
|
16290
16290
|
org_id: str = Field(..., title='Org Id')
|
|
16291
16291
|
id: str = Field(..., title='Id')
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
amigo_sdk/__init__.py,sha256=
|
|
1
|
+
amigo_sdk/__init__.py,sha256=EdXtEYEF9IRNsV36jRztrW_x6L2qnkHmu0CfOZ0-Pno,139
|
|
2
2
|
amigo_sdk/_retry_utils.py,sha256=VbA_Uwv268J80d11R9XfnCjZiV-NwE1aXRsSlRjjRio,2108
|
|
3
3
|
amigo_sdk/auth.py,sha256=WaM9PcEcnaC6CzNsgRKueHkdSAxNbRylzpR_3Q6guQ0,1765
|
|
4
4
|
amigo_sdk/config.py,sha256=0eZIo-hcJ8ODftKAr-mwB-FGJxGO5PT5T4dRpyWPqAg,1491
|
|
@@ -6,13 +6,13 @@ amigo_sdk/errors.py,sha256=Yn12AxIQ6zE9jnGLWO0MUVbBsmw77Kzh82AijyreOkA,4818
|
|
|
6
6
|
amigo_sdk/http_client.py,sha256=tfMXHqMTmlz2ja7aJhOVgbwAiJNlKCzPcK4UGNqXHO8,13488
|
|
7
7
|
amigo_sdk/models.py,sha256=V-G6iL43_ZNOPDcatCJCSszGWGz-nzp_RSyGNm-rBAc,45
|
|
8
8
|
amigo_sdk/sdk_client.py,sha256=5nj8hzjHSFRs9JMNabdYIhQAcFE2G1jI_r7SHVGr9No,6106
|
|
9
|
-
amigo_sdk/generated/model.py,sha256=
|
|
9
|
+
amigo_sdk/generated/model.py,sha256=h51VyTn94b0e6wpXHC00DaRROOzHGmKlyo1pDjxhJ7k,459742
|
|
10
10
|
amigo_sdk/resources/conversation.py,sha256=u4kOx5LPbhX92L41UnmPmaF9TkQA5bGev8N00dMoP9I,14805
|
|
11
11
|
amigo_sdk/resources/organization.py,sha256=yX4UlOHNegRzFW4gCJrCxjiLCAGnGegasjviR1yad_Q,1211
|
|
12
12
|
amigo_sdk/resources/service.py,sha256=t1iA3nS9co-wuR-x5jBhAXXTWfMeGsLwfQcLycwVrCA,1536
|
|
13
13
|
amigo_sdk/resources/user.py,sha256=zikijiuGXgmkBVtrldor6XQGQK6jWXonDvNFuQs6XK4,3472
|
|
14
|
-
amigo_sdk-0.
|
|
15
|
-
amigo_sdk-0.
|
|
16
|
-
amigo_sdk-0.
|
|
17
|
-
amigo_sdk-0.
|
|
18
|
-
amigo_sdk-0.
|
|
14
|
+
amigo_sdk-0.91.0.dist-info/METADATA,sha256=QAWIxow4fHlgsrhxYbY9vBWdVvIESjS9foraPksCEZs,8499
|
|
15
|
+
amigo_sdk-0.91.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
16
|
+
amigo_sdk-0.91.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
17
|
+
amigo_sdk-0.91.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
18
|
+
amigo_sdk-0.91.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|