amigo_sdk 0.93.0__py3-none-any.whl → 0.95.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 +345 -299
- {amigo_sdk-0.93.0.dist-info → amigo_sdk-0.95.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.93.0.dist-info → amigo_sdk-0.95.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.93.0.dist-info → amigo_sdk-0.95.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.93.0.dist-info → amigo_sdk-0.95.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.93.0.dist-info → amigo_sdk-0.95.0.dist-info}/licenses/LICENSE +0 -0
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-20T00:51:31+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -1509,6 +1509,11 @@ class AmigoLibMongoCollectionsDynamicBehaviorSetVersionAction(BaseModel):
|
|
|
1509
1509
|
)
|
|
1510
1510
|
|
|
1511
1511
|
|
|
1512
|
+
class AmigoLibMongoCollectionsMetricMetricTag(BaseModel):
|
|
1513
|
+
key: str = Field(..., title='Key')
|
|
1514
|
+
value: Optional[str] = Field(..., title='Value')
|
|
1515
|
+
|
|
1516
|
+
|
|
1512
1517
|
AmigoLibMongoCollectionsMetricMetricUserInfo = (
|
|
1513
1518
|
AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1514
1519
|
)
|
|
@@ -1593,11 +1598,6 @@ AmigoLibMongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo
|
|
|
1593
1598
|
)
|
|
1594
1599
|
|
|
1595
1600
|
|
|
1596
|
-
class AmigoLibMongoCollectionsToolToolTag(BaseModel):
|
|
1597
|
-
key: str = Field(..., title='Key')
|
|
1598
|
-
value: Optional[str] = Field(..., title='Value')
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
1601
|
class AmigoLibMongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
|
|
1602
1602
|
major: int = Field(..., title='Major')
|
|
1603
1603
|
minor: int = Field(..., title='Minor')
|
|
@@ -1854,6 +1854,20 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
|
|
|
1854
1854
|
)
|
|
1855
1855
|
|
|
1856
1856
|
|
|
1857
|
+
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
|
|
1858
|
+
BaseModel
|
|
1859
|
+
):
|
|
1860
|
+
id: str = Field(..., title='Id')
|
|
1861
|
+
name: str = Field(..., title='Name')
|
|
1862
|
+
is_active: bool = Field(..., title='Is Active')
|
|
1863
|
+
applied_to_services: List[str] = Field(..., title='Applied To Services')
|
|
1864
|
+
tags: Dict[str, Optional[str]] = Field(..., title='Tags')
|
|
1865
|
+
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1866
|
+
creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1867
|
+
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1868
|
+
updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1869
|
+
|
|
1870
|
+
|
|
1857
1871
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
1858
1872
|
applied_to_services_ids: List[str] = Field(
|
|
1859
1873
|
...,
|
|
@@ -1874,18 +1888,14 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
|
1874
1888
|
)
|
|
1875
1889
|
|
|
1876
1890
|
|
|
1877
|
-
class
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1886
|
-
creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1887
|
-
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1888
|
-
updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1891
|
+
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
|
|
1892
|
+
dynamic_behavior_sets: List[
|
|
1893
|
+
DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
1894
|
+
] = Field(
|
|
1895
|
+
...,
|
|
1896
|
+
description='The retrieved dynamic behavior sets.',
|
|
1897
|
+
title='Dynamic Behavior Sets',
|
|
1898
|
+
)
|
|
1889
1899
|
|
|
1890
1900
|
|
|
1891
1901
|
class DynamicBehaviorSetUpdateDynamicBehaviorSetRequestAppliedToService(
|
|
@@ -2024,7 +2034,9 @@ class MetricUpdateMetricRequest(BaseModel):
|
|
|
2024
2034
|
additional_notes: Optional[
|
|
2025
2035
|
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
2026
2036
|
] = Field(
|
|
2027
|
-
|
|
2037
|
+
default_factory=lambda: AmigoLibPydanticBaseModelStrippedNonemptyString1.model_validate(
|
|
2038
|
+
{}
|
|
2039
|
+
),
|
|
2028
2040
|
description='Additional notes about the metric. Only updated if set.',
|
|
2029
2041
|
title='Additional Notes',
|
|
2030
2042
|
)
|
|
@@ -10646,13 +10658,6 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
|
|
|
10646
10658
|
)
|
|
10647
10659
|
|
|
10648
10660
|
|
|
10649
|
-
class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
|
|
10650
|
-
description: str = Field(..., min_length=1)
|
|
10651
|
-
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10652
|
-
..., title='Tags'
|
|
10653
|
-
)
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
10661
|
class OrganizationCreateOrganizationResponse(BaseModel):
|
|
10657
10662
|
org_id: str = Field(
|
|
10658
10663
|
...,
|
|
@@ -10676,19 +10681,19 @@ class OrganizationCreateServiceHierarchicalStateMachineResponse(BaseModel):
|
|
|
10676
10681
|
)
|
|
10677
10682
|
|
|
10678
10683
|
|
|
10679
|
-
class
|
|
10684
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitConditionNextState(
|
|
10680
10685
|
AnnotationStateInputNextState
|
|
10681
10686
|
):
|
|
10682
10687
|
pass
|
|
10683
10688
|
|
|
10684
10689
|
|
|
10685
|
-
class
|
|
10690
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition(
|
|
10686
10691
|
BaseModel
|
|
10687
10692
|
):
|
|
10688
10693
|
description: str = Field(..., min_length=1)
|
|
10689
10694
|
next_state: Union[
|
|
10690
10695
|
StateOrRefName,
|
|
10691
|
-
|
|
10696
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitConditionNextState,
|
|
10692
10697
|
] = Field(..., title='Next State')
|
|
10693
10698
|
|
|
10694
10699
|
|
|
@@ -10794,22 +10799,18 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
|
|
|
10794
10799
|
)
|
|
10795
10800
|
|
|
10796
10801
|
|
|
10797
|
-
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
10798
|
-
RootModel[List[OrganizationCreateOrganizationRequestUserDimension]]
|
|
10799
|
-
):
|
|
10800
|
-
root: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
10801
|
-
...,
|
|
10802
|
-
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
10803
|
-
min_length=1,
|
|
10804
|
-
title='User Dimensions',
|
|
10805
|
-
)
|
|
10806
|
-
|
|
10807
|
-
|
|
10808
10802
|
OrganizationModifyOrganizationRequestPreferences = (
|
|
10809
10803
|
OrganizationCreateOrganizationRequestPreferences
|
|
10810
10804
|
)
|
|
10811
10805
|
|
|
10812
10806
|
|
|
10807
|
+
class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
|
|
10808
|
+
description: str = Field(..., min_length=1)
|
|
10809
|
+
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10810
|
+
..., title='Tags'
|
|
10811
|
+
)
|
|
10812
|
+
|
|
10813
|
+
|
|
10813
10814
|
class RoleAssignRoleRequest(BaseModel):
|
|
10814
10815
|
user_id: str = Field(
|
|
10815
10816
|
...,
|
|
@@ -10938,22 +10939,6 @@ class ServiceUpdateServiceRequest(BaseModel):
|
|
|
10938
10939
|
)
|
|
10939
10940
|
|
|
10940
10941
|
|
|
10941
|
-
class ServiceUpsertServiceVersionSetRequestVersionSet(BaseModel):
|
|
10942
|
-
agent_version_number: Optional[int] = Field(
|
|
10943
|
-
...,
|
|
10944
|
-
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
10945
|
-
title='Agent Version Number',
|
|
10946
|
-
)
|
|
10947
|
-
service_hierarchical_state_machine_version_number: Optional[int] = Field(
|
|
10948
|
-
...,
|
|
10949
|
-
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
10950
|
-
title='Service Hierarchical State Machine Version Number',
|
|
10951
|
-
)
|
|
10952
|
-
llm_model_preferences: Dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
|
|
10953
|
-
Field(..., title='Llm Model Preferences')
|
|
10954
|
-
)
|
|
10955
|
-
|
|
10956
|
-
|
|
10957
10942
|
class SimulationCreateSimulationPersonaRequestInitialVersion(BaseModel):
|
|
10958
10943
|
background: str = Field(
|
|
10959
10944
|
..., description='The background of the simulation persona.', min_length=1
|
|
@@ -10964,14 +10949,14 @@ class SimulationCreateSimulationPersonaRequestInitialVersion(BaseModel):
|
|
|
10964
10949
|
FieldNotSet,
|
|
10965
10950
|
]
|
|
10966
10951
|
] = Field(
|
|
10967
|
-
{},
|
|
10952
|
+
default_factory=lambda: FieldNotSet.model_validate({}),
|
|
10968
10953
|
description='The preferred language of the simulation persona in the ISO 639-3 format. If unspecified, the preferred language of the organization is used. If that is unspecified, the language of the agent is used.',
|
|
10969
10954
|
title='Preferred Language',
|
|
10970
10955
|
)
|
|
10971
10956
|
timezone: Optional[
|
|
10972
10957
|
Union[OrganizationCreateOrganizationRequestPreferencesTimezone, FieldNotSet]
|
|
10973
10958
|
] = Field(
|
|
10974
|
-
{},
|
|
10959
|
+
default_factory=lambda: FieldNotSet.model_validate({}),
|
|
10975
10960
|
description="The timezone of the simulation persona in the IANA tz database format. If unspecified, the organization's default timezone is used. If the organization's default timezone is not specified, UTC is used.",
|
|
10976
10961
|
title='Timezone',
|
|
10977
10962
|
)
|
|
@@ -11000,14 +10985,14 @@ class SimulationCreateSimulationPersonaVersionRequest(BaseModel):
|
|
|
11000
10985
|
FieldNotSet,
|
|
11001
10986
|
]
|
|
11002
10987
|
] = Field(
|
|
11003
|
-
{},
|
|
10988
|
+
default_factory=lambda: FieldNotSet.model_validate({}),
|
|
11004
10989
|
description='The preferred language of the simulation persona in the ISO 639-3 format. If unspecified, the preferred language of the organization is used. If that is unspecified too, the language of the agent is used.',
|
|
11005
10990
|
title='Preferred Language',
|
|
11006
10991
|
)
|
|
11007
10992
|
timezone: Optional[
|
|
11008
10993
|
Union[OrganizationCreateOrganizationRequestPreferencesTimezone, FieldNotSet]
|
|
11009
10994
|
] = Field(
|
|
11010
|
-
{},
|
|
10995
|
+
default_factory=lambda: FieldNotSet.model_validate({}),
|
|
11011
10996
|
description="The timezone of the simulation persona in the IANA tz database format. If unspecified, the organization's default timezone is used. If the organization's default timezone is not specified, UTC is used.",
|
|
11012
10997
|
title='Timezone',
|
|
11013
10998
|
)
|
|
@@ -11072,6 +11057,16 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
|
|
|
11072
11057
|
)
|
|
11073
11058
|
|
|
11074
11059
|
|
|
11060
|
+
class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11061
|
+
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11062
|
+
run_count: int = Field(
|
|
11063
|
+
...,
|
|
11064
|
+
description='The number of times to run the unit test.',
|
|
11065
|
+
gt=0,
|
|
11066
|
+
title='Run Count',
|
|
11067
|
+
)
|
|
11068
|
+
|
|
11069
|
+
|
|
11075
11070
|
class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
|
|
11076
11071
|
simulation_unit_test_set_id: str = Field(
|
|
11077
11072
|
...,
|
|
@@ -11196,6 +11191,37 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
|
|
|
11196
11191
|
)
|
|
11197
11192
|
|
|
11198
11193
|
|
|
11194
|
+
class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
|
|
11195
|
+
id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
|
|
11196
|
+
name: str = Field(
|
|
11197
|
+
..., description='The name of the simulation scenario.', title='Name'
|
|
11198
|
+
)
|
|
11199
|
+
tags: Dict[str, Optional[str]] = Field(
|
|
11200
|
+
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11201
|
+
)
|
|
11202
|
+
is_deleted: bool = Field(
|
|
11203
|
+
...,
|
|
11204
|
+
description='Whether the simulation scenario is deleted.',
|
|
11205
|
+
title='Is Deleted',
|
|
11206
|
+
)
|
|
11207
|
+
created_at: AwareDatetime = Field(
|
|
11208
|
+
...,
|
|
11209
|
+
description='The timestamp when the simulation scenario was created.',
|
|
11210
|
+
title='Created At',
|
|
11211
|
+
)
|
|
11212
|
+
creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11213
|
+
Field(..., description='The user who created the simulation scenario.')
|
|
11214
|
+
)
|
|
11215
|
+
updated_at: AwareDatetime = Field(
|
|
11216
|
+
...,
|
|
11217
|
+
description='The timestamp when the simulation scenario was last updated.',
|
|
11218
|
+
title='Updated At',
|
|
11219
|
+
)
|
|
11220
|
+
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11221
|
+
Field(..., description='The user who last updated the simulation scenario.')
|
|
11222
|
+
)
|
|
11223
|
+
|
|
11224
|
+
|
|
11199
11225
|
class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
|
|
11200
11226
|
presigned_url: str = Field(
|
|
11201
11227
|
...,
|
|
@@ -11292,34 +11318,13 @@ class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
|
11292
11318
|
)
|
|
11293
11319
|
|
|
11294
11320
|
|
|
11295
|
-
class
|
|
11296
|
-
|
|
11297
|
-
|
|
11298
|
-
|
|
11299
|
-
)
|
|
11300
|
-
tags: Dict[str, Optional[str]] = Field(
|
|
11301
|
-
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11302
|
-
)
|
|
11303
|
-
is_deleted: bool = Field(
|
|
11304
|
-
...,
|
|
11305
|
-
description='Whether the simulation scenario is deleted.',
|
|
11306
|
-
title='Is Deleted',
|
|
11307
|
-
)
|
|
11308
|
-
created_at: AwareDatetime = Field(
|
|
11309
|
-
...,
|
|
11310
|
-
description='The timestamp when the simulation scenario was created.',
|
|
11311
|
-
title='Created At',
|
|
11312
|
-
)
|
|
11313
|
-
creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11314
|
-
Field(..., description='The user who created the simulation scenario.')
|
|
11315
|
-
)
|
|
11316
|
-
updated_at: AwareDatetime = Field(
|
|
11321
|
+
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
11322
|
+
simulation_scenarios: List[
|
|
11323
|
+
SimulationGetSimulationScenariosResponseSimulationScenarioInstance
|
|
11324
|
+
] = Field(
|
|
11317
11325
|
...,
|
|
11318
|
-
description='The
|
|
11319
|
-
title='
|
|
11320
|
-
)
|
|
11321
|
-
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11322
|
-
Field(..., description='The user who last updated the simulation scenario.')
|
|
11326
|
+
description='The list of simulation scenarios.',
|
|
11327
|
+
title='Simulation Scenarios',
|
|
11323
11328
|
)
|
|
11324
11329
|
|
|
11325
11330
|
|
|
@@ -11380,13 +11385,41 @@ class SimulationUpdateSimulationUnitTestRequestRunCount(RootModel[int]):
|
|
|
11380
11385
|
)
|
|
11381
11386
|
|
|
11382
11387
|
|
|
11383
|
-
class
|
|
11384
|
-
|
|
11385
|
-
|
|
11386
|
-
|
|
11387
|
-
|
|
11388
|
-
|
|
11389
|
-
|
|
11388
|
+
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
|
|
11389
|
+
RootModel[List[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
|
|
11390
|
+
):
|
|
11391
|
+
root: List[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
|
|
11392
|
+
Field(
|
|
11393
|
+
...,
|
|
11394
|
+
description='The unit test runs that are part of this set.',
|
|
11395
|
+
min_length=1,
|
|
11396
|
+
title='Unit Test Runs',
|
|
11397
|
+
)
|
|
11398
|
+
)
|
|
11399
|
+
|
|
11400
|
+
|
|
11401
|
+
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
11402
|
+
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11403
|
+
None, description='The name of the simulation unit test set.'
|
|
11404
|
+
)
|
|
11405
|
+
description: Optional[
|
|
11406
|
+
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
11407
|
+
] = Field(
|
|
11408
|
+
default_factory=lambda: AmigoLibPydanticBaseModelStrippedNonemptyString1.model_validate(
|
|
11409
|
+
{}
|
|
11410
|
+
),
|
|
11411
|
+
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
11412
|
+
title='Description',
|
|
11413
|
+
)
|
|
11414
|
+
unit_test_runs: Optional[
|
|
11415
|
+
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
11416
|
+
] = Field(
|
|
11417
|
+
None,
|
|
11418
|
+
description='The unit test runs that are part of this set.',
|
|
11419
|
+
title='Unit Test Runs',
|
|
11420
|
+
)
|
|
11421
|
+
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
11422
|
+
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
11390
11423
|
)
|
|
11391
11424
|
|
|
11392
11425
|
|
|
@@ -11603,31 +11636,6 @@ class UserGetUsersResponseUserInstanceUserStats(BaseModel):
|
|
|
11603
11636
|
)
|
|
11604
11637
|
|
|
11605
11638
|
|
|
11606
|
-
class UserSearchUsersResponseUserInstance(BaseModel):
|
|
11607
|
-
org_id: str = Field(
|
|
11608
|
-
...,
|
|
11609
|
-
description='The ID of the organization that this user belongs to.',
|
|
11610
|
-
title='Org Id',
|
|
11611
|
-
)
|
|
11612
|
-
user_id: str = Field(
|
|
11613
|
-
..., description='The identifier of the user.', title='User Id'
|
|
11614
|
-
)
|
|
11615
|
-
first_name: str = Field(
|
|
11616
|
-
..., description='The first name of the user.', title='First Name'
|
|
11617
|
-
)
|
|
11618
|
-
last_name: str = Field(
|
|
11619
|
-
..., description='The last name of the user.', title='Last Name'
|
|
11620
|
-
)
|
|
11621
|
-
email: str = Field(..., description='Email of the user.', title='Email')
|
|
11622
|
-
user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
|
|
11623
|
-
..., description="Statistics about the user's usage of the Amigo platform."
|
|
11624
|
-
)
|
|
11625
|
-
role: str = Field(..., description='The ID of the role of the user.', title='Role')
|
|
11626
|
-
preferences: AmigoLibMongoCollectionsUserUserPreferences = Field(
|
|
11627
|
-
..., description='The preferences of the user.'
|
|
11628
|
-
)
|
|
11629
|
-
|
|
11630
|
-
|
|
11631
11639
|
class UserSignInWithApiKeyResponse(BaseModel):
|
|
11632
11640
|
id_token: str = Field(
|
|
11633
11641
|
...,
|
|
@@ -11683,14 +11691,14 @@ class UserUpdateUserInfoRequest(BaseModel):
|
|
|
11683
11691
|
FieldNotSet,
|
|
11684
11692
|
]
|
|
11685
11693
|
] = Field(
|
|
11686
|
-
{},
|
|
11694
|
+
default_factory=lambda: FieldNotSet.model_validate({}),
|
|
11687
11695
|
description="The preferred language for the user. The agent will attempt to converse to the user in this language if set. This field must be in the [ISO 639-3](https://en.wikipedia.org/wiki/ISO_639-3) format.\nIf `null`, erase the user's preferred setting, and the specific language used will be the agent's default spoken language. In order to not update this field, leave it out of the request or\nset it to an empty object (`_NotSet`).",
|
|
11688
11696
|
title='Preferred Language',
|
|
11689
11697
|
)
|
|
11690
11698
|
timezone: Optional[
|
|
11691
11699
|
Union[OrganizationCreateOrganizationRequestPreferencesTimezone, FieldNotSet]
|
|
11692
11700
|
] = Field(
|
|
11693
|
-
{},
|
|
11701
|
+
default_factory=lambda: FieldNotSet.model_validate({}),
|
|
11694
11702
|
description="The user's timezone in the IANA tz database format. If not specified, the organization's timezone is used.",
|
|
11695
11703
|
title='Timezone',
|
|
11696
11704
|
)
|
|
@@ -11813,7 +11821,9 @@ class GetAgentsParametersQuery(BaseModel):
|
|
|
11813
11821
|
None, description='Whether the agent is deprecated.', title='Deprecated'
|
|
11814
11822
|
)
|
|
11815
11823
|
id: Optional[List[GetAgentsParametersQueryIdItem]] = Field(
|
|
11816
|
-
|
|
11824
|
+
default_factory=list,
|
|
11825
|
+
description='The IDs of the agents to filter for.',
|
|
11826
|
+
title='Id',
|
|
11817
11827
|
)
|
|
11818
11828
|
limit: Optional[int] = Field(
|
|
11819
11829
|
10,
|
|
@@ -11858,7 +11868,9 @@ class GetServiceHierarchicalStateMachinesParametersQuery(BaseModel):
|
|
|
11858
11868
|
)
|
|
11859
11869
|
id: Optional[List[GetServiceHierarchicalStateMachinesParametersQueryIdItem]] = (
|
|
11860
11870
|
Field(
|
|
11861
|
-
|
|
11871
|
+
default_factory=list,
|
|
11872
|
+
description='The IDs of the state machines to filter for.',
|
|
11873
|
+
title='Id',
|
|
11862
11874
|
)
|
|
11863
11875
|
)
|
|
11864
11876
|
limit: Optional[int] = Field(
|
|
@@ -11971,7 +11983,9 @@ class GetServicesParametersQueryIdItem(
|
|
|
11971
11983
|
|
|
11972
11984
|
class GetServicesParametersQuery(BaseModel):
|
|
11973
11985
|
id: Optional[List[GetServicesParametersQueryIdItem]] = Field(
|
|
11974
|
-
|
|
11986
|
+
default_factory=list,
|
|
11987
|
+
description='The IDs of the services to retrieve.',
|
|
11988
|
+
title='Id',
|
|
11975
11989
|
)
|
|
11976
11990
|
is_active: Optional[bool] = Field(
|
|
11977
11991
|
None, description='Whether the service is active.', title='Is Active'
|
|
@@ -12024,7 +12038,7 @@ class GetConversationsParametersQuery(BaseModel):
|
|
|
12024
12038
|
title='User Id',
|
|
12025
12039
|
)
|
|
12026
12040
|
service_id: Optional[List[GetConversationsParametersQueryServiceIdItem]] = Field(
|
|
12027
|
-
|
|
12041
|
+
default_factory=list,
|
|
12028
12042
|
description='The identifier of the service whose conversation to retrieve.',
|
|
12029
12043
|
title='Service Id',
|
|
12030
12044
|
)
|
|
@@ -12032,7 +12046,9 @@ class GetConversationsParametersQuery(BaseModel):
|
|
|
12032
12046
|
None, description='Whether the conversation is finished.', title='Is Finished'
|
|
12033
12047
|
)
|
|
12034
12048
|
id: Optional[List[GetConversationsParametersQueryIdItem]] = Field(
|
|
12035
|
-
|
|
12049
|
+
default_factory=list,
|
|
12050
|
+
description='The ID of the conversation to retrieve.',
|
|
12051
|
+
title='Id',
|
|
12036
12052
|
)
|
|
12037
12053
|
limit: Optional[int] = Field(
|
|
12038
12054
|
150,
|
|
@@ -12067,17 +12083,19 @@ class GetConversationMessagesParametersQueryInteractionIdItem(
|
|
|
12067
12083
|
|
|
12068
12084
|
class GetConversationMessagesParametersQuery(BaseModel):
|
|
12069
12085
|
id: Optional[List[GetConversationMessagesParametersQueryIdItem]] = Field(
|
|
12070
|
-
|
|
12086
|
+
default_factory=list,
|
|
12087
|
+
description='The IDs of the messages to retrieve.',
|
|
12088
|
+
title='Id',
|
|
12071
12089
|
)
|
|
12072
12090
|
message_type: Optional[List[MessageType]] = Field(
|
|
12073
|
-
['
|
|
12091
|
+
['user-message', 'agent-message', 'external-event'],
|
|
12074
12092
|
description='The type of messages to retrieve.',
|
|
12075
12093
|
title='Message Type',
|
|
12076
12094
|
)
|
|
12077
12095
|
interaction_id: Optional[
|
|
12078
12096
|
List[GetConversationMessagesParametersQueryInteractionIdItem]
|
|
12079
12097
|
] = Field(
|
|
12080
|
-
|
|
12098
|
+
default_factory=list,
|
|
12081
12099
|
description='The IDs of the interactions to retrieve messages for.',
|
|
12082
12100
|
title='Interaction Id',
|
|
12083
12101
|
)
|
|
@@ -12116,7 +12134,7 @@ class InteractWithConversationRequestInteractWithConversationRequest(BaseModel):
|
|
|
12116
12134
|
InteractWithConversationRequestInteractWithConversationRequestExternalEventMessageContent
|
|
12117
12135
|
]
|
|
12118
12136
|
] = Field(
|
|
12119
|
-
|
|
12137
|
+
default_factory=list,
|
|
12120
12138
|
description='The contents of external event messages to be inserted before the initial message, in chronological order.',
|
|
12121
12139
|
title='External Event Message Contents',
|
|
12122
12140
|
)
|
|
@@ -12143,7 +12161,7 @@ class InteractWithConversationRequest_InteractWithConversationRequest(BaseModel)
|
|
|
12143
12161
|
InteractWithConversationRequestInteractWithConversationRequest1ExternalEventMessageContent
|
|
12144
12162
|
]
|
|
12145
12163
|
] = Field(
|
|
12146
|
-
|
|
12164
|
+
default_factory=list,
|
|
12147
12165
|
description='The contents of external event messages to be inserted before the initial message, in chronological order.',
|
|
12148
12166
|
title='External Event Message Contents',
|
|
12149
12167
|
)
|
|
@@ -12173,7 +12191,7 @@ class InteractWithConversationRequestInteractWithConversationRequest2(BaseModel)
|
|
|
12173
12191
|
InteractWithConversationRequestInteractWithConversationRequest2ExternalEventMessageContent
|
|
12174
12192
|
]
|
|
12175
12193
|
] = Field(
|
|
12176
|
-
|
|
12194
|
+
default_factory=list,
|
|
12177
12195
|
description='Must be empty, as external event messages cannot be sent with skips.',
|
|
12178
12196
|
max_length=0,
|
|
12179
12197
|
title='External Event Message Contents',
|
|
@@ -12250,11 +12268,13 @@ class GetMemoriesParametersQueryConversationIdItem(
|
|
|
12250
12268
|
|
|
12251
12269
|
class GetMemoriesParametersQuery(BaseModel):
|
|
12252
12270
|
id: Optional[List[GetMemoriesParametersQueryIdItem]] = Field(
|
|
12253
|
-
|
|
12271
|
+
default_factory=list,
|
|
12272
|
+
description='The IDs of the memories to retrieve.',
|
|
12273
|
+
title='Id',
|
|
12254
12274
|
)
|
|
12255
12275
|
conversation_id: Optional[List[GetMemoriesParametersQueryConversationIdItem]] = (
|
|
12256
12276
|
Field(
|
|
12257
|
-
|
|
12277
|
+
default_factory=list,
|
|
12258
12278
|
description='The IDs of the conversations to retrieve memories from.',
|
|
12259
12279
|
title='Conversation Id',
|
|
12260
12280
|
)
|
|
@@ -12302,7 +12322,9 @@ class GetRolesV1OrganizationRoleGetParametersQuery(BaseModel):
|
|
|
12302
12322
|
title='Return Permission Grants',
|
|
12303
12323
|
)
|
|
12304
12324
|
id: Optional[List[GetRolesV1OrganizationRoleGetParametersQueryIdItem]] = Field(
|
|
12305
|
-
|
|
12325
|
+
default_factory=list,
|
|
12326
|
+
description='The IDs of the roles to retrieve.',
|
|
12327
|
+
title='Id',
|
|
12306
12328
|
)
|
|
12307
12329
|
name: Optional[List[str]] = Field(
|
|
12308
12330
|
[], description='The names of the roles to retrieve.', title='Name'
|
|
@@ -12325,7 +12347,9 @@ class GetWebhookDestinationsParametersQueryIdItem(
|
|
|
12325
12347
|
|
|
12326
12348
|
class GetWebhookDestinationsParametersQuery(BaseModel):
|
|
12327
12349
|
id: Optional[List[GetWebhookDestinationsParametersQueryIdItem]] = Field(
|
|
12328
|
-
|
|
12350
|
+
default_factory=list,
|
|
12351
|
+
description='The IDs of the webhook destinations to retrieve.',
|
|
12352
|
+
title='Id',
|
|
12329
12353
|
)
|
|
12330
12354
|
|
|
12331
12355
|
|
|
@@ -12379,7 +12403,9 @@ class GetDynamicBehaviorSetsParametersQueryAppliedToServiceItem(
|
|
|
12379
12403
|
|
|
12380
12404
|
class GetDynamicBehaviorSetsParametersQuery(BaseModel):
|
|
12381
12405
|
id: Optional[List[GetDynamicBehaviorSetsParametersQueryIdItem]] = Field(
|
|
12382
|
-
|
|
12406
|
+
default_factory=list,
|
|
12407
|
+
description='The IDs of the dynamic behavior sets to retrieve.',
|
|
12408
|
+
title='Id',
|
|
12383
12409
|
)
|
|
12384
12410
|
limit: Optional[int] = Field(
|
|
12385
12411
|
50,
|
|
@@ -12401,7 +12427,7 @@ class GetDynamicBehaviorSetsParametersQuery(BaseModel):
|
|
|
12401
12427
|
applied_to_service: Optional[
|
|
12402
12428
|
List[GetDynamicBehaviorSetsParametersQueryAppliedToServiceItem]
|
|
12403
12429
|
] = Field(
|
|
12404
|
-
|
|
12430
|
+
default_factory=list,
|
|
12405
12431
|
description='The IDs of the services that the dynamic behavior set is applied to.',
|
|
12406
12432
|
title='Applied To Service',
|
|
12407
12433
|
)
|
|
@@ -12483,7 +12509,7 @@ class SearchDynamicBehaviorSetsParametersQuery(BaseModel):
|
|
|
12483
12509
|
applied_to_service: Optional[
|
|
12484
12510
|
List[SearchDynamicBehaviorSetsParametersQueryAppliedToServiceItem]
|
|
12485
12511
|
] = Field(
|
|
12486
|
-
|
|
12512
|
+
default_factory=list,
|
|
12487
12513
|
description='The IDs of the services that the dynamic behavior set is applied to.',
|
|
12488
12514
|
title='Applied To Service',
|
|
12489
12515
|
)
|
|
@@ -12533,7 +12559,9 @@ class GetMetricsParametersQueryAppliedToServiceItem(
|
|
|
12533
12559
|
|
|
12534
12560
|
class GetMetricsParametersQuery(BaseModel):
|
|
12535
12561
|
id: Optional[List[GetMetricsParametersQueryIdItem]] = Field(
|
|
12536
|
-
|
|
12562
|
+
default_factory=list,
|
|
12563
|
+
description='The IDs of the metrics to retrieve.',
|
|
12564
|
+
title='Id',
|
|
12537
12565
|
)
|
|
12538
12566
|
limit: Optional[int] = Field(
|
|
12539
12567
|
50,
|
|
@@ -12550,7 +12578,7 @@ class GetMetricsParametersQuery(BaseModel):
|
|
|
12550
12578
|
applied_to_service: Optional[
|
|
12551
12579
|
List[GetMetricsParametersQueryAppliedToServiceItem]
|
|
12552
12580
|
] = Field(
|
|
12553
|
-
|
|
12581
|
+
default_factory=list,
|
|
12554
12582
|
description='The IDs of the services that the metric is applied to.',
|
|
12555
12583
|
title='Applied To Service',
|
|
12556
12584
|
)
|
|
@@ -12590,7 +12618,7 @@ class SearchMetricsParametersQuery(BaseModel):
|
|
|
12590
12618
|
applied_to_service: Optional[
|
|
12591
12619
|
List[SearchMetricsParametersQueryAppliedToServiceItem]
|
|
12592
12620
|
] = Field(
|
|
12593
|
-
|
|
12621
|
+
default_factory=list,
|
|
12594
12622
|
description='The IDs of the services that the metric is applied to.',
|
|
12595
12623
|
title='Applied To Service',
|
|
12596
12624
|
)
|
|
@@ -12651,7 +12679,11 @@ class GetMetricEvaluationResultsParametersQuery(BaseModel):
|
|
|
12651
12679
|
title='Timestamp Before',
|
|
12652
12680
|
)
|
|
12653
12681
|
metric_id: Optional[List[GetMetricEvaluationResultsParametersQueryMetricIdItem]] = (
|
|
12654
|
-
Field(
|
|
12682
|
+
Field(
|
|
12683
|
+
default_factory=list,
|
|
12684
|
+
description='The ID of the metric to retrieve.',
|
|
12685
|
+
title='Metric Id',
|
|
12686
|
+
)
|
|
12655
12687
|
)
|
|
12656
12688
|
source_type: Optional[List[EvaluationSourceType]] = Field(
|
|
12657
12689
|
[],
|
|
@@ -12661,14 +12693,14 @@ class GetMetricEvaluationResultsParametersQuery(BaseModel):
|
|
|
12661
12693
|
conversation_id: Optional[
|
|
12662
12694
|
List[GetMetricEvaluationResultsParametersQueryConversationIdItem]
|
|
12663
12695
|
] = Field(
|
|
12664
|
-
|
|
12696
|
+
default_factory=list,
|
|
12665
12697
|
description='For metric evaluation sources with type `post-session` or `manual`, this field filters the metric evaluation results to only include those that were computed from the given conversation IDs.',
|
|
12666
12698
|
title='Conversation Id',
|
|
12667
12699
|
)
|
|
12668
12700
|
simulation_unit_test_set_run_id: Optional[
|
|
12669
12701
|
List[GetMetricEvaluationResultsParametersQuerySimulationUnitTestSetRunIdItem]
|
|
12670
12702
|
] = Field(
|
|
12671
|
-
|
|
12703
|
+
default_factory=list,
|
|
12672
12704
|
description='For metric evaluation sources with type `simulation`, this field filters the metric evaluation results to only include those that were computed from the given simulation unit test set run IDs.',
|
|
12673
12705
|
title='Simulation Unit Test Set Run Id',
|
|
12674
12706
|
)
|
|
@@ -12687,7 +12719,9 @@ class GetSimulationPersonasParametersQueryIdItem(
|
|
|
12687
12719
|
|
|
12688
12720
|
class GetSimulationPersonasParametersQuery(BaseModel):
|
|
12689
12721
|
id: Optional[List[GetSimulationPersonasParametersQueryIdItem]] = Field(
|
|
12690
|
-
|
|
12722
|
+
default_factory=list,
|
|
12723
|
+
description='The IDs of the simulation personas to retrieve.',
|
|
12724
|
+
title='Id',
|
|
12691
12725
|
)
|
|
12692
12726
|
limit: Optional[int] = Field(
|
|
12693
12727
|
50,
|
|
@@ -12814,7 +12848,9 @@ class GetSimulationScenariosParametersQueryIdItem(
|
|
|
12814
12848
|
|
|
12815
12849
|
class GetSimulationScenariosParametersQuery(BaseModel):
|
|
12816
12850
|
id: Optional[List[GetSimulationScenariosParametersQueryIdItem]] = Field(
|
|
12817
|
-
|
|
12851
|
+
default_factory=list,
|
|
12852
|
+
description='The IDs of the simulation scenarios to retrieve.',
|
|
12853
|
+
title='Id',
|
|
12818
12854
|
)
|
|
12819
12855
|
limit: Optional[int] = Field(
|
|
12820
12856
|
50,
|
|
@@ -12921,7 +12957,9 @@ class GetSimulationUnitTestsParametersQueryMetricIdItem(
|
|
|
12921
12957
|
|
|
12922
12958
|
class GetSimulationUnitTestsParametersQuery(BaseModel):
|
|
12923
12959
|
id: Optional[List[GetSimulationUnitTestsParametersQueryIdItem]] = Field(
|
|
12924
|
-
|
|
12960
|
+
default_factory=list,
|
|
12961
|
+
description='The IDs of the simulation unit tests to retrieve.',
|
|
12962
|
+
title='Id',
|
|
12925
12963
|
)
|
|
12926
12964
|
limit: Optional[int] = Field(
|
|
12927
12965
|
50,
|
|
@@ -12942,28 +12980,28 @@ class GetSimulationUnitTestsParametersQuery(BaseModel):
|
|
|
12942
12980
|
)
|
|
12943
12981
|
service_id: Optional[List[GetSimulationUnitTestsParametersQueryServiceIdItem]] = (
|
|
12944
12982
|
Field(
|
|
12945
|
-
|
|
12983
|
+
default_factory=list,
|
|
12946
12984
|
description='The IDs of the services that the simulation unit tests run on.',
|
|
12947
12985
|
title='Service Id',
|
|
12948
12986
|
)
|
|
12949
12987
|
)
|
|
12950
12988
|
persona_id: Optional[List[GetSimulationUnitTestsParametersQueryPersonaIdItem]] = (
|
|
12951
12989
|
Field(
|
|
12952
|
-
|
|
12990
|
+
default_factory=list,
|
|
12953
12991
|
description='The IDs of the personas that the simulation unit tests use.',
|
|
12954
12992
|
title='Persona Id',
|
|
12955
12993
|
)
|
|
12956
12994
|
)
|
|
12957
12995
|
scenario_id: Optional[List[GetSimulationUnitTestsParametersQueryScenarioIdItem]] = (
|
|
12958
12996
|
Field(
|
|
12959
|
-
|
|
12997
|
+
default_factory=list,
|
|
12960
12998
|
description='The IDs of the scenarios that the simulation unit tests use.',
|
|
12961
12999
|
title='Scenario Id',
|
|
12962
13000
|
)
|
|
12963
13001
|
)
|
|
12964
13002
|
metric_id: Optional[List[GetSimulationUnitTestsParametersQueryMetricIdItem]] = (
|
|
12965
13003
|
Field(
|
|
12966
|
-
|
|
13004
|
+
default_factory=list,
|
|
12967
13005
|
description='The IDs of the metrics that the simulation unit tests use.',
|
|
12968
13006
|
title='Metric Id',
|
|
12969
13007
|
)
|
|
@@ -13028,27 +13066,27 @@ class SearchSimulationUnitTestsParametersQuery(BaseModel):
|
|
|
13028
13066
|
service_id: Optional[
|
|
13029
13067
|
List[SearchSimulationUnitTestsParametersQueryServiceIdItem]
|
|
13030
13068
|
] = Field(
|
|
13031
|
-
|
|
13069
|
+
default_factory=list,
|
|
13032
13070
|
description='The IDs of the services that the simulation unit tests run on.',
|
|
13033
13071
|
title='Service Id',
|
|
13034
13072
|
)
|
|
13035
13073
|
persona_id: Optional[
|
|
13036
13074
|
List[SearchSimulationUnitTestsParametersQueryPersonaIdItem]
|
|
13037
13075
|
] = Field(
|
|
13038
|
-
|
|
13076
|
+
default_factory=list,
|
|
13039
13077
|
description='The IDs of the personas that the simulation unit tests use.',
|
|
13040
13078
|
title='Persona Id',
|
|
13041
13079
|
)
|
|
13042
13080
|
scenario_id: Optional[
|
|
13043
13081
|
List[SearchSimulationUnitTestsParametersQueryScenarioIdItem]
|
|
13044
13082
|
] = Field(
|
|
13045
|
-
|
|
13083
|
+
default_factory=list,
|
|
13046
13084
|
description='The IDs of the scenarios that the simulation unit tests use.',
|
|
13047
13085
|
title='Scenario Id',
|
|
13048
13086
|
)
|
|
13049
13087
|
metric_id: Optional[List[SearchSimulationUnitTestsParametersQueryMetricIdItem]] = (
|
|
13050
13088
|
Field(
|
|
13051
|
-
|
|
13089
|
+
default_factory=list,
|
|
13052
13090
|
description='The IDs of the metrics that the simulation unit tests use.',
|
|
13053
13091
|
title='Metric Id',
|
|
13054
13092
|
)
|
|
@@ -13069,7 +13107,7 @@ class GetSimulationUnitTestSetsParametersQueryUnitTestIdItem(
|
|
|
13069
13107
|
|
|
13070
13108
|
class GetSimulationUnitTestSetsParametersQuery(BaseModel):
|
|
13071
13109
|
id: Optional[List[GetSimulationUnitTestSetsParametersQueryIdItem]] = Field(
|
|
13072
|
-
|
|
13110
|
+
default_factory=list,
|
|
13073
13111
|
description='The IDs of the simulation unit test sets to retrieve.',
|
|
13074
13112
|
title='Id',
|
|
13075
13113
|
)
|
|
@@ -13093,7 +13131,7 @@ class GetSimulationUnitTestSetsParametersQuery(BaseModel):
|
|
|
13093
13131
|
unit_test_id: Optional[
|
|
13094
13132
|
List[GetSimulationUnitTestSetsParametersQueryUnitTestIdItem]
|
|
13095
13133
|
] = Field(
|
|
13096
|
-
|
|
13134
|
+
default_factory=list,
|
|
13097
13135
|
description='The IDs of the unit tests that are part of the simulation unit test sets.',
|
|
13098
13136
|
title='Unit Test Id',
|
|
13099
13137
|
)
|
|
@@ -13139,7 +13177,7 @@ class SearchSimulationUnitTestSetsParametersQuery(BaseModel):
|
|
|
13139
13177
|
unit_test_id: Optional[
|
|
13140
13178
|
List[SearchSimulationUnitTestSetsParametersQueryUnitTestIdItem]
|
|
13141
13179
|
] = Field(
|
|
13142
|
-
|
|
13180
|
+
default_factory=list,
|
|
13143
13181
|
description='The IDs of the unit tests that are part of the simulation unit test sets.',
|
|
13144
13182
|
title='Unit Test Id',
|
|
13145
13183
|
)
|
|
@@ -13159,7 +13197,7 @@ class GetSimulationUnitTestSetRunsParametersQuerySimulationUnitTestSetIdItem(
|
|
|
13159
13197
|
|
|
13160
13198
|
class GetSimulationUnitTestSetRunsParametersQuery(BaseModel):
|
|
13161
13199
|
id: Optional[List[GetSimulationUnitTestSetRunsParametersQueryIdItem]] = Field(
|
|
13162
|
-
|
|
13200
|
+
default_factory=list,
|
|
13163
13201
|
description='The ID of the simulation unit test set run to retrieve.',
|
|
13164
13202
|
title='Id',
|
|
13165
13203
|
)
|
|
@@ -13188,7 +13226,7 @@ class GetSimulationUnitTestSetRunsParametersQuery(BaseModel):
|
|
|
13188
13226
|
simulation_unit_test_set_id: Optional[
|
|
13189
13227
|
List[GetSimulationUnitTestSetRunsParametersQuerySimulationUnitTestSetIdItem]
|
|
13190
13228
|
] = Field(
|
|
13191
|
-
|
|
13229
|
+
default_factory=list,
|
|
13192
13230
|
description='The IDs of the simulation unit test sets that the simulation unit test set runs belong to.',
|
|
13193
13231
|
title='Simulation Unit Test Set Id',
|
|
13194
13232
|
)
|
|
@@ -13227,7 +13265,9 @@ class GetToolsParametersQueryIdItem(
|
|
|
13227
13265
|
|
|
13228
13266
|
class GetToolsParametersQuery(BaseModel):
|
|
13229
13267
|
id: Optional[List[GetToolsParametersQueryIdItem]] = Field(
|
|
13230
|
-
|
|
13268
|
+
default_factory=list,
|
|
13269
|
+
description='The IDs of the tools to retrieve.',
|
|
13270
|
+
title='Id',
|
|
13231
13271
|
)
|
|
13232
13272
|
deprecated: Optional[bool] = Field(
|
|
13233
13273
|
None, description='Whether the tools are deprecated.', title='Deprecated'
|
|
@@ -13316,7 +13356,9 @@ class GetToolInvocationsParametersQuerySimulationUnitTestSetRunIdItem(
|
|
|
13316
13356
|
|
|
13317
13357
|
class GetToolInvocationsParametersQuery(BaseModel):
|
|
13318
13358
|
tool_id: Optional[List[GetToolInvocationsParametersQueryToolIdItem]] = Field(
|
|
13319
|
-
|
|
13359
|
+
default_factory=list,
|
|
13360
|
+
description='The IDs of the tools to get invocations for.',
|
|
13361
|
+
title='Tool Id',
|
|
13320
13362
|
)
|
|
13321
13363
|
version: Optional[List[str]] = Field(
|
|
13322
13364
|
[],
|
|
@@ -13333,14 +13375,14 @@ class GetToolInvocationsParametersQuery(BaseModel):
|
|
|
13333
13375
|
conversation_id: Optional[
|
|
13334
13376
|
List[GetToolInvocationsParametersQueryConversationIdItem]
|
|
13335
13377
|
] = Field(
|
|
13336
|
-
|
|
13378
|
+
default_factory=list,
|
|
13337
13379
|
description='The conversation IDs associated with the invocations if they are of invocation source `regular-conversation`.',
|
|
13338
13380
|
title='Conversation Id',
|
|
13339
13381
|
)
|
|
13340
13382
|
simulation_unit_test_set_run_id: Optional[
|
|
13341
13383
|
List[GetToolInvocationsParametersQuerySimulationUnitTestSetRunIdItem]
|
|
13342
13384
|
] = Field(
|
|
13343
|
-
|
|
13385
|
+
default_factory=list,
|
|
13344
13386
|
description='The simulation unit test set run IDs associated with the invocations if they are of invocation source `simulation-conversation`.',
|
|
13345
13387
|
title='Simulation Unit Test Set Run Id',
|
|
13346
13388
|
)
|
|
@@ -13400,7 +13442,9 @@ class SearchToolInvocationsParametersQuery(BaseModel):
|
|
|
13400
13442
|
title='Query Against',
|
|
13401
13443
|
)
|
|
13402
13444
|
tool_id: Optional[List[SearchToolInvocationsParametersQueryToolIdItem]] = Field(
|
|
13403
|
-
|
|
13445
|
+
default_factory=list,
|
|
13446
|
+
description='The IDs of the tools to get invocations for.',
|
|
13447
|
+
title='Tool Id',
|
|
13404
13448
|
)
|
|
13405
13449
|
invocation_source_type: Optional[
|
|
13406
13450
|
List[GetToolInvocationsParametersQueryInvocationSourceTypeEnum]
|
|
@@ -13410,14 +13454,14 @@ class SearchToolInvocationsParametersQuery(BaseModel):
|
|
|
13410
13454
|
conversation_id: Optional[
|
|
13411
13455
|
List[SearchToolInvocationsParametersQueryConversationIdItem]
|
|
13412
13456
|
] = Field(
|
|
13413
|
-
|
|
13457
|
+
default_factory=list,
|
|
13414
13458
|
description="The conversation ID associated with the invocation if it's of invocation source `regular-conversation`.",
|
|
13415
13459
|
title='Conversation Id',
|
|
13416
13460
|
)
|
|
13417
13461
|
simulation_unit_test_set_run_id: Optional[
|
|
13418
13462
|
List[SearchToolInvocationsParametersQuerySimulationUnitTestSetRunIdItem]
|
|
13419
13463
|
] = Field(
|
|
13420
|
-
|
|
13464
|
+
default_factory=list,
|
|
13421
13465
|
description="The simulation unit test set run ID associated with the invocation if it's of invocation source `simulation-conversation`.",
|
|
13422
13466
|
title='Simulation Unit Test Set Run Id',
|
|
13423
13467
|
)
|
|
@@ -13876,7 +13920,7 @@ class ServiceInstance(BaseModel):
|
|
|
13876
13920
|
agent_id: str = Field(
|
|
13877
13921
|
..., description='The ID of the agent that this service uses.', title='Agent Id'
|
|
13878
13922
|
)
|
|
13879
|
-
tags: List[
|
|
13923
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
13880
13924
|
..., description='The tags of the service.', title='Tags'
|
|
13881
13925
|
)
|
|
13882
13926
|
|
|
@@ -13929,7 +13973,7 @@ class SimulationUnitTestSet(BaseModel):
|
|
|
13929
13973
|
description='Whether the unit test set has been deleted.',
|
|
13930
13974
|
title='Is Deleted',
|
|
13931
13975
|
)
|
|
13932
|
-
tags: List[
|
|
13976
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
13933
13977
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13934
13978
|
)
|
|
13935
13979
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -13968,7 +14012,7 @@ class SimulationUnitTestSetInstance(BaseModel):
|
|
|
13968
14012
|
description='Whether the unit test set has been deleted.',
|
|
13969
14013
|
title='Is Deleted',
|
|
13970
14014
|
)
|
|
13971
|
-
tags: List[
|
|
14015
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
13972
14016
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13973
14017
|
)
|
|
13974
14018
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -14084,7 +14128,7 @@ class ToolInstance(BaseModel):
|
|
|
14084
14128
|
description='A list of encrypted environment variables that some versions of this tool uses.',
|
|
14085
14129
|
title='Secret Envvars',
|
|
14086
14130
|
)
|
|
14087
|
-
tags: List[
|
|
14131
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
14088
14132
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
14089
14133
|
)
|
|
14090
14134
|
|
|
@@ -14415,7 +14459,7 @@ class DynamicBehaviorSetGetDynamicBehaviorSetVersionsResponse(BaseModel):
|
|
|
14415
14459
|
|
|
14416
14460
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
14417
14461
|
dynamic_behavior_sets: List[
|
|
14418
|
-
|
|
14462
|
+
DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14419
14463
|
] = Field(
|
|
14420
14464
|
...,
|
|
14421
14465
|
description='The retrieved dynamic behavior sets.',
|
|
@@ -14439,16 +14483,6 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
|
14439
14483
|
)
|
|
14440
14484
|
|
|
14441
14485
|
|
|
14442
|
-
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
|
|
14443
|
-
dynamic_behavior_sets: List[
|
|
14444
|
-
DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14445
|
-
] = Field(
|
|
14446
|
-
...,
|
|
14447
|
-
description='The retrieved dynamic behavior sets.',
|
|
14448
|
-
title='Dynamic Behavior Sets',
|
|
14449
|
-
)
|
|
14450
|
-
|
|
14451
|
-
|
|
14452
14486
|
class MetricCreateMetricRequest(BaseModel):
|
|
14453
14487
|
name: str = Field(
|
|
14454
14488
|
...,
|
|
@@ -14505,7 +14539,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
|
|
|
14505
14539
|
description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
|
|
14506
14540
|
min_length=1,
|
|
14507
14541
|
)
|
|
14508
|
-
user_dimensions: List[
|
|
14542
|
+
user_dimensions: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14509
14543
|
...,
|
|
14510
14544
|
description='User dimensions for the organization.',
|
|
14511
14545
|
title='User Dimensions',
|
|
@@ -14617,6 +14651,17 @@ class OrganizationGetApiKeysResponse(BaseModel):
|
|
|
14617
14651
|
)
|
|
14618
14652
|
|
|
14619
14653
|
|
|
14654
|
+
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
14655
|
+
RootModel[List[OrganizationModifyOrganizationRequestUserDimension]]
|
|
14656
|
+
):
|
|
14657
|
+
root: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14658
|
+
...,
|
|
14659
|
+
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
14660
|
+
min_length=1,
|
|
14661
|
+
title='User Dimensions',
|
|
14662
|
+
)
|
|
14663
|
+
|
|
14664
|
+
|
|
14620
14665
|
class OrganizationModifyOrganizationRequest(BaseModel):
|
|
14621
14666
|
title: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14622
14667
|
None,
|
|
@@ -14674,7 +14719,7 @@ class OrganizationModifyOrganizationRequest(BaseModel):
|
|
|
14674
14719
|
)
|
|
14675
14720
|
|
|
14676
14721
|
|
|
14677
|
-
class
|
|
14722
|
+
class RoleCreateRoleRequestPermissionGrant(BaseModel):
|
|
14678
14723
|
action: AmigoLibMongoCollectionsRoleRolePermissionGrantAction = Field(
|
|
14679
14724
|
...,
|
|
14680
14725
|
description='Whether this grant allows or denies the specified access.',
|
|
@@ -14691,42 +14736,44 @@ class RoleModifyRoleRequestPermissionGrant(BaseModel):
|
|
|
14691
14736
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
|
|
14692
14737
|
|
|
14693
14738
|
|
|
14694
|
-
class
|
|
14695
|
-
|
|
14696
|
-
|
|
14697
|
-
description='
|
|
14698
|
-
pattern='^[a-f0-9]{24}$',
|
|
14699
|
-
title='Service Hierarchical State Machine Id',
|
|
14700
|
-
)
|
|
14701
|
-
agent_id: str = Field(
|
|
14702
|
-
...,
|
|
14703
|
-
description='The ID of the agent that this service uses.',
|
|
14704
|
-
pattern='^[a-f0-9]{24}$',
|
|
14705
|
-
title='Agent Id',
|
|
14739
|
+
class RoleModifyRoleRequest(BaseModel):
|
|
14740
|
+
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14741
|
+
None,
|
|
14742
|
+
description='A description about the role. Only updated if specified. This field is a mutable field.',
|
|
14706
14743
|
)
|
|
14707
|
-
|
|
14708
|
-
|
|
14709
|
-
|
|
14744
|
+
permission_grants: Optional[List[RoleCreateRoleRequestPermissionGrant]] = Field(
|
|
14745
|
+
None,
|
|
14746
|
+
description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
|
|
14747
|
+
title='Permission Grants',
|
|
14710
14748
|
)
|
|
14711
|
-
|
|
14712
|
-
|
|
14713
|
-
description='
|
|
14714
|
-
title='Is Active',
|
|
14749
|
+
frontend_view: Optional[FrontendView] = Field(
|
|
14750
|
+
None,
|
|
14751
|
+
description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
|
|
14715
14752
|
)
|
|
14716
|
-
|
|
14753
|
+
inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
|
|
14717
14754
|
Field(
|
|
14718
|
-
|
|
14719
|
-
|
|
14755
|
+
default_factory=lambda: RoleModifyRoleRequestInheritedFrom.model_validate(
|
|
14756
|
+
{}
|
|
14757
|
+
),
|
|
14758
|
+
description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
|
|
14759
|
+
title='Inherited From',
|
|
14720
14760
|
)
|
|
14721
14761
|
)
|
|
14722
|
-
|
|
14723
|
-
|
|
14724
|
-
|
|
14725
|
-
|
|
14726
|
-
|
|
14762
|
+
|
|
14763
|
+
|
|
14764
|
+
class ServiceCreateServiceRequestVersionSet(BaseModel):
|
|
14765
|
+
agent_version_number: Optional[int] = Field(
|
|
14766
|
+
...,
|
|
14767
|
+
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
14768
|
+
title='Agent Version Number',
|
|
14727
14769
|
)
|
|
14728
|
-
|
|
14729
|
-
...,
|
|
14770
|
+
service_hierarchical_state_machine_version_number: Optional[int] = Field(
|
|
14771
|
+
...,
|
|
14772
|
+
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
14773
|
+
title='Service Hierarchical State Machine Version Number',
|
|
14774
|
+
)
|
|
14775
|
+
llm_model_preferences: Dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
|
|
14776
|
+
Field(..., title='Llm Model Preferences')
|
|
14730
14777
|
)
|
|
14731
14778
|
|
|
14732
14779
|
|
|
@@ -14751,7 +14798,7 @@ class ServiceGetServicesResponse(BaseModel):
|
|
|
14751
14798
|
|
|
14752
14799
|
|
|
14753
14800
|
class ServiceUpsertServiceVersionSetRequest(BaseModel):
|
|
14754
|
-
version_set:
|
|
14801
|
+
version_set: ServiceCreateServiceRequestVersionSet = Field(
|
|
14755
14802
|
..., description='The version set to upsert.'
|
|
14756
14803
|
)
|
|
14757
14804
|
|
|
@@ -14805,7 +14852,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14805
14852
|
..., description='The description of the simulation unit test set.'
|
|
14806
14853
|
)
|
|
14807
14854
|
unit_test_runs: List[
|
|
14808
|
-
|
|
14855
|
+
SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor
|
|
14809
14856
|
] = Field(
|
|
14810
14857
|
...,
|
|
14811
14858
|
description='The unit test runs that are part of this set.',
|
|
@@ -14843,7 +14890,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
|
14843
14890
|
|
|
14844
14891
|
class SimulationGetSimulationScenariosResponse(BaseModel):
|
|
14845
14892
|
simulation_scenarios: List[
|
|
14846
|
-
|
|
14893
|
+
SimulationGetSimulationScenariosResponseSimulationScenarioInstance
|
|
14847
14894
|
] = Field(
|
|
14848
14895
|
...,
|
|
14849
14896
|
description='The list of simulation scenarios.',
|
|
@@ -14891,16 +14938,6 @@ class SimulationGetSimulationUnitTestSetsResponse(BaseModel):
|
|
|
14891
14938
|
)
|
|
14892
14939
|
|
|
14893
14940
|
|
|
14894
|
-
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
14895
|
-
simulation_scenarios: List[
|
|
14896
|
-
SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
|
|
14897
|
-
] = Field(
|
|
14898
|
-
...,
|
|
14899
|
-
description='The list of simulation scenarios.',
|
|
14900
|
-
title='Simulation Scenarios',
|
|
14901
|
-
)
|
|
14902
|
-
|
|
14903
|
-
|
|
14904
14941
|
class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
|
|
14905
14942
|
simulation_unit_test_sets: List[SimulationUnitTestSet] = Field(
|
|
14906
14943
|
...,
|
|
@@ -14914,42 +14951,6 @@ SimulationUpdateSimulationUnitTestRequestSuccessCriterion = (
|
|
|
14914
14951
|
)
|
|
14915
14952
|
|
|
14916
14953
|
|
|
14917
|
-
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
|
|
14918
|
-
RootModel[List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
|
|
14919
|
-
):
|
|
14920
|
-
root: List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
|
|
14921
|
-
Field(
|
|
14922
|
-
...,
|
|
14923
|
-
description='The unit test runs that are part of this set.',
|
|
14924
|
-
min_length=1,
|
|
14925
|
-
title='Unit Test Runs',
|
|
14926
|
-
)
|
|
14927
|
-
)
|
|
14928
|
-
|
|
14929
|
-
|
|
14930
|
-
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
14931
|
-
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14932
|
-
None, description='The name of the simulation unit test set.'
|
|
14933
|
-
)
|
|
14934
|
-
description: Optional[
|
|
14935
|
-
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
14936
|
-
] = Field(
|
|
14937
|
-
{},
|
|
14938
|
-
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
14939
|
-
title='Description',
|
|
14940
|
-
)
|
|
14941
|
-
unit_test_runs: Optional[
|
|
14942
|
-
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
14943
|
-
] = Field(
|
|
14944
|
-
None,
|
|
14945
|
-
description='The unit test runs that are part of this set.',
|
|
14946
|
-
title='Unit Test Runs',
|
|
14947
|
-
)
|
|
14948
|
-
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
14949
|
-
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
14950
|
-
)
|
|
14951
|
-
|
|
14952
|
-
|
|
14953
14954
|
class ToolGetToolVersionsResponse(BaseModel):
|
|
14954
14955
|
tool_versions: List[ToolVersionInstance] = Field(
|
|
14955
14956
|
...,
|
|
@@ -15007,9 +15008,15 @@ class ToolInvokeToolVersionResponse(BaseModel):
|
|
|
15007
15008
|
|
|
15008
15009
|
|
|
15009
15010
|
class ToolModifyToolEnvvarsRequest(BaseModel):
|
|
15010
|
-
inserts: Optional[List[InsertRequest]] = Field(
|
|
15011
|
-
|
|
15012
|
-
|
|
15011
|
+
inserts: Optional[List[InsertRequest]] = Field(
|
|
15012
|
+
default_factory=list, title='Inserts'
|
|
15013
|
+
)
|
|
15014
|
+
updates: Optional[List[UpdateRequest]] = Field(
|
|
15015
|
+
default_factory=list, title='Updates'
|
|
15016
|
+
)
|
|
15017
|
+
deletes: Optional[List[DeleteRequest]] = Field(
|
|
15018
|
+
default_factory=list, title='Deletes'
|
|
15019
|
+
)
|
|
15013
15020
|
|
|
15014
15021
|
|
|
15015
15022
|
ToolTestToolResponse = ToolInvokeToolVersionResponse
|
|
@@ -15052,22 +15059,33 @@ class UserGetUserModelResponse(BaseModel):
|
|
|
15052
15059
|
)
|
|
15053
15060
|
|
|
15054
15061
|
|
|
15055
|
-
class
|
|
15056
|
-
|
|
15057
|
-
...,
|
|
15062
|
+
class UserGetUsersResponseUserInstance(BaseModel):
|
|
15063
|
+
org_id: str = Field(
|
|
15064
|
+
...,
|
|
15065
|
+
description='The ID of the organization that this user belongs to.',
|
|
15066
|
+
title='Org Id',
|
|
15058
15067
|
)
|
|
15059
|
-
|
|
15060
|
-
..., description='
|
|
15068
|
+
user_id: str = Field(
|
|
15069
|
+
..., description='The identifier of the user.', title='User Id'
|
|
15061
15070
|
)
|
|
15062
|
-
|
|
15063
|
-
...,
|
|
15064
|
-
|
|
15065
|
-
|
|
15071
|
+
first_name: str = Field(
|
|
15072
|
+
..., description='The first name of the user.', title='First Name'
|
|
15073
|
+
)
|
|
15074
|
+
last_name: str = Field(
|
|
15075
|
+
..., description='The last name of the user.', title='Last Name'
|
|
15076
|
+
)
|
|
15077
|
+
email: str = Field(..., description='Email of the user.', title='Email')
|
|
15078
|
+
user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
|
|
15079
|
+
..., description="Statistics about the user's usage of the Amigo platform."
|
|
15080
|
+
)
|
|
15081
|
+
role: str = Field(..., description='The ID of the role of the user.', title='Role')
|
|
15082
|
+
preferences: AmigoLibMongoCollectionsUserUserPreferences = Field(
|
|
15083
|
+
..., description='The preferences of the user.'
|
|
15066
15084
|
)
|
|
15067
15085
|
|
|
15068
15086
|
|
|
15069
15087
|
class UserSearchUsersResponse(BaseModel):
|
|
15070
|
-
users: List[
|
|
15088
|
+
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
15071
15089
|
..., description='Users in this organization.', title='Users'
|
|
15072
15090
|
)
|
|
15073
15091
|
|
|
@@ -15163,7 +15181,7 @@ class ActionStateInput(BaseModel):
|
|
|
15163
15181
|
Field(..., title='Boundary Constraints')
|
|
15164
15182
|
)
|
|
15165
15183
|
exit_conditions: List[
|
|
15166
|
-
|
|
15184
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition
|
|
15167
15185
|
] = Field(..., title='Exit Conditions')
|
|
15168
15186
|
action_tool_call_specs: List[ToolCallSpecInput] = Field(
|
|
15169
15187
|
..., title='Action Tool Call Specs'
|
|
@@ -15272,7 +15290,7 @@ class DecisionStateInput(BaseModel):
|
|
|
15272
15290
|
type: Literal['decision'] = Field(..., title='Type')
|
|
15273
15291
|
name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
|
|
15274
15292
|
exit_conditions: List[
|
|
15275
|
-
|
|
15293
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition
|
|
15276
15294
|
] = Field(..., title='Exit Conditions')
|
|
15277
15295
|
decision_guidelines: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
15278
15296
|
..., title='Decision Guidelines'
|
|
@@ -15313,7 +15331,7 @@ class Metric(BaseModel):
|
|
|
15313
15331
|
additional_notes: Optional[str] = Field(
|
|
15314
15332
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15315
15333
|
)
|
|
15316
|
-
tags: List[
|
|
15334
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15317
15335
|
..., description='The tags of the metric.', title='Tags'
|
|
15318
15336
|
)
|
|
15319
15337
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15383,7 +15401,7 @@ class MetricInstance(BaseModel):
|
|
|
15383
15401
|
additional_notes: Optional[str] = Field(
|
|
15384
15402
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15385
15403
|
)
|
|
15386
|
-
tags: List[
|
|
15404
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15387
15405
|
..., description='The tags of the metric.', title='Tags'
|
|
15388
15406
|
)
|
|
15389
15407
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15585,7 +15603,7 @@ class SimulationUnitTest(BaseModel):
|
|
|
15585
15603
|
is_deleted: bool = Field(
|
|
15586
15604
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15587
15605
|
)
|
|
15588
|
-
tags: List[
|
|
15606
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15589
15607
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15590
15608
|
)
|
|
15591
15609
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -15630,7 +15648,7 @@ class SimulationUnitTestInstance(BaseModel):
|
|
|
15630
15648
|
is_deleted: bool = Field(
|
|
15631
15649
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15632
15650
|
)
|
|
15633
|
-
tags: List[
|
|
15651
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15634
15652
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15635
15653
|
)
|
|
15636
15654
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -15930,7 +15948,7 @@ class RoleCreateRoleRequest(BaseModel):
|
|
|
15930
15948
|
description: str = Field(
|
|
15931
15949
|
..., description='A description about the role.', min_length=1
|
|
15932
15950
|
)
|
|
15933
|
-
permission_grants: List[
|
|
15951
|
+
permission_grants: List[RoleCreateRoleRequestPermissionGrant] = Field(
|
|
15934
15952
|
...,
|
|
15935
15953
|
description='A list of permission grants associated with this role.',
|
|
15936
15954
|
title='Permission Grants',
|
|
@@ -15956,26 +15974,40 @@ class RoleGetRolesResponse(BaseModel):
|
|
|
15956
15974
|
)
|
|
15957
15975
|
|
|
15958
15976
|
|
|
15959
|
-
class
|
|
15960
|
-
|
|
15961
|
-
|
|
15962
|
-
description='
|
|
15977
|
+
class ServiceCreateServiceRequest(BaseModel):
|
|
15978
|
+
service_hierarchical_state_machine_id: str = Field(
|
|
15979
|
+
...,
|
|
15980
|
+
description='The ID of the state machine that this service uses.',
|
|
15981
|
+
pattern='^[a-f0-9]{24}$',
|
|
15982
|
+
title='Service Hierarchical State Machine Id',
|
|
15963
15983
|
)
|
|
15964
|
-
|
|
15965
|
-
|
|
15966
|
-
description='
|
|
15967
|
-
|
|
15984
|
+
agent_id: str = Field(
|
|
15985
|
+
...,
|
|
15986
|
+
description='The ID of the agent that this service uses.',
|
|
15987
|
+
pattern='^[a-f0-9]{24}$',
|
|
15988
|
+
title='Agent Id',
|
|
15968
15989
|
)
|
|
15969
|
-
|
|
15990
|
+
name: str = Field(..., description='The name of this service.', min_length=1)
|
|
15991
|
+
description: str = Field(
|
|
15992
|
+
..., description='A description of this service.', min_length=1
|
|
15993
|
+
)
|
|
15994
|
+
is_active: bool = Field(
|
|
15995
|
+
...,
|
|
15996
|
+
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.',
|
|
15997
|
+
title='Is Active',
|
|
15998
|
+
)
|
|
15999
|
+
release_version_set: Optional[ServiceCreateServiceRequestVersionSet] = Field(
|
|
15970
16000
|
None,
|
|
15971
|
-
description='The
|
|
16001
|
+
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.',
|
|
15972
16002
|
)
|
|
15973
|
-
|
|
15974
|
-
|
|
15975
|
-
|
|
15976
|
-
|
|
15977
|
-
|
|
15978
|
-
|
|
16003
|
+
keyterms: Optional[List[StrippedNonemptyStringAZAZ02]] = Field(
|
|
16004
|
+
default_factory=list,
|
|
16005
|
+
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.',
|
|
16006
|
+
max_length=20,
|
|
16007
|
+
title='Keyterms',
|
|
16008
|
+
)
|
|
16009
|
+
tags: Dict[str, Optional[StrippedNonemptyStringWS]] = Field(
|
|
16010
|
+
..., description='The tags of this service.', title='Tags'
|
|
15979
16011
|
)
|
|
15980
16012
|
|
|
15981
16013
|
|
|
@@ -16147,6 +16179,20 @@ class ToolSearchToolInvocationsResponse(BaseModel):
|
|
|
16147
16179
|
)
|
|
16148
16180
|
|
|
16149
16181
|
|
|
16182
|
+
class UserGetUsersResponse(BaseModel):
|
|
16183
|
+
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
16184
|
+
..., description='Users in this organization.', title='Users'
|
|
16185
|
+
)
|
|
16186
|
+
has_more: bool = Field(
|
|
16187
|
+
..., description='Whether there are more users to retrieve.', title='Has More'
|
|
16188
|
+
)
|
|
16189
|
+
continuation_token: Optional[int] = Field(
|
|
16190
|
+
...,
|
|
16191
|
+
description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
|
|
16192
|
+
title='Continuation Token',
|
|
16193
|
+
)
|
|
16194
|
+
|
|
16195
|
+
|
|
16150
16196
|
class SimulationUnitTestSetRunInstance(BaseModel):
|
|
16151
16197
|
org_id: str = Field(..., title='Org Id')
|
|
16152
16198
|
id: str = Field(..., title='Id')
|