amigo_sdk 0.106.0__py3-none-any.whl → 0.107.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 +382 -259
- {amigo_sdk-0.106.0.dist-info → amigo_sdk-0.107.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.106.0.dist-info → amigo_sdk-0.107.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.106.0.dist-info → amigo_sdk-0.107.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.106.0.dist-info → amigo_sdk-0.107.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.106.0.dist-info → amigo_sdk-0.107.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: 2026-
|
|
3
|
+
# timestamp: 2026-02-03T17:12:14+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -463,11 +463,12 @@ class JumpbackStateTransitionLog(BaseModel):
|
|
|
463
463
|
|
|
464
464
|
class LLMType(Enum):
|
|
465
465
|
azure_gpt_4_1_2025_04_14 = 'azure_gpt-4.1-2025-04-14'
|
|
466
|
+
openai_gpt_4_1_2025_04_14 = 'openai_gpt-4.1-2025-04-14'
|
|
466
467
|
azure_gpt_4_1_mini_2025_04_14 = 'azure_gpt-4.1-mini-2025-04-14'
|
|
467
|
-
azure_gpt_5_2025_08_07 = 'azure_gpt-5-2025-08-07'
|
|
468
|
-
azure_gpt_5_mini_2025_08_07 = 'azure_gpt-5-mini-2025-08-07'
|
|
469
468
|
azure_gpt_5_nano_2025_08_07 = 'azure_gpt-5-nano-2025-08-07'
|
|
470
469
|
azure_gpt_5_1_2025_11_13 = 'azure_gpt-5.1-2025-11-13'
|
|
470
|
+
azure_gpt_5_2_2025_12_11 = 'azure_gpt-5.2-2025-12-11'
|
|
471
|
+
openai_gpt_5_2_2025_12_11 = 'openai_gpt-5.2-2025-12-11'
|
|
471
472
|
google_claude_sonnet_4_5_20250929 = 'google_claude-sonnet-4-5@20250929'
|
|
472
473
|
aws_claude_sonnet_4_5_20250929 = 'aws_claude-sonnet-4-5-20250929'
|
|
473
474
|
google_gemini_2_5_pro = 'google_gemini-2.5-pro'
|
|
@@ -769,6 +770,10 @@ class Prompt(BaseModel):
|
|
|
769
770
|
)
|
|
770
771
|
|
|
771
772
|
|
|
773
|
+
class Queries(RootModel[list[str]]):
|
|
774
|
+
root: list[str] = Field(..., min_length=1, title='Queries')
|
|
775
|
+
|
|
776
|
+
|
|
772
777
|
class NextState4(RootModel[tuple[str, str]]):
|
|
773
778
|
root: tuple[str, str] = Field(
|
|
774
779
|
...,
|
|
@@ -1009,10 +1014,6 @@ class StateTransitionInvocationMetadata(BaseModel):
|
|
|
1009
1014
|
)
|
|
1010
1015
|
|
|
1011
1016
|
|
|
1012
|
-
class StrippedNonemptyString(RootModel[str]):
|
|
1013
|
-
root: str = Field(..., max_length=512, min_length=1, pattern='^[^/]+$')
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
1017
|
class StrippedNonemptyStringWS(RootModel[str]):
|
|
1017
1018
|
root: str = Field(..., min_length=1, pattern='^[\\w\\s]+$')
|
|
1018
1019
|
|
|
@@ -1212,6 +1213,12 @@ class UserMessageAvailableEvent(BaseModel):
|
|
|
1212
1213
|
)
|
|
1213
1214
|
|
|
1214
1215
|
|
|
1216
|
+
class ValidationError(BaseModel):
|
|
1217
|
+
loc: list[str | int] = Field(..., title='Location')
|
|
1218
|
+
msg: str = Field(..., title='Message')
|
|
1219
|
+
type: str = Field(..., title='Error Type')
|
|
1220
|
+
|
|
1221
|
+
|
|
1215
1222
|
class Verb(Enum):
|
|
1216
1223
|
field__ = '=='
|
|
1217
1224
|
field___1 = '!='
|
|
@@ -1225,6 +1232,15 @@ class VersionComponent(RootModel[int | Literal['latest']]):
|
|
|
1225
1232
|
root: int | Literal['latest']
|
|
1226
1233
|
|
|
1227
1234
|
|
|
1235
|
+
class VoiceConfigInstance(BaseModel):
|
|
1236
|
+
voice_id: str = Field(
|
|
1237
|
+
..., description='The Cartesia voice ID for this agent.', title='Voice Id'
|
|
1238
|
+
)
|
|
1239
|
+
stability: float | None = Field(0, title='Stability')
|
|
1240
|
+
similarity_boost: float | None = Field(0, title='Similarity Boost')
|
|
1241
|
+
style: float | None = Field(0, title='Style')
|
|
1242
|
+
|
|
1243
|
+
|
|
1228
1244
|
class WebhookDeliveryStatus(Enum):
|
|
1229
1245
|
success = 'success'
|
|
1230
1246
|
failed = 'failed'
|
|
@@ -1309,27 +1325,6 @@ class MongoCollectionsAgentAgentIdentityRelationshipToDeveloper(BaseModel):
|
|
|
1309
1325
|
)
|
|
1310
1326
|
|
|
1311
1327
|
|
|
1312
|
-
class MongoCollectionsAgentAgentVoiceConfig(BaseModel):
|
|
1313
|
-
voice_id: str = Field(
|
|
1314
|
-
..., description='The Elevenlabs voice ID for this agent.', title='Voice Id'
|
|
1315
|
-
)
|
|
1316
|
-
stability: float = Field(
|
|
1317
|
-
...,
|
|
1318
|
-
description='How stable the voice is and the randomness between each generation. The higher the more stable the voice is.',
|
|
1319
|
-
title='Stability',
|
|
1320
|
-
)
|
|
1321
|
-
similarity_boost: float = Field(
|
|
1322
|
-
...,
|
|
1323
|
-
description='How closely the AI should adhere to the original voice when attempting to replicate it. The higher the more similar the generated audio is to the\noriginal voice.',
|
|
1324
|
-
title='Similarity Boost',
|
|
1325
|
-
)
|
|
1326
|
-
style: float = Field(
|
|
1327
|
-
...,
|
|
1328
|
-
description='How much to exaggerate the original voice styles of the speaker. The higher the more exaggeration there is.',
|
|
1329
|
-
title='Style',
|
|
1330
|
-
)
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
1328
|
class MongoCollectionsApiKeyAPIKeyUserInfo(BaseModel):
|
|
1334
1329
|
user_id: str = Field(
|
|
1335
1330
|
..., description='The user ID of the creator of this key.', title='User Id'
|
|
@@ -1393,11 +1388,6 @@ class MongoCollectionsMetricEvaluationResultMetricEvaluationResultManualEvaluati
|
|
|
1393
1388
|
pass
|
|
1394
1389
|
|
|
1395
1390
|
|
|
1396
|
-
class Action(Enum):
|
|
1397
|
-
allow = 'Allow'
|
|
1398
|
-
deny = 'Deny'
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
1391
|
class MongoCollectionsServiceServiceVersionSet(BaseModel):
|
|
1402
1392
|
agent_version_number: int | None = Field(
|
|
1403
1393
|
...,
|
|
@@ -1464,11 +1454,6 @@ class MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo(
|
|
|
1464
1454
|
pass
|
|
1465
1455
|
|
|
1466
1456
|
|
|
1467
|
-
class MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag(BaseModel):
|
|
1468
|
-
key: str = Field(..., title='Key')
|
|
1469
|
-
value: str | None = Field(..., title='Value')
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
1457
|
class MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUnitTestRunDescriptor(
|
|
1473
1458
|
BaseModel
|
|
1474
1459
|
):
|
|
@@ -1503,6 +1488,17 @@ class MongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo(
|
|
|
1503
1488
|
pass
|
|
1504
1489
|
|
|
1505
1490
|
|
|
1491
|
+
class MongoCollectionsTemporaryPermissionGrantTemporaryPermissionGrantUserInfo(
|
|
1492
|
+
MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1493
|
+
):
|
|
1494
|
+
pass
|
|
1495
|
+
|
|
1496
|
+
|
|
1497
|
+
class MongoCollectionsToolToolTag(BaseModel):
|
|
1498
|
+
key: str = Field(..., title='Key')
|
|
1499
|
+
value: str | None = Field(..., title='Value')
|
|
1500
|
+
|
|
1501
|
+
|
|
1506
1502
|
class MongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
|
|
1507
1503
|
major: int = Field(..., title='Major')
|
|
1508
1504
|
minor: int = Field(..., title='Minor')
|
|
@@ -1743,7 +1739,7 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionChangeToolC
|
|
|
1743
1739
|
description="Additional instruction to be supplied to the LLM in addition to the tool's description.",
|
|
1744
1740
|
min_length=1,
|
|
1745
1741
|
)
|
|
1746
|
-
audio_fillers: list[
|
|
1742
|
+
audio_fillers: list[PydanticBaseModelStrippedNonemptyString1] = Field(
|
|
1747
1743
|
...,
|
|
1748
1744
|
description='A list of audio fillers to play in audio mode if the tool is taking a long time.',
|
|
1749
1745
|
max_length=5,
|
|
@@ -1767,18 +1763,6 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionChangeToolC
|
|
|
1767
1763
|
)
|
|
1768
1764
|
|
|
1769
1765
|
|
|
1770
|
-
class DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionInjectInstructionAction(
|
|
1771
|
-
BaseModel
|
|
1772
|
-
):
|
|
1773
|
-
type: Literal['inject-instruction'] = Field(..., title='Type')
|
|
1774
|
-
instruction: str = Field(..., min_length=1)
|
|
1775
|
-
overrides_instructions: bool = Field(
|
|
1776
|
-
...,
|
|
1777
|
-
description='During injection, whether the original instruction of the state is overriden with this instruction.',
|
|
1778
|
-
title='Overrides Instructions',
|
|
1779
|
-
)
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
1766
|
class DynamicBehaviorSetCreateDynamicBehaviorSetResponse(BaseModel):
|
|
1783
1767
|
dynamic_behavior_set_id: str = Field(
|
|
1784
1768
|
...,
|
|
@@ -1793,6 +1777,18 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestChangeToolCandidat
|
|
|
1793
1777
|
pass
|
|
1794
1778
|
|
|
1795
1779
|
|
|
1780
|
+
class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestInjectInstructionAction(
|
|
1781
|
+
BaseModel
|
|
1782
|
+
):
|
|
1783
|
+
type: Literal['inject-instruction'] = Field(..., title='Type')
|
|
1784
|
+
instruction: str = Field(..., min_length=1)
|
|
1785
|
+
overrides_instructions: bool = Field(
|
|
1786
|
+
...,
|
|
1787
|
+
description='During injection, whether the original instruction of the state is overriden with this instruction.',
|
|
1788
|
+
title='Overrides Instructions',
|
|
1789
|
+
)
|
|
1790
|
+
|
|
1791
|
+
|
|
1796
1792
|
class DynamicBehaviorSetCreateDynamicBehaviorSetVersionResponse(BaseModel):
|
|
1797
1793
|
new_version_number: int = Field(
|
|
1798
1794
|
...,
|
|
@@ -1819,6 +1815,20 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
|
|
|
1819
1815
|
)
|
|
1820
1816
|
|
|
1821
1817
|
|
|
1818
|
+
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
|
|
1819
|
+
BaseModel
|
|
1820
|
+
):
|
|
1821
|
+
id: str = Field(..., title='Id')
|
|
1822
|
+
name: str = Field(..., title='Name')
|
|
1823
|
+
is_active: bool = Field(..., title='Is Active')
|
|
1824
|
+
applied_to_services: list[str] = Field(..., title='Applied To Services')
|
|
1825
|
+
tags: dict[str, str | None] = Field(..., title='Tags')
|
|
1826
|
+
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1827
|
+
creator: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1828
|
+
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1829
|
+
updated_by: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1830
|
+
|
|
1831
|
+
|
|
1822
1832
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
1823
1833
|
applied_to_services_ids: list[str] = Field(
|
|
1824
1834
|
...,
|
|
@@ -1839,18 +1849,14 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
|
1839
1849
|
)
|
|
1840
1850
|
|
|
1841
1851
|
|
|
1842
|
-
class
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1851
|
-
creator: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1852
|
-
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1853
|
-
updated_by: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1852
|
+
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
|
|
1853
|
+
dynamic_behavior_sets: list[
|
|
1854
|
+
DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
1855
|
+
] = Field(
|
|
1856
|
+
...,
|
|
1857
|
+
description='The retrieved dynamic behavior sets.',
|
|
1858
|
+
title='Dynamic Behavior Sets',
|
|
1859
|
+
)
|
|
1854
1860
|
|
|
1855
1861
|
|
|
1856
1862
|
class DynamicBehaviorSetUpdateDynamicBehaviorSetRequest(BaseModel):
|
|
@@ -9908,15 +9914,6 @@ class OrganizationCreateAgentVersionRequestIdentityRelationshipToDeveloper(BaseM
|
|
|
9908
9914
|
thought_visibility: str = Field(..., min_length=1)
|
|
9909
9915
|
|
|
9910
9916
|
|
|
9911
|
-
class OrganizationCreateAgentVersionRequestVoiceConfig(BaseModel):
|
|
9912
|
-
voice_id: str = Field(
|
|
9913
|
-
..., description='The Elevenlabs voice ID for this agent.', title='Voice Id'
|
|
9914
|
-
)
|
|
9915
|
-
stability: float = Field(..., ge=0.0, le=1.0, title='Stability')
|
|
9916
|
-
similarity_boost: float = Field(..., ge=0.0, le=1.0, title='Similarity Boost')
|
|
9917
|
-
style: float = Field(..., ge=0.0, le=1.0, title='Style')
|
|
9918
|
-
|
|
9919
|
-
|
|
9920
9917
|
class OrganizationCreateAgentVersionResponse(BaseModel):
|
|
9921
9918
|
id: str = Field(..., description='The ID of the new agent version.', title='Id')
|
|
9922
9919
|
version: int = Field(
|
|
@@ -9932,6 +9929,10 @@ class OrganizationCreateAgentVersionResponse(BaseModel):
|
|
|
9932
9929
|
|
|
9933
9930
|
|
|
9934
9931
|
class OrganizationCreateApiKeyRequest(BaseModel):
|
|
9932
|
+
name: PydanticBaseModelStrippedNonemptyString1 | None = Field(
|
|
9933
|
+
...,
|
|
9934
|
+
description='An optional name for the API key for easier identification by users.',
|
|
9935
|
+
)
|
|
9935
9936
|
duration: timedelta = Field(
|
|
9936
9937
|
...,
|
|
9937
9938
|
description='The valid duration of the API key. Should be supplied in the [ISO8601 format](https://en.wikipedia.org/wiki/ISO_8601#Durations). Must be between 1 to 90 days.',
|
|
@@ -10646,7 +10647,7 @@ class OrganizationCreateServiceHierarchicalStateMachineVersionRequestToolCallSpe
|
|
|
10646
10647
|
description="Additional instruction to be supplied to the LLM in addition to the tool's description.",
|
|
10647
10648
|
min_length=1,
|
|
10648
10649
|
)
|
|
10649
|
-
audio_fillers: list[
|
|
10650
|
+
audio_fillers: list[PydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10650
10651
|
...,
|
|
10651
10652
|
description='A list of audio fillers to play in audio mode if the tool is taking a long time.',
|
|
10652
10653
|
max_length=5,
|
|
@@ -10796,6 +10797,19 @@ class RoleCreateRoleResponse(BaseModel):
|
|
|
10796
10797
|
)
|
|
10797
10798
|
|
|
10798
10799
|
|
|
10800
|
+
class RoleCreateTemporaryPermissionGrantResponse(BaseModel):
|
|
10801
|
+
temporary_permission_grant_id: str = Field(
|
|
10802
|
+
...,
|
|
10803
|
+
description='The ID of the created temporary permission grant.',
|
|
10804
|
+
title='Temporary Permission Grant Id',
|
|
10805
|
+
)
|
|
10806
|
+
expires_at: AwareDatetime = Field(
|
|
10807
|
+
...,
|
|
10808
|
+
description='The time in UTC at which the permission grant expires.',
|
|
10809
|
+
title='Expires At',
|
|
10810
|
+
)
|
|
10811
|
+
|
|
10812
|
+
|
|
10799
10813
|
class RoleModifyRoleResponse(BaseModel):
|
|
10800
10814
|
role_id: str = Field(
|
|
10801
10815
|
..., description='The identifier of the updated role.', title='Role Id'
|
|
@@ -11077,37 +11091,6 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
|
|
|
11077
11091
|
)
|
|
11078
11092
|
|
|
11079
11093
|
|
|
11080
|
-
class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
|
|
11081
|
-
id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
|
|
11082
|
-
name: str = Field(
|
|
11083
|
-
..., description='The name of the simulation scenario.', title='Name'
|
|
11084
|
-
)
|
|
11085
|
-
tags: dict[str, str | None] = Field(
|
|
11086
|
-
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11087
|
-
)
|
|
11088
|
-
is_deleted: bool = Field(
|
|
11089
|
-
...,
|
|
11090
|
-
description='Whether the simulation scenario is deleted.',
|
|
11091
|
-
title='Is Deleted',
|
|
11092
|
-
)
|
|
11093
|
-
created_at: AwareDatetime = Field(
|
|
11094
|
-
...,
|
|
11095
|
-
description='The timestamp when the simulation scenario was created.',
|
|
11096
|
-
title='Created At',
|
|
11097
|
-
)
|
|
11098
|
-
creator: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
|
|
11099
|
-
..., description='The user who created the simulation scenario.'
|
|
11100
|
-
)
|
|
11101
|
-
updated_at: AwareDatetime = Field(
|
|
11102
|
-
...,
|
|
11103
|
-
description='The timestamp when the simulation scenario was last updated.',
|
|
11104
|
-
title='Updated At',
|
|
11105
|
-
)
|
|
11106
|
-
updated_by: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
|
|
11107
|
-
..., description='The user who last updated the simulation scenario.'
|
|
11108
|
-
)
|
|
11109
|
-
|
|
11110
|
-
|
|
11111
11094
|
class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
|
|
11112
11095
|
presigned_url: str = Field(
|
|
11113
11096
|
...,
|
|
@@ -11230,13 +11213,34 @@ class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseMo
|
|
|
11230
11213
|
)
|
|
11231
11214
|
|
|
11232
11215
|
|
|
11233
|
-
class
|
|
11234
|
-
|
|
11235
|
-
|
|
11236
|
-
|
|
11216
|
+
class SimulationSearchSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
|
|
11217
|
+
id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
|
|
11218
|
+
name: str = Field(
|
|
11219
|
+
..., description='The name of the simulation scenario.', title='Name'
|
|
11220
|
+
)
|
|
11221
|
+
tags: dict[str, str | None] = Field(
|
|
11222
|
+
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11223
|
+
)
|
|
11224
|
+
is_deleted: bool = Field(
|
|
11237
11225
|
...,
|
|
11238
|
-
description='
|
|
11239
|
-
title='
|
|
11226
|
+
description='Whether the simulation scenario is deleted.',
|
|
11227
|
+
title='Is Deleted',
|
|
11228
|
+
)
|
|
11229
|
+
created_at: AwareDatetime = Field(
|
|
11230
|
+
...,
|
|
11231
|
+
description='The timestamp when the simulation scenario was created.',
|
|
11232
|
+
title='Created At',
|
|
11233
|
+
)
|
|
11234
|
+
creator: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
|
|
11235
|
+
..., description='The user who created the simulation scenario.'
|
|
11236
|
+
)
|
|
11237
|
+
updated_at: AwareDatetime = Field(
|
|
11238
|
+
...,
|
|
11239
|
+
description='The timestamp when the simulation scenario was last updated.',
|
|
11240
|
+
title='Updated At',
|
|
11241
|
+
)
|
|
11242
|
+
updated_by: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
|
|
11243
|
+
..., description='The user who last updated the simulation scenario.'
|
|
11240
11244
|
)
|
|
11241
11245
|
|
|
11242
11246
|
|
|
@@ -11497,7 +11501,7 @@ class UserGetMemoriesResponse(BaseModel):
|
|
|
11497
11501
|
)
|
|
11498
11502
|
|
|
11499
11503
|
|
|
11500
|
-
class
|
|
11504
|
+
class UserGetUsersResponseUserInstanceUserStats(BaseModel):
|
|
11501
11505
|
num_conversations: int = Field(
|
|
11502
11506
|
...,
|
|
11503
11507
|
description='The number of conversations the user has created.',
|
|
@@ -11515,6 +11519,31 @@ class UserSearchUsersResponseUserInstanceUserStats(BaseModel):
|
|
|
11515
11519
|
)
|
|
11516
11520
|
|
|
11517
11521
|
|
|
11522
|
+
class UserSearchUsersResponseUserInstance(BaseModel):
|
|
11523
|
+
org_id: str = Field(
|
|
11524
|
+
...,
|
|
11525
|
+
description='The ID of the organization that this user belongs to.',
|
|
11526
|
+
title='Org Id',
|
|
11527
|
+
)
|
|
11528
|
+
user_id: str = Field(
|
|
11529
|
+
..., description='The identifier of the user.', title='User Id'
|
|
11530
|
+
)
|
|
11531
|
+
first_name: str = Field(
|
|
11532
|
+
..., description='The first name of the user.', title='First Name'
|
|
11533
|
+
)
|
|
11534
|
+
last_name: str = Field(
|
|
11535
|
+
..., description='The last name of the user.', title='Last Name'
|
|
11536
|
+
)
|
|
11537
|
+
email: str = Field(..., description='Email of the user.', title='Email')
|
|
11538
|
+
user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
|
|
11539
|
+
..., description="Statistics about the user's usage of the Amigo platform."
|
|
11540
|
+
)
|
|
11541
|
+
role: str = Field(..., description='The ID of the role of the user.', title='Role')
|
|
11542
|
+
preferences: MongoCollectionsUserUserPreferences = Field(
|
|
11543
|
+
..., description='The preferences of the user.'
|
|
11544
|
+
)
|
|
11545
|
+
|
|
11546
|
+
|
|
11518
11547
|
class UserSignInWithApiKeyResponse(BaseModel):
|
|
11519
11548
|
id_token: str = Field(
|
|
11520
11549
|
...,
|
|
@@ -11592,11 +11621,6 @@ class UserUpdateUserInfoRequest(BaseModel):
|
|
|
11592
11621
|
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.',
|
|
11593
11622
|
title='Audio Keyterms',
|
|
11594
11623
|
)
|
|
11595
|
-
actions_development_enabled: bool | None = Field(
|
|
11596
|
-
None,
|
|
11597
|
-
description='Whether to enable Actions development access for the user. If `null`, the preference is not modified.',
|
|
11598
|
-
title='Actions Development Enabled',
|
|
11599
|
-
)
|
|
11600
11624
|
|
|
11601
11625
|
|
|
11602
11626
|
class WebhookDestinationCreateWebhookDestinationRequest(BaseModel):
|
|
@@ -11929,7 +11953,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
|
|
|
11929
11953
|
title='Id',
|
|
11930
11954
|
)
|
|
11931
11955
|
message_type: list[MessageType] | None = Field(
|
|
11932
|
-
['
|
|
11956
|
+
['external-event', 'agent-message', 'user-message'],
|
|
11933
11957
|
description='The type of messages to retrieve.',
|
|
11934
11958
|
title='Message Type',
|
|
11935
11959
|
)
|
|
@@ -11982,7 +12006,7 @@ class InteractWithConversationParametersQuery(BaseModel):
|
|
|
11982
12006
|
)
|
|
11983
12007
|
|
|
11984
12008
|
|
|
11985
|
-
class
|
|
12009
|
+
class ExternalEventMessageContentItem(PydanticBaseModelStrippedNonemptyString1):
|
|
11986
12010
|
pass
|
|
11987
12011
|
|
|
11988
12012
|
|
|
@@ -11991,15 +12015,17 @@ class InteractWithConversationRequest1(BaseModel):
|
|
|
11991
12015
|
..., title='Initial Message Type'
|
|
11992
12016
|
)
|
|
11993
12017
|
recorded_message: str = Field(..., min_length=1)
|
|
11994
|
-
|
|
11995
|
-
|
|
11996
|
-
|
|
11997
|
-
|
|
12018
|
+
external_event_message_content: list[ExternalEventMessageContentItem] | None = (
|
|
12019
|
+
Field(
|
|
12020
|
+
default_factory=list,
|
|
12021
|
+
description='The contents of external event messages to be inserted before the initial message, in chronological order.',
|
|
12022
|
+
title='External Event Message Content',
|
|
12023
|
+
)
|
|
11998
12024
|
)
|
|
11999
|
-
|
|
12025
|
+
external_event_message_timestamp: list[AwareDatetime] | None = Field(
|
|
12000
12026
|
[],
|
|
12001
12027
|
description='The timestamps of external event messages to be inserted before the initial message, in chronological order.',
|
|
12002
|
-
title='External Event Message
|
|
12028
|
+
title='External Event Message Timestamp',
|
|
12003
12029
|
)
|
|
12004
12030
|
|
|
12005
12031
|
|
|
@@ -12008,15 +12034,17 @@ class InteractWithConversationRequest2(BaseModel):
|
|
|
12008
12034
|
..., title='Initial Message Type'
|
|
12009
12035
|
)
|
|
12010
12036
|
recorded_message: str = Field(..., min_length=1)
|
|
12011
|
-
|
|
12012
|
-
|
|
12013
|
-
|
|
12014
|
-
|
|
12037
|
+
external_event_message_content: list[ExternalEventMessageContentItem] | None = (
|
|
12038
|
+
Field(
|
|
12039
|
+
default_factory=list,
|
|
12040
|
+
description='The contents of external event messages to be inserted before the initial message, in chronological order.',
|
|
12041
|
+
title='External Event Message Content',
|
|
12042
|
+
)
|
|
12015
12043
|
)
|
|
12016
|
-
|
|
12044
|
+
external_event_message_timestamp: list[AwareDatetime] | None = Field(
|
|
12017
12045
|
[],
|
|
12018
12046
|
description='The timestamps of external event messages to be inserted before the initial message, in chronological order.',
|
|
12019
|
-
title='External Event Message
|
|
12047
|
+
title='External Event Message Timestamp',
|
|
12020
12048
|
)
|
|
12021
12049
|
|
|
12022
12050
|
|
|
@@ -12028,17 +12056,19 @@ class InteractWithConversationRequest3(BaseModel):
|
|
|
12028
12056
|
max_length=0,
|
|
12029
12057
|
title='Recorded Message',
|
|
12030
12058
|
)
|
|
12031
|
-
|
|
12032
|
-
|
|
12033
|
-
|
|
12034
|
-
|
|
12035
|
-
|
|
12059
|
+
external_event_message_content: list[ExternalEventMessageContentItem] | None = (
|
|
12060
|
+
Field(
|
|
12061
|
+
default_factory=list,
|
|
12062
|
+
description='Must be empty, as external event messages cannot be sent with skips.',
|
|
12063
|
+
max_length=0,
|
|
12064
|
+
title='External Event Message Content',
|
|
12065
|
+
)
|
|
12036
12066
|
)
|
|
12037
|
-
|
|
12067
|
+
external_event_message_timestamp: list[AwareDatetime] | None = Field(
|
|
12038
12068
|
[],
|
|
12039
12069
|
description='Must be empty, as external event messages cannot be sent with skips.',
|
|
12040
12070
|
max_length=0,
|
|
12041
|
-
title='External Event Message
|
|
12071
|
+
title='External Event Message Timestamp',
|
|
12042
12072
|
)
|
|
12043
12073
|
|
|
12044
12074
|
|
|
@@ -12135,6 +12165,56 @@ class SearchUsersParametersQuery(BaseModel):
|
|
|
12135
12165
|
)
|
|
12136
12166
|
|
|
12137
12167
|
|
|
12168
|
+
class GetTemporaryPermissionGrantsParametersQuery(BaseModel):
|
|
12169
|
+
id: list[IdItem] | None = Field(
|
|
12170
|
+
default_factory=list,
|
|
12171
|
+
description='The IDs of the temporary permission grants to retrieve.',
|
|
12172
|
+
title='Id',
|
|
12173
|
+
)
|
|
12174
|
+
user_id: list[str] | None = Field(
|
|
12175
|
+
[],
|
|
12176
|
+
description='The user IDs of the temporary permission grants to retrieve.',
|
|
12177
|
+
title='User Id',
|
|
12178
|
+
)
|
|
12179
|
+
permission_grant_name: str | None = Field(
|
|
12180
|
+
None,
|
|
12181
|
+
description='The permission name of the grants.',
|
|
12182
|
+
title='Permission Grant Name',
|
|
12183
|
+
)
|
|
12184
|
+
is_expired: bool | None = Field(
|
|
12185
|
+
None,
|
|
12186
|
+
description='Whether to only return expired or unexpired temporary permission grants.',
|
|
12187
|
+
title='Is Expired',
|
|
12188
|
+
)
|
|
12189
|
+
limit: int | None = Field(
|
|
12190
|
+
10,
|
|
12191
|
+
description='The maximum number of temporary permission grants to return.',
|
|
12192
|
+
ge=0,
|
|
12193
|
+
le=10,
|
|
12194
|
+
title='Limit',
|
|
12195
|
+
)
|
|
12196
|
+
continuation_token: int | None = Field(
|
|
12197
|
+
0,
|
|
12198
|
+
description='The continuation token to use to retrieve the next set of temporary permission grants.',
|
|
12199
|
+
title='Continuation Token',
|
|
12200
|
+
)
|
|
12201
|
+
creator: list[str] | None = Field(
|
|
12202
|
+
[],
|
|
12203
|
+
description='The creators of the temporary permission grants.',
|
|
12204
|
+
title='Creator',
|
|
12205
|
+
)
|
|
12206
|
+
tag: list[str] | None = Field(
|
|
12207
|
+
[],
|
|
12208
|
+
description='The tags of the temporary permission grants. Must be specified using the syntax `key:value`, which means to match all sets with the given `key` and `value` pair among its tags. If `value` is `*`, it means the `value` does not matter. If `value` is empty, it matches against when the value is `None`.',
|
|
12209
|
+
title='Tag',
|
|
12210
|
+
)
|
|
12211
|
+
sort_by: list[str] | None = Field(
|
|
12212
|
+
[],
|
|
12213
|
+
description='The fields to sort the sets by. Supported fields are `user_id`, `expires_at`, and `permission_grant.permission_name`. Specify a `+` before the field name to indicate ascending sorting and `-` for descending sorting. Multiple fields can be specified to break ties.',
|
|
12214
|
+
title='Sort By',
|
|
12215
|
+
)
|
|
12216
|
+
|
|
12217
|
+
|
|
12138
12218
|
class GetRolesV1OrganizationRoleGetParametersQuery(BaseModel):
|
|
12139
12219
|
return_permission_grants: bool | None = Field(
|
|
12140
12220
|
False,
|
|
@@ -13095,6 +13175,11 @@ class APIKey(BaseModel):
|
|
|
13095
13175
|
description='The index of this API key, which is an integer between 0 to 19. An org cannot have more than 1 API key with the same index.',
|
|
13096
13176
|
title='Index',
|
|
13097
13177
|
)
|
|
13178
|
+
name: str | None = Field(
|
|
13179
|
+
...,
|
|
13180
|
+
description='An optional name for the API key for easier identification by users.',
|
|
13181
|
+
title='Name',
|
|
13182
|
+
)
|
|
13098
13183
|
|
|
13099
13184
|
|
|
13100
13185
|
class ActionStateInput(BaseModel):
|
|
@@ -13256,6 +13341,12 @@ class ChangeToolCandidatesActionOutput(BaseModel):
|
|
|
13256
13341
|
)
|
|
13257
13342
|
|
|
13258
13343
|
|
|
13344
|
+
class Condition(RootModel[EqualCondition | InCondition | NotEqualCondition]):
|
|
13345
|
+
root: EqualCondition | InCondition | NotEqualCondition = Field(
|
|
13346
|
+
..., discriminator='type'
|
|
13347
|
+
)
|
|
13348
|
+
|
|
13349
|
+
|
|
13259
13350
|
class DecisionStateInput(BaseModel):
|
|
13260
13351
|
type: Literal['decision'] = Field(..., title='Type')
|
|
13261
13352
|
name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
|
|
@@ -13265,15 +13356,11 @@ class DecisionStateInput(BaseModel):
|
|
|
13265
13356
|
decision_guidelines: list[PydanticBaseModelStrippedNonemptyString1] = Field(
|
|
13266
13357
|
..., title='Decision Guidelines'
|
|
13267
13358
|
)
|
|
13268
|
-
objective: str = Field(
|
|
13269
|
-
...,
|
|
13270
|
-
description='The objective the agent is trying to achieve in this decision state.',
|
|
13271
|
-
min_length=1,
|
|
13272
|
-
)
|
|
13359
|
+
objective: str = Field(..., min_length=1)
|
|
13273
13360
|
tool_call_specs: list[
|
|
13274
13361
|
OrganizationCreateServiceHierarchicalStateMachineVersionRequestToolCallSpec
|
|
13275
13362
|
] = Field(..., title='Tool Call Specs')
|
|
13276
|
-
audio_fillers: list[
|
|
13363
|
+
audio_fillers: list[PydanticBaseModelStrippedNonemptyString1] = Field(
|
|
13277
13364
|
...,
|
|
13278
13365
|
description='A list of audio fillers to play in audio mode if the `select-next-state-for-decision-state` prompt is taking too long to process.',
|
|
13279
13366
|
max_length=5,
|
|
@@ -13370,6 +13457,10 @@ class DeleteRequest(BaseModel):
|
|
|
13370
13457
|
)
|
|
13371
13458
|
|
|
13372
13459
|
|
|
13460
|
+
class HTTPValidationError(BaseModel):
|
|
13461
|
+
detail: list[ValidationError] | None = Field(None, title='Detail')
|
|
13462
|
+
|
|
13463
|
+
|
|
13373
13464
|
class InsertRequest(BaseModel):
|
|
13374
13465
|
name: str = Field(
|
|
13375
13466
|
...,
|
|
@@ -13447,9 +13538,14 @@ class NumericalMetricSuccessCriterion(BaseModel):
|
|
|
13447
13538
|
threshold: float = Field(..., title='Threshold')
|
|
13448
13539
|
|
|
13449
13540
|
|
|
13450
|
-
class
|
|
13451
|
-
|
|
13452
|
-
...,
|
|
13541
|
+
class PermissionGrantInstance(BaseModel):
|
|
13542
|
+
permission_name: str = Field(
|
|
13543
|
+
..., description='The name of the permission.', title='Permission Name'
|
|
13544
|
+
)
|
|
13545
|
+
conditions: dict[str, EqualCondition | InCondition | NotEqualCondition] = Field(
|
|
13546
|
+
...,
|
|
13547
|
+
description='A dictionary of attribute name to condition that must be met for this grant to be applicable.',
|
|
13548
|
+
title='Conditions',
|
|
13453
13549
|
)
|
|
13454
13550
|
|
|
13455
13551
|
|
|
@@ -13470,7 +13566,7 @@ class ReflectionStateInput(BaseModel):
|
|
|
13470
13566
|
tool_call_specs: list[
|
|
13471
13567
|
OrganizationCreateServiceHierarchicalStateMachineVersionRequestToolCallSpec
|
|
13472
13568
|
] = Field(..., title='Tool Call Specs')
|
|
13473
|
-
audio_fillers: list[
|
|
13569
|
+
audio_fillers: list[PydanticBaseModelStrippedNonemptyString1] = Field(
|
|
13474
13570
|
...,
|
|
13475
13571
|
description='A list of audio fillers to play in audio mode if the reflection is taking too long to be generated.',
|
|
13476
13572
|
max_length=5,
|
|
@@ -13602,7 +13698,7 @@ class ServiceInstance(BaseModel):
|
|
|
13602
13698
|
agent_id: str = Field(
|
|
13603
13699
|
..., description='The ID of the agent that this service uses.', title='Agent Id'
|
|
13604
13700
|
)
|
|
13605
|
-
tags: list[
|
|
13701
|
+
tags: list[MongoCollectionsToolToolTag] = Field(
|
|
13606
13702
|
..., description='The tags of the service.', title='Tags'
|
|
13607
13703
|
)
|
|
13608
13704
|
keyterms: list[str] = Field(
|
|
@@ -13660,7 +13756,7 @@ class SimulationUnitTestSet(BaseModel):
|
|
|
13660
13756
|
description='Whether the unit test set has been deleted.',
|
|
13661
13757
|
title='Is Deleted',
|
|
13662
13758
|
)
|
|
13663
|
-
tags: list[
|
|
13759
|
+
tags: list[MongoCollectionsToolToolTag] = Field(
|
|
13664
13760
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13665
13761
|
)
|
|
13666
13762
|
creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -13697,7 +13793,7 @@ class SimulationUnitTestSetInstance(BaseModel):
|
|
|
13697
13793
|
description='Whether the unit test set has been deleted.',
|
|
13698
13794
|
title='Is Deleted',
|
|
13699
13795
|
)
|
|
13700
|
-
tags: list[
|
|
13796
|
+
tags: list[MongoCollectionsToolToolTag] = Field(
|
|
13701
13797
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13702
13798
|
)
|
|
13703
13799
|
creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -13726,7 +13822,7 @@ class ToolCallStateInput(BaseModel):
|
|
|
13726
13822
|
OrganizationCreateServiceHierarchicalStateMachineVersionRequestToolCallSpec
|
|
13727
13823
|
)
|
|
13728
13824
|
designated_tool_call_params_generation_audio_fillers: list[
|
|
13729
|
-
|
|
13825
|
+
PydanticBaseModelStrippedNonemptyString1
|
|
13730
13826
|
] = Field(
|
|
13731
13827
|
..., max_length=5, title='Designated Tool Call Params Generation Audio Fillers'
|
|
13732
13828
|
)
|
|
@@ -13825,7 +13921,7 @@ class ToolInstance(BaseModel):
|
|
|
13825
13921
|
description='A list of encrypted environment variables that some versions of this tool uses.',
|
|
13826
13922
|
title='Secret Envvars',
|
|
13827
13923
|
)
|
|
13828
|
-
tags: list[
|
|
13924
|
+
tags: list[MongoCollectionsToolToolTag] = Field(
|
|
13829
13925
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
13830
13926
|
)
|
|
13831
13927
|
|
|
@@ -13882,7 +13978,6 @@ class ToolVersionInstance(BaseModel):
|
|
|
13882
13978
|
description='Whether the tool version is deprecated. Deprecated tool versions are not usable and do not participate in version resolution.',
|
|
13883
13979
|
title='Deprecated',
|
|
13884
13980
|
)
|
|
13885
|
-
tool_repo: Literal['team'] = Field('team', title='Tool Repo')
|
|
13886
13981
|
|
|
13887
13982
|
|
|
13888
13983
|
class UnitTestRunResult(BaseModel):
|
|
@@ -13934,6 +14029,10 @@ class VersionSetInfo(BaseModel):
|
|
|
13934
14029
|
)
|
|
13935
14030
|
|
|
13936
14031
|
|
|
14032
|
+
class VoiceConfig(BaseModel):
|
|
14033
|
+
voice_id: str = Field(..., min_length=1)
|
|
14034
|
+
|
|
14035
|
+
|
|
13937
14036
|
class WebhookDeliveryInstance(BaseModel):
|
|
13938
14037
|
id: str = Field(..., description='The ID of the webhook delivery.', title='Id')
|
|
13939
14038
|
type: str = Field(..., description='The type of the webhook.', title='Type')
|
|
@@ -13982,23 +14081,8 @@ class MongoCollectionsAgentAgentIdentity(BaseModel):
|
|
|
13982
14081
|
) = Field(..., description='Relationship of the agent to its developer.')
|
|
13983
14082
|
|
|
13984
14083
|
|
|
13985
|
-
class MongoCollectionsRoleRolePermissionGrant(
|
|
13986
|
-
|
|
13987
|
-
...,
|
|
13988
|
-
description='Whether this grant allows or denies the specified access.',
|
|
13989
|
-
title='Action',
|
|
13990
|
-
)
|
|
13991
|
-
permission_name: str = Field(
|
|
13992
|
-
..., description='The name of the permission.', title='Permission Name'
|
|
13993
|
-
)
|
|
13994
|
-
conditions: dict[str, EqualCondition | InCondition | NotEqualCondition] = Field(
|
|
13995
|
-
...,
|
|
13996
|
-
description='A dictionary of attribute name to condition that must be met for this grant to be applicable.',
|
|
13997
|
-
title='Conditions',
|
|
13998
|
-
)
|
|
13999
|
-
description: str | None = Field(
|
|
14000
|
-
None, description='An optional explanation of this grant.', title='Description'
|
|
14001
|
-
)
|
|
14084
|
+
class MongoCollectionsRoleRolePermissionGrant(PermissionGrantInstance):
|
|
14085
|
+
pass
|
|
14002
14086
|
|
|
14003
14087
|
|
|
14004
14088
|
class MongoCollectionsSimulationUnitTestSimulationUnitTestSuccessCriterion(BaseModel):
|
|
@@ -14116,7 +14200,7 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestChangeToolCandidat
|
|
|
14116
14200
|
|
|
14117
14201
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
14118
14202
|
dynamic_behavior_sets: list[
|
|
14119
|
-
|
|
14203
|
+
DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14120
14204
|
] = Field(
|
|
14121
14205
|
...,
|
|
14122
14206
|
description='The retrieved dynamic behavior sets.',
|
|
@@ -14140,16 +14224,6 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
|
14140
14224
|
)
|
|
14141
14225
|
|
|
14142
14226
|
|
|
14143
|
-
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
|
|
14144
|
-
dynamic_behavior_sets: list[
|
|
14145
|
-
DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14146
|
-
] = Field(
|
|
14147
|
-
...,
|
|
14148
|
-
description='The retrieved dynamic behavior sets.',
|
|
14149
|
-
title='Dynamic Behavior Sets',
|
|
14150
|
-
)
|
|
14151
|
-
|
|
14152
|
-
|
|
14153
14227
|
class MetricCreateMetricRequest(BaseModel):
|
|
14154
14228
|
name: str = Field(
|
|
14155
14229
|
...,
|
|
@@ -14325,7 +14399,7 @@ class OrganizationGetAgentVersionsResponseAgentInstance(BaseModel):
|
|
|
14325
14399
|
)
|
|
14326
14400
|
agent_id: str = Field(..., description='The ID of this agent.', title='Agent Id')
|
|
14327
14401
|
version: int = Field(..., description='The version of the agent.', title='Version')
|
|
14328
|
-
voice_config:
|
|
14402
|
+
voice_config: VoiceConfigInstance | None = Field(
|
|
14329
14403
|
..., description='The voice configuration of the agent.'
|
|
14330
14404
|
)
|
|
14331
14405
|
initials: str = Field(
|
|
@@ -14440,19 +14514,32 @@ class OrganizationModifyOrganizationRequest(BaseModel):
|
|
|
14440
14514
|
)
|
|
14441
14515
|
|
|
14442
14516
|
|
|
14443
|
-
class RoleCreateRoleRequestPermissionGrant(
|
|
14444
|
-
|
|
14517
|
+
class RoleCreateRoleRequestPermissionGrant(PermissionGrantInstance):
|
|
14518
|
+
pass
|
|
14519
|
+
|
|
14520
|
+
|
|
14521
|
+
class RoleCreateTemporaryPermissionGrantRequest(BaseModel):
|
|
14522
|
+
user_id: str = Field(
|
|
14445
14523
|
...,
|
|
14446
|
-
description='
|
|
14447
|
-
title='
|
|
14524
|
+
description='The ID of the user to grant the temporary permission to.',
|
|
14525
|
+
title='User Id',
|
|
14448
14526
|
)
|
|
14449
|
-
|
|
14450
|
-
conditions: dict[str, EqualCondition | InCondition | NotEqualCondition] = Field(
|
|
14527
|
+
duration: timedelta = Field(
|
|
14451
14528
|
...,
|
|
14452
|
-
description='
|
|
14453
|
-
title='
|
|
14529
|
+
description='In ISO8601 format, the duration that this permission grant will last.',
|
|
14530
|
+
title='Duration',
|
|
14531
|
+
)
|
|
14532
|
+
permission_grant: PermissionGrantInstance = Field(
|
|
14533
|
+
..., description='The permission grant to give to the user.'
|
|
14534
|
+
)
|
|
14535
|
+
tags: dict[StrippedNonemptyStringWS, StrippedNonemptyStringWS | None] = Field(
|
|
14536
|
+
...,
|
|
14537
|
+
description='The tags of the permission grant. Both the key and the value can only contain alphanumeric characters, underscores, or spaces.',
|
|
14538
|
+
title='Tags',
|
|
14539
|
+
)
|
|
14540
|
+
justification: str = Field(
|
|
14541
|
+
..., description='A justification for why this grant is made.', min_length=10
|
|
14454
14542
|
)
|
|
14455
|
-
description: PydanticBaseModelStrippedNonemptyString1 | None = None
|
|
14456
14543
|
|
|
14457
14544
|
|
|
14458
14545
|
class RoleModifyRoleRequest(BaseModel):
|
|
@@ -14471,22 +14558,6 @@ class RoleModifyRoleRequest(BaseModel):
|
|
|
14471
14558
|
)
|
|
14472
14559
|
|
|
14473
14560
|
|
|
14474
|
-
class ServiceCreateServiceRequestVersionSet(BaseModel):
|
|
14475
|
-
agent_version_number: int | None = Field(
|
|
14476
|
-
...,
|
|
14477
|
-
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
14478
|
-
title='Agent Version Number',
|
|
14479
|
-
)
|
|
14480
|
-
service_hierarchical_state_machine_version_number: int | None = Field(
|
|
14481
|
-
...,
|
|
14482
|
-
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
14483
|
-
title='Service Hierarchical State Machine Version Number',
|
|
14484
|
-
)
|
|
14485
|
-
llm_model_preferences: dict[
|
|
14486
|
-
str, ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig
|
|
14487
|
-
] = Field(..., title='Llm Model Preferences')
|
|
14488
|
-
|
|
14489
|
-
|
|
14490
14561
|
class ServiceGetServicesResponse(BaseModel):
|
|
14491
14562
|
services: list[ServiceInstance] = Field(
|
|
14492
14563
|
..., description='The services that are found.', title='Services'
|
|
@@ -14507,10 +14578,20 @@ class ServiceGetServicesResponse(BaseModel):
|
|
|
14507
14578
|
)
|
|
14508
14579
|
|
|
14509
14580
|
|
|
14510
|
-
class
|
|
14511
|
-
|
|
14512
|
-
...,
|
|
14581
|
+
class ServiceUpsertServiceVersionSetRequestVersionSet(BaseModel):
|
|
14582
|
+
agent_version_number: int | None = Field(
|
|
14583
|
+
...,
|
|
14584
|
+
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
14585
|
+
title='Agent Version Number',
|
|
14586
|
+
)
|
|
14587
|
+
service_hierarchical_state_machine_version_number: int | None = Field(
|
|
14588
|
+
...,
|
|
14589
|
+
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
14590
|
+
title='Service Hierarchical State Machine Version Number',
|
|
14513
14591
|
)
|
|
14592
|
+
llm_model_preferences: dict[
|
|
14593
|
+
str, ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig
|
|
14594
|
+
] = Field(..., title='Llm Model Preferences')
|
|
14514
14595
|
|
|
14515
14596
|
|
|
14516
14597
|
class SimulationCreateSimulationPersonaRequest(BaseModel):
|
|
@@ -14598,7 +14679,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
|
14598
14679
|
|
|
14599
14680
|
class SimulationGetSimulationScenariosResponse(BaseModel):
|
|
14600
14681
|
simulation_scenarios: list[
|
|
14601
|
-
|
|
14682
|
+
SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
|
|
14602
14683
|
] = Field(
|
|
14603
14684
|
...,
|
|
14604
14685
|
description='The list of simulation scenarios.',
|
|
@@ -14652,6 +14733,16 @@ class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
|
14652
14733
|
)
|
|
14653
14734
|
|
|
14654
14735
|
|
|
14736
|
+
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
14737
|
+
simulation_scenarios: list[
|
|
14738
|
+
SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
|
|
14739
|
+
] = Field(
|
|
14740
|
+
...,
|
|
14741
|
+
description='The list of simulation scenarios.',
|
|
14742
|
+
title='Simulation Scenarios',
|
|
14743
|
+
)
|
|
14744
|
+
|
|
14745
|
+
|
|
14655
14746
|
class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
|
|
14656
14747
|
simulation_unit_test_sets: list[SimulationUnitTestSet] = Field(
|
|
14657
14748
|
...,
|
|
@@ -14804,28 +14895,23 @@ class UserGetUserModelResponse(BaseModel):
|
|
|
14804
14895
|
)
|
|
14805
14896
|
|
|
14806
14897
|
|
|
14807
|
-
class
|
|
14808
|
-
|
|
14809
|
-
...,
|
|
14810
|
-
description='The ID of the organization that this user belongs to.',
|
|
14811
|
-
title='Org Id',
|
|
14812
|
-
)
|
|
14813
|
-
user_id: str = Field(
|
|
14814
|
-
..., description='The identifier of the user.', title='User Id'
|
|
14815
|
-
)
|
|
14816
|
-
first_name: str = Field(
|
|
14817
|
-
..., description='The first name of the user.', title='First Name'
|
|
14898
|
+
class UserGetUsersResponse(BaseModel):
|
|
14899
|
+
users: list[UserSearchUsersResponseUserInstance] = Field(
|
|
14900
|
+
..., description='Users in this organization.', title='Users'
|
|
14818
14901
|
)
|
|
14819
|
-
|
|
14820
|
-
..., description='
|
|
14902
|
+
has_more: bool = Field(
|
|
14903
|
+
..., description='Whether there are more users to retrieve.', title='Has More'
|
|
14821
14904
|
)
|
|
14822
|
-
|
|
14823
|
-
|
|
14824
|
-
|
|
14905
|
+
continuation_token: int | None = Field(
|
|
14906
|
+
...,
|
|
14907
|
+
description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
|
|
14908
|
+
title='Continuation Token',
|
|
14825
14909
|
)
|
|
14826
|
-
|
|
14827
|
-
|
|
14828
|
-
|
|
14910
|
+
|
|
14911
|
+
|
|
14912
|
+
class UserSearchUsersResponse(BaseModel):
|
|
14913
|
+
users: list[UserSearchUsersResponseUserInstance] = Field(
|
|
14914
|
+
..., description='Users in this organization.', title='Users'
|
|
14829
14915
|
)
|
|
14830
14916
|
|
|
14831
14917
|
|
|
@@ -14967,7 +15053,7 @@ class Metric(BaseModel):
|
|
|
14967
15053
|
additional_notes: str | None = Field(
|
|
14968
15054
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
14969
15055
|
)
|
|
14970
|
-
tags: list[
|
|
15056
|
+
tags: list[MongoCollectionsToolToolTag] = Field(
|
|
14971
15057
|
..., description='The tags of the metric.', title='Tags'
|
|
14972
15058
|
)
|
|
14973
15059
|
creator: MongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15040,7 +15126,7 @@ class MetricInstance(BaseModel):
|
|
|
15040
15126
|
additional_notes: str | None = Field(
|
|
15041
15127
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15042
15128
|
)
|
|
15043
|
-
tags: list[
|
|
15129
|
+
tags: list[MongoCollectionsToolToolTag] = Field(
|
|
15044
15130
|
..., description='The tags of the metric.', title='Tags'
|
|
15045
15131
|
)
|
|
15046
15132
|
creator: MongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15136,7 +15222,7 @@ class SimulationUnitTest(BaseModel):
|
|
|
15136
15222
|
is_deleted: bool = Field(
|
|
15137
15223
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15138
15224
|
)
|
|
15139
|
-
tags: list[
|
|
15225
|
+
tags: list[MongoCollectionsToolToolTag] = Field(
|
|
15140
15226
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15141
15227
|
)
|
|
15142
15228
|
creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -15181,13 +15267,46 @@ class SimulationUnitTestInstance(BaseModel):
|
|
|
15181
15267
|
is_deleted: bool = Field(
|
|
15182
15268
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15183
15269
|
)
|
|
15184
|
-
tags: list[
|
|
15270
|
+
tags: list[MongoCollectionsToolToolTag] = Field(
|
|
15185
15271
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15186
15272
|
)
|
|
15187
15273
|
creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15188
15274
|
updated_by: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15189
15275
|
|
|
15190
15276
|
|
|
15277
|
+
class TemporaryPermissionGrant(BaseModel):
|
|
15278
|
+
field_id: str = Field(
|
|
15279
|
+
..., alias='_id', description='The ID of the document.', title='Id'
|
|
15280
|
+
)
|
|
15281
|
+
org_id: str = Field(..., description='The ID of the organization.', title='Org Id')
|
|
15282
|
+
created_at: AwareDatetime | None = Field(None, title='Created At')
|
|
15283
|
+
updated_at: AwareDatetime | None = Field(None, title='Updated At')
|
|
15284
|
+
user_id: str = Field(
|
|
15285
|
+
...,
|
|
15286
|
+
description='The ID of the user that this grant applies to.',
|
|
15287
|
+
title='User Id',
|
|
15288
|
+
)
|
|
15289
|
+
expires_at: AwareDatetime = Field(
|
|
15290
|
+
...,
|
|
15291
|
+
description='The time at which this temporary permission grant expires.',
|
|
15292
|
+
title='Expires At',
|
|
15293
|
+
)
|
|
15294
|
+
permission_grant: MongoCollectionsRoleRolePermissionGrant = Field(
|
|
15295
|
+
..., description='The permission grant to give to the user.'
|
|
15296
|
+
)
|
|
15297
|
+
justification: str = Field(
|
|
15298
|
+
...,
|
|
15299
|
+
description='The reason for offering this permission grant.',
|
|
15300
|
+
title='Justification',
|
|
15301
|
+
)
|
|
15302
|
+
creator: (
|
|
15303
|
+
MongoCollectionsTemporaryPermissionGrantTemporaryPermissionGrantUserInfo
|
|
15304
|
+
) = Field(..., description='The creator of this permission grant.')
|
|
15305
|
+
tags: dict[str, str | None] = Field(
|
|
15306
|
+
..., description='The tags of the permission grant.', title='Tags'
|
|
15307
|
+
)
|
|
15308
|
+
|
|
15309
|
+
|
|
15191
15310
|
class UnitTestRunSpec(BaseModel):
|
|
15192
15311
|
unit_test_id: str = Field(
|
|
15193
15312
|
..., description='ID of the unit test to run.', title='Unit Test Id'
|
|
@@ -15283,7 +15402,7 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersion(BaseModel)
|
|
|
15283
15402
|
)
|
|
15284
15403
|
actions: list[
|
|
15285
15404
|
Annotated[
|
|
15286
|
-
|
|
15405
|
+
DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestInjectInstructionAction
|
|
15287
15406
|
| DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionChangeToolCandidatesAction,
|
|
15288
15407
|
Field(discriminator='type'),
|
|
15289
15408
|
]
|
|
@@ -15304,7 +15423,7 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequest(BaseModel):
|
|
|
15304
15423
|
)
|
|
15305
15424
|
actions: list[
|
|
15306
15425
|
Annotated[
|
|
15307
|
-
|
|
15426
|
+
DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestInjectInstructionAction
|
|
15308
15427
|
| DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestChangeToolCandidatesAction,
|
|
15309
15428
|
Field(discriminator='type'),
|
|
15310
15429
|
]
|
|
@@ -15401,9 +15520,9 @@ class OrganizationCreateAgentVersionRequest(BaseModel):
|
|
|
15401
15520
|
title='Communication Patterns',
|
|
15402
15521
|
)
|
|
15403
15522
|
)
|
|
15404
|
-
voice_config:
|
|
15523
|
+
voice_config: VoiceConfig | None = Field(
|
|
15405
15524
|
None,
|
|
15406
|
-
description='The
|
|
15525
|
+
description='The Cartesia voice config for the agent. If set to null, it is not updated.',
|
|
15407
15526
|
)
|
|
15408
15527
|
|
|
15409
15528
|
|
|
@@ -15449,6 +15568,24 @@ class RoleGetRolesResponse(BaseModel):
|
|
|
15449
15568
|
)
|
|
15450
15569
|
|
|
15451
15570
|
|
|
15571
|
+
class RoleGetTemporaryPermissionGrantsResponse(BaseModel):
|
|
15572
|
+
temporary_permission_grants: list[TemporaryPermissionGrant] = Field(
|
|
15573
|
+
...,
|
|
15574
|
+
description='The retrieved temporary permission grants.',
|
|
15575
|
+
title='Temporary Permission Grants',
|
|
15576
|
+
)
|
|
15577
|
+
has_more: bool = Field(
|
|
15578
|
+
...,
|
|
15579
|
+
description='Whether there are more temporary permission grants to retrieve.',
|
|
15580
|
+
title='Has More',
|
|
15581
|
+
)
|
|
15582
|
+
continuation_token: int | None = Field(
|
|
15583
|
+
...,
|
|
15584
|
+
description='The continuation token to use to retrieve the next set of temporary permission grants.',
|
|
15585
|
+
title='Continuation Token',
|
|
15586
|
+
)
|
|
15587
|
+
|
|
15588
|
+
|
|
15452
15589
|
class ServiceCreateServiceRequest(BaseModel):
|
|
15453
15590
|
service_hierarchical_state_machine_id: str = Field(
|
|
15454
15591
|
...,
|
|
@@ -15471,7 +15608,7 @@ class ServiceCreateServiceRequest(BaseModel):
|
|
|
15471
15608
|
description='Whether the newly-created service is active. Only active services are visible to users on the dashboard. You can later adjust the activeness of this service.',
|
|
15472
15609
|
title='Is Active',
|
|
15473
15610
|
)
|
|
15474
|
-
release_version_set:
|
|
15611
|
+
release_version_set: ServiceUpsertServiceVersionSetRequestVersionSet | None = Field(
|
|
15475
15612
|
None,
|
|
15476
15613
|
description='The `release` version set to use for this service. If not specified, the `release` version set will be the same as the `edge` version set, which uses the\nlatest agent and state machine versions with no model preference.',
|
|
15477
15614
|
)
|
|
@@ -15486,6 +15623,12 @@ class ServiceCreateServiceRequest(BaseModel):
|
|
|
15486
15623
|
)
|
|
15487
15624
|
|
|
15488
15625
|
|
|
15626
|
+
class ServiceUpsertServiceVersionSetRequest(BaseModel):
|
|
15627
|
+
version_set: ServiceUpsertServiceVersionSetRequestVersionSet = Field(
|
|
15628
|
+
..., description='The version set to upsert.'
|
|
15629
|
+
)
|
|
15630
|
+
|
|
15631
|
+
|
|
15489
15632
|
class SimulationCreateSimulationUnitTestRequest(BaseModel):
|
|
15490
15633
|
name: str = Field(..., description='The name of the unit test.', min_length=1)
|
|
15491
15634
|
description: str = Field(
|
|
@@ -15648,26 +15791,6 @@ class ToolSearchToolInvocationsResponse(BaseModel):
|
|
|
15648
15791
|
)
|
|
15649
15792
|
|
|
15650
15793
|
|
|
15651
|
-
class UserGetUsersResponse(BaseModel):
|
|
15652
|
-
users: list[UserSearchUsersResponseUserInstance] = Field(
|
|
15653
|
-
..., description='Users in this organization.', title='Users'
|
|
15654
|
-
)
|
|
15655
|
-
has_more: bool = Field(
|
|
15656
|
-
..., description='Whether there are more users to retrieve.', title='Has More'
|
|
15657
|
-
)
|
|
15658
|
-
continuation_token: int | None = Field(
|
|
15659
|
-
...,
|
|
15660
|
-
description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
|
|
15661
|
-
title='Continuation Token',
|
|
15662
|
-
)
|
|
15663
|
-
|
|
15664
|
-
|
|
15665
|
-
class UserSearchUsersResponse(BaseModel):
|
|
15666
|
-
users: list[UserSearchUsersResponseUserInstance] = Field(
|
|
15667
|
-
..., description='Users in this organization.', title='Users'
|
|
15668
|
-
)
|
|
15669
|
-
|
|
15670
|
-
|
|
15671
15794
|
class ServiceHierarchicalStateMachineInstance(BaseModel):
|
|
15672
15795
|
id: str = Field(..., description='The ID of the state machine version.', title='Id')
|
|
15673
15796
|
org_id: str = Field(
|
|
@@ -2,7 +2,7 @@ scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
2
2
|
scripts/aliases.json,sha256=c1_bkZyvNDQ8iMrKtUuZQqdP87GdLnRPrb3wjX533eQ,322
|
|
3
3
|
scripts/check.py,sha256=ikFavw1IjX51FNjO-kIzXjYdep3on0dKZHYvPElPFtc,2872
|
|
4
4
|
scripts/gen_models.py,sha256=c4J_gHYQIBL3CcKg5z8oUusLvPePytfvLdZ7STHBcNk,3553
|
|
5
|
-
amigo_sdk/__init__.py,sha256=
|
|
5
|
+
amigo_sdk/__init__.py,sha256=Hn2Ts9KOST-mFilQSMUOjbRIFVwTg9-cgE3qsJdcvvc,140
|
|
6
6
|
amigo_sdk/_retry_utils.py,sha256=VbA_Uwv268J80d11R9XfnCjZiV-NwE1aXRsSlRjjRio,2108
|
|
7
7
|
amigo_sdk/auth.py,sha256=WaM9PcEcnaC6CzNsgRKueHkdSAxNbRylzpR_3Q6guQ0,1765
|
|
8
8
|
amigo_sdk/config.py,sha256=0eZIo-hcJ8ODftKAr-mwB-FGJxGO5PT5T4dRpyWPqAg,1491
|
|
@@ -10,13 +10,13 @@ amigo_sdk/errors.py,sha256=Yn12AxIQ6zE9jnGLWO0MUVbBsmw77Kzh82AijyreOkA,4818
|
|
|
10
10
|
amigo_sdk/http_client.py,sha256=tfMXHqMTmlz2ja7aJhOVgbwAiJNlKCzPcK4UGNqXHO8,13488
|
|
11
11
|
amigo_sdk/models.py,sha256=V-G6iL43_ZNOPDcatCJCSszGWGz-nzp_RSyGNm-rBAc,45
|
|
12
12
|
amigo_sdk/sdk_client.py,sha256=5nj8hzjHSFRs9JMNabdYIhQAcFE2G1jI_r7SHVGr9No,6106
|
|
13
|
-
amigo_sdk/generated/model.py,sha256=
|
|
13
|
+
amigo_sdk/generated/model.py,sha256=JdWVsjH-VLzCO7zKut2BMm5UMG16VKEqCrasxBXwtMc,448670
|
|
14
14
|
amigo_sdk/resources/conversation.py,sha256=X47PbPA6NqdkqXgxAPOjlO1E0W7t695tn1tPWSikMOk,14807
|
|
15
15
|
amigo_sdk/resources/organization.py,sha256=yX4UlOHNegRzFW4gCJrCxjiLCAGnGegasjviR1yad_Q,1211
|
|
16
16
|
amigo_sdk/resources/service.py,sha256=t1iA3nS9co-wuR-x5jBhAXXTWfMeGsLwfQcLycwVrCA,1536
|
|
17
17
|
amigo_sdk/resources/user.py,sha256=P14lN-3fmIvELUjn_vpSaYpNsK-xd8zNmUV_KfcZPAU,4138
|
|
18
|
-
amigo_sdk-0.
|
|
19
|
-
amigo_sdk-0.
|
|
20
|
-
amigo_sdk-0.
|
|
21
|
-
amigo_sdk-0.
|
|
22
|
-
amigo_sdk-0.
|
|
18
|
+
amigo_sdk-0.107.0.dist-info/METADATA,sha256=aRlOi7aj2kkl1h8lEJemE3ncAIpHrE6w1Y7ve6IFIRE,8500
|
|
19
|
+
amigo_sdk-0.107.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
20
|
+
amigo_sdk-0.107.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
21
|
+
amigo_sdk-0.107.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
22
|
+
amigo_sdk-0.107.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|