syllable-sdk 0.43.1__py3-none-any.whl → 0.44.1__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.
Files changed (56) hide show
  1. syllable_sdk/_version.py +3 -3
  2. syllable_sdk/agents.py +12 -0
  3. syllable_sdk/basesdk.py +6 -0
  4. syllable_sdk/batches.py +18 -0
  5. syllable_sdk/campaigns.py +10 -0
  6. syllable_sdk/channels.py +8 -0
  7. syllable_sdk/conversation_config.py +411 -0
  8. syllable_sdk/conversations.py +2 -0
  9. syllable_sdk/custom_messages.py +10 -0
  10. syllable_sdk/dashboards.py +12 -0
  11. syllable_sdk/data_sources.py +10 -0
  12. syllable_sdk/directory.py +16 -0
  13. syllable_sdk/events.py +2 -0
  14. syllable_sdk/folders.py +16 -0
  15. syllable_sdk/full_summary.py +2 -0
  16. syllable_sdk/incidents.py +12 -0
  17. syllable_sdk/insights_sdk.py +2 -0
  18. syllable_sdk/insights_tools.py +14 -0
  19. syllable_sdk/language_groups.py +12 -0
  20. syllable_sdk/latency.py +2 -0
  21. syllable_sdk/models/__init__.py +43 -5
  22. syllable_sdk/models/bridgephrasesconfig.py +39 -0
  23. syllable_sdk/models/get_bridge_phrases_configop.py +64 -0
  24. syllable_sdk/models/pronunciationoverridesdictionary.py +6 -3
  25. syllable_sdk/models/schemas_cortex_v1_bridge_phrases_dictionarymetadata.py +67 -0
  26. syllable_sdk/models/{dictionarymetadata.py → schemas_tts_v1_pronunciations_dictionarymetadata.py} +2 -2
  27. syllable_sdk/models/step.py +2 -2
  28. syllable_sdk/models/stepeventactions.py +25 -4
  29. syllable_sdk/models/update_bridge_phrases_configop.py +71 -0
  30. syllable_sdk/numbers.py +6 -0
  31. syllable_sdk/organizations.py +8 -0
  32. syllable_sdk/permissions.py +2 -0
  33. syllable_sdk/prompts.py +14 -0
  34. syllable_sdk/pronunciations.py +18 -4
  35. syllable_sdk/roles.py +10 -0
  36. syllable_sdk/sdk.py +6 -0
  37. syllable_sdk/services.py +10 -0
  38. syllable_sdk/session_debug.py +6 -0
  39. syllable_sdk/session_labels.py +6 -0
  40. syllable_sdk/sessions.py +8 -0
  41. syllable_sdk/takeouts.py +6 -0
  42. syllable_sdk/targets.py +10 -0
  43. syllable_sdk/test.py +2 -0
  44. syllable_sdk/tools.py +10 -0
  45. syllable_sdk/transcript.py +2 -0
  46. syllable_sdk/twilio.py +6 -0
  47. syllable_sdk/users.py +14 -0
  48. syllable_sdk/utils/forms.py +21 -10
  49. syllable_sdk/utils/queryparams.py +14 -2
  50. syllable_sdk/utils/retries.py +69 -5
  51. syllable_sdk/v1.py +14 -0
  52. syllable_sdk/voice_groups.py +12 -0
  53. syllable_sdk/workflows.py +16 -0
  54. {syllable_sdk-0.43.1.dist-info → syllable_sdk-0.44.1.dist-info}/METADATA +6 -1
  55. {syllable_sdk-0.43.1.dist-info → syllable_sdk-0.44.1.dist-info}/RECORD +56 -51
  56. {syllable_sdk-0.43.1.dist-info → syllable_sdk-0.44.1.dist-info}/WHEEL +0 -0
syllable_sdk/prompts.py CHANGED
@@ -82,6 +82,7 @@ class Prompts(BaseSDK):
82
82
  accept_header_value="application/json",
83
83
  http_headers=http_headers,
84
84
  security=self.sdk_configuration.security,
85
+ allow_empty_value=None,
85
86
  timeout_ms=timeout_ms,
86
87
  )
87
88
 
@@ -195,6 +196,7 @@ class Prompts(BaseSDK):
195
196
  accept_header_value="application/json",
196
197
  http_headers=http_headers,
197
198
  security=self.sdk_configuration.security,
199
+ allow_empty_value=None,
198
200
  timeout_ms=timeout_ms,
199
201
  )
200
202
 
@@ -287,6 +289,7 @@ class Prompts(BaseSDK):
287
289
  get_serialized_body=lambda: utils.serialize_request_body(
288
290
  request, False, False, "json", models.PromptCreateRequest
289
291
  ),
292
+ allow_empty_value=None,
290
293
  timeout_ms=timeout_ms,
291
294
  )
292
295
 
@@ -379,6 +382,7 @@ class Prompts(BaseSDK):
379
382
  get_serialized_body=lambda: utils.serialize_request_body(
380
383
  request, False, False, "json", models.PromptCreateRequest
381
384
  ),
385
+ allow_empty_value=None,
382
386
  timeout_ms=timeout_ms,
383
387
  )
384
388
 
@@ -471,6 +475,7 @@ class Prompts(BaseSDK):
471
475
  get_serialized_body=lambda: utils.serialize_request_body(
472
476
  request, False, False, "json", models.PromptUpdateRequest
473
477
  ),
478
+ allow_empty_value=None,
474
479
  timeout_ms=timeout_ms,
475
480
  )
476
481
 
@@ -563,6 +568,7 @@ class Prompts(BaseSDK):
563
568
  get_serialized_body=lambda: utils.serialize_request_body(
564
569
  request, False, False, "json", models.PromptUpdateRequest
565
570
  ),
571
+ allow_empty_value=None,
566
572
  timeout_ms=timeout_ms,
567
573
  )
568
574
 
@@ -652,6 +658,7 @@ class Prompts(BaseSDK):
652
658
  accept_header_value="application/json",
653
659
  http_headers=http_headers,
654
660
  security=self.sdk_configuration.security,
661
+ allow_empty_value=None,
655
662
  timeout_ms=timeout_ms,
656
663
  )
657
664
 
@@ -741,6 +748,7 @@ class Prompts(BaseSDK):
741
748
  accept_header_value="application/json",
742
749
  http_headers=http_headers,
743
750
  security=self.sdk_configuration.security,
751
+ allow_empty_value=None,
744
752
  timeout_ms=timeout_ms,
745
753
  )
746
754
 
@@ -833,6 +841,7 @@ class Prompts(BaseSDK):
833
841
  accept_header_value="application/json",
834
842
  http_headers=http_headers,
835
843
  security=self.sdk_configuration.security,
844
+ allow_empty_value=None,
836
845
  timeout_ms=timeout_ms,
837
846
  )
838
847
 
@@ -925,6 +934,7 @@ class Prompts(BaseSDK):
925
934
  accept_header_value="application/json",
926
935
  http_headers=http_headers,
927
936
  security=self.sdk_configuration.security,
937
+ allow_empty_value=None,
928
938
  timeout_ms=timeout_ms,
929
939
  )
930
940
 
@@ -1014,6 +1024,7 @@ class Prompts(BaseSDK):
1014
1024
  accept_header_value="application/json",
1015
1025
  http_headers=http_headers,
1016
1026
  security=self.sdk_configuration.security,
1027
+ allow_empty_value=None,
1017
1028
  timeout_ms=timeout_ms,
1018
1029
  )
1019
1030
 
@@ -1103,6 +1114,7 @@ class Prompts(BaseSDK):
1103
1114
  accept_header_value="application/json",
1104
1115
  http_headers=http_headers,
1105
1116
  security=self.sdk_configuration.security,
1117
+ allow_empty_value=None,
1106
1118
  timeout_ms=timeout_ms,
1107
1119
  )
1108
1120
 
@@ -1185,6 +1197,7 @@ class Prompts(BaseSDK):
1185
1197
  accept_header_value="application/json",
1186
1198
  http_headers=http_headers,
1187
1199
  security=self.sdk_configuration.security,
1200
+ allow_empty_value=None,
1188
1201
  timeout_ms=timeout_ms,
1189
1202
  )
1190
1203
 
@@ -1261,6 +1274,7 @@ class Prompts(BaseSDK):
1261
1274
  accept_header_value="application/json",
1262
1275
  http_headers=http_headers,
1263
1276
  security=self.sdk_configuration.security,
1277
+ allow_empty_value=None,
1264
1278
  timeout_ms=timeout_ms,
1265
1279
  )
1266
1280
 
@@ -48,6 +48,7 @@ class Pronunciations(BaseSDK):
48
48
  accept_header_value="application/json",
49
49
  http_headers=http_headers,
50
50
  security=self.sdk_configuration.security,
51
+ allow_empty_value=None,
51
52
  timeout_ms=timeout_ms,
52
53
  )
53
54
 
@@ -124,6 +125,7 @@ class Pronunciations(BaseSDK):
124
125
  accept_header_value="application/json",
125
126
  http_headers=http_headers,
126
127
  security=self.sdk_configuration.security,
128
+ allow_empty_value=None,
127
129
  timeout_ms=timeout_ms,
128
130
  )
129
131
 
@@ -170,7 +172,7 @@ class Pronunciations(BaseSDK):
170
172
  server_url: Optional[str] = None,
171
173
  timeout_ms: Optional[int] = None,
172
174
  http_headers: Optional[Mapping[str, str]] = None,
173
- ) -> models.DictionaryMetadata:
175
+ ) -> models.SchemasTtsV1PronunciationsDictionaryMetadata:
174
176
  r"""Get Pronunciations Metadata
175
177
 
176
178
  :param retries: Override the default retry configuration for this method
@@ -200,6 +202,7 @@ class Pronunciations(BaseSDK):
200
202
  accept_header_value="application/json",
201
203
  http_headers=http_headers,
202
204
  security=self.sdk_configuration.security,
205
+ allow_empty_value=None,
203
206
  timeout_ms=timeout_ms,
204
207
  )
205
208
 
@@ -227,7 +230,9 @@ class Pronunciations(BaseSDK):
227
230
  )
228
231
 
229
232
  if utils.match_response(http_res, "200", "application/json"):
230
- return unmarshal_json_response(models.DictionaryMetadata, http_res)
233
+ return unmarshal_json_response(
234
+ models.SchemasTtsV1PronunciationsDictionaryMetadata, http_res
235
+ )
231
236
  if utils.match_response(http_res, "4XX", "*"):
232
237
  http_res_text = utils.stream_to_text(http_res)
233
238
  raise errors.APIError("API error occurred", http_res, http_res_text)
@@ -244,7 +249,7 @@ class Pronunciations(BaseSDK):
244
249
  server_url: Optional[str] = None,
245
250
  timeout_ms: Optional[int] = None,
246
251
  http_headers: Optional[Mapping[str, str]] = None,
247
- ) -> models.DictionaryMetadata:
252
+ ) -> models.SchemasTtsV1PronunciationsDictionaryMetadata:
248
253
  r"""Get Pronunciations Metadata
249
254
 
250
255
  :param retries: Override the default retry configuration for this method
@@ -274,6 +279,7 @@ class Pronunciations(BaseSDK):
274
279
  accept_header_value="application/json",
275
280
  http_headers=http_headers,
276
281
  security=self.sdk_configuration.security,
282
+ allow_empty_value=None,
277
283
  timeout_ms=timeout_ms,
278
284
  )
279
285
 
@@ -301,7 +307,9 @@ class Pronunciations(BaseSDK):
301
307
  )
302
308
 
303
309
  if utils.match_response(http_res, "200", "application/json"):
304
- return unmarshal_json_response(models.DictionaryMetadata, http_res)
310
+ return unmarshal_json_response(
311
+ models.SchemasTtsV1PronunciationsDictionaryMetadata, http_res
312
+ )
305
313
  if utils.match_response(http_res, "4XX", "*"):
306
314
  http_res_text = await utils.stream_to_text_async(http_res)
307
315
  raise errors.APIError("API error occurred", http_res, http_res_text)
@@ -348,6 +356,7 @@ class Pronunciations(BaseSDK):
348
356
  accept_header_value="text/csv",
349
357
  http_headers=http_headers,
350
358
  security=self.sdk_configuration.security,
359
+ allow_empty_value=None,
351
360
  timeout_ms=timeout_ms,
352
361
  )
353
362
 
@@ -424,6 +433,7 @@ class Pronunciations(BaseSDK):
424
433
  accept_header_value="text/csv",
425
434
  http_headers=http_headers,
426
435
  security=self.sdk_configuration.security,
436
+ allow_empty_value=None,
427
437
  timeout_ms=timeout_ms,
428
438
  )
429
439
 
@@ -513,6 +523,7 @@ class Pronunciations(BaseSDK):
513
523
  get_serialized_body=lambda: utils.serialize_request_body(
514
524
  request, False, False, "multipart", models.BodyPronunciationsUploadCsv
515
525
  ),
526
+ allow_empty_value=None,
516
527
  timeout_ms=timeout_ms,
517
528
  )
518
529
 
@@ -608,6 +619,7 @@ class Pronunciations(BaseSDK):
608
619
  get_serialized_body=lambda: utils.serialize_request_body(
609
620
  request, False, False, "multipart", models.BodyPronunciationsUploadCsv
610
621
  ),
622
+ allow_empty_value=None,
611
623
  timeout_ms=timeout_ms,
612
624
  )
613
625
 
@@ -690,6 +702,7 @@ class Pronunciations(BaseSDK):
690
702
  accept_header_value="*/*",
691
703
  http_headers=http_headers,
692
704
  security=self.sdk_configuration.security,
705
+ allow_empty_value=None,
693
706
  timeout_ms=timeout_ms,
694
707
  )
695
708
 
@@ -764,6 +777,7 @@ class Pronunciations(BaseSDK):
764
777
  accept_header_value="*/*",
765
778
  http_headers=http_headers,
766
779
  security=self.sdk_configuration.security,
780
+ allow_empty_value=None,
767
781
  timeout_ms=timeout_ms,
768
782
  )
769
783
 
syllable_sdk/roles.py CHANGED
@@ -82,6 +82,7 @@ class Roles(BaseSDK):
82
82
  accept_header_value="application/json",
83
83
  http_headers=http_headers,
84
84
  security=self.sdk_configuration.security,
85
+ allow_empty_value=None,
85
86
  timeout_ms=timeout_ms,
86
87
  )
87
88
 
@@ -195,6 +196,7 @@ class Roles(BaseSDK):
195
196
  accept_header_value="application/json",
196
197
  http_headers=http_headers,
197
198
  security=self.sdk_configuration.security,
199
+ allow_empty_value=None,
198
200
  timeout_ms=timeout_ms,
199
201
  )
200
202
 
@@ -287,6 +289,7 @@ class Roles(BaseSDK):
287
289
  get_serialized_body=lambda: utils.serialize_request_body(
288
290
  request, False, False, "json", models.RoleCreateRequest
289
291
  ),
292
+ allow_empty_value=None,
290
293
  timeout_ms=timeout_ms,
291
294
  )
292
295
 
@@ -379,6 +382,7 @@ class Roles(BaseSDK):
379
382
  get_serialized_body=lambda: utils.serialize_request_body(
380
383
  request, False, False, "json", models.RoleCreateRequest
381
384
  ),
385
+ allow_empty_value=None,
382
386
  timeout_ms=timeout_ms,
383
387
  )
384
388
 
@@ -471,6 +475,7 @@ class Roles(BaseSDK):
471
475
  get_serialized_body=lambda: utils.serialize_request_body(
472
476
  request, False, False, "json", models.RoleUpdateRequest
473
477
  ),
478
+ allow_empty_value=None,
474
479
  timeout_ms=timeout_ms,
475
480
  )
476
481
 
@@ -563,6 +568,7 @@ class Roles(BaseSDK):
563
568
  get_serialized_body=lambda: utils.serialize_request_body(
564
569
  request, False, False, "json", models.RoleUpdateRequest
565
570
  ),
571
+ allow_empty_value=None,
566
572
  timeout_ms=timeout_ms,
567
573
  )
568
574
 
@@ -652,6 +658,7 @@ class Roles(BaseSDK):
652
658
  accept_header_value="application/json",
653
659
  http_headers=http_headers,
654
660
  security=self.sdk_configuration.security,
661
+ allow_empty_value=None,
655
662
  timeout_ms=timeout_ms,
656
663
  )
657
664
 
@@ -741,6 +748,7 @@ class Roles(BaseSDK):
741
748
  accept_header_value="application/json",
742
749
  http_headers=http_headers,
743
750
  security=self.sdk_configuration.security,
751
+ allow_empty_value=None,
744
752
  timeout_ms=timeout_ms,
745
753
  )
746
754
 
@@ -836,6 +844,7 @@ class Roles(BaseSDK):
836
844
  accept_header_value="application/json",
837
845
  http_headers=http_headers,
838
846
  security=self.sdk_configuration.security,
847
+ allow_empty_value=None,
839
848
  timeout_ms=timeout_ms,
840
849
  )
841
850
 
@@ -931,6 +940,7 @@ class Roles(BaseSDK):
931
940
  accept_header_value="application/json",
932
941
  http_headers=http_headers,
933
942
  security=self.sdk_configuration.security,
943
+ allow_empty_value=None,
934
944
  timeout_ms=timeout_ms,
935
945
  )
936
946
 
syllable_sdk/sdk.py CHANGED
@@ -17,6 +17,7 @@ import weakref
17
17
  if TYPE_CHECKING:
18
18
  from syllable_sdk.agents import Agents
19
19
  from syllable_sdk.channels import Channels
20
+ from syllable_sdk.conversation_config import ConversationConfig
20
21
  from syllable_sdk.conversations import Conversations
21
22
  from syllable_sdk.custom_messages import CustomMessages
22
23
  from syllable_sdk.dashboards import Dashboards
@@ -87,6 +88,7 @@ class SyllableSDK(BaseSDK):
87
88
  r"""Operations related to channel configuration. A channel is an organization-level point of communication, like a phone number or a web chat. A channel can be associated with an agent by creating a channel target linking them."""
88
89
  conversations: "Conversations"
89
90
  r"""Operations related to conversations. A conversation is a record of messages between a user and an agent, and is composed of one or more sessions."""
91
+ conversation_config: "ConversationConfig"
90
92
  data_sources: "DataSources"
91
93
  r"""Operations related to data sources. A data source is a blob of text that can be made available to an agent's general info tools to provide more context to the agent when generating its responses. For more information, see [Console docs](https://docs.syllable.ai/Resources/DataSources)."""
92
94
  events: "Events"
@@ -130,6 +132,10 @@ class SyllableSDK(BaseSDK):
130
132
  "agents": ("syllable_sdk.agents", "Agents"),
131
133
  "channels": ("syllable_sdk.channels", "Channels"),
132
134
  "conversations": ("syllable_sdk.conversations", "Conversations"),
135
+ "conversation_config": (
136
+ "syllable_sdk.conversation_config",
137
+ "ConversationConfig",
138
+ ),
133
139
  "data_sources": ("syllable_sdk.data_sources", "DataSources"),
134
140
  "events": ("syllable_sdk.events", "Events"),
135
141
  "incidents": ("syllable_sdk.incidents", "Incidents"),
syllable_sdk/services.py CHANGED
@@ -82,6 +82,7 @@ class Services(BaseSDK):
82
82
  accept_header_value="application/json",
83
83
  http_headers=http_headers,
84
84
  security=self.sdk_configuration.security,
85
+ allow_empty_value=None,
85
86
  timeout_ms=timeout_ms,
86
87
  )
87
88
 
@@ -195,6 +196,7 @@ class Services(BaseSDK):
195
196
  accept_header_value="application/json",
196
197
  http_headers=http_headers,
197
198
  security=self.sdk_configuration.security,
199
+ allow_empty_value=None,
198
200
  timeout_ms=timeout_ms,
199
201
  )
200
202
 
@@ -289,6 +291,7 @@ class Services(BaseSDK):
289
291
  get_serialized_body=lambda: utils.serialize_request_body(
290
292
  request, False, False, "json", models.ServiceCreateRequest
291
293
  ),
294
+ allow_empty_value=None,
292
295
  timeout_ms=timeout_ms,
293
296
  )
294
297
 
@@ -383,6 +386,7 @@ class Services(BaseSDK):
383
386
  get_serialized_body=lambda: utils.serialize_request_body(
384
387
  request, False, False, "json", models.ServiceCreateRequest
385
388
  ),
389
+ allow_empty_value=None,
386
390
  timeout_ms=timeout_ms,
387
391
  )
388
392
 
@@ -477,6 +481,7 @@ class Services(BaseSDK):
477
481
  get_serialized_body=lambda: utils.serialize_request_body(
478
482
  request, False, False, "json", models.ServiceUpdateRequest
479
483
  ),
484
+ allow_empty_value=None,
480
485
  timeout_ms=timeout_ms,
481
486
  )
482
487
 
@@ -571,6 +576,7 @@ class Services(BaseSDK):
571
576
  get_serialized_body=lambda: utils.serialize_request_body(
572
577
  request, False, False, "json", models.ServiceUpdateRequest
573
578
  ),
579
+ allow_empty_value=None,
574
580
  timeout_ms=timeout_ms,
575
581
  )
576
582
 
@@ -660,6 +666,7 @@ class Services(BaseSDK):
660
666
  accept_header_value="application/json",
661
667
  http_headers=http_headers,
662
668
  security=self.sdk_configuration.security,
669
+ allow_empty_value=None,
663
670
  timeout_ms=timeout_ms,
664
671
  )
665
672
 
@@ -749,6 +756,7 @@ class Services(BaseSDK):
749
756
  accept_header_value="application/json",
750
757
  http_headers=http_headers,
751
758
  security=self.sdk_configuration.security,
759
+ allow_empty_value=None,
752
760
  timeout_ms=timeout_ms,
753
761
  )
754
762
 
@@ -841,6 +849,7 @@ class Services(BaseSDK):
841
849
  accept_header_value="application/json",
842
850
  http_headers=http_headers,
843
851
  security=self.sdk_configuration.security,
852
+ allow_empty_value=None,
844
853
  timeout_ms=timeout_ms,
845
854
  )
846
855
 
@@ -933,6 +942,7 @@ class Services(BaseSDK):
933
942
  accept_header_value="application/json",
934
943
  http_headers=http_headers,
935
944
  security=self.sdk_configuration.security,
945
+ allow_empty_value=None,
936
946
  timeout_ms=timeout_ms,
937
947
  )
938
948
 
@@ -57,6 +57,7 @@ class SessionDebug(BaseSDK):
57
57
  accept_header_value="application/json",
58
58
  http_headers=http_headers,
59
59
  security=self.sdk_configuration.security,
60
+ allow_empty_value=None,
60
61
  timeout_ms=timeout_ms,
61
62
  )
62
63
 
@@ -147,6 +148,7 @@ class SessionDebug(BaseSDK):
147
148
  accept_header_value="application/json",
148
149
  http_headers=http_headers,
149
150
  security=self.sdk_configuration.security,
151
+ allow_empty_value=None,
150
152
  timeout_ms=timeout_ms,
151
153
  )
152
154
 
@@ -234,6 +236,7 @@ class SessionDebug(BaseSDK):
234
236
  accept_header_value="application/json",
235
237
  http_headers=http_headers,
236
238
  security=self.sdk_configuration.security,
239
+ allow_empty_value=None,
237
240
  timeout_ms=timeout_ms,
238
241
  )
239
242
 
@@ -321,6 +324,7 @@ class SessionDebug(BaseSDK):
321
324
  accept_header_value="application/json",
322
325
  http_headers=http_headers,
323
326
  security=self.sdk_configuration.security,
327
+ allow_empty_value=None,
324
328
  timeout_ms=timeout_ms,
325
329
  )
326
330
 
@@ -411,6 +415,7 @@ class SessionDebug(BaseSDK):
411
415
  accept_header_value="application/json",
412
416
  http_headers=http_headers,
413
417
  security=self.sdk_configuration.security,
418
+ allow_empty_value=None,
414
419
  timeout_ms=timeout_ms,
415
420
  )
416
421
 
@@ -501,6 +506,7 @@ class SessionDebug(BaseSDK):
501
506
  accept_header_value="application/json",
502
507
  http_headers=http_headers,
503
508
  security=self.sdk_configuration.security,
509
+ allow_empty_value=None,
504
510
  timeout_ms=timeout_ms,
505
511
  )
506
512
 
@@ -56,6 +56,7 @@ class SessionLabels(BaseSDK):
56
56
  accept_header_value="application/json",
57
57
  http_headers=http_headers,
58
58
  security=self.sdk_configuration.security,
59
+ allow_empty_value=None,
59
60
  timeout_ms=timeout_ms,
60
61
  )
61
62
 
@@ -143,6 +144,7 @@ class SessionLabels(BaseSDK):
143
144
  accept_header_value="application/json",
144
145
  http_headers=http_headers,
145
146
  security=self.sdk_configuration.security,
147
+ allow_empty_value=None,
146
148
  timeout_ms=timeout_ms,
147
149
  )
148
150
 
@@ -235,6 +237,7 @@ class SessionLabels(BaseSDK):
235
237
  get_serialized_body=lambda: utils.serialize_request_body(
236
238
  request, False, False, "json", models.SessionLabelCreate
237
239
  ),
240
+ allow_empty_value=None,
238
241
  timeout_ms=timeout_ms,
239
242
  )
240
243
 
@@ -327,6 +330,7 @@ class SessionLabels(BaseSDK):
327
330
  get_serialized_body=lambda: utils.serialize_request_body(
328
331
  request, False, False, "json", models.SessionLabelCreate
329
332
  ),
333
+ allow_empty_value=None,
330
334
  timeout_ms=timeout_ms,
331
335
  )
332
336
 
@@ -438,6 +442,7 @@ class SessionLabels(BaseSDK):
438
442
  accept_header_value="application/json",
439
443
  http_headers=http_headers,
440
444
  security=self.sdk_configuration.security,
445
+ allow_empty_value=None,
441
446
  timeout_ms=timeout_ms,
442
447
  )
443
448
 
@@ -549,6 +554,7 @@ class SessionLabels(BaseSDK):
549
554
  accept_header_value="application/json",
550
555
  http_headers=http_headers,
551
556
  security=self.sdk_configuration.security,
557
+ allow_empty_value=None,
552
558
  timeout_ms=timeout_ms,
553
559
  )
554
560
 
syllable_sdk/sessions.py CHANGED
@@ -103,6 +103,7 @@ class Sessions(BaseSDK):
103
103
  accept_header_value="application/json",
104
104
  http_headers=http_headers,
105
105
  security=self.sdk_configuration.security,
106
+ allow_empty_value=None,
106
107
  timeout_ms=timeout_ms,
107
108
  )
108
109
 
@@ -214,6 +215,7 @@ class Sessions(BaseSDK):
214
215
  accept_header_value="application/json",
215
216
  http_headers=http_headers,
216
217
  security=self.sdk_configuration.security,
218
+ allow_empty_value=None,
217
219
  timeout_ms=timeout_ms,
218
220
  )
219
221
 
@@ -301,6 +303,7 @@ class Sessions(BaseSDK):
301
303
  accept_header_value="application/json",
302
304
  http_headers=http_headers,
303
305
  security=self.sdk_configuration.security,
306
+ allow_empty_value=None,
304
307
  timeout_ms=timeout_ms,
305
308
  )
306
309
 
@@ -388,6 +391,7 @@ class Sessions(BaseSDK):
388
391
  accept_header_value="application/json",
389
392
  http_headers=http_headers,
390
393
  security=self.sdk_configuration.security,
394
+ allow_empty_value=None,
391
395
  timeout_ms=timeout_ms,
392
396
  )
393
397
 
@@ -475,6 +479,7 @@ class Sessions(BaseSDK):
475
479
  accept_header_value="application/json",
476
480
  http_headers=http_headers,
477
481
  security=self.sdk_configuration.security,
482
+ allow_empty_value=None,
478
483
  timeout_ms=timeout_ms,
479
484
  )
480
485
 
@@ -562,6 +567,7 @@ class Sessions(BaseSDK):
562
567
  accept_header_value="application/json",
563
568
  http_headers=http_headers,
564
569
  security=self.sdk_configuration.security,
570
+ allow_empty_value=None,
565
571
  timeout_ms=timeout_ms,
566
572
  )
567
573
 
@@ -649,6 +655,7 @@ class Sessions(BaseSDK):
649
655
  accept_header_value="application/octet-stream",
650
656
  http_headers=http_headers,
651
657
  security=self.sdk_configuration.security,
658
+ allow_empty_value=None,
652
659
  timeout_ms=timeout_ms,
653
660
  )
654
661
 
@@ -739,6 +746,7 @@ class Sessions(BaseSDK):
739
746
  accept_header_value="application/octet-stream",
740
747
  http_headers=http_headers,
741
748
  security=self.sdk_configuration.security,
749
+ allow_empty_value=None,
742
750
  timeout_ms=timeout_ms,
743
751
  )
744
752
 
syllable_sdk/takeouts.py CHANGED
@@ -48,6 +48,7 @@ class Takeouts(BaseSDK):
48
48
  accept_header_value="application/json",
49
49
  http_headers=http_headers,
50
50
  security=self.sdk_configuration.security,
51
+ allow_empty_value=None,
51
52
  timeout_ms=timeout_ms,
52
53
  )
53
54
 
@@ -122,6 +123,7 @@ class Takeouts(BaseSDK):
122
123
  accept_header_value="application/json",
123
124
  http_headers=http_headers,
124
125
  security=self.sdk_configuration.security,
126
+ allow_empty_value=None,
125
127
  timeout_ms=timeout_ms,
126
128
  )
127
129
 
@@ -203,6 +205,7 @@ class Takeouts(BaseSDK):
203
205
  accept_header_value="application/json",
204
206
  http_headers=http_headers,
205
207
  security=self.sdk_configuration.security,
208
+ allow_empty_value=None,
206
209
  timeout_ms=timeout_ms,
207
210
  )
208
211
 
@@ -290,6 +293,7 @@ class Takeouts(BaseSDK):
290
293
  accept_header_value="application/json",
291
294
  http_headers=http_headers,
292
295
  security=self.sdk_configuration.security,
296
+ allow_empty_value=None,
293
297
  timeout_ms=timeout_ms,
294
298
  )
295
299
 
@@ -380,6 +384,7 @@ class Takeouts(BaseSDK):
380
384
  accept_header_value="application/zip",
381
385
  http_headers=http_headers,
382
386
  security=self.sdk_configuration.security,
387
+ allow_empty_value=None,
383
388
  timeout_ms=timeout_ms,
384
389
  )
385
390
 
@@ -473,6 +478,7 @@ class Takeouts(BaseSDK):
473
478
  accept_header_value="application/zip",
474
479
  http_headers=http_headers,
475
480
  security=self.sdk_configuration.security,
481
+ allow_empty_value=None,
476
482
  timeout_ms=timeout_ms,
477
483
  )
478
484
 
syllable_sdk/targets.py CHANGED
@@ -82,6 +82,7 @@ class Targets(BaseSDK):
82
82
  accept_header_value="application/json",
83
83
  http_headers=http_headers,
84
84
  security=self.sdk_configuration.security,
85
+ allow_empty_value=None,
85
86
  timeout_ms=timeout_ms,
86
87
  )
87
88
 
@@ -195,6 +196,7 @@ class Targets(BaseSDK):
195
196
  accept_header_value="application/json",
196
197
  http_headers=http_headers,
197
198
  security=self.sdk_configuration.security,
199
+ allow_empty_value=None,
198
200
  timeout_ms=timeout_ms,
199
201
  )
200
202
 
@@ -306,6 +308,7 @@ class Targets(BaseSDK):
306
308
  accept_header_value="application/json",
307
309
  http_headers=http_headers,
308
310
  security=self.sdk_configuration.security,
311
+ allow_empty_value=None,
309
312
  timeout_ms=timeout_ms,
310
313
  )
311
314
 
@@ -419,6 +422,7 @@ class Targets(BaseSDK):
419
422
  accept_header_value="application/json",
420
423
  http_headers=http_headers,
421
424
  security=self.sdk_configuration.security,
425
+ allow_empty_value=None,
422
426
  timeout_ms=timeout_ms,
423
427
  )
424
428
 
@@ -523,6 +527,7 @@ class Targets(BaseSDK):
523
527
  "json",
524
528
  models.ChannelTargetCreateRequest,
525
529
  ),
530
+ allow_empty_value=None,
526
531
  timeout_ms=timeout_ms,
527
532
  )
528
533
 
@@ -625,6 +630,7 @@ class Targets(BaseSDK):
625
630
  "json",
626
631
  models.ChannelTargetCreateRequest,
627
632
  ),
633
+ allow_empty_value=None,
628
634
  timeout_ms=timeout_ms,
629
635
  )
630
636
 
@@ -715,6 +721,7 @@ class Targets(BaseSDK):
715
721
  accept_header_value="application/json",
716
722
  http_headers=http_headers,
717
723
  security=self.sdk_configuration.security,
724
+ allow_empty_value=None,
718
725
  timeout_ms=timeout_ms,
719
726
  )
720
727
 
@@ -805,6 +812,7 @@ class Targets(BaseSDK):
805
812
  accept_header_value="application/json",
806
813
  http_headers=http_headers,
807
814
  security=self.sdk_configuration.security,
815
+ allow_empty_value=None,
808
816
  timeout_ms=timeout_ms,
809
817
  )
810
818
 
@@ -912,6 +920,7 @@ class Targets(BaseSDK):
912
920
  "json",
913
921
  models.ChannelTargetUpdateRequest,
914
922
  ),
923
+ allow_empty_value=None,
915
924
  timeout_ms=timeout_ms,
916
925
  )
917
926
 
@@ -1019,6 +1028,7 @@ class Targets(BaseSDK):
1019
1028
  "json",
1020
1029
  models.ChannelTargetUpdateRequest,
1021
1030
  ),
1031
+ allow_empty_value=None,
1022
1032
  timeout_ms=timeout_ms,
1023
1033
  )
1024
1034