telnyx 7.22.0 → 7.23.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 +7 -0
- package/client.d.mts +34 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +34 -4
- package/client.d.ts.map +1 -1
- package/client.js +30 -0
- package/client.js.map +1 -1
- package/client.mjs +30 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/ai/ai.d.mts +6 -2
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +6 -2
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js +4 -0
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs +5 -1
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +256 -46
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +256 -46
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/ai/assistants/versions.d.mts +34 -12
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +34 -12
- package/resources/ai/assistants/versions.d.ts.map +1 -1
- package/resources/ai/audio.d.mts +78 -43
- package/resources/ai/audio.d.mts.map +1 -1
- package/resources/ai/audio.d.ts +78 -43
- package/resources/ai/audio.d.ts.map +1 -1
- package/resources/ai/audio.js.map +1 -1
- package/resources/ai/audio.mjs.map +1 -1
- package/resources/ai/chat.d.mts +2 -10
- package/resources/ai/chat.d.mts.map +1 -1
- package/resources/ai/chat.d.ts +2 -10
- package/resources/ai/chat.d.ts.map +1 -1
- package/resources/ai/chat.js.map +1 -1
- package/resources/ai/chat.mjs.map +1 -1
- package/resources/ai/index.d.mts +2 -1
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +2 -1
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js +3 -1
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs +2 -1
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/openai/chat.d.mts +10 -11
- package/resources/ai/openai/chat.d.mts.map +1 -1
- package/resources/ai/openai/chat.d.ts +10 -11
- package/resources/ai/openai/chat.d.ts.map +1 -1
- package/resources/ai/openai/chat.js.map +1 -1
- package/resources/ai/openai/chat.mjs.map +1 -1
- package/resources/ai/openai/index.d.mts +1 -1
- package/resources/ai/openai/index.d.mts.map +1 -1
- package/resources/ai/openai/index.d.ts +1 -1
- package/resources/ai/openai/index.d.ts.map +1 -1
- package/resources/ai/openai/index.js.map +1 -1
- package/resources/ai/openai/index.mjs +1 -1
- package/resources/ai/openai/index.mjs.map +1 -1
- package/resources/ai/openai/openai.d.mts +2 -2
- package/resources/ai/openai/openai.d.mts.map +1 -1
- package/resources/ai/openai/openai.d.ts +2 -2
- package/resources/ai/openai/openai.d.ts.map +1 -1
- package/resources/ai/openai/openai.js.map +1 -1
- package/resources/ai/openai/openai.mjs.map +1 -1
- package/resources/ai/typesafe/index.d.mts +3 -0
- package/resources/ai/typesafe/index.d.mts.map +1 -0
- package/resources/ai/typesafe/index.d.ts +3 -0
- package/resources/ai/typesafe/index.d.ts.map +1 -0
- package/resources/ai/typesafe/index.js +9 -0
- package/resources/ai/typesafe/index.js.map +1 -0
- package/resources/ai/typesafe/index.mjs +4 -0
- package/resources/ai/typesafe/index.mjs.map +1 -0
- package/resources/ai/typesafe/typesafe.d.mts +10 -0
- package/resources/ai/typesafe/typesafe.d.mts.map +1 -0
- package/resources/ai/typesafe/typesafe.d.ts +10 -0
- package/resources/ai/typesafe/typesafe.d.ts.map +1 -0
- package/resources/ai/typesafe/typesafe.js +17 -0
- package/resources/ai/typesafe/typesafe.js.map +1 -0
- package/resources/ai/typesafe/typesafe.mjs +12 -0
- package/resources/ai/typesafe/typesafe.mjs.map +1 -0
- package/resources/ai/typesafe/v1.d.mts +274 -0
- package/resources/ai/typesafe/v1.d.mts.map +1 -0
- package/resources/ai/typesafe/v1.d.ts +274 -0
- package/resources/ai/typesafe/v1.d.ts.map +1 -0
- package/resources/ai/typesafe/v1.js +67 -0
- package/resources/ai/typesafe/v1.js.map +1 -0
- package/resources/ai/typesafe/v1.mjs +63 -0
- package/resources/ai/typesafe/v1.mjs.map +1 -0
- package/resources/ai/typesafe.d.mts +2 -0
- package/resources/ai/typesafe.d.mts.map +1 -0
- package/resources/ai/typesafe.d.ts +2 -0
- package/resources/ai/typesafe.d.ts.map +1 -0
- package/resources/ai/typesafe.js +6 -0
- package/resources/ai/typesafe.js.map +1 -0
- package/resources/ai/typesafe.mjs +3 -0
- package/resources/ai/typesafe.mjs.map +1 -0
- package/resources/bot-challenge.d.mts +80 -0
- package/resources/bot-challenge.d.mts.map +1 -0
- package/resources/bot-challenge.d.ts +80 -0
- package/resources/bot-challenge.d.ts.map +1 -0
- package/resources/bot-challenge.js +35 -0
- package/resources/bot-challenge.js.map +1 -0
- package/resources/bot-challenge.mjs +31 -0
- package/resources/bot-challenge.mjs.map +1 -0
- package/resources/bot-sessions.d.mts +49 -0
- package/resources/bot-sessions.d.mts.map +1 -0
- package/resources/bot-sessions.d.ts +49 -0
- package/resources/bot-sessions.d.ts.map +1 -0
- package/resources/bot-sessions.js +28 -0
- package/resources/bot-sessions.js.map +1 -0
- package/resources/bot-sessions.mjs +24 -0
- package/resources/bot-sessions.mjs.map +1 -0
- package/resources/bot-signup.d.mts +114 -0
- package/resources/bot-signup.d.mts.map +1 -0
- package/resources/bot-signup.d.ts +114 -0
- package/resources/bot-signup.d.ts.map +1 -0
- package/resources/bot-signup.js +63 -0
- package/resources/bot-signup.js.map +1 -0
- package/resources/bot-signup.mjs +59 -0
- package/resources/bot-signup.mjs.map +1 -0
- package/resources/calls/actions.d.mts +57 -11
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +57 -11
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/calls.d.mts +45 -5
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +45 -5
- 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/compute/compute.d.mts +2 -2
- package/resources/compute/compute.d.mts.map +1 -1
- package/resources/compute/compute.d.ts +2 -2
- package/resources/compute/compute.d.ts.map +1 -1
- package/resources/compute/compute.js +2 -2
- package/resources/compute/compute.js.map +1 -1
- package/resources/compute/compute.mjs +2 -2
- package/resources/compute/compute.mjs.map +1 -1
- package/resources/compute/funcs/export.d.mts +121 -0
- package/resources/compute/funcs/export.d.mts.map +1 -0
- package/resources/compute/funcs/export.d.ts +121 -0
- package/resources/compute/funcs/export.d.ts.map +1 -0
- package/resources/compute/funcs/export.js +68 -0
- package/resources/compute/funcs/export.js.map +1 -0
- package/resources/compute/funcs/export.mjs +64 -0
- package/resources/compute/funcs/export.mjs.map +1 -0
- package/resources/compute/funcs/funcs.d.mts +214 -0
- package/resources/compute/funcs/funcs.d.mts.map +1 -0
- package/resources/compute/funcs/funcs.d.ts +214 -0
- package/resources/compute/funcs/funcs.d.ts.map +1 -0
- package/resources/compute/funcs/funcs.js +80 -0
- package/resources/compute/funcs/funcs.js.map +1 -0
- package/resources/compute/funcs/funcs.mjs +75 -0
- package/resources/compute/funcs/funcs.mjs.map +1 -0
- package/resources/compute/funcs/index.d.mts +3 -0
- package/resources/compute/funcs/index.d.mts.map +1 -0
- package/resources/compute/funcs/index.d.ts +3 -0
- package/resources/compute/funcs/index.d.ts.map +1 -0
- package/resources/compute/funcs/index.js +9 -0
- package/resources/compute/funcs/index.js.map +1 -0
- package/resources/compute/funcs/index.mjs +4 -0
- package/resources/compute/funcs/index.mjs.map +1 -0
- package/resources/compute/funcs.d.mts +1 -178
- package/resources/compute/funcs.d.mts.map +1 -1
- package/resources/compute/funcs.d.ts +1 -178
- package/resources/compute/funcs.d.ts.map +1 -1
- package/resources/compute/funcs.js +2 -37
- package/resources/compute/funcs.js.map +1 -1
- package/resources/compute/funcs.mjs +1 -35
- package/resources/compute/funcs.mjs.map +1 -1
- package/resources/compute/index.d.mts +1 -1
- package/resources/compute/index.d.mts.map +1 -1
- package/resources/compute/index.d.ts +1 -1
- package/resources/compute/index.d.ts.map +1 -1
- package/resources/compute/index.js +2 -2
- package/resources/compute/index.js.map +1 -1
- package/resources/compute/index.mjs +1 -1
- package/resources/compute/index.mjs.map +1 -1
- package/resources/connections.d.mts +109 -1
- package/resources/connections.d.mts.map +1 -1
- package/resources/connections.d.ts +109 -1
- package/resources/connections.d.ts.map +1 -1
- package/resources/connections.js +8 -0
- package/resources/connections.js.map +1 -1
- package/resources/connections.mjs +8 -0
- package/resources/connections.mjs.map +1 -1
- package/resources/detail-records.d.mts +18 -1
- package/resources/detail-records.d.mts.map +1 -1
- package/resources/detail-records.d.ts +18 -1
- package/resources/detail-records.d.ts.map +1 -1
- package/resources/email-messages/email-messages.d.mts +5 -3
- package/resources/email-messages/email-messages.d.mts.map +1 -1
- package/resources/email-messages/email-messages.d.ts +5 -3
- package/resources/email-messages/email-messages.d.ts.map +1 -1
- package/resources/email-messages/email-messages.js +5 -3
- package/resources/email-messages/email-messages.js.map +1 -1
- package/resources/email-messages/email-messages.mjs +5 -3
- package/resources/email-messages/email-messages.mjs.map +1 -1
- package/resources/index.d.mts +7 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +7 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +14 -4
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +5 -0
- package/resources/index.mjs.map +1 -1
- package/resources/machine-payments.d.mts +142 -0
- package/resources/machine-payments.d.mts.map +1 -0
- package/resources/machine-payments.d.ts +142 -0
- package/resources/machine-payments.d.ts.map +1 -0
- package/resources/machine-payments.js +56 -0
- package/resources/machine-payments.js.map +1 -0
- package/resources/machine-payments.mjs +52 -0
- package/resources/machine-payments.mjs.map +1 -0
- package/resources/messages/messages.d.mts +135 -23
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +135 -23
- 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/resources/noise-suppression-engines.d.mts +42 -0
- package/resources/noise-suppression-engines.d.mts.map +1 -0
- package/resources/noise-suppression-engines.d.ts +42 -0
- package/resources/noise-suppression-engines.d.ts.map +1 -0
- package/resources/noise-suppression-engines.js +21 -0
- package/resources/noise-suppression-engines.js.map +1 -0
- package/resources/noise-suppression-engines.mjs +17 -0
- package/resources/noise-suppression-engines.mjs.map +1 -0
- package/resources/speech-to-text/speech-to-text.d.mts +1 -1
- package/resources/speech-to-text/speech-to-text.d.mts.map +1 -1
- package/resources/speech-to-text/speech-to-text.d.ts +1 -1
- package/resources/speech-to-text/speech-to-text.d.ts.map +1 -1
- package/resources/texml/accounts/calls/calls.d.mts +117 -0
- package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
- package/resources/texml/accounts/calls/calls.d.ts +117 -0
- package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
- package/resources/texml/accounts/calls/calls.js.map +1 -1
- package/resources/texml/accounts/calls/calls.mjs.map +1 -1
- package/resources/texml/accounts/conferences/participants.d.mts +39 -0
- package/resources/texml/accounts/conferences/participants.d.mts.map +1 -1
- package/resources/texml/accounts/conferences/participants.d.ts +39 -0
- package/resources/texml/accounts/conferences/participants.d.ts.map +1 -1
- package/resources/texml/calls.d.mts +71 -0
- package/resources/texml/calls.d.mts.map +1 -0
- package/resources/texml/calls.d.ts +71 -0
- package/resources/texml/calls.d.ts.map +1 -0
- package/resources/texml/calls.js +33 -0
- package/resources/texml/calls.js.map +1 -0
- package/resources/texml/calls.mjs +29 -0
- package/resources/texml/calls.mjs.map +1 -0
- package/resources/texml/index.d.mts +1 -0
- package/resources/texml/index.d.mts.map +1 -1
- package/resources/texml/index.d.ts +1 -0
- package/resources/texml/index.d.ts.map +1 -1
- package/resources/texml/index.js +3 -1
- package/resources/texml/index.js.map +1 -1
- package/resources/texml/index.mjs +1 -0
- package/resources/texml/index.mjs.map +1 -1
- package/resources/texml/texml.d.mts +43 -0
- package/resources/texml/texml.d.mts.map +1 -1
- package/resources/texml/texml.d.ts +43 -0
- package/resources/texml/texml.d.ts.map +1 -1
- package/resources/texml/texml.js +4 -0
- package/resources/texml/texml.js.map +1 -1
- package/resources/texml/texml.mjs +4 -0
- package/resources/texml/texml.mjs.map +1 -1
- package/resources/voice-clones.d.mts +6 -4
- package/resources/voice-clones.d.mts.map +1 -1
- package/resources/voice-clones.d.ts +6 -4
- package/resources/voice-clones.d.ts.map +1 -1
- package/resources/voice-clones.js +4 -2
- package/resources/voice-clones.js.map +1 -1
- package/resources/voice-clones.mjs +4 -2
- package/resources/voice-clones.mjs.map +1 -1
- package/resources/webhooks.d.mts +26 -49
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +26 -49
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +80 -0
- package/src/resources/ai/ai.ts +13 -1
- package/src/resources/ai/assistants/assistants.ts +281 -45
- package/src/resources/ai/assistants/versions.ts +34 -12
- package/src/resources/ai/audio.ts +93 -45
- package/src/resources/ai/chat.ts +2 -11
- package/src/resources/ai/index.ts +7 -1
- package/src/resources/ai/openai/chat.ts +11 -11
- package/src/resources/ai/openai/index.ts +6 -1
- package/src/resources/ai/openai/openai.ts +2 -1
- package/src/resources/ai/typesafe/index.ts +4 -0
- package/src/resources/ai/typesafe/typesafe.ts +19 -0
- package/src/resources/ai/typesafe/v1.ts +298 -0
- package/src/resources/ai/typesafe.ts +3 -0
- package/src/resources/bot-challenge.ts +101 -0
- package/src/resources/bot-sessions.ts +61 -0
- package/src/resources/bot-signup.ts +140 -0
- package/src/resources/calls/actions.ts +65 -10
- package/src/resources/calls/calls.ts +52 -5
- package/src/resources/compute/compute.ts +2 -2
- package/src/resources/compute/funcs/export.ts +156 -0
- package/src/resources/compute/funcs/funcs.ts +341 -0
- package/src/resources/compute/funcs/index.ts +15 -0
- package/src/resources/compute/funcs.ts +1 -296
- package/src/resources/compute/index.ts +1 -1
- package/src/resources/connections.ts +133 -0
- package/src/resources/detail-records.ts +18 -1
- package/src/resources/email-messages/email-messages.ts +5 -3
- package/src/resources/index.ts +23 -0
- package/src/resources/machine-payments.ts +169 -0
- package/src/resources/messages/messages.ts +168 -23
- package/src/resources/noise-suppression-engines.ts +51 -0
- package/src/resources/speech-to-text/speech-to-text.ts +1 -0
- package/src/resources/texml/accounts/calls/calls.ts +138 -0
- package/src/resources/texml/accounts/conferences/participants.ts +46 -0
- package/src/resources/texml/calls.ts +90 -0
- package/src/resources/texml/index.ts +1 -0
- package/src/resources/texml/texml.ts +56 -0
- package/src/resources/voice-clones.ts +6 -4
- package/src/resources/webhooks.ts +31 -58
- 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
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import * as CallsAPI from "./calls.mjs";
|
|
4
|
+
import { Calls } from "./calls.mjs";
|
|
3
5
|
import * as AccountsAPI from "./accounts/accounts.mjs";
|
|
4
6
|
import { Accounts, } from "./accounts/accounts.mjs";
|
|
5
7
|
import { path } from "../../internal/utils/path.mjs";
|
|
@@ -9,6 +11,7 @@ import { path } from "../../internal/utils/path.mjs";
|
|
|
9
11
|
export class Texml extends APIResource {
|
|
10
12
|
constructor() {
|
|
11
13
|
super(...arguments);
|
|
14
|
+
this.calls = new CallsAPI.Calls(this._client);
|
|
12
15
|
this.accounts = new AccountsAPI.Accounts(this._client);
|
|
13
16
|
}
|
|
14
17
|
/**
|
|
@@ -66,5 +69,6 @@ export class Texml extends APIResource {
|
|
|
66
69
|
});
|
|
67
70
|
}
|
|
68
71
|
}
|
|
72
|
+
Texml.Calls = Calls;
|
|
69
73
|
Texml.Accounts = Accounts;
|
|
70
74
|
//# sourceMappingURL=texml.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"texml.mjs","sourceRoot":"","sources":["../../src/resources/texml/texml.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,WAAW,gCAA4B;AACnD,OAAO,EAIL,QAAQ,GAGT,gCAA4B;AAG7B,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA6D1E,CAAC;IA3DC;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,IAAwB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,cAAc,CACZ,YAAoB,EACpB,MAAiC,EACjC,OAAwB;QAExB,MAAM,EAAE,eAAe,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,mBAAmB,YAAY,EAAE,EAAE;YAC9D,IAAI,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,GAAG,IAAI,EAAE;YAC3C,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;
|
|
1
|
+
{"version":3,"file":"texml.mjs","sourceRoot":"","sources":["../../src/resources/texml/texml.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAAwC,KAAK,EAAE,oBAAgB;AACtE,OAAO,KAAK,WAAW,gCAA4B;AACnD,OAAO,EAIL,QAAQ,GAGT,gCAA4B;AAG7B,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA6D1E,CAAC;IA3DC;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,IAAwB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,cAAc,CACZ,YAAoB,EACpB,MAAiC,EACjC,OAAwB;QAExB,MAAM,EAAE,eAAe,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,mBAAmB,YAAY,EAAE,EAAE;YAC9D,IAAI,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,GAAG,IAAI,EAAE;YAC3C,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAoVD,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC;AACpB,KAAK,CAAC,QAAQ,GAAG,QAAQ,CAAC"}
|
|
@@ -39,8 +39,10 @@ export declare class VoiceClones extends APIResource {
|
|
|
39
39
|
create(params: VoiceCloneCreateParams, options?: RequestOptions): APIPromise<VoiceCloneResponse>;
|
|
40
40
|
/**
|
|
41
41
|
* Creates a new voice clone by uploading an audio file directly. Supported
|
|
42
|
-
* formats: WAV, MP3, FLAC, OGG, M4A. For best results, provide 5–
|
|
43
|
-
* clear speech
|
|
42
|
+
* formats: WAV, MP3, FLAC, OGG, M4A. For best results, provide 5–60 seconds of
|
|
43
|
+
* clear speech (Ultra accepts up to 60 seconds; Qwen3TTS auto-trims to 10 seconds;
|
|
44
|
+
* Minimax accepts up to 5 minutes). Maximum file size: 5MB for Telnyx, 20MB for
|
|
45
|
+
* Minimax.
|
|
44
46
|
*
|
|
45
47
|
* @example
|
|
46
48
|
* ```ts
|
|
@@ -320,8 +322,8 @@ export declare namespace VoiceCloneCreateFromUploadParams {
|
|
|
320
322
|
interface TelnyxUltraClone {
|
|
321
323
|
/**
|
|
322
324
|
* Audio file to clone the voice from. Supported formats: WAV, MP3, FLAC, OGG, M4A.
|
|
323
|
-
* For best quality, provide
|
|
324
|
-
* size: 5MB.
|
|
325
|
+
* For best quality, provide up to 60 seconds of clear, uninterrupted speech.
|
|
326
|
+
* Maximum size: 5MB.
|
|
325
327
|
*/
|
|
326
328
|
audio_file: Uploadable;
|
|
327
329
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice-clones.d.mts","sourceRoot":"","sources":["../src/resources/voice-clones.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,+BAA2B;AAC1G,OAAO,EAAE,KAAK,UAAU,EAAE,4BAAwB;AAElD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAI7D;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,mCAAmC,EAA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AAS,CAAC;QAEtC;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,QAAQ,EAAE,QAAQ,GAAG,SAAS,CAAC;QAE/B;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,QAAQ,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;QAErC;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB;CACF;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;IAEvC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -39,8 +39,10 @@ export declare class VoiceClones extends APIResource {
|
|
|
39
39
|
create(params: VoiceCloneCreateParams, options?: RequestOptions): APIPromise<VoiceCloneResponse>;
|
|
40
40
|
/**
|
|
41
41
|
* Creates a new voice clone by uploading an audio file directly. Supported
|
|
42
|
-
* formats: WAV, MP3, FLAC, OGG, M4A. For best results, provide 5–
|
|
43
|
-
* clear speech
|
|
42
|
+
* formats: WAV, MP3, FLAC, OGG, M4A. For best results, provide 5–60 seconds of
|
|
43
|
+
* clear speech (Ultra accepts up to 60 seconds; Qwen3TTS auto-trims to 10 seconds;
|
|
44
|
+
* Minimax accepts up to 5 minutes). Maximum file size: 5MB for Telnyx, 20MB for
|
|
45
|
+
* Minimax.
|
|
44
46
|
*
|
|
45
47
|
* @example
|
|
46
48
|
* ```ts
|
|
@@ -320,8 +322,8 @@ export declare namespace VoiceCloneCreateFromUploadParams {
|
|
|
320
322
|
interface TelnyxUltraClone {
|
|
321
323
|
/**
|
|
322
324
|
* Audio file to clone the voice from. Supported formats: WAV, MP3, FLAC, OGG, M4A.
|
|
323
|
-
* For best quality, provide
|
|
324
|
-
* size: 5MB.
|
|
325
|
+
* For best quality, provide up to 60 seconds of clear, uninterrupted speech.
|
|
326
|
+
* Maximum size: 5MB.
|
|
325
327
|
*/
|
|
326
328
|
audio_file: Uploadable;
|
|
327
329
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice-clones.d.ts","sourceRoot":"","sources":["../src/resources/voice-clones.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,8BAA2B;AAC1G,OAAO,EAAE,KAAK,UAAU,EAAE,2BAAwB;AAElD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAI7D;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,mCAAmC,EAAE,cAAc,CAAC;IAOnE;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,MAAM,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAKhG
|
|
1
|
+
{"version":3,"file":"voice-clones.d.ts","sourceRoot":"","sources":["../src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;;WAEG;QACH,QAAQ,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;QAErC;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB;CACF;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;IAEvC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -51,8 +51,10 @@ class VoiceClones extends resource_1.APIResource {
|
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
53
|
* Creates a new voice clone by uploading an audio file directly. Supported
|
|
54
|
-
* formats: WAV, MP3, FLAC, OGG, M4A. For best results, provide 5–
|
|
55
|
-
* clear speech
|
|
54
|
+
* formats: WAV, MP3, FLAC, OGG, M4A. For best results, provide 5–60 seconds of
|
|
55
|
+
* clear speech (Ultra accepts up to 60 seconds; Qwen3TTS auto-trims to 10 seconds;
|
|
56
|
+
* Minimax accepts up to 5 minutes). Maximum file size: 5MB for Telnyx, 20MB for
|
|
57
|
+
* Minimax.
|
|
56
58
|
*
|
|
57
59
|
* @example
|
|
58
60
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice-clones.js","sourceRoot":"","sources":["../src/resources/voice-clones.ts"],"names":[],"mappings":";AAAA,sF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ACF;AAhID,kCAgIC"}
|
|
@@ -48,8 +48,10 @@ export class VoiceClones extends APIResource {
|
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Creates a new voice clone by uploading an audio file directly. Supported
|
|
51
|
-
* formats: WAV, MP3, FLAC, OGG, M4A. For best results, provide 5–
|
|
52
|
-
* clear speech
|
|
51
|
+
* formats: WAV, MP3, FLAC, OGG, M4A. For best results, provide 5–60 seconds of
|
|
52
|
+
* clear speech (Ultra accepts up to 60 seconds; Qwen3TTS auto-trims to 10 seconds;
|
|
53
|
+
* Minimax accepts up to 5 minutes). Maximum file size: 5MB for Telnyx, 20MB for
|
|
54
|
+
* Minimax.
|
|
53
55
|
*
|
|
54
56
|
* @example
|
|
55
57
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voice-clones.mjs","sourceRoot":"","sources":["../src/resources/voice-clones.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,qBAAqB,EAAiD,+BAA2B;AAE1G,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,2BAA2B,EAAE,gCAA4B;AAClE,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,eAAe,EAAE,CAAA,qBAAqC,CAAA,EAAE;YACrF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,MAA8B,EAAE,OAAwB;QAC7D,MAAM,EAAE,mBAAmB,EAAE,GAAG,MAAM,CAAC;QACvC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE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AM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,iBAAiB,EAAE,EAAE,EAAE;YACpD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAU,EAAE,IAA4B,EAAE,OAAwB;QACvE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,iBAAiB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,cAAc,CAAC,EAAU,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,iBAAiB,EAAE,SAAS,EAAE;YACxD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YAClE,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/resources/webhooks.d.mts
CHANGED
|
@@ -3513,6 +3513,25 @@ export interface InboundSipHeader {
|
|
|
3513
3513
|
*/
|
|
3514
3514
|
value: string;
|
|
3515
3515
|
}
|
|
3516
|
+
export interface MessagingInboundMessage {
|
|
3517
|
+
/**
|
|
3518
|
+
* Identifies the type of resource.
|
|
3519
|
+
*/
|
|
3520
|
+
id?: string;
|
|
3521
|
+
/**
|
|
3522
|
+
* The type of event being delivered.
|
|
3523
|
+
*/
|
|
3524
|
+
event_type?: 'message.received';
|
|
3525
|
+
/**
|
|
3526
|
+
* ISO 8601 formatted date indicating when the resource was created.
|
|
3527
|
+
*/
|
|
3528
|
+
occurred_at?: string;
|
|
3529
|
+
payload?: MessagesAPI.MessagingInboundMessagePayload;
|
|
3530
|
+
/**
|
|
3531
|
+
* Identifies the type of the resource.
|
|
3532
|
+
*/
|
|
3533
|
+
record_type?: 'event';
|
|
3534
|
+
}
|
|
3516
3535
|
export interface NumberOrderStatusUpdate {
|
|
3517
3536
|
data: NumberOrderStatusUpdate.Data;
|
|
3518
3537
|
meta: NumberOrderStatusUpdate.Meta;
|
|
@@ -3526,7 +3545,7 @@ export declare namespace NumberOrderStatusUpdate {
|
|
|
3526
3545
|
/**
|
|
3527
3546
|
* The type of event being sent
|
|
3528
3547
|
*/
|
|
3529
|
-
event_type:
|
|
3548
|
+
event_type: 'number_order.complete';
|
|
3530
3549
|
/**
|
|
3531
3550
|
* ISO 8601 timestamp of when the event occurred
|
|
3532
3551
|
*/
|
|
@@ -3556,7 +3575,7 @@ export interface OutboundMessage {
|
|
|
3556
3575
|
/**
|
|
3557
3576
|
* The type of event being delivered.
|
|
3558
3577
|
*/
|
|
3559
|
-
event_type?: 'message.sent' | 'message.finalized';
|
|
3578
|
+
event_type?: 'message.sent' | 'message.finalized' | 'message.read';
|
|
3560
3579
|
/**
|
|
3561
3580
|
* ISO 8601 formatted date indicating when the resource was created.
|
|
3562
3581
|
*/
|
|
@@ -4710,28 +4729,7 @@ export declare namespace HostedNumberOrderEventWebhookEvent {
|
|
|
4710
4729
|
}
|
|
4711
4730
|
}
|
|
4712
4731
|
export interface InboundMessageWebhookEvent {
|
|
4713
|
-
data?:
|
|
4714
|
-
}
|
|
4715
|
-
export declare namespace InboundMessageWebhookEvent {
|
|
4716
|
-
interface Data {
|
|
4717
|
-
/**
|
|
4718
|
-
* Identifies the type of resource.
|
|
4719
|
-
*/
|
|
4720
|
-
id?: string;
|
|
4721
|
-
/**
|
|
4722
|
-
* The type of event being delivered.
|
|
4723
|
-
*/
|
|
4724
|
-
event_type?: 'message.received';
|
|
4725
|
-
/**
|
|
4726
|
-
* ISO 8601 formatted date indicating when the resource was created.
|
|
4727
|
-
*/
|
|
4728
|
-
occurred_at?: string;
|
|
4729
|
-
payload?: MessagesAPI.MessagingInboundMessagePayload;
|
|
4730
|
-
/**
|
|
4731
|
-
* Identifies the type of the resource.
|
|
4732
|
-
*/
|
|
4733
|
-
record_type?: 'event';
|
|
4734
|
-
}
|
|
4732
|
+
data?: MessagingInboundMessage;
|
|
4735
4733
|
}
|
|
4736
4734
|
export interface NumberOrderStatusUpdateWebhookEvent {
|
|
4737
4735
|
data: NumberOrderStatusUpdateWebhookEvent.Data;
|
|
@@ -4746,7 +4744,7 @@ export declare namespace NumberOrderStatusUpdateWebhookEvent {
|
|
|
4746
4744
|
/**
|
|
4747
4745
|
* The type of event being sent
|
|
4748
4746
|
*/
|
|
4749
|
-
event_type:
|
|
4747
|
+
event_type: 'number_order.complete';
|
|
4750
4748
|
/**
|
|
4751
4749
|
* ISO 8601 timestamp of when the event occurred
|
|
4752
4750
|
*/
|
|
@@ -5933,28 +5931,7 @@ export declare namespace HostedNumberOrderEventWebhookEvent {
|
|
|
5933
5931
|
}
|
|
5934
5932
|
}
|
|
5935
5933
|
export interface InboundMessageWebhookEvent {
|
|
5936
|
-
data?:
|
|
5937
|
-
}
|
|
5938
|
-
export declare namespace InboundMessageWebhookEvent {
|
|
5939
|
-
interface Data {
|
|
5940
|
-
/**
|
|
5941
|
-
* Identifies the type of resource.
|
|
5942
|
-
*/
|
|
5943
|
-
id?: string;
|
|
5944
|
-
/**
|
|
5945
|
-
* The type of event being delivered.
|
|
5946
|
-
*/
|
|
5947
|
-
event_type?: 'message.received';
|
|
5948
|
-
/**
|
|
5949
|
-
* ISO 8601 formatted date indicating when the resource was created.
|
|
5950
|
-
*/
|
|
5951
|
-
occurred_at?: string;
|
|
5952
|
-
payload?: MessagesAPI.MessagingInboundMessagePayload;
|
|
5953
|
-
/**
|
|
5954
|
-
* Identifies the type of the resource.
|
|
5955
|
-
*/
|
|
5956
|
-
record_type?: 'event';
|
|
5957
|
-
}
|
|
5934
|
+
data?: MessagingInboundMessage;
|
|
5958
5935
|
}
|
|
5959
5936
|
export interface NumberOrderStatusUpdateWebhookEvent {
|
|
5960
5937
|
data: NumberOrderStatusUpdateWebhookEvent.Data;
|
|
@@ -5969,7 +5946,7 @@ export declare namespace NumberOrderStatusUpdateWebhookEvent {
|
|
|
5969
5946
|
/**
|
|
5970
5947
|
* The type of event being sent
|
|
5971
5948
|
*/
|
|
5972
|
-
event_type:
|
|
5949
|
+
event_type: 'number_order.complete';
|
|
5973
5950
|
/**
|
|
5974
5951
|
* ISO 8601 timestamp of when the event occurred
|
|
5975
5952
|
*/
|
|
@@ -6234,6 +6211,6 @@ export interface TranscriptionWebhookEvent {
|
|
|
6234
6211
|
export type UnsafeUnwrapWebhookEvent = CallAIGatherEndedWebhookEvent | CallAIGatherMessageHistoryUpdatedWebhookEvent | CallAIGatherPartialResultsWebhookEvent | ArtifactCompletedWebhookEvent | ArtifactFailedWebhookEvent | CallAnsweredWebhookEvent | CallBridgedWebhookEvent | CallConversationEndedWebhookEvent | CallConversationInsightsGeneratedWebhookEvent | CallCostWebhookEvent | CallDeepfakeDetectionErrorWebhookEvent | CallDeepfakeDetectionResultWebhookEvent | CallDtmfReceivedWebhookEvent | CallEnqueuedWebhookEvent | CallForkStartedWebhookEvent | CallForkStoppedWebhookEvent | CallGatherEndedWebhookEvent | CallHangupWebhookEvent | CallHoldWebhookEvent | CallInitiatedWebhookEvent | CallLeftQueueWebhookEvent | CallMachineDetectionEndedWebhookEvent | CallMachineGreetingEndedWebhookEvent | CallMachinePremiumDetectionEndedWebhookEvent | CallMachinePremiumGreetingEndedWebhookEvent | CallPaymentCompletedWebhookEvent | CallPaymentProgressWebhookEvent | CallPlaybackEndedWebhookEvent | CallPlaybackStartedWebhookEvent | CallRecordingErrorWebhookEvent | CallRecordingSavedWebhookEvent | CallRecordingTranscriptionSavedWebhookEvent | CallReferCompletedWebhookEvent | CallReferFailedWebhookEvent | CallReferStartedWebhookEvent | CallSiprecFailedWebhookEvent | CallSiprecStartedWebhookEvent | CallSiprecStoppedWebhookEvent | CallSpeakEndedWebhookEvent | CallSpeakStartedWebhookEvent | CallStreamingFailedWebhookEvent | CallStreamingStartedWebhookEvent | CallStreamingStoppedWebhookEvent | CallUnholdWebhookEvent | CampaignStatusUpdate | ConferenceCreatedWebhookEvent | ConferenceEndedWebhookEvent | ConferenceFloorChanged | ConferenceParticipantJoinedWebhookEvent | ConferenceParticipantLeftWebhookEvent | ConferenceParticipantPlaybackEndedWebhookEvent | ConferenceParticipantPlaybackStartedWebhookEvent | ConferenceParticipantSpeakEndedWebhookEvent | ConferenceParticipantSpeakStartedWebhookEvent | ConferencePlaybackEndedWebhookEvent | ConferencePlaybackStartedWebhookEvent | ConferenceRecordingSavedWebhookEvent | ConferenceSpeakEndedWebhookEvent | ConferenceSpeakStartedWebhookEvent | DeliveryUpdateWebhookEvent | FaxDelivered | FaxFailed | FaxMediaProcessed | FaxQueued | FaxSendingStarted | HostedNumberOrderEventWebhookEvent | InboundMessageWebhookEvent | NumberOrderStatusUpdateWebhookEvent | RecordingAvailableWebhookEvent | ReplacedLinkClickWebhookEvent | SessionStatusChangedWebhookEvent | TranscriptCompletedWebhookEvent | TranscriptionWebhookEvent | WhatsappAccountUpdate | WhatsappMessageEcho;
|
|
6235
6212
|
export type UnwrapWebhookEvent = CallAIGatherEndedWebhookEvent | CallAIGatherMessageHistoryUpdatedWebhookEvent | CallAIGatherPartialResultsWebhookEvent | ArtifactCompletedWebhookEvent | ArtifactFailedWebhookEvent | CallAnsweredWebhookEvent | CallBridgedWebhookEvent | CallConversationEndedWebhookEvent | CallConversationInsightsGeneratedWebhookEvent | CallCostWebhookEvent | CallDeepfakeDetectionErrorWebhookEvent | CallDeepfakeDetectionResultWebhookEvent | CallDtmfReceivedWebhookEvent | CallEnqueuedWebhookEvent | CallForkStartedWebhookEvent | CallForkStoppedWebhookEvent | CallGatherEndedWebhookEvent | CallHangupWebhookEvent | CallHoldWebhookEvent | CallInitiatedWebhookEvent | CallLeftQueueWebhookEvent | CallMachineDetectionEndedWebhookEvent | CallMachineGreetingEndedWebhookEvent | CallMachinePremiumDetectionEndedWebhookEvent | CallMachinePremiumGreetingEndedWebhookEvent | CallPaymentCompletedWebhookEvent | CallPaymentProgressWebhookEvent | CallPlaybackEndedWebhookEvent | CallPlaybackStartedWebhookEvent | CallRecordingErrorWebhookEvent | CallRecordingSavedWebhookEvent | CallRecordingTranscriptionSavedWebhookEvent | CallReferCompletedWebhookEvent | CallReferFailedWebhookEvent | CallReferStartedWebhookEvent | CallSiprecFailedWebhookEvent | CallSiprecStartedWebhookEvent | CallSiprecStoppedWebhookEvent | CallSpeakEndedWebhookEvent | CallSpeakStartedWebhookEvent | CallStreamingFailedWebhookEvent | CallStreamingStartedWebhookEvent | CallStreamingStoppedWebhookEvent | CallUnholdWebhookEvent | CampaignStatusUpdate | ConferenceCreatedWebhookEvent | ConferenceEndedWebhookEvent | ConferenceFloorChanged | ConferenceParticipantJoinedWebhookEvent | ConferenceParticipantLeftWebhookEvent | ConferenceParticipantPlaybackEndedWebhookEvent | ConferenceParticipantPlaybackStartedWebhookEvent | ConferenceParticipantSpeakEndedWebhookEvent | ConferenceParticipantSpeakStartedWebhookEvent | ConferencePlaybackEndedWebhookEvent | ConferencePlaybackStartedWebhookEvent | ConferenceRecordingSavedWebhookEvent | ConferenceSpeakEndedWebhookEvent | ConferenceSpeakStartedWebhookEvent | DeliveryUpdateWebhookEvent | FaxDelivered | FaxFailed | FaxMediaProcessed | FaxQueued | FaxSendingStarted | HostedNumberOrderEventWebhookEvent | InboundMessageWebhookEvent | NumberOrderStatusUpdateWebhookEvent | RecordingAvailableWebhookEvent | ReplacedLinkClickWebhookEvent | SessionStatusChangedWebhookEvent | TranscriptCompletedWebhookEvent | TranscriptionWebhookEvent | WhatsappAccountUpdate | WhatsappMessageEcho;
|
|
6236
6213
|
export declare namespace Webhooks {
|
|
6237
|
-
export { type CallAIGatherEnded as CallAIGatherEnded, type CallAIGatherMessageHistoryUpdated as CallAIGatherMessageHistoryUpdated, type CallAIGatherPartialResults as CallAIGatherPartialResults, type CallAnswered as CallAnswered, type CallBridged as CallBridged, type CallConversationEnded as CallConversationEnded, type CallConversationInsightsGenerated as CallConversationInsightsGenerated, type CallDtmfReceived as CallDtmfReceived, type CallEnqueued as CallEnqueued, type CallForkStarted as CallForkStarted, type CallForkStopped as CallForkStopped, type CallGatherEnded as CallGatherEnded, type CallHangup as CallHangup, type CallInitiated as CallInitiated, type CallLeftQueue as CallLeftQueue, type CallMachineDetectionEnded as CallMachineDetectionEnded, type CallMachineGreetingEnded as CallMachineGreetingEnded, type CallMachinePremiumDetectionEnded as CallMachinePremiumDetectionEnded, type CallMachinePremiumGreetingEnded as CallMachinePremiumGreetingEnded, type CallPlaybackEnded as CallPlaybackEnded, type CallPlaybackStarted as CallPlaybackStarted, type CallRecordingError as CallRecordingError, type CallRecordingSaved as CallRecordingSaved, type CallRecordingTranscriptionSaved as CallRecordingTranscriptionSaved, type CallReferCompleted as CallReferCompleted, type CallReferFailed as CallReferFailed, type CallReferStarted as CallReferStarted, type CallSiprecFailed as CallSiprecFailed, type CallSiprecStarted as CallSiprecStarted, type CallSiprecStopped as CallSiprecStopped, type CallSpeakEnded as CallSpeakEnded, type CallSpeakStarted as CallSpeakStarted, type CallStreamingFailed as CallStreamingFailed, type CallStreamingStarted as CallStreamingStarted, type CallStreamingStopped as CallStreamingStopped, type CampaignStatusUpdate as CampaignStatusUpdate, type ConferenceCreated as ConferenceCreated, type ConferenceEnded as ConferenceEnded, type ConferenceFloorChanged as ConferenceFloorChanged, type ConferenceParticipantJoined as ConferenceParticipantJoined, type ConferenceParticipantLeft as ConferenceParticipantLeft, type ConferenceParticipantPlaybackEnded as ConferenceParticipantPlaybackEnded, type ConferenceParticipantPlaybackStarted as ConferenceParticipantPlaybackStarted, type ConferenceParticipantSpeakEnded as ConferenceParticipantSpeakEnded, type ConferenceParticipantSpeakStarted as ConferenceParticipantSpeakStarted, type ConferencePlaybackEnded as ConferencePlaybackEnded, type ConferencePlaybackStarted as ConferencePlaybackStarted, type ConferenceRecordingSaved as ConferenceRecordingSaved, type ConferenceSpeakEnded as ConferenceSpeakEnded, type ConferenceSpeakStarted as ConferenceSpeakStarted, type FaxDelivered as FaxDelivered, type FaxFailed as FaxFailed, type FaxMediaProcessed as FaxMediaProcessed, type FaxQueued as FaxQueued, type FaxSendingStarted as FaxSendingStarted, type InboundMessage as InboundMessage, type InboundSipHeader as InboundSipHeader, type NumberOrderStatusUpdate as NumberOrderStatusUpdate, type OutboundMessage as OutboundMessage, type ReplacedLinkClick as ReplacedLinkClick, type Transcription as Transcription, type WhatsappAccountUpdate as WhatsappAccountUpdate, type WhatsappMessageEcho as WhatsappMessageEcho, type CallAIGatherEndedWebhookEvent as CallAIGatherEndedWebhookEvent, type CallAIGatherMessageHistoryUpdatedWebhookEvent as CallAIGatherMessageHistoryUpdatedWebhookEvent, type CallAIGatherPartialResultsWebhookEvent as CallAIGatherPartialResultsWebhookEvent, type ArtifactCompletedWebhookEvent as ArtifactCompletedWebhookEvent, type ArtifactFailedWebhookEvent as ArtifactFailedWebhookEvent, type CallAnsweredWebhookEvent as CallAnsweredWebhookEvent, type CallBridgedWebhookEvent as CallBridgedWebhookEvent, type CallConversationEndedWebhookEvent as CallConversationEndedWebhookEvent, type CallConversationInsightsGeneratedWebhookEvent as CallConversationInsightsGeneratedWebhookEvent, type CallCostWebhookEvent as CallCostWebhookEvent, type CallDeepfakeDetectionErrorWebhookEvent as CallDeepfakeDetectionErrorWebhookEvent, type CallDeepfakeDetectionResultWebhookEvent as CallDeepfakeDetectionResultWebhookEvent, type CallDtmfReceivedWebhookEvent as CallDtmfReceivedWebhookEvent, type CallEnqueuedWebhookEvent as CallEnqueuedWebhookEvent, type CallForkStartedWebhookEvent as CallForkStartedWebhookEvent, type CallForkStoppedWebhookEvent as CallForkStoppedWebhookEvent, type CallGatherEndedWebhookEvent as CallGatherEndedWebhookEvent, type CallHangupWebhookEvent as CallHangupWebhookEvent, type CallHoldWebhookEvent as CallHoldWebhookEvent, type CallInitiatedWebhookEvent as CallInitiatedWebhookEvent, type CallLeftQueueWebhookEvent as CallLeftQueueWebhookEvent, type CallMachineDetectionEndedWebhookEvent as CallMachineDetectionEndedWebhookEvent, type CallMachineGreetingEndedWebhookEvent as CallMachineGreetingEndedWebhookEvent, type CallMachinePremiumDetectionEndedWebhookEvent as CallMachinePremiumDetectionEndedWebhookEvent, type CallMachinePremiumGreetingEndedWebhookEvent as CallMachinePremiumGreetingEndedWebhookEvent, type CallPaymentCompletedWebhookEvent as CallPaymentCompletedWebhookEvent, type CallPaymentProgressWebhookEvent as CallPaymentProgressWebhookEvent, type CallPlaybackEndedWebhookEvent as CallPlaybackEndedWebhookEvent, type CallPlaybackStartedWebhookEvent as CallPlaybackStartedWebhookEvent, type CallRecordingErrorWebhookEvent as CallRecordingErrorWebhookEvent, type CallRecordingSavedWebhookEvent as CallRecordingSavedWebhookEvent, type CallRecordingTranscriptionSavedWebhookEvent as CallRecordingTranscriptionSavedWebhookEvent, type CallReferCompletedWebhookEvent as CallReferCompletedWebhookEvent, type CallReferFailedWebhookEvent as CallReferFailedWebhookEvent, type CallReferStartedWebhookEvent as CallReferStartedWebhookEvent, type CallSiprecFailedWebhookEvent as CallSiprecFailedWebhookEvent, type CallSiprecStartedWebhookEvent as CallSiprecStartedWebhookEvent, type CallSiprecStoppedWebhookEvent as CallSiprecStoppedWebhookEvent, type CallSpeakEndedWebhookEvent as CallSpeakEndedWebhookEvent, type CallSpeakStartedWebhookEvent as CallSpeakStartedWebhookEvent, type CallStreamingFailedWebhookEvent as CallStreamingFailedWebhookEvent, type CallStreamingStartedWebhookEvent as CallStreamingStartedWebhookEvent, type CallStreamingStoppedWebhookEvent as CallStreamingStoppedWebhookEvent, type CallUnholdWebhookEvent as CallUnholdWebhookEvent, type ConferenceCreatedWebhookEvent as ConferenceCreatedWebhookEvent, type ConferenceEndedWebhookEvent as ConferenceEndedWebhookEvent, type ConferenceParticipantJoinedWebhookEvent as ConferenceParticipantJoinedWebhookEvent, type ConferenceParticipantLeftWebhookEvent as ConferenceParticipantLeftWebhookEvent, type ConferenceParticipantPlaybackEndedWebhookEvent as ConferenceParticipantPlaybackEndedWebhookEvent, type ConferenceParticipantPlaybackStartedWebhookEvent as ConferenceParticipantPlaybackStartedWebhookEvent, type ConferenceParticipantSpeakEndedWebhookEvent as ConferenceParticipantSpeakEndedWebhookEvent, type ConferenceParticipantSpeakStartedWebhookEvent as ConferenceParticipantSpeakStartedWebhookEvent, type ConferencePlaybackEndedWebhookEvent as ConferencePlaybackEndedWebhookEvent, type ConferencePlaybackStartedWebhookEvent as ConferencePlaybackStartedWebhookEvent, type ConferenceRecordingSavedWebhookEvent as ConferenceRecordingSavedWebhookEvent, type ConferenceSpeakEndedWebhookEvent as ConferenceSpeakEndedWebhookEvent, type ConferenceSpeakStartedWebhookEvent as ConferenceSpeakStartedWebhookEvent, type DeliveryUpdateWebhookEvent as DeliveryUpdateWebhookEvent, type HostedNumberOrderEventWebhookEvent as HostedNumberOrderEventWebhookEvent, type InboundMessageWebhookEvent as InboundMessageWebhookEvent, type NumberOrderStatusUpdateWebhookEvent as NumberOrderStatusUpdateWebhookEvent, type RecordingAvailableWebhookEvent as RecordingAvailableWebhookEvent, type ReplacedLinkClickWebhookEvent as ReplacedLinkClickWebhookEvent, type SessionStatusChangedWebhookEvent as SessionStatusChangedWebhookEvent, type TranscriptCompletedWebhookEvent as TranscriptCompletedWebhookEvent, type TranscriptionWebhookEvent as TranscriptionWebhookEvent, type UnsafeUnwrapWebhookEvent as UnsafeUnwrapWebhookEvent, type UnwrapWebhookEvent as UnwrapWebhookEvent, };
|
|
6214
|
+
export { type CallAIGatherEnded as CallAIGatherEnded, type CallAIGatherMessageHistoryUpdated as CallAIGatherMessageHistoryUpdated, type CallAIGatherPartialResults as CallAIGatherPartialResults, type CallAnswered as CallAnswered, type CallBridged as CallBridged, type CallConversationEnded as CallConversationEnded, type CallConversationInsightsGenerated as CallConversationInsightsGenerated, type CallDtmfReceived as CallDtmfReceived, type CallEnqueued as CallEnqueued, type CallForkStarted as CallForkStarted, type CallForkStopped as CallForkStopped, type CallGatherEnded as CallGatherEnded, type CallHangup as CallHangup, type CallInitiated as CallInitiated, type CallLeftQueue as CallLeftQueue, type CallMachineDetectionEnded as CallMachineDetectionEnded, type CallMachineGreetingEnded as CallMachineGreetingEnded, type CallMachinePremiumDetectionEnded as CallMachinePremiumDetectionEnded, type CallMachinePremiumGreetingEnded as CallMachinePremiumGreetingEnded, type CallPlaybackEnded as CallPlaybackEnded, type CallPlaybackStarted as CallPlaybackStarted, type CallRecordingError as CallRecordingError, type CallRecordingSaved as CallRecordingSaved, type CallRecordingTranscriptionSaved as CallRecordingTranscriptionSaved, type CallReferCompleted as CallReferCompleted, type CallReferFailed as CallReferFailed, type CallReferStarted as CallReferStarted, type CallSiprecFailed as CallSiprecFailed, type CallSiprecStarted as CallSiprecStarted, type CallSiprecStopped as CallSiprecStopped, type CallSpeakEnded as CallSpeakEnded, type CallSpeakStarted as CallSpeakStarted, type CallStreamingFailed as CallStreamingFailed, type CallStreamingStarted as CallStreamingStarted, type CallStreamingStopped as CallStreamingStopped, type CampaignStatusUpdate as CampaignStatusUpdate, type ConferenceCreated as ConferenceCreated, type ConferenceEnded as ConferenceEnded, type ConferenceFloorChanged as ConferenceFloorChanged, type ConferenceParticipantJoined as ConferenceParticipantJoined, type ConferenceParticipantLeft as ConferenceParticipantLeft, type ConferenceParticipantPlaybackEnded as ConferenceParticipantPlaybackEnded, type ConferenceParticipantPlaybackStarted as ConferenceParticipantPlaybackStarted, type ConferenceParticipantSpeakEnded as ConferenceParticipantSpeakEnded, type ConferenceParticipantSpeakStarted as ConferenceParticipantSpeakStarted, type ConferencePlaybackEnded as ConferencePlaybackEnded, type ConferencePlaybackStarted as ConferencePlaybackStarted, type ConferenceRecordingSaved as ConferenceRecordingSaved, type ConferenceSpeakEnded as ConferenceSpeakEnded, type ConferenceSpeakStarted as ConferenceSpeakStarted, type FaxDelivered as FaxDelivered, type FaxFailed as FaxFailed, type FaxMediaProcessed as FaxMediaProcessed, type FaxQueued as FaxQueued, type FaxSendingStarted as FaxSendingStarted, type InboundMessage as InboundMessage, type InboundSipHeader as InboundSipHeader, type MessagingInboundMessage as MessagingInboundMessage, type NumberOrderStatusUpdate as NumberOrderStatusUpdate, type OutboundMessage as OutboundMessage, type ReplacedLinkClick as ReplacedLinkClick, type Transcription as Transcription, type WhatsappAccountUpdate as WhatsappAccountUpdate, type WhatsappMessageEcho as WhatsappMessageEcho, type CallAIGatherEndedWebhookEvent as CallAIGatherEndedWebhookEvent, type CallAIGatherMessageHistoryUpdatedWebhookEvent as CallAIGatherMessageHistoryUpdatedWebhookEvent, type CallAIGatherPartialResultsWebhookEvent as CallAIGatherPartialResultsWebhookEvent, type ArtifactCompletedWebhookEvent as ArtifactCompletedWebhookEvent, type ArtifactFailedWebhookEvent as ArtifactFailedWebhookEvent, type CallAnsweredWebhookEvent as CallAnsweredWebhookEvent, type CallBridgedWebhookEvent as CallBridgedWebhookEvent, type CallConversationEndedWebhookEvent as CallConversationEndedWebhookEvent, type CallConversationInsightsGeneratedWebhookEvent as CallConversationInsightsGeneratedWebhookEvent, type CallCostWebhookEvent as CallCostWebhookEvent, type CallDeepfakeDetectionErrorWebhookEvent as CallDeepfakeDetectionErrorWebhookEvent, type CallDeepfakeDetectionResultWebhookEvent as CallDeepfakeDetectionResultWebhookEvent, type CallDtmfReceivedWebhookEvent as CallDtmfReceivedWebhookEvent, type CallEnqueuedWebhookEvent as CallEnqueuedWebhookEvent, type CallForkStartedWebhookEvent as CallForkStartedWebhookEvent, type CallForkStoppedWebhookEvent as CallForkStoppedWebhookEvent, type CallGatherEndedWebhookEvent as CallGatherEndedWebhookEvent, type CallHangupWebhookEvent as CallHangupWebhookEvent, type CallHoldWebhookEvent as CallHoldWebhookEvent, type CallInitiatedWebhookEvent as CallInitiatedWebhookEvent, type CallLeftQueueWebhookEvent as CallLeftQueueWebhookEvent, type CallMachineDetectionEndedWebhookEvent as CallMachineDetectionEndedWebhookEvent, type CallMachineGreetingEndedWebhookEvent as CallMachineGreetingEndedWebhookEvent, type CallMachinePremiumDetectionEndedWebhookEvent as CallMachinePremiumDetectionEndedWebhookEvent, type CallMachinePremiumGreetingEndedWebhookEvent as CallMachinePremiumGreetingEndedWebhookEvent, type CallPaymentCompletedWebhookEvent as CallPaymentCompletedWebhookEvent, type CallPaymentProgressWebhookEvent as CallPaymentProgressWebhookEvent, type CallPlaybackEndedWebhookEvent as CallPlaybackEndedWebhookEvent, type CallPlaybackStartedWebhookEvent as CallPlaybackStartedWebhookEvent, type CallRecordingErrorWebhookEvent as CallRecordingErrorWebhookEvent, type CallRecordingSavedWebhookEvent as CallRecordingSavedWebhookEvent, type CallRecordingTranscriptionSavedWebhookEvent as CallRecordingTranscriptionSavedWebhookEvent, type CallReferCompletedWebhookEvent as CallReferCompletedWebhookEvent, type CallReferFailedWebhookEvent as CallReferFailedWebhookEvent, type CallReferStartedWebhookEvent as CallReferStartedWebhookEvent, type CallSiprecFailedWebhookEvent as CallSiprecFailedWebhookEvent, type CallSiprecStartedWebhookEvent as CallSiprecStartedWebhookEvent, type CallSiprecStoppedWebhookEvent as CallSiprecStoppedWebhookEvent, type CallSpeakEndedWebhookEvent as CallSpeakEndedWebhookEvent, type CallSpeakStartedWebhookEvent as CallSpeakStartedWebhookEvent, type CallStreamingFailedWebhookEvent as CallStreamingFailedWebhookEvent, type CallStreamingStartedWebhookEvent as CallStreamingStartedWebhookEvent, type CallStreamingStoppedWebhookEvent as CallStreamingStoppedWebhookEvent, type CallUnholdWebhookEvent as CallUnholdWebhookEvent, type ConferenceCreatedWebhookEvent as ConferenceCreatedWebhookEvent, type ConferenceEndedWebhookEvent as ConferenceEndedWebhookEvent, type ConferenceParticipantJoinedWebhookEvent as ConferenceParticipantJoinedWebhookEvent, type ConferenceParticipantLeftWebhookEvent as ConferenceParticipantLeftWebhookEvent, type ConferenceParticipantPlaybackEndedWebhookEvent as ConferenceParticipantPlaybackEndedWebhookEvent, type ConferenceParticipantPlaybackStartedWebhookEvent as ConferenceParticipantPlaybackStartedWebhookEvent, type ConferenceParticipantSpeakEndedWebhookEvent as ConferenceParticipantSpeakEndedWebhookEvent, type ConferenceParticipantSpeakStartedWebhookEvent as ConferenceParticipantSpeakStartedWebhookEvent, type ConferencePlaybackEndedWebhookEvent as ConferencePlaybackEndedWebhookEvent, type ConferencePlaybackStartedWebhookEvent as ConferencePlaybackStartedWebhookEvent, type ConferenceRecordingSavedWebhookEvent as ConferenceRecordingSavedWebhookEvent, type ConferenceSpeakEndedWebhookEvent as ConferenceSpeakEndedWebhookEvent, type ConferenceSpeakStartedWebhookEvent as ConferenceSpeakStartedWebhookEvent, type DeliveryUpdateWebhookEvent as DeliveryUpdateWebhookEvent, type HostedNumberOrderEventWebhookEvent as HostedNumberOrderEventWebhookEvent, type InboundMessageWebhookEvent as InboundMessageWebhookEvent, type NumberOrderStatusUpdateWebhookEvent as NumberOrderStatusUpdateWebhookEvent, type RecordingAvailableWebhookEvent as RecordingAvailableWebhookEvent, type ReplacedLinkClickWebhookEvent as ReplacedLinkClickWebhookEvent, type SessionStatusChangedWebhookEvent as SessionStatusChangedWebhookEvent, type TranscriptCompletedWebhookEvent as TranscriptCompletedWebhookEvent, type TranscriptionWebhookEvent as TranscriptionWebhookEvent, type UnsafeUnwrapWebhookEvent as UnsafeUnwrapWebhookEvent, type UnwrapWebhookEvent as UnwrapWebhookEvent, };
|
|
6238
6215
|
}
|
|
6239
6216
|
//# sourceMappingURL=webhooks.d.mts.map
|