amigo_sdk 0.101.0__py3-none-any.whl → 0.102.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 CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = "0.101.0"
1
+ __version__ = "0.102.0"
2
2
  from .sdk_client import AmigoClient, AsyncAmigoClient
3
3
 
4
4
  __all__ = ["__version__", "AmigoClient", "AsyncAmigoClient"]
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: <stdin>
3
- # timestamp: 2026-01-11T00:33:21+00:00
3
+ # timestamp: 2026-01-11T17:03:09+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1224,14 +1224,6 @@ class VersionComponent(RootModel[int | Literal['latest']]):
1224
1224
  root: int | Literal['latest']
1225
1225
 
1226
1226
 
1227
- class VoiceResponseMP3AudioFormat(MP3UserMessageAudioConfig):
1228
- pass
1229
-
1230
-
1231
- class VoiceResponsePCMAudioFormat(BaseModel):
1232
- type: Literal['pcm'] = Field('pcm', title='Type')
1233
-
1234
-
1235
1227
  class WebhookDeliveryStatus(Enum):
1236
1228
  success = 'success'
1237
1229
  failed = 'failed'
@@ -1465,6 +1457,11 @@ class MongoCollectionsSimulationScenarioSimulationScenarioUserInfo(
1465
1457
  pass
1466
1458
 
1467
1459
 
1460
+ class MongoCollectionsSimulationUnitTestSimulationUnitTestTag(BaseModel):
1461
+ key: str = Field(..., title='Key')
1462
+ value: str | None = Field(..., title='Value')
1463
+
1464
+
1468
1465
  class MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo(
1469
1466
  MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1470
1467
  ):
@@ -1505,17 +1502,6 @@ class MongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo(
1505
1502
  pass
1506
1503
 
1507
1504
 
1508
- class MongoCollectionsToolToolTag(BaseModel):
1509
- key: str = Field(..., title='Key')
1510
- value: str | None = Field(..., title='Value')
1511
-
1512
-
1513
- class MongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
1514
- major: int = Field(..., title='Major')
1515
- minor: int = Field(..., title='Minor')
1516
- patch: int = Field(..., title='Patch')
1517
-
1518
-
1519
1505
  class MongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
1520
1506
  user_id: str = Field(..., description='The ID of the user.', title='User Id')
1521
1507
  user_org_id: str = Field(
@@ -1523,6 +1509,12 @@ class MongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
1523
1509
  )
1524
1510
 
1525
1511
 
1512
+ class MongoCollectionsToolVersionToolVersionVersion(BaseModel):
1513
+ major: int = Field(..., title='Major')
1514
+ minor: int = Field(..., title='Minor')
1515
+ patch: int = Field(..., title='Patch')
1516
+
1517
+
1526
1518
  class MongoCollectionsUserUserPreferences(BaseModel):
1527
1519
  enable_response_recommendation: bool | None = Field(
1528
1520
  False,
@@ -10583,11 +10575,6 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
10583
10575
  )
10584
10576
 
10585
10577
 
10586
- class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
10587
- description: str = Field(..., min_length=1)
10588
- tags: list[PydanticBaseModelStrippedNonemptyString1] = Field(..., title='Tags')
10589
-
10590
-
10591
10578
  class OrganizationCreateOrganizationResponse(BaseModel):
10592
10579
  org_id: str = Field(
10593
10580
  ...,
@@ -10762,23 +10749,17 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
10762
10749
  )
10763
10750
 
10764
10751
 
10765
- class UserDimensions(
10766
- RootModel[list[OrganizationCreateOrganizationRequestUserDimension]]
10767
- ):
10768
- root: list[OrganizationCreateOrganizationRequestUserDimension] = Field(
10769
- ...,
10770
- description='User dimensions for the organization. If not set or `null`, this field is not updated.',
10771
- min_length=1,
10772
- title='User Dimensions',
10773
- )
10774
-
10775
-
10776
10752
  class OrganizationModifyOrganizationRequestPreferences(
10777
10753
  OrganizationCreateOrganizationRequestPreferences
10778
10754
  ):
10779
10755
  pass
10780
10756
 
10781
10757
 
10758
+ class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
10759
+ description: str = Field(..., min_length=1)
10760
+ tags: list[PydanticBaseModelStrippedNonemptyString1] = Field(..., title='Tags')
10761
+
10762
+
10782
10763
  class RoleAssignRoleRequest(BaseModel):
10783
10764
  user_id: str = Field(
10784
10765
  ...,
@@ -11382,22 +11363,6 @@ class ToolGetToolsResponseFilterValues(BaseModel):
11382
11363
  )
11383
11364
 
11384
11365
 
11385
- class InvocationMode(Enum):
11386
- regular = 'regular'
11387
- conversation_simulation = 'conversation-simulation'
11388
-
11389
-
11390
- class ToolInvokeToolVersionRequestInput(BaseModel):
11391
- input_parameters: dict[str, Any] = Field(
11392
- ...,
11393
- description='The input parameters for the tool invocation.',
11394
- title='Input Parameters',
11395
- )
11396
- invocation_mode: InvocationMode = Field(
11397
- ..., description='The mode of invocation.', title='Invocation Mode'
11398
- )
11399
-
11400
-
11401
11366
  class ToolModifyToolRequest(BaseModel):
11402
11367
  description: PydanticBaseModelStrippedNonemptyString1 | None = Field(
11403
11368
  None, description='A description of this tool. Only updates if not-null.'
@@ -11442,34 +11407,19 @@ class ToolPublishToolVersionResponse(BaseModel):
11442
11407
  )
11443
11408
 
11444
11409
 
11445
- class ToolTestToolRequest(BaseModel):
11446
- inputs: list[ToolInvokeToolVersionRequestInput] = Field(
11447
- ...,
11448
- description='The list of inputs for the tool invocation.',
11449
- max_length=10,
11450
- min_length=1,
11451
- title='Inputs',
11452
- )
11453
- commit_branch: str = Field(
11454
- ...,
11455
- description='The branch in the tools repo whose tip will be tested.',
11456
- title='Commit Branch',
11457
- )
11458
- project_path: str = Field(
11459
- ...,
11460
- description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
11461
- pattern='^[-\\w\\d_/]+$',
11462
- title='Project Path',
11463
- )
11464
- required_envvars: dict[str, str] = Field(
11410
+ class InvocationMode(Enum):
11411
+ regular = 'regular'
11412
+ conversation_simulation = 'conversation-simulation'
11413
+
11414
+
11415
+ class ToolTestToolRequestInput(BaseModel):
11416
+ input_parameters: dict[str, Any] = Field(
11465
11417
  ...,
11466
- description='The environment variables required for the tool to run.',
11467
- title='Required Envvars',
11418
+ description='The input parameters for the tool invocation.',
11419
+ title='Input Parameters',
11468
11420
  )
11469
- required_secret_envvars: dict[str, str] = Field(
11470
- ...,
11471
- description='The secret environment variables required for the tool to run.',
11472
- title='Required Secret Envvars',
11421
+ invocation_mode: InvocationMode = Field(
11422
+ ..., description='The mode of invocation.', title='Invocation Mode'
11473
11423
  )
11474
11424
 
11475
11425
 
@@ -11539,7 +11489,7 @@ class UserGetMemoriesResponse(BaseModel):
11539
11489
  )
11540
11490
 
11541
11491
 
11542
- class UserSearchUsersResponseUserInstanceUserStats(BaseModel):
11492
+ class UserGetUsersResponseUserInstanceUserStats(BaseModel):
11543
11493
  num_conversations: int = Field(
11544
11494
  ...,
11545
11495
  description='The number of conversations the user has created.',
@@ -11557,6 +11507,31 @@ class UserSearchUsersResponseUserInstanceUserStats(BaseModel):
11557
11507
  )
11558
11508
 
11559
11509
 
11510
+ class UserSearchUsersResponseUserInstance(BaseModel):
11511
+ org_id: str = Field(
11512
+ ...,
11513
+ description='The ID of the organization that this user belongs to.',
11514
+ title='Org Id',
11515
+ )
11516
+ user_id: str = Field(
11517
+ ..., description='The identifier of the user.', title='User Id'
11518
+ )
11519
+ first_name: str = Field(
11520
+ ..., description='The first name of the user.', title='First Name'
11521
+ )
11522
+ last_name: str = Field(
11523
+ ..., description='The last name of the user.', title='Last Name'
11524
+ )
11525
+ email: str = Field(..., description='Email of the user.', title='Email')
11526
+ user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
11527
+ ..., description="Statistics about the user's usage of the Amigo platform."
11528
+ )
11529
+ role: str = Field(..., description='The ID of the role of the user.', title='Role')
11530
+ preferences: MongoCollectionsUserUserPreferences = Field(
11531
+ ..., description='The preferences of the user.'
11532
+ )
11533
+
11534
+
11560
11535
  class UserSignInWithApiKeyResponse(BaseModel):
11561
11536
  id_token: str = Field(
11562
11537
  ...,
@@ -11900,9 +11875,17 @@ class GetServicesParametersQuery(BaseModel):
11900
11875
  )
11901
11876
 
11902
11877
 
11903
- class AudioFormat(Enum):
11904
- mp3 = 'mp3'
11905
- pcm = 'pcm'
11878
+ class CreateConversationParametersQuery(BaseModel):
11879
+ response_format: Format = Field(
11880
+ ...,
11881
+ description='The format of the response that will be sent to the user.',
11882
+ title='Response Format',
11883
+ )
11884
+ current_agent_action_type: str | None = Field(
11885
+ '^.*$',
11886
+ description="A regex for filtering the type of the current agent action to return. By default, all are returned. If you don't want to receive any events, set this to a regex that matches nothing, for instance `^$`.",
11887
+ title='Current Agent Action Type',
11888
+ )
11906
11889
 
11907
11890
 
11908
11891
  class ServiceIdItem(AppliedToService):
@@ -11958,7 +11941,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
11958
11941
  title='Id',
11959
11942
  )
11960
11943
  message_type: list[MessageType] | None = Field(
11961
- ['user-message', 'agent-message', 'external-event'],
11944
+ ['agent-message', 'external-event', 'user-message'],
11962
11945
  description='The type of messages to retrieve.',
11963
11946
  title='Message Type',
11964
11947
  )
@@ -11986,6 +11969,31 @@ class GetConversationMessagesParametersQuery(BaseModel):
11986
11969
  )
11987
11970
 
11988
11971
 
11972
+ class InteractWithConversationParametersQuery(BaseModel):
11973
+ request_format: Format = Field(
11974
+ ...,
11975
+ description='The format in which the user message is delivered to the server.',
11976
+ title='Request Format',
11977
+ )
11978
+ response_format: Format = Field(
11979
+ ...,
11980
+ description='The format of the response that will be sent to the user.',
11981
+ title='Response Format',
11982
+ )
11983
+ current_agent_action_type: str | None = Field(
11984
+ '^.*$',
11985
+ description="A regex for filtering the type of the current agent action to return. By default, all are returned. If you don't want to receive any events, set this to a regex that matches nothing, for instance `^$`.",
11986
+ title='Current Agent Action Type',
11987
+ )
11988
+ request_audio_config: (
11989
+ MP3UserMessageAudioConfig | PCMUserMessageAudioConfig | None
11990
+ ) = Field(
11991
+ None,
11992
+ description='Configuration for the user message audio. This is only required if `request_format` is set to `voice`.',
11993
+ title='Request Audio Config',
11994
+ )
11995
+
11996
+
11989
11997
  class ExternalEventMessageContent(PydanticBaseModelStrippedNonemptyString1):
11990
11998
  pass
11991
11999
 
@@ -13596,7 +13604,7 @@ class ServiceInstance(BaseModel):
13596
13604
  agent_id: str = Field(
13597
13605
  ..., description='The ID of the agent that this service uses.', title='Agent Id'
13598
13606
  )
13599
- tags: list[MongoCollectionsToolToolTag] = Field(
13607
+ tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
13600
13608
  ..., description='The tags of the service.', title='Tags'
13601
13609
  )
13602
13610
 
@@ -13649,7 +13657,7 @@ class SimulationUnitTestSet(BaseModel):
13649
13657
  description='Whether the unit test set has been deleted.',
13650
13658
  title='Is Deleted',
13651
13659
  )
13652
- tags: list[MongoCollectionsToolToolTag] = Field(
13660
+ tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
13653
13661
  ..., description='The tags of the simulation unit test set.', title='Tags'
13654
13662
  )
13655
13663
  creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13686,7 +13694,7 @@ class SimulationUnitTestSetInstance(BaseModel):
13686
13694
  description='Whether the unit test set has been deleted.',
13687
13695
  title='Is Deleted',
13688
13696
  )
13689
- tags: list[MongoCollectionsToolToolTag] = Field(
13697
+ tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
13690
13698
  ..., description='The tags of the simulation unit test set.', title='Tags'
13691
13699
  )
13692
13700
  creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13814,7 +13822,7 @@ class ToolInstance(BaseModel):
13814
13822
  description='A list of encrypted environment variables that some versions of this tool uses.',
13815
13823
  title='Secret Envvars',
13816
13824
  )
13817
- tags: list[MongoCollectionsToolToolTag] = Field(
13825
+ tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
13818
13826
  ..., description='The tags of the simulation persona.', title='Tags'
13819
13827
  )
13820
13828
 
@@ -13829,7 +13837,7 @@ class ToolVersionInstance(BaseModel):
13829
13837
  description='The ID of the tool that this version belongs to.',
13830
13838
  title='Tool Id',
13831
13839
  )
13832
- version: MongoCollectionsToolInvocationToolInvocationVersion = Field(
13840
+ version: MongoCollectionsToolVersionToolVersionVersion = Field(
13833
13841
  ..., description='The version of the tool.'
13834
13842
  )
13835
13843
  required_envvars: list[str] = Field(
@@ -14189,7 +14197,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
14189
14197
  description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
14190
14198
  min_length=1,
14191
14199
  )
14192
- user_dimensions: list[OrganizationCreateOrganizationRequestUserDimension] = Field(
14200
+ user_dimensions: list[OrganizationModifyOrganizationRequestUserDimension] = Field(
14193
14201
  ...,
14194
14202
  description='User dimensions for the organization.',
14195
14203
  title='User Dimensions',
@@ -14359,6 +14367,17 @@ class OrganizationGetApiKeysResponse(BaseModel):
14359
14367
  )
14360
14368
 
14361
14369
 
14370
+ class UserDimensions(
14371
+ RootModel[list[OrganizationModifyOrganizationRequestUserDimension]]
14372
+ ):
14373
+ root: list[OrganizationModifyOrganizationRequestUserDimension] = Field(
14374
+ ...,
14375
+ description='User dimensions for the organization. If not set or `null`, this field is not updated.',
14376
+ min_length=1,
14377
+ title='User Dimensions',
14378
+ )
14379
+
14380
+
14362
14381
  class OrganizationModifyOrganizationRequest(BaseModel):
14363
14382
  title: PydanticBaseModelStrippedNonemptyString1 | None = Field(
14364
14383
  None,
@@ -14412,7 +14431,7 @@ class OrganizationModifyOrganizationRequest(BaseModel):
14412
14431
  )
14413
14432
 
14414
14433
 
14415
- class RoleModifyRoleRequestPermissionGrant(BaseModel):
14434
+ class RoleCreateRoleRequestPermissionGrant(BaseModel):
14416
14435
  action: Action = Field(
14417
14436
  ...,
14418
14437
  description='Whether this grant allows or denies the specified access.',
@@ -14427,6 +14446,22 @@ class RoleModifyRoleRequestPermissionGrant(BaseModel):
14427
14446
  description: PydanticBaseModelStrippedNonemptyString1 | None = None
14428
14447
 
14429
14448
 
14449
+ class RoleModifyRoleRequest(BaseModel):
14450
+ description: PydanticBaseModelStrippedNonemptyString1 | None = Field(
14451
+ None,
14452
+ description='A description about the role. Only updated if specified. This field is a mutable field.',
14453
+ )
14454
+ permission_grants: list[RoleCreateRoleRequestPermissionGrant] | None = Field(
14455
+ None,
14456
+ description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
14457
+ title='Permission Grants',
14458
+ )
14459
+ frontend_view: FrontendView | None = Field(
14460
+ None,
14461
+ description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
14462
+ )
14463
+
14464
+
14430
14465
  class ServiceCreateServiceRequestVersionSet(BaseModel):
14431
14466
  agent_version_number: int | None = Field(
14432
14467
  ...,
@@ -14663,7 +14698,7 @@ class ToolGetToolsResponse(BaseModel):
14663
14698
 
14664
14699
 
14665
14700
  class ToolInvokeToolVersionRequest(BaseModel):
14666
- inputs: list[ToolInvokeToolVersionRequestInput] = Field(
14701
+ inputs: list[ToolTestToolRequestInput] = Field(
14667
14702
  ...,
14668
14703
  description='The list of inputs for the tool invocation.',
14669
14704
  max_length=10,
@@ -14687,6 +14722,37 @@ class ToolModifyToolEnvvarsRequest(BaseModel):
14687
14722
  deletes: list[DeleteRequest] | None = Field(default_factory=list, title='Deletes')
14688
14723
 
14689
14724
 
14725
+ class ToolTestToolRequest(BaseModel):
14726
+ inputs: list[ToolTestToolRequestInput] = Field(
14727
+ ...,
14728
+ description='The list of inputs for the tool invocation.',
14729
+ max_length=10,
14730
+ min_length=1,
14731
+ title='Inputs',
14732
+ )
14733
+ commit_branch: str = Field(
14734
+ ...,
14735
+ description='The branch in the tools repo whose tip will be tested.',
14736
+ title='Commit Branch',
14737
+ )
14738
+ project_path: str = Field(
14739
+ ...,
14740
+ description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
14741
+ pattern='^[-\\w\\d_/]+$',
14742
+ title='Project Path',
14743
+ )
14744
+ required_envvars: dict[str, str] = Field(
14745
+ ...,
14746
+ description='The environment variables required for the tool to run.',
14747
+ title='Required Envvars',
14748
+ )
14749
+ required_secret_envvars: dict[str, str] = Field(
14750
+ ...,
14751
+ description='The secret environment variables required for the tool to run.',
14752
+ title='Required Secret Envvars',
14753
+ )
14754
+
14755
+
14690
14756
  class ToolTestToolResponse(ToolInvokeToolVersionResponse):
14691
14757
  pass
14692
14758
 
@@ -14728,33 +14794,22 @@ class UserGetUserModelResponse(BaseModel):
14728
14794
  )
14729
14795
 
14730
14796
 
14731
- class UserGetUsersResponseUserInstance(BaseModel):
14732
- org_id: str = Field(
14733
- ...,
14734
- description='The ID of the organization that this user belongs to.',
14735
- title='Org Id',
14736
- )
14737
- user_id: str = Field(
14738
- ..., description='The identifier of the user.', title='User Id'
14739
- )
14740
- first_name: str = Field(
14741
- ..., description='The first name of the user.', title='First Name'
14742
- )
14743
- last_name: str = Field(
14744
- ..., description='The last name of the user.', title='Last Name'
14797
+ class UserGetUsersResponse(BaseModel):
14798
+ users: list[UserSearchUsersResponseUserInstance] = Field(
14799
+ ..., description='Users in this organization.', title='Users'
14745
14800
  )
14746
- email: str = Field(..., description='Email of the user.', title='Email')
14747
- user_stats: UserSearchUsersResponseUserInstanceUserStats = Field(
14748
- ..., description="Statistics about the user's usage of the Amigo platform."
14801
+ has_more: bool = Field(
14802
+ ..., description='Whether there are more users to retrieve.', title='Has More'
14749
14803
  )
14750
- role: str = Field(..., description='The ID of the role of the user.', title='Role')
14751
- preferences: MongoCollectionsUserUserPreferences = Field(
14752
- ..., description='The preferences of the user.'
14804
+ continuation_token: int | None = Field(
14805
+ ...,
14806
+ description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
14807
+ title='Continuation Token',
14753
14808
  )
14754
14809
 
14755
14810
 
14756
14811
  class UserSearchUsersResponse(BaseModel):
14757
- users: list[UserGetUsersResponseUserInstance] = Field(
14812
+ users: list[UserSearchUsersResponseUserInstance] = Field(
14758
14813
  ..., description='Users in this organization.', title='Users'
14759
14814
  )
14760
14815
 
@@ -14775,64 +14830,6 @@ class WebhookDestinationGetWebhookDeliveriesResponse(BaseModel):
14775
14830
  )
14776
14831
 
14777
14832
 
14778
- class CreateConversationParametersQuery(BaseModel):
14779
- response_format: Format = Field(
14780
- ...,
14781
- description='The format of the response that will be sent to the user.',
14782
- title='Response Format',
14783
- )
14784
- current_agent_action_type: str | None = Field(
14785
- '^.*$',
14786
- description="A regex for filtering the type of the current agent action to return. By default, all are returned. If you don't want to receive any events, set this to a regex that matches nothing, for instance `^$`.",
14787
- title='Current Agent Action Type',
14788
- )
14789
- audio_format: AudioFormat | None = Field(
14790
- None, deprecated=True, title='Audio Format'
14791
- )
14792
- response_audio_format: (
14793
- VoiceResponsePCMAudioFormat | VoiceResponseMP3AudioFormat | None
14794
- ) = Field(
14795
- None,
14796
- description='The format of the audio response, if `response_format` is set to `voice`.',
14797
- title='Response Audio Format',
14798
- )
14799
-
14800
-
14801
- class InteractWithConversationParametersQuery(BaseModel):
14802
- request_format: Format = Field(
14803
- ...,
14804
- description='The format in which the user message is delivered to the server.',
14805
- title='Request Format',
14806
- )
14807
- response_format: Format = Field(
14808
- ...,
14809
- description='The format of the response that will be sent to the user.',
14810
- title='Response Format',
14811
- )
14812
- current_agent_action_type: str | None = Field(
14813
- '^.*$',
14814
- description="A regex for filtering the type of the current agent action to return. By default, all are returned. If you don't want to receive any events, set this to a regex that matches nothing, for instance `^$`.",
14815
- title='Current Agent Action Type',
14816
- )
14817
- request_audio_config: (
14818
- MP3UserMessageAudioConfig | PCMUserMessageAudioConfig | None
14819
- ) = Field(
14820
- None,
14821
- description='Configuration for the user message audio. This is only required if `request_format` is set to `voice`.',
14822
- title='Request Audio Config',
14823
- )
14824
- audio_format: AudioFormat | None = Field(
14825
- None, deprecated=True, title='Audio Format'
14826
- )
14827
- response_audio_format: (
14828
- VoiceResponsePCMAudioFormat | VoiceResponseMP3AudioFormat | None
14829
- ) = Field(
14830
- None,
14831
- description='The format of the audio response, if `response_format` is set to `voice`.',
14832
- title='Response Audio Format',
14833
- )
14834
-
14835
-
14836
14833
  class ConversationInstance(BaseModel):
14837
14834
  id: str = Field(..., description='The identifier of the conversation.', title='Id')
14838
14835
  user_id: str = Field(
@@ -14952,7 +14949,7 @@ class Metric(BaseModel):
14952
14949
  additional_notes: str | None = Field(
14953
14950
  ..., description='Additional notes about the metric.', title='Additional Notes'
14954
14951
  )
14955
- tags: list[MongoCollectionsToolToolTag] = Field(
14952
+ tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
14956
14953
  ..., description='The tags of the metric.', title='Tags'
14957
14954
  )
14958
14955
  creator: MongoCollectionsMetricMetricUserInfo = Field(
@@ -15025,7 +15022,7 @@ class MetricInstance(BaseModel):
15025
15022
  additional_notes: str | None = Field(
15026
15023
  ..., description='Additional notes about the metric.', title='Additional Notes'
15027
15024
  )
15028
- tags: list[MongoCollectionsToolToolTag] = Field(
15025
+ tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
15029
15026
  ..., description='The tags of the metric.', title='Tags'
15030
15027
  )
15031
15028
  creator: MongoCollectionsMetricMetricUserInfo = Field(
@@ -15121,7 +15118,7 @@ class SimulationUnitTest(BaseModel):
15121
15118
  is_deleted: bool = Field(
15122
15119
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15123
15120
  )
15124
- tags: list[MongoCollectionsToolToolTag] = Field(
15121
+ tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
15125
15122
  ..., description='The tags of the simulation persona.', title='Tags'
15126
15123
  )
15127
15124
  creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15166,7 +15163,7 @@ class SimulationUnitTestInstance(BaseModel):
15166
15163
  is_deleted: bool = Field(
15167
15164
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15168
15165
  )
15169
- tags: list[MongoCollectionsToolToolTag] = Field(
15166
+ tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
15170
15167
  ..., description='The tags of the simulation persona.', title='Tags'
15171
15168
  )
15172
15169
  creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15418,7 +15415,7 @@ class RoleCreateRoleRequest(BaseModel):
15418
15415
  description: str = Field(
15419
15416
  ..., description='A description about the role.', min_length=1
15420
15417
  )
15421
- permission_grants: list[RoleModifyRoleRequestPermissionGrant] = Field(
15418
+ permission_grants: list[RoleCreateRoleRequestPermissionGrant] = Field(
15422
15419
  ...,
15423
15420
  description='A list of permission grants associated with this role.',
15424
15421
  title='Permission Grants',
@@ -15434,22 +15431,6 @@ class RoleGetRolesResponse(BaseModel):
15434
15431
  )
15435
15432
 
15436
15433
 
15437
- class RoleModifyRoleRequest(BaseModel):
15438
- description: PydanticBaseModelStrippedNonemptyString1 | None = Field(
15439
- None,
15440
- description='A description about the role. Only updated if specified. This field is a mutable field.',
15441
- )
15442
- permission_grants: list[RoleModifyRoleRequestPermissionGrant] | None = Field(
15443
- None,
15444
- description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
15445
- title='Permission Grants',
15446
- )
15447
- frontend_view: FrontendView | None = Field(
15448
- None,
15449
- description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
15450
- )
15451
-
15452
-
15453
15434
  class ServiceCreateServiceRequest(BaseModel):
15454
15435
  service_hierarchical_state_machine_id: str = Field(
15455
15436
  ...,
@@ -15636,25 +15617,11 @@ class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
15636
15617
  tool_id: str = Field(
15637
15618
  ..., description='The ID of the tool that was invoked.', title='Tool Id'
15638
15619
  )
15639
- tool_version: MongoCollectionsToolInvocationToolInvocationVersion = Field(
15620
+ tool_version: MongoCollectionsToolVersionToolVersionVersion = Field(
15640
15621
  ..., description='The version of the tool that was invoked.'
15641
15622
  )
15642
15623
 
15643
15624
 
15644
- class UserGetUsersResponse(BaseModel):
15645
- users: list[UserGetUsersResponseUserInstance] = Field(
15646
- ..., description='Users in this organization.', title='Users'
15647
- )
15648
- has_more: bool = Field(
15649
- ..., description='Whether there are more users to retrieve.', title='Has More'
15650
- )
15651
- continuation_token: int | None = Field(
15652
- ...,
15653
- description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
15654
- title='Continuation Token',
15655
- )
15656
-
15657
-
15658
15625
  class ServiceHierarchicalStateMachineInstance(BaseModel):
15659
15626
  id: str = Field(..., description='The ID of the state machine version.', title='Id')
15660
15627
  org_id: str = Field(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.101.0
3
+ Version: 0.102.0
4
4
  Summary: Amigo AI Python SDK
5
5
  Author: Amigo AI
6
6
  License-File: LICENSE
@@ -2,7 +2,7 @@ scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  scripts/aliases.json,sha256=c1_bkZyvNDQ8iMrKtUuZQqdP87GdLnRPrb3wjX533eQ,322
3
3
  scripts/check.py,sha256=ikFavw1IjX51FNjO-kIzXjYdep3on0dKZHYvPElPFtc,2872
4
4
  scripts/gen_models.py,sha256=c4J_gHYQIBL3CcKg5z8oUusLvPePytfvLdZ7STHBcNk,3553
5
- amigo_sdk/__init__.py,sha256=NSTXBTjs3uCHrXsjzDlo7D-Q2jFXrrDQDAEIhsDJzcA,140
5
+ amigo_sdk/__init__.py,sha256=ixE1KvxMPLHcN32FvrfCrXNnwjLtlKINSUkicXOP6Sg,140
6
6
  amigo_sdk/_retry_utils.py,sha256=VbA_Uwv268J80d11R9XfnCjZiV-NwE1aXRsSlRjjRio,2108
7
7
  amigo_sdk/auth.py,sha256=WaM9PcEcnaC6CzNsgRKueHkdSAxNbRylzpR_3Q6guQ0,1765
8
8
  amigo_sdk/config.py,sha256=0eZIo-hcJ8ODftKAr-mwB-FGJxGO5PT5T4dRpyWPqAg,1491
@@ -10,13 +10,13 @@ amigo_sdk/errors.py,sha256=Yn12AxIQ6zE9jnGLWO0MUVbBsmw77Kzh82AijyreOkA,4818
10
10
  amigo_sdk/http_client.py,sha256=tfMXHqMTmlz2ja7aJhOVgbwAiJNlKCzPcK4UGNqXHO8,13488
11
11
  amigo_sdk/models.py,sha256=V-G6iL43_ZNOPDcatCJCSszGWGz-nzp_RSyGNm-rBAc,45
12
12
  amigo_sdk/sdk_client.py,sha256=5nj8hzjHSFRs9JMNabdYIhQAcFE2G1jI_r7SHVGr9No,6106
13
- amigo_sdk/generated/model.py,sha256=QLTBWs3hxDuM2yd4O8jbK1O9DmtTv09n2LreINnzx68,443599
13
+ amigo_sdk/generated/model.py,sha256=xJ2NaRKchd1YfaOpK1ZAfob9FEh069SJgFlU7Eoxefs,442821
14
14
  amigo_sdk/resources/conversation.py,sha256=X47PbPA6NqdkqXgxAPOjlO1E0W7t695tn1tPWSikMOk,14807
15
15
  amigo_sdk/resources/organization.py,sha256=yX4UlOHNegRzFW4gCJrCxjiLCAGnGegasjviR1yad_Q,1211
16
16
  amigo_sdk/resources/service.py,sha256=t1iA3nS9co-wuR-x5jBhAXXTWfMeGsLwfQcLycwVrCA,1536
17
17
  amigo_sdk/resources/user.py,sha256=P14lN-3fmIvELUjn_vpSaYpNsK-xd8zNmUV_KfcZPAU,4138
18
- amigo_sdk-0.101.0.dist-info/METADATA,sha256=AmXMv0xgaHjP7jWcqtxft3CuE7KGcvpiqMKZ1Iz4FLo,8500
19
- amigo_sdk-0.101.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
20
- amigo_sdk-0.101.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
21
- amigo_sdk-0.101.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
22
- amigo_sdk-0.101.0.dist-info/RECORD,,
18
+ amigo_sdk-0.102.0.dist-info/METADATA,sha256=kMVedcC1hG-TID0TkvUc1lrRzScITRWCzSmHKoW6jQY,8500
19
+ amigo_sdk-0.102.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
20
+ amigo_sdk-0.102.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
21
+ amigo_sdk-0.102.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
22
+ amigo_sdk-0.102.0.dist-info/RECORD,,