telnyx 7.21.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 +14 -0
- package/client.d.mts +39 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +39 -6
- package/client.d.ts.map +1 -1
- package/client.js +33 -0
- package/client.js.map +1 -1
- package/client.mjs +33 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/ai/ai.d.mts +8 -4
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +8 -4
- 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 +408 -47
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +408 -47
- 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/index.d.mts +1 -1
- package/resources/ai/assistants/index.d.mts.map +1 -1
- package/resources/ai/assistants/index.d.ts +1 -1
- package/resources/ai/assistants/index.d.ts.map +1 -1
- package/resources/ai/assistants/index.js.map +1 -1
- package/resources/ai/assistants/index.mjs.map +1 -1
- package/resources/ai/assistants/versions.d.mts +59 -12
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +59 -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 +59 -28
- package/resources/ai/chat.d.mts.map +1 -1
- package/resources/ai/chat.d.ts +59 -28
- 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 +3 -2
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +3 -2
- 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 +67 -29
- package/resources/ai/openai/chat.d.mts.map +1 -1
- package/resources/ai/openai/chat.d.ts +67 -29
- 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 +10 -0
- package/resources/compute/compute.d.mts.map +1 -0
- package/resources/compute/compute.d.ts +10 -0
- package/resources/compute/compute.d.ts.map +1 -0
- package/resources/compute/compute.js +17 -0
- package/resources/compute/compute.js.map +1 -0
- package/resources/compute/compute.mjs +12 -0
- package/resources/compute/compute.mjs.map +1 -0
- 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 +2 -0
- package/resources/compute/funcs.d.mts.map +1 -0
- package/resources/compute/funcs.d.ts +2 -0
- package/resources/compute/funcs.d.ts.map +1 -0
- package/resources/compute/funcs.js +6 -0
- package/resources/compute/funcs.js.map +1 -0
- package/resources/compute/funcs.mjs +3 -0
- package/resources/compute/funcs.mjs.map +1 -0
- package/resources/compute/index.d.mts +3 -0
- package/resources/compute/index.d.mts.map +1 -0
- package/resources/compute/index.d.ts +3 -0
- package/resources/compute/index.d.ts.map +1 -0
- package/resources/compute/index.js +9 -0
- package/resources/compute/index.js.map +1 -0
- package/resources/compute/index.mjs +4 -0
- package/resources/compute/index.mjs.map +1 -0
- package/resources/compute.d.mts +2 -0
- package/resources/compute.d.mts.map +1 -0
- package/resources/compute.d.ts +2 -0
- package/resources/compute.d.ts.map +1 -0
- package/resources/compute.js +6 -0
- package/resources/compute.js.map +1 -0
- package/resources/compute.mjs +3 -0
- package/resources/compute.mjs.map +1 -0
- 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/credential-connections/credential-connections.d.mts +4 -1
- package/resources/credential-connections/credential-connections.d.mts.map +1 -1
- package/resources/credential-connections/credential-connections.d.ts +4 -1
- package/resources/credential-connections/credential-connections.d.ts.map +1 -1
- package/resources/credential-connections/credential-connections.js.map +1 -1
- package/resources/credential-connections/credential-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-inboxes/drafts.d.mts +7 -0
- package/resources/email-inboxes/drafts.d.mts.map +1 -1
- package/resources/email-inboxes/drafts.d.ts +7 -0
- package/resources/email-inboxes/drafts.d.ts.map +1 -1
- package/resources/email-messages/email-messages.d.mts +9 -3
- package/resources/email-messages/email-messages.d.mts.map +1 -1
- package/resources/email-messages/email-messages.d.ts +9 -3
- package/resources/email-messages/email-messages.d.ts.map +1 -1
- package/resources/email-messages/email-messages.js +5 -1
- package/resources/email-messages/email-messages.js.map +1 -1
- package/resources/email-messages/email-messages.mjs +5 -1
- package/resources/email-messages/email-messages.mjs.map +1 -1
- package/resources/fqdn-connections/fqdn-authentication.d.mts +4 -1
- package/resources/fqdn-connections/fqdn-authentication.d.mts.map +1 -1
- package/resources/fqdn-connections/fqdn-authentication.d.ts +4 -1
- package/resources/fqdn-connections/fqdn-authentication.d.ts.map +1 -1
- package/resources/fqdn-connections/fqdn-connections.d.mts +4 -1
- package/resources/fqdn-connections/fqdn-connections.d.mts.map +1 -1
- package/resources/fqdn-connections/fqdn-connections.d.ts +4 -1
- package/resources/fqdn-connections/fqdn-connections.d.ts.map +1 -1
- package/resources/fqdn-connections/fqdn-connections.js.map +1 -1
- package/resources/fqdn-connections/fqdn-connections.mjs.map +1 -1
- package/resources/index.d.mts +9 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +9 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +16 -4
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +6 -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 +207 -22
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +207 -22
- 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/messaging-profiles/index.d.mts +1 -1
- package/resources/messaging-profiles/index.d.mts.map +1 -1
- package/resources/messaging-profiles/index.d.ts +1 -1
- package/resources/messaging-profiles/index.d.ts.map +1 -1
- package/resources/messaging-profiles/index.js.map +1 -1
- package/resources/messaging-profiles/index.mjs.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.d.mts +34 -1
- package/resources/messaging-profiles/messaging-profiles.d.mts.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.d.ts +34 -1
- package/resources/messaging-profiles/messaging-profiles.d.ts.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.js.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.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/uac-connections/uac-connections.d.mts +9 -2
- package/resources/uac-connections/uac-connections.d.mts.map +1 -1
- package/resources/uac-connections/uac-connections.d.ts +9 -2
- package/resources/uac-connections/uac-connections.d.ts.map +1 -1
- package/resources/uac-connections/uac-connections.js.map +1 -1
- package/resources/uac-connections/uac-connections.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 +154 -51
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +154 -51
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/whatsapp/business-accounts/phone-numbers.d.mts +33 -0
- package/resources/whatsapp/business-accounts/phone-numbers.d.mts.map +1 -1
- package/resources/whatsapp/business-accounts/phone-numbers.d.ts +33 -0
- package/resources/whatsapp/business-accounts/phone-numbers.d.ts.map +1 -1
- package/resources/whatsapp/index.d.mts +1 -1
- package/resources/whatsapp/index.d.mts.map +1 -1
- package/resources/whatsapp/index.d.ts +1 -1
- package/resources/whatsapp/index.d.ts.map +1 -1
- package/resources/whatsapp/index.js.map +1 -1
- package/resources/whatsapp/index.mjs.map +1 -1
- package/resources/whatsapp/phone-numbers/index.d.mts +1 -1
- package/resources/whatsapp/phone-numbers/index.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/index.d.ts +1 -1
- package/resources/whatsapp/phone-numbers/index.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/index.js.map +1 -1
- package/resources/whatsapp/phone-numbers/index.mjs.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.d.mts +147 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.d.ts +147 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.js +16 -0
- package/resources/whatsapp/phone-numbers/phone-numbers.js.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.mjs +16 -0
- package/resources/whatsapp/phone-numbers/phone-numbers.mjs.map +1 -1
- package/resources/whatsapp/whatsapp.d.mts +2 -2
- package/resources/whatsapp/whatsapp.d.mts.map +1 -1
- package/resources/whatsapp/whatsapp.d.ts +2 -2
- package/resources/whatsapp/whatsapp.d.ts.map +1 -1
- package/resources/whatsapp/whatsapp.js.map +1 -1
- package/resources/whatsapp/whatsapp.mjs.map +1 -1
- package/resources/x402/credit-account/credit-account.d.mts +226 -0
- package/resources/x402/credit-account/credit-account.d.mts.map +1 -0
- package/resources/x402/credit-account/credit-account.d.ts +226 -0
- package/resources/x402/credit-account/credit-account.d.ts.map +1 -0
- package/resources/x402/credit-account/credit-account.js +66 -0
- package/resources/x402/credit-account/credit-account.js.map +1 -0
- package/resources/x402/credit-account/credit-account.mjs +61 -0
- package/resources/x402/credit-account/credit-account.mjs.map +1 -0
- package/resources/x402/credit-account/index.d.mts +3 -0
- package/resources/x402/credit-account/index.d.mts.map +1 -0
- package/resources/x402/credit-account/index.d.ts +3 -0
- package/resources/x402/credit-account/index.d.ts.map +1 -0
- package/resources/x402/credit-account/index.js +9 -0
- package/resources/x402/credit-account/index.js.map +1 -0
- package/resources/x402/credit-account/index.mjs +4 -0
- package/resources/x402/credit-account/index.mjs.map +1 -0
- package/resources/x402/credit-account/payments.d.mts +90 -0
- package/resources/x402/credit-account/payments.d.mts.map +1 -0
- package/resources/x402/credit-account/payments.d.ts +90 -0
- package/resources/x402/credit-account/payments.d.ts.map +1 -0
- package/resources/x402/credit-account/payments.js +47 -0
- package/resources/x402/credit-account/payments.js.map +1 -0
- package/resources/x402/credit-account/payments.mjs +43 -0
- package/resources/x402/credit-account/payments.mjs.map +1 -0
- package/resources/x402/credit-account.d.mts +1 -221
- package/resources/x402/credit-account.d.mts.map +1 -1
- package/resources/x402/credit-account.d.ts +1 -221
- package/resources/x402/credit-account.d.ts.map +1 -1
- package/resources/x402/credit-account.js +2 -54
- package/resources/x402/credit-account.js.map +1 -1
- package/resources/x402/credit-account.mjs +1 -52
- package/resources/x402/credit-account.mjs.map +1 -1
- package/resources/x402/index.d.mts +1 -1
- package/resources/x402/index.d.mts.map +1 -1
- package/resources/x402/index.d.ts +1 -1
- package/resources/x402/index.d.ts.map +1 -1
- package/resources/x402/index.js +2 -2
- package/resources/x402/index.js.map +1 -1
- package/resources/x402/index.mjs +1 -1
- package/resources/x402/index.mjs.map +1 -1
- package/resources/x402/x402.d.mts +2 -2
- package/resources/x402/x402.d.mts.map +1 -1
- package/resources/x402/x402.d.ts +2 -2
- package/resources/x402/x402.d.ts.map +1 -1
- package/resources/x402/x402.js +2 -2
- package/resources/x402/x402.js.map +1 -1
- package/resources/x402/x402.mjs +2 -2
- package/resources/x402/x402.mjs.map +1 -1
- package/src/client.ts +91 -0
- package/src/resources/ai/ai.ts +15 -1
- package/src/resources/ai/assistants/assistants.ts +454 -45
- package/src/resources/ai/assistants/index.ts +1 -0
- package/src/resources/ai/assistants/versions.ts +61 -12
- package/src/resources/ai/audio.ts +93 -45
- package/src/resources/ai/chat.ts +66 -29
- package/src/resources/ai/index.ts +8 -1
- package/src/resources/ai/openai/chat.ts +75 -29
- 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 +37 -0
- 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 +3 -0
- package/src/resources/compute/index.ts +15 -0
- package/src/resources/compute.ts +3 -0
- package/src/resources/connections.ts +133 -0
- package/src/resources/credential-connections/credential-connections.ts +4 -1
- package/src/resources/detail-records.ts +18 -1
- package/src/resources/email-inboxes/drafts.ts +8 -0
- package/src/resources/email-messages/email-messages.ts +9 -2
- package/src/resources/fqdn-connections/fqdn-authentication.ts +4 -1
- package/src/resources/fqdn-connections/fqdn-connections.ts +4 -1
- package/src/resources/index.ts +27 -0
- package/src/resources/machine-payments.ts +169 -0
- package/src/resources/messages/messages.ts +250 -22
- package/src/resources/messaging-profiles/index.ts +1 -0
- package/src/resources/messaging-profiles/messaging-profiles.ts +39 -0
- 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/uac-connections/uac-connections.ts +9 -2
- package/src/resources/voice-clones.ts +6 -4
- package/src/resources/webhooks.ts +208 -60
- package/src/resources/whatsapp/business-accounts/phone-numbers.ts +52 -0
- package/src/resources/whatsapp/index.ts +1 -0
- package/src/resources/whatsapp/phone-numbers/index.ts +1 -0
- package/src/resources/whatsapp/phone-numbers/phone-numbers.ts +222 -0
- package/src/resources/whatsapp/whatsapp.ts +2 -0
- package/src/resources/x402/credit-account/credit-account.ts +312 -0
- package/src/resources/x402/credit-account/index.ts +16 -0
- package/src/resources/x402/credit-account/payments.ts +126 -0
- package/src/resources/x402/credit-account.ts +1 -290
- package/src/resources/x402/index.ts +1 -1
- package/src/resources/x402/x402.ts +2 -2
- 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
|
@@ -1680,7 +1680,8 @@ export interface TranscriptionConfig {
|
|
|
1680
1680
|
* hints `en`, `es`, `fr`, `de`, `hi`, `ru`, `pt`, `ja`, `it`, and `nl`. For
|
|
1681
1681
|
* `soniox/stt-rt-v4`, `auto` omits the language hint and lets Soniox auto-detect;
|
|
1682
1682
|
* ISO 639-1 codes (e.g. `en`, `es`) bias detection toward that language. For
|
|
1683
|
-
* `assemblyai/universal-
|
|
1683
|
+
* `assemblyai/universal-3-5-pro` (and its legacy alias
|
|
1684
|
+
* `assemblyai/universal-streaming`), `auto` (or unset) enables native multilingual
|
|
1684
1685
|
* code-switching; ISO 639-1 codes (`en`, `es`, `de`, `fr`, `pt`, `it`, `tr`, `nl`,
|
|
1685
1686
|
* `sv`, `no`, `da`, `fi`, `hi`, `vi`, `ar`, `he`, `ja`, `zh`) bias the session to
|
|
1686
1687
|
* that language. For `humain/realtime`, supported values are `ar`, `en`,
|
|
@@ -1703,12 +1704,16 @@ export interface TranscriptionConfig {
|
|
|
1703
1704
|
* - `deepgram/nova-3` and `deepgram/nova-2` for live streaming transcription.
|
|
1704
1705
|
* - `speechmatics/standard` and `speechmatics/enhanced` for live streaming
|
|
1705
1706
|
* transcription.
|
|
1706
|
-
* - `assemblyai/universal-
|
|
1707
|
+
* - `assemblyai/universal-3-5-pro` for live streaming transcription. The legacy
|
|
1708
|
+
* alias `assemblyai/universal-streaming` is still accepted and resolves to the
|
|
1709
|
+
* same model.
|
|
1707
1710
|
* - `xai/grok-stt` for live streaming transcription.
|
|
1708
1711
|
* - `soniox/stt-rt-v4` for live streaming multilingual transcription with
|
|
1709
1712
|
* automatic language detection.
|
|
1710
1713
|
* - `nvidia/parakeet-v3` for multilingual transcription with automatic language
|
|
1711
1714
|
* detection.
|
|
1715
|
+
* - `omi-health/omi-med-stt-v1` for English-only medical transcription
|
|
1716
|
+
* (Parakeet-based).
|
|
1712
1717
|
* - `humain/realtime` for live streaming transcription with native Arabic and
|
|
1713
1718
|
* Arabic/English code-switching support.
|
|
1714
1719
|
* - `reson8/turns` for live streaming turn-based transcription of 10 European
|
|
@@ -1729,10 +1734,12 @@ export interface TranscriptionConfig {
|
|
|
1729
1734
|
| 'deepgram/nova-2'
|
|
1730
1735
|
| 'speechmatics/standard'
|
|
1731
1736
|
| 'speechmatics/enhanced'
|
|
1737
|
+
| 'assemblyai/universal-3-5-pro'
|
|
1732
1738
|
| 'assemblyai/universal-streaming'
|
|
1733
1739
|
| 'xai/grok-stt'
|
|
1734
1740
|
| 'soniox/stt-rt-v4'
|
|
1735
1741
|
| 'nvidia/parakeet-v3'
|
|
1742
|
+
| 'omi-health/omi-med-stt-v1'
|
|
1736
1743
|
| 'humain/realtime'
|
|
1737
1744
|
| 'reson8/turns'
|
|
1738
1745
|
| 'cohere/ar-stt'
|
|
@@ -1833,9 +1840,10 @@ export interface TranscriptionEngineAssemblyaiConfig {
|
|
|
1833
1840
|
transcription_engine?: 'AssemblyAI';
|
|
1834
1841
|
|
|
1835
1842
|
/**
|
|
1836
|
-
* The model to use for transcription.
|
|
1843
|
+
* The model to use for transcription. `assemblyai/universal-streaming` is a legacy
|
|
1844
|
+
* alias of `assemblyai/universal-3-5-pro` and resolves to the same model.
|
|
1837
1845
|
*/
|
|
1838
|
-
transcription_model?: 'assemblyai/universal-streaming';
|
|
1846
|
+
transcription_model?: 'assemblyai/universal-3-5-pro' | 'assemblyai/universal-streaming';
|
|
1839
1847
|
}
|
|
1840
1848
|
|
|
1841
1849
|
export interface TranscriptionEngineAzureConfig {
|
|
@@ -2085,7 +2093,7 @@ export interface TranscriptionEngineParakeetConfig {
|
|
|
2085
2093
|
/**
|
|
2086
2094
|
* The model to use for transcription.
|
|
2087
2095
|
*/
|
|
2088
|
-
transcription_model?: 'nvidia/parakeet-v3';
|
|
2096
|
+
transcription_model?: 'nvidia/parakeet-v3' | 'omi-health/omi-med-stt-v1';
|
|
2089
2097
|
}
|
|
2090
2098
|
|
|
2091
2099
|
export interface TranscriptionEngineReson8Config {
|
|
@@ -4792,11 +4800,12 @@ export interface ActionTransferParams {
|
|
|
4792
4800
|
custom_headers?: Array<CallsAPI.CustomSipHeader>;
|
|
4793
4801
|
|
|
4794
4802
|
/**
|
|
4795
|
-
* The number
|
|
4796
|
-
*
|
|
4797
|
-
*
|
|
4798
|
-
*
|
|
4799
|
-
* you
|
|
4803
|
+
* The `to` number of an active inbound call, in +E164 format. Telnyx checks
|
|
4804
|
+
* whether there is currently an active inbound call where `to` matches this
|
|
4805
|
+
* `diversion` value and `from` matches the `from` number supplied for this
|
|
4806
|
+
* request. If such a call exists, the `from` number is treated as verified (since
|
|
4807
|
+
* it is already on an active inbound call to you) and can be used as the caller id
|
|
4808
|
+
* for this outbound call.
|
|
4800
4809
|
*/
|
|
4801
4810
|
diversion?: string;
|
|
4802
4811
|
|
|
@@ -5046,6 +5055,52 @@ export namespace ActionTransferParams {
|
|
|
5046
5055
|
*/
|
|
5047
5056
|
beep_detection_profile?: 'both' | 'freq_only';
|
|
5048
5057
|
|
|
5058
|
+
/**
|
|
5059
|
+
* Highest frequency, in Hz, that a tone can reach and still be treated as a beep.
|
|
5060
|
+
* Only used when beep detection is active.
|
|
5061
|
+
*/
|
|
5062
|
+
beep_max_frequency_hz?: number;
|
|
5063
|
+
|
|
5064
|
+
/**
|
|
5065
|
+
* Lowest frequency, in Hz, that a tone must reach to be treated as a beep. Raising
|
|
5066
|
+
* it above 480 excludes North American ringback (440 + 480 Hz), which can
|
|
5067
|
+
* otherwise be reported as a beep when the `freq_only` profile is in use. Only
|
|
5068
|
+
* used when beep detection is active.
|
|
5069
|
+
*/
|
|
5070
|
+
beep_min_frequency_hz?: number;
|
|
5071
|
+
|
|
5072
|
+
/**
|
|
5073
|
+
* Shortest tone, in milliseconds, that can be treated as a beep. Raising it
|
|
5074
|
+
* rejects brief tones such as call-progress blips. Only used when beep detection
|
|
5075
|
+
* is active.
|
|
5076
|
+
*/
|
|
5077
|
+
beep_min_tone_duration_millis?: number;
|
|
5078
|
+
|
|
5079
|
+
/**
|
|
5080
|
+
* When enabled, a candidate beep must pass an additional spectral check before it
|
|
5081
|
+
* is reported. Only used when beep detection is active.
|
|
5082
|
+
*/
|
|
5083
|
+
beep_spectral_confirmation?: boolean;
|
|
5084
|
+
|
|
5085
|
+
/**
|
|
5086
|
+
* Minimum spectral purity, from 0 to 1, for a tone to be treated as a beep.
|
|
5087
|
+
* Raising it rejects mixed tones such as ringback, which combines two frequencies.
|
|
5088
|
+
* Only used when beep detection is active.
|
|
5089
|
+
*/
|
|
5090
|
+
beep_spectral_min_purity?: number;
|
|
5091
|
+
|
|
5092
|
+
/**
|
|
5093
|
+
* When enabled, the fax CNG tone is rejected rather than reported as a beep. Only
|
|
5094
|
+
* used when beep detection is active.
|
|
5095
|
+
*/
|
|
5096
|
+
beep_spectral_reject_fax_cng?: boolean;
|
|
5097
|
+
|
|
5098
|
+
/**
|
|
5099
|
+
* Length of the spectral confirmation window, in milliseconds. Only used when beep
|
|
5100
|
+
* detection is active.
|
|
5101
|
+
*/
|
|
5102
|
+
beep_spectral_window_millis?: number;
|
|
5103
|
+
|
|
5049
5104
|
/**
|
|
5050
5105
|
* Maximum threshold for silence between words.
|
|
5051
5106
|
*/
|
|
@@ -1006,11 +1006,12 @@ export interface CallDialParams {
|
|
|
1006
1006
|
dialogflow_config?: DialogflowConfig;
|
|
1007
1007
|
|
|
1008
1008
|
/**
|
|
1009
|
-
* The number
|
|
1010
|
-
*
|
|
1011
|
-
*
|
|
1012
|
-
*
|
|
1013
|
-
* you
|
|
1009
|
+
* The `to` number of an active inbound call, in +E164 format. Telnyx checks
|
|
1010
|
+
* whether there is currently an active inbound call where `to` matches this
|
|
1011
|
+
* `diversion` value and `from` matches the `from` number supplied for this
|
|
1012
|
+
* request. If such a call exists, the `from` number is treated as verified (since
|
|
1013
|
+
* it is already on an active inbound call to you) and can be used as the caller id
|
|
1014
|
+
* for this outbound call.
|
|
1014
1015
|
*/
|
|
1015
1016
|
diversion?: string;
|
|
1016
1017
|
|
|
@@ -1335,6 +1336,52 @@ export namespace CallDialParams {
|
|
|
1335
1336
|
*/
|
|
1336
1337
|
beep_detection_profile?: 'both' | 'freq_only';
|
|
1337
1338
|
|
|
1339
|
+
/**
|
|
1340
|
+
* Highest frequency, in Hz, that a tone can reach and still be treated as a beep.
|
|
1341
|
+
* Only used when beep detection is active.
|
|
1342
|
+
*/
|
|
1343
|
+
beep_max_frequency_hz?: number;
|
|
1344
|
+
|
|
1345
|
+
/**
|
|
1346
|
+
* Lowest frequency, in Hz, that a tone must reach to be treated as a beep. Raising
|
|
1347
|
+
* it above 480 excludes North American ringback (440 + 480 Hz), which can
|
|
1348
|
+
* otherwise be reported as a beep when the `freq_only` profile is in use. Only
|
|
1349
|
+
* used when beep detection is active.
|
|
1350
|
+
*/
|
|
1351
|
+
beep_min_frequency_hz?: number;
|
|
1352
|
+
|
|
1353
|
+
/**
|
|
1354
|
+
* Shortest tone, in milliseconds, that can be treated as a beep. Raising it
|
|
1355
|
+
* rejects brief tones such as call-progress blips. Only used when beep detection
|
|
1356
|
+
* is active.
|
|
1357
|
+
*/
|
|
1358
|
+
beep_min_tone_duration_millis?: number;
|
|
1359
|
+
|
|
1360
|
+
/**
|
|
1361
|
+
* When enabled, a candidate beep must pass an additional spectral check before it
|
|
1362
|
+
* is reported. Only used when beep detection is active.
|
|
1363
|
+
*/
|
|
1364
|
+
beep_spectral_confirmation?: boolean;
|
|
1365
|
+
|
|
1366
|
+
/**
|
|
1367
|
+
* Minimum spectral purity, from 0 to 1, for a tone to be treated as a beep.
|
|
1368
|
+
* Raising it rejects mixed tones such as ringback, which combines two frequencies.
|
|
1369
|
+
* Only used when beep detection is active.
|
|
1370
|
+
*/
|
|
1371
|
+
beep_spectral_min_purity?: number;
|
|
1372
|
+
|
|
1373
|
+
/**
|
|
1374
|
+
* When enabled, the fax CNG tone is rejected rather than reported as a beep. Only
|
|
1375
|
+
* used when beep detection is active.
|
|
1376
|
+
*/
|
|
1377
|
+
beep_spectral_reject_fax_cng?: boolean;
|
|
1378
|
+
|
|
1379
|
+
/**
|
|
1380
|
+
* Length of the spectral confirmation window, in milliseconds. Only used when beep
|
|
1381
|
+
* detection is active.
|
|
1382
|
+
*/
|
|
1383
|
+
beep_spectral_window_millis?: number;
|
|
1384
|
+
|
|
1338
1385
|
/**
|
|
1339
1386
|
* Maximum threshold for silence between words.
|
|
1340
1387
|
*/
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import * as FuncsAPI from './funcs/funcs';
|
|
5
|
+
import {
|
|
6
|
+
FuncRetrieveLogsParams,
|
|
7
|
+
FuncRetrieveLogsResponse,
|
|
8
|
+
FuncRetrieveMetricAggregatesParams,
|
|
9
|
+
FuncRetrieveMetricAggregatesResponse,
|
|
10
|
+
FuncRetrieveRevisionsParams,
|
|
11
|
+
FuncRetrieveRevisionsResponse,
|
|
12
|
+
FuncRetrieveShipInspectionResponse,
|
|
13
|
+
Funcs,
|
|
14
|
+
FunctionsObservabilityPaginationMeta,
|
|
15
|
+
LogsMeta,
|
|
16
|
+
} from './funcs/funcs';
|
|
17
|
+
|
|
18
|
+
export class Compute extends APIResource {
|
|
19
|
+
funcs: FuncsAPI.Funcs = new FuncsAPI.Funcs(this._client);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
Compute.Funcs = Funcs;
|
|
23
|
+
|
|
24
|
+
export declare namespace Compute {
|
|
25
|
+
export {
|
|
26
|
+
Funcs as Funcs,
|
|
27
|
+
type FunctionsObservabilityPaginationMeta as FunctionsObservabilityPaginationMeta,
|
|
28
|
+
type LogsMeta as LogsMeta,
|
|
29
|
+
type FuncRetrieveLogsResponse as FuncRetrieveLogsResponse,
|
|
30
|
+
type FuncRetrieveMetricAggregatesResponse as FuncRetrieveMetricAggregatesResponse,
|
|
31
|
+
type FuncRetrieveRevisionsResponse as FuncRetrieveRevisionsResponse,
|
|
32
|
+
type FuncRetrieveShipInspectionResponse as FuncRetrieveShipInspectionResponse,
|
|
33
|
+
type FuncRetrieveLogsParams as FuncRetrieveLogsParams,
|
|
34
|
+
type FuncRetrieveMetricAggregatesParams as FuncRetrieveMetricAggregatesParams,
|
|
35
|
+
type FuncRetrieveRevisionsParams as FuncRetrieveRevisionsParams,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../../core/api-promise';
|
|
5
|
+
import { buildHeaders } from '../../../internal/headers';
|
|
6
|
+
import { RequestOptions } from '../../../internal/request-options';
|
|
7
|
+
import { path } from '../../../internal/utils/path';
|
|
8
|
+
|
|
9
|
+
export class Export extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Stops exporting a function's logs and removes its destination configuration.
|
|
12
|
+
* Idempotent: deleting when nothing is configured succeeds.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* await client.compute.funcs.export.deleteAll('id');
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
deleteAll(id: string, options?: RequestOptions): APIPromise<void> {
|
|
20
|
+
return this._client.delete(path`/compute/funcs/${id}/logs/export`, {
|
|
21
|
+
...options,
|
|
22
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Returns the function's configured log export destination and which log types are
|
|
28
|
+
* exported. Headers are never returned. Returns 404 (error code 10005) when no
|
|
29
|
+
* destination is configured for the function.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const funcLogExportConfigResponse =
|
|
34
|
+
* await client.compute.funcs.export.list('id');
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
list(id: string, options?: RequestOptions): APIPromise<FuncLogExportConfigResponse> {
|
|
38
|
+
return this._client.get(path`/compute/funcs/${id}/logs/export`, options);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Configures the external OTLP endpoint a function's runtime and/or invocation
|
|
43
|
+
* logs are pushed to as they happen. This operation is a **full replace, not a
|
|
44
|
+
* patch**: `endpoint`, `headers`, `runtime_export_enabled`, and
|
|
45
|
+
* `invocation_export_enabled` are all required on every call — omitting any of
|
|
46
|
+
* them is a 422, not "keep the current value". Headers are encrypted at rest and
|
|
47
|
+
* never returned in any response.
|
|
48
|
+
*
|
|
49
|
+
* The endpoint must be an HTTPS URL. When export is configured, new log records
|
|
50
|
+
* are converted to OTLP log records and delivered continuously; export never
|
|
51
|
+
* bypasses platform log storage, and delivery retries with a bounded policy while
|
|
52
|
+
* the destination is unreachable. Only logs generated after configuration are
|
|
53
|
+
* exported — there is no historical replay.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* const funcLogExportConfigResponse =
|
|
58
|
+
* await client.compute.funcs.export.create('id', {
|
|
59
|
+
* endpoint: 'https://api.honeycomb.io/v1/logs',
|
|
60
|
+
* headers: { 'x-honeycomb-team': 'abc123' },
|
|
61
|
+
* invocation_export_enabled: true,
|
|
62
|
+
* runtime_export_enabled: true,
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
create(
|
|
67
|
+
id: string,
|
|
68
|
+
body: ExportCreateParams,
|
|
69
|
+
options?: RequestOptions,
|
|
70
|
+
): APIPromise<FuncLogExportConfigResponse> {
|
|
71
|
+
return this._client.put(path`/compute/funcs/${id}/logs/export`, { body, ...options });
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export interface FuncLogExportConfigResponse {
|
|
76
|
+
/**
|
|
77
|
+
* Metadata-only view of a function's log export destination. Header values are
|
|
78
|
+
* write-only (encrypted server-side) and never appear in any response.
|
|
79
|
+
*/
|
|
80
|
+
data?: FuncLogExportConfigResponse.Data;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export namespace FuncLogExportConfigResponse {
|
|
84
|
+
/**
|
|
85
|
+
* Metadata-only view of a function's log export destination. Header values are
|
|
86
|
+
* write-only (encrypted server-side) and never appear in any response.
|
|
87
|
+
*/
|
|
88
|
+
export interface Data {
|
|
89
|
+
/**
|
|
90
|
+
* Configuration record ID
|
|
91
|
+
*/
|
|
92
|
+
id?: string;
|
|
93
|
+
|
|
94
|
+
created_at?: string;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Whether export is enabled for this function
|
|
98
|
+
*/
|
|
99
|
+
enabled?: boolean;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* HTTPS OTLP endpoint URL logs are pushed to
|
|
103
|
+
*/
|
|
104
|
+
endpoint?: string;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Function ID this configuration belongs to
|
|
108
|
+
*/
|
|
109
|
+
func_id?: string;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Whether invocation records (one per HTTP request) are exported
|
|
113
|
+
*/
|
|
114
|
+
invocation_export_enabled?: boolean;
|
|
115
|
+
|
|
116
|
+
record_type?: 'compute_func_log_export_config';
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Whether runtime logs (function stdout/stderr) are exported
|
|
120
|
+
*/
|
|
121
|
+
runtime_export_enabled?: boolean;
|
|
122
|
+
|
|
123
|
+
updated_at?: string;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export interface ExportCreateParams {
|
|
128
|
+
/**
|
|
129
|
+
* HTTPS URL to push logs to
|
|
130
|
+
*/
|
|
131
|
+
endpoint: string;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Headers attached to every export push, as key-value pairs (e.g. an auth token
|
|
135
|
+
* the collector expects). Required even when empty — {} means "no headers".
|
|
136
|
+
* Encrypted at rest; never returned.
|
|
137
|
+
*/
|
|
138
|
+
headers: { [key: string]: string };
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Export invocation records (one per HTTP request) to this destination
|
|
142
|
+
*/
|
|
143
|
+
invocation_export_enabled: boolean;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Export runtime logs (function stdout/stderr) to this destination
|
|
147
|
+
*/
|
|
148
|
+
runtime_export_enabled: boolean;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export declare namespace Export {
|
|
152
|
+
export {
|
|
153
|
+
type FuncLogExportConfigResponse as FuncLogExportConfigResponse,
|
|
154
|
+
type ExportCreateParams as ExportCreateParams,
|
|
155
|
+
};
|
|
156
|
+
}
|