telnyx 5.32.0 → 5.34.0
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/CHANGELOG.md +19 -0
- package/package.json +1 -1
- package/resources/calls/actions.d.mts +36 -106
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +36 -106
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/calls.d.mts +2 -2
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +2 -2
- package/resources/calls/calls.d.ts.map +1 -1
- package/resources/calls/calls.js.map +1 -1
- package/resources/calls/calls.mjs.map +1 -1
- package/resources/calls/index.d.mts +1 -1
- package/resources/calls/index.d.mts.map +1 -1
- package/resources/calls/index.d.ts +1 -1
- package/resources/calls/index.d.ts.map +1 -1
- package/resources/calls/index.js.map +1 -1
- package/resources/calls/index.mjs.map +1 -1
- package/resources/messages/messages.d.mts +46 -0
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +46 -0
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs.map +1 -1
- package/src/resources/calls/actions.ts +103 -301
- package/src/resources/calls/calls.ts +4 -0
- package/src/resources/calls/index.ts +2 -0
- package/src/resources/messages/messages.ts +52 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -925,6 +925,102 @@ export interface CallControlCommandResult {
|
|
|
925
925
|
result?: string;
|
|
926
926
|
}
|
|
927
927
|
|
|
928
|
+
export interface DeepgramNova2Config {
|
|
929
|
+
transcription_engine: 'Deepgram';
|
|
930
|
+
|
|
931
|
+
transcription_model: 'deepgram/nova-2';
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* Keywords and their respective intensifiers (boosting values) to improve
|
|
935
|
+
* transcription accuracy for specific words or phrases. The intensifier should be
|
|
936
|
+
* a numeric value. Example: `{"snuffleupagus": 5, "systrom": 2, "krieger": 1}`.
|
|
937
|
+
*/
|
|
938
|
+
keywords_boosting?: { [key: string]: number };
|
|
939
|
+
|
|
940
|
+
/**
|
|
941
|
+
* Language to use for speech recognition with nova-2 model
|
|
942
|
+
*/
|
|
943
|
+
language?:
|
|
944
|
+
| 'bg'
|
|
945
|
+
| 'ca'
|
|
946
|
+
| 'zh-CN'
|
|
947
|
+
| 'zh-Hans'
|
|
948
|
+
| 'zh-TW'
|
|
949
|
+
| 'zh-Hant'
|
|
950
|
+
| 'zh-HK'
|
|
951
|
+
| 'cs'
|
|
952
|
+
| 'da-DK'
|
|
953
|
+
| 'nl-BE'
|
|
954
|
+
| 'en-US'
|
|
955
|
+
| 'en-AU'
|
|
956
|
+
| 'en-GB'
|
|
957
|
+
| 'en-NZ'
|
|
958
|
+
| 'en-IN'
|
|
959
|
+
| 'et'
|
|
960
|
+
| 'fi'
|
|
961
|
+
| 'fr'
|
|
962
|
+
| 'fr-CA'
|
|
963
|
+
| 'de-CH'
|
|
964
|
+
| 'el'
|
|
965
|
+
| 'hi'
|
|
966
|
+
| 'hu'
|
|
967
|
+
| 'id'
|
|
968
|
+
| 'it'
|
|
969
|
+
| 'ja'
|
|
970
|
+
| 'ko-KR'
|
|
971
|
+
| 'lv'
|
|
972
|
+
| 'lt'
|
|
973
|
+
| 'ms'
|
|
974
|
+
| 'no'
|
|
975
|
+
| 'pl'
|
|
976
|
+
| 'pt-BR'
|
|
977
|
+
| 'pt-PT'
|
|
978
|
+
| 'ro'
|
|
979
|
+
| 'ru'
|
|
980
|
+
| 'sk'
|
|
981
|
+
| 'es-419'
|
|
982
|
+
| 'sv-SE'
|
|
983
|
+
| 'th-TH'
|
|
984
|
+
| 'tr'
|
|
985
|
+
| 'uk'
|
|
986
|
+
| 'vi'
|
|
987
|
+
| 'auto_detect';
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
export interface DeepgramNova3Config {
|
|
991
|
+
transcription_engine: 'Deepgram';
|
|
992
|
+
|
|
993
|
+
transcription_model: 'deepgram/nova-3';
|
|
994
|
+
|
|
995
|
+
/**
|
|
996
|
+
* Keywords and their respective intensifiers (boosting values) to improve
|
|
997
|
+
* transcription accuracy for specific words or phrases. The intensifier should be
|
|
998
|
+
* a numeric value. Example: `{"snuffleupagus": 5, "systrom": 2, "krieger": 1}`.
|
|
999
|
+
*/
|
|
1000
|
+
keywords_boosting?: { [key: string]: number };
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* Language to use for speech recognition with nova-3 model
|
|
1004
|
+
*/
|
|
1005
|
+
language?:
|
|
1006
|
+
| 'en-US'
|
|
1007
|
+
| 'en-AU'
|
|
1008
|
+
| 'en-GB'
|
|
1009
|
+
| 'en-IN'
|
|
1010
|
+
| 'en-NZ'
|
|
1011
|
+
| 'de'
|
|
1012
|
+
| 'nl'
|
|
1013
|
+
| 'sv-SE'
|
|
1014
|
+
| 'da-DK'
|
|
1015
|
+
| 'es'
|
|
1016
|
+
| 'es-419'
|
|
1017
|
+
| 'fr'
|
|
1018
|
+
| 'fr-CA'
|
|
1019
|
+
| 'pt-BR'
|
|
1020
|
+
| 'pt-PT'
|
|
1021
|
+
| 'auto_detect';
|
|
1022
|
+
}
|
|
1023
|
+
|
|
928
1024
|
export interface ElevenLabsVoiceSettings {
|
|
929
1025
|
/**
|
|
930
1026
|
* Voice settings provider type
|
|
@@ -1387,107 +1483,7 @@ export interface TranscriptionEngineBConfig {
|
|
|
1387
1483
|
transcription_model?: 'openai/whisper-tiny' | 'openai/whisper-large-v3-turbo';
|
|
1388
1484
|
}
|
|
1389
1485
|
|
|
1390
|
-
export type TranscriptionEngineDeepgramConfig =
|
|
1391
|
-
| TranscriptionEngineDeepgramConfig.DeepgramNova2
|
|
1392
|
-
| TranscriptionEngineDeepgramConfig.DeepgramNova3;
|
|
1393
|
-
|
|
1394
|
-
export namespace TranscriptionEngineDeepgramConfig {
|
|
1395
|
-
export interface DeepgramNova2 {
|
|
1396
|
-
transcription_engine: 'Deepgram';
|
|
1397
|
-
|
|
1398
|
-
transcription_model: 'deepgram/nova-2';
|
|
1399
|
-
|
|
1400
|
-
/**
|
|
1401
|
-
* Keywords and their respective intensifiers (boosting values) to improve
|
|
1402
|
-
* transcription accuracy for specific words or phrases. The intensifier should be
|
|
1403
|
-
* a numeric value. Example: `{"snuffleupagus": 5, "systrom": 2, "krieger": 1}`.
|
|
1404
|
-
*/
|
|
1405
|
-
keywords_boosting?: { [key: string]: number };
|
|
1406
|
-
|
|
1407
|
-
/**
|
|
1408
|
-
* Language to use for speech recognition with nova-2 model
|
|
1409
|
-
*/
|
|
1410
|
-
language?:
|
|
1411
|
-
| 'bg'
|
|
1412
|
-
| 'ca'
|
|
1413
|
-
| 'zh-CN'
|
|
1414
|
-
| 'zh-Hans'
|
|
1415
|
-
| 'zh-TW'
|
|
1416
|
-
| 'zh-Hant'
|
|
1417
|
-
| 'zh-HK'
|
|
1418
|
-
| 'cs'
|
|
1419
|
-
| 'da-DK'
|
|
1420
|
-
| 'nl-BE'
|
|
1421
|
-
| 'en-US'
|
|
1422
|
-
| 'en-AU'
|
|
1423
|
-
| 'en-GB'
|
|
1424
|
-
| 'en-NZ'
|
|
1425
|
-
| 'en-IN'
|
|
1426
|
-
| 'et'
|
|
1427
|
-
| 'fi'
|
|
1428
|
-
| 'fr'
|
|
1429
|
-
| 'fr-CA'
|
|
1430
|
-
| 'de-CH'
|
|
1431
|
-
| 'el'
|
|
1432
|
-
| 'hi'
|
|
1433
|
-
| 'hu'
|
|
1434
|
-
| 'id'
|
|
1435
|
-
| 'it'
|
|
1436
|
-
| 'ja'
|
|
1437
|
-
| 'ko-KR'
|
|
1438
|
-
| 'lv'
|
|
1439
|
-
| 'lt'
|
|
1440
|
-
| 'ms'
|
|
1441
|
-
| 'no'
|
|
1442
|
-
| 'pl'
|
|
1443
|
-
| 'pt-BR'
|
|
1444
|
-
| 'pt-PT'
|
|
1445
|
-
| 'ro'
|
|
1446
|
-
| 'ru'
|
|
1447
|
-
| 'sk'
|
|
1448
|
-
| 'es-419'
|
|
1449
|
-
| 'sv-SE'
|
|
1450
|
-
| 'th-TH'
|
|
1451
|
-
| 'tr'
|
|
1452
|
-
| 'uk'
|
|
1453
|
-
| 'vi'
|
|
1454
|
-
| 'auto_detect';
|
|
1455
|
-
}
|
|
1456
|
-
|
|
1457
|
-
export interface DeepgramNova3 {
|
|
1458
|
-
transcription_engine: 'Deepgram';
|
|
1459
|
-
|
|
1460
|
-
transcription_model: 'deepgram/nova-3';
|
|
1461
|
-
|
|
1462
|
-
/**
|
|
1463
|
-
* Keywords and their respective intensifiers (boosting values) to improve
|
|
1464
|
-
* transcription accuracy for specific words or phrases. The intensifier should be
|
|
1465
|
-
* a numeric value. Example: `{"snuffleupagus": 5, "systrom": 2, "krieger": 1}`.
|
|
1466
|
-
*/
|
|
1467
|
-
keywords_boosting?: { [key: string]: number };
|
|
1468
|
-
|
|
1469
|
-
/**
|
|
1470
|
-
* Language to use for speech recognition with nova-3 model
|
|
1471
|
-
*/
|
|
1472
|
-
language?:
|
|
1473
|
-
| 'en-US'
|
|
1474
|
-
| 'en-AU'
|
|
1475
|
-
| 'en-GB'
|
|
1476
|
-
| 'en-IN'
|
|
1477
|
-
| 'en-NZ'
|
|
1478
|
-
| 'de'
|
|
1479
|
-
| 'nl'
|
|
1480
|
-
| 'sv-SE'
|
|
1481
|
-
| 'da-DK'
|
|
1482
|
-
| 'es'
|
|
1483
|
-
| 'es-419'
|
|
1484
|
-
| 'fr'
|
|
1485
|
-
| 'fr-CA'
|
|
1486
|
-
| 'pt-BR'
|
|
1487
|
-
| 'pt-PT'
|
|
1488
|
-
| 'auto_detect';
|
|
1489
|
-
}
|
|
1490
|
-
}
|
|
1486
|
+
export type TranscriptionEngineDeepgramConfig = DeepgramNova2Config | DeepgramNova3Config;
|
|
1491
1487
|
|
|
1492
1488
|
export interface TranscriptionEngineGoogleConfig {
|
|
1493
1489
|
/**
|
|
@@ -1605,8 +1601,8 @@ export interface TranscriptionStartRequest {
|
|
|
1605
1601
|
transcription_engine_config?:
|
|
1606
1602
|
| TranscriptionEngineGoogleConfig
|
|
1607
1603
|
| TranscriptionEngineTelnyxConfig
|
|
1608
|
-
|
|
|
1609
|
-
|
|
|
1604
|
+
| DeepgramNova2Config
|
|
1605
|
+
| DeepgramNova3Config
|
|
1610
1606
|
| TranscriptionEngineAzureConfig
|
|
1611
1607
|
| TranscriptionEngineAConfig
|
|
1612
1608
|
| TranscriptionEngineBConfig;
|
|
@@ -1619,104 +1615,6 @@ export interface TranscriptionStartRequest {
|
|
|
1619
1615
|
transcription_tracks?: string;
|
|
1620
1616
|
}
|
|
1621
1617
|
|
|
1622
|
-
export namespace TranscriptionStartRequest {
|
|
1623
|
-
export interface DeepgramNova2Config {
|
|
1624
|
-
transcription_engine: 'Deepgram';
|
|
1625
|
-
|
|
1626
|
-
transcription_model: 'deepgram/nova-2';
|
|
1627
|
-
|
|
1628
|
-
/**
|
|
1629
|
-
* Keywords and their respective intensifiers (boosting values) to improve
|
|
1630
|
-
* transcription accuracy for specific words or phrases. The intensifier should be
|
|
1631
|
-
* a numeric value. Example: `{"snuffleupagus": 5, "systrom": 2, "krieger": 1}`.
|
|
1632
|
-
*/
|
|
1633
|
-
keywords_boosting?: { [key: string]: number };
|
|
1634
|
-
|
|
1635
|
-
/**
|
|
1636
|
-
* Language to use for speech recognition with nova-2 model
|
|
1637
|
-
*/
|
|
1638
|
-
language?:
|
|
1639
|
-
| 'bg'
|
|
1640
|
-
| 'ca'
|
|
1641
|
-
| 'zh-CN'
|
|
1642
|
-
| 'zh-Hans'
|
|
1643
|
-
| 'zh-TW'
|
|
1644
|
-
| 'zh-Hant'
|
|
1645
|
-
| 'zh-HK'
|
|
1646
|
-
| 'cs'
|
|
1647
|
-
| 'da-DK'
|
|
1648
|
-
| 'nl-BE'
|
|
1649
|
-
| 'en-US'
|
|
1650
|
-
| 'en-AU'
|
|
1651
|
-
| 'en-GB'
|
|
1652
|
-
| 'en-NZ'
|
|
1653
|
-
| 'en-IN'
|
|
1654
|
-
| 'et'
|
|
1655
|
-
| 'fi'
|
|
1656
|
-
| 'fr'
|
|
1657
|
-
| 'fr-CA'
|
|
1658
|
-
| 'de-CH'
|
|
1659
|
-
| 'el'
|
|
1660
|
-
| 'hi'
|
|
1661
|
-
| 'hu'
|
|
1662
|
-
| 'id'
|
|
1663
|
-
| 'it'
|
|
1664
|
-
| 'ja'
|
|
1665
|
-
| 'ko-KR'
|
|
1666
|
-
| 'lv'
|
|
1667
|
-
| 'lt'
|
|
1668
|
-
| 'ms'
|
|
1669
|
-
| 'no'
|
|
1670
|
-
| 'pl'
|
|
1671
|
-
| 'pt-BR'
|
|
1672
|
-
| 'pt-PT'
|
|
1673
|
-
| 'ro'
|
|
1674
|
-
| 'ru'
|
|
1675
|
-
| 'sk'
|
|
1676
|
-
| 'es-419'
|
|
1677
|
-
| 'sv-SE'
|
|
1678
|
-
| 'th-TH'
|
|
1679
|
-
| 'tr'
|
|
1680
|
-
| 'uk'
|
|
1681
|
-
| 'vi'
|
|
1682
|
-
| 'auto_detect';
|
|
1683
|
-
}
|
|
1684
|
-
|
|
1685
|
-
export interface DeepgramNova3Config {
|
|
1686
|
-
transcription_engine: 'Deepgram';
|
|
1687
|
-
|
|
1688
|
-
transcription_model: 'deepgram/nova-3';
|
|
1689
|
-
|
|
1690
|
-
/**
|
|
1691
|
-
* Keywords and their respective intensifiers (boosting values) to improve
|
|
1692
|
-
* transcription accuracy for specific words or phrases. The intensifier should be
|
|
1693
|
-
* a numeric value. Example: `{"snuffleupagus": 5, "systrom": 2, "krieger": 1}`.
|
|
1694
|
-
*/
|
|
1695
|
-
keywords_boosting?: { [key: string]: number };
|
|
1696
|
-
|
|
1697
|
-
/**
|
|
1698
|
-
* Language to use for speech recognition with nova-3 model
|
|
1699
|
-
*/
|
|
1700
|
-
language?:
|
|
1701
|
-
| 'en-US'
|
|
1702
|
-
| 'en-AU'
|
|
1703
|
-
| 'en-GB'
|
|
1704
|
-
| 'en-IN'
|
|
1705
|
-
| 'en-NZ'
|
|
1706
|
-
| 'de'
|
|
1707
|
-
| 'nl'
|
|
1708
|
-
| 'sv-SE'
|
|
1709
|
-
| 'da-DK'
|
|
1710
|
-
| 'es'
|
|
1711
|
-
| 'es-419'
|
|
1712
|
-
| 'fr'
|
|
1713
|
-
| 'fr-CA'
|
|
1714
|
-
| 'pt-BR'
|
|
1715
|
-
| 'pt-PT'
|
|
1716
|
-
| 'auto_detect';
|
|
1717
|
-
}
|
|
1718
|
-
}
|
|
1719
|
-
|
|
1720
1618
|
export interface ActionAddAIAssistantMessagesResponse {
|
|
1721
1619
|
data?: CallControlCommandResult;
|
|
1722
1620
|
}
|
|
@@ -3844,8 +3742,8 @@ export interface ActionStartTranscriptionParams {
|
|
|
3844
3742
|
transcription_engine_config?:
|
|
3845
3743
|
| TranscriptionEngineGoogleConfig
|
|
3846
3744
|
| TranscriptionEngineTelnyxConfig
|
|
3847
|
-
|
|
|
3848
|
-
|
|
|
3745
|
+
| DeepgramNova2Config
|
|
3746
|
+
| DeepgramNova3Config
|
|
3849
3747
|
| TranscriptionEngineAzureConfig
|
|
3850
3748
|
| TranscriptionEngineAConfig
|
|
3851
3749
|
| TranscriptionEngineBConfig;
|
|
@@ -3858,104 +3756,6 @@ export interface ActionStartTranscriptionParams {
|
|
|
3858
3756
|
transcription_tracks?: string;
|
|
3859
3757
|
}
|
|
3860
3758
|
|
|
3861
|
-
export namespace ActionStartTranscriptionParams {
|
|
3862
|
-
export interface DeepgramNova2Config {
|
|
3863
|
-
transcription_engine: 'Deepgram';
|
|
3864
|
-
|
|
3865
|
-
transcription_model: 'deepgram/nova-2';
|
|
3866
|
-
|
|
3867
|
-
/**
|
|
3868
|
-
* Keywords and their respective intensifiers (boosting values) to improve
|
|
3869
|
-
* transcription accuracy for specific words or phrases. The intensifier should be
|
|
3870
|
-
* a numeric value. Example: `{"snuffleupagus": 5, "systrom": 2, "krieger": 1}`.
|
|
3871
|
-
*/
|
|
3872
|
-
keywords_boosting?: { [key: string]: number };
|
|
3873
|
-
|
|
3874
|
-
/**
|
|
3875
|
-
* Language to use for speech recognition with nova-2 model
|
|
3876
|
-
*/
|
|
3877
|
-
language?:
|
|
3878
|
-
| 'bg'
|
|
3879
|
-
| 'ca'
|
|
3880
|
-
| 'zh-CN'
|
|
3881
|
-
| 'zh-Hans'
|
|
3882
|
-
| 'zh-TW'
|
|
3883
|
-
| 'zh-Hant'
|
|
3884
|
-
| 'zh-HK'
|
|
3885
|
-
| 'cs'
|
|
3886
|
-
| 'da-DK'
|
|
3887
|
-
| 'nl-BE'
|
|
3888
|
-
| 'en-US'
|
|
3889
|
-
| 'en-AU'
|
|
3890
|
-
| 'en-GB'
|
|
3891
|
-
| 'en-NZ'
|
|
3892
|
-
| 'en-IN'
|
|
3893
|
-
| 'et'
|
|
3894
|
-
| 'fi'
|
|
3895
|
-
| 'fr'
|
|
3896
|
-
| 'fr-CA'
|
|
3897
|
-
| 'de-CH'
|
|
3898
|
-
| 'el'
|
|
3899
|
-
| 'hi'
|
|
3900
|
-
| 'hu'
|
|
3901
|
-
| 'id'
|
|
3902
|
-
| 'it'
|
|
3903
|
-
| 'ja'
|
|
3904
|
-
| 'ko-KR'
|
|
3905
|
-
| 'lv'
|
|
3906
|
-
| 'lt'
|
|
3907
|
-
| 'ms'
|
|
3908
|
-
| 'no'
|
|
3909
|
-
| 'pl'
|
|
3910
|
-
| 'pt-BR'
|
|
3911
|
-
| 'pt-PT'
|
|
3912
|
-
| 'ro'
|
|
3913
|
-
| 'ru'
|
|
3914
|
-
| 'sk'
|
|
3915
|
-
| 'es-419'
|
|
3916
|
-
| 'sv-SE'
|
|
3917
|
-
| 'th-TH'
|
|
3918
|
-
| 'tr'
|
|
3919
|
-
| 'uk'
|
|
3920
|
-
| 'vi'
|
|
3921
|
-
| 'auto_detect';
|
|
3922
|
-
}
|
|
3923
|
-
|
|
3924
|
-
export interface DeepgramNova3Config {
|
|
3925
|
-
transcription_engine: 'Deepgram';
|
|
3926
|
-
|
|
3927
|
-
transcription_model: 'deepgram/nova-3';
|
|
3928
|
-
|
|
3929
|
-
/**
|
|
3930
|
-
* Keywords and their respective intensifiers (boosting values) to improve
|
|
3931
|
-
* transcription accuracy for specific words or phrases. The intensifier should be
|
|
3932
|
-
* a numeric value. Example: `{"snuffleupagus": 5, "systrom": 2, "krieger": 1}`.
|
|
3933
|
-
*/
|
|
3934
|
-
keywords_boosting?: { [key: string]: number };
|
|
3935
|
-
|
|
3936
|
-
/**
|
|
3937
|
-
* Language to use for speech recognition with nova-3 model
|
|
3938
|
-
*/
|
|
3939
|
-
language?:
|
|
3940
|
-
| 'en-US'
|
|
3941
|
-
| 'en-AU'
|
|
3942
|
-
| 'en-GB'
|
|
3943
|
-
| 'en-IN'
|
|
3944
|
-
| 'en-NZ'
|
|
3945
|
-
| 'de'
|
|
3946
|
-
| 'nl'
|
|
3947
|
-
| 'sv-SE'
|
|
3948
|
-
| 'da-DK'
|
|
3949
|
-
| 'es'
|
|
3950
|
-
| 'es-419'
|
|
3951
|
-
| 'fr'
|
|
3952
|
-
| 'fr-CA'
|
|
3953
|
-
| 'pt-BR'
|
|
3954
|
-
| 'pt-PT'
|
|
3955
|
-
| 'auto_detect';
|
|
3956
|
-
}
|
|
3957
|
-
}
|
|
3958
|
-
|
|
3959
3759
|
export interface ActionStopAIAssistantParams {
|
|
3960
3760
|
/**
|
|
3961
3761
|
* Use this field to add state to every subsequent webhook. It must be a valid
|
|
@@ -4411,6 +4211,8 @@ export declare namespace Actions {
|
|
|
4411
4211
|
export {
|
|
4412
4212
|
type AwsVoiceSettings as AwsVoiceSettings,
|
|
4413
4213
|
type CallControlCommandResult as CallControlCommandResult,
|
|
4214
|
+
type DeepgramNova2Config as DeepgramNova2Config,
|
|
4215
|
+
type DeepgramNova3Config as DeepgramNova3Config,
|
|
4414
4216
|
type ElevenLabsVoiceSettings as ElevenLabsVoiceSettings,
|
|
4415
4217
|
type GoogleTranscriptionLanguage as GoogleTranscriptionLanguage,
|
|
4416
4218
|
type InterruptionSettings as InterruptionSettings,
|
|
@@ -80,6 +80,8 @@ import {
|
|
|
80
80
|
Actions,
|
|
81
81
|
AwsVoiceSettings,
|
|
82
82
|
CallControlCommandResult,
|
|
83
|
+
DeepgramNova2Config,
|
|
84
|
+
DeepgramNova3Config,
|
|
83
85
|
ElevenLabsVoiceSettings,
|
|
84
86
|
GoogleTranscriptionLanguage,
|
|
85
87
|
InterruptionSettings,
|
|
@@ -869,6 +871,8 @@ export declare namespace Calls {
|
|
|
869
871
|
Actions as Actions,
|
|
870
872
|
type AwsVoiceSettings as AwsVoiceSettings,
|
|
871
873
|
type CallControlCommandResult as CallControlCommandResult,
|
|
874
|
+
type DeepgramNova2Config as DeepgramNova2Config,
|
|
875
|
+
type DeepgramNova3Config as DeepgramNova3Config,
|
|
872
876
|
type ElevenLabsVoiceSettings as ElevenLabsVoiceSettings,
|
|
873
877
|
type GoogleTranscriptionLanguage as GoogleTranscriptionLanguage,
|
|
874
878
|
type InterruptionSettings as InterruptionSettings,
|
|
@@ -278,6 +278,14 @@ export interface OutboundMessagePayload {
|
|
|
278
278
|
*/
|
|
279
279
|
sent_at?: string | null;
|
|
280
280
|
|
|
281
|
+
/**
|
|
282
|
+
* Indicates whether smart encoding was applied to this message. When `true`, one
|
|
283
|
+
* or more Unicode characters were automatically replaced with GSM-7 equivalents to
|
|
284
|
+
* reduce segment count and cost. The original message text is preserved in
|
|
285
|
+
* webhooks.
|
|
286
|
+
*/
|
|
287
|
+
smart_encoding_applied?: boolean;
|
|
288
|
+
|
|
281
289
|
/**
|
|
282
290
|
* Subject of multimedia message
|
|
283
291
|
*/
|
|
@@ -883,6 +891,14 @@ export interface MessageCancelScheduledResponse {
|
|
|
883
891
|
*/
|
|
884
892
|
sent_at?: string | null;
|
|
885
893
|
|
|
894
|
+
/**
|
|
895
|
+
* Indicates whether smart encoding was applied to this message. When `true`, one
|
|
896
|
+
* or more Unicode characters were automatically replaced with GSM-7 equivalents to
|
|
897
|
+
* reduce segment count and cost. The original message text is preserved in
|
|
898
|
+
* webhooks.
|
|
899
|
+
*/
|
|
900
|
+
smart_encoding_applied?: boolean;
|
|
901
|
+
|
|
886
902
|
/**
|
|
887
903
|
* Subject of multimedia message
|
|
888
904
|
*/
|
|
@@ -1564,6 +1580,15 @@ export interface MessageSendParams {
|
|
|
1564
1580
|
*/
|
|
1565
1581
|
auto_detect?: boolean;
|
|
1566
1582
|
|
|
1583
|
+
/**
|
|
1584
|
+
* Encoding to use for the message. `auto` (default) uses smart encoding to
|
|
1585
|
+
* automatically select the most efficient encoding. `gsm7` forces GSM-7 encoding
|
|
1586
|
+
* (returns 400 if message contains characters that cannot be encoded). `ucs2`
|
|
1587
|
+
* forces UCS-2 encoding and disables smart encoding. When set, this overrides the
|
|
1588
|
+
* messaging profile's `smart_encoding` setting.
|
|
1589
|
+
*/
|
|
1590
|
+
encoding?: 'auto' | 'gsm7' | 'ucs2';
|
|
1591
|
+
|
|
1567
1592
|
/**
|
|
1568
1593
|
* Sending address (+E.164 formatted phone number, alphanumeric sender ID, or short
|
|
1569
1594
|
* code).
|
|
@@ -1691,6 +1716,15 @@ export interface MessageSendLongCodeParams {
|
|
|
1691
1716
|
*/
|
|
1692
1717
|
auto_detect?: boolean;
|
|
1693
1718
|
|
|
1719
|
+
/**
|
|
1720
|
+
* Encoding to use for the message. `auto` (default) uses smart encoding to
|
|
1721
|
+
* automatically select the most efficient encoding. `gsm7` forces GSM-7 encoding
|
|
1722
|
+
* (returns 400 if message contains characters that cannot be encoded). `ucs2`
|
|
1723
|
+
* forces UCS-2 encoding and disables smart encoding. When set, this overrides the
|
|
1724
|
+
* messaging profile's `smart_encoding` setting.
|
|
1725
|
+
*/
|
|
1726
|
+
encoding?: 'auto' | 'gsm7' | 'ucs2';
|
|
1727
|
+
|
|
1694
1728
|
/**
|
|
1695
1729
|
* A list of media URLs. The total media size must be less than 1 MB.
|
|
1696
1730
|
*
|
|
@@ -1751,6 +1785,15 @@ export interface MessageSendNumberPoolParams {
|
|
|
1751
1785
|
*/
|
|
1752
1786
|
auto_detect?: boolean;
|
|
1753
1787
|
|
|
1788
|
+
/**
|
|
1789
|
+
* Encoding to use for the message. `auto` (default) uses smart encoding to
|
|
1790
|
+
* automatically select the most efficient encoding. `gsm7` forces GSM-7 encoding
|
|
1791
|
+
* (returns 400 if message contains characters that cannot be encoded). `ucs2`
|
|
1792
|
+
* forces UCS-2 encoding and disables smart encoding. When set, this overrides the
|
|
1793
|
+
* messaging profile's `smart_encoding` setting.
|
|
1794
|
+
*/
|
|
1795
|
+
encoding?: 'auto' | 'gsm7' | 'ucs2';
|
|
1796
|
+
|
|
1754
1797
|
/**
|
|
1755
1798
|
* A list of media URLs. The total media size must be less than 1 MB.
|
|
1756
1799
|
*
|
|
@@ -1811,6 +1854,15 @@ export interface MessageSendShortCodeParams {
|
|
|
1811
1854
|
*/
|
|
1812
1855
|
auto_detect?: boolean;
|
|
1813
1856
|
|
|
1857
|
+
/**
|
|
1858
|
+
* Encoding to use for the message. `auto` (default) uses smart encoding to
|
|
1859
|
+
* automatically select the most efficient encoding. `gsm7` forces GSM-7 encoding
|
|
1860
|
+
* (returns 400 if message contains characters that cannot be encoded). `ucs2`
|
|
1861
|
+
* forces UCS-2 encoding and disables smart encoding. When set, this overrides the
|
|
1862
|
+
* messaging profile's `smart_encoding` setting.
|
|
1863
|
+
*/
|
|
1864
|
+
encoding?: 'auto' | 'gsm7' | 'ucs2';
|
|
1865
|
+
|
|
1814
1866
|
/**
|
|
1815
1867
|
* A list of media URLs. The total media size must be less than 1 MB.
|
|
1816
1868
|
*
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.34.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.34.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.34.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.34.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|