syllable-sdk 0.41.20__py3-none-any.whl → 0.41.23__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.41.20"
6
+ __version__: str = "0.41.23"
7
7
  __openapi_doc_version__: str = "0.0.2"
8
8
  __gen_version__: str = "2.755.9"
9
- __user_agent__: str = "speakeasy-sdk/python 0.41.20 2.755.9 0.0.2 syllable-sdk"
9
+ __user_agent__: str = "speakeasy-sdk/python 0.41.23 2.755.9 0.0.2 syllable-sdk"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -172,7 +172,6 @@ if TYPE_CHECKING:
172
172
  CustomMessagesListRequest,
173
173
  CustomMessagesListRequestTypedDict,
174
174
  )
175
- from .custommessageconfig import CustomMessageConfig, CustomMessageConfigTypedDict
176
175
  from .custommessagecreaterequest import (
177
176
  CustomMessageCreateRequest,
178
177
  CustomMessageCreateRequestTypedDict,
@@ -1048,8 +1047,6 @@ __all__ = [
1048
1047
  "ConversationsListRequestTypedDict",
1049
1048
  "CreateTakeoutResponse",
1050
1049
  "CreateTakeoutResponseTypedDict",
1051
- "CustomMessageConfig",
1052
- "CustomMessageConfigTypedDict",
1053
1050
  "CustomMessageCreateRequest",
1054
1051
  "CustomMessageCreateRequestTypedDict",
1055
1052
  "CustomMessageGetByIDRequest",
@@ -1698,8 +1695,6 @@ _dynamic_imports: dict[str, str] = {
1698
1695
  "CustomMessagesDeleteRequestTypedDict": ".custom_messages_deleteop",
1699
1696
  "CustomMessagesListRequest": ".custom_messages_listop",
1700
1697
  "CustomMessagesListRequestTypedDict": ".custom_messages_listop",
1701
- "CustomMessageConfig": ".custommessageconfig",
1702
- "CustomMessageConfigTypedDict": ".custommessageconfig",
1703
1698
  "CustomMessageCreateRequest": ".custommessagecreaterequest",
1704
1699
  "CustomMessageCreateRequestTypedDict": ".custommessagecreaterequest",
1705
1700
  "CustomMessageProperties": ".custommessageproperties",
@@ -1,7 +1,6 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .custommessageconfig import CustomMessageConfig, CustomMessageConfigTypedDict
5
4
  from .custommessagerule import CustomMessageRule, CustomMessageRuleTypedDict
6
5
  from pydantic import model_serializer
7
6
  from syllable_sdk.types import (
@@ -26,8 +25,6 @@ class CustomMessageCreateRequestTypedDict(TypedDict):
26
25
  r"""The label of the custom message"""
27
26
  rules: NotRequired[List[CustomMessageRuleTypedDict]]
28
27
  r"""Rules for time-specific message variants"""
29
- config: NotRequired[CustomMessageConfigTypedDict]
30
- r"""Additional configuration options for the message."""
31
28
  type: NotRequired[str]
32
29
  r"""Type of the custom message (must be \"greeting\" for now)"""
33
30
 
@@ -47,15 +44,12 @@ class CustomMessageCreateRequest(BaseModel):
47
44
  rules: Optional[List[CustomMessageRule]] = None
48
45
  r"""Rules for time-specific message variants"""
49
46
 
50
- config: Optional[CustomMessageConfig] = None
51
- r"""Additional configuration options for the message."""
52
-
53
47
  type: Optional[str] = "greeting"
54
48
  r"""Type of the custom message (must be \"greeting\" for now)"""
55
49
 
56
50
  @model_serializer(mode="wrap")
57
51
  def serialize_model(self, handler):
58
- optional_fields = ["label", "rules", "config", "type"]
52
+ optional_fields = ["label", "rules", "type"]
59
53
  nullable_fields = ["label"]
60
54
  null_default_fields = []
61
55
 
@@ -1,7 +1,6 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .custommessageconfig import CustomMessageConfig, CustomMessageConfigTypedDict
5
4
  from .custommessagerule import CustomMessageRule, CustomMessageRuleTypedDict
6
5
  from datetime import datetime
7
6
  from pydantic import model_serializer
@@ -39,8 +38,6 @@ class CustomMessageResponseTypedDict(TypedDict):
39
38
  r"""The label of the custom message"""
40
39
  rules: NotRequired[List[CustomMessageRuleTypedDict]]
41
40
  r"""Rules for time-specific message variants"""
42
- config: NotRequired[CustomMessageConfigTypedDict]
43
- r"""Additional configuration options for the message."""
44
41
  agent_count: NotRequired[Nullable[int]]
45
42
  r"""The number of agents using the custom message"""
46
43
  type: NotRequired[str]
@@ -77,9 +74,6 @@ class CustomMessageResponse(BaseModel):
77
74
  rules: Optional[List[CustomMessageRule]] = None
78
75
  r"""Rules for time-specific message variants"""
79
76
 
80
- config: Optional[CustomMessageConfig] = None
81
- r"""Additional configuration options for the message."""
82
-
83
77
  agent_count: OptionalNullable[int] = UNSET
84
78
  r"""The number of agents using the custom message"""
85
79
 
@@ -88,7 +82,7 @@ class CustomMessageResponse(BaseModel):
88
82
 
89
83
  @model_serializer(mode="wrap")
90
84
  def serialize_model(self, handler):
91
- optional_fields = ["label", "rules", "config", "agent_count", "type"]
85
+ optional_fields = ["label", "rules", "agent_count", "type"]
92
86
  nullable_fields = ["label", "agent_count"]
93
87
  null_default_fields = []
94
88
 
@@ -1,7 +1,6 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .custommessageconfig import CustomMessageConfig, CustomMessageConfigTypedDict
5
4
  from .custommessagerule import CustomMessageRule, CustomMessageRuleTypedDict
6
5
  from pydantic import model_serializer
7
6
  from syllable_sdk.types import (
@@ -28,8 +27,6 @@ class CustomMessageUpdateRequestTypedDict(TypedDict):
28
27
  r"""The label of the custom message"""
29
28
  rules: NotRequired[List[CustomMessageRuleTypedDict]]
30
29
  r"""Rules for time-specific message variants"""
31
- config: NotRequired[CustomMessageConfigTypedDict]
32
- r"""Additional configuration options for the message."""
33
30
  type: NotRequired[str]
34
31
  r"""Type of the custom message (must be \"greeting\" for now)"""
35
32
 
@@ -52,15 +49,12 @@ class CustomMessageUpdateRequest(BaseModel):
52
49
  rules: Optional[List[CustomMessageRule]] = None
53
50
  r"""Rules for time-specific message variants"""
54
51
 
55
- config: Optional[CustomMessageConfig] = None
56
- r"""Additional configuration options for the message."""
57
-
58
52
  type: Optional[str] = "greeting"
59
53
  r"""Type of the custom message (must be \"greeting\" for now)"""
60
54
 
61
55
  @model_serializer(mode="wrap")
62
56
  def serialize_model(self, handler):
63
- optional_fields = ["label", "rules", "config", "type"]
57
+ optional_fields = ["label", "rules", "type"]
64
58
  nullable_fields = ["label"]
65
59
  null_default_fields = []
66
60
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: syllable-sdk
3
- Version: 0.41.20
3
+ Version: 0.41.23
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=sZccEOikz3RkNTZE8L8Yu9UUrSok-X-dpHGB3BLLR_o,470
6
+ syllable_sdk/_version.py,sha256=Tukkp8n7moH0ncAXh3d97CEeasOUaNzXXsLqyMEUkXc,470
7
7
  syllable_sdk/agents.py,sha256=KV-3_nFZGBOQV0IAfjO3TFhorfr-PV6eeuTl6DL8AqI,46820
8
8
  syllable_sdk/basesdk.py,sha256=PCXez-bS_sOzXpRo7awDMzW4zqGJtktHytrlQfG1HNw,12211
9
9
  syllable_sdk/batches.py,sha256=I-mV5vzpM3BfO91NLmtwt-GKhrOjf351XWFLrdvIofU,73095
@@ -29,7 +29,7 @@ syllable_sdk/insights_sdk.py,sha256=_RfPEqpJGTYpGv0kxID2YQb-EbbhZKc82VwlB4xDON4,
29
29
  syllable_sdk/insights_tools.py,sha256=CcOobBAVx2kS8fj4Qk6eoPanmVpEMK7oH9IFaijDlQs,55143
30
30
  syllable_sdk/language_groups.py,sha256=6x4_4TNhVaz-O50iT1hpDQGfoH1OZdIR0-lL4y5Psbg,51531
31
31
  syllable_sdk/latency.py,sha256=qJT16MmojZcxXD2-x5i27FplrB4O_fAN264LsHbHckg,7453
32
- syllable_sdk/models/__init__.py,sha256=53iDQAXzIPn6qM3Hjutqc37uabZ3bfjZCS76LrDPjFc,96691
32
+ syllable_sdk/models/__init__.py,sha256=4M4y_1K00h2p2ivL3xpqmz9QzwLU1BI55IRKUAbVtj8,96430
33
33
  syllable_sdk/models/agent_deleteop.py,sha256=tUbi-gwd4chf2Ba9O9lCvqDQw6YOnn7aheu8OPDzptc,629
34
34
  syllable_sdk/models/agent_get_by_idop.py,sha256=vj_xEbhOv3c8n3-B3uQnfTwHWdxYSE4k3Zvr58Yc9A4,484
35
35
  syllable_sdk/models/agent_listop.py,sha256=dJdQuIst1TF4xMol9XVdX4xOw8z06jyAQpm46_u0Ysk,5007
@@ -92,12 +92,11 @@ syllable_sdk/models/createtakeoutresponse.py,sha256=MuO3HWPcpU8T1IXvrcWklhac3P7s
92
92
  syllable_sdk/models/custom_message_get_by_idop.py,sha256=07SmbsleEoeO7xNyppH9p4oJNjpP45W3N6dR9wrpvVs,518
93
93
  syllable_sdk/models/custom_messages_deleteop.py,sha256=3-lNvqQ93OATAHxSFknM0nTl4ciz9i3Pk0wIuYWZipA,665
94
94
  syllable_sdk/models/custom_messages_listop.py,sha256=1FpcixhTIQfooFeOLkfPoLu9KwkZ42pPfvNLH8K-pQ0,5089
95
- syllable_sdk/models/custommessageconfig.py,sha256=UIgrr1AfY38ixnHK5Zzg-Fr1lrkHTp5vg_0FnE6BfJo,1371
96
- syllable_sdk/models/custommessagecreaterequest.py,sha256=7NSPZCWonJHk3v4vAbyKbboGMHxDN8jnskqIdMfMGW8,2844
95
+ syllable_sdk/models/custommessagecreaterequest.py,sha256=Pjh2oT0kWQ1PNTAMJ8lt7hu4Cl_XgBYRIYs2Gv1YVcw,2525
97
96
  syllable_sdk/models/custommessageproperties.py,sha256=d5QrfThosurEgPFUlZun168xmjcvPlKop9Ay3i87BnI,304
98
- syllable_sdk/models/custommessageresponse.py,sha256=U_MYTR1Npy8qrR82bbWAlHjjU8s3pPcbFit8gKh0174,4577
97
+ syllable_sdk/models/custommessageresponse.py,sha256=WNXTV-Qv2zQ4sKUqjU2MbhwRA0dGjLSOHsB5CJma6zM,4258
99
98
  syllable_sdk/models/custommessagerule.py,sha256=w97jz-I-riDHSVmq1Qeu7nuW6V91heV0x60XSgGi56o,3280
100
- syllable_sdk/models/custommessageupdaterequest.py,sha256=qGWGu2GLEDT5DtQS9Y1xPnCWhVd-CzF8LmIHZ7ICzj8,2969
99
+ syllable_sdk/models/custommessageupdaterequest.py,sha256=4Hj63sregTQ7-VDLTqALlkUDM5J9yKLhe9ddFYgzLBI,2650
101
100
  syllable_sdk/models/daotoolresponse.py,sha256=b0bVgo94XvjFgq-Ki5vr044zexGywNzNNbd_WtbunkE,3802
102
101
  syllable_sdk/models/dashboard.py,sha256=Q7Tji4r3VKAvrjPRE4NOyRsldyFLHXdie5hBODSdkMM,993
103
102
  syllable_sdk/models/dashboardproperties.py,sha256=JhuzlUJK4VHGWalpvKbZfu6LK-KcmP189BwubyfRhYk,362
@@ -408,6 +407,6 @@ syllable_sdk/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,
408
407
  syllable_sdk/v1.py,sha256=BuA9D8PTM3ACw7t2p_wd6bIZblDM1JF8Scx0U2GPpCQ,53476
409
408
  syllable_sdk/voice_groups.py,sha256=m68HbT6z6SWtGWPoZaFFu6NIyNYIG7H9H5QkQuzlTQU,48512
410
409
  syllable_sdk/workflows.py,sha256=xHWT4Wl65qw2jvNZ5xF_MwpR5xd5147cSlQE_6gvfSo,64809
411
- syllable_sdk-0.41.20.dist-info/METADATA,sha256=j47ApnaDDFmXiT6Eb_wECMuCi3t2N2XIunLk8K-Woeg,49729
412
- syllable_sdk-0.41.20.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
413
- syllable_sdk-0.41.20.dist-info/RECORD,,
410
+ syllable_sdk-0.41.23.dist-info/METADATA,sha256=zGbzpWvatDugVjkCUS3P66nUby5ijKZfxoKdv1dlAyU,49729
411
+ syllable_sdk-0.41.23.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
412
+ syllable_sdk-0.41.23.dist-info/RECORD,,
@@ -1,20 +0,0 @@
1
- """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
-
3
- from __future__ import annotations
4
- from syllable_sdk.types import BaseModel
5
- from typing import Optional
6
- from typing_extensions import NotRequired, TypedDict
7
-
8
-
9
- class CustomMessageConfigTypedDict(TypedDict):
10
- r"""Additional configuration options for the message."""
11
-
12
- user_initiated_non_voice_session_behavior: NotRequired[str]
13
- r"""The behavior of an agent assigned this message at the beginning of a user-initiated non-voice session (e.g., SMS, email, etc.). 'respond_only' will skip the message and respond to the user's message. 'greet_and_respond' will deliver the message and respond to the user's message. 'greet_only' will deliver the message and not respond to the user's message. Defaults to 'greet_only'."""
14
-
15
-
16
- class CustomMessageConfig(BaseModel):
17
- r"""Additional configuration options for the message."""
18
-
19
- user_initiated_non_voice_session_behavior: Optional[str] = "greet_only"
20
- r"""The behavior of an agent assigned this message at the beginning of a user-initiated non-voice session (e.g., SMS, email, etc.). 'respond_only' will skip the message and respond to the user's message. 'greet_and_respond' will deliver the message and respond to the user's message. 'greet_only' will deliver the message and not respond to the user's message. Defaults to 'greet_only'."""