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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Chat, type ChatCreateCompletionResponse, type ChatCreateCompletionParams } from "./chat.js";
|
|
1
|
+
export { Chat, type FunctionDefinition, type ChatCreateCompletionResponse, type ChatCreateCompletionParams, } from "./chat.js";
|
|
2
2
|
export { Embeddings, type EmbeddingCreateEmbeddingsResponse, type EmbeddingListEmbeddingModelsResponse, type EmbeddingCreateEmbeddingsParams, } from "./embeddings.js";
|
|
3
3
|
export { OpenAI, type OpenAICreateResponseResponse, type OpenAICreateResponseParams } from "./openai.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/ai/openai/index.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/ai/openai/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,IAAI,EACJ,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,GAChC,kBAAe;AAChB,OAAO,EACL,UAAU,EACV,KAAK,iCAAiC,EACtC,KAAK,oCAAoC,EACzC,KAAK,+BAA+B,GACrC,wBAAqB;AACtB,OAAO,EAAE,MAAM,EAAE,KAAK,4BAA4B,EAAE,KAAK,0BAA0B,EAAE,oBAAiB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/ai/openai/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/ai/openai/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kCAKgB;AAJd,4FAAA,IAAI,OAAA;AAKN,8CAKsB;AAJpB,wGAAA,UAAU,OAAA;AAKZ,sCAAsG;AAA7F,gGAAA,MAAM,OAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
export { Chat } from "./chat.mjs";
|
|
2
|
+
export { Chat, } from "./chat.mjs";
|
|
3
3
|
export { Embeddings, } from "./embeddings.mjs";
|
|
4
4
|
export { OpenAI } from "./openai.mjs";
|
|
5
5
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/ai/openai/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/ai/openai/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,IAAI,GAIL,mBAAe;AAChB,OAAO,EACL,UAAU,GAIX,yBAAqB;AACtB,OAAO,EAAE,MAAM,EAAsE,qBAAiB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.mjs";
|
|
2
2
|
import * as AIAPI from "../ai.mjs";
|
|
3
3
|
import * as ChatAPI from "./chat.mjs";
|
|
4
|
-
import { Chat, ChatCreateCompletionParams, ChatCreateCompletionResponse } from "./chat.mjs";
|
|
4
|
+
import { Chat, ChatCreateCompletionParams, ChatCreateCompletionResponse, FunctionDefinition } from "./chat.mjs";
|
|
5
5
|
import * as EmbeddingsAPI from "./embeddings.mjs";
|
|
6
6
|
import { EmbeddingCreateEmbeddingsParams, EmbeddingCreateEmbeddingsResponse, EmbeddingListEmbeddingModelsResponse, Embeddings } from "./embeddings.mjs";
|
|
7
7
|
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
@@ -150,6 +150,6 @@ export declare namespace OpenAICreateResponseParams {
|
|
|
150
150
|
export declare namespace OpenAI {
|
|
151
151
|
export { type OpenAICreateResponseResponse as OpenAICreateResponseResponse, type OpenAICreateResponseParams as OpenAICreateResponseParams, };
|
|
152
152
|
export { Embeddings as Embeddings, type EmbeddingCreateEmbeddingsResponse as EmbeddingCreateEmbeddingsResponse, type EmbeddingListEmbeddingModelsResponse as EmbeddingListEmbeddingModelsResponse, type EmbeddingCreateEmbeddingsParams as EmbeddingCreateEmbeddingsParams, };
|
|
153
|
-
export { Chat as Chat, type ChatCreateCompletionResponse as ChatCreateCompletionResponse, type ChatCreateCompletionParams as ChatCreateCompletionParams, };
|
|
153
|
+
export { Chat as Chat, type FunctionDefinition as FunctionDefinition, type ChatCreateCompletionResponse as ChatCreateCompletionResponse, type ChatCreateCompletionParams as ChatCreateCompletionParams, };
|
|
154
154
|
}
|
|
155
155
|
//# sourceMappingURL=openai.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openai.d.mts","sourceRoot":"","sources":["../../../src/resources/ai/openai/openai.ts"],"names":[],"m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APIResource } from "../../../core/resource.js";
|
|
2
2
|
import * as AIAPI from "../ai.js";
|
|
3
3
|
import * as ChatAPI from "./chat.js";
|
|
4
|
-
import { Chat, ChatCreateCompletionParams, ChatCreateCompletionResponse } from "./chat.js";
|
|
4
|
+
import { Chat, ChatCreateCompletionParams, ChatCreateCompletionResponse, FunctionDefinition } from "./chat.js";
|
|
5
5
|
import * as EmbeddingsAPI from "./embeddings.js";
|
|
6
6
|
import { EmbeddingCreateEmbeddingsParams, EmbeddingCreateEmbeddingsResponse, EmbeddingListEmbeddingModelsResponse, Embeddings } from "./embeddings.js";
|
|
7
7
|
import { APIPromise } from "../../../core/api-promise.js";
|
|
@@ -150,6 +150,6 @@ export declare namespace OpenAICreateResponseParams {
|
|
|
150
150
|
export declare namespace OpenAI {
|
|
151
151
|
export { type OpenAICreateResponseResponse as OpenAICreateResponseResponse, type OpenAICreateResponseParams as OpenAICreateResponseParams, };
|
|
152
152
|
export { Embeddings as Embeddings, type EmbeddingCreateEmbeddingsResponse as EmbeddingCreateEmbeddingsResponse, type EmbeddingListEmbeddingModelsResponse as EmbeddingListEmbeddingModelsResponse, type EmbeddingCreateEmbeddingsParams as EmbeddingCreateEmbeddingsParams, };
|
|
153
|
-
export { Chat as Chat, type ChatCreateCompletionResponse as ChatCreateCompletionResponse, type ChatCreateCompletionParams as ChatCreateCompletionParams, };
|
|
153
|
+
export { Chat as Chat, type FunctionDefinition as FunctionDefinition, type ChatCreateCompletionResponse as ChatCreateCompletionResponse, type ChatCreateCompletionParams as ChatCreateCompletionParams, };
|
|
154
154
|
}
|
|
155
155
|
//# sourceMappingURL=openai.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openai.d.ts","sourceRoot":"","sources":["../../../src/resources/ai/openai/openai.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,KAAK,iBAAc;AAC/B,OAAO,KAAK,OAAO,kBAAe;AAClC,OA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ClC,
|
|
1
|
+
{"version":3,"file":"openai.js","sourceRoot":"","sources":["../../../src/resources/ai/openai/openai.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,2DAAkC;AAClC,oCAA4G;AAC5G,uEAA8C;AAC9C,gDAKsB;AAItB,MAAa,MAAO,SAAQ,sBAAW;IAAvC;;QACE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClF,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAgFtD,CAAC;IA9EC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,UAAU,CAAC,OAAwB;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,cAAc,CACZ,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;CACF;AAlFD,wBAkFC;AA6ED,MAAM,CAAC,UAAU,GAAG,uBAAU,CAAC;AAC/B,MAAM,CAAC,IAAI,GAAG,WAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openai.mjs","sourceRoot":"","sources":["../../../src/resources/ai/openai/openai.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,KAAK,OAAO,mBAAe;AAClC,OAAO,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"openai.mjs","sourceRoot":"","sources":["../../../src/resources/ai/openai/openai.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,KAAK,OAAO,mBAAe;AAClC,OAAO,EAAE,IAAI,EAAgF,mBAAe;AAC5G,OAAO,KAAK,aAAa,yBAAqB;AAC9C,OAAO,EAIL,UAAU,GACX,yBAAqB;AAItB,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QACE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClF,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAgFtD,CAAC;IA9EC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,UAAU,CAAC,OAAwB;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,cAAc,CACZ,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;CACF;AA6ED,MAAM,CAAC,UAAU,GAAG,UAAU,CAAC;AAC/B,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/ai/typesafe/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,uBAAmB;AACtC,OAAO,EAAE,EAAE,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,iBAAa"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/ai/typesafe/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,sBAAmB;AACtC,OAAO,EAAE,EAAE,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,gBAAa"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.V1 = exports.Typesafe = void 0;
|
|
5
|
+
var typesafe_1 = require("./typesafe.js");
|
|
6
|
+
Object.defineProperty(exports, "Typesafe", { enumerable: true, get: function () { return typesafe_1.Typesafe; } });
|
|
7
|
+
var v1_1 = require("./v1.js");
|
|
8
|
+
Object.defineProperty(exports, "V1", { enumerable: true, get: function () { return v1_1.V1; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/ai/typesafe/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,8BAA4E;AAAnE,wFAAA,EAAE,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/ai/typesafe/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,QAAQ,EAAE,uBAAmB;AACtC,OAAO,EAAE,EAAE,EAAoD,iBAAa"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as V1API from "./v1.mjs";
|
|
3
|
+
import { V1, V1SystemoneParams, V1SystemoneResponse } from "./v1.mjs";
|
|
4
|
+
export declare class Typesafe extends APIResource {
|
|
5
|
+
v1: V1API.V1;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace Typesafe {
|
|
8
|
+
export { V1 as V1, type V1SystemoneResponse as V1SystemoneResponse, type V1SystemoneParams as V1SystemoneParams, };
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=typesafe.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typesafe.d.mts","sourceRoot":"","sources":["../../../src/resources/ai/typesafe/typesafe.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,KAAK,iBAAa;AAC9B,OAAO,EAAE,EAAE,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,iBAAa;AAElE,qBAAa,QAAS,SAAQ,WAAW;IACvC,EAAE,EAAE,KAAK,CAAC,EAAE,CAA8B;CAC3C;AAID,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,EAAE,IAAI,EAAE,EACR,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as V1API from "./v1.js";
|
|
3
|
+
import { V1, V1SystemoneParams, V1SystemoneResponse } from "./v1.js";
|
|
4
|
+
export declare class Typesafe extends APIResource {
|
|
5
|
+
v1: V1API.V1;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace Typesafe {
|
|
8
|
+
export { V1 as V1, type V1SystemoneResponse as V1SystemoneResponse, type V1SystemoneParams as V1SystemoneParams, };
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=typesafe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typesafe.d.ts","sourceRoot":"","sources":["../../../src/resources/ai/typesafe/typesafe.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,KAAK,gBAAa;AAC9B,OAAO,EAAE,EAAE,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,gBAAa;AAElE,qBAAa,QAAS,SAAQ,WAAW;IACvC,EAAE,EAAE,KAAK,CAAC,EAAE,CAA8B;CAC3C;AAID,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,EAAE,IAAI,EAAE,EACR,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Typesafe = void 0;
|
|
5
|
+
const tslib_1 = require("../../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../../core/resource.js");
|
|
7
|
+
const V1API = tslib_1.__importStar(require("./v1.js"));
|
|
8
|
+
const v1_1 = require("./v1.js");
|
|
9
|
+
class Typesafe extends resource_1.APIResource {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.v1 = new V1API.V1(this._client);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.Typesafe = Typesafe;
|
|
16
|
+
Typesafe.V1 = v1_1.V1;
|
|
17
|
+
//# sourceMappingURL=typesafe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typesafe.js","sourceRoot":"","sources":["../../../src/resources/ai/typesafe/typesafe.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,uDAA8B;AAC9B,gCAAkE;AAElE,MAAa,QAAS,SAAQ,sBAAW;IAAzC;;QACE,OAAE,GAAa,IAAI,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;CAAA;AAFD,4BAEC;AAED,QAAQ,CAAC,EAAE,GAAG,OAAE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import * as V1API from "./v1.mjs";
|
|
4
|
+
import { V1 } from "./v1.mjs";
|
|
5
|
+
export class Typesafe extends APIResource {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.v1 = new V1API.V1(this._client);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
Typesafe.V1 = V1;
|
|
12
|
+
//# sourceMappingURL=typesafe.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typesafe.mjs","sourceRoot":"","sources":["../../../src/resources/ai/typesafe/typesafe.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,KAAK,iBAAa;AAC9B,OAAO,EAAE,EAAE,EAA0C,iBAAa;AAElE,MAAM,OAAO,QAAS,SAAQ,WAAW;IAAzC;;QACE,OAAE,GAAa,IAAI,KAAK,CAAC,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5C,CAAC;CAAA;AAED,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Beta API for evaluating shared context with typed questions and structured answers. Telnyx manages model selection.
|
|
6
|
+
*/
|
|
7
|
+
export declare class V1 extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* **Beta API.** Telnyx controls model selection.
|
|
10
|
+
*
|
|
11
|
+
* Evaluate shared context using named choice, noul (yes/no), and score questions.
|
|
12
|
+
* Returns TypeSafe System One-compatible answer shapes, an opaque compatibility
|
|
13
|
+
* identifier, and token usage. See the
|
|
14
|
+
* [decision model guide](https://developers.telnyx.com/docs/inference/decision-models)
|
|
15
|
+
* for examples and compatibility limits.
|
|
16
|
+
*
|
|
17
|
+
* The supported request subset requires instructions for every question, string
|
|
18
|
+
* descriptions for criteria (or null for choice descriptions), 1–64 questions, and
|
|
19
|
+
* 2–64 options for choice and score questions. The SDK-supplied model value is
|
|
20
|
+
* ignored and cannot select a model. Other unknown fields are rejected. The
|
|
21
|
+
* endpoint is synchronous and does not stream.
|
|
22
|
+
*
|
|
23
|
+
* Use the TypeSafe Python SDK with base_url set to
|
|
24
|
+
* https://api.telnyx.com/v2/ai/typesafe and a Telnyx API key. The SDK appends
|
|
25
|
+
* /v1/systemone. Compatibility covers this operation and the documented request
|
|
26
|
+
* subset; it does not include TypeSafe model listing. Scores describe relative
|
|
27
|
+
* preference, not calibrated correctness.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const response = await client.ai.typesafe.v1.systemone({
|
|
32
|
+
* questions: {
|
|
33
|
+
* team: {
|
|
34
|
+
* type: 'choice',
|
|
35
|
+
* instructions:
|
|
36
|
+
* 'Choose the team that should handle this incident.',
|
|
37
|
+
* criteria: {
|
|
38
|
+
* billing: 'Payments and refunds',
|
|
39
|
+
* technical_support:
|
|
40
|
+
* 'Service faults and technical problems',
|
|
41
|
+
* sales: 'New purchases',
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* production_incident: {
|
|
45
|
+
* type: 'noul',
|
|
46
|
+
* instructions:
|
|
47
|
+
* 'Does the message describe an active production incident?',
|
|
48
|
+
* },
|
|
49
|
+
* urgency: {
|
|
50
|
+
* type: 'score',
|
|
51
|
+
* instructions: 'Rate operational urgency.',
|
|
52
|
+
* criteria: ['Low', 'Normal', 'High', 'Critical'],
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* state:
|
|
56
|
+
* 'Our production calls are failing. Every customer is affected.',
|
|
57
|
+
* });
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
systemone(body: V1SystemoneParams, options?: RequestOptions): APIPromise<V1SystemoneResponse>;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* A complete synchronous evaluation. Answers are returned directly without a data
|
|
64
|
+
* wrapper.
|
|
65
|
+
*/
|
|
66
|
+
export interface V1SystemoneResponse {
|
|
67
|
+
/**
|
|
68
|
+
* Answers keyed by exactly the question IDs in the request. Each answer type
|
|
69
|
+
* matches its question.
|
|
70
|
+
*/
|
|
71
|
+
answers: {
|
|
72
|
+
[key: string]: V1SystemoneResponse.DecisionModelChoiceAnswer | V1SystemoneResponse.DecisionModelNoulAnswer | V1SystemoneResponse.DecisionModelScoreAnswer;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Opaque Telnyx-controlled identifier retained for TypeSafe SDK response
|
|
76
|
+
* compatibility. It is not a selectable model name or a guarantee of a particular
|
|
77
|
+
* underlying model.
|
|
78
|
+
*/
|
|
79
|
+
model: string;
|
|
80
|
+
/**
|
|
81
|
+
* Token usage for the completed evaluation.
|
|
82
|
+
*/
|
|
83
|
+
usage: V1SystemoneResponse.Usage;
|
|
84
|
+
}
|
|
85
|
+
export declare namespace V1SystemoneResponse {
|
|
86
|
+
/**
|
|
87
|
+
* A selected option and the distribution across all supplied option keys.
|
|
88
|
+
*/
|
|
89
|
+
interface DecisionModelChoiceAnswer {
|
|
90
|
+
/**
|
|
91
|
+
* The option key with the highest relative score. Ties favor the first option in
|
|
92
|
+
* request order.
|
|
93
|
+
*/
|
|
94
|
+
choice: string;
|
|
95
|
+
/**
|
|
96
|
+
* Normalized entropy confidence: 1 - H(p) / ln(N), where H(p) = -sum(p \* ln(p))
|
|
97
|
+
* and N is the number of options. Zero indicates a uniform distribution; one
|
|
98
|
+
* indicates concentration on one option. This is neither the winning probability
|
|
99
|
+
* nor calibrated correctness.
|
|
100
|
+
*/
|
|
101
|
+
confidence: number;
|
|
102
|
+
/**
|
|
103
|
+
* Relative scores normalized across the supplied options, summing approximately
|
|
104
|
+
* to 1. These are not calibrated probabilities of correctness.
|
|
105
|
+
*/
|
|
106
|
+
probabilities: {
|
|
107
|
+
[key: string]: number;
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* Answer type.
|
|
111
|
+
*/
|
|
112
|
+
type: 'choice';
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* A yes/no score with no separate confidence or probabilities fields.
|
|
116
|
+
*/
|
|
117
|
+
interface DecisionModelNoulAnswer {
|
|
118
|
+
/**
|
|
119
|
+
* Score of the positive outcome. Values near 1 favor yes; values near 0 favor no.
|
|
120
|
+
* This is a number, not a Boolean, and is not calibrated correctness.
|
|
121
|
+
*/
|
|
122
|
+
noul: number;
|
|
123
|
+
/**
|
|
124
|
+
* Answer type.
|
|
125
|
+
*/
|
|
126
|
+
type: 'noul';
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* An expected rating over the ordered criteria.
|
|
130
|
+
*/
|
|
131
|
+
interface DecisionModelScoreAnswer {
|
|
132
|
+
/**
|
|
133
|
+
* Normalized entropy confidence: 1 - H(p) / ln(N), where H(p) = -sum(p \* ln(p))
|
|
134
|
+
* and N is the number of options. Zero indicates a uniform distribution; one
|
|
135
|
+
* indicates concentration on one option. This is neither the winning probability
|
|
136
|
+
* nor calibrated correctness.
|
|
137
|
+
*/
|
|
138
|
+
confidence: number;
|
|
139
|
+
/**
|
|
140
|
+
* Criterion descriptions keyed by stringified zero-based indices, such as "0",
|
|
141
|
+
* "1", and "2".
|
|
142
|
+
*/
|
|
143
|
+
legend: {
|
|
144
|
+
[key: string]: string;
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* Relative scores keyed by the same stringified indices as legend.
|
|
148
|
+
*/
|
|
149
|
+
probabilities: {
|
|
150
|
+
[key: string]: number;
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* Expected zero-based criterion index: sum(index \* probability). Ranges from 0 to
|
|
154
|
+
* N-1 for N criteria; fractional values are valid.
|
|
155
|
+
*/
|
|
156
|
+
score: number;
|
|
157
|
+
/**
|
|
158
|
+
* Answer type.
|
|
159
|
+
*/
|
|
160
|
+
type: 'score';
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Token usage for the completed evaluation.
|
|
164
|
+
*/
|
|
165
|
+
interface Usage {
|
|
166
|
+
/**
|
|
167
|
+
* Input tokens processed, including shared-context preparation and question
|
|
168
|
+
* evaluation. This can exceed the token count of the unique input text.
|
|
169
|
+
*/
|
|
170
|
+
input_tokens: number;
|
|
171
|
+
/**
|
|
172
|
+
* Output tokens used for the evaluation, including shared-context preparation.
|
|
173
|
+
*/
|
|
174
|
+
output_tokens: number;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
export interface V1SystemoneParams {
|
|
178
|
+
/**
|
|
179
|
+
* Between 1 and 64 named questions. Each key identifies the corresponding answer.
|
|
180
|
+
*/
|
|
181
|
+
questions: {
|
|
182
|
+
[key: string]: V1SystemoneParams.DecisionModelChoiceQuestion | V1SystemoneParams.DecisionModelNoulQuestion | V1SystemoneParams.DecisionModelScoreQuestion;
|
|
183
|
+
};
|
|
184
|
+
/**
|
|
185
|
+
* Shared context evaluated by every question.
|
|
186
|
+
*/
|
|
187
|
+
state: string | {
|
|
188
|
+
[key: string]: unknown;
|
|
189
|
+
} | Array<unknown>;
|
|
190
|
+
}
|
|
191
|
+
export declare namespace V1SystemoneParams {
|
|
192
|
+
/**
|
|
193
|
+
* Select one of the supplied options.
|
|
194
|
+
*/
|
|
195
|
+
interface DecisionModelChoiceQuestion {
|
|
196
|
+
/**
|
|
197
|
+
* Between 2 and 64 option keys mapped to description strings or null. A null
|
|
198
|
+
* description uses the option key as its text.
|
|
199
|
+
*/
|
|
200
|
+
criteria: {
|
|
201
|
+
[key: string]: string | null;
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* Required instructions describing what to decide about the shared state.
|
|
205
|
+
*/
|
|
206
|
+
instructions: string | {
|
|
207
|
+
[key: string]: unknown;
|
|
208
|
+
} | Array<unknown>;
|
|
209
|
+
/**
|
|
210
|
+
* Question type.
|
|
211
|
+
*/
|
|
212
|
+
type: 'choice';
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Evaluate a yes/no question. Omit criteria to use Yes and No descriptions.
|
|
216
|
+
*/
|
|
217
|
+
interface DecisionModelNoulQuestion {
|
|
218
|
+
/**
|
|
219
|
+
* Required instructions describing what to decide about the shared state.
|
|
220
|
+
*/
|
|
221
|
+
instructions: string | {
|
|
222
|
+
[key: string]: unknown;
|
|
223
|
+
} | Array<unknown>;
|
|
224
|
+
/**
|
|
225
|
+
* Question type.
|
|
226
|
+
*/
|
|
227
|
+
type: 'noul';
|
|
228
|
+
/**
|
|
229
|
+
* Optional descriptions for the positive and negative outcomes. Descriptions must
|
|
230
|
+
* be strings.
|
|
231
|
+
*/
|
|
232
|
+
criteria?: DecisionModelNoulQuestion.Criteria;
|
|
233
|
+
}
|
|
234
|
+
namespace DecisionModelNoulQuestion {
|
|
235
|
+
/**
|
|
236
|
+
* Optional descriptions for the positive and negative outcomes. Descriptions must
|
|
237
|
+
* be strings.
|
|
238
|
+
*/
|
|
239
|
+
interface Criteria {
|
|
240
|
+
/**
|
|
241
|
+
* Description of the negative outcome.
|
|
242
|
+
*/
|
|
243
|
+
false?: string;
|
|
244
|
+
/**
|
|
245
|
+
* Description of the positive outcome.
|
|
246
|
+
*/
|
|
247
|
+
true?: string;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* Rate the state against an ordered rubric.
|
|
252
|
+
*/
|
|
253
|
+
interface DecisionModelScoreQuestion {
|
|
254
|
+
/**
|
|
255
|
+
* Between 2 and 64 description strings in ascending score order. Indices start at
|
|
256
|
+
* zero.
|
|
257
|
+
*/
|
|
258
|
+
criteria: Array<string>;
|
|
259
|
+
/**
|
|
260
|
+
* Required instructions describing what to decide about the shared state.
|
|
261
|
+
*/
|
|
262
|
+
instructions: string | {
|
|
263
|
+
[key: string]: unknown;
|
|
264
|
+
} | Array<unknown>;
|
|
265
|
+
/**
|
|
266
|
+
* Question type.
|
|
267
|
+
*/
|
|
268
|
+
type: 'score';
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
export declare namespace V1 {
|
|
272
|
+
export { type V1SystemoneResponse as V1SystemoneResponse, type V1SystemoneParams as V1SystemoneParams };
|
|
273
|
+
}
|
|
274
|
+
//# sourceMappingURL=v1.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1.d.mts","sourceRoot":"","sources":["../../../src/resources/ai/typesafe/v1.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAEnE;;GAEG;AACH,qBAAa,EAAG,SAAQ,WAAW;IACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmDG;IACH,SAAS,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;CAG9F;AAED;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,OAAO,EAAE;QACP,CAAC,GAAG,EAAE,MAAM,GACR,mBAAmB,CAAC,yBAAyB,GAC7C,mBAAmB,CAAC,uBAAuB,GAC3C,mBAAmB,CAAC,wBAAwB,CAAC;KAClD,CAAC;IAEF;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,EAAE,mBAAmB,CAAC,KAAK,CAAC;CAClC;AAED,yBAAiB,mBAAmB,CAAC;IACnC;;OAEG;IACH,UAAiB,yBAAyB;QACxC;;;WAGG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;;;;WAKG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;;WAGG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