syllable-sdk 0.44.1__py3-none-any.whl → 0.44.4__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.44.1"
6
+ __version__: str = "0.44.4"
7
7
  __openapi_doc_version__: str = "0.0.2"
8
- __gen_version__: str = "2.768.1"
9
- __user_agent__: str = "speakeasy-sdk/python 0.44.1 2.768.1 0.0.2 syllable-sdk"
8
+ __gen_version__: str = "2.770.0"
9
+ __user_agent__: str = "speakeasy-sdk/python 0.44.4 2.770.0 0.0.2 syllable-sdk"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
syllable_sdk/directory.py CHANGED
@@ -1,7 +1,6 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from .basesdk import BaseSDK
4
- from datetime import datetime
5
4
  from syllable_sdk import errors, models, utils
6
5
  from syllable_sdk._hooks import HookContext
7
6
  from syllable_sdk.types import BaseModel, OptionalNullable, UNSET
@@ -1003,7 +1002,7 @@ class Directory(BaseSDK):
1003
1002
  self,
1004
1003
  *,
1005
1004
  member_id: int,
1006
- timestamp: datetime,
1005
+ timestamp: str,
1007
1006
  language_code: OptionalNullable[models.LanguageCode] = UNSET,
1008
1007
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1009
1008
  server_url: Optional[str] = None,
@@ -1015,7 +1014,7 @@ class Directory(BaseSDK):
1015
1014
  Test directory member extension at a specific timestamp and language.
1016
1015
 
1017
1016
  :param member_id:
1018
- :param timestamp: Timestamp for test
1017
+ :param timestamp: Timestamp for test in ISO 8601 format (e.g., 2025-12-04T14:29:39)
1019
1018
  :param language_code: Optional language code for test
1020
1019
  :param retries: Override the default retry configuration for this method
1021
1020
  :param server_url: Override the default server URL for this method
@@ -1099,7 +1098,7 @@ class Directory(BaseSDK):
1099
1098
  self,
1100
1099
  *,
1101
1100
  member_id: int,
1102
- timestamp: datetime,
1101
+ timestamp: str,
1103
1102
  language_code: OptionalNullable[models.LanguageCode] = UNSET,
1104
1103
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
1105
1104
  server_url: Optional[str] = None,
@@ -1111,7 +1110,7 @@ class Directory(BaseSDK):
1111
1110
  Test directory member extension at a specific timestamp and language.
1112
1111
 
1113
1112
  :param member_id:
1114
- :param timestamp: Timestamp for test
1113
+ :param timestamp: Timestamp for test in ISO 8601 format (e.g., 2025-12-04T14:29:39)
1115
1114
  :param language_code: Optional language code for test
1116
1115
  :param retries: Override the default retry configuration for this method
1117
1116
  :param server_url: Override the default server URL for this method
@@ -2,7 +2,6 @@
2
2
 
3
3
  from __future__ import annotations
4
4
  from .languagecode import LanguageCode
5
- from datetime import datetime
6
5
  from pydantic import model_serializer
7
6
  from syllable_sdk.types import (
8
7
  BaseModel,
@@ -17,8 +16,8 @@ from typing_extensions import Annotated, NotRequired, TypedDict
17
16
 
18
17
  class DirectoryMemberTestExtensionRequestTypedDict(TypedDict):
19
18
  member_id: int
20
- timestamp: datetime
21
- r"""Timestamp for test"""
19
+ timestamp: str
20
+ r"""Timestamp for test in ISO 8601 format (e.g., 2025-12-04T14:29:39)"""
22
21
  language_code: NotRequired[Nullable[LanguageCode]]
23
22
  r"""Optional language code for test"""
24
23
 
@@ -29,9 +28,9 @@ class DirectoryMemberTestExtensionRequest(BaseModel):
29
28
  ]
30
29
 
31
30
  timestamp: Annotated[
32
- datetime, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
31
+ str, FieldMetadata(query=QueryParamMetadata(style="form", explode=True))
33
32
  ]
34
- r"""Timestamp for test"""
33
+ r"""Timestamp for test in ISO 8601 format (e.g., 2025-12-04T14:29:39)"""
35
34
 
36
35
  language_code: Annotated[
37
36
  OptionalNullable[LanguageCode],
@@ -14,17 +14,22 @@ from typing_extensions import NotRequired, TypedDict
14
14
 
15
15
  class DirectoryMemberTestResponseTypedDict(TypedDict):
16
16
  extension: NotRequired[Nullable[str]]
17
- r"""Extension to which the user will be transferred if they call at the provided timestamp in the given language"""
17
+ r"""Extension to which the user will be transferred if they call at the provided timestamp in the given language, or a status message if no rules match"""
18
+ status: NotRequired[Nullable[str]]
19
+ r"""Status message if no rules match"""
18
20
 
19
21
 
20
22
  class DirectoryMemberTestResponse(BaseModel):
21
23
  extension: OptionalNullable[str] = UNSET
22
- r"""Extension to which the user will be transferred if they call at the provided timestamp in the given language"""
24
+ r"""Extension to which the user will be transferred if they call at the provided timestamp in the given language, or a status message if no rules match"""
25
+
26
+ status: OptionalNullable[str] = UNSET
27
+ r"""Status message if no rules match"""
23
28
 
24
29
  @model_serializer(mode="wrap")
25
30
  def serialize_model(self, handler):
26
- optional_fields = ["extension"]
27
- nullable_fields = ["extension"]
31
+ optional_fields = ["extension", "status"]
32
+ nullable_fields = ["extension", "status"]
28
33
  null_default_fields = []
29
34
 
30
35
  serialized = handler(self)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: syllable-sdk
3
- Version: 0.44.1
3
+ Version: 0.44.4
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=Q7FbT9h8OojzOPZjLSrU-DLQNENaIQ9rTmhV8woo2TY,468
6
+ syllable_sdk/_version.py,sha256=hv8aaxhmL0UwVjAas6VQtktgfOgH4qSHXGI9CVAbJnM,468
7
7
  syllable_sdk/agents.py,sha256=5X4d7rstMwWCUTmNH76eX3dTFLGvUtO5fb36hYtXo9w,47252
8
8
  syllable_sdk/basesdk.py,sha256=OZv9Uydmc41Bm5rsLYX8yZdHFZxLCS8f0lABAZkQNs0,12473
9
9
  syllable_sdk/batches.py,sha256=jAL-2jfZqhuVGWd6gG7hzPk7mG_X1M1AuLsO14QRzM8,73743
@@ -14,7 +14,7 @@ syllable_sdk/conversations.py,sha256=eWhgxIRVKExgQX5T8CMmaoB8fofDBpaJ7i-hPGdMkRE
14
14
  syllable_sdk/custom_messages.py,sha256=5YML3nlDzL7RE4pGyuDtPMLS5A7RR_1RKhDv0GWbOzw,41687
15
15
  syllable_sdk/dashboards.py,sha256=OU_67kdhwhYnjM1PCyA-2zRBRgc7_RoNo3NCVV7UkYE,45898
16
16
  syllable_sdk/data_sources.py,sha256=lSAXR9TV1L8DEH7T762-5NFNeWKyJ_oyhwDMz5hllbE,41289
17
- syllable_sdk/directory.py,sha256=qHS6gt6jcrqL2OS_dTx0F2N8vmY9mPnIj8BHWrzmgF8,63453
17
+ syllable_sdk/directory.py,sha256=qkl-o_udxs6x4Cu_gaS1mJ4Lgg0TNIfckSJ2xwy_640,63507
18
18
  syllable_sdk/errors/__init__.py,sha256=b7YCOOsKA0VcV2bgdwU0w8lITftThPQ5QHX8sTisILk,2098
19
19
  syllable_sdk/errors/apierror.py,sha256=-LoYmnlQmN0_BBJU1vWCEvA3QDeag_x4lbw7u4R6pfk,1297
20
20
  syllable_sdk/errors/httpvalidationerror.py,sha256=ZsPoNUMwj4CdGcDRWmljjBmg_a9UkpoKSBFFylM9Pu0,906
@@ -128,14 +128,14 @@ syllable_sdk/models/dialogtoolcall.py,sha256=hDdnuQQNrB4Vzb--R_v3ze_p9McQszzyQG9
128
128
  syllable_sdk/models/directory_member_deleteop.py,sha256=a6T1MBc0ZUBaQFQ3ugRMs_E8Ic0p9zCWs9FmdWp-MHg,504
129
129
  syllable_sdk/models/directory_member_get_by_idop.py,sha256=5IvyVMM4Ykm-_75QYbe3ljxatQUvO2sQHtQ5Xt98NE8,506
130
130
  syllable_sdk/models/directory_member_listop.py,sha256=568u6zJ86cE45I9mF4dzRd4dRn-EHTlppdtazmx5W2c,5107
131
- syllable_sdk/models/directory_member_test_extensionop.py,sha256=JpmuK8_1T7R3FK9DGyOjZgCOnaWzNXxgpUA8TJOaU0Y,2162
131
+ syllable_sdk/models/directory_member_test_extensionop.py,sha256=rEvgizAHk0nBrRumhZzAW0kriiogWfpwrXhQlJ_zDj8,2216
132
132
  syllable_sdk/models/directory_member_updateop.py,sha256=KjeakJR0tdUfUnPVm-NJduca3xgD5hfeGSeg-LI_tCE,827
133
133
  syllable_sdk/models/directoryextension.py,sha256=37hSpmuwYovZ7AuO3-FajBLr9_i_ardVG20fYHuDF4I,1775
134
134
  syllable_sdk/models/directoryextensionnumber.py,sha256=P7u9CtS1N4k0b0XLD4AD9HnrXY2GcE8D65M8Uwsu6DE,1789
135
135
  syllable_sdk/models/directorymember.py,sha256=l3aOb-qS92dQQKU3A2y4dTPPpfRsIOwxTqiGEpkRHSc,2809
136
136
  syllable_sdk/models/directorymembercreate.py,sha256=uJbTXLxb5g6uX4kJphChQzy9EZr2B06cCiYc9Eb-phM,2257
137
137
  syllable_sdk/models/directorymemberproperties.py,sha256=qX6Ln1OABBc26wgdAiYfZFK0yvYRARgIWaw6RxyUaLg,350
138
- syllable_sdk/models/directorymembertestresponse.py,sha256=iHorMtw1hu3lqt9jRH0xhoiskGWDkbrC7wys3TSoP3I,1662
138
+ syllable_sdk/models/directorymembertestresponse.py,sha256=B4M-uMWjcj_AgOt4uxXuljkuD4wvMD5Z8ODw0MJrjb8,1930
139
139
  syllable_sdk/models/directorymemberupdate.py,sha256=LTWsH5J1gbWiRUs565C38ez9XF8-nVsOV_jKKZaaALI,2376
140
140
  syllable_sdk/models/event.py,sha256=qFvXId06MfWSPW3SnFyy4_rvvqknzoAo0TSQy3F38Jo,4151
141
141
  syllable_sdk/models/eventproperties.py,sha256=9_5DIkk5RtQsa52IxCkffSG0livH8baPSCdhzRKz48I,444
@@ -437,6 +437,6 @@ syllable_sdk/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,
437
437
  syllable_sdk/v1.py,sha256=dA67n3aRVr-3VqqW4sFcIAqPRpEwsQqStv9EfJ-EPCc,53980
438
438
  syllable_sdk/voice_groups.py,sha256=ChjGJJW1n7IHfiSenzi-HiIa51jHFjUAO5L5yzNMPFY,48944
439
439
  syllable_sdk/workflows.py,sha256=vXaEaw29tOeMqUIBiJqN9S2XW4B3NP_ZDoUPMVDh_Ck,65385
440
- syllable_sdk-0.44.1.dist-info/METADATA,sha256=R2zHy_DRIz2DR9ehbY2YOKuxMR099qa9tvtG3WeTFqc,50242
441
- syllable_sdk-0.44.1.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
442
- syllable_sdk-0.44.1.dist-info/RECORD,,
440
+ syllable_sdk-0.44.4.dist-info/METADATA,sha256=oXcBj6EElIRjeL1QX7CGAoOmEf2d68RnEuicIryTLeg,50242
441
+ syllable_sdk-0.44.4.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
442
+ syllable_sdk-0.44.4.dist-info/RECORD,,