telnyx 7.22.0 → 7.24.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 +42 -12
- package/client.d.mts.map +1 -1
- package/client.d.ts +42 -12
- package/client.d.ts.map +1 -1
- package/client.js +30 -0
- package/client.js.map +1 -1
- package/client.mjs +30 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/ai/ai.d.mts +12 -4
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +12 -4
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js +8 -0
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs +9 -1
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +409 -57
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +409 -57
- 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 +36 -14
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +36 -14
- package/resources/ai/assistants/versions.d.ts.map +1 -1
- package/resources/ai/audio.d.mts +78 -43
- package/resources/ai/audio.d.mts.map +1 -1
- package/resources/ai/audio.d.ts +78 -43
- package/resources/ai/audio.d.ts.map +1 -1
- package/resources/ai/audio.js.map +1 -1
- package/resources/ai/audio.mjs.map +1 -1
- package/resources/ai/chat.d.mts +2 -10
- package/resources/ai/chat.d.mts.map +1 -1
- package/resources/ai/chat.d.ts +2 -10
- package/resources/ai/chat.d.ts.map +1 -1
- package/resources/ai/chat.js.map +1 -1
- package/resources/ai/chat.mjs.map +1 -1
- package/resources/ai/collections/collections.d.mts +3 -3
- package/resources/ai/collections/collections.d.mts.map +1 -1
- package/resources/ai/collections/collections.d.ts +3 -3
- package/resources/ai/collections/collections.d.ts.map +1 -1
- package/resources/ai/collections/collections.js.map +1 -1
- package/resources/ai/collections/collections.mjs.map +1 -1
- package/resources/ai/collections/index.d.mts +1 -1
- package/resources/ai/collections/index.d.mts.map +1 -1
- package/resources/ai/collections/index.d.ts +1 -1
- package/resources/ai/collections/index.d.ts.map +1 -1
- package/resources/ai/collections/index.js.map +1 -1
- package/resources/ai/collections/index.mjs.map +1 -1
- package/resources/ai/collections/sources.d.mts +32 -5
- package/resources/ai/collections/sources.d.mts.map +1 -1
- package/resources/ai/collections/sources.d.ts +32 -5
- package/resources/ai/collections/sources.d.ts.map +1 -1
- package/resources/ai/collections/sources.js.map +1 -1
- package/resources/ai/collections/sources.mjs.map +1 -1
- package/resources/ai/index.d.mts +4 -2
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +4 -2
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js +9 -5
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs +3 -1
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/memory/index.d.mts +3 -0
- package/resources/ai/memory/index.d.mts.map +1 -0
- package/resources/ai/memory/index.d.ts +3 -0
- package/resources/ai/memory/index.d.ts.map +1 -0
- package/resources/ai/memory/index.js +9 -0
- package/resources/ai/memory/index.js.map +1 -0
- package/resources/ai/memory/index.mjs +4 -0
- package/resources/ai/memory/index.mjs.map +1 -0
- package/resources/ai/memory/memory.d.mts +10 -0
- package/resources/ai/memory/memory.d.mts.map +1 -0
- package/resources/ai/memory/memory.d.ts +10 -0
- package/resources/ai/memory/memory.d.ts.map +1 -0
- package/resources/ai/memory/memory.js +17 -0
- package/resources/ai/memory/memory.js.map +1 -0
- package/resources/ai/memory/memory.mjs +12 -0
- package/resources/ai/memory/memory.mjs.map +1 -0
- package/resources/ai/memory/namespaces/index.d.mts +4 -0
- package/resources/ai/memory/namespaces/index.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/index.d.ts +4 -0
- package/resources/ai/memory/namespaces/index.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/index.js +11 -0
- package/resources/ai/memory/namespaces/index.js.map +1 -0
- package/resources/ai/memory/namespaces/index.mjs +5 -0
- package/resources/ai/memory/namespaces/index.mjs.map +1 -0
- package/resources/ai/memory/namespaces/namespaces.d.mts +54 -0
- package/resources/ai/memory/namespaces/namespaces.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/namespaces.d.ts +54 -0
- package/resources/ai/memory/namespaces/namespaces.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/namespaces.js +43 -0
- package/resources/ai/memory/namespaces/namespaces.js.map +1 -0
- package/resources/ai/memory/namespaces/namespaces.mjs +38 -0
- package/resources/ai/memory/namespaces/namespaces.mjs.map +1 -0
- package/resources/ai/memory/namespaces/profiles/index.d.mts +4 -0
- package/resources/ai/memory/namespaces/profiles/index.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/index.d.ts +4 -0
- package/resources/ai/memory/namespaces/profiles/index.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/index.js +11 -0
- package/resources/ai/memory/namespaces/profiles/index.js.map +1 -0
- package/resources/ai/memory/namespaces/profiles/index.mjs +5 -0
- package/resources/ai/memory/namespaces/profiles/index.mjs.map +1 -0
- package/resources/ai/memory/namespaces/profiles/memories.d.mts +118 -0
- package/resources/ai/memory/namespaces/profiles/memories.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/memories.d.ts +118 -0
- package/resources/ai/memory/namespaces/profiles/memories.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/memories.js +63 -0
- package/resources/ai/memory/namespaces/profiles/memories.js.map +1 -0
- package/resources/ai/memory/namespaces/profiles/memories.mjs +59 -0
- package/resources/ai/memory/namespaces/profiles/memories.mjs.map +1 -0
- package/resources/ai/memory/namespaces/profiles/profiles.d.mts +324 -0
- package/resources/ai/memory/namespaces/profiles/profiles.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/profiles.d.ts +324 -0
- package/resources/ai/memory/namespaces/profiles/profiles.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/profiles.js +161 -0
- package/resources/ai/memory/namespaces/profiles/profiles.js.map +1 -0
- package/resources/ai/memory/namespaces/profiles/profiles.mjs +156 -0
- package/resources/ai/memory/namespaces/profiles/profiles.mjs.map +1 -0
- package/resources/ai/memory/namespaces/profiles/sources.d.mts +163 -0
- package/resources/ai/memory/namespaces/profiles/sources.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/sources.d.ts +163 -0
- package/resources/ai/memory/namespaces/profiles/sources.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/sources.js +80 -0
- package/resources/ai/memory/namespaces/profiles/sources.js.map +1 -0
- package/resources/ai/memory/namespaces/profiles/sources.mjs +76 -0
- package/resources/ai/memory/namespaces/profiles/sources.mjs.map +1 -0
- package/resources/ai/memory/namespaces/profiles.d.mts +2 -0
- package/resources/ai/memory/namespaces/profiles.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/profiles.d.ts +2 -0
- package/resources/ai/memory/namespaces/profiles.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/profiles.js +6 -0
- package/resources/ai/memory/namespaces/profiles.js.map +1 -0
- package/resources/ai/memory/namespaces/profiles.mjs +3 -0
- package/resources/ai/memory/namespaces/profiles.mjs.map +1 -0
- package/resources/ai/memory/namespaces/settings.d.mts +108 -0
- package/resources/ai/memory/namespaces/settings.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/settings.d.ts +108 -0
- package/resources/ai/memory/namespaces/settings.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/settings.js +54 -0
- package/resources/ai/memory/namespaces/settings.js.map +1 -0
- package/resources/ai/memory/namespaces/settings.mjs +50 -0
- package/resources/ai/memory/namespaces/settings.mjs.map +1 -0
- package/resources/ai/memory/namespaces.d.mts +2 -0
- package/resources/ai/memory/namespaces.d.mts.map +1 -0
- package/resources/ai/memory/namespaces.d.ts +2 -0
- package/resources/ai/memory/namespaces.d.ts.map +1 -0
- package/resources/ai/memory/namespaces.js +6 -0
- package/resources/ai/memory/namespaces.js.map +1 -0
- package/resources/ai/memory/namespaces.mjs +3 -0
- package/resources/ai/memory/namespaces.mjs.map +1 -0
- package/resources/ai/memory.d.mts +2 -0
- package/resources/ai/memory.d.mts.map +1 -0
- package/resources/ai/memory.d.ts +2 -0
- package/resources/ai/memory.d.ts.map +1 -0
- package/resources/ai/memory.js +6 -0
- package/resources/ai/memory.js.map +1 -0
- package/resources/ai/memory.mjs +3 -0
- package/resources/ai/memory.mjs.map +1 -0
- package/resources/ai/openai/chat.d.mts +10 -11
- package/resources/ai/openai/chat.d.mts.map +1 -1
- package/resources/ai/openai/chat.d.ts +10 -11
- package/resources/ai/openai/chat.d.ts.map +1 -1
- package/resources/ai/openai/chat.js.map +1 -1
- package/resources/ai/openai/chat.mjs.map +1 -1
- package/resources/ai/openai/index.d.mts +1 -1
- package/resources/ai/openai/index.d.mts.map +1 -1
- package/resources/ai/openai/index.d.ts +1 -1
- package/resources/ai/openai/index.d.ts.map +1 -1
- package/resources/ai/openai/index.js.map +1 -1
- package/resources/ai/openai/index.mjs +1 -1
- package/resources/ai/openai/index.mjs.map +1 -1
- package/resources/ai/openai/openai.d.mts +2 -2
- package/resources/ai/openai/openai.d.mts.map +1 -1
- package/resources/ai/openai/openai.d.ts +2 -2
- package/resources/ai/openai/openai.d.ts.map +1 -1
- package/resources/ai/openai/openai.js.map +1 -1
- package/resources/ai/openai/openai.mjs.map +1 -1
- package/resources/ai/typesafe/index.d.mts +3 -0
- package/resources/ai/typesafe/index.d.mts.map +1 -0
- package/resources/ai/typesafe/index.d.ts +3 -0
- package/resources/ai/typesafe/index.d.ts.map +1 -0
- package/resources/ai/typesafe/index.js +9 -0
- package/resources/ai/typesafe/index.js.map +1 -0
- package/resources/ai/typesafe/index.mjs +4 -0
- package/resources/ai/typesafe/index.mjs.map +1 -0
- package/resources/ai/typesafe/typesafe.d.mts +10 -0
- package/resources/ai/typesafe/typesafe.d.mts.map +1 -0
- package/resources/ai/typesafe/typesafe.d.ts +10 -0
- package/resources/ai/typesafe/typesafe.d.ts.map +1 -0
- package/resources/ai/typesafe/typesafe.js +17 -0
- package/resources/ai/typesafe/typesafe.js.map +1 -0
- package/resources/ai/typesafe/typesafe.mjs +12 -0
- package/resources/ai/typesafe/typesafe.mjs.map +1 -0
- package/resources/ai/typesafe/v1.d.mts +285 -0
- package/resources/ai/typesafe/v1.d.mts.map +1 -0
- package/resources/ai/typesafe/v1.d.ts +285 -0
- package/resources/ai/typesafe/v1.d.ts.map +1 -0
- package/resources/ai/typesafe/v1.js +72 -0
- package/resources/ai/typesafe/v1.js.map +1 -0
- package/resources/ai/typesafe/v1.mjs +68 -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 +100 -16
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +100 -16
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/calls.d.mts +55 -9
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +55 -9
- package/resources/calls/calls.d.ts.map +1 -1
- package/resources/calls/calls.js.map +1 -1
- package/resources/calls/calls.mjs.map +1 -1
- package/resources/calls/index.d.mts +1 -1
- package/resources/calls/index.d.mts.map +1 -1
- package/resources/calls/index.d.ts +1 -1
- package/resources/calls/index.d.ts.map +1 -1
- package/resources/calls/index.js.map +1 -1
- package/resources/calls/index.mjs.map +1 -1
- package/resources/compute/compute.d.mts +2 -2
- package/resources/compute/compute.d.mts.map +1 -1
- package/resources/compute/compute.d.ts +2 -2
- package/resources/compute/compute.d.ts.map +1 -1
- package/resources/compute/compute.js +2 -2
- package/resources/compute/compute.js.map +1 -1
- package/resources/compute/compute.mjs +2 -2
- package/resources/compute/compute.mjs.map +1 -1
- package/resources/compute/funcs/export.d.mts +121 -0
- package/resources/compute/funcs/export.d.mts.map +1 -0
- package/resources/compute/funcs/export.d.ts +121 -0
- package/resources/compute/funcs/export.d.ts.map +1 -0
- package/resources/compute/funcs/export.js +68 -0
- package/resources/compute/funcs/export.js.map +1 -0
- package/resources/compute/funcs/export.mjs +64 -0
- package/resources/compute/funcs/export.mjs.map +1 -0
- package/resources/compute/funcs/funcs.d.mts +214 -0
- package/resources/compute/funcs/funcs.d.mts.map +1 -0
- package/resources/compute/funcs/funcs.d.ts +214 -0
- package/resources/compute/funcs/funcs.d.ts.map +1 -0
- package/resources/compute/funcs/funcs.js +80 -0
- package/resources/compute/funcs/funcs.js.map +1 -0
- package/resources/compute/funcs/funcs.mjs +75 -0
- package/resources/compute/funcs/funcs.mjs.map +1 -0
- package/resources/compute/funcs/index.d.mts +3 -0
- package/resources/compute/funcs/index.d.mts.map +1 -0
- package/resources/compute/funcs/index.d.ts +3 -0
- package/resources/compute/funcs/index.d.ts.map +1 -0
- package/resources/compute/funcs/index.js +9 -0
- package/resources/compute/funcs/index.js.map +1 -0
- package/resources/compute/funcs/index.mjs +4 -0
- package/resources/compute/funcs/index.mjs.map +1 -0
- package/resources/compute/funcs.d.mts +1 -178
- package/resources/compute/funcs.d.mts.map +1 -1
- package/resources/compute/funcs.d.ts +1 -178
- package/resources/compute/funcs.d.ts.map +1 -1
- package/resources/compute/funcs.js +2 -37
- package/resources/compute/funcs.js.map +1 -1
- package/resources/compute/funcs.mjs +1 -35
- package/resources/compute/funcs.mjs.map +1 -1
- package/resources/compute/index.d.mts +1 -1
- package/resources/compute/index.d.mts.map +1 -1
- package/resources/compute/index.d.ts +1 -1
- package/resources/compute/index.d.ts.map +1 -1
- package/resources/compute/index.js +2 -2
- package/resources/compute/index.js.map +1 -1
- package/resources/compute/index.mjs +1 -1
- package/resources/compute/index.mjs.map +1 -1
- package/resources/conferences/actions.d.mts +7 -1
- package/resources/conferences/actions.d.mts.map +1 -1
- package/resources/conferences/actions.d.ts +7 -1
- package/resources/conferences/actions.d.ts.map +1 -1
- package/resources/connections.d.mts +109 -1
- package/resources/connections.d.mts.map +1 -1
- package/resources/connections.d.ts +109 -1
- package/resources/connections.d.ts.map +1 -1
- package/resources/connections.js +8 -0
- package/resources/connections.js.map +1 -1
- package/resources/connections.mjs +8 -0
- package/resources/connections.mjs.map +1 -1
- package/resources/detail-records.d.mts +18 -1
- package/resources/detail-records.d.mts.map +1 -1
- package/resources/detail-records.d.ts +18 -1
- package/resources/detail-records.d.ts.map +1 -1
- package/resources/email-blocks/email-blocks.d.mts +12 -4
- package/resources/email-blocks/email-blocks.d.mts.map +1 -1
- package/resources/email-blocks/email-blocks.d.ts +12 -4
- package/resources/email-blocks/email-blocks.d.ts.map +1 -1
- package/resources/email-blocks/email-blocks.js +5 -3
- package/resources/email-blocks/email-blocks.js.map +1 -1
- package/resources/email-blocks/email-blocks.mjs +5 -3
- package/resources/email-blocks/email-blocks.mjs.map +1 -1
- package/resources/email-blocks/imports.d.mts +20 -4
- package/resources/email-blocks/imports.d.mts.map +1 -1
- package/resources/email-blocks/imports.d.ts +20 -4
- package/resources/email-blocks/imports.d.ts.map +1 -1
- package/resources/email-blocks/imports.js +17 -3
- package/resources/email-blocks/imports.js.map +1 -1
- package/resources/email-blocks/imports.mjs +17 -3
- package/resources/email-blocks/imports.mjs.map +1 -1
- package/resources/email-domains/email-domains.d.mts +98 -1
- package/resources/email-domains/email-domains.d.mts.map +1 -1
- package/resources/email-domains/email-domains.d.ts +98 -1
- package/resources/email-domains/email-domains.d.ts.map +1 -1
- package/resources/email-domains/email-domains.js +21 -0
- package/resources/email-domains/email-domains.js.map +1 -1
- package/resources/email-domains/email-domains.mjs +21 -0
- package/resources/email-domains/email-domains.mjs.map +1 -1
- package/resources/email-domains/index.d.mts +1 -1
- package/resources/email-domains/index.d.mts.map +1 -1
- package/resources/email-domains/index.d.ts +1 -1
- package/resources/email-domains/index.d.ts.map +1 -1
- package/resources/email-domains/index.js.map +1 -1
- package/resources/email-domains/index.mjs.map +1 -1
- package/resources/email-domains/webhooks.d.mts +6 -4
- package/resources/email-domains/webhooks.d.mts.map +1 -1
- package/resources/email-domains/webhooks.d.ts +6 -4
- package/resources/email-domains/webhooks.d.ts.map +1 -1
- package/resources/email-events.d.mts +162 -28
- package/resources/email-events.d.mts.map +1 -1
- package/resources/email-events.d.ts +162 -28
- package/resources/email-events.d.ts.map +1 -1
- package/resources/email-events.js +15 -6
- package/resources/email-events.js.map +1 -1
- package/resources/email-events.mjs +15 -6
- package/resources/email-events.mjs.map +1 -1
- package/resources/email-inboxes/drafts.d.mts +31 -1
- package/resources/email-inboxes/drafts.d.mts.map +1 -1
- package/resources/email-inboxes/drafts.d.ts +31 -1
- package/resources/email-inboxes/drafts.d.ts.map +1 -1
- package/resources/email-inboxes/drafts.js.map +1 -1
- package/resources/email-inboxes/drafts.mjs.map +1 -1
- package/resources/email-messages/email-messages.d.mts +178 -45
- package/resources/email-messages/email-messages.d.mts.map +1 -1
- package/resources/email-messages/email-messages.d.ts +178 -45
- package/resources/email-messages/email-messages.d.ts.map +1 -1
- package/resources/email-messages/email-messages.js +43 -9
- package/resources/email-messages/email-messages.js.map +1 -1
- package/resources/email-messages/email-messages.mjs +43 -9
- package/resources/email-messages/email-messages.mjs.map +1 -1
- package/resources/email-messages/index.d.mts +1 -1
- package/resources/email-messages/index.d.mts.map +1 -1
- package/resources/email-messages/index.d.ts +1 -1
- package/resources/email-messages/index.d.ts.map +1 -1
- package/resources/email-messages/index.js.map +1 -1
- package/resources/email-messages/index.mjs.map +1 -1
- package/resources/email-messages/recipients.d.mts +2 -2
- package/resources/email-messages/recipients.d.mts.map +1 -1
- package/resources/email-messages/recipients.d.ts +2 -2
- package/resources/email-messages/recipients.d.ts.map +1 -1
- package/resources/email-templates.d.mts +170 -0
- package/resources/email-templates.d.mts.map +1 -1
- package/resources/email-templates.d.ts +170 -0
- package/resources/email-templates.d.ts.map +1 -1
- package/resources/email-templates.js +6 -0
- package/resources/email-templates.js.map +1 -1
- package/resources/email-templates.mjs +6 -0
- package/resources/email-templates.mjs.map +1 -1
- package/resources/index.d.mts +11 -6
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +11 -6
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +14 -4
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +5 -0
- package/resources/index.mjs.map +1 -1
- package/resources/machine-payments.d.mts +142 -0
- package/resources/machine-payments.d.mts.map +1 -0
- package/resources/machine-payments.d.ts +142 -0
- package/resources/machine-payments.d.ts.map +1 -0
- package/resources/machine-payments.js +56 -0
- package/resources/machine-payments.js.map +1 -0
- package/resources/machine-payments.mjs +52 -0
- package/resources/machine-payments.mjs.map +1 -0
- package/resources/meeting-sessions/actions.d.mts +7 -1
- package/resources/meeting-sessions/actions.d.mts.map +1 -1
- package/resources/meeting-sessions/actions.d.ts +7 -1
- package/resources/meeting-sessions/actions.d.ts.map +1 -1
- package/resources/meeting-sessions/actions.js +7 -1
- package/resources/meeting-sessions/actions.js.map +1 -1
- package/resources/meeting-sessions/actions.mjs +7 -1
- package/resources/meeting-sessions/actions.mjs.map +1 -1
- package/resources/meeting-sessions/artifacts.d.mts +38 -11
- package/resources/meeting-sessions/artifacts.d.mts.map +1 -1
- package/resources/meeting-sessions/artifacts.d.ts +38 -11
- package/resources/meeting-sessions/artifacts.d.ts.map +1 -1
- package/resources/meeting-sessions/artifacts.js +11 -5
- package/resources/meeting-sessions/artifacts.js.map +1 -1
- package/resources/meeting-sessions/artifacts.mjs +11 -5
- package/resources/meeting-sessions/artifacts.mjs.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.d.mts +63 -23
- package/resources/meeting-sessions/meeting-sessions.d.mts.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.d.ts +63 -23
- package/resources/meeting-sessions/meeting-sessions.d.ts.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.js +0 -2
- package/resources/meeting-sessions/meeting-sessions.js.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.mjs +0 -2
- package/resources/meeting-sessions/meeting-sessions.mjs.map +1 -1
- package/resources/messages/messages.d.mts +135 -23
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +135 -23
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/noise-suppression-engines.d.mts +42 -0
- package/resources/noise-suppression-engines.d.mts.map +1 -0
- package/resources/noise-suppression-engines.d.ts +42 -0
- package/resources/noise-suppression-engines.d.ts.map +1 -0
- package/resources/noise-suppression-engines.js +21 -0
- package/resources/noise-suppression-engines.js.map +1 -0
- package/resources/noise-suppression-engines.mjs +17 -0
- package/resources/noise-suppression-engines.mjs.map +1 -0
- package/resources/phone-numbers/phone-numbers.d.mts +12 -2
- package/resources/phone-numbers/phone-numbers.d.mts.map +1 -1
- package/resources/phone-numbers/phone-numbers.d.ts +12 -2
- package/resources/phone-numbers/phone-numbers.d.ts.map +1 -1
- package/resources/phone-numbers/phone-numbers.js.map +1 -1
- package/resources/phone-numbers/phone-numbers.mjs.map +1 -1
- package/resources/private-wireless-gateways.d.mts +61 -7
- package/resources/private-wireless-gateways.d.mts.map +1 -1
- package/resources/private-wireless-gateways.d.ts +61 -7
- package/resources/private-wireless-gateways.d.ts.map +1 -1
- package/resources/private-wireless-gateways.js +1 -1
- package/resources/private-wireless-gateways.js.map +1 -1
- package/resources/private-wireless-gateways.mjs +1 -1
- package/resources/private-wireless-gateways.mjs.map +1 -1
- 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 +126 -9
- package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
- package/resources/texml/accounts/calls/calls.d.ts +126 -9
- package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
- package/resources/texml/accounts/calls/calls.js +12 -2
- package/resources/texml/accounts/calls/calls.js.map +1 -1
- package/resources/texml/accounts/calls/calls.mjs +12 -2
- 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/text-to-speech/text-to-speech.d.mts +61 -9
- package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.ts +61 -9
- package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-speech/text-to-speech.js +10 -3
- package/resources/text-to-speech/text-to-speech.js.map +1 -1
- package/resources/text-to-speech/text-to-speech.mjs +10 -3
- package/resources/text-to-speech/text-to-speech.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 +40 -53
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +40 -53
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +92 -6
- package/src/resources/ai/ai.ts +21 -1
- package/src/resources/ai/assistants/assistants.ts +502 -56
- package/src/resources/ai/assistants/index.ts +1 -0
- package/src/resources/ai/assistants/versions.ts +36 -14
- package/src/resources/ai/audio.ts +93 -45
- package/src/resources/ai/chat.ts +2 -11
- package/src/resources/ai/collections/collections.ts +3 -1
- package/src/resources/ai/collections/index.ts +2 -0
- package/src/resources/ai/collections/sources.ts +38 -4
- package/src/resources/ai/index.ts +9 -1
- package/src/resources/ai/memory/index.ts +4 -0
- package/src/resources/ai/memory/memory.ts +19 -0
- package/src/resources/ai/memory/namespaces/index.ts +21 -0
- package/src/resources/ai/memory/namespaces/namespaces.ts +116 -0
- package/src/resources/ai/memory/namespaces/profiles/index.ts +35 -0
- package/src/resources/ai/memory/namespaces/profiles/memories.ts +170 -0
- package/src/resources/ai/memory/namespaces/profiles/profiles.ts +482 -0
- package/src/resources/ai/memory/namespaces/profiles/sources.ts +226 -0
- package/src/resources/ai/memory/namespaces/profiles.ts +3 -0
- package/src/resources/ai/memory/namespaces/settings.ts +129 -0
- package/src/resources/ai/memory/namespaces.ts +3 -0
- package/src/resources/ai/memory.ts +3 -0
- package/src/resources/ai/openai/chat.ts +11 -11
- package/src/resources/ai/openai/index.ts +6 -1
- package/src/resources/ai/openai/openai.ts +2 -1
- package/src/resources/ai/typesafe/index.ts +4 -0
- package/src/resources/ai/typesafe/typesafe.ts +19 -0
- package/src/resources/ai/typesafe/v1.ts +310 -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 +115 -14
- package/src/resources/calls/calls.ts +64 -7
- package/src/resources/calls/index.ts +1 -0
- package/src/resources/compute/compute.ts +2 -2
- package/src/resources/compute/funcs/export.ts +156 -0
- package/src/resources/compute/funcs/funcs.ts +341 -0
- package/src/resources/compute/funcs/index.ts +15 -0
- package/src/resources/compute/funcs.ts +1 -296
- package/src/resources/compute/index.ts +1 -1
- package/src/resources/conferences/actions.ts +8 -1
- package/src/resources/connections.ts +133 -0
- package/src/resources/detail-records.ts +18 -1
- package/src/resources/email-blocks/email-blocks.ts +12 -4
- package/src/resources/email-blocks/imports.ts +20 -4
- package/src/resources/email-domains/email-domains.ts +120 -0
- package/src/resources/email-domains/index.ts +1 -0
- package/src/resources/email-domains/webhooks.ts +9 -4
- package/src/resources/email-events.ts +220 -35
- package/src/resources/email-inboxes/drafts.ts +32 -1
- package/src/resources/email-messages/email-messages.ts +195 -49
- package/src/resources/email-messages/index.ts +2 -1
- package/src/resources/email-messages/recipients.ts +6 -2
- package/src/resources/email-templates.ts +185 -0
- package/src/resources/index.ts +29 -3
- package/src/resources/machine-payments.ts +169 -0
- package/src/resources/meeting-sessions/actions.ts +7 -1
- package/src/resources/meeting-sessions/artifacts.ts +42 -11
- package/src/resources/meeting-sessions/meeting-sessions.ts +63 -24
- package/src/resources/messages/messages.ts +168 -23
- package/src/resources/noise-suppression-engines.ts +51 -0
- package/src/resources/phone-numbers/phone-numbers.ts +13 -2
- package/src/resources/private-wireless-gateways.ts +76 -8
- package/src/resources/speech-to-text/speech-to-text.ts +1 -0
- package/src/resources/texml/accounts/calls/calls.ts +158 -10
- 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/text-to-speech/text-to-speech.ts +69 -9
- package/src/resources/voice-clones.ts +6 -4
- package/src/resources/webhooks.ts +47 -62
- 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
package/resources/ai/audio.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as AudioAPI from "./audio.mjs";
|
|
2
3
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
4
|
import { type Uploadable } from "../../core/uploads.mjs";
|
|
4
5
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
@@ -17,12 +18,49 @@ export declare class Audio extends APIResource {
|
|
|
17
18
|
*/
|
|
18
19
|
transcribe(body: AudioTranscribeParams, options?: RequestOptions): APIPromise<AudioTranscribeResponse>;
|
|
19
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* Word-level timing detail. Only present when using a `deepgram/*` model with
|
|
23
|
+
* `model_config` options that enable word timestamps.
|
|
24
|
+
*/
|
|
25
|
+
export interface AudioTranscriptionResponseWord {
|
|
26
|
+
/**
|
|
27
|
+
* End time of the word in seconds.
|
|
28
|
+
*/
|
|
29
|
+
end: number;
|
|
30
|
+
/**
|
|
31
|
+
* Start time of the word in seconds.
|
|
32
|
+
*/
|
|
33
|
+
start: number;
|
|
34
|
+
/**
|
|
35
|
+
* The transcribed word.
|
|
36
|
+
*/
|
|
37
|
+
word: string;
|
|
38
|
+
/**
|
|
39
|
+
* Confidence score for the word (0.0 to 1.0).
|
|
40
|
+
*/
|
|
41
|
+
confidence?: number;
|
|
42
|
+
/**
|
|
43
|
+
* The transcribed word with punctuation and capitalisation applied. Only present
|
|
44
|
+
* when `punctuate` or `smart_format` is enabled via `model_config`.
|
|
45
|
+
*/
|
|
46
|
+
punctuated_word?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Speaker index. Only present when diarization is enabled via `model_config`.
|
|
49
|
+
*/
|
|
50
|
+
speaker?: number;
|
|
51
|
+
/**
|
|
52
|
+
* Confidence score for the speaker assignment (0.0 to 1.0). Only present when
|
|
53
|
+
* diarization is enabled via `model_config`.
|
|
54
|
+
*/
|
|
55
|
+
speaker_confidence?: number;
|
|
56
|
+
}
|
|
20
57
|
/**
|
|
21
58
|
* Response fields vary by model. `distil-whisper/distil-large-v2` returns `text`,
|
|
22
59
|
* `duration`, and `segments` in `verbose_json` mode.
|
|
23
|
-
* `openai/whisper-large-v3-turbo` returns `text` only. `deepgram
|
|
24
|
-
* `text` and, depending on `model_config`, may include `words` with
|
|
25
|
-
* timestamps and speaker labels.
|
|
60
|
+
* `openai/whisper-large-v3-turbo` returns `text` only. The `deepgram/*` models
|
|
61
|
+
* return `text` and, depending on `model_config`, may include `words` with
|
|
62
|
+
* per-word timestamps and speaker labels. The Parakeet models
|
|
63
|
+
* (`nvidia/parakeet-v3`, `omi-health/omi-med-stt-v1`) return `text` only.
|
|
26
64
|
*/
|
|
27
65
|
export interface AudioTranscribeResponse {
|
|
28
66
|
/**
|
|
@@ -31,21 +69,23 @@ export interface AudioTranscribeResponse {
|
|
|
31
69
|
text: string;
|
|
32
70
|
/**
|
|
33
71
|
* The duration of the audio file in seconds. Returned by
|
|
34
|
-
* `distil-whisper/distil-large-v2` and `deepgram
|
|
35
|
-
* `verbose_json`. Not returned by
|
|
72
|
+
* `distil-whisper/distil-large-v2` and the `deepgram/*` models when
|
|
73
|
+
* `response_format` is `verbose_json`. Not returned by
|
|
74
|
+
* `openai/whisper-large-v3-turbo`.
|
|
36
75
|
*/
|
|
37
76
|
duration?: number;
|
|
38
77
|
/**
|
|
39
78
|
* Segments of the transcribed text and their corresponding details. Returned by
|
|
40
|
-
* `distil-whisper/distil-large-v2`
|
|
41
|
-
*
|
|
79
|
+
* `distil-whisper/distil-large-v2` and the `deepgram/*` models when
|
|
80
|
+
* `response_format` is `verbose_json`; Deepgram segments also carry nested `words`
|
|
81
|
+
* and `speakers`. Not returned by `openai/whisper-large-v3-turbo`.
|
|
42
82
|
*/
|
|
43
83
|
segments?: Array<AudioTranscribeResponse.Segment>;
|
|
44
84
|
/**
|
|
45
|
-
* Word-level timestamps and optional speaker labels. Only returned by
|
|
46
|
-
* `deepgram
|
|
85
|
+
* Word-level timestamps and optional speaker labels. Only returned by the
|
|
86
|
+
* `deepgram/*` models when word-level output is enabled via `model_config`.
|
|
47
87
|
*/
|
|
48
|
-
words?: Array<
|
|
88
|
+
words?: Array<AudioTranscriptionResponseWord>;
|
|
49
89
|
}
|
|
50
90
|
export declare namespace AudioTranscribeResponse {
|
|
51
91
|
interface Segment {
|
|
@@ -65,65 +105,60 @@ export declare namespace AudioTranscribeResponse {
|
|
|
65
105
|
* Text content of the segment.
|
|
66
106
|
*/
|
|
67
107
|
text: string;
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Word-level timing detail. Only present when using `deepgram/nova-3` with
|
|
71
|
-
* `model_config` options that enable word timestamps.
|
|
72
|
-
*/
|
|
73
|
-
interface Word {
|
|
74
|
-
/**
|
|
75
|
-
* End time of the word in seconds.
|
|
76
|
-
*/
|
|
77
|
-
end: number;
|
|
78
|
-
/**
|
|
79
|
-
* Start time of the word in seconds.
|
|
80
|
-
*/
|
|
81
|
-
start: number;
|
|
82
|
-
/**
|
|
83
|
-
* The transcribed word.
|
|
84
|
-
*/
|
|
85
|
-
word: string;
|
|
86
108
|
/**
|
|
87
|
-
*
|
|
109
|
+
* Speaker indices heard in this segment. Returned by the `deepgram/*` models when
|
|
110
|
+
* `diarize` is enabled via `model_config`.
|
|
88
111
|
*/
|
|
89
|
-
|
|
112
|
+
speakers?: Array<number>;
|
|
90
113
|
/**
|
|
91
|
-
*
|
|
114
|
+
* Word-level timing detail for this segment. Returned by the `deepgram/*` models
|
|
115
|
+
* when word-level output is enabled via `model_config`.
|
|
92
116
|
*/
|
|
93
|
-
|
|
117
|
+
words?: Array<AudioAPI.AudioTranscriptionResponseWord>;
|
|
94
118
|
}
|
|
95
119
|
}
|
|
96
120
|
export interface AudioTranscribeParams {
|
|
97
121
|
/**
|
|
98
122
|
* ID of the model to use. `distil-whisper/distil-large-v2` is lower latency but
|
|
99
123
|
* English-only. `openai/whisper-large-v3-turbo` is multi-lingual but slightly
|
|
100
|
-
* higher latency. `deepgram
|
|
101
|
-
*
|
|
124
|
+
* higher latency. The `deepgram/*` models only accept mp3/wav files:
|
|
125
|
+
* `deepgram/nova-3` covers ~49 languages plus `multi` and `deepgram/nova-2` covers
|
|
126
|
+
* ~33, while the `-medical` variants are tuned for clinical vocabulary and accept
|
|
127
|
+
* English only (`en` and its regional variants, e.g. `en-US`, `en-GB`).
|
|
128
|
+
* `nvidia/parakeet-v3` is multilingual with automatic language detection;
|
|
129
|
+
* `omi-health/omi-med-stt-v1` is a medical model, English only.
|
|
102
130
|
*/
|
|
103
|
-
model: 'distil-whisper/distil-large-v2' | 'openai/whisper-large-v3-turbo' | 'deepgram/nova-3';
|
|
131
|
+
model: 'distil-whisper/distil-large-v2' | 'openai/whisper-large-v3-turbo' | 'deepgram/nova-2' | 'deepgram/nova-2-medical' | 'deepgram/nova-3' | 'deepgram/nova-3-medical' | 'nvidia/parakeet-v3' | 'omi-health/omi-med-stt-v1';
|
|
104
132
|
/**
|
|
105
133
|
* The audio file object to transcribe, in one of these formats: flac, mp3, mp4,
|
|
106
134
|
* mpeg, mpga, m4a, ogg, wav, or webm. File uploads are limited to 100 MB. Cannot
|
|
107
|
-
* be used together with `file_url`. Note: `deepgram
|
|
108
|
-
* wav formats.
|
|
135
|
+
* be used together with `file_url`. Note: the `deepgram/*` models only support mp3
|
|
136
|
+
* and wav formats.
|
|
109
137
|
*/
|
|
110
138
|
file?: Uploadable;
|
|
111
139
|
/**
|
|
112
140
|
* Link to audio file in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a,
|
|
113
141
|
* ogg, wav, or webm. Support for hosted files is limited to 100MB. Cannot be used
|
|
114
|
-
* together with `file`. Note: `deepgram
|
|
142
|
+
* together with `file`. Note: the `deepgram/*` models only support mp3 and wav
|
|
143
|
+
* formats.
|
|
115
144
|
*/
|
|
116
145
|
file_url?: string;
|
|
117
146
|
/**
|
|
118
|
-
* The language of the audio to be transcribed.
|
|
119
|
-
*
|
|
147
|
+
* The language of the audio to be transcribed. `deepgram/nova-3` supports ~49
|
|
148
|
+
* languages plus `multi`, and `deepgram/nova-2` supports ~33 plus `multi`; the
|
|
149
|
+
* `-medical` variants are English only (`en` and its regional variants, e.g.
|
|
150
|
+
* `en-US`, `en-GB`). Deepgram models validate on the base language and forward the
|
|
151
|
+
* full tag, so regional variants such as `de-CH` and `pt-BR` are accepted where
|
|
152
|
+
* the base language is supported; an unsupported language returns a 400. For
|
|
120
153
|
* `openai/whisper-large-v3-turbo`, supports multiple languages.
|
|
121
154
|
* `distil-whisper/distil-large-v2` does not support language parameter.
|
|
155
|
+
* `nvidia/parakeet-v3` detects the language automatically;
|
|
156
|
+
* `omi-health/omi-med-stt-v1` is English only.
|
|
122
157
|
*/
|
|
123
158
|
language?: string;
|
|
124
159
|
/**
|
|
125
|
-
* Additional model-specific configuration parameters. Only allowed with
|
|
126
|
-
* `deepgram
|
|
160
|
+
* Additional model-specific configuration parameters. Only allowed with the
|
|
161
|
+
* `deepgram/*` models. Can include Deepgram-specific options such as
|
|
127
162
|
* `smart_format`, `punctuate`, `diarize`, `utterance`, `numerals`, and `language`.
|
|
128
163
|
* If `language` is provided both as a top-level parameter and in `model_config`,
|
|
129
164
|
* the top-level parameter takes precedence.
|
|
@@ -144,6 +179,6 @@ export interface AudioTranscribeParams {
|
|
|
144
179
|
'timestamp_granularities[]'?: 'segment';
|
|
145
180
|
}
|
|
146
181
|
export declare namespace Audio {
|
|
147
|
-
export { type AudioTranscribeResponse as AudioTranscribeResponse, type AudioTranscribeParams as AudioTranscribeParams, };
|
|
182
|
+
export { type AudioTranscriptionResponseWord as AudioTranscriptionResponseWord, type AudioTranscribeResponse as AudioTranscribeResponse, type AudioTranscribeParams as AudioTranscribeParams, };
|
|
148
183
|
}
|
|
149
184
|
//# sourceMappingURL=audio.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audio.d.mts","sourceRoot":"","sources":["../../src/resources/ai/audio.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,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uB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
package/resources/ai/audio.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as AudioAPI from "./audio.js";
|
|
2
3
|
import { APIPromise } from "../../core/api-promise.js";
|
|
3
4
|
import { type Uploadable } from "../../core/uploads.js";
|
|
4
5
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
@@ -17,12 +18,49 @@ export declare class Audio extends APIResource {
|
|
|
17
18
|
*/
|
|
18
19
|
transcribe(body: AudioTranscribeParams, options?: RequestOptions): APIPromise<AudioTranscribeResponse>;
|
|
19
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* Word-level timing detail. Only present when using a `deepgram/*` model with
|
|
23
|
+
* `model_config` options that enable word timestamps.
|
|
24
|
+
*/
|
|
25
|
+
export interface AudioTranscriptionResponseWord {
|
|
26
|
+
/**
|
|
27
|
+
* End time of the word in seconds.
|
|
28
|
+
*/
|
|
29
|
+
end: number;
|
|
30
|
+
/**
|
|
31
|
+
* Start time of the word in seconds.
|
|
32
|
+
*/
|
|
33
|
+
start: number;
|
|
34
|
+
/**
|
|
35
|
+
* The transcribed word.
|
|
36
|
+
*/
|
|
37
|
+
word: string;
|
|
38
|
+
/**
|
|
39
|
+
* Confidence score for the word (0.0 to 1.0).
|
|
40
|
+
*/
|
|
41
|
+
confidence?: number;
|
|
42
|
+
/**
|
|
43
|
+
* The transcribed word with punctuation and capitalisation applied. Only present
|
|
44
|
+
* when `punctuate` or `smart_format` is enabled via `model_config`.
|
|
45
|
+
*/
|
|
46
|
+
punctuated_word?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Speaker index. Only present when diarization is enabled via `model_config`.
|
|
49
|
+
*/
|
|
50
|
+
speaker?: number;
|
|
51
|
+
/**
|
|
52
|
+
* Confidence score for the speaker assignment (0.0 to 1.0). Only present when
|
|
53
|
+
* diarization is enabled via `model_config`.
|
|
54
|
+
*/
|
|
55
|
+
speaker_confidence?: number;
|
|
56
|
+
}
|
|
20
57
|
/**
|
|
21
58
|
* Response fields vary by model. `distil-whisper/distil-large-v2` returns `text`,
|
|
22
59
|
* `duration`, and `segments` in `verbose_json` mode.
|
|
23
|
-
* `openai/whisper-large-v3-turbo` returns `text` only. `deepgram
|
|
24
|
-
* `text` and, depending on `model_config`, may include `words` with
|
|
25
|
-
* timestamps and speaker labels.
|
|
60
|
+
* `openai/whisper-large-v3-turbo` returns `text` only. The `deepgram/*` models
|
|
61
|
+
* return `text` and, depending on `model_config`, may include `words` with
|
|
62
|
+
* per-word timestamps and speaker labels. The Parakeet models
|
|
63
|
+
* (`nvidia/parakeet-v3`, `omi-health/omi-med-stt-v1`) return `text` only.
|
|
26
64
|
*/
|
|
27
65
|
export interface AudioTranscribeResponse {
|
|
28
66
|
/**
|
|
@@ -31,21 +69,23 @@ export interface AudioTranscribeResponse {
|
|
|
31
69
|
text: string;
|
|
32
70
|
/**
|
|
33
71
|
* The duration of the audio file in seconds. Returned by
|
|
34
|
-
* `distil-whisper/distil-large-v2` and `deepgram
|
|
35
|
-
* `verbose_json`. Not returned by
|
|
72
|
+
* `distil-whisper/distil-large-v2` and the `deepgram/*` models when
|
|
73
|
+
* `response_format` is `verbose_json`. Not returned by
|
|
74
|
+
* `openai/whisper-large-v3-turbo`.
|
|
36
75
|
*/
|
|
37
76
|
duration?: number;
|
|
38
77
|
/**
|
|
39
78
|
* Segments of the transcribed text and their corresponding details. Returned by
|
|
40
|
-
* `distil-whisper/distil-large-v2`
|
|
41
|
-
*
|
|
79
|
+
* `distil-whisper/distil-large-v2` and the `deepgram/*` models when
|
|
80
|
+
* `response_format` is `verbose_json`; Deepgram segments also carry nested `words`
|
|
81
|
+
* and `speakers`. Not returned by `openai/whisper-large-v3-turbo`.
|
|
42
82
|
*/
|
|
43
83
|
segments?: Array<AudioTranscribeResponse.Segment>;
|
|
44
84
|
/**
|
|
45
|
-
* Word-level timestamps and optional speaker labels. Only returned by
|
|
46
|
-
* `deepgram
|
|
85
|
+
* Word-level timestamps and optional speaker labels. Only returned by the
|
|
86
|
+
* `deepgram/*` models when word-level output is enabled via `model_config`.
|
|
47
87
|
*/
|
|
48
|
-
words?: Array<
|
|
88
|
+
words?: Array<AudioTranscriptionResponseWord>;
|
|
49
89
|
}
|
|
50
90
|
export declare namespace AudioTranscribeResponse {
|
|
51
91
|
interface Segment {
|
|
@@ -65,65 +105,60 @@ export declare namespace AudioTranscribeResponse {
|
|
|
65
105
|
* Text content of the segment.
|
|
66
106
|
*/
|
|
67
107
|
text: string;
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Word-level timing detail. Only present when using `deepgram/nova-3` with
|
|
71
|
-
* `model_config` options that enable word timestamps.
|
|
72
|
-
*/
|
|
73
|
-
interface Word {
|
|
74
|
-
/**
|
|
75
|
-
* End time of the word in seconds.
|
|
76
|
-
*/
|
|
77
|
-
end: number;
|
|
78
|
-
/**
|
|
79
|
-
* Start time of the word in seconds.
|
|
80
|
-
*/
|
|
81
|
-
start: number;
|
|
82
|
-
/**
|
|
83
|
-
* The transcribed word.
|
|
84
|
-
*/
|
|
85
|
-
word: string;
|
|
86
108
|
/**
|
|
87
|
-
*
|
|
109
|
+
* Speaker indices heard in this segment. Returned by the `deepgram/*` models when
|
|
110
|
+
* `diarize` is enabled via `model_config`.
|
|
88
111
|
*/
|
|
89
|
-
|
|
112
|
+
speakers?: Array<number>;
|
|
90
113
|
/**
|
|
91
|
-
*
|
|
114
|
+
* Word-level timing detail for this segment. Returned by the `deepgram/*` models
|
|
115
|
+
* when word-level output is enabled via `model_config`.
|
|
92
116
|
*/
|
|
93
|
-
|
|
117
|
+
words?: Array<AudioAPI.AudioTranscriptionResponseWord>;
|
|
94
118
|
}
|
|
95
119
|
}
|
|
96
120
|
export interface AudioTranscribeParams {
|
|
97
121
|
/**
|
|
98
122
|
* ID of the model to use. `distil-whisper/distil-large-v2` is lower latency but
|
|
99
123
|
* English-only. `openai/whisper-large-v3-turbo` is multi-lingual but slightly
|
|
100
|
-
* higher latency. `deepgram
|
|
101
|
-
*
|
|
124
|
+
* higher latency. The `deepgram/*` models only accept mp3/wav files:
|
|
125
|
+
* `deepgram/nova-3` covers ~49 languages plus `multi` and `deepgram/nova-2` covers
|
|
126
|
+
* ~33, while the `-medical` variants are tuned for clinical vocabulary and accept
|
|
127
|
+
* English only (`en` and its regional variants, e.g. `en-US`, `en-GB`).
|
|
128
|
+
* `nvidia/parakeet-v3` is multilingual with automatic language detection;
|
|
129
|
+
* `omi-health/omi-med-stt-v1` is a medical model, English only.
|
|
102
130
|
*/
|
|
103
|
-
model: 'distil-whisper/distil-large-v2' | 'openai/whisper-large-v3-turbo' | 'deepgram/nova-3';
|
|
131
|
+
model: 'distil-whisper/distil-large-v2' | 'openai/whisper-large-v3-turbo' | 'deepgram/nova-2' | 'deepgram/nova-2-medical' | 'deepgram/nova-3' | 'deepgram/nova-3-medical' | 'nvidia/parakeet-v3' | 'omi-health/omi-med-stt-v1';
|
|
104
132
|
/**
|
|
105
133
|
* The audio file object to transcribe, in one of these formats: flac, mp3, mp4,
|
|
106
134
|
* mpeg, mpga, m4a, ogg, wav, or webm. File uploads are limited to 100 MB. Cannot
|
|
107
|
-
* be used together with `file_url`. Note: `deepgram
|
|
108
|
-
* wav formats.
|
|
135
|
+
* be used together with `file_url`. Note: the `deepgram/*` models only support mp3
|
|
136
|
+
* and wav formats.
|
|
109
137
|
*/
|
|
110
138
|
file?: Uploadable;
|
|
111
139
|
/**
|
|
112
140
|
* Link to audio file in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a,
|
|
113
141
|
* ogg, wav, or webm. Support for hosted files is limited to 100MB. Cannot be used
|
|
114
|
-
* together with `file`. Note: `deepgram
|
|
142
|
+
* together with `file`. Note: the `deepgram/*` models only support mp3 and wav
|
|
143
|
+
* formats.
|
|
115
144
|
*/
|
|
116
145
|
file_url?: string;
|
|
117
146
|
/**
|
|
118
|
-
* The language of the audio to be transcribed.
|
|
119
|
-
*
|
|
147
|
+
* The language of the audio to be transcribed. `deepgram/nova-3` supports ~49
|
|
148
|
+
* languages plus `multi`, and `deepgram/nova-2` supports ~33 plus `multi`; the
|
|
149
|
+
* `-medical` variants are English only (`en` and its regional variants, e.g.
|
|
150
|
+
* `en-US`, `en-GB`). Deepgram models validate on the base language and forward the
|
|
151
|
+
* full tag, so regional variants such as `de-CH` and `pt-BR` are accepted where
|
|
152
|
+
* the base language is supported; an unsupported language returns a 400. For
|
|
120
153
|
* `openai/whisper-large-v3-turbo`, supports multiple languages.
|
|
121
154
|
* `distil-whisper/distil-large-v2` does not support language parameter.
|
|
155
|
+
* `nvidia/parakeet-v3` detects the language automatically;
|
|
156
|
+
* `omi-health/omi-med-stt-v1` is English only.
|
|
122
157
|
*/
|
|
123
158
|
language?: string;
|
|
124
159
|
/**
|
|
125
|
-
* Additional model-specific configuration parameters. Only allowed with
|
|
126
|
-
* `deepgram
|
|
160
|
+
* Additional model-specific configuration parameters. Only allowed with the
|
|
161
|
+
* `deepgram/*` models. Can include Deepgram-specific options such as
|
|
127
162
|
* `smart_format`, `punctuate`, `diarize`, `utterance`, `numerals`, and `language`.
|
|
128
163
|
* If `language` is provided both as a top-level parameter and in `model_config`,
|
|
129
164
|
* the top-level parameter takes precedence.
|
|
@@ -144,6 +179,6 @@ export interface AudioTranscribeParams {
|
|
|
144
179
|
'timestamp_granularities[]'?: 'segment';
|
|
145
180
|
}
|
|
146
181
|
export declare namespace Audio {
|
|
147
|
-
export { type AudioTranscribeResponse as AudioTranscribeResponse, type AudioTranscribeParams as AudioTranscribeParams, };
|
|
182
|
+
export { type AudioTranscriptionResponseWord as AudioTranscriptionResponseWord, type AudioTranscribeResponse as AudioTranscribeResponse, type AudioTranscribeParams as AudioTranscribeParams, };
|
|
148
183
|
}
|
|
149
184
|
//# sourceMappingURL=audio.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audio.d.ts","sourceRoot":"","sources":["../../src/resources/ai/audio.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,KAAK,UAAU,EAAE,8BAA2B;AACrD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;OAWG;IACH,UAAU,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;CAMvG;AAED
|
|
1
|
+
{"version":3,"file":"audio.d.ts","sourceRoot":"","sources":["../../src/resources/ai/audio.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,QAAQ,mBAAgB;AACpC,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,KAAK,UAAU,EAAE,8BAA2B;AACrD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;OAWG;IACH,UAAU,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;CAMvG;AAED;;;GAGG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,uB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O,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audio.js","sourceRoot":"","sources":["../../src/resources/ai/audio.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;
|
|
1
|
+
{"version":3,"file":"audio.js","sourceRoot":"","sources":["../../src/resources/ai/audio.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAKlD,uDAAqE;AAErE,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;;;;;;;OAWG;IACH,UAAU,CAAC,IAA2B,EAAE,OAAwB;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,0BAA0B,EAC1B,IAAA,qCAA2B,EAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;CACF;AAnBD,sBAmBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audio.mjs","sourceRoot":"","sources":["../../src/resources/ai/audio.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;
|
|
1
|
+
{"version":3,"file":"audio.mjs","sourceRoot":"","sources":["../../src/resources/ai/audio.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAKlD,OAAO,EAAE,2BAA2B,EAAE,mCAA+B;AAErE,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;OAWG;IACH,UAAU,CAAC,IAA2B,EAAE,OAAwB;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CACtB,0BAA0B,EAC1B,2BAA2B,CAAC,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAChE,CAAC;IACJ,CAAC;CACF"}
|
package/resources/ai/chat.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
2
|
import * as ChatAPI from "./chat.mjs";
|
|
3
|
+
import * as OpenAIChatAPI from "./openai/chat.mjs";
|
|
3
4
|
export declare class Chat extends APIResource {
|
|
4
5
|
}
|
|
5
6
|
export interface BucketIDs {
|
|
@@ -236,18 +237,9 @@ export declare namespace ChatCompletionRequest {
|
|
|
236
237
|
}
|
|
237
238
|
}
|
|
238
239
|
interface Function {
|
|
239
|
-
function:
|
|
240
|
+
function: OpenAIChatAPI.FunctionDefinition;
|
|
240
241
|
type: 'function';
|
|
241
242
|
}
|
|
242
|
-
namespace Function {
|
|
243
|
-
interface Function {
|
|
244
|
-
name: string;
|
|
245
|
-
description?: string;
|
|
246
|
-
parameters?: {
|
|
247
|
-
[key: string]: unknown;
|
|
248
|
-
};
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
243
|
interface Retrieval {
|
|
252
244
|
retrieval: ChatAPI.BucketIDs;
|
|
253
245
|
type: 'retrieval';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.d.mts","sourceRoot":"","sources":["../../src/resources/ai/chat.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,OAAO,mBAAe;
|
|
1
|
+
{"version":3,"file":"chat.d.mts","sourceRoot":"","sources":["../../src/resources/ai/chat.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,OAAO,mBAAe;AAClC,OAAO,KAAK,aAAa,0BAAsB;AAE/C,qBAAa,IAAK,SAAQ,WAAW;CAAG;AAExC,MAAM,WAAW,SAAS;IACxB;;;;OAIG;IACH,UAAU,EAAE,KAAK,C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AiB,6BAA6B,CAAC;QAC7C;;;;;WAKG;QACH,UAAiB,UAAU;YACzB;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;YAEb;;;eAGG;YACH,WAAW,CAAC,EAAE,MAAM,CAAC;YAErB;;;;eAIG;YACH,MAAM,CAAC,EAAE;gBAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;aAAE,CAAC;YAEpC;;;;eAIG;YACH,MAAM,CAAC,EAAE,OAAO,CAAC;SAClB;KACF;IAED,UAAiB,QAAQ;QACvB,QAAQ,EAAE,aAAa,CAAC,kBAAkB,CAAC;QAE3C,IAAI,EAAE,UAAU,CAAC;KAClB;IAED,UAAiB,SAAS;QACxB,SAAS,EAAE,OAAO,CAAC,SAAS,CAAC;QAE7B,IAAI,EAAE,WAAW,CAAC;KACnB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EAAE,KAAK,SAAS,IAAI,SAAS,EAAE,KAAK,qBAAqB,IAAI,qBAAqB,EAAE,CAAC;CAC7F"}
|
package/resources/ai/chat.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
2
|
import * as ChatAPI from "./chat.js";
|
|
3
|
+
import * as OpenAIChatAPI from "./openai/chat.js";
|
|
3
4
|
export declare class Chat extends APIResource {
|
|
4
5
|
}
|
|
5
6
|
export interface BucketIDs {
|
|
@@ -236,18 +237,9 @@ export declare namespace ChatCompletionRequest {
|
|
|
236
237
|
}
|
|
237
238
|
}
|
|
238
239
|
interface Function {
|
|
239
|
-
function:
|
|
240
|
+
function: OpenAIChatAPI.FunctionDefinition;
|
|
240
241
|
type: 'function';
|
|
241
242
|
}
|
|
242
|
-
namespace Function {
|
|
243
|
-
interface Function {
|
|
244
|
-
name: string;
|
|
245
|
-
description?: string;
|
|
246
|
-
parameters?: {
|
|
247
|
-
[key: string]: unknown;
|
|
248
|
-
};
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
243
|
interface Retrieval {
|
|
252
244
|
retrieval: ChatAPI.BucketIDs;
|
|
253
245
|
type: 'retrieval';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../src/resources/ai/chat.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,OAAO,kBAAe;
|
|
1
|
+
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../src/resources/ai/chat.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,OAAO,kBAAe;AAClC,OAAO,KAAK,aAAa,yBAAsB;AAE/C,qBAAa,IAAK,SAAQ,WAAW;CAAG;AAExC,MAAM,WAAW,SAAS;IACxB;;;;OAIG;IACH,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE1B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC;IAE/C;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;;OAMG;IACH,IAAI,CAAC,E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HANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.js","sourceRoot":"","sources":["../../src/resources/ai/chat.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;
|
|
1
|
+
{"version":3,"file":"chat.js","sourceRoot":"","sources":["../../src/resources/ai/chat.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,MAAa,IAAK,SAAQ,sBAAW;CAAG;AAAxC,oBAAwC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.mjs","sourceRoot":"","sources":["../../src/resources/ai/chat.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;
|
|
1
|
+
{"version":3,"file":"chat.mjs","sourceRoot":"","sources":["../../src/resources/ai/chat.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,MAAM,OAAO,IAAK,SAAQ,WAAW;CAAG"}
|
|
@@ -2,7 +2,7 @@ import { APIResource } from "../../../core/resource.mjs";
|
|
|
2
2
|
import * as SettingsAPI from "./settings.mjs";
|
|
3
3
|
import { RetrievalSettings, RetrievalSettingsWrapper, SettingCreateParams, SettingPatchAllParams, Settings, SettingsEnvelope, SettingsRequest } from "./settings.mjs";
|
|
4
4
|
import * as SourcesAPI from "./sources.mjs";
|
|
5
|
-
import { Source, SourceCreateParams, SourceCreateResponse, SourceDeleteParams, SourceListResponse, SourceReplaceParams, SourceReplaceResponse, SourceRequest, SourceType, Sources } from "./sources.mjs";
|
|
5
|
+
import { CollectionsSource, Source, SourceCreateParams, SourceCreateResponse, SourceDeleteParams, SourceListResponse, SourceReplaceParams, SourceReplaceResponse, SourceRequest, SourceType, Sources } from "./sources.mjs";
|
|
6
6
|
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
7
7
|
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../../../core/pagination.mjs";
|
|
8
8
|
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
@@ -99,7 +99,7 @@ export interface Collection {
|
|
|
99
99
|
record_type?: string;
|
|
100
100
|
settings?: SettingsAPI.RetrievalSettingsWrapper;
|
|
101
101
|
slug?: string;
|
|
102
|
-
sources?: Array<SourcesAPI.
|
|
102
|
+
sources?: Array<SourcesAPI.CollectionsSource>;
|
|
103
103
|
status?: string;
|
|
104
104
|
updated_at?: string;
|
|
105
105
|
uuid?: string;
|
|
@@ -138,6 +138,6 @@ export interface CollectionUpdateParams {
|
|
|
138
138
|
export declare namespace Collections {
|
|
139
139
|
export { type Collection as Collection, type CollectionEnvelope as CollectionEnvelope, type CollectionsDefaultFlatPagination as CollectionsDefaultFlatPagination, type CollectionListParams as CollectionListParams, type CollectionCreateParams as CollectionCreateParams, type CollectionUpdateParams as CollectionUpdateParams, };
|
|
140
140
|
export { Settings as Settings, type RetrievalSettings as RetrievalSettings, type RetrievalSettingsWrapper as RetrievalSettingsWrapper, type SettingsEnvelope as SettingsEnvelope, type SettingsRequest as SettingsRequest, type SettingPatchAllParams as SettingPatchAllParams, type SettingCreateParams as SettingCreateParams, };
|
|
141
|
-
export { Sources as Sources, type Source as Source, type SourceRequest as SourceRequest, type SourceType as SourceType, type SourceCreateResponse as SourceCreateResponse, type SourceListResponse as SourceListResponse, type SourceReplaceResponse as SourceReplaceResponse, type SourceCreateParams as SourceCreateParams, type SourceReplaceParams as SourceReplaceParams, type SourceDeleteParams as SourceDeleteParams, };
|
|
141
|
+
export { Sources as Sources, type CollectionsSource as CollectionsSource, type Source as Source, type SourceRequest as SourceRequest, type SourceType as SourceType, type SourceCreateResponse as SourceCreateResponse, type SourceListResponse as SourceListResponse, type SourceReplaceResponse as SourceReplaceResponse, type SourceCreateParams as SourceCreateParams, type SourceReplaceParams as SourceReplaceParams, type SourceDeleteParams as SourceDeleteParams, };
|
|
142
142
|
}
|
|
143
143
|
//# sourceMappingURL=collections.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collections.d.mts","sourceRoot":"","sources":["../../../src/resources/ai/collections/collections.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,mBAAmB,EACnB,qBAAqB,EACrB,QAAQ,EACR,gBAAgB,EAChB,eAAe,EAChB,uBAAmB;AACpB,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EACL,MAAM,EACN,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,aAAa,EACb,UAAU,EACV,OAAO,EACR,sBAAkB;AACnB,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EACL,qBAAqB,EACrB,KAAK,2BAA2B,EAChC,WAAW,EACZ,qCAAiC;AAElC,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IACxE,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;;;OAUG;IACH,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAIpF;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,gCAAgC,EAAE,UAAU,CAAC;IAO5D;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAI9F;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAIhF;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOhE;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAGlC;AAED,MAAM,MAAM,gCAAgC,GAAG,qBAAqB,CAAC,UAAU,CAAC,CAAC;AAEjF,MAAM,WAAW,UAAU;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,QAAQ,CAAC,EAAE,WAAW,CAAC,wBAAwB,CAAC;IAEhD,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,OAAO,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"collections.d.mts","sourceRoot":"","sources":["../../../src/resources/ai/collections/collections.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,mBAAmB,EACnB,qBAAqB,EACrB,QAAQ,EACR,gBAAgB,EAChB,eAAe,EAChB,uBAAmB;AACpB,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,aAAa,EACb,UAAU,EACV,OAAO,EACR,sBAAkB;AACnB,OAAO,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AAI,iBAAiB,EAC3C,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -2,7 +2,7 @@ import { APIResource } from "../../../core/resource.js";
|
|
|
2
2
|
import * as SettingsAPI from "./settings.js";
|
|
3
3
|
import { RetrievalSettings, RetrievalSettingsWrapper, SettingCreateParams, SettingPatchAllParams, Settings, SettingsEnvelope, SettingsRequest } from "./settings.js";
|
|
4
4
|
import * as SourcesAPI from "./sources.js";
|
|
5
|
-
import { Source, SourceCreateParams, SourceCreateResponse, SourceDeleteParams, SourceListResponse, SourceReplaceParams, SourceReplaceResponse, SourceRequest, SourceType, Sources } from "./sources.js";
|
|
5
|
+
import { CollectionsSource, Source, SourceCreateParams, SourceCreateResponse, SourceDeleteParams, SourceListResponse, SourceReplaceParams, SourceReplaceResponse, SourceRequest, SourceType, Sources } from "./sources.js";
|
|
6
6
|
import { APIPromise } from "../../../core/api-promise.js";
|
|
7
7
|
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../../../core/pagination.js";
|
|
8
8
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
@@ -99,7 +99,7 @@ export interface Collection {
|
|
|
99
99
|
record_type?: string;
|
|
100
100
|
settings?: SettingsAPI.RetrievalSettingsWrapper;
|
|
101
101
|
slug?: string;
|
|
102
|
-
sources?: Array<SourcesAPI.
|
|
102
|
+
sources?: Array<SourcesAPI.CollectionsSource>;
|
|
103
103
|
status?: string;
|
|
104
104
|
updated_at?: string;
|
|
105
105
|
uuid?: string;
|
|
@@ -138,6 +138,6 @@ export interface CollectionUpdateParams {
|
|
|
138
138
|
export declare namespace Collections {
|
|
139
139
|
export { type Collection as Collection, type CollectionEnvelope as CollectionEnvelope, type CollectionsDefaultFlatPagination as CollectionsDefaultFlatPagination, type CollectionListParams as CollectionListParams, type CollectionCreateParams as CollectionCreateParams, type CollectionUpdateParams as CollectionUpdateParams, };
|
|
140
140
|
export { Settings as Settings, type RetrievalSettings as RetrievalSettings, type RetrievalSettingsWrapper as RetrievalSettingsWrapper, type SettingsEnvelope as SettingsEnvelope, type SettingsRequest as SettingsRequest, type SettingPatchAllParams as SettingPatchAllParams, type SettingCreateParams as SettingCreateParams, };
|
|
141
|
-
export { Sources as Sources, type Source as Source, type SourceRequest as SourceRequest, type SourceType as SourceType, type SourceCreateResponse as SourceCreateResponse, type SourceListResponse as SourceListResponse, type SourceReplaceResponse as SourceReplaceResponse, type SourceCreateParams as SourceCreateParams, type SourceReplaceParams as SourceReplaceParams, type SourceDeleteParams as SourceDeleteParams, };
|
|
141
|
+
export { Sources as Sources, type CollectionsSource as CollectionsSource, type Source as Source, type SourceRequest as SourceRequest, type SourceType as SourceType, type SourceCreateResponse as SourceCreateResponse, type SourceListResponse as SourceListResponse, type SourceReplaceResponse as SourceReplaceResponse, type SourceCreateParams as SourceCreateParams, type SourceReplaceParams as SourceReplaceParams, type SourceDeleteParams as SourceDeleteParams, };
|
|
142
142
|
}
|
|
143
143
|
//# sourceMappingURL=collections.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collections.d.ts","sourceRoot":"","sources":["../../../src/res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F;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOhE;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAGlC;AAED,MAAM,MAAM,gCAAgC,GAAG,qBAAqB,CAAC,UAAU,CAAC,CAAC;AAEjF,MAAM,WAAW,UAAU;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,QAAQ,CAAC,EAAE,WAAW,CAAC,wBAAwB,CAAC;IAEhD,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,OAAO,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"collections.d.ts","sourceRoot":"","sources":["../../../src/resources/ai/collections/collections.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,WAAW,sBAAmB;AAC1C,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,mBAAmB,EACnB,qBAAqB,EACrB,QAAQ,EACR,gBAAgB,EAChB,eAAe,EAChB,sBAAmB;AACpB,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,kBAAkB,EAClB,oBAAoB,EACpB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,aAAa,EACb,UAAU,EACV,OAAO,EACR,qBAAkB;AACnB,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EACL,qBAAqB,EACrB,KAAK,2BAA2B,EAChC,W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AgB,EACzC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collections.js","sourceRoot":"","sources":["../../../src/resources/ai/collections/collections.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,mEAA0C;AAC1C,4CAQoB;AACpB,iEAAwC;AACxC,
|
|
1
|
+
{"version":3,"file":"collections.js","sourceRoot":"","sources":["../../../src/resources/ai/collections/collections.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,mEAA0C;AAC1C,4CAQoB;AACpB,iEAAwC;AACxC,0CAYmB;AAEnB,4DAIkC;AAClC,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,WAAY,SAAQ,sBAAW;IAA5C;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA2GrE,CAAC;IAzGC;;;;;;;;;;OAUG;IACH,YAAY,CAAC,IAAY,EAAE,OAAwB;QACjD,OAAO,IAAI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