syllable-sdk 0.1.0-alpha.222 → 0.1.0-alpha.224
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.
- package/README.md +4 -0
- package/docs/sdks/batches/README.md +4 -4
- package/docs/sdks/channels/README.md +198 -0
- package/docs/sdks/workflows/README.md +8 -8
- package/funcs/channelsCreate.d.ts +13 -0
- package/funcs/channelsCreate.d.ts.map +1 -0
- package/funcs/channelsCreate.js +99 -0
- package/funcs/channelsCreate.js.map +1 -0
- package/funcs/channelsUpdate.d.ts +13 -0
- package/funcs/channelsUpdate.d.ts.map +1 -0
- package/funcs/channelsUpdate.js +99 -0
- package/funcs/channelsUpdate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/channel.d.ts +6 -0
- package/models/components/channel.d.ts.map +1 -1
- package/models/components/channel.js +3 -0
- package/models/components/channel.js.map +1 -1
- package/models/components/channelconfigview.d.ts +33 -0
- package/models/components/channelconfigview.d.ts.map +1 -0
- package/models/components/channelconfigview.js +60 -0
- package/models/components/channelconfigview.js.map +1 -0
- package/models/components/index.d.ts +5 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +5 -0
- package/models/components/index.js.map +1 -1
- package/models/components/organizationchannelconfig.d.ts +46 -0
- package/models/components/organizationchannelconfig.d.ts.map +1 -0
- package/models/components/organizationchannelconfig.js +75 -0
- package/models/components/organizationchannelconfig.js.map +1 -0
- package/models/components/organizationchannelcreaterequest.d.ts +57 -0
- package/models/components/organizationchannelcreaterequest.d.ts.map +1 -0
- package/models/components/organizationchannelcreaterequest.js +82 -0
- package/models/components/organizationchannelcreaterequest.js.map +1 -0
- package/models/components/organizationchannelupdaterequest.d.ts +62 -0
- package/models/components/organizationchannelupdaterequest.d.ts.map +1 -0
- package/models/components/organizationchannelupdaterequest.js +84 -0
- package/models/components/organizationchannelupdaterequest.js.map +1 -0
- package/models/components/telephonyconfigurations.d.ts +52 -0
- package/models/components/telephonyconfigurations.d.ts.map +1 -0
- package/models/components/telephonyconfigurations.js +84 -0
- package/models/components/telephonyconfigurations.js.map +1 -0
- package/openapi.json +431 -37
- package/package.json +1 -1
- package/sdk/channels.d.ts +8 -0
- package/sdk/channels.d.ts.map +1 -1
- package/sdk/channels.js +14 -0
- package/sdk/channels.js.map +1 -1
- package/src/funcs/channelsCreate.ts +133 -0
- package/src/funcs/channelsUpdate.ts +133 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/channel.ts +13 -0
- package/src/models/components/channelconfigview.ts +75 -0
- package/src/models/components/index.ts +5 -0
- package/src/models/components/organizationchannelconfig.ts +103 -0
- package/src/models/components/organizationchannelcreaterequest.ts +126 -0
- package/src/models/components/organizationchannelupdaterequest.ts +133 -0
- package/src/models/components/telephonyconfigurations.ts +114 -0
- package/src/sdk/channels.ts +30 -0
package/openapi.json
CHANGED
|
@@ -688,6 +688,94 @@
|
|
|
688
688
|
}
|
|
689
689
|
}
|
|
690
690
|
}
|
|
691
|
+
},
|
|
692
|
+
"post": {
|
|
693
|
+
"tags": [
|
|
694
|
+
"channels"
|
|
695
|
+
],
|
|
696
|
+
"summary": "Create Channel",
|
|
697
|
+
"operationId": "channels_create",
|
|
698
|
+
"security": [
|
|
699
|
+
{
|
|
700
|
+
"APIKeyHeader": []
|
|
701
|
+
}
|
|
702
|
+
],
|
|
703
|
+
"requestBody": {
|
|
704
|
+
"required": true,
|
|
705
|
+
"content": {
|
|
706
|
+
"application/json": {
|
|
707
|
+
"schema": {
|
|
708
|
+
"$ref": "#/components/schemas/OrganizationChannelCreateRequest"
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
},
|
|
713
|
+
"responses": {
|
|
714
|
+
"200": {
|
|
715
|
+
"description": "Successful Response",
|
|
716
|
+
"content": {
|
|
717
|
+
"application/json": {
|
|
718
|
+
"schema": {
|
|
719
|
+
"$ref": "#/components/schemas/Channel"
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
},
|
|
724
|
+
"422": {
|
|
725
|
+
"description": "Validation Error",
|
|
726
|
+
"content": {
|
|
727
|
+
"application/json": {
|
|
728
|
+
"schema": {
|
|
729
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
"put": {
|
|
737
|
+
"tags": [
|
|
738
|
+
"channels"
|
|
739
|
+
],
|
|
740
|
+
"summary": "Update Channel",
|
|
741
|
+
"operationId": "channels_update",
|
|
742
|
+
"security": [
|
|
743
|
+
{
|
|
744
|
+
"APIKeyHeader": []
|
|
745
|
+
}
|
|
746
|
+
],
|
|
747
|
+
"requestBody": {
|
|
748
|
+
"required": true,
|
|
749
|
+
"content": {
|
|
750
|
+
"application/json": {
|
|
751
|
+
"schema": {
|
|
752
|
+
"$ref": "#/components/schemas/OrganizationChannelUpdateRequest"
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
},
|
|
757
|
+
"responses": {
|
|
758
|
+
"200": {
|
|
759
|
+
"description": "Successful Response",
|
|
760
|
+
"content": {
|
|
761
|
+
"application/json": {
|
|
762
|
+
"schema": {
|
|
763
|
+
"$ref": "#/components/schemas/Channel"
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
},
|
|
768
|
+
"422": {
|
|
769
|
+
"description": "Validation Error",
|
|
770
|
+
"content": {
|
|
771
|
+
"application/json": {
|
|
772
|
+
"schema": {
|
|
773
|
+
"$ref": "#/components/schemas/HTTPValidationError"
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
}
|
|
691
779
|
}
|
|
692
780
|
},
|
|
693
781
|
"/api/v1/channels/twilio/{channel_id}": {
|
|
@@ -12886,7 +12974,7 @@
|
|
|
12886
12974
|
"title": "Batch Id",
|
|
12887
12975
|
"description": "Unique ID for conversation batch",
|
|
12888
12976
|
"examples": [
|
|
12889
|
-
"
|
|
12977
|
+
"20250731.9"
|
|
12890
12978
|
]
|
|
12891
12979
|
},
|
|
12892
12980
|
"campaign_id": {
|
|
@@ -12910,7 +12998,7 @@
|
|
|
12910
12998
|
"title": "Expires On",
|
|
12911
12999
|
"description": "Timestamp of batch expiration",
|
|
12912
13000
|
"examples": [
|
|
12913
|
-
"2025-
|
|
13001
|
+
"2025-08-01T00:00:00Z"
|
|
12914
13002
|
]
|
|
12915
13003
|
},
|
|
12916
13004
|
"paused": {
|
|
@@ -12963,7 +13051,7 @@
|
|
|
12963
13051
|
"title": "Created At",
|
|
12964
13052
|
"description": "Timestamp of batch creation",
|
|
12965
13053
|
"examples": [
|
|
12966
|
-
"2025-07-
|
|
13054
|
+
"2025-07-31T00:00:00Z"
|
|
12967
13055
|
]
|
|
12968
13056
|
},
|
|
12969
13057
|
"deleted_at": {
|
|
@@ -12979,7 +13067,7 @@
|
|
|
12979
13067
|
"title": "Deleted At",
|
|
12980
13068
|
"description": "Timestamp of batch deletion",
|
|
12981
13069
|
"examples": [
|
|
12982
|
-
"2025-07-
|
|
13070
|
+
"2025-07-31T00:00:00Z"
|
|
12983
13071
|
]
|
|
12984
13072
|
},
|
|
12985
13073
|
"deleted_reason": {
|
|
@@ -13010,7 +13098,7 @@
|
|
|
13010
13098
|
"title": "Last Updated At",
|
|
13011
13099
|
"description": "Timestamp of last change to batch",
|
|
13012
13100
|
"examples": [
|
|
13013
|
-
"2025-07-
|
|
13101
|
+
"2025-07-31T00:00:00Z"
|
|
13014
13102
|
]
|
|
13015
13103
|
},
|
|
13016
13104
|
"last_updated_by": {
|
|
@@ -13336,10 +13424,7 @@
|
|
|
13336
13424
|
"title": "Supported Modes",
|
|
13337
13425
|
"description": "The comma-delimited list of supported modes for the channel, which defines the possible communication methods for channel targets linked to it.",
|
|
13338
13426
|
"examples": [
|
|
13339
|
-
|
|
13340
|
-
"chat",
|
|
13341
|
-
"voice"
|
|
13342
|
-
]
|
|
13427
|
+
"chat,voice"
|
|
13343
13428
|
]
|
|
13344
13429
|
},
|
|
13345
13430
|
"is_system_channel": {
|
|
@@ -13355,6 +13440,25 @@
|
|
|
13355
13440
|
"type": "integer",
|
|
13356
13441
|
"title": "Id",
|
|
13357
13442
|
"description": "The channel ID"
|
|
13443
|
+
},
|
|
13444
|
+
"config": {
|
|
13445
|
+
"anyOf": [
|
|
13446
|
+
{
|
|
13447
|
+
"$ref": "#/components/schemas/ChannelConfigView"
|
|
13448
|
+
},
|
|
13449
|
+
{
|
|
13450
|
+
"type": "null"
|
|
13451
|
+
}
|
|
13452
|
+
],
|
|
13453
|
+
"description": "Configuration for the channel",
|
|
13454
|
+
"examples": [
|
|
13455
|
+
{
|
|
13456
|
+
"telephony": {
|
|
13457
|
+
"overall_input_timeout": 20.0,
|
|
13458
|
+
"pre_input_timeout": 1.2
|
|
13459
|
+
}
|
|
13460
|
+
}
|
|
13461
|
+
]
|
|
13358
13462
|
}
|
|
13359
13463
|
},
|
|
13360
13464
|
"type": "object",
|
|
@@ -13365,6 +13469,29 @@
|
|
|
13365
13469
|
],
|
|
13366
13470
|
"title": "Channel"
|
|
13367
13471
|
},
|
|
13472
|
+
"ChannelConfigView": {
|
|
13473
|
+
"properties": {
|
|
13474
|
+
"telephony": {
|
|
13475
|
+
"anyOf": [
|
|
13476
|
+
{
|
|
13477
|
+
"$ref": "#/components/schemas/TelephonyConfigurations"
|
|
13478
|
+
},
|
|
13479
|
+
{
|
|
13480
|
+
"type": "null"
|
|
13481
|
+
}
|
|
13482
|
+
],
|
|
13483
|
+
"description": "Telephony configurations to be applied to targets belonging to the channel. Only applies to voice supported channels.",
|
|
13484
|
+
"examples": [
|
|
13485
|
+
{
|
|
13486
|
+
"overall_input_timeout": 20.0,
|
|
13487
|
+
"pre_input_timeout": 1.2
|
|
13488
|
+
}
|
|
13489
|
+
]
|
|
13490
|
+
}
|
|
13491
|
+
},
|
|
13492
|
+
"type": "object",
|
|
13493
|
+
"title": "ChannelConfigView"
|
|
13494
|
+
},
|
|
13368
13495
|
"ChannelProperties": {
|
|
13369
13496
|
"type": "string",
|
|
13370
13497
|
"enum": [
|
|
@@ -13673,7 +13800,7 @@
|
|
|
13673
13800
|
"title": "Batch Id",
|
|
13674
13801
|
"description": "Unique ID for conversation batch",
|
|
13675
13802
|
"examples": [
|
|
13676
|
-
"
|
|
13803
|
+
"20250731.9"
|
|
13677
13804
|
]
|
|
13678
13805
|
},
|
|
13679
13806
|
"campaign_id": {
|
|
@@ -13697,7 +13824,7 @@
|
|
|
13697
13824
|
"title": "Expires On",
|
|
13698
13825
|
"description": "Timestamp of batch expiration",
|
|
13699
13826
|
"examples": [
|
|
13700
|
-
"2025-
|
|
13827
|
+
"2025-08-01T00:00:00Z"
|
|
13701
13828
|
]
|
|
13702
13829
|
},
|
|
13703
13830
|
"paused": {
|
|
@@ -13750,7 +13877,7 @@
|
|
|
13750
13877
|
"title": "Created At",
|
|
13751
13878
|
"description": "Timestamp of batch creation",
|
|
13752
13879
|
"examples": [
|
|
13753
|
-
"2025-07-
|
|
13880
|
+
"2025-07-31T00:00:00Z"
|
|
13754
13881
|
]
|
|
13755
13882
|
},
|
|
13756
13883
|
"deleted_at": {
|
|
@@ -13766,7 +13893,7 @@
|
|
|
13766
13893
|
"title": "Deleted At",
|
|
13767
13894
|
"description": "Timestamp of batch deletion",
|
|
13768
13895
|
"examples": [
|
|
13769
|
-
"2025-07-
|
|
13896
|
+
"2025-07-31T00:00:00Z"
|
|
13770
13897
|
]
|
|
13771
13898
|
},
|
|
13772
13899
|
"deleted_reason": {
|
|
@@ -13797,7 +13924,7 @@
|
|
|
13797
13924
|
"title": "Last Updated At",
|
|
13798
13925
|
"description": "Timestamp of last change to batch",
|
|
13799
13926
|
"examples": [
|
|
13800
|
-
"2025-07-
|
|
13927
|
+
"2025-07-31T00:00:00Z"
|
|
13801
13928
|
]
|
|
13802
13929
|
},
|
|
13803
13930
|
"last_updated_by": {
|
|
@@ -13840,7 +13967,7 @@
|
|
|
13840
13967
|
"title": "Batch Id",
|
|
13841
13968
|
"description": "Unique ID for conversation batch",
|
|
13842
13969
|
"examples": [
|
|
13843
|
-
"
|
|
13970
|
+
"20250731.9"
|
|
13844
13971
|
]
|
|
13845
13972
|
},
|
|
13846
13973
|
"campaign_id": {
|
|
@@ -13864,7 +13991,7 @@
|
|
|
13864
13991
|
"title": "Expires On",
|
|
13865
13992
|
"description": "Timestamp of batch expiration",
|
|
13866
13993
|
"examples": [
|
|
13867
|
-
"2025-
|
|
13994
|
+
"2025-08-01T00:00:00Z"
|
|
13868
13995
|
]
|
|
13869
13996
|
},
|
|
13870
13997
|
"paused": {
|
|
@@ -14013,7 +14140,7 @@
|
|
|
14013
14140
|
"title": "Created At",
|
|
14014
14141
|
"description": "Timestamp of request creation",
|
|
14015
14142
|
"examples": [
|
|
14016
|
-
"2025-07-
|
|
14143
|
+
"2025-07-30T00:00:00Z"
|
|
14017
14144
|
]
|
|
14018
14145
|
},
|
|
14019
14146
|
"sent_at": {
|
|
@@ -14029,7 +14156,7 @@
|
|
|
14029
14156
|
"title": "Sent At",
|
|
14030
14157
|
"description": "Timestamp at which request was sent",
|
|
14031
14158
|
"examples": [
|
|
14032
|
-
"2025-07-
|
|
14159
|
+
"2025-07-31T00:00:00Z"
|
|
14033
14160
|
]
|
|
14034
14161
|
},
|
|
14035
14162
|
"attempt_count": {
|
|
@@ -15945,7 +16072,7 @@
|
|
|
15945
16072
|
"title": "Created At",
|
|
15946
16073
|
"description": "Timestamp at which insight upload folder was created",
|
|
15947
16074
|
"examples": [
|
|
15948
|
-
"2025-07-
|
|
16075
|
+
"2025-07-30T00:00:00Z"
|
|
15949
16076
|
]
|
|
15950
16077
|
},
|
|
15951
16078
|
"updated_at": {
|
|
@@ -15954,7 +16081,7 @@
|
|
|
15954
16081
|
"title": "Updated At",
|
|
15955
16082
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
15956
16083
|
"examples": [
|
|
15957
|
-
"2025-07-
|
|
16084
|
+
"2025-07-31T00:00:00Z"
|
|
15958
16085
|
]
|
|
15959
16086
|
},
|
|
15960
16087
|
"last_updated_by": {
|
|
@@ -16669,7 +16796,7 @@
|
|
|
16669
16796
|
"title": "Created At",
|
|
16670
16797
|
"description": "Timestamp of at which insight tool configuration was created",
|
|
16671
16798
|
"examples": [
|
|
16672
|
-
"2025-07-
|
|
16799
|
+
"2025-07-30T00:00:00Z"
|
|
16673
16800
|
]
|
|
16674
16801
|
},
|
|
16675
16802
|
"updated_at": {
|
|
@@ -16678,7 +16805,7 @@
|
|
|
16678
16805
|
"title": "Updated At",
|
|
16679
16806
|
"description": "Timestamp at which insight tool configuration was last updated",
|
|
16680
16807
|
"examples": [
|
|
16681
|
-
"2025-07-
|
|
16808
|
+
"2025-07-31T00:00:00Z"
|
|
16682
16809
|
]
|
|
16683
16810
|
},
|
|
16684
16811
|
"last_updated_by": {
|
|
@@ -17059,7 +17186,7 @@
|
|
|
17059
17186
|
"title": "Start Datetime",
|
|
17060
17187
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
17061
17188
|
"examples": [
|
|
17062
|
-
"2025-07-
|
|
17189
|
+
"2025-07-30T00:00:00Z"
|
|
17063
17190
|
]
|
|
17064
17191
|
},
|
|
17065
17192
|
"end_datetime": {
|
|
@@ -17075,7 +17202,7 @@
|
|
|
17075
17202
|
"title": "End Datetime",
|
|
17076
17203
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
17077
17204
|
"examples": [
|
|
17078
|
-
"2025-07-
|
|
17205
|
+
"2025-07-31T00:00:00Z"
|
|
17079
17206
|
]
|
|
17080
17207
|
}
|
|
17081
17208
|
},
|
|
@@ -17150,7 +17277,7 @@
|
|
|
17150
17277
|
"title": "Start Datetime",
|
|
17151
17278
|
"description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
|
|
17152
17279
|
"examples": [
|
|
17153
|
-
"2025-07-
|
|
17280
|
+
"2025-07-30T00:00:00Z"
|
|
17154
17281
|
]
|
|
17155
17282
|
},
|
|
17156
17283
|
"end_datetime": {
|
|
@@ -17166,7 +17293,7 @@
|
|
|
17166
17293
|
"title": "End Datetime",
|
|
17167
17294
|
"description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
|
|
17168
17295
|
"examples": [
|
|
17169
|
-
"2025-07-
|
|
17296
|
+
"2025-07-31T00:00:00Z"
|
|
17170
17297
|
]
|
|
17171
17298
|
},
|
|
17172
17299
|
"id": {
|
|
@@ -17219,7 +17346,7 @@
|
|
|
17219
17346
|
"title": "Created At",
|
|
17220
17347
|
"description": "Timestamp at which the insight workflow was created",
|
|
17221
17348
|
"examples": [
|
|
17222
|
-
"2025-07-
|
|
17349
|
+
"2025-07-30T00:00:00Z"
|
|
17223
17350
|
]
|
|
17224
17351
|
},
|
|
17225
17352
|
"updated_at": {
|
|
@@ -17228,7 +17355,7 @@
|
|
|
17228
17355
|
"title": "Updated At",
|
|
17229
17356
|
"description": "Timestamp of most recent update to the insight workflow",
|
|
17230
17357
|
"examples": [
|
|
17231
|
-
"2025-07-
|
|
17358
|
+
"2025-07-31T00:00:00Z"
|
|
17232
17359
|
]
|
|
17233
17360
|
},
|
|
17234
17361
|
"last_updated_by": {
|
|
@@ -17324,7 +17451,7 @@
|
|
|
17324
17451
|
"title": "Created At",
|
|
17325
17452
|
"description": "Timestamp at which insight upload folder was created",
|
|
17326
17453
|
"examples": [
|
|
17327
|
-
"2025-07-
|
|
17454
|
+
"2025-07-30T00:00:00Z"
|
|
17328
17455
|
]
|
|
17329
17456
|
},
|
|
17330
17457
|
"updated_at": {
|
|
@@ -17333,7 +17460,7 @@
|
|
|
17333
17460
|
"title": "Updated At",
|
|
17334
17461
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
17335
17462
|
"examples": [
|
|
17336
|
-
"2025-07-
|
|
17463
|
+
"2025-07-31T00:00:00Z"
|
|
17337
17464
|
]
|
|
17338
17465
|
},
|
|
17339
17466
|
"last_updated_by": {
|
|
@@ -17568,7 +17695,7 @@
|
|
|
17568
17695
|
"title": "Created At",
|
|
17569
17696
|
"description": "Timestamp at which insight tool result was created",
|
|
17570
17697
|
"examples": [
|
|
17571
|
-
"2025-07-
|
|
17698
|
+
"2025-07-30T00:00:00Z"
|
|
17572
17699
|
]
|
|
17573
17700
|
},
|
|
17574
17701
|
"updated_at": {
|
|
@@ -17577,7 +17704,7 @@
|
|
|
17577
17704
|
"title": "Updated At",
|
|
17578
17705
|
"description": "Timestamp at which insight tool result was last updated",
|
|
17579
17706
|
"examples": [
|
|
17580
|
-
"2025-07-
|
|
17707
|
+
"2025-07-31T00:00:00Z"
|
|
17581
17708
|
]
|
|
17582
17709
|
}
|
|
17583
17710
|
},
|
|
@@ -17712,7 +17839,7 @@
|
|
|
17712
17839
|
"title": "Start Time",
|
|
17713
17840
|
"description": "Start time of the uploaded file",
|
|
17714
17841
|
"examples": [
|
|
17715
|
-
"2025-07-
|
|
17842
|
+
"2025-07-30T00:00:00Z"
|
|
17716
17843
|
]
|
|
17717
17844
|
},
|
|
17718
17845
|
"end_time": {
|
|
@@ -17728,7 +17855,7 @@
|
|
|
17728
17855
|
"title": "End Time",
|
|
17729
17856
|
"description": "End time of the uploaded file",
|
|
17730
17857
|
"examples": [
|
|
17731
|
-
"2025-07-
|
|
17858
|
+
"2025-07-31T00:00:00Z"
|
|
17732
17859
|
]
|
|
17733
17860
|
},
|
|
17734
17861
|
"error_message": {
|
|
@@ -17783,7 +17910,7 @@
|
|
|
17783
17910
|
"title": "Created At",
|
|
17784
17911
|
"description": "Timestamp at which insight upload file was created",
|
|
17785
17912
|
"examples": [
|
|
17786
|
-
"2025-07-
|
|
17913
|
+
"2025-07-30T00:00:00Z"
|
|
17787
17914
|
]
|
|
17788
17915
|
}
|
|
17789
17916
|
},
|
|
@@ -20156,6 +20283,197 @@
|
|
|
20156
20283
|
"title": "OrderByDirection",
|
|
20157
20284
|
"description": "The direction in which to order list results, either ascending or descending."
|
|
20158
20285
|
},
|
|
20286
|
+
"OrganizationChannelConfig": {
|
|
20287
|
+
"properties": {
|
|
20288
|
+
"account_sid": {
|
|
20289
|
+
"anyOf": [
|
|
20290
|
+
{
|
|
20291
|
+
"type": "string"
|
|
20292
|
+
},
|
|
20293
|
+
{
|
|
20294
|
+
"type": "null"
|
|
20295
|
+
}
|
|
20296
|
+
],
|
|
20297
|
+
"title": "Account Sid",
|
|
20298
|
+
"description": "SID of the Twilio account",
|
|
20299
|
+
"examples": [
|
|
20300
|
+
"AC123..."
|
|
20301
|
+
]
|
|
20302
|
+
},
|
|
20303
|
+
"auth_token": {
|
|
20304
|
+
"anyOf": [
|
|
20305
|
+
{
|
|
20306
|
+
"type": "string"
|
|
20307
|
+
},
|
|
20308
|
+
{
|
|
20309
|
+
"type": "null"
|
|
20310
|
+
}
|
|
20311
|
+
],
|
|
20312
|
+
"title": "Auth Token",
|
|
20313
|
+
"description": "The Twilio auth token",
|
|
20314
|
+
"examples": [
|
|
20315
|
+
"sometoken"
|
|
20316
|
+
]
|
|
20317
|
+
},
|
|
20318
|
+
"telephony": {
|
|
20319
|
+
"anyOf": [
|
|
20320
|
+
{
|
|
20321
|
+
"$ref": "#/components/schemas/TelephonyConfigurations"
|
|
20322
|
+
},
|
|
20323
|
+
{
|
|
20324
|
+
"type": "null"
|
|
20325
|
+
}
|
|
20326
|
+
],
|
|
20327
|
+
"description": "Telephony configurations to be applied to the targets under the channel",
|
|
20328
|
+
"examples": [
|
|
20329
|
+
{
|
|
20330
|
+
"overall_input_timeout": 20.0,
|
|
20331
|
+
"pre_input_timeout": 1.2
|
|
20332
|
+
}
|
|
20333
|
+
]
|
|
20334
|
+
}
|
|
20335
|
+
},
|
|
20336
|
+
"type": "object",
|
|
20337
|
+
"title": "OrganizationChannelConfig",
|
|
20338
|
+
"description": "Channel config information for creates / updates through the organizations API"
|
|
20339
|
+
},
|
|
20340
|
+
"OrganizationChannelCreateRequest": {
|
|
20341
|
+
"properties": {
|
|
20342
|
+
"name": {
|
|
20343
|
+
"type": "string",
|
|
20344
|
+
"title": "Name",
|
|
20345
|
+
"description": "The channel name",
|
|
20346
|
+
"examples": [
|
|
20347
|
+
"twilio"
|
|
20348
|
+
]
|
|
20349
|
+
},
|
|
20350
|
+
"channel_service": {
|
|
20351
|
+
"$ref": "#/components/schemas/ChannelServices",
|
|
20352
|
+
"description": "The service that facilitates communication on the channel",
|
|
20353
|
+
"examples": [
|
|
20354
|
+
"webchat"
|
|
20355
|
+
]
|
|
20356
|
+
},
|
|
20357
|
+
"supported_modes": {
|
|
20358
|
+
"anyOf": [
|
|
20359
|
+
{
|
|
20360
|
+
"type": "string"
|
|
20361
|
+
},
|
|
20362
|
+
{
|
|
20363
|
+
"type": "null"
|
|
20364
|
+
}
|
|
20365
|
+
],
|
|
20366
|
+
"title": "Supported Modes",
|
|
20367
|
+
"description": "The comma-delimited list of supported modes for the channel, which defines the possible communication methods for channel targets linked to it.",
|
|
20368
|
+
"examples": [
|
|
20369
|
+
"chat,voice"
|
|
20370
|
+
]
|
|
20371
|
+
},
|
|
20372
|
+
"is_system_channel": {
|
|
20373
|
+
"type": "boolean",
|
|
20374
|
+
"title": "Is System Channel",
|
|
20375
|
+
"description": "Whether the channel is a built-in system channel (i.e., is not customizable)",
|
|
20376
|
+
"default": true,
|
|
20377
|
+
"examples": [
|
|
20378
|
+
false
|
|
20379
|
+
]
|
|
20380
|
+
},
|
|
20381
|
+
"config": {
|
|
20382
|
+
"$ref": "#/components/schemas/OrganizationChannelConfig",
|
|
20383
|
+
"description": "The configuration of the channel",
|
|
20384
|
+
"examples": [
|
|
20385
|
+
{
|
|
20386
|
+
"account_sid": "AC123",
|
|
20387
|
+
"auth_token": "sometoken",
|
|
20388
|
+
"telephony": {
|
|
20389
|
+
"pre_input_timeout": 3.0
|
|
20390
|
+
}
|
|
20391
|
+
}
|
|
20392
|
+
]
|
|
20393
|
+
}
|
|
20394
|
+
},
|
|
20395
|
+
"type": "object",
|
|
20396
|
+
"required": [
|
|
20397
|
+
"name",
|
|
20398
|
+
"channel_service",
|
|
20399
|
+
"config"
|
|
20400
|
+
],
|
|
20401
|
+
"title": "OrganizationChannelCreateRequest",
|
|
20402
|
+
"description": "Request model to create a channel through the organizations API"
|
|
20403
|
+
},
|
|
20404
|
+
"OrganizationChannelUpdateRequest": {
|
|
20405
|
+
"properties": {
|
|
20406
|
+
"name": {
|
|
20407
|
+
"type": "string",
|
|
20408
|
+
"title": "Name",
|
|
20409
|
+
"description": "The channel name",
|
|
20410
|
+
"examples": [
|
|
20411
|
+
"twilio"
|
|
20412
|
+
]
|
|
20413
|
+
},
|
|
20414
|
+
"channel_service": {
|
|
20415
|
+
"$ref": "#/components/schemas/ChannelServices",
|
|
20416
|
+
"description": "The service that facilitates communication on the channel",
|
|
20417
|
+
"examples": [
|
|
20418
|
+
"webchat"
|
|
20419
|
+
]
|
|
20420
|
+
},
|
|
20421
|
+
"supported_modes": {
|
|
20422
|
+
"anyOf": [
|
|
20423
|
+
{
|
|
20424
|
+
"type": "string"
|
|
20425
|
+
},
|
|
20426
|
+
{
|
|
20427
|
+
"type": "null"
|
|
20428
|
+
}
|
|
20429
|
+
],
|
|
20430
|
+
"title": "Supported Modes",
|
|
20431
|
+
"description": "The comma-delimited list of supported modes for the channel, which defines the possible communication methods for channel targets linked to it.",
|
|
20432
|
+
"examples": [
|
|
20433
|
+
"chat,voice"
|
|
20434
|
+
]
|
|
20435
|
+
},
|
|
20436
|
+
"is_system_channel": {
|
|
20437
|
+
"type": "boolean",
|
|
20438
|
+
"title": "Is System Channel",
|
|
20439
|
+
"description": "Whether the channel is a built-in system channel (i.e., is not customizable)",
|
|
20440
|
+
"default": true,
|
|
20441
|
+
"examples": [
|
|
20442
|
+
false
|
|
20443
|
+
]
|
|
20444
|
+
},
|
|
20445
|
+
"config": {
|
|
20446
|
+
"$ref": "#/components/schemas/OrganizationChannelConfig",
|
|
20447
|
+
"description": "The configuration of the channel",
|
|
20448
|
+
"examples": [
|
|
20449
|
+
{
|
|
20450
|
+
"account_sid": "AC123",
|
|
20451
|
+
"auth_token": "sometoken",
|
|
20452
|
+
"telephony": {
|
|
20453
|
+
"pre_input_timeout": 3.0
|
|
20454
|
+
}
|
|
20455
|
+
}
|
|
20456
|
+
]
|
|
20457
|
+
},
|
|
20458
|
+
"id": {
|
|
20459
|
+
"type": "integer",
|
|
20460
|
+
"title": "Id",
|
|
20461
|
+
"description": "The internal ID of the channel",
|
|
20462
|
+
"examples": [
|
|
20463
|
+
1
|
|
20464
|
+
]
|
|
20465
|
+
}
|
|
20466
|
+
},
|
|
20467
|
+
"type": "object",
|
|
20468
|
+
"required": [
|
|
20469
|
+
"name",
|
|
20470
|
+
"channel_service",
|
|
20471
|
+
"config",
|
|
20472
|
+
"id"
|
|
20473
|
+
],
|
|
20474
|
+
"title": "OrganizationChannelUpdateRequest",
|
|
20475
|
+
"description": "Request model to update a channel through the organizations API"
|
|
20476
|
+
},
|
|
20159
20477
|
"OrganizationResponse": {
|
|
20160
20478
|
"properties": {
|
|
20161
20479
|
"display_name": {
|
|
@@ -20483,7 +20801,7 @@
|
|
|
20483
20801
|
"title": "Created At",
|
|
20484
20802
|
"description": "Timestamp of campaign creation",
|
|
20485
20803
|
"examples": [
|
|
20486
|
-
"2025-07-
|
|
20804
|
+
"2025-07-31T00:00:00Z"
|
|
20487
20805
|
]
|
|
20488
20806
|
},
|
|
20489
20807
|
"updated_at": {
|
|
@@ -20492,7 +20810,7 @@
|
|
|
20492
20810
|
"title": "Updated At",
|
|
20493
20811
|
"description": "Timestamp of campaign update",
|
|
20494
20812
|
"examples": [
|
|
20495
|
-
"2025-07-
|
|
20813
|
+
"2025-07-31T00:00:00Z"
|
|
20496
20814
|
]
|
|
20497
20815
|
},
|
|
20498
20816
|
"last_updated_by": {
|
|
@@ -22936,6 +23254,82 @@
|
|
|
22936
23254
|
"title": "TargetModes",
|
|
22937
23255
|
"description": "Available modes (communication methods) for channel targets."
|
|
22938
23256
|
},
|
|
23257
|
+
"TelephonyConfigurations": {
|
|
23258
|
+
"properties": {
|
|
23259
|
+
"pre_input_timeout": {
|
|
23260
|
+
"anyOf": [
|
|
23261
|
+
{
|
|
23262
|
+
"type": "number",
|
|
23263
|
+
"maximum": 10.0,
|
|
23264
|
+
"minimum": 0.0
|
|
23265
|
+
},
|
|
23266
|
+
{
|
|
23267
|
+
"type": "null"
|
|
23268
|
+
}
|
|
23269
|
+
],
|
|
23270
|
+
"title": "Pre Input Timeout",
|
|
23271
|
+
"description": "Pre input silence threshold"
|
|
23272
|
+
},
|
|
23273
|
+
"post_speech_input_timeout": {
|
|
23274
|
+
"anyOf": [
|
|
23275
|
+
{
|
|
23276
|
+
"type": "number",
|
|
23277
|
+
"maximum": 10.0,
|
|
23278
|
+
"minimum": 0.0
|
|
23279
|
+
},
|
|
23280
|
+
{
|
|
23281
|
+
"type": "null"
|
|
23282
|
+
}
|
|
23283
|
+
],
|
|
23284
|
+
"title": "Post Speech Input Timeout",
|
|
23285
|
+
"description": "Post speech silence timeout to determine input as ended."
|
|
23286
|
+
},
|
|
23287
|
+
"post_dtmf_input_timeout": {
|
|
23288
|
+
"anyOf": [
|
|
23289
|
+
{
|
|
23290
|
+
"type": "number",
|
|
23291
|
+
"maximum": 10.0,
|
|
23292
|
+
"minimum": 0.0
|
|
23293
|
+
},
|
|
23294
|
+
{
|
|
23295
|
+
"type": "null"
|
|
23296
|
+
}
|
|
23297
|
+
],
|
|
23298
|
+
"title": "Post Dtmf Input Timeout",
|
|
23299
|
+
"description": "Post dtmf silence timeout to determine input as ended."
|
|
23300
|
+
},
|
|
23301
|
+
"overall_input_timeout": {
|
|
23302
|
+
"anyOf": [
|
|
23303
|
+
{
|
|
23304
|
+
"type": "number",
|
|
23305
|
+
"maximum": 300.0,
|
|
23306
|
+
"minimum": 0.0
|
|
23307
|
+
},
|
|
23308
|
+
{
|
|
23309
|
+
"type": "null"
|
|
23310
|
+
}
|
|
23311
|
+
],
|
|
23312
|
+
"title": "Overall Input Timeout",
|
|
23313
|
+
"description": "Total input timeout"
|
|
23314
|
+
},
|
|
23315
|
+
"output_padding": {
|
|
23316
|
+
"anyOf": [
|
|
23317
|
+
{
|
|
23318
|
+
"type": "number",
|
|
23319
|
+
"maximum": 5.0,
|
|
23320
|
+
"minimum": -5.0
|
|
23321
|
+
},
|
|
23322
|
+
{
|
|
23323
|
+
"type": "null"
|
|
23324
|
+
}
|
|
23325
|
+
],
|
|
23326
|
+
"title": "Output Padding",
|
|
23327
|
+
"description": "Number of seconds to start listening to user input before assistant speech ends"
|
|
23328
|
+
}
|
|
23329
|
+
},
|
|
23330
|
+
"type": "object",
|
|
23331
|
+
"title": "TelephonyConfigurations"
|
|
23332
|
+
},
|
|
22939
23333
|
"TestMessage": {
|
|
22940
23334
|
"properties": {
|
|
22941
23335
|
"service_name": {
|