syllable-sdk 0.35.49__py3-none-any.whl → 0.35.56__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.49"
6
+ __version__: str = "0.35.56"
7
7
  __openapi_doc_version__: str = "0.0.2"
8
- __gen_version__: str = "2.662.0"
9
- __user_agent__: str = "speakeasy-sdk/python 0.35.49 2.662.0 0.0.2 syllable-sdk"
8
+ __gen_version__: str = "2.667.0"
9
+ __user_agent__: str = "speakeasy-sdk/python 0.35.56 2.667.0 0.0.2 syllable-sdk"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -371,6 +371,8 @@ if TYPE_CHECKING:
371
371
  AgentListTypedDict,
372
372
  InsightWorkflowCondition,
373
373
  InsightWorkflowConditionTypedDict,
374
+ SampleRate,
375
+ SampleRateTypedDict,
374
376
  )
375
377
  from .insightworkflowestimate import (
376
378
  InsightWorkflowEstimate,
@@ -1218,6 +1220,8 @@ __all__ = [
1218
1220
  "RolesGetByIDRequestTypedDict",
1219
1221
  "RolesListRequest",
1220
1222
  "RolesListRequestTypedDict",
1223
+ "SampleRate",
1224
+ "SampleRateTypedDict",
1221
1225
  "Security",
1222
1226
  "SecurityTypedDict",
1223
1227
  "ServiceCreateRequest",
@@ -1624,6 +1628,8 @@ _dynamic_imports: dict[str, str] = {
1624
1628
  "AgentListTypedDict": ".insightworkflowcondition",
1625
1629
  "InsightWorkflowCondition": ".insightworkflowcondition",
1626
1630
  "InsightWorkflowConditionTypedDict": ".insightworkflowcondition",
1631
+ "SampleRate": ".insightworkflowcondition",
1632
+ "SampleRateTypedDict": ".insightworkflowcondition",
1627
1633
  "InsightWorkflowEstimate": ".insightworkflowestimate",
1628
1634
  "InsightWorkflowEstimateTypedDict": ".insightworkflowestimate",
1629
1635
  "InsightWorkflowInput": ".insightworkflowinput",
@@ -6,6 +6,7 @@ from enum import Enum
6
6
 
7
7
  class InsightsUploadFileProperties(str, Enum):
8
8
  FILENAME = "filename"
9
+ FILENAME_EXACT = "filename_exact"
9
10
  CALL_ID = "call_id"
10
11
  AGENT_NUMBER = "agent_number"
11
12
  CUSTOMER_NUMBER = "customer_number"
@@ -13,6 +13,14 @@ from typing import Dict, List, Union
13
13
  from typing_extensions import NotRequired, TypeAliasType, TypedDict
14
14
 
15
15
 
16
+ SampleRateTypedDict = TypeAliasType("SampleRateTypedDict", Union[int, float])
17
+ r"""Sample rate as a percentage of calls"""
18
+
19
+
20
+ SampleRate = TypeAliasType("SampleRate", Union[int, float])
21
+ r"""Sample rate as a percentage of calls"""
22
+
23
+
16
24
  AgentListTypedDict = TypeAliasType("AgentListTypedDict", Union[List[int], List[str]])
17
25
  r"""List of agents"""
18
26
 
@@ -28,7 +36,7 @@ class InsightWorkflowConditionTypedDict(TypedDict):
28
36
  r"""Minimum duration of the calls in seconds"""
29
37
  max_duration: NotRequired[Nullable[int]]
30
38
  r"""Maximum duration of the calls in seconds"""
31
- sample_rate: NotRequired[Nullable[int]]
39
+ sample_rate: NotRequired[Nullable[SampleRateTypedDict]]
32
40
  r"""Sample rate as a percentage of calls"""
33
41
  agent_list: NotRequired[Nullable[AgentListTypedDict]]
34
42
  r"""List of agents"""
@@ -49,7 +57,7 @@ class InsightWorkflowCondition(BaseModel):
49
57
  max_duration: OptionalNullable[int] = UNSET
50
58
  r"""Maximum duration of the calls in seconds"""
51
59
 
52
- sample_rate: OptionalNullable[int] = UNSET
60
+ sample_rate: OptionalNullable[SampleRate] = UNSET
53
61
  r"""Sample rate as a percentage of calls"""
54
62
 
55
63
  agent_list: OptionalNullable[AgentList] = UNSET
@@ -10,7 +10,7 @@ from syllable_sdk.types import (
10
10
  UNSET,
11
11
  UNSET_SENTINEL,
12
12
  )
13
- from typing import Dict
13
+ from typing import Any
14
14
  from typing_extensions import NotRequired, TypedDict
15
15
 
16
16
 
@@ -23,8 +23,8 @@ class ServiceCreateRequestTypedDict(TypedDict):
23
23
  r"""The description of the service"""
24
24
  auth_type: NotRequired[Nullable[ToolAuthType]]
25
25
  r"""The type of authentication to use for the service's tools"""
26
- auth_values: NotRequired[Nullable[Dict[str, Nullable[str]]]]
27
- r"""The values to use for the authentication. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)"""
26
+ auth_values: NotRequired[Nullable[Any]]
27
+ r"""The values to use for the authentication, as a dict. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)"""
28
28
 
29
29
 
30
30
  class ServiceCreateRequest(BaseModel):
@@ -39,8 +39,8 @@ class ServiceCreateRequest(BaseModel):
39
39
  auth_type: OptionalNullable[ToolAuthType] = UNSET
40
40
  r"""The type of authentication to use for the service's tools"""
41
41
 
42
- auth_values: OptionalNullable[Dict[str, Nullable[str]]] = UNSET
43
- r"""The values to use for the authentication. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)"""
42
+ auth_values: OptionalNullable[Any] = UNSET
43
+ r"""The values to use for the authentication, as a dict. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)"""
44
44
 
45
45
  @model_serializer(mode="wrap")
46
46
  def serialize_model(self, handler):
@@ -10,7 +10,7 @@ from syllable_sdk.types import (
10
10
  UNSET,
11
11
  UNSET_SENTINEL,
12
12
  )
13
- from typing import Dict
13
+ from typing import Any
14
14
  from typing_extensions import NotRequired, TypedDict
15
15
 
16
16
 
@@ -25,8 +25,8 @@ class ServiceUpdateRequestTypedDict(TypedDict):
25
25
  r"""The internal ID of the service"""
26
26
  auth_type: NotRequired[Nullable[ToolAuthType]]
27
27
  r"""The type of authentication to use for the service's tools"""
28
- auth_values: NotRequired[Nullable[Dict[str, Nullable[str]]]]
29
- r"""The values to use for the authentication. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)"""
28
+ auth_values: NotRequired[Nullable[Any]]
29
+ r"""The values to use for the authentication, as a dict. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)"""
30
30
  last_updated_comments: NotRequired[Nullable[str]]
31
31
  r"""Free text providing comment about what was updated"""
32
32
 
@@ -46,8 +46,8 @@ class ServiceUpdateRequest(BaseModel):
46
46
  auth_type: OptionalNullable[ToolAuthType] = UNSET
47
47
  r"""The type of authentication to use for the service's tools"""
48
48
 
49
- auth_values: OptionalNullable[Dict[str, Nullable[str]]] = UNSET
50
- r"""The values to use for the authentication. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)"""
49
+ auth_values: OptionalNullable[Any] = UNSET
50
+ r"""The values to use for the authentication, as a dict. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)"""
51
51
 
52
52
  last_updated_comments: OptionalNullable[str] = UNSET
53
53
  r"""Free text providing comment about what was updated"""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: syllable-sdk
3
- Version: 0.35.49
3
+ Version: 0.35.56
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=vQyYvZYe5wiU7O4k8MRdKNoyw6PnOC671TeCLT5dulQ,470
6
+ syllable_sdk/_version.py,sha256=dh6BQ_v6vDCdAGCr1dYz9BOnvYvZ_EgNmlL60udEK_U,470
7
7
  syllable_sdk/agents.py,sha256=0x4iFVF9VksBu32ThrGcgM3FqMCC9-iP8ggPh2r4R04,46694
8
8
  syllable_sdk/basesdk.py,sha256=dULbDf9e71tjSgOe7YwC9jD-80uIFiMrAhFbFvbEYho,11916
9
9
  syllable_sdk/batches.py,sha256=qgI5PRkdgLdaJl4DPfs4mBJrB0OY_CCDePYntyjleSs,73059
@@ -28,7 +28,7 @@ syllable_sdk/insights_sdk.py,sha256=MxNtdwu2dcM8xCjKS2l-ZIM-pT-Bbh8LSjMnFLl32nc,
28
28
  syllable_sdk/insights_tools.py,sha256=SuDEOpPtk7SlsFZ-thzIZSt_31WjofzyzqozseWQy3M,55115
29
29
  syllable_sdk/language_groups.py,sha256=BlcTvh_KitUkbVzXlBjCcxTmBbQ12QWxCZfXqlCOoPc,49214
30
30
  syllable_sdk/latency.py,sha256=PymvwBTs6KAVMl-IZVj6L4zJotRApBOcnkfB4FrlNkg,7449
31
- syllable_sdk/models/__init__.py,sha256=bCSeKImY-4vcEHeIJ5UZaSms2j_UB7h5GgcAiSebisc,83541
31
+ syllable_sdk/models/__init__.py,sha256=ecCb624Wbu8Es-_BytTur_PA44R2s8wXi5IaaIqkqX0,83738
32
32
  syllable_sdk/models/agent_deleteop.py,sha256=tUbi-gwd4chf2Ba9O9lCvqDQw6YOnn7aheu8OPDzptc,629
33
33
  syllable_sdk/models/agent_get_by_idop.py,sha256=vj_xEbhOv3c8n3-B3uQnfTwHWdxYSE4k3Zvr58Yc9A4,484
34
34
  syllable_sdk/models/agent_listop.py,sha256=dJdQuIst1TF4xMol9XVdX4xOw8z06jyAQpm46_u0Ysk,5007
@@ -151,7 +151,7 @@ syllable_sdk/models/insightsfolderproperties.py,sha256=lOLzVw_EVakuHiaHXFz0CNs5I
151
151
  syllable_sdk/models/insightsoutput.py,sha256=Mc_cs_vJXPHCsL7yJ4S-QGXcJzGHarqbw6P-NyfWdAo,3762
152
152
  syllable_sdk/models/insightsproperties.py,sha256=d0etqw04RMdfDo8uwVMK9rC7UzZDxUyro8qi4dGx6tk,397
153
153
  syllable_sdk/models/insightsuploadfile.py,sha256=3fAP67-RoHlQ-nihDq-5HnJubMo5FDMgV8ZS_STCakY,4540
154
- syllable_sdk/models/insightsuploadfileproperties.py,sha256=T_t05g6WBe6AOURE30WB2Dfsq5MNIDORlpl_x3U0PSg,415
154
+ syllable_sdk/models/insightsuploadfileproperties.py,sha256=g-9-uFhy1mS45UMiAruSRJyb8oXPmWdfqTfeLTg-dNc,453
155
155
  syllable_sdk/models/insightsworkflowqueuesession.py,sha256=8ChCA3-nZ-nCHeNKtWaik8aWVpxNQe6Sq7cASrsRpco,2097
156
156
  syllable_sdk/models/insighttooldefinition.py,sha256=uiKt1paqvp3rU-LyKac-R2OZGol183B0Pr2GCPQW-DM,1580
157
157
  syllable_sdk/models/insighttoolinput.py,sha256=qtAPPu5iWmDdR6JOBWjVaz4trFeG-7erURnX7dWlj7w,1255
@@ -159,7 +159,7 @@ syllable_sdk/models/insighttooloutput.py,sha256=lOgOnhwNp5ufaJfYb04BWo2WmaR3wUUt
159
159
  syllable_sdk/models/insighttoolproperties.py,sha256=4CND3iVh8BInmfWszIN6xY97spN5xGFEfD4yD9NZ2dA,396
160
160
  syllable_sdk/models/insighttooltestinput.py,sha256=pbQtoUZ5WGSNS0cIYkNaT7Fp4Humn4ntzRx_NjwfA4w,2099
161
161
  syllable_sdk/models/insightworkflowactivate.py,sha256=XwMga80GoXNPBvMbER8lX_cfB0zcMsk9ZhIRTH_AHyc,892
162
- syllable_sdk/models/insightworkflowcondition.py,sha256=brPTt-3xUqv0wa0GQzObYIc5E2kUt3J9VlNMm__QEvo,3413
162
+ syllable_sdk/models/insightworkflowcondition.py,sha256=morSwiZGiBBAvKEdh8QDhi7QDBMakWF2YdJu1p4UFuA,3666
163
163
  syllable_sdk/models/insightworkflowestimate.py,sha256=diEVEf4XiPnq624z_y3tK2wFUh5m8e5F4-hriC1ezTY,1775
164
164
  syllable_sdk/models/insightworkflowinput.py,sha256=FvGFmOaNgdPill1_O1dQoWyQrGXyu5glGqLJ4KZmS0E,3273
165
165
  syllable_sdk/models/insightworkflowoutput.py,sha256=X7AFO6LBi4RRlKD5D8mJjrMoLSoat2EAr1fVpb4Nen4,5060
@@ -247,11 +247,11 @@ syllable_sdk/models/roleupdaterequest.py,sha256=0POkwVJolChgU9uQeiEPnvk-b3vj-OwS
247
247
  syllable_sdk/models/security.py,sha256=cmcb8jzAhbaN9jiBBNy4BcT9cOXogAwTIbkC4BDe7o8,711
248
248
  syllable_sdk/models/service_deleteop.py,sha256=xoOwlMCY2tHhDFRsWM7NUMrh5HUwiexssrUrq8DdfTk,637
249
249
  syllable_sdk/models/service_listop.py,sha256=4y4IacaGYPLQTeApQvOO4GLk1J1liEddOdKxZx5tShs,5027
250
- syllable_sdk/models/servicecreaterequest.py,sha256=eAxA1kmJ4mc1mLlcM1KrcCOLNjezilEj29ntVcXzazE,2915
250
+ syllable_sdk/models/servicecreaterequest.py,sha256=uslHkPWdVXvwC0oR5ffrrujGyV5Qil6D9tlrHFzLGvQ,2894
251
251
  syllable_sdk/models/serviceproperties.py,sha256=EHFdvU1QBJp4RnJqBaBMb8zZ4XdKFTcY9nk24QxZHXc,392
252
252
  syllable_sdk/models/serviceresponse.py,sha256=BgAhYy4ZPaaa7TzLCgnByXF0pxlZEn6Iy0XZmLHqgsU,3217
253
253
  syllable_sdk/models/services_get_by_idop.py,sha256=y7p_wwbjkL-DRN3v20J_8JVe-aXeTL7WLtaYEmXOreA,494
254
- syllable_sdk/models/serviceupdaterequest.py,sha256=K-kKFxIYEymZrSlv0zJA8i4-jEDQQCf5Ax7z7bH4P1k,3330
254
+ syllable_sdk/models/serviceupdaterequest.py,sha256=7MVFdsa9wdhp3dwTLiVRA2t3NSb6mMnBCG2dz0eptxs,3309
255
255
  syllable_sdk/models/session.py,sha256=_16iy4DPLJYeZt2TBqStkSy11j-FHmTBRiVcAi2QbqY,6971
256
256
  syllable_sdk/models/session_full_summary_get_by_idop.py,sha256=9mvK1ONJebhTEbL7NxOMQqlk8r3kc56TfXkSaaVvGXQ,514
257
257
  syllable_sdk/models/session_get_by_idop.py,sha256=snBsZ3SLmPa98ATGNRdoiL9GzSiZot-beY9DRPZtK24,492
@@ -367,6 +367,6 @@ syllable_sdk/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,525
367
367
  syllable_sdk/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
368
368
  syllable_sdk/v1.py,sha256=noni4Ds8tZ5oHPZqoEoVJUYGs8L-ts9jGGFDU2E0pyE,53244
369
369
  syllable_sdk/workflows.py,sha256=kQPJzssdldotkipoWzu1ddas4IKbpFdXkGFDwDkWt1M,64777
370
- syllable_sdk-0.35.49.dist-info/METADATA,sha256=WdXRQr1pFe7dMajuMFiifp1eVDh4oXLpLoY44rF9GmY,45685
371
- syllable_sdk-0.35.49.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
372
- syllable_sdk-0.35.49.dist-info/RECORD,,
370
+ syllable_sdk-0.35.56.dist-info/METADATA,sha256=LSyFqy3DVLUIm6ljF2UDzWtgui09qnn1Vt09G23xJFc,45685
371
+ syllable_sdk-0.35.56.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
372
+ syllable_sdk-0.35.56.dist-info/RECORD,,