amigo_sdk 0.83.0__py3-none-any.whl → 0.85.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 +229 -229
- {amigo_sdk-0.83.0.dist-info → amigo_sdk-0.85.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.83.0.dist-info → amigo_sdk-0.85.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.83.0.dist-info → amigo_sdk-0.85.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.83.0.dist-info → amigo_sdk-0.85.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.83.0.dist-info → amigo_sdk-0.85.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-11T23:49:12+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -1705,12 +1705,6 @@ AmigoLibMongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo
|
|
|
1705
1705
|
)
|
|
1706
1706
|
|
|
1707
1707
|
|
|
1708
|
-
class AmigoLibMongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
|
|
1709
|
-
major: int = Field(..., title='Major')
|
|
1710
|
-
minor: int = Field(..., title='Minor')
|
|
1711
|
-
patch: int = Field(..., title='Patch')
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
1708
|
class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
|
|
1715
1709
|
user_id: str = Field(..., description='The ID of the user.', title='User Id')
|
|
1716
1710
|
user_org_id: str = Field(
|
|
@@ -1718,6 +1712,12 @@ class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
|
|
|
1718
1712
|
)
|
|
1719
1713
|
|
|
1720
1714
|
|
|
1715
|
+
class AmigoLibMongoCollectionsToolVersionToolVersionVersion(BaseModel):
|
|
1716
|
+
major: int = Field(..., title='Major')
|
|
1717
|
+
minor: int = Field(..., title='Minor')
|
|
1718
|
+
patch: int = Field(..., title='Patch')
|
|
1719
|
+
|
|
1720
|
+
|
|
1721
1721
|
class AmigoLibMongoCollectionsUserUserPreferences(BaseModel):
|
|
1722
1722
|
enable_response_recommendation: Optional[bool] = Field(
|
|
1723
1723
|
False,
|
|
@@ -10743,6 +10743,13 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
|
|
|
10743
10743
|
)
|
|
10744
10744
|
|
|
10745
10745
|
|
|
10746
|
+
class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
|
|
10747
|
+
description: str = Field(..., min_length=1)
|
|
10748
|
+
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10749
|
+
..., title='Tags'
|
|
10750
|
+
)
|
|
10751
|
+
|
|
10752
|
+
|
|
10746
10753
|
class OrganizationCreateOrganizationResponse(BaseModel):
|
|
10747
10754
|
org_id: str = Field(
|
|
10748
10755
|
...,
|
|
@@ -10884,18 +10891,22 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
|
|
|
10884
10891
|
)
|
|
10885
10892
|
|
|
10886
10893
|
|
|
10894
|
+
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
10895
|
+
RootModel[List[OrganizationCreateOrganizationRequestUserDimension]]
|
|
10896
|
+
):
|
|
10897
|
+
root: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
10898
|
+
...,
|
|
10899
|
+
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
10900
|
+
min_length=1,
|
|
10901
|
+
title='User Dimensions',
|
|
10902
|
+
)
|
|
10903
|
+
|
|
10904
|
+
|
|
10887
10905
|
OrganizationModifyOrganizationRequestPreferences = (
|
|
10888
10906
|
OrganizationCreateOrganizationRequestPreferences
|
|
10889
10907
|
)
|
|
10890
10908
|
|
|
10891
10909
|
|
|
10892
|
-
class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
|
|
10893
|
-
description: str = Field(..., min_length=1)
|
|
10894
|
-
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10895
|
-
..., title='Tags'
|
|
10896
|
-
)
|
|
10897
|
-
|
|
10898
|
-
|
|
10899
10910
|
class RoleAssignRoleRequest(BaseModel):
|
|
10900
10911
|
user_id: str = Field(
|
|
10901
10912
|
...,
|
|
@@ -11126,16 +11137,6 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
|
|
|
11126
11137
|
)
|
|
11127
11138
|
|
|
11128
11139
|
|
|
11129
|
-
class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11130
|
-
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11131
|
-
run_count: int = Field(
|
|
11132
|
-
...,
|
|
11133
|
-
description='The number of times to run the unit test.',
|
|
11134
|
-
gt=0,
|
|
11135
|
-
title='Run Count',
|
|
11136
|
-
)
|
|
11137
|
-
|
|
11138
|
-
|
|
11139
11140
|
class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
|
|
11140
11141
|
simulation_unit_test_set_id: str = Field(
|
|
11141
11142
|
...,
|
|
@@ -11195,40 +11196,6 @@ class SimulationGetSimulationPersonasResponseFilterValues(BaseModel):
|
|
|
11195
11196
|
)
|
|
11196
11197
|
|
|
11197
11198
|
|
|
11198
|
-
class SimulationGetSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
|
|
11199
|
-
id: str = Field(..., description='The ID of the simulation persona.', title='Id')
|
|
11200
|
-
name: str = Field(
|
|
11201
|
-
..., description='The name of the simulation persona.', title='Name'
|
|
11202
|
-
)
|
|
11203
|
-
role: str = Field(
|
|
11204
|
-
..., description='The role of the simulation persona.', title='Role'
|
|
11205
|
-
)
|
|
11206
|
-
tags: Dict[str, Optional[str]] = Field(
|
|
11207
|
-
..., description='The tags of the simulation persona.', title='Tags'
|
|
11208
|
-
)
|
|
11209
|
-
is_deleted: bool = Field(
|
|
11210
|
-
...,
|
|
11211
|
-
description='Whether the simulation persona is deleted.',
|
|
11212
|
-
title='Is Deleted',
|
|
11213
|
-
)
|
|
11214
|
-
created_at: AwareDatetime = Field(
|
|
11215
|
-
...,
|
|
11216
|
-
description='The timestamp when the simulation persona was created.',
|
|
11217
|
-
title='Created At',
|
|
11218
|
-
)
|
|
11219
|
-
creator: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
|
|
11220
|
-
..., description='The user who created the simulation persona.'
|
|
11221
|
-
)
|
|
11222
|
-
updated_at: AwareDatetime = Field(
|
|
11223
|
-
...,
|
|
11224
|
-
description='The timestamp when the simulation persona was last updated.',
|
|
11225
|
-
title='Updated At',
|
|
11226
|
-
)
|
|
11227
|
-
updated_by: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = (
|
|
11228
|
-
Field(..., description='The user who last updated the simulation persona.')
|
|
11229
|
-
)
|
|
11230
|
-
|
|
11231
|
-
|
|
11232
11199
|
class SimulationGetSimulationScenarioVersionsResponse(BaseModel):
|
|
11233
11200
|
simulation_scenario_versions: List[SimulationScenarioVersion] = Field(
|
|
11234
11201
|
...,
|
|
@@ -11260,37 +11227,6 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
|
|
|
11260
11227
|
)
|
|
11261
11228
|
|
|
11262
11229
|
|
|
11263
|
-
class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
|
|
11264
|
-
id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
|
|
11265
|
-
name: str = Field(
|
|
11266
|
-
..., description='The name of the simulation scenario.', title='Name'
|
|
11267
|
-
)
|
|
11268
|
-
tags: Dict[str, Optional[str]] = Field(
|
|
11269
|
-
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11270
|
-
)
|
|
11271
|
-
is_deleted: bool = Field(
|
|
11272
|
-
...,
|
|
11273
|
-
description='Whether the simulation scenario is deleted.',
|
|
11274
|
-
title='Is Deleted',
|
|
11275
|
-
)
|
|
11276
|
-
created_at: AwareDatetime = Field(
|
|
11277
|
-
...,
|
|
11278
|
-
description='The timestamp when the simulation scenario was created.',
|
|
11279
|
-
title='Created At',
|
|
11280
|
-
)
|
|
11281
|
-
creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11282
|
-
Field(..., description='The user who created the simulation scenario.')
|
|
11283
|
-
)
|
|
11284
|
-
updated_at: AwareDatetime = Field(
|
|
11285
|
-
...,
|
|
11286
|
-
description='The timestamp when the simulation scenario was last updated.',
|
|
11287
|
-
title='Updated At',
|
|
11288
|
-
)
|
|
11289
|
-
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11290
|
-
Field(..., description='The user who last updated the simulation scenario.')
|
|
11291
|
-
)
|
|
11292
|
-
|
|
11293
|
-
|
|
11294
11230
|
class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
|
|
11295
11231
|
presigned_url: str = Field(
|
|
11296
11232
|
...,
|
|
@@ -11379,21 +11315,68 @@ class SimulationGetSimulationUnitTestsResponseFilterValues(BaseModel):
|
|
|
11379
11315
|
)
|
|
11380
11316
|
|
|
11381
11317
|
|
|
11382
|
-
class
|
|
11383
|
-
|
|
11384
|
-
|
|
11385
|
-
|
|
11386
|
-
|
|
11318
|
+
class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
|
|
11319
|
+
id: str = Field(..., description='The ID of the simulation persona.', title='Id')
|
|
11320
|
+
name: str = Field(
|
|
11321
|
+
..., description='The name of the simulation persona.', title='Name'
|
|
11322
|
+
)
|
|
11323
|
+
role: str = Field(
|
|
11324
|
+
..., description='The role of the simulation persona.', title='Role'
|
|
11325
|
+
)
|
|
11326
|
+
tags: Dict[str, Optional[str]] = Field(
|
|
11327
|
+
..., description='The tags of the simulation persona.', title='Tags'
|
|
11328
|
+
)
|
|
11329
|
+
is_deleted: bool = Field(
|
|
11330
|
+
...,
|
|
11331
|
+
description='Whether the simulation persona is deleted.',
|
|
11332
|
+
title='Is Deleted',
|
|
11333
|
+
)
|
|
11334
|
+
created_at: AwareDatetime = Field(
|
|
11335
|
+
...,
|
|
11336
|
+
description='The timestamp when the simulation persona was created.',
|
|
11337
|
+
title='Created At',
|
|
11338
|
+
)
|
|
11339
|
+
creator: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
|
|
11340
|
+
..., description='The user who created the simulation persona.'
|
|
11341
|
+
)
|
|
11342
|
+
updated_at: AwareDatetime = Field(
|
|
11343
|
+
...,
|
|
11344
|
+
description='The timestamp when the simulation persona was last updated.',
|
|
11345
|
+
title='Updated At',
|
|
11346
|
+
)
|
|
11347
|
+
updated_by: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = (
|
|
11348
|
+
Field(..., description='The user who last updated the simulation persona.')
|
|
11387
11349
|
)
|
|
11388
11350
|
|
|
11389
11351
|
|
|
11390
|
-
class
|
|
11391
|
-
|
|
11392
|
-
|
|
11393
|
-
|
|
11352
|
+
class SimulationSearchSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
|
|
11353
|
+
id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
|
|
11354
|
+
name: str = Field(
|
|
11355
|
+
..., description='The name of the simulation scenario.', title='Name'
|
|
11356
|
+
)
|
|
11357
|
+
tags: Dict[str, Optional[str]] = Field(
|
|
11358
|
+
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11359
|
+
)
|
|
11360
|
+
is_deleted: bool = Field(
|
|
11394
11361
|
...,
|
|
11395
|
-
description='
|
|
11396
|
-
title='
|
|
11362
|
+
description='Whether the simulation scenario is deleted.',
|
|
11363
|
+
title='Is Deleted',
|
|
11364
|
+
)
|
|
11365
|
+
created_at: AwareDatetime = Field(
|
|
11366
|
+
...,
|
|
11367
|
+
description='The timestamp when the simulation scenario was created.',
|
|
11368
|
+
title='Created At',
|
|
11369
|
+
)
|
|
11370
|
+
creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11371
|
+
Field(..., description='The user who created the simulation scenario.')
|
|
11372
|
+
)
|
|
11373
|
+
updated_at: AwareDatetime = Field(
|
|
11374
|
+
...,
|
|
11375
|
+
description='The timestamp when the simulation scenario was last updated.',
|
|
11376
|
+
title='Updated At',
|
|
11377
|
+
)
|
|
11378
|
+
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11379
|
+
Field(..., description='The user who last updated the simulation scenario.')
|
|
11397
11380
|
)
|
|
11398
11381
|
|
|
11399
11382
|
|
|
@@ -11454,39 +11437,13 @@ class SimulationUpdateSimulationUnitTestRequestRunCount(RootModel[int]):
|
|
|
11454
11437
|
)
|
|
11455
11438
|
|
|
11456
11439
|
|
|
11457
|
-
class
|
|
11458
|
-
|
|
11459
|
-
|
|
11460
|
-
|
|
11461
|
-
|
|
11462
|
-
|
|
11463
|
-
|
|
11464
|
-
min_length=1,
|
|
11465
|
-
title='Unit Test Runs',
|
|
11466
|
-
)
|
|
11467
|
-
)
|
|
11468
|
-
|
|
11469
|
-
|
|
11470
|
-
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
11471
|
-
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11472
|
-
None, description='The name of the simulation unit test set.'
|
|
11473
|
-
)
|
|
11474
|
-
description: Optional[
|
|
11475
|
-
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
11476
|
-
] = Field(
|
|
11477
|
-
{},
|
|
11478
|
-
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
11479
|
-
title='Description',
|
|
11480
|
-
)
|
|
11481
|
-
unit_test_runs: Optional[
|
|
11482
|
-
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
11483
|
-
] = Field(
|
|
11484
|
-
None,
|
|
11485
|
-
description='The unit test runs that are part of this set.',
|
|
11486
|
-
title='Unit Test Runs',
|
|
11487
|
-
)
|
|
11488
|
-
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
11489
|
-
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
11440
|
+
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11441
|
+
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11442
|
+
run_count: int = Field(
|
|
11443
|
+
...,
|
|
11444
|
+
description='The number of times to run the unit test.',
|
|
11445
|
+
gt=0,
|
|
11446
|
+
title='Run Count',
|
|
11490
11447
|
)
|
|
11491
11448
|
|
|
11492
11449
|
|
|
@@ -11523,22 +11480,6 @@ class ToolGetToolsResponseFilterValues(BaseModel):
|
|
|
11523
11480
|
)
|
|
11524
11481
|
|
|
11525
11482
|
|
|
11526
|
-
class ToolInvokeToolVersionRequestInputInvocationMode(Enum):
|
|
11527
|
-
regular = 'regular'
|
|
11528
|
-
conversation_simulation = 'conversation-simulation'
|
|
11529
|
-
|
|
11530
|
-
|
|
11531
|
-
class ToolInvokeToolVersionRequestInput(BaseModel):
|
|
11532
|
-
input_parameters: Dict[str, Any] = Field(
|
|
11533
|
-
...,
|
|
11534
|
-
description='The input parameters for the tool invocation.',
|
|
11535
|
-
title='Input Parameters',
|
|
11536
|
-
)
|
|
11537
|
-
invocation_mode: ToolInvokeToolVersionRequestInputInvocationMode = Field(
|
|
11538
|
-
..., description='The mode of invocation.', title='Invocation Mode'
|
|
11539
|
-
)
|
|
11540
|
-
|
|
11541
|
-
|
|
11542
11483
|
class ToolModifyToolRequest(BaseModel):
|
|
11543
11484
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11544
11485
|
None, description='A description of this tool. Only updates if not-null.'
|
|
@@ -11581,34 +11522,19 @@ class ToolPublishToolVersionResponse(BaseModel):
|
|
|
11581
11522
|
)
|
|
11582
11523
|
|
|
11583
11524
|
|
|
11584
|
-
class
|
|
11585
|
-
|
|
11586
|
-
|
|
11587
|
-
|
|
11588
|
-
|
|
11589
|
-
|
|
11590
|
-
|
|
11591
|
-
)
|
|
11592
|
-
commit_branch: str = Field(
|
|
11593
|
-
...,
|
|
11594
|
-
description='The branch in the tools repo whose tip will be tested.',
|
|
11595
|
-
title='Commit Branch',
|
|
11596
|
-
)
|
|
11597
|
-
project_path: str = Field(
|
|
11598
|
-
...,
|
|
11599
|
-
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
11600
|
-
pattern='^[-\\w\\d_/]+$',
|
|
11601
|
-
title='Project Path',
|
|
11602
|
-
)
|
|
11603
|
-
required_envvars: Dict[str, str] = Field(
|
|
11525
|
+
class ToolTestToolRequestInputInvocationMode(Enum):
|
|
11526
|
+
regular = 'regular'
|
|
11527
|
+
conversation_simulation = 'conversation-simulation'
|
|
11528
|
+
|
|
11529
|
+
|
|
11530
|
+
class ToolTestToolRequestInput(BaseModel):
|
|
11531
|
+
input_parameters: Dict[str, Any] = Field(
|
|
11604
11532
|
...,
|
|
11605
|
-
description='The
|
|
11606
|
-
title='
|
|
11533
|
+
description='The input parameters for the tool invocation.',
|
|
11534
|
+
title='Input Parameters',
|
|
11607
11535
|
)
|
|
11608
|
-
|
|
11609
|
-
...,
|
|
11610
|
-
description='The secret environment variables required for the tool to run.',
|
|
11611
|
-
title='Required Secret Envvars',
|
|
11536
|
+
invocation_mode: ToolTestToolRequestInputInvocationMode = Field(
|
|
11537
|
+
..., description='The mode of invocation.', title='Invocation Mode'
|
|
11612
11538
|
)
|
|
11613
11539
|
|
|
11614
11540
|
|
|
@@ -12119,7 +12045,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
|
|
|
12119
12045
|
[], description='The IDs of the messages to retrieve.', title='Id'
|
|
12120
12046
|
)
|
|
12121
12047
|
message_type: Optional[List[MessageType]] = Field(
|
|
12122
|
-
['
|
|
12048
|
+
['external-event', 'user-message', 'agent-message'],
|
|
12123
12049
|
description='The type of messages to retrieve.',
|
|
12124
12050
|
title='Message Type',
|
|
12125
12051
|
)
|
|
@@ -14148,7 +14074,7 @@ class ToolVersionInstance(BaseModel):
|
|
|
14148
14074
|
description='The ID of the tool that this version belongs to.',
|
|
14149
14075
|
title='Tool Id',
|
|
14150
14076
|
)
|
|
14151
|
-
version:
|
|
14077
|
+
version: AmigoLibMongoCollectionsToolVersionToolVersionVersion = Field(
|
|
14152
14078
|
..., description='The version of the tool.'
|
|
14153
14079
|
)
|
|
14154
14080
|
required_envvars: List[str] = Field(
|
|
@@ -14554,7 +14480,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
|
|
|
14554
14480
|
description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
|
|
14555
14481
|
min_length=1,
|
|
14556
14482
|
)
|
|
14557
|
-
user_dimensions: List[
|
|
14483
|
+
user_dimensions: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
14558
14484
|
...,
|
|
14559
14485
|
description='User dimensions for the organization.',
|
|
14560
14486
|
title='User Dimensions',
|
|
@@ -14698,17 +14624,6 @@ class OrganizationGetOrganizationMetricsResponse(BaseModel):
|
|
|
14698
14624
|
)
|
|
14699
14625
|
|
|
14700
14626
|
|
|
14701
|
-
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
14702
|
-
RootModel[List[OrganizationModifyOrganizationRequestUserDimension]]
|
|
14703
|
-
):
|
|
14704
|
-
root: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14705
|
-
...,
|
|
14706
|
-
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
14707
|
-
min_length=1,
|
|
14708
|
-
title='User Dimensions',
|
|
14709
|
-
)
|
|
14710
|
-
|
|
14711
|
-
|
|
14712
14627
|
class OrganizationModifyOrganizationRequest(BaseModel):
|
|
14713
14628
|
title: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14714
14629
|
None,
|
|
@@ -14766,7 +14681,7 @@ class OrganizationModifyOrganizationRequest(BaseModel):
|
|
|
14766
14681
|
)
|
|
14767
14682
|
|
|
14768
14683
|
|
|
14769
|
-
class
|
|
14684
|
+
class RoleCreateRoleRequestPermissionGrant(BaseModel):
|
|
14770
14685
|
action: AmigoLibMongoCollectionsRoleRolePermissionGrantAction = Field(
|
|
14771
14686
|
...,
|
|
14772
14687
|
description='Whether this grant allows or denies the specified access.',
|
|
@@ -14783,6 +14698,29 @@ class RoleModifyRoleRequestPermissionGrant(BaseModel):
|
|
|
14783
14698
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
|
|
14784
14699
|
|
|
14785
14700
|
|
|
14701
|
+
class RoleModifyRoleRequest(BaseModel):
|
|
14702
|
+
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14703
|
+
None,
|
|
14704
|
+
description='A description about the role. Only updated if specified. This field is a mutable field.',
|
|
14705
|
+
)
|
|
14706
|
+
permission_grants: Optional[List[RoleCreateRoleRequestPermissionGrant]] = Field(
|
|
14707
|
+
None,
|
|
14708
|
+
description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
|
|
14709
|
+
title='Permission Grants',
|
|
14710
|
+
)
|
|
14711
|
+
frontend_view: Optional[FrontendView] = Field(
|
|
14712
|
+
None,
|
|
14713
|
+
description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
|
|
14714
|
+
)
|
|
14715
|
+
inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
|
|
14716
|
+
Field(
|
|
14717
|
+
{},
|
|
14718
|
+
description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
|
|
14719
|
+
title='Inherited From',
|
|
14720
|
+
)
|
|
14721
|
+
)
|
|
14722
|
+
|
|
14723
|
+
|
|
14786
14724
|
class ServiceCreateServiceRequestVersionSet(BaseModel):
|
|
14787
14725
|
agent_version_number: Optional[int] = Field(
|
|
14788
14726
|
...,
|
|
@@ -14874,7 +14812,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14874
14812
|
..., description='The description of the simulation unit test set.'
|
|
14875
14813
|
)
|
|
14876
14814
|
unit_test_runs: List[
|
|
14877
|
-
|
|
14815
|
+
SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor
|
|
14878
14816
|
] = Field(
|
|
14879
14817
|
...,
|
|
14880
14818
|
description='The unit test runs that are part of this set.',
|
|
@@ -14888,7 +14826,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14888
14826
|
|
|
14889
14827
|
class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
14890
14828
|
simulation_personas: List[
|
|
14891
|
-
|
|
14829
|
+
SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
|
|
14892
14830
|
] = Field(
|
|
14893
14831
|
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
14894
14832
|
)
|
|
@@ -14912,7 +14850,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
|
14912
14850
|
|
|
14913
14851
|
class SimulationGetSimulationScenariosResponse(BaseModel):
|
|
14914
14852
|
simulation_scenarios: List[
|
|
14915
|
-
|
|
14853
|
+
SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
|
|
14916
14854
|
] = Field(
|
|
14917
14855
|
...,
|
|
14918
14856
|
description='The list of simulation scenarios.',
|
|
@@ -14960,6 +14898,24 @@ class SimulationGetSimulationUnitTestSetsResponse(BaseModel):
|
|
|
14960
14898
|
)
|
|
14961
14899
|
|
|
14962
14900
|
|
|
14901
|
+
class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
14902
|
+
simulation_personas: List[
|
|
14903
|
+
SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
|
|
14904
|
+
] = Field(
|
|
14905
|
+
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
14906
|
+
)
|
|
14907
|
+
|
|
14908
|
+
|
|
14909
|
+
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
14910
|
+
simulation_scenarios: List[
|
|
14911
|
+
SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
|
|
14912
|
+
] = Field(
|
|
14913
|
+
...,
|
|
14914
|
+
description='The list of simulation scenarios.',
|
|
14915
|
+
title='Simulation Scenarios',
|
|
14916
|
+
)
|
|
14917
|
+
|
|
14918
|
+
|
|
14963
14919
|
class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
|
|
14964
14920
|
simulation_unit_test_sets: List[SimulationUnitTestSet] = Field(
|
|
14965
14921
|
...,
|
|
@@ -14973,6 +14929,42 @@ SimulationUpdateSimulationUnitTestRequestSuccessCriterion = (
|
|
|
14973
14929
|
)
|
|
14974
14930
|
|
|
14975
14931
|
|
|
14932
|
+
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
|
|
14933
|
+
RootModel[List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
|
|
14934
|
+
):
|
|
14935
|
+
root: List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
|
|
14936
|
+
Field(
|
|
14937
|
+
...,
|
|
14938
|
+
description='The unit test runs that are part of this set.',
|
|
14939
|
+
min_length=1,
|
|
14940
|
+
title='Unit Test Runs',
|
|
14941
|
+
)
|
|
14942
|
+
)
|
|
14943
|
+
|
|
14944
|
+
|
|
14945
|
+
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
14946
|
+
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14947
|
+
None, description='The name of the simulation unit test set.'
|
|
14948
|
+
)
|
|
14949
|
+
description: Optional[
|
|
14950
|
+
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
14951
|
+
] = Field(
|
|
14952
|
+
{},
|
|
14953
|
+
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
14954
|
+
title='Description',
|
|
14955
|
+
)
|
|
14956
|
+
unit_test_runs: Optional[
|
|
14957
|
+
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
14958
|
+
] = Field(
|
|
14959
|
+
None,
|
|
14960
|
+
description='The unit test runs that are part of this set.',
|
|
14961
|
+
title='Unit Test Runs',
|
|
14962
|
+
)
|
|
14963
|
+
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
14964
|
+
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
14965
|
+
)
|
|
14966
|
+
|
|
14967
|
+
|
|
14976
14968
|
class ToolGetToolVersionsResponse(BaseModel):
|
|
14977
14969
|
tool_versions: List[ToolVersionInstance] = Field(
|
|
14978
14970
|
...,
|
|
@@ -15014,7 +15006,7 @@ class ToolGetToolsResponse(BaseModel):
|
|
|
15014
15006
|
|
|
15015
15007
|
|
|
15016
15008
|
class ToolInvokeToolVersionRequest(BaseModel):
|
|
15017
|
-
inputs: List[
|
|
15009
|
+
inputs: List[ToolTestToolRequestInput] = Field(
|
|
15018
15010
|
...,
|
|
15019
15011
|
description='The list of inputs for the tool invocation.',
|
|
15020
15012
|
max_length=10,
|
|
@@ -15035,6 +15027,37 @@ class ToolModifyToolEnvvarsRequest(BaseModel):
|
|
|
15035
15027
|
deletes: Optional[List[DeleteRequest]] = Field([], title='Deletes')
|
|
15036
15028
|
|
|
15037
15029
|
|
|
15030
|
+
class ToolTestToolRequest(BaseModel):
|
|
15031
|
+
inputs: List[ToolTestToolRequestInput] = Field(
|
|
15032
|
+
...,
|
|
15033
|
+
description='The list of inputs for the tool invocation.',
|
|
15034
|
+
max_length=10,
|
|
15035
|
+
min_length=1,
|
|
15036
|
+
title='Inputs',
|
|
15037
|
+
)
|
|
15038
|
+
commit_branch: str = Field(
|
|
15039
|
+
...,
|
|
15040
|
+
description='The branch in the tools repo whose tip will be tested.',
|
|
15041
|
+
title='Commit Branch',
|
|
15042
|
+
)
|
|
15043
|
+
project_path: str = Field(
|
|
15044
|
+
...,
|
|
15045
|
+
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
15046
|
+
pattern='^[-\\w\\d_/]+$',
|
|
15047
|
+
title='Project Path',
|
|
15048
|
+
)
|
|
15049
|
+
required_envvars: Dict[str, str] = Field(
|
|
15050
|
+
...,
|
|
15051
|
+
description='The environment variables required for the tool to run.',
|
|
15052
|
+
title='Required Envvars',
|
|
15053
|
+
)
|
|
15054
|
+
required_secret_envvars: Dict[str, str] = Field(
|
|
15055
|
+
...,
|
|
15056
|
+
description='The secret environment variables required for the tool to run.',
|
|
15057
|
+
title='Required Secret Envvars',
|
|
15058
|
+
)
|
|
15059
|
+
|
|
15060
|
+
|
|
15038
15061
|
ToolTestToolResponse = ToolInvokeToolVersionResponse
|
|
15039
15062
|
|
|
15040
15063
|
|
|
@@ -15964,7 +15987,7 @@ class RoleCreateRoleRequest(BaseModel):
|
|
|
15964
15987
|
description: str = Field(
|
|
15965
15988
|
..., description='A description about the role.', min_length=1
|
|
15966
15989
|
)
|
|
15967
|
-
permission_grants: List[
|
|
15990
|
+
permission_grants: List[RoleCreateRoleRequestPermissionGrant] = Field(
|
|
15968
15991
|
...,
|
|
15969
15992
|
description='A list of permission grants associated with this role.',
|
|
15970
15993
|
title='Permission Grants',
|
|
@@ -15990,29 +16013,6 @@ class RoleGetRolesResponse(BaseModel):
|
|
|
15990
16013
|
)
|
|
15991
16014
|
|
|
15992
16015
|
|
|
15993
|
-
class RoleModifyRoleRequest(BaseModel):
|
|
15994
|
-
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
15995
|
-
None,
|
|
15996
|
-
description='A description about the role. Only updated if specified. This field is a mutable field.',
|
|
15997
|
-
)
|
|
15998
|
-
permission_grants: Optional[List[RoleModifyRoleRequestPermissionGrant]] = Field(
|
|
15999
|
-
None,
|
|
16000
|
-
description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
|
|
16001
|
-
title='Permission Grants',
|
|
16002
|
-
)
|
|
16003
|
-
frontend_view: Optional[FrontendView] = Field(
|
|
16004
|
-
None,
|
|
16005
|
-
description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
|
|
16006
|
-
)
|
|
16007
|
-
inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
|
|
16008
|
-
Field(
|
|
16009
|
-
{},
|
|
16010
|
-
description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
|
|
16011
|
-
title='Inherited From',
|
|
16012
|
-
)
|
|
16013
|
-
)
|
|
16014
|
-
|
|
16015
|
-
|
|
16016
16016
|
class ServiceCreateServiceRequest(BaseModel):
|
|
16017
16017
|
service_hierarchical_state_machine_id: str = Field(
|
|
16018
16018
|
...,
|
|
@@ -16177,7 +16177,7 @@ class SimulationUpdateSimulationUnitTestRequest(BaseModel):
|
|
|
16177
16177
|
)
|
|
16178
16178
|
|
|
16179
16179
|
|
|
16180
|
-
class
|
|
16180
|
+
class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
16181
16181
|
id: str = Field(..., description='The ID of the tool invocation.', title='Id')
|
|
16182
16182
|
org_id: str = Field(..., description='The ID of the organization.', title='Org Id')
|
|
16183
16183
|
created_at: Optional[AwareDatetime] = Field(None, title='Created At')
|
|
@@ -16199,19 +16199,11 @@ class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
|
16199
16199
|
tool_id: str = Field(
|
|
16200
16200
|
..., description='The ID of the tool that was invoked.', title='Tool Id'
|
|
16201
16201
|
)
|
|
16202
|
-
tool_version:
|
|
16202
|
+
tool_version: AmigoLibMongoCollectionsToolVersionToolVersionVersion = Field(
|
|
16203
16203
|
..., description='The version of the tool that was invoked.'
|
|
16204
16204
|
)
|
|
16205
16205
|
|
|
16206
16206
|
|
|
16207
|
-
class ToolSearchToolInvocationsResponse(BaseModel):
|
|
16208
|
-
tool_invocations: List[ToolGetToolInvocationsResponseToolInvocationInstance] = (
|
|
16209
|
-
Field(
|
|
16210
|
-
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16211
|
-
)
|
|
16212
|
-
)
|
|
16213
|
-
|
|
16214
|
-
|
|
16215
16207
|
class UserGetUsersResponse(BaseModel):
|
|
16216
16208
|
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
16217
16209
|
..., description='Users in this organization.', title='Users'
|
|
@@ -16325,7 +16317,7 @@ class SimulationGetSimulationUnitTestSetRunsResponse(BaseModel):
|
|
|
16325
16317
|
|
|
16326
16318
|
|
|
16327
16319
|
class ToolGetToolInvocationsResponse(BaseModel):
|
|
16328
|
-
tool_invocations: List[
|
|
16320
|
+
tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
|
|
16329
16321
|
Field(
|
|
16330
16322
|
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16331
16323
|
)
|
|
@@ -16340,3 +16332,11 @@ class ToolGetToolInvocationsResponse(BaseModel):
|
|
|
16340
16332
|
description='The continuation token to retrieve the next page of tool invocations, or null if there are no more tool invocations.',
|
|
16341
16333
|
title='Continuation Token',
|
|
16342
16334
|
)
|
|
16335
|
+
|
|
16336
|
+
|
|
16337
|
+
class ToolSearchToolInvocationsResponse(BaseModel):
|
|
16338
|
+
tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
|
|
16339
|
+
Field(
|
|
16340
|
+
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16341
|
+
)
|
|
16342
|
+
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
amigo_sdk/__init__.py,sha256=
|
|
1
|
+
amigo_sdk/__init__.py,sha256=j-eYEBygx4evbzc91aD7CZmAYRsNVWvUE4C5UzGdLt0,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=8dEMwjKm6jo7REXhfnYInIXYNSTQ-8NvonL1sFhyUqA,456685
|
|
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.85.0.dist-info/METADATA,sha256=FjNR1RMuSRa-TNKXtRxOL4m3yBGYiM8B_tt8a-MtqCs,8499
|
|
15
|
+
amigo_sdk-0.85.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
16
|
+
amigo_sdk-0.85.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
17
|
+
amigo_sdk-0.85.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
18
|
+
amigo_sdk-0.85.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|