syllable-sdk 0.35.25__py3-none-any.whl → 0.35.27__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.
syllable_sdk/_version.py CHANGED
@@ -3,10 +3,10 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "syllable-sdk"
6
- __version__: str = "0.35.25"
6
+ __version__: str = "0.35.27"
7
7
  __openapi_doc_version__: str = "0.0.2"
8
- __gen_version__: str = "2.647.1"
9
- __user_agent__: str = "speakeasy-sdk/python 0.35.25 2.647.1 0.0.2 syllable-sdk"
8
+ __gen_version__: str = "2.648.1"
9
+ __user_agent__: str = "speakeasy-sdk/python 0.35.27 2.648.1 0.0.2 syllable-sdk"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -517,6 +517,7 @@ if TYPE_CHECKING:
517
517
  ListResponseUserResponse,
518
518
  ListResponseUserResponseTypedDict,
519
519
  )
520
+ from .logintype import LoginType
520
521
  from .no_response_error import NoResponseError
521
522
  from .orderbydirection import OrderByDirection
522
523
  from .organizationresponse import (
@@ -1152,6 +1153,7 @@ __all__ = [
1152
1153
  "ListResponseUserResponseTypedDict",
1153
1154
  "Loc",
1154
1155
  "LocTypedDict",
1156
+ "LoginType",
1155
1157
  "Metadata",
1156
1158
  "MetadataTypedDict",
1157
1159
  "NoResponseError",
@@ -1721,6 +1723,7 @@ _dynamic_imports: dict[str, str] = {
1721
1723
  "ListResponseToolResponseTypedDict": ".listresponse_toolresponse_",
1722
1724
  "ListResponseUserResponse": ".listresponse_userresponse_",
1723
1725
  "ListResponseUserResponseTypedDict": ".listresponse_userresponse_",
1726
+ "LoginType": ".logintype",
1724
1727
  "NoResponseError": ".no_response_error",
1725
1728
  "OrderByDirection": ".orderbydirection",
1726
1729
  "OrganizationResponse": ".organizationresponse",
@@ -0,0 +1,11 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from enum import Enum
5
+
6
+
7
+ class LoginType(str, Enum):
8
+ r"""The type of login to use for the user."""
9
+
10
+ GOOGLE = "google"
11
+ USERNAME_AND_PASSWORD = "username_and_password"
@@ -1,6 +1,7 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
+ from .logintype import LoginType
4
5
  from pydantic import model_serializer
5
6
  from syllable_sdk.types import (
6
7
  BaseModel,
@@ -23,6 +24,8 @@ class UserCreateRequestTypedDict(TypedDict):
23
24
  r"""First name of the user"""
24
25
  last_name: NotRequired[Nullable[str]]
25
26
  r"""Last name of the user"""
27
+ login_type: NotRequired[Nullable[LoginType]]
28
+ r"""The type of login to use for the user. If not provided, defaults to google for @gmail.com email addresses, and username and password otherwise."""
26
29
 
27
30
 
28
31
  class UserCreateRequest(BaseModel):
@@ -40,10 +43,13 @@ class UserCreateRequest(BaseModel):
40
43
  last_name: OptionalNullable[str] = UNSET
41
44
  r"""Last name of the user"""
42
45
 
46
+ login_type: OptionalNullable[LoginType] = UNSET
47
+ r"""The type of login to use for the user. If not provided, defaults to google for @gmail.com email addresses, and username and password otherwise."""
48
+
43
49
  @model_serializer(mode="wrap")
44
50
  def serialize_model(self, handler):
45
- optional_fields = ["first_name", "last_name"]
46
- nullable_fields = ["first_name", "last_name"]
51
+ optional_fields = ["first_name", "last_name", "login_type"]
52
+ nullable_fields = ["first_name", "last_name", "login_type"]
47
53
  null_default_fields = []
48
54
 
49
55
  serialized = handler(self)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: syllable-sdk
3
- Version: 0.35.25
3
+ Version: 0.35.27
4
4
  Summary: Python Client SDK Generated by Speakeasy.
5
5
  Author: Syllable
6
6
  Requires-Python: >=3.9.2
@@ -3,7 +3,7 @@ syllable_sdk/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU
3
3
  syllable_sdk/_hooks/registration.py,sha256=1QZB41w6If7I9dXiOSQx6dhSc6BPWrnI5Q5bMOr4iVA,624
4
4
  syllable_sdk/_hooks/sdkhooks.py,sha256=aRu2TMpxilLKDrG6EIy6uQd6IrBH7kaHOoVkd7GIcus,2562
5
5
  syllable_sdk/_hooks/types.py,sha256=uwJkn18g4_rLZhVtKdE6Ed5YcCjGWSqVgN9-PWqV7Ho,3053
6
- syllable_sdk/_version.py,sha256=q88ZF3_-RItOuInvdZojSS5rlizitAIhArfr4Ambk-0,470
6
+ syllable_sdk/_version.py,sha256=Rh10NkOYkfBiR4tePaCBMoA4bvYa1ZpVihwtS6qVBpg,470
7
7
  syllable_sdk/agents.py,sha256=RvPAgqbuB1gX2bO3orB1lMpThPZaNahTZNy5yOqvLs0,46799
8
8
  syllable_sdk/basesdk.py,sha256=nu8mePYBX8o4jCSPaxYiz268hTlkg8aJYJaPGseU6W0,11908
9
9
  syllable_sdk/batches.py,sha256=IBzsj2FTAniqaETA8VLjwrN0qddmxyoMkhGIIhIoPZg,73188
@@ -22,7 +22,7 @@ syllable_sdk/insights_sdk.py,sha256=yh2QK-TEY7GIKBKwP4RCzf7RJgtk7hOo1Z5H5pWDcUQ,
22
22
  syllable_sdk/insights_tools.py,sha256=Udx4vv7SAoMg4dTdSUsNqCs-eFpz8R689im2MaqlF50,55244
23
23
  syllable_sdk/language_groups.py,sha256=pQrdlHgOoFo9LKw2oARGV7uEuSvSybFqd9uXL8Sw2XM,49259
24
24
  syllable_sdk/latency.py,sha256=fMTZ-AeE3ejquPRpt6VRjthD69ekNZqEtNQaV84Er0E,7446
25
- syllable_sdk/models/__init__.py,sha256=NxZyRpmQnEMwqkgK7hJbPG7fthhTPcMmmjWO3ZdV1zc,84087
25
+ syllable_sdk/models/__init__.py,sha256=tHDy01C1g_zSa57gAELnzRANYlQmSAftC-MQ8ZOxpx4,84172
26
26
  syllable_sdk/models/agent_deleteop.py,sha256=tUbi-gwd4chf2Ba9O9lCvqDQw6YOnn7aheu8OPDzptc,629
27
27
  syllable_sdk/models/agent_get_by_idop.py,sha256=vj_xEbhOv3c8n3-B3uQnfTwHWdxYSE4k3Zvr58Yc9A4,484
28
28
  syllable_sdk/models/agent_listop.py,sha256=dJdQuIst1TF4xMol9XVdX4xOw8z06jyAQpm46_u0Ysk,5007
@@ -200,6 +200,7 @@ syllable_sdk/models/listresponse_session_.py,sha256=wAaQ6q0VB9Ut7QktpFDn-q1bOxVl
200
200
  syllable_sdk/models/listresponse_sessionlabel_.py,sha256=AC1xBcqGA5s3Y66powyGLFWD2Dz3mGE-lOi4XFZxMNI,2348
201
201
  syllable_sdk/models/listresponse_toolresponse_.py,sha256=lAgwBYF4-VRgfNp7pyrBMw6mDXWMYTI0lX777304uM8,2348
202
202
  syllable_sdk/models/listresponse_userresponse_.py,sha256=zZqujwjjoe589oZZZrSyEj8-74tx2MnSWpY08AJtaK0,2348
203
+ syllable_sdk/models/logintype.py,sha256=N6VPXZQVqNFkhC2568I0mJzBotKDqCKeqipJFp2a_Pg,285
203
204
  syllable_sdk/models/no_response_error.py,sha256=FQG44Lq6uF7uUlzbUYfM3dJon6sbqXzJ0Ri6YrDdsEs,380
204
205
  syllable_sdk/models/orderbydirection.py,sha256=1Jh50d2n7KXwKBRlkW7gdDUUGl4pexO0l0XwQWn8Sac,291
205
206
  syllable_sdk/models/organizationresponse.py,sha256=rCOPJgC8V_fd8adj26Rb1MMSSzBH5qvlX_qEJbmMgZs,2990
@@ -312,7 +313,7 @@ syllable_sdk/models/twilionumberupdaterequest.py,sha256=duylxARKvaOXQu0yPAEqmlQJ
312
313
  syllable_sdk/models/twilionumberupdateresponse.py,sha256=CmHNhPEppjWAnL2SUqRZdTPRO5fIhWsx79_SvLEEId8,604
313
314
  syllable_sdk/models/twiliophonenumber.py,sha256=R9b0NExI4sfksN8_3X6SH_RDw3UC6iZEgtGuNaCX6L8,777
314
315
  syllable_sdk/models/useractivitystatus.py,sha256=C05eUt7DsRYbTEhE049B9nwEUXpN75cShe58pTC_Wm0,247
315
- syllable_sdk/models/usercreaterequest.py,sha256=jeJFL-PCcaSJznzODUym7SqCuxhRL7mWpcQ4t1NuklY,1976
316
+ syllable_sdk/models/usercreaterequest.py,sha256=h5dXmrSqBbq52TlVUzesWO-3dJ130z_uLzthTqLSqyw,2449
316
317
  syllable_sdk/models/userdeleterequest.py,sha256=ixJO-IG0irpSuniBT988EFOloVCKOhBjj135D7TUFvY,615
317
318
  syllable_sdk/models/userproperties.py,sha256=ee1r23gct48DVkBqgG6UdBV6VNHUagl1PMJ6e4jLAng,514
318
319
  syllable_sdk/models/userresponse.py,sha256=I1Vqgp8smd1uOjIaFGFm1y2puaS7lNY6PpJPhev4EvI,3642
@@ -362,6 +363,6 @@ syllable_sdk/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,525
362
363
  syllable_sdk/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
363
364
  syllable_sdk/v1.py,sha256=qTA1voTYrhlU1sgRC0B3SEdpICcvlTa1j0iTVrfnTcU,53373
364
365
  syllable_sdk/workflows.py,sha256=auKvqkoSRirH460oXQq2Inxh4fyef7PDFOoMfr55nCw,64882
365
- syllable_sdk-0.35.25.dist-info/METADATA,sha256=YAft4aEY89_uJyWxXZWLk6jiWKXOCY8XvQnHKzcrhB4,44940
366
- syllable_sdk-0.35.25.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
367
- syllable_sdk-0.35.25.dist-info/RECORD,,
366
+ syllable_sdk-0.35.27.dist-info/METADATA,sha256=Kq-1z8hS-BvQgFpQiXWAIRbQHo_sv4vHek2ktFy_IJU,44940
367
+ syllable_sdk-0.35.27.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
368
+ syllable_sdk-0.35.27.dist-info/RECORD,,