amigo_sdk 0.91.0__py3-none-any.whl → 0.92.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 +91 -236
- {amigo_sdk-0.91.0.dist-info → amigo_sdk-0.92.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.91.0.dist-info → amigo_sdk-0.92.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.91.0.dist-info → amigo_sdk-0.92.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.91.0.dist-info → amigo_sdk-0.92.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.91.0.dist-info → amigo_sdk-0.92.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-15T02:15:40+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -128,45 +128,6 @@ class Column(BaseModel):
|
|
|
128
128
|
type: str = Field(..., description='The data type of the column.', title='Type')
|
|
129
129
|
|
|
130
130
|
|
|
131
|
-
class ConversationByTimeMetricInputGranularity(Enum):
|
|
132
|
-
hour = 'hour'
|
|
133
|
-
day = 'day'
|
|
134
|
-
week = 'week'
|
|
135
|
-
month = 'month'
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
class ConversationByTimeMetricInput(BaseModel):
|
|
139
|
-
type: Literal['conversation-by-time'] = Field(..., title='Type')
|
|
140
|
-
starts: AwareDatetime = Field(
|
|
141
|
-
...,
|
|
142
|
-
description='The start of the interval to compute the count of conversations in.',
|
|
143
|
-
title='Starts',
|
|
144
|
-
)
|
|
145
|
-
ends: AwareDatetime = Field(
|
|
146
|
-
...,
|
|
147
|
-
description='The end of the interval to compute the count of conversations in.',
|
|
148
|
-
title='Ends',
|
|
149
|
-
)
|
|
150
|
-
granularity: ConversationByTimeMetricInputGranularity = Field(
|
|
151
|
-
...,
|
|
152
|
-
description='The granularity of time to bucket the conversations in. For instance, if set to `hour`, the count of conversations for each hour will be computed.',
|
|
153
|
-
title='Granularity',
|
|
154
|
-
)
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
class ConversationByTimeMetricOutputConversationCount(RootModel[List[Any]]):
|
|
158
|
-
root: List[Any] = Field(..., max_length=2, min_length=2)
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
class ConversationByTimeMetricOutput(BaseModel):
|
|
162
|
-
type: Literal['conversation-by-time'] = Field('conversation-by-time', title='Type')
|
|
163
|
-
conversation_counts: List[ConversationByTimeMetricOutputConversationCount] = Field(
|
|
164
|
-
...,
|
|
165
|
-
description='An array of 2-tuples, where the first element is the start of the time range represented by this tuple, and the second element is the number of conversations in the range `[start, start + granularity)`.',
|
|
166
|
-
title='Conversation Counts',
|
|
167
|
-
)
|
|
168
|
-
|
|
169
|
-
|
|
170
131
|
class ConversationCreatedEvent(BaseModel):
|
|
171
132
|
type: Literal['conversation-created'] = Field('conversation-created', title='Type')
|
|
172
133
|
conversation_id: str = Field(
|
|
@@ -345,10 +306,8 @@ class ExternalStateName(RootModel[str]):
|
|
|
345
306
|
root: str = Field(..., pattern='^[A-Za-z0-9_]+\\.[A-Za-z0-9_]+$')
|
|
346
307
|
|
|
347
308
|
|
|
348
|
-
class ExtractActiveMemoriesAgentActionEventQueriesAndResponse(
|
|
349
|
-
|
|
350
|
-
):
|
|
351
|
-
pass
|
|
309
|
+
class ExtractActiveMemoriesAgentActionEventQueriesAndResponse(RootModel[List[Any]]):
|
|
310
|
+
root: List[Any] = Field(..., max_length=2, min_length=2)
|
|
352
311
|
|
|
353
312
|
|
|
354
313
|
class ExtractActiveMemoriesAgentActionEvent(BaseModel):
|
|
@@ -624,7 +583,7 @@ class NavigateStateMachineExitConditionSelectedEvent(BaseModel):
|
|
|
624
583
|
|
|
625
584
|
|
|
626
585
|
class NavigateStateMachineRecallStateActiveMemoryRetrievedEventQueriesAndResponse(
|
|
627
|
-
|
|
586
|
+
ExtractActiveMemoriesAgentActionEventQueriesAndResponse
|
|
628
587
|
):
|
|
629
588
|
pass
|
|
630
589
|
|
|
@@ -739,7 +698,7 @@ class NavigateStateMachineToolCallStateToolOutputAvailableEvent(BaseModel):
|
|
|
739
698
|
|
|
740
699
|
|
|
741
700
|
class NewMessageEventTranscriptAlignmentItem(
|
|
742
|
-
|
|
701
|
+
ExtractActiveMemoriesAgentActionEventQueriesAndResponse
|
|
743
702
|
):
|
|
744
703
|
pass
|
|
745
704
|
|
|
@@ -1325,82 +1284,6 @@ class ToolVersionInstanceToolRepo(Enum):
|
|
|
1325
1284
|
team = 'team'
|
|
1326
1285
|
|
|
1327
1286
|
|
|
1328
|
-
class TotalARRMetricInput(BaseModel):
|
|
1329
|
-
type: Literal['total-arr'] = Field(..., title='Type')
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
class TotalARRMetricOutput(BaseModel):
|
|
1333
|
-
type: Literal['total-arr'] = Field('total-arr', title='Type')
|
|
1334
|
-
arr_cents: int = Field(
|
|
1335
|
-
..., description='The computed ARR in cents.', title='Arr Cents'
|
|
1336
|
-
)
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
class TotalActiveUserMetricInput(BaseModel):
|
|
1340
|
-
type: Literal['total-active-user'] = Field(..., title='Type')
|
|
1341
|
-
conversation_count_threshold: int = Field(
|
|
1342
|
-
...,
|
|
1343
|
-
description='The number of conversations an user must have had in the time horizon to be considered active.',
|
|
1344
|
-
ge=0,
|
|
1345
|
-
title='Conversation Count Threshold',
|
|
1346
|
-
)
|
|
1347
|
-
starts: AwareDatetime = Field(
|
|
1348
|
-
...,
|
|
1349
|
-
description='The start of the interval to compute active users in.',
|
|
1350
|
-
title='Starts',
|
|
1351
|
-
)
|
|
1352
|
-
ends: AwareDatetime = Field(
|
|
1353
|
-
...,
|
|
1354
|
-
description='The end of the interval to compute active users in.',
|
|
1355
|
-
title='Ends',
|
|
1356
|
-
)
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
class TotalActiveUserMetricOutput(BaseModel):
|
|
1360
|
-
type: Literal['total-active-user'] = Field('total-active-user', title='Type')
|
|
1361
|
-
active_user_count: int = Field(..., title='Active User Count')
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
class TotalConversationCountMetricInput(BaseModel):
|
|
1365
|
-
type: Literal['total-conversation-count'] = Field(..., title='Type')
|
|
1366
|
-
starts: AwareDatetime = Field(
|
|
1367
|
-
...,
|
|
1368
|
-
description='The start of the interval to compute the count of conversations in.',
|
|
1369
|
-
title='Starts',
|
|
1370
|
-
)
|
|
1371
|
-
ends: AwareDatetime = Field(
|
|
1372
|
-
...,
|
|
1373
|
-
description='The end of the interval to compute the count of conversations in.',
|
|
1374
|
-
title='Ends',
|
|
1375
|
-
)
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
class TotalConversationCountMetricOutput(BaseModel):
|
|
1379
|
-
type: Literal['total-conversation-count'] = Field(
|
|
1380
|
-
'total-conversation-count', title='Type'
|
|
1381
|
-
)
|
|
1382
|
-
conversation_count: int = Field(..., title='Conversation Count')
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
class TotalMessageCountMetricInput(BaseModel):
|
|
1386
|
-
type: Literal['total-message-count'] = Field(..., title='Type')
|
|
1387
|
-
starts: AwareDatetime = Field(
|
|
1388
|
-
...,
|
|
1389
|
-
description='The start of the interval to compute the count of messages in.',
|
|
1390
|
-
title='Starts',
|
|
1391
|
-
)
|
|
1392
|
-
ends: AwareDatetime = Field(
|
|
1393
|
-
...,
|
|
1394
|
-
description='The end of the interval to compute the count of messages in.',
|
|
1395
|
-
title='Ends',
|
|
1396
|
-
)
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
class TotalMessageCountMetricOutput(BaseModel):
|
|
1400
|
-
type: Literal['total-message-count'] = Field('total-message-count', title='Type')
|
|
1401
|
-
message_count: int = Field(..., title='Message Count')
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
1287
|
class UnitTestRunSpecScenarioVersionInfo(RootModel[List[Any]]):
|
|
1405
1288
|
root: List[Any] = Field(
|
|
1406
1289
|
...,
|
|
@@ -1635,6 +1518,11 @@ class AmigoLibMongoCollectionsRoleRolePermissionGrantAction(Enum):
|
|
|
1635
1518
|
deny = 'Deny'
|
|
1636
1519
|
|
|
1637
1520
|
|
|
1521
|
+
class AmigoLibMongoCollectionsServiceServiceTag(BaseModel):
|
|
1522
|
+
key: str = Field(..., title='Key')
|
|
1523
|
+
value: Optional[str] = Field(..., title='Value')
|
|
1524
|
+
|
|
1525
|
+
|
|
1638
1526
|
class AmigoLibMongoCollectionsServiceServiceVersionSet(BaseModel):
|
|
1639
1527
|
agent_version_number: Optional[int] = Field(
|
|
1640
1528
|
...,
|
|
@@ -1663,11 +1551,6 @@ AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
|
1663
1551
|
)
|
|
1664
1552
|
|
|
1665
1553
|
|
|
1666
|
-
class AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag(BaseModel):
|
|
1667
|
-
key: str = Field(..., title='Key')
|
|
1668
|
-
value: Optional[str] = Field(..., title='Value')
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
1554
|
AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo = (
|
|
1672
1555
|
AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1673
1556
|
)
|
|
@@ -1686,7 +1569,7 @@ AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo = (
|
|
|
1686
1569
|
|
|
1687
1570
|
|
|
1688
1571
|
class AmigoLibMongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUnitTestRunResultMetricEvaluationResultResult(
|
|
1689
|
-
|
|
1572
|
+
ExtractActiveMemoriesAgentActionEventQueriesAndResponse
|
|
1690
1573
|
):
|
|
1691
1574
|
pass
|
|
1692
1575
|
|
|
@@ -1709,12 +1592,6 @@ AmigoLibMongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo
|
|
|
1709
1592
|
)
|
|
1710
1593
|
|
|
1711
1594
|
|
|
1712
|
-
class AmigoLibMongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
|
|
1713
|
-
major: int = Field(..., title='Major')
|
|
1714
|
-
minor: int = Field(..., title='Minor')
|
|
1715
|
-
patch: int = Field(..., title='Patch')
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
1595
|
class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
|
|
1719
1596
|
user_id: str = Field(..., description='The ID of the user.', title='User Id')
|
|
1720
1597
|
user_org_id: str = Field(
|
|
@@ -1722,6 +1599,12 @@ class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
|
|
|
1722
1599
|
)
|
|
1723
1600
|
|
|
1724
1601
|
|
|
1602
|
+
class AmigoLibMongoCollectionsToolVersionToolVersionVersion(BaseModel):
|
|
1603
|
+
major: int = Field(..., title='Major')
|
|
1604
|
+
minor: int = Field(..., title='Minor')
|
|
1605
|
+
patch: int = Field(..., title='Patch')
|
|
1606
|
+
|
|
1607
|
+
|
|
1725
1608
|
class AmigoLibMongoCollectionsUserUserPreferences(BaseModel):
|
|
1726
1609
|
enable_response_recommendation: Optional[bool] = Field(
|
|
1727
1610
|
False,
|
|
@@ -1965,6 +1848,20 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
|
|
|
1965
1848
|
)
|
|
1966
1849
|
|
|
1967
1850
|
|
|
1851
|
+
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
|
|
1852
|
+
BaseModel
|
|
1853
|
+
):
|
|
1854
|
+
id: str = Field(..., title='Id')
|
|
1855
|
+
name: str = Field(..., title='Name')
|
|
1856
|
+
is_active: bool = Field(..., title='Is Active')
|
|
1857
|
+
applied_to_services: List[str] = Field(..., title='Applied To Services')
|
|
1858
|
+
tags: Dict[str, Optional[str]] = Field(..., title='Tags')
|
|
1859
|
+
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1860
|
+
creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1861
|
+
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1862
|
+
updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1863
|
+
|
|
1864
|
+
|
|
1968
1865
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
1969
1866
|
applied_to_services_ids: List[str] = Field(
|
|
1970
1867
|
...,
|
|
@@ -1985,18 +1882,14 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
|
1985
1882
|
)
|
|
1986
1883
|
|
|
1987
1884
|
|
|
1988
|
-
class
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1997
|
-
creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1998
|
-
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1999
|
-
updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1885
|
+
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
|
|
1886
|
+
dynamic_behavior_sets: List[
|
|
1887
|
+
DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
1888
|
+
] = Field(
|
|
1889
|
+
...,
|
|
1890
|
+
description='The retrieved dynamic behavior sets.',
|
|
1891
|
+
title='Dynamic Behavior Sets',
|
|
1892
|
+
)
|
|
2000
1893
|
|
|
2001
1894
|
|
|
2002
1895
|
class DynamicBehaviorSetUpdateDynamicBehaviorSetRequestAppliedToService(
|
|
@@ -11715,7 +11608,7 @@ class UserGetMemoriesResponse(BaseModel):
|
|
|
11715
11608
|
)
|
|
11716
11609
|
|
|
11717
11610
|
|
|
11718
|
-
class
|
|
11611
|
+
class UserGetUsersResponseUserInstanceUserStats(BaseModel):
|
|
11719
11612
|
num_conversations: int = Field(
|
|
11720
11613
|
...,
|
|
11721
11614
|
description='The number of conversations the user has created.',
|
|
@@ -11821,6 +11714,11 @@ class UserUpdateUserInfoRequest(BaseModel):
|
|
|
11821
11714
|
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. If `null`, the keyterms are not modified.',
|
|
11822
11715
|
title='Audio Keyterms',
|
|
11823
11716
|
)
|
|
11717
|
+
actions_development_enabled: Optional[bool] = Field(
|
|
11718
|
+
None,
|
|
11719
|
+
description='Whether to enable Actions development access for the user. If `null`, the preference is not modified.',
|
|
11720
|
+
title='Actions Development Enabled',
|
|
11721
|
+
)
|
|
11824
11722
|
|
|
11825
11723
|
|
|
11826
11724
|
class WebhookDestinationCreateWebhookDestinationRequest(BaseModel):
|
|
@@ -12170,7 +12068,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
|
|
|
12170
12068
|
[], description='The IDs of the messages to retrieve.', title='Id'
|
|
12171
12069
|
)
|
|
12172
12070
|
message_type: Optional[List[MessageType]] = Field(
|
|
12173
|
-
['
|
|
12071
|
+
['agent-message', 'user-message', 'external-event'],
|
|
12174
12072
|
description='The type of messages to retrieve.',
|
|
12175
12073
|
title='Message Type',
|
|
12176
12074
|
)
|
|
@@ -13976,7 +13874,7 @@ class ServiceInstance(BaseModel):
|
|
|
13976
13874
|
agent_id: str = Field(
|
|
13977
13875
|
..., description='The ID of the agent that this service uses.', title='Agent Id'
|
|
13978
13876
|
)
|
|
13979
|
-
tags: List[
|
|
13877
|
+
tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
|
|
13980
13878
|
..., description='The tags of the service.', title='Tags'
|
|
13981
13879
|
)
|
|
13982
13880
|
|
|
@@ -14029,7 +13927,7 @@ class SimulationUnitTestSet(BaseModel):
|
|
|
14029
13927
|
description='Whether the unit test set has been deleted.',
|
|
14030
13928
|
title='Is Deleted',
|
|
14031
13929
|
)
|
|
14032
|
-
tags: List[
|
|
13930
|
+
tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
|
|
14033
13931
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
14034
13932
|
)
|
|
14035
13933
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -14068,7 +13966,7 @@ class SimulationUnitTestSetInstance(BaseModel):
|
|
|
14068
13966
|
description='Whether the unit test set has been deleted.',
|
|
14069
13967
|
title='Is Deleted',
|
|
14070
13968
|
)
|
|
14071
|
-
tags: List[
|
|
13969
|
+
tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
|
|
14072
13970
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
14073
13971
|
)
|
|
14074
13972
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -14184,7 +14082,7 @@ class ToolInstance(BaseModel):
|
|
|
14184
14082
|
description='A list of encrypted environment variables that some versions of this tool uses.',
|
|
14185
14083
|
title='Secret Envvars',
|
|
14186
14084
|
)
|
|
14187
|
-
tags: List[
|
|
14085
|
+
tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
|
|
14188
14086
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
14189
14087
|
)
|
|
14190
14088
|
|
|
@@ -14199,7 +14097,7 @@ class ToolVersionInstance(BaseModel):
|
|
|
14199
14097
|
description='The ID of the tool that this version belongs to.',
|
|
14200
14098
|
title='Tool Id',
|
|
14201
14099
|
)
|
|
14202
|
-
version:
|
|
14100
|
+
version: AmigoLibMongoCollectionsToolVersionToolVersionVersion = Field(
|
|
14203
14101
|
..., description='The version of the tool.'
|
|
14204
14102
|
)
|
|
14205
14103
|
required_envvars: List[str] = Field(
|
|
@@ -14515,7 +14413,7 @@ class DynamicBehaviorSetGetDynamicBehaviorSetVersionsResponse(BaseModel):
|
|
|
14515
14413
|
|
|
14516
14414
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
14517
14415
|
dynamic_behavior_sets: List[
|
|
14518
|
-
|
|
14416
|
+
DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14519
14417
|
] = Field(
|
|
14520
14418
|
...,
|
|
14521
14419
|
description='The retrieved dynamic behavior sets.',
|
|
@@ -14539,16 +14437,6 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
|
14539
14437
|
)
|
|
14540
14438
|
|
|
14541
14439
|
|
|
14542
|
-
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
|
|
14543
|
-
dynamic_behavior_sets: List[
|
|
14544
|
-
DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14545
|
-
] = Field(
|
|
14546
|
-
...,
|
|
14547
|
-
description='The retrieved dynamic behavior sets.',
|
|
14548
|
-
title='Dynamic Behavior Sets',
|
|
14549
|
-
)
|
|
14550
|
-
|
|
14551
|
-
|
|
14552
14440
|
class MetricCreateMetricRequest(BaseModel):
|
|
14553
14441
|
name: str = Field(
|
|
14554
14442
|
...,
|
|
@@ -14717,39 +14605,6 @@ class OrganizationGetApiKeysResponse(BaseModel):
|
|
|
14717
14605
|
)
|
|
14718
14606
|
|
|
14719
14607
|
|
|
14720
|
-
class OrganizationGetOrganizationMetricsRequest(BaseModel):
|
|
14721
|
-
metrics: List[
|
|
14722
|
-
Union[
|
|
14723
|
-
TotalActiveUserMetricInput,
|
|
14724
|
-
TotalConversationCountMetricInput,
|
|
14725
|
-
TotalMessageCountMetricInput,
|
|
14726
|
-
ConversationByTimeMetricInput,
|
|
14727
|
-
TotalARRMetricInput,
|
|
14728
|
-
]
|
|
14729
|
-
] = Field(
|
|
14730
|
-
...,
|
|
14731
|
-
description='A list of metrics to compute. Each type of metric can only appear once.',
|
|
14732
|
-
min_length=1,
|
|
14733
|
-
title='Metrics',
|
|
14734
|
-
)
|
|
14735
|
-
|
|
14736
|
-
|
|
14737
|
-
class OrganizationGetOrganizationMetricsResponse(BaseModel):
|
|
14738
|
-
metrics: List[
|
|
14739
|
-
Union[
|
|
14740
|
-
TotalActiveUserMetricOutput,
|
|
14741
|
-
TotalConversationCountMetricOutput,
|
|
14742
|
-
TotalMessageCountMetricOutput,
|
|
14743
|
-
ConversationByTimeMetricOutput,
|
|
14744
|
-
TotalARRMetricOutput,
|
|
14745
|
-
]
|
|
14746
|
-
] = Field(
|
|
14747
|
-
...,
|
|
14748
|
-
description='The metrics that were requested, in the same order as they were requested.',
|
|
14749
|
-
title='Metrics',
|
|
14750
|
-
)
|
|
14751
|
-
|
|
14752
|
-
|
|
14753
14608
|
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
14754
14609
|
RootModel[List[OrganizationModifyOrganizationRequestUserDimension]]
|
|
14755
14610
|
):
|
|
@@ -14818,7 +14673,7 @@ class OrganizationModifyOrganizationRequest(BaseModel):
|
|
|
14818
14673
|
)
|
|
14819
14674
|
|
|
14820
14675
|
|
|
14821
|
-
class
|
|
14676
|
+
class RoleModifyRoleRequestPermissionGrant(BaseModel):
|
|
14822
14677
|
action: AmigoLibMongoCollectionsRoleRolePermissionGrantAction = Field(
|
|
14823
14678
|
...,
|
|
14824
14679
|
description='Whether this grant allows or denies the specified access.',
|
|
@@ -14835,29 +14690,6 @@ class RoleCreateRoleRequestPermissionGrant(BaseModel):
|
|
|
14835
14690
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
|
|
14836
14691
|
|
|
14837
14692
|
|
|
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
|
-
|
|
14861
14693
|
class ServiceGetServicesResponse(BaseModel):
|
|
14862
14694
|
services: List[ServiceInstance] = Field(
|
|
14863
14695
|
..., description='The services that are found.', title='Services'
|
|
@@ -15144,7 +14976,7 @@ class UserGetUserModelResponse(BaseModel):
|
|
|
15144
14976
|
)
|
|
15145
14977
|
|
|
15146
14978
|
|
|
15147
|
-
class
|
|
14979
|
+
class UserGetUsersResponseUserInstance(BaseModel):
|
|
15148
14980
|
org_id: str = Field(
|
|
15149
14981
|
...,
|
|
15150
14982
|
description='The ID of the organization that this user belongs to.',
|
|
@@ -15160,7 +14992,7 @@ class UserSearchUsersResponseUserInstance(BaseModel):
|
|
|
15160
14992
|
..., description='The last name of the user.', title='Last Name'
|
|
15161
14993
|
)
|
|
15162
14994
|
email: str = Field(..., description='Email of the user.', title='Email')
|
|
15163
|
-
user_stats:
|
|
14995
|
+
user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
|
|
15164
14996
|
..., description="Statistics about the user's usage of the Amigo platform."
|
|
15165
14997
|
)
|
|
15166
14998
|
role: str = Field(..., description='The ID of the role of the user.', title='Role')
|
|
@@ -15169,6 +15001,12 @@ class UserSearchUsersResponseUserInstance(BaseModel):
|
|
|
15169
15001
|
)
|
|
15170
15002
|
|
|
15171
15003
|
|
|
15004
|
+
class UserSearchUsersResponse(BaseModel):
|
|
15005
|
+
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
15006
|
+
..., description='Users in this organization.', title='Users'
|
|
15007
|
+
)
|
|
15008
|
+
|
|
15009
|
+
|
|
15172
15010
|
class WebhookDestinationGetWebhookDeliveriesResponse(BaseModel):
|
|
15173
15011
|
webhook_deliveries: List[WebhookDeliveryInstance] = Field(
|
|
15174
15012
|
..., description='The retrieved webhook deliveries.', title='Webhook Deliveries'
|
|
@@ -15410,7 +15248,7 @@ class Metric(BaseModel):
|
|
|
15410
15248
|
additional_notes: Optional[str] = Field(
|
|
15411
15249
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15412
15250
|
)
|
|
15413
|
-
tags: List[
|
|
15251
|
+
tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
|
|
15414
15252
|
..., description='The tags of the metric.', title='Tags'
|
|
15415
15253
|
)
|
|
15416
15254
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15480,7 +15318,7 @@ class MetricInstance(BaseModel):
|
|
|
15480
15318
|
additional_notes: Optional[str] = Field(
|
|
15481
15319
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15482
15320
|
)
|
|
15483
|
-
tags: List[
|
|
15321
|
+
tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
|
|
15484
15322
|
..., description='The tags of the metric.', title='Tags'
|
|
15485
15323
|
)
|
|
15486
15324
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15682,7 +15520,7 @@ class SimulationUnitTest(BaseModel):
|
|
|
15682
15520
|
is_deleted: bool = Field(
|
|
15683
15521
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15684
15522
|
)
|
|
15685
|
-
tags: List[
|
|
15523
|
+
tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
|
|
15686
15524
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15687
15525
|
)
|
|
15688
15526
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -15727,7 +15565,7 @@ class SimulationUnitTestInstance(BaseModel):
|
|
|
15727
15565
|
is_deleted: bool = Field(
|
|
15728
15566
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15729
15567
|
)
|
|
15730
|
-
tags: List[
|
|
15568
|
+
tags: List[AmigoLibMongoCollectionsServiceServiceTag] = Field(
|
|
15731
15569
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15732
15570
|
)
|
|
15733
15571
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -16027,7 +15865,7 @@ class RoleCreateRoleRequest(BaseModel):
|
|
|
16027
15865
|
description: str = Field(
|
|
16028
15866
|
..., description='A description about the role.', min_length=1
|
|
16029
15867
|
)
|
|
16030
|
-
permission_grants: List[
|
|
15868
|
+
permission_grants: List[RoleModifyRoleRequestPermissionGrant] = Field(
|
|
16031
15869
|
...,
|
|
16032
15870
|
description='A list of permission grants associated with this role.',
|
|
16033
15871
|
title='Permission Grants',
|
|
@@ -16053,6 +15891,29 @@ class RoleGetRolesResponse(BaseModel):
|
|
|
16053
15891
|
)
|
|
16054
15892
|
|
|
16055
15893
|
|
|
15894
|
+
class RoleModifyRoleRequest(BaseModel):
|
|
15895
|
+
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
15896
|
+
None,
|
|
15897
|
+
description='A description about the role. Only updated if specified. This field is a mutable field.',
|
|
15898
|
+
)
|
|
15899
|
+
permission_grants: Optional[List[RoleModifyRoleRequestPermissionGrant]] = Field(
|
|
15900
|
+
None,
|
|
15901
|
+
description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
|
|
15902
|
+
title='Permission Grants',
|
|
15903
|
+
)
|
|
15904
|
+
frontend_view: Optional[FrontendView] = Field(
|
|
15905
|
+
None,
|
|
15906
|
+
description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
|
|
15907
|
+
)
|
|
15908
|
+
inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
|
|
15909
|
+
Field(
|
|
15910
|
+
{},
|
|
15911
|
+
description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
|
|
15912
|
+
title='Inherited From',
|
|
15913
|
+
)
|
|
15914
|
+
)
|
|
15915
|
+
|
|
15916
|
+
|
|
16056
15917
|
class ServiceCreateServiceRequest(BaseModel):
|
|
16057
15918
|
service_hierarchical_state_machine_id: str = Field(
|
|
16058
15919
|
...,
|
|
@@ -16253,7 +16114,7 @@ class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
|
16253
16114
|
tool_id: str = Field(
|
|
16254
16115
|
..., description='The ID of the tool that was invoked.', title='Tool Id'
|
|
16255
16116
|
)
|
|
16256
|
-
tool_version:
|
|
16117
|
+
tool_version: AmigoLibMongoCollectionsToolVersionToolVersionVersion = Field(
|
|
16257
16118
|
..., description='The version of the tool that was invoked.'
|
|
16258
16119
|
)
|
|
16259
16120
|
|
|
@@ -16267,7 +16128,7 @@ class ToolSearchToolInvocationsResponse(BaseModel):
|
|
|
16267
16128
|
|
|
16268
16129
|
|
|
16269
16130
|
class UserGetUsersResponse(BaseModel):
|
|
16270
|
-
users: List[
|
|
16131
|
+
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
16271
16132
|
..., description='Users in this organization.', title='Users'
|
|
16272
16133
|
)
|
|
16273
16134
|
has_more: bool = Field(
|
|
@@ -16280,12 +16141,6 @@ class UserGetUsersResponse(BaseModel):
|
|
|
16280
16141
|
)
|
|
16281
16142
|
|
|
16282
16143
|
|
|
16283
|
-
class UserSearchUsersResponse(BaseModel):
|
|
16284
|
-
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
16285
|
-
..., description='Users in this organization.', title='Users'
|
|
16286
|
-
)
|
|
16287
|
-
|
|
16288
|
-
|
|
16289
16144
|
class SimulationUnitTestSetRunInstance(BaseModel):
|
|
16290
16145
|
org_id: str = Field(..., title='Org Id')
|
|
16291
16146
|
id: str = Field(..., title='Id')
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
amigo_sdk/__init__.py,sha256=
|
|
1
|
+
amigo_sdk/__init__.py,sha256=_-KncYKnvsdmQgLvtUfo0Nts6Ti77hmOpAVddK1uavE,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=JKajQhqIWAtaNWGEFpTWgKiso8_jNtuHINQEGRHwl1Q,454821
|
|
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.92.0.dist-info/METADATA,sha256=UdzzI6jfIOFjlFuwKYlq169EwAu8RVDnxzWpKu49Now,8499
|
|
15
|
+
amigo_sdk-0.92.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
16
|
+
amigo_sdk-0.92.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
17
|
+
amigo_sdk-0.92.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
18
|
+
amigo_sdk-0.92.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|