openai 6.35.0 → 6.37.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 +48 -0
- package/azure.d.mts +4 -1
- package/azure.d.mts.map +1 -1
- package/azure.d.ts +4 -1
- package/azure.d.ts.map +1 -1
- package/azure.js +4 -3
- package/azure.js.map +1 -1
- package/azure.mjs +4 -3
- package/azure.mjs.map +1 -1
- package/beta/realtime/websocket.d.mts.map +1 -1
- package/beta/realtime/websocket.d.ts.map +1 -1
- package/beta/realtime/websocket.js +7 -2
- package/beta/realtime/websocket.js.map +1 -1
- package/beta/realtime/websocket.mjs +7 -2
- package/beta/realtime/websocket.mjs.map +1 -1
- package/beta/realtime/ws.d.mts.map +1 -1
- package/beta/realtime/ws.d.ts.map +1 -1
- package/beta/realtime/ws.js +5 -1
- package/beta/realtime/ws.js.map +1 -1
- package/beta/realtime/ws.mjs +5 -1
- package/beta/realtime/ws.mjs.map +1 -1
- package/bin/migration-config.json +735 -0
- package/client.d.mts +30 -8
- package/client.d.mts.map +1 -1
- package/client.d.ts +30 -8
- package/client.d.ts.map +1 -1
- package/client.js +78 -22
- package/client.js.map +1 -1
- package/client.mjs +78 -22
- package/client.mjs.map +1 -1
- package/core/pagination.d.mts +18 -0
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts +18 -0
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.js +32 -1
- package/core/pagination.js.map +1 -1
- package/core/pagination.mjs +30 -0
- package/core/pagination.mjs.map +1 -1
- package/internal/request-options.d.mts +4 -0
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +4 -0
- package/internal/request-options.d.ts.map +1 -1
- package/internal/request-options.js.map +1 -1
- package/internal/request-options.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +2 -0
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +2 -0
- package/internal/utils/log.mjs.map +1 -1
- package/package.json +1 -1
- package/realtime/websocket.d.mts.map +1 -1
- package/realtime/websocket.d.ts.map +1 -1
- package/realtime/websocket.js +7 -2
- package/realtime/websocket.js.map +1 -1
- package/realtime/websocket.mjs +7 -2
- package/realtime/websocket.mjs.map +1 -1
- package/realtime/ws.d.mts.map +1 -1
- package/realtime/ws.d.ts.map +1 -1
- package/realtime/ws.js +5 -1
- package/realtime/ws.js.map +1 -1
- package/realtime/ws.mjs +5 -1
- package/realtime/ws.mjs.map +1 -1
- package/resources/admin/admin.d.mts +10 -0
- package/resources/admin/admin.d.mts.map +1 -0
- package/resources/admin/admin.d.ts +10 -0
- package/resources/admin/admin.d.ts.map +1 -0
- package/resources/admin/admin.js +17 -0
- package/resources/admin/admin.js.map +1 -0
- package/resources/admin/admin.mjs +12 -0
- package/resources/admin/admin.mjs.map +1 -0
- package/resources/admin/index.d.mts +3 -0
- package/resources/admin/index.d.mts.map +1 -0
- package/resources/admin/index.d.ts +3 -0
- package/resources/admin/index.d.ts.map +1 -0
- package/resources/admin/index.js +9 -0
- package/resources/admin/index.js.map +1 -0
- package/resources/admin/index.mjs +4 -0
- package/resources/admin/index.mjs.map +1 -0
- package/resources/admin/organization/admin-api-keys.d.mts +140 -0
- package/resources/admin/organization/admin-api-keys.d.mts.map +1 -0
- package/resources/admin/organization/admin-api-keys.d.ts +140 -0
- package/resources/admin/organization/admin-api-keys.d.ts.map +1 -0
- package/resources/admin/organization/admin-api-keys.js +81 -0
- package/resources/admin/organization/admin-api-keys.js.map +1 -0
- package/resources/admin/organization/admin-api-keys.mjs +77 -0
- package/resources/admin/organization/admin-api-keys.mjs.map +1 -0
- package/resources/admin/organization/audit-logs.d.mts +1267 -0
- package/resources/admin/organization/audit-logs.d.mts.map +1 -0
- package/resources/admin/organization/audit-logs.d.ts +1267 -0
- package/resources/admin/organization/audit-logs.d.ts.map +1 -0
- package/resources/admin/organization/audit-logs.js +31 -0
- package/resources/admin/organization/audit-logs.js.map +1 -0
- package/resources/admin/organization/audit-logs.mjs +27 -0
- package/resources/admin/organization/audit-logs.mjs.map +1 -0
- package/resources/admin/organization/certificates.d.mts +322 -0
- package/resources/admin/organization/certificates.d.mts.map +1 -0
- package/resources/admin/organization/certificates.d.ts +322 -0
- package/resources/admin/organization/certificates.d.ts.map +1 -0
- package/resources/admin/organization/certificates.js +144 -0
- package/resources/admin/organization/certificates.js.map +1 -0
- package/resources/admin/organization/certificates.mjs +140 -0
- package/resources/admin/organization/certificates.mjs.map +1 -0
- package/resources/admin/organization/groups/groups.d.mts +148 -0
- package/resources/admin/organization/groups/groups.d.mts.map +1 -0
- package/resources/admin/organization/groups/groups.d.ts +148 -0
- package/resources/admin/organization/groups/groups.d.ts.map +1 -0
- package/resources/admin/organization/groups/groups.js +92 -0
- package/resources/admin/organization/groups/groups.js.map +1 -0
- package/resources/admin/organization/groups/groups.mjs +87 -0
- package/resources/admin/organization/groups/groups.mjs.map +1 -0
- package/resources/admin/organization/groups/index.d.mts +4 -0
- package/resources/admin/organization/groups/index.d.mts.map +1 -0
- package/resources/admin/organization/groups/index.d.ts +4 -0
- package/resources/admin/organization/groups/index.d.ts.map +1 -0
- package/resources/admin/organization/groups/index.js +11 -0
- package/resources/admin/organization/groups/index.js.map +1 -0
- package/resources/admin/organization/groups/index.mjs +5 -0
- package/resources/admin/organization/groups/index.mjs.map +1 -0
- package/resources/admin/organization/groups/roles.d.mts +182 -0
- package/resources/admin/organization/groups/roles.d.mts.map +1 -0
- package/resources/admin/organization/groups/roles.d.ts +182 -0
- package/resources/admin/organization/groups/roles.d.ts.map +1 -0
- package/resources/admin/organization/groups/roles.js +65 -0
- package/resources/admin/organization/groups/roles.js.map +1 -0
- package/resources/admin/organization/groups/roles.mjs +61 -0
- package/resources/admin/organization/groups/roles.mjs.map +1 -0
- package/resources/admin/organization/groups/users.d.mts +116 -0
- package/resources/admin/organization/groups/users.d.mts.map +1 -0
- package/resources/admin/organization/groups/users.d.ts +116 -0
- package/resources/admin/organization/groups/users.d.ts.map +1 -0
- package/resources/admin/organization/groups/users.js +65 -0
- package/resources/admin/organization/groups/users.js.map +1 -0
- package/resources/admin/organization/groups/users.mjs +61 -0
- package/resources/admin/organization/groups/users.mjs.map +1 -0
- package/resources/admin/organization/groups.d.mts +2 -0
- package/resources/admin/organization/groups.d.mts.map +1 -0
- package/resources/admin/organization/groups.d.ts +2 -0
- package/resources/admin/organization/groups.d.ts.map +1 -0
- package/resources/admin/organization/groups.js +6 -0
- package/resources/admin/organization/groups.js.map +1 -0
- package/resources/admin/organization/groups.mjs +3 -0
- package/resources/admin/organization/groups.mjs.map +1 -0
- package/resources/admin/organization/index.d.mts +11 -0
- package/resources/admin/organization/index.d.mts.map +1 -0
- package/resources/admin/organization/index.d.ts +11 -0
- package/resources/admin/organization/index.d.ts.map +1 -0
- package/resources/admin/organization/index.js +25 -0
- package/resources/admin/organization/index.js.map +1 -0
- package/resources/admin/organization/index.mjs +12 -0
- package/resources/admin/organization/index.mjs.map +1 -0
- package/resources/admin/organization/invites.d.mts +152 -0
- package/resources/admin/organization/invites.d.mts.map +1 -0
- package/resources/admin/organization/invites.d.ts +152 -0
- package/resources/admin/organization/invites.d.ts.map +1 -0
- package/resources/admin/organization/invites.js +83 -0
- package/resources/admin/organization/invites.js.map +1 -0
- package/resources/admin/organization/invites.mjs +79 -0
- package/resources/admin/organization/invites.mjs.map +1 -0
- package/resources/admin/organization/organization.d.mts +42 -0
- package/resources/admin/organization/organization.d.mts.map +1 -0
- package/resources/admin/organization/organization.d.ts +42 -0
- package/resources/admin/organization/organization.d.ts.map +1 -0
- package/resources/admin/organization/organization.js +49 -0
- package/resources/admin/organization/organization.js.map +1 -0
- package/resources/admin/organization/organization.mjs +44 -0
- package/resources/admin/organization/organization.mjs.map +1 -0
- package/resources/admin/organization/projects/api-keys.d.mts +167 -0
- package/resources/admin/organization/projects/api-keys.d.mts.map +1 -0
- package/resources/admin/organization/projects/api-keys.d.ts +167 -0
- package/resources/admin/organization/projects/api-keys.d.ts.map +1 -0
- package/resources/admin/organization/projects/api-keys.js +68 -0
- package/resources/admin/organization/projects/api-keys.js.map +1 -0
- package/resources/admin/organization/projects/api-keys.mjs +64 -0
- package/resources/admin/organization/projects/api-keys.mjs.map +1 -0
- package/resources/admin/organization/projects/certificates.d.mts +186 -0
- package/resources/admin/organization/projects/certificates.d.mts.map +1 -0
- package/resources/admin/organization/projects/certificates.d.ts +186 -0
- package/resources/admin/organization/projects/certificates.d.ts.map +1 -0
- package/resources/admin/organization/projects/certificates.js +64 -0
- package/resources/admin/organization/projects/certificates.js.map +1 -0
- package/resources/admin/organization/projects/certificates.mjs +60 -0
- package/resources/admin/organization/projects/certificates.mjs.map +1 -0
- package/resources/admin/organization/projects/groups/groups.d.mts +119 -0
- package/resources/admin/organization/projects/groups/groups.d.mts.map +1 -0
- package/resources/admin/organization/projects/groups/groups.d.ts +119 -0
- package/resources/admin/organization/projects/groups/groups.d.ts.map +1 -0
- package/resources/admin/organization/projects/groups/groups.js +73 -0
- package/resources/admin/organization/projects/groups/groups.js.map +1 -0
- package/resources/admin/organization/projects/groups/groups.mjs +68 -0
- package/resources/admin/organization/projects/groups/groups.mjs.map +1 -0
- package/resources/admin/organization/projects/groups/index.d.mts +3 -0
- package/resources/admin/organization/projects/groups/index.d.mts.map +1 -0
- package/resources/admin/organization/projects/groups/index.d.ts +3 -0
- package/resources/admin/organization/projects/groups/index.d.ts.map +1 -0
- package/resources/admin/organization/projects/groups/index.js +9 -0
- package/resources/admin/organization/projects/groups/index.js.map +1 -0
- package/resources/admin/organization/projects/groups/index.mjs +4 -0
- package/resources/admin/organization/projects/groups/index.mjs.map +1 -0
- package/resources/admin/organization/projects/groups/roles.d.mts +195 -0
- package/resources/admin/organization/projects/groups/roles.d.mts.map +1 -0
- package/resources/admin/organization/projects/groups/roles.d.ts +195 -0
- package/resources/admin/organization/projects/groups/roles.d.ts.map +1 -0
- package/resources/admin/organization/projects/groups/roles.js +68 -0
- package/resources/admin/organization/projects/groups/roles.js.map +1 -0
- package/resources/admin/organization/projects/groups/roles.mjs +64 -0
- package/resources/admin/organization/projects/groups/roles.mjs.map +1 -0
- package/resources/admin/organization/projects/groups.d.mts +2 -0
- package/resources/admin/organization/projects/groups.d.mts.map +1 -0
- package/resources/admin/organization/projects/groups.d.ts +2 -0
- package/resources/admin/organization/projects/groups.d.ts.map +1 -0
- package/resources/admin/organization/projects/groups.js +6 -0
- package/resources/admin/organization/projects/groups.js.map +1 -0
- package/resources/admin/organization/projects/groups.mjs +3 -0
- package/resources/admin/organization/projects/groups.mjs.map +1 -0
- package/resources/admin/organization/projects/index.d.mts +9 -0
- package/resources/admin/organization/projects/index.d.mts.map +1 -0
- package/resources/admin/organization/projects/index.d.ts +9 -0
- package/resources/admin/organization/projects/index.d.ts.map +1 -0
- package/resources/admin/organization/projects/index.js +21 -0
- package/resources/admin/organization/projects/index.js.map +1 -0
- package/resources/admin/organization/projects/index.mjs +10 -0
- package/resources/admin/organization/projects/index.mjs.map +1 -0
- package/resources/admin/organization/projects/projects.d.mts +172 -0
- package/resources/admin/organization/projects/projects.d.mts.map +1 -0
- package/resources/admin/organization/projects/projects.d.ts +172 -0
- package/resources/admin/organization/projects/projects.d.ts.map +1 -0
- package/resources/admin/organization/projects/projects.js +133 -0
- package/resources/admin/organization/projects/projects.js.map +1 -0
- package/resources/admin/organization/projects/projects.mjs +128 -0
- package/resources/admin/organization/projects/projects.mjs.map +1 -0
- package/resources/admin/organization/projects/rate-limits.d.mts +120 -0
- package/resources/admin/organization/projects/rate-limits.d.mts.map +1 -0
- package/resources/admin/organization/projects/rate-limits.d.ts +120 -0
- package/resources/admin/organization/projects/rate-limits.d.ts.map +1 -0
- package/resources/admin/organization/projects/rate-limits.js +47 -0
- package/resources/admin/organization/projects/rate-limits.js.map +1 -0
- package/resources/admin/organization/projects/rate-limits.mjs +43 -0
- package/resources/admin/organization/projects/rate-limits.mjs.map +1 -0
- package/resources/admin/organization/projects/roles.d.mts +127 -0
- package/resources/admin/organization/projects/roles.d.mts.map +1 -0
- package/resources/admin/organization/projects/roles.d.ts +127 -0
- package/resources/admin/organization/projects/roles.d.ts.map +1 -0
- package/resources/admin/organization/projects/roles.js +89 -0
- package/resources/admin/organization/projects/roles.js.map +1 -0
- package/resources/admin/organization/projects/roles.mjs +85 -0
- package/resources/admin/organization/projects/roles.mjs.map +1 -0
- package/resources/admin/organization/projects/service-accounts.d.mts +141 -0
- package/resources/admin/organization/projects/service-accounts.d.mts.map +1 -0
- package/resources/admin/organization/projects/service-accounts.d.ts +141 -0
- package/resources/admin/organization/projects/service-accounts.d.ts.map +1 -0
- package/resources/admin/organization/projects/service-accounts.js +85 -0
- package/resources/admin/organization/projects/service-accounts.js.map +1 -0
- package/resources/admin/organization/projects/service-accounts.mjs +81 -0
- package/resources/admin/organization/projects/service-accounts.mjs.map +1 -0
- package/resources/admin/organization/projects/users/index.d.mts +3 -0
- package/resources/admin/organization/projects/users/index.d.mts.map +1 -0
- package/resources/admin/organization/projects/users/index.d.ts +3 -0
- package/resources/admin/organization/projects/users/index.d.ts.map +1 -0
- package/resources/admin/organization/projects/users/index.js +9 -0
- package/resources/admin/organization/projects/users/index.js.map +1 -0
- package/resources/admin/organization/projects/users/index.mjs +4 -0
- package/resources/admin/organization/projects/users/index.mjs.map +1 -0
- package/resources/admin/organization/projects/users/roles.d.mts +169 -0
- package/resources/admin/organization/projects/users/roles.d.mts.map +1 -0
- package/resources/admin/organization/projects/users/roles.d.ts +169 -0
- package/resources/admin/organization/projects/users/roles.d.ts.map +1 -0
- package/resources/admin/organization/projects/users/roles.js +68 -0
- package/resources/admin/organization/projects/users/roles.js.map +1 -0
- package/resources/admin/organization/projects/users/roles.mjs +64 -0
- package/resources/admin/organization/projects/users/roles.mjs.map +1 -0
- package/resources/admin/organization/projects/users/users.d.mts +157 -0
- package/resources/admin/organization/projects/users/users.d.mts.map +1 -0
- package/resources/admin/organization/projects/users/users.d.ts +157 -0
- package/resources/admin/organization/projects/users/users.d.ts.map +1 -0
- package/resources/admin/organization/projects/users/users.js +116 -0
- package/resources/admin/organization/projects/users/users.js.map +1 -0
- package/resources/admin/organization/projects/users/users.mjs +111 -0
- package/resources/admin/organization/projects/users/users.mjs.map +1 -0
- package/resources/admin/organization/projects/users.d.mts +2 -0
- package/resources/admin/organization/projects/users.d.mts.map +1 -0
- package/resources/admin/organization/projects/users.d.ts +2 -0
- package/resources/admin/organization/projects/users.d.ts.map +1 -0
- package/resources/admin/organization/projects/users.js +6 -0
- package/resources/admin/organization/projects/users.js.map +1 -0
- package/resources/admin/organization/projects/users.mjs +3 -0
- package/resources/admin/organization/projects/users.mjs.map +1 -0
- package/resources/admin/organization/projects.d.mts +2 -0
- package/resources/admin/organization/projects.d.mts.map +1 -0
- package/resources/admin/organization/projects.d.ts +2 -0
- package/resources/admin/organization/projects.d.ts.map +1 -0
- package/resources/admin/organization/projects.js +6 -0
- package/resources/admin/organization/projects.js.map +1 -0
- package/resources/admin/organization/projects.mjs +3 -0
- package/resources/admin/organization/projects.mjs.map +1 -0
- package/resources/admin/organization/roles.d.mts +142 -0
- package/resources/admin/organization/roles.d.mts.map +1 -0
- package/resources/admin/organization/roles.d.ts +142 -0
- package/resources/admin/organization/roles.d.ts.map +1 -0
- package/resources/admin/organization/roles.js +80 -0
- package/resources/admin/organization/roles.js.map +1 -0
- package/resources/admin/organization/roles.mjs +76 -0
- package/resources/admin/organization/roles.mjs.map +1 -0
- package/resources/admin/organization/usage.d.mts +3564 -0
- package/resources/admin/organization/usage.d.mts.map +1 -0
- package/resources/admin/organization/usage.d.ts +3564 -0
- package/resources/admin/organization/usage.d.ts.map +1 -0
- package/resources/admin/organization/usage.js +171 -0
- package/resources/admin/organization/usage.js.map +1 -0
- package/resources/admin/organization/usage.mjs +167 -0
- package/resources/admin/organization/usage.mjs.map +1 -0
- package/resources/admin/organization/users/index.d.mts +3 -0
- package/resources/admin/organization/users/index.d.mts.map +1 -0
- package/resources/admin/organization/users/index.d.ts +3 -0
- package/resources/admin/organization/users/index.d.ts.map +1 -0
- package/resources/admin/organization/users/index.js +9 -0
- package/resources/admin/organization/users/index.js.map +1 -0
- package/resources/admin/organization/users/index.mjs +4 -0
- package/resources/admin/organization/users/index.mjs.map +1 -0
- package/resources/admin/organization/users/roles.d.mts +156 -0
- package/resources/admin/organization/users/roles.d.mts.map +1 -0
- package/resources/admin/organization/users/roles.d.ts +156 -0
- package/resources/admin/organization/users/roles.d.ts.map +1 -0
- package/resources/admin/organization/users/roles.js +65 -0
- package/resources/admin/organization/users/roles.js.map +1 -0
- package/resources/admin/organization/users/roles.mjs +61 -0
- package/resources/admin/organization/users/roles.mjs.map +1 -0
- package/resources/admin/organization/users/users.d.mts +185 -0
- package/resources/admin/organization/users/users.d.mts.map +1 -0
- package/resources/admin/organization/users/users.d.ts +185 -0
- package/resources/admin/organization/users/users.d.ts.map +1 -0
- package/resources/admin/organization/users/users.js +84 -0
- package/resources/admin/organization/users/users.js.map +1 -0
- package/resources/admin/organization/users/users.mjs +79 -0
- package/resources/admin/organization/users/users.mjs.map +1 -0
- package/resources/admin/organization/users.d.mts +2 -0
- package/resources/admin/organization/users.d.mts.map +1 -0
- package/resources/admin/organization/users.d.ts +2 -0
- package/resources/admin/organization/users.d.ts.map +1 -0
- package/resources/admin/organization/users.js +6 -0
- package/resources/admin/organization/users.js.map +1 -0
- package/resources/admin/organization/users.mjs +3 -0
- package/resources/admin/organization/users.mjs.map +1 -0
- package/resources/admin/organization.d.mts +2 -0
- package/resources/admin/organization.d.mts.map +1 -0
- package/resources/admin/organization.d.ts +2 -0
- package/resources/admin/organization.d.ts.map +1 -0
- package/resources/admin/organization.js +6 -0
- package/resources/admin/organization.js.map +1 -0
- package/resources/admin/organization.mjs +3 -0
- package/resources/admin/organization.mjs.map +1 -0
- package/resources/admin.d.mts +2 -0
- package/resources/admin.d.mts.map +1 -0
- package/resources/admin.d.ts +2 -0
- package/resources/admin.d.ts.map +1 -0
- package/resources/admin.js +6 -0
- package/resources/admin.js.map +1 -0
- package/resources/admin.mjs +3 -0
- package/resources/admin.mjs.map +1 -0
- package/resources/audio/speech.d.mts.map +1 -1
- package/resources/audio/speech.d.ts.map +1 -1
- package/resources/audio/speech.js +1 -0
- package/resources/audio/speech.js.map +1 -1
- package/resources/audio/speech.mjs +1 -0
- package/resources/audio/speech.mjs.map +1 -1
- package/resources/audio/transcriptions.d.mts.map +1 -1
- package/resources/audio/transcriptions.d.ts.map +1 -1
- package/resources/audio/transcriptions.js +1 -0
- package/resources/audio/transcriptions.js.map +1 -1
- package/resources/audio/transcriptions.mjs +1 -0
- package/resources/audio/transcriptions.mjs.map +1 -1
- package/resources/audio/translations.d.mts.map +1 -1
- package/resources/audio/translations.d.ts.map +1 -1
- package/resources/audio/translations.js +1 -1
- package/resources/audio/translations.js.map +1 -1
- package/resources/audio/translations.mjs +1 -1
- package/resources/audio/translations.mjs.map +1 -1
- package/resources/batches.d.mts.map +1 -1
- package/resources/batches.d.ts.map +1 -1
- package/resources/batches.js +11 -4
- package/resources/batches.js.map +1 -1
- package/resources/batches.mjs +11 -4
- package/resources/batches.mjs.map +1 -1
- package/resources/beta/assistants.d.mts.map +1 -1
- package/resources/beta/assistants.d.ts.map +1 -1
- package/resources/beta/assistants.js +5 -0
- package/resources/beta/assistants.js.map +1 -1
- package/resources/beta/assistants.mjs +5 -0
- package/resources/beta/assistants.mjs.map +1 -1
- package/resources/beta/chatkit/sessions.d.mts.map +1 -1
- package/resources/beta/chatkit/sessions.d.ts.map +1 -1
- package/resources/beta/chatkit/sessions.js +2 -0
- package/resources/beta/chatkit/sessions.js.map +1 -1
- package/resources/beta/chatkit/sessions.mjs +2 -0
- package/resources/beta/chatkit/sessions.mjs.map +1 -1
- package/resources/beta/chatkit/threads.d.mts.map +1 -1
- package/resources/beta/chatkit/threads.d.ts.map +1 -1
- package/resources/beta/chatkit/threads.js +9 -1
- package/resources/beta/chatkit/threads.js.map +1 -1
- package/resources/beta/chatkit/threads.mjs +9 -1
- package/resources/beta/chatkit/threads.mjs.map +1 -1
- package/resources/beta/realtime/sessions.d.mts.map +1 -1
- package/resources/beta/realtime/sessions.d.ts.map +1 -1
- package/resources/beta/realtime/sessions.js +1 -0
- package/resources/beta/realtime/sessions.js.map +1 -1
- package/resources/beta/realtime/sessions.mjs +1 -0
- package/resources/beta/realtime/sessions.mjs.map +1 -1
- package/resources/beta/realtime/transcription-sessions.d.mts.map +1 -1
- package/resources/beta/realtime/transcription-sessions.d.ts.map +1 -1
- package/resources/beta/realtime/transcription-sessions.js +1 -0
- package/resources/beta/realtime/transcription-sessions.js.map +1 -1
- package/resources/beta/realtime/transcription-sessions.mjs +1 -0
- package/resources/beta/realtime/transcription-sessions.mjs.map +1 -1
- package/resources/beta/threads/messages.d.mts.map +1 -1
- package/resources/beta/threads/messages.d.ts.map +1 -1
- package/resources/beta/threads/messages.js +5 -0
- package/resources/beta/threads/messages.js.map +1 -1
- package/resources/beta/threads/messages.mjs +5 -0
- package/resources/beta/threads/messages.mjs.map +1 -1
- package/resources/beta/threads/runs/runs.d.mts.map +1 -1
- package/resources/beta/threads/runs/runs.d.ts.map +1 -1
- package/resources/beta/threads/runs/runs.js +6 -0
- package/resources/beta/threads/runs/runs.js.map +1 -1
- package/resources/beta/threads/runs/runs.mjs +6 -0
- package/resources/beta/threads/runs/runs.mjs.map +1 -1
- package/resources/beta/threads/runs/steps.d.mts.map +1 -1
- package/resources/beta/threads/runs/steps.d.ts.map +1 -1
- package/resources/beta/threads/runs/steps.js +2 -0
- package/resources/beta/threads/runs/steps.js.map +1 -1
- package/resources/beta/threads/runs/steps.mjs +2 -0
- package/resources/beta/threads/runs/steps.mjs.map +1 -1
- package/resources/beta/threads/threads.d.mts.map +1 -1
- package/resources/beta/threads/threads.d.ts.map +1 -1
- package/resources/beta/threads/threads.js +5 -0
- package/resources/beta/threads/threads.js.map +1 -1
- package/resources/beta/threads/threads.mjs +5 -0
- package/resources/beta/threads/threads.mjs.map +1 -1
- package/resources/chat/completions/completions.d.mts +4 -4
- package/resources/chat/completions/completions.d.mts.map +1 -1
- package/resources/chat/completions/completions.d.ts +4 -4
- package/resources/chat/completions/completions.d.ts.map +1 -1
- package/resources/chat/completions/completions.js +24 -5
- package/resources/chat/completions/completions.js.map +1 -1
- package/resources/chat/completions/completions.mjs +24 -5
- package/resources/chat/completions/completions.mjs.map +1 -1
- package/resources/chat/completions/messages.js +1 -1
- package/resources/chat/completions/messages.js.map +1 -1
- package/resources/chat/completions/messages.mjs +1 -1
- package/resources/chat/completions/messages.mjs.map +1 -1
- package/resources/completions.d.mts.map +1 -1
- package/resources/completions.d.ts.map +1 -1
- package/resources/completions.js +6 -1
- package/resources/completions.js.map +1 -1
- package/resources/completions.mjs +6 -1
- package/resources/completions.mjs.map +1 -1
- package/resources/containers/containers.d.mts.map +1 -1
- package/resources/containers/containers.d.ts.map +1 -1
- package/resources/containers/containers.js +11 -3
- package/resources/containers/containers.js.map +1 -1
- package/resources/containers/containers.mjs +11 -3
- package/resources/containers/containers.mjs.map +1 -1
- package/resources/containers/files/content.d.mts.map +1 -1
- package/resources/containers/files/content.d.ts.map +1 -1
- package/resources/containers/files/content.js +1 -0
- package/resources/containers/files/content.js.map +1 -1
- package/resources/containers/files/content.mjs +1 -0
- package/resources/containers/files/content.mjs.map +1 -1
- package/resources/containers/files/files.d.mts.map +1 -1
- package/resources/containers/files/files.d.ts.map +1 -1
- package/resources/containers/files/files.js +7 -2
- package/resources/containers/files/files.js.map +1 -1
- package/resources/containers/files/files.mjs +7 -2
- package/resources/containers/files/files.mjs.map +1 -1
- package/resources/conversations/conversations.d.mts.map +1 -1
- package/resources/conversations/conversations.d.ts.map +1 -1
- package/resources/conversations/conversations.js +14 -4
- package/resources/conversations/conversations.js.map +1 -1
- package/resources/conversations/conversations.mjs +14 -4
- package/resources/conversations/conversations.mjs.map +1 -1
- package/resources/conversations/items.d.mts.map +1 -1
- package/resources/conversations/items.d.ts.map +1 -1
- package/resources/conversations/items.js +11 -3
- package/resources/conversations/items.js.map +1 -1
- package/resources/conversations/items.mjs +11 -3
- package/resources/conversations/items.mjs.map +1 -1
- package/resources/embeddings.d.mts.map +1 -1
- package/resources/embeddings.d.ts.map +1 -1
- package/resources/embeddings.js +1 -0
- package/resources/embeddings.js.map +1 -1
- package/resources/embeddings.mjs +1 -0
- package/resources/embeddings.mjs.map +1 -1
- package/resources/evals/evals.d.mts.map +1 -1
- package/resources/evals/evals.d.ts.map +1 -1
- package/resources/evals/evals.js +9 -5
- package/resources/evals/evals.js.map +1 -1
- package/resources/evals/evals.mjs +9 -5
- package/resources/evals/evals.mjs.map +1 -1
- package/resources/evals/runs/output-items.d.mts.map +1 -1
- package/resources/evals/runs/output-items.d.ts.map +1 -1
- package/resources/evals/runs/output-items.js +5 -2
- package/resources/evals/runs/output-items.js.map +1 -1
- package/resources/evals/runs/output-items.mjs +5 -2
- package/resources/evals/runs/output-items.mjs.map +1 -1
- package/resources/evals/runs/runs.d.mts.map +1 -1
- package/resources/evals/runs/runs.d.ts.map +1 -1
- package/resources/evals/runs/runs.js +18 -4
- package/resources/evals/runs/runs.js.map +1 -1
- package/resources/evals/runs/runs.mjs +18 -4
- package/resources/evals/runs/runs.mjs.map +1 -1
- package/resources/files.d.mts +8 -1
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +8 -1
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +17 -5
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +17 -5
- package/resources/files.mjs.map +1 -1
- package/resources/fine-tuning/alpha/graders.d.mts.map +1 -1
- package/resources/fine-tuning/alpha/graders.d.ts.map +1 -1
- package/resources/fine-tuning/alpha/graders.js +10 -2
- package/resources/fine-tuning/alpha/graders.js.map +1 -1
- package/resources/fine-tuning/alpha/graders.mjs +10 -2
- package/resources/fine-tuning/alpha/graders.mjs.map +1 -1
- package/resources/fine-tuning/checkpoints/permissions.d.mts.map +1 -1
- package/resources/fine-tuning/checkpoints/permissions.d.ts.map +1 -1
- package/resources/fine-tuning/checkpoints/permissions.js +4 -3
- package/resources/fine-tuning/checkpoints/permissions.js.map +1 -1
- package/resources/fine-tuning/checkpoints/permissions.mjs +4 -3
- package/resources/fine-tuning/checkpoints/permissions.mjs.map +1 -1
- package/resources/fine-tuning/jobs/checkpoints.js +1 -1
- package/resources/fine-tuning/jobs/checkpoints.js.map +1 -1
- package/resources/fine-tuning/jobs/checkpoints.mjs +1 -1
- package/resources/fine-tuning/jobs/checkpoints.mjs.map +1 -1
- package/resources/fine-tuning/jobs/jobs.d.mts.map +1 -1
- package/resources/fine-tuning/jobs/jobs.d.ts.map +1 -1
- package/resources/fine-tuning/jobs/jobs.js +23 -7
- package/resources/fine-tuning/jobs/jobs.js.map +1 -1
- package/resources/fine-tuning/jobs/jobs.mjs +23 -7
- package/resources/fine-tuning/jobs/jobs.mjs.map +1 -1
- package/resources/images.d.mts +53 -24
- package/resources/images.d.mts.map +1 -1
- package/resources/images.d.ts +53 -24
- package/resources/images.d.ts.map +1 -1
- package/resources/images.js +8 -3
- package/resources/images.js.map +1 -1
- package/resources/images.mjs +8 -3
- package/resources/images.mjs.map +1 -1
- package/resources/index.d.mts +1 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/models.js +3 -3
- package/resources/models.js.map +1 -1
- package/resources/models.mjs +3 -3
- package/resources/models.mjs.map +1 -1
- package/resources/moderations.js +1 -1
- package/resources/moderations.js.map +1 -1
- package/resources/moderations.mjs +1 -1
- package/resources/moderations.mjs.map +1 -1
- package/resources/realtime/calls.d.mts +10 -1
- package/resources/realtime/calls.d.mts.map +1 -1
- package/resources/realtime/calls.d.ts +10 -1
- package/resources/realtime/calls.d.ts.map +1 -1
- package/resources/realtime/calls.js +4 -0
- package/resources/realtime/calls.js.map +1 -1
- package/resources/realtime/calls.mjs +4 -0
- package/resources/realtime/calls.mjs.map +1 -1
- package/resources/realtime/client-secrets.d.mts +24 -37
- package/resources/realtime/client-secrets.d.mts.map +1 -1
- package/resources/realtime/client-secrets.d.ts +24 -37
- package/resources/realtime/client-secrets.d.ts.map +1 -1
- package/resources/realtime/client-secrets.js +5 -1
- package/resources/realtime/client-secrets.js.map +1 -1
- package/resources/realtime/client-secrets.mjs +5 -1
- package/resources/realtime/client-secrets.mjs.map +1 -1
- package/resources/realtime/index.d.mts +1 -1
- package/resources/realtime/index.d.mts.map +1 -1
- package/resources/realtime/index.d.ts +1 -1
- package/resources/realtime/index.d.ts.map +1 -1
- package/resources/realtime/index.js.map +1 -1
- package/resources/realtime/index.mjs.map +1 -1
- package/resources/realtime/realtime.d.mts +545 -10
- package/resources/realtime/realtime.d.mts.map +1 -1
- package/resources/realtime/realtime.d.ts +545 -10
- package/resources/realtime/realtime.d.ts.map +1 -1
- package/resources/realtime/realtime.js.map +1 -1
- package/resources/realtime/realtime.mjs.map +1 -1
- package/resources/responses/input-items.js +1 -1
- package/resources/responses/input-items.js.map +1 -1
- package/resources/responses/input-items.mjs +1 -1
- package/resources/responses/input-items.mjs.map +1 -1
- package/resources/responses/input-tokens.d.mts.map +1 -1
- package/resources/responses/input-tokens.d.ts.map +1 -1
- package/resources/responses/input-tokens.js +5 -1
- package/resources/responses/input-tokens.js.map +1 -1
- package/resources/responses/input-tokens.mjs +5 -1
- package/resources/responses/input-tokens.mjs.map +1 -1
- package/resources/responses/responses.d.mts +45 -11
- package/resources/responses/responses.d.mts.map +1 -1
- package/resources/responses/responses.d.ts +45 -11
- package/resources/responses/responses.d.ts.map +1 -1
- package/resources/responses/responses.js +13 -3
- package/resources/responses/responses.js.map +1 -1
- package/resources/responses/responses.mjs +13 -3
- package/resources/responses/responses.mjs.map +1 -1
- package/resources/responses/ws-base.d.mts.map +1 -1
- package/resources/responses/ws-base.d.ts.map +1 -1
- package/resources/responses/ws-base.js +3 -1
- package/resources/responses/ws-base.js.map +1 -1
- package/resources/responses/ws-base.mjs +3 -1
- package/resources/responses/ws-base.mjs.map +1 -1
- package/resources/skills/content.d.mts.map +1 -1
- package/resources/skills/content.d.ts.map +1 -1
- package/resources/skills/content.js +1 -0
- package/resources/skills/content.js.map +1 -1
- package/resources/skills/content.mjs +1 -0
- package/resources/skills/content.mjs.map +1 -1
- package/resources/skills/skills.d.mts.map +1 -1
- package/resources/skills/skills.d.ts.map +1 -1
- package/resources/skills/skills.js +13 -5
- package/resources/skills/skills.js.map +1 -1
- package/resources/skills/skills.mjs +13 -5
- package/resources/skills/skills.mjs.map +1 -1
- package/resources/skills/versions/content.d.mts.map +1 -1
- package/resources/skills/versions/content.d.ts.map +1 -1
- package/resources/skills/versions/content.js +1 -0
- package/resources/skills/versions/content.js.map +1 -1
- package/resources/skills/versions/content.mjs +1 -0
- package/resources/skills/versions/content.mjs.map +1 -1
- package/resources/skills/versions/versions.d.mts.map +1 -1
- package/resources/skills/versions/versions.d.ts.map +1 -1
- package/resources/skills/versions/versions.js +10 -3
- package/resources/skills/versions/versions.js.map +1 -1
- package/resources/skills/versions/versions.mjs +10 -3
- package/resources/skills/versions/versions.mjs.map +1 -1
- package/resources/uploads/parts.js +1 -1
- package/resources/uploads/parts.js.map +1 -1
- package/resources/uploads/parts.mjs +1 -1
- package/resources/uploads/parts.mjs.map +1 -1
- package/resources/uploads/uploads.d.mts.map +1 -1
- package/resources/uploads/uploads.d.ts.map +1 -1
- package/resources/uploads/uploads.js +10 -3
- package/resources/uploads/uploads.js.map +1 -1
- package/resources/uploads/uploads.mjs +10 -3
- package/resources/uploads/uploads.mjs.map +1 -1
- package/resources/vector-stores/file-batches.d.mts.map +1 -1
- package/resources/vector-stores/file-batches.d.ts.map +1 -1
- package/resources/vector-stores/file-batches.js +9 -1
- package/resources/vector-stores/file-batches.js.map +1 -1
- package/resources/vector-stores/file-batches.mjs +9 -1
- package/resources/vector-stores/file-batches.mjs.map +1 -1
- package/resources/vector-stores/files.d.mts.map +1 -1
- package/resources/vector-stores/files.d.ts.map +1 -1
- package/resources/vector-stores/files.js +10 -1
- package/resources/vector-stores/files.js.map +1 -1
- package/resources/vector-stores/files.mjs +10 -1
- package/resources/vector-stores/files.mjs.map +1 -1
- package/resources/vector-stores/vector-stores.d.mts.map +1 -1
- package/resources/vector-stores/vector-stores.d.ts.map +1 -1
- package/resources/vector-stores/vector-stores.js +6 -0
- package/resources/vector-stores/vector-stores.js.map +1 -1
- package/resources/vector-stores/vector-stores.mjs +6 -0
- package/resources/vector-stores/vector-stores.mjs.map +1 -1
- package/resources/videos.d.mts.map +1 -1
- package/resources/videos.d.ts.map +1 -1
- package/resources/videos.js +17 -9
- package/resources/videos.js.map +1 -1
- package/resources/videos.mjs +17 -9
- package/resources/videos.mjs.map +1 -1
- package/src/azure.ts +7 -3
- package/src/beta/realtime/websocket.ts +7 -2
- package/src/beta/realtime/ws.ts +5 -1
- package/src/client.ts +114 -27
- package/src/core/pagination.ts +62 -0
- package/src/internal/request-options.ts +1 -0
- package/src/internal/utils/log.ts +2 -0
- package/src/realtime/websocket.ts +7 -2
- package/src/realtime/ws.ts +5 -1
- package/src/resources/admin/admin.ts +15 -0
- package/src/resources/admin/index.ts +4 -0
- package/src/resources/admin/organization/admin-api-keys.ts +199 -0
- package/src/resources/admin/organization/audit-logs.ts +1597 -0
- package/src/resources/admin/organization/certificates.ts +458 -0
- package/src/resources/admin/organization/groups/groups.ts +251 -0
- package/src/resources/admin/organization/groups/index.ts +32 -0
- package/src/resources/admin/organization/groups/roles.ts +239 -0
- package/src/resources/admin/organization/groups/users.ts +164 -0
- package/src/resources/admin/organization/groups.ts +3 -0
- package/src/resources/admin/organization/index.ts +99 -0
- package/src/resources/admin/organization/invites.ts +214 -0
- package/src/resources/admin/organization/organization.ts +232 -0
- package/src/resources/admin/organization/projects/api-keys.ts +239 -0
- package/src/resources/admin/organization/projects/certificates.ts +269 -0
- package/src/resources/admin/organization/projects/groups/groups.ts +193 -0
- package/src/resources/admin/organization/projects/groups/index.ts +21 -0
- package/src/resources/admin/organization/projects/groups/roles.ts +261 -0
- package/src/resources/admin/organization/projects/groups.ts +3 -0
- package/src/resources/admin/organization/projects/index.ts +77 -0
- package/src/resources/admin/organization/projects/projects.ts +372 -0
- package/src/resources/admin/organization/projects/rate-limits.ts +173 -0
- package/src/resources/admin/organization/projects/roles.ts +182 -0
- package/src/resources/admin/organization/projects/service-accounts.ts +224 -0
- package/src/resources/admin/organization/projects/users/index.ts +23 -0
- package/src/resources/admin/organization/projects/users/roles.ts +226 -0
- package/src/resources/admin/organization/projects/users/users.ts +252 -0
- package/src/resources/admin/organization/projects/users.ts +3 -0
- package/src/resources/admin/organization/projects.ts +3 -0
- package/src/resources/admin/organization/roles.ts +200 -0
- package/src/resources/admin/organization/usage.ts +4483 -0
- package/src/resources/admin/organization/users/index.ts +20 -0
- package/src/resources/admin/organization/users/roles.ts +208 -0
- package/src/resources/admin/organization/users/users.ts +287 -0
- package/src/resources/admin/organization/users.ts +3 -0
- package/src/resources/admin/organization.ts +3 -0
- package/src/resources/admin.ts +3 -0
- package/src/resources/audio/speech.ts +1 -0
- package/src/resources/audio/transcriptions.ts +1 -0
- package/src/resources/audio/translations.ts +4 -1
- package/src/resources/batches.ts +11 -4
- package/src/resources/beta/assistants.ts +5 -0
- package/src/resources/beta/chatkit/sessions.ts +2 -0
- package/src/resources/beta/chatkit/threads.ts +9 -1
- package/src/resources/beta/realtime/sessions.ts +1 -0
- package/src/resources/beta/realtime/transcription-sessions.ts +1 -0
- package/src/resources/beta/threads/messages.ts +5 -0
- package/src/resources/beta/threads/runs/runs.ts +6 -0
- package/src/resources/beta/threads/runs/steps.ts +2 -0
- package/src/resources/beta/threads/threads.ts +5 -0
- package/src/resources/chat/completions/completions.ts +28 -11
- package/src/resources/chat/completions/messages.ts +1 -1
- package/src/resources/completions.ts +6 -3
- package/src/resources/containers/containers.ts +11 -3
- package/src/resources/containers/files/content.ts +1 -0
- package/src/resources/containers/files/files.ts +7 -2
- package/src/resources/conversations/conversations.ts +14 -4
- package/src/resources/conversations/items.ts +11 -3
- package/src/resources/embeddings.ts +1 -0
- package/src/resources/evals/evals.ts +9 -5
- package/src/resources/evals/runs/output-items.ts +5 -2
- package/src/resources/evals/runs/runs.ts +18 -4
- package/src/resources/files.ts +20 -5
- package/src/resources/fine-tuning/alpha/graders.ts +10 -2
- package/src/resources/fine-tuning/checkpoints/permissions.ts +4 -3
- package/src/resources/fine-tuning/jobs/checkpoints.ts +1 -1
- package/src/resources/fine-tuning/jobs/jobs.ts +23 -7
- package/src/resources/images.ts +71 -27
- package/src/resources/index.ts +1 -0
- package/src/resources/models.ts +3 -3
- package/src/resources/moderations.ts +1 -1
- package/src/resources/realtime/api.md +18 -1
- package/src/resources/realtime/calls.ts +16 -0
- package/src/resources/realtime/client-secrets.ts +30 -38
- package/src/resources/realtime/index.ts +0 -1
- package/src/resources/realtime/realtime.ts +647 -8
- package/src/resources/responses/input-items.ts +1 -1
- package/src/resources/responses/input-tokens.ts +5 -1
- package/src/resources/responses/responses.ts +66 -15
- package/src/resources/responses/ws-base.ts +3 -1
- package/src/resources/skills/content.ts +1 -0
- package/src/resources/skills/skills.ts +16 -5
- package/src/resources/skills/versions/content.ts +1 -0
- package/src/resources/skills/versions/versions.ts +10 -3
- package/src/resources/uploads/parts.ts +1 -1
- package/src/resources/uploads/uploads.ts +10 -3
- package/src/resources/vector-stores/file-batches.ts +9 -1
- package/src/resources/vector-stores/files.ts +10 -1
- package/src/resources/vector-stores/vector-stores.ts +6 -0
- package/src/resources/videos.ts +20 -9
- 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
|
@@ -4,13 +4,19 @@ import * as Shared from "../shared.mjs";
|
|
|
4
4
|
import * as CallsAPI from "./calls.mjs";
|
|
5
5
|
import { CallAcceptParams, CallReferParams, CallRejectParams, Calls } from "./calls.mjs";
|
|
6
6
|
import * as ClientSecretsAPI from "./client-secrets.mjs";
|
|
7
|
-
import { ClientSecretCreateParams, ClientSecretCreateResponse, ClientSecrets,
|
|
7
|
+
import { ClientSecretCreateParams, ClientSecretCreateResponse, ClientSecrets, RealtimeSessionCreateResponse, RealtimeTranscriptionSessionCreateResponse, RealtimeTranscriptionSessionTurnDetection } from "./client-secrets.mjs";
|
|
8
8
|
import * as ResponsesAPI from "../responses/responses.mjs";
|
|
9
9
|
export declare class Realtime extends APIResource {
|
|
10
10
|
clientSecrets: ClientSecretsAPI.ClientSecrets;
|
|
11
11
|
calls: CallsAPI.Calls;
|
|
12
12
|
}
|
|
13
13
|
export interface AudioTranscription {
|
|
14
|
+
/**
|
|
15
|
+
* Controls how long the model waits before emitting transcription text. Higher
|
|
16
|
+
* values can improve transcription accuracy at the cost of latency. Only supported
|
|
17
|
+
* with `gpt-realtime-whisper` in GA Realtime sessions.
|
|
18
|
+
*/
|
|
19
|
+
delay?: 'minimal' | 'low' | 'medium' | 'high' | 'xhigh';
|
|
14
20
|
/**
|
|
15
21
|
* The language of the input audio. Supplying the input language in
|
|
16
22
|
* [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) (e.g. `en`)
|
|
@@ -20,16 +26,17 @@ export interface AudioTranscription {
|
|
|
20
26
|
/**
|
|
21
27
|
* The model to use for transcription. Current options are `whisper-1`,
|
|
22
28
|
* `gpt-4o-mini-transcribe`, `gpt-4o-mini-transcribe-2025-12-15`,
|
|
23
|
-
* `gpt-4o-transcribe`,
|
|
24
|
-
* `gpt-4o-transcribe-diarize` when you need diarization with speaker labels.
|
|
29
|
+
* `gpt-4o-transcribe`, `gpt-4o-transcribe-diarize`, and `gpt-realtime-whisper`.
|
|
30
|
+
* Use `gpt-4o-transcribe-diarize` when you need diarization with speaker labels.
|
|
25
31
|
*/
|
|
26
|
-
model?: (string & {}) | 'whisper-1' | 'gpt-4o-mini-transcribe' | 'gpt-4o-mini-transcribe-2025-12-15' | 'gpt-4o-transcribe' | 'gpt-4o-transcribe-diarize';
|
|
32
|
+
model?: (string & {}) | 'whisper-1' | 'gpt-4o-mini-transcribe' | 'gpt-4o-mini-transcribe-2025-12-15' | 'gpt-4o-transcribe' | 'gpt-4o-transcribe-diarize' | 'gpt-realtime-whisper';
|
|
27
33
|
/**
|
|
28
34
|
* An optional text to guide the model's style or continue a previous audio
|
|
29
35
|
* segment. For `whisper-1`, the
|
|
30
36
|
* [prompt is a list of keywords](https://platform.openai.com/docs/guides/speech-to-text#prompting).
|
|
31
37
|
* For `gpt-4o-transcribe` models (excluding `gpt-4o-transcribe-diarize`), the
|
|
32
38
|
* prompt is a free text string, for example "expect words related to technology".
|
|
39
|
+
* Prompt is not supported with `gpt-realtime-whisper` in GA Realtime sessions.
|
|
33
40
|
*/
|
|
34
41
|
prompt?: string;
|
|
35
42
|
}
|
|
@@ -1036,6 +1043,9 @@ export interface RealtimeAudioConfigInput {
|
|
|
1036
1043
|
* trails off with "uhhm", the model will score a low probability of turn end and
|
|
1037
1044
|
* wait longer for the user to continue speaking. This can be useful for more
|
|
1038
1045
|
* natural conversations, but may have a higher latency.
|
|
1046
|
+
*
|
|
1047
|
+
* For `gpt-realtime-whisper` transcription sessions, turn detection must be set to
|
|
1048
|
+
* `null`; VAD is not supported.
|
|
1039
1049
|
*/
|
|
1040
1050
|
turn_detection?: RealtimeAudioInputTurnDetection | null;
|
|
1041
1051
|
}
|
|
@@ -1143,6 +1153,9 @@ export declare namespace RealtimeAudioFormats {
|
|
|
1143
1153
|
* trails off with "uhhm", the model will score a low probability of turn end and
|
|
1144
1154
|
* wait longer for the user to continue speaking. This can be useful for more
|
|
1145
1155
|
* natural conversations, but may have a higher latency.
|
|
1156
|
+
*
|
|
1157
|
+
* For `gpt-realtime-whisper` transcription sessions, turn detection must be set to
|
|
1158
|
+
* `null`; VAD is not supported.
|
|
1146
1159
|
*/
|
|
1147
1160
|
export type RealtimeAudioInputTurnDetection = RealtimeAudioInputTurnDetection.ServerVad | RealtimeAudioInputTurnDetection.SemanticVad;
|
|
1148
1161
|
export declare namespace RealtimeAudioInputTurnDetection {
|
|
@@ -1685,6 +1698,21 @@ export interface RealtimeMcphttpError {
|
|
|
1685
1698
|
message: string;
|
|
1686
1699
|
type: 'http_error';
|
|
1687
1700
|
}
|
|
1701
|
+
/**
|
|
1702
|
+
* Configuration for reasoning-capable Realtime models such as `gpt-realtime-2`.
|
|
1703
|
+
*/
|
|
1704
|
+
export interface RealtimeReasoning {
|
|
1705
|
+
/**
|
|
1706
|
+
* Constrains effort on reasoning for reasoning-capable Realtime models such as
|
|
1707
|
+
* `gpt-realtime-2`.
|
|
1708
|
+
*/
|
|
1709
|
+
effort?: RealtimeReasoningEffort;
|
|
1710
|
+
}
|
|
1711
|
+
/**
|
|
1712
|
+
* Constrains effort on reasoning for reasoning-capable Realtime models such as
|
|
1713
|
+
* `gpt-realtime-2`.
|
|
1714
|
+
*/
|
|
1715
|
+
export type RealtimeReasoningEffort = 'minimal' | 'low' | 'medium' | 'high' | 'xhigh';
|
|
1688
1716
|
/**
|
|
1689
1717
|
* The response resource.
|
|
1690
1718
|
*/
|
|
@@ -2000,11 +2028,20 @@ export interface RealtimeResponseCreateParams {
|
|
|
2000
2028
|
* model.
|
|
2001
2029
|
*/
|
|
2002
2030
|
output_modalities?: Array<'text' | 'audio'>;
|
|
2031
|
+
/**
|
|
2032
|
+
* Whether the model may call multiple tools in parallel. Only supported by
|
|
2033
|
+
* reasoning Realtime models such as `gpt-realtime-2`.
|
|
2034
|
+
*/
|
|
2035
|
+
parallel_tool_calls?: boolean;
|
|
2003
2036
|
/**
|
|
2004
2037
|
* Reference to a prompt template and its variables.
|
|
2005
2038
|
* [Learn more](https://platform.openai.com/docs/guides/text?api-mode=responses#reusable-prompts).
|
|
2006
2039
|
*/
|
|
2007
2040
|
prompt?: ResponsesAPI.ResponsePrompt | null;
|
|
2041
|
+
/**
|
|
2042
|
+
* Configuration for reasoning-capable Realtime models such as `gpt-realtime-2`.
|
|
2043
|
+
*/
|
|
2044
|
+
reasoning?: RealtimeReasoning;
|
|
2008
2045
|
/**
|
|
2009
2046
|
* How the model chooses tools. Provide one of the string modes or force a specific
|
|
2010
2047
|
* function/MCP tool.
|
|
@@ -2366,6 +2403,9 @@ export interface RealtimeSession {
|
|
|
2366
2403
|
* trails off with "uhhm", the model will score a low probability of turn end and
|
|
2367
2404
|
* wait longer for the user to continue speaking. This can be useful for more
|
|
2368
2405
|
* natural conversations, but may have a higher latency.
|
|
2406
|
+
*
|
|
2407
|
+
* For `gpt-realtime-whisper` transcription sessions, turn detection must be set to
|
|
2408
|
+
* `null`; VAD is not supported.
|
|
2369
2409
|
*/
|
|
2370
2410
|
turn_detection?: RealtimeSession.ServerVad | RealtimeSession.SemanticVad | null;
|
|
2371
2411
|
/**
|
|
@@ -2543,7 +2583,7 @@ export interface RealtimeSessionCreateRequest {
|
|
|
2543
2583
|
/**
|
|
2544
2584
|
* The Realtime model used for this session.
|
|
2545
2585
|
*/
|
|
2546
|
-
model?: (string & {}) | 'gpt-realtime' | 'gpt-realtime-1.5' | 'gpt-realtime-2025-08-28' | 'gpt-4o-realtime-preview' | 'gpt-4o-realtime-preview-2024-10-01' | 'gpt-4o-realtime-preview-2024-12-17' | 'gpt-4o-realtime-preview-2025-06-03' | 'gpt-4o-mini-realtime-preview' | 'gpt-4o-mini-realtime-preview-2024-12-17' | 'gpt-realtime-mini' | 'gpt-realtime-mini-2025-10-06' | 'gpt-realtime-mini-2025-12-15' | 'gpt-audio-1.5' | 'gpt-audio-mini' | 'gpt-audio-mini-2025-10-06' | 'gpt-audio-mini-2025-12-15';
|
|
2586
|
+
model?: (string & {}) | 'gpt-realtime' | 'gpt-realtime-1.5' | 'gpt-realtime-2' | 'gpt-realtime-2025-08-28' | 'gpt-4o-realtime-preview' | 'gpt-4o-realtime-preview-2024-10-01' | 'gpt-4o-realtime-preview-2024-12-17' | 'gpt-4o-realtime-preview-2025-06-03' | 'gpt-4o-mini-realtime-preview' | 'gpt-4o-mini-realtime-preview-2024-12-17' | 'gpt-realtime-mini' | 'gpt-realtime-mini-2025-10-06' | 'gpt-realtime-mini-2025-12-15' | 'gpt-audio-1.5' | 'gpt-audio-mini' | 'gpt-audio-mini-2025-10-06' | 'gpt-audio-mini-2025-12-15';
|
|
2547
2587
|
/**
|
|
2548
2588
|
* The set of modalities the model can respond with. It defaults to `["audio"]`,
|
|
2549
2589
|
* indicating that the model will respond with audio plus a transcript. `["text"]`
|
|
@@ -2551,11 +2591,20 @@ export interface RealtimeSessionCreateRequest {
|
|
|
2551
2591
|
* request both `text` and `audio` at the same time.
|
|
2552
2592
|
*/
|
|
2553
2593
|
output_modalities?: Array<'text' | 'audio'>;
|
|
2594
|
+
/**
|
|
2595
|
+
* Whether the model may call multiple tools in parallel. Only supported by
|
|
2596
|
+
* reasoning Realtime models such as `gpt-realtime-2`.
|
|
2597
|
+
*/
|
|
2598
|
+
parallel_tool_calls?: boolean;
|
|
2554
2599
|
/**
|
|
2555
2600
|
* Reference to a prompt template and its variables.
|
|
2556
2601
|
* [Learn more](https://platform.openai.com/docs/guides/text?api-mode=responses#reusable-prompts).
|
|
2557
2602
|
*/
|
|
2558
2603
|
prompt?: ResponsesAPI.ResponsePrompt | null;
|
|
2604
|
+
/**
|
|
2605
|
+
* Configuration for reasoning-capable Realtime models such as `gpt-realtime-2`.
|
|
2606
|
+
*/
|
|
2607
|
+
reasoning?: RealtimeReasoning;
|
|
2559
2608
|
/**
|
|
2560
2609
|
* How the model chooses tools. Provide one of the string modes or force a specific
|
|
2561
2610
|
* function/MCP tool.
|
|
@@ -2823,6 +2872,9 @@ export interface RealtimeTranscriptionSessionAudioInput {
|
|
|
2823
2872
|
* trails off with "uhhm", the model will score a low probability of turn end and
|
|
2824
2873
|
* wait longer for the user to continue speaking. This can be useful for more
|
|
2825
2874
|
* natural conversations, but may have a higher latency.
|
|
2875
|
+
*
|
|
2876
|
+
* For `gpt-realtime-whisper` transcription sessions, turn detection must be set to
|
|
2877
|
+
* `null`; VAD is not supported.
|
|
2826
2878
|
*/
|
|
2827
2879
|
turn_detection?: RealtimeTranscriptionSessionAudioInputTurnDetection | null;
|
|
2828
2880
|
}
|
|
@@ -2857,6 +2909,9 @@ export declare namespace RealtimeTranscriptionSessionAudioInput {
|
|
|
2857
2909
|
* trails off with "uhhm", the model will score a low probability of turn end and
|
|
2858
2910
|
* wait longer for the user to continue speaking. This can be useful for more
|
|
2859
2911
|
* natural conversations, but may have a higher latency.
|
|
2912
|
+
*
|
|
2913
|
+
* For `gpt-realtime-whisper` transcription sessions, turn detection must be set to
|
|
2914
|
+
* `null`; VAD is not supported.
|
|
2860
2915
|
*/
|
|
2861
2916
|
export type RealtimeTranscriptionSessionAudioInputTurnDetection = RealtimeTranscriptionSessionAudioInputTurnDetection.ServerVad | RealtimeTranscriptionSessionAudioInputTurnDetection.SemanticVad;
|
|
2862
2917
|
export declare namespace RealtimeTranscriptionSessionAudioInputTurnDetection {
|
|
@@ -2971,6 +3026,489 @@ export interface RealtimeTranscriptionSessionCreateRequest {
|
|
|
2971
3026
|
*/
|
|
2972
3027
|
include?: Array<'item.input_audio_transcription.logprobs'>;
|
|
2973
3028
|
}
|
|
3029
|
+
/**
|
|
3030
|
+
* A Realtime translation client event.
|
|
3031
|
+
*/
|
|
3032
|
+
export type RealtimeTranslationClientEvent = RealtimeTranslationSessionUpdateEvent | RealtimeTranslationInputAudioBufferAppendEvent | RealtimeTranslationSessionCloseEvent;
|
|
3033
|
+
/**
|
|
3034
|
+
* Create a translation session and client secret for the Realtime API.
|
|
3035
|
+
*/
|
|
3036
|
+
export interface RealtimeTranslationClientSecretCreateRequest {
|
|
3037
|
+
/**
|
|
3038
|
+
* Realtime translation session configuration. Translation sessions stream source
|
|
3039
|
+
* audio in and translated audio plus transcript deltas out continuously.
|
|
3040
|
+
*/
|
|
3041
|
+
session: RealtimeTranslationSessionCreateRequest;
|
|
3042
|
+
/**
|
|
3043
|
+
* Configuration for the client secret expiration. Expiration refers to the time
|
|
3044
|
+
* after which a client secret will no longer be valid for creating sessions. The
|
|
3045
|
+
* session itself may continue after that time once started. A secret can be used
|
|
3046
|
+
* to create multiple sessions until it expires.
|
|
3047
|
+
*/
|
|
3048
|
+
expires_after?: RealtimeTranslationClientSecretCreateRequest.ExpiresAfter;
|
|
3049
|
+
}
|
|
3050
|
+
export declare namespace RealtimeTranslationClientSecretCreateRequest {
|
|
3051
|
+
/**
|
|
3052
|
+
* Configuration for the client secret expiration. Expiration refers to the time
|
|
3053
|
+
* after which a client secret will no longer be valid for creating sessions. The
|
|
3054
|
+
* session itself may continue after that time once started. A secret can be used
|
|
3055
|
+
* to create multiple sessions until it expires.
|
|
3056
|
+
*/
|
|
3057
|
+
interface ExpiresAfter {
|
|
3058
|
+
/**
|
|
3059
|
+
* The anchor point for the client secret expiration, meaning that `seconds` will
|
|
3060
|
+
* be added to the `created_at` time of the client secret to produce an expiration
|
|
3061
|
+
* timestamp. Only `created_at` is currently supported.
|
|
3062
|
+
*/
|
|
3063
|
+
anchor?: 'created_at';
|
|
3064
|
+
/**
|
|
3065
|
+
* The number of seconds from the anchor point to the expiration. Select a value
|
|
3066
|
+
* between `10` and `7200` (2 hours). This default to 600 seconds (10 minutes) if
|
|
3067
|
+
* not specified.
|
|
3068
|
+
*/
|
|
3069
|
+
seconds?: number;
|
|
3070
|
+
}
|
|
3071
|
+
}
|
|
3072
|
+
/**
|
|
3073
|
+
* Response from creating a translation session and client secret for the Realtime
|
|
3074
|
+
* API.
|
|
3075
|
+
*/
|
|
3076
|
+
export interface RealtimeTranslationClientSecretCreateResponse {
|
|
3077
|
+
/**
|
|
3078
|
+
* Expiration timestamp for the client secret, in seconds since epoch.
|
|
3079
|
+
*/
|
|
3080
|
+
expires_at: number;
|
|
3081
|
+
/**
|
|
3082
|
+
* A Realtime translation session. Translation sessions continuously translate
|
|
3083
|
+
* input audio into the configured output language.
|
|
3084
|
+
*/
|
|
3085
|
+
session: RealtimeTranslationSession;
|
|
3086
|
+
/**
|
|
3087
|
+
* The generated client secret value.
|
|
3088
|
+
*/
|
|
3089
|
+
value: string;
|
|
3090
|
+
}
|
|
3091
|
+
/**
|
|
3092
|
+
* Send this event to append audio bytes to the translation session input audio
|
|
3093
|
+
* buffer.
|
|
3094
|
+
*
|
|
3095
|
+
* WebSocket translation sessions accept base64-encoded 24 kHz PCM16 mono
|
|
3096
|
+
* little-endian raw audio bytes. Unsupported websocket audio formats return a
|
|
3097
|
+
* validation error because lower-quality audio materially degrades translation
|
|
3098
|
+
* quality.
|
|
3099
|
+
*
|
|
3100
|
+
* Translation consumes 200 ms engine frames. For best realtime behavior, append
|
|
3101
|
+
* audio in 200 ms chunks. If a chunk is shorter, the server buffers it until it
|
|
3102
|
+
* has enough audio for one frame. If a chunk is longer, the server splits it into
|
|
3103
|
+
* 200 ms frames and enqueues them back-to-back.
|
|
3104
|
+
*
|
|
3105
|
+
* Keep appending silence while the session is active. If a client stops sending
|
|
3106
|
+
* audio and later resumes, model time treats the resumed audio as contiguous with
|
|
3107
|
+
* the previous audio rather than as a real-world pause.
|
|
3108
|
+
*/
|
|
3109
|
+
export interface RealtimeTranslationInputAudioBufferAppendEvent {
|
|
3110
|
+
/**
|
|
3111
|
+
* Base64-encoded 24 kHz PCM16 mono audio bytes.
|
|
3112
|
+
*/
|
|
3113
|
+
audio: string;
|
|
3114
|
+
/**
|
|
3115
|
+
* The event type, must be `session.input_audio_buffer.append`.
|
|
3116
|
+
*/
|
|
3117
|
+
type: 'session.input_audio_buffer.append';
|
|
3118
|
+
/**
|
|
3119
|
+
* Optional client-generated ID used to identify this event.
|
|
3120
|
+
*/
|
|
3121
|
+
event_id?: string;
|
|
3122
|
+
}
|
|
3123
|
+
/**
|
|
3124
|
+
* Returned when optional source-language transcript text is available. This event
|
|
3125
|
+
* is emitted only when `audio.input.transcription` is configured.
|
|
3126
|
+
*
|
|
3127
|
+
* Transcript deltas are append-only text fragments. Clients should not insert
|
|
3128
|
+
* unconditional spaces between deltas.
|
|
3129
|
+
*/
|
|
3130
|
+
export interface RealtimeTranslationInputTranscriptDeltaEvent {
|
|
3131
|
+
/**
|
|
3132
|
+
* Append-only source-language transcript text.
|
|
3133
|
+
*/
|
|
3134
|
+
delta: string;
|
|
3135
|
+
/**
|
|
3136
|
+
* The unique ID of the server event.
|
|
3137
|
+
*/
|
|
3138
|
+
event_id: string;
|
|
3139
|
+
/**
|
|
3140
|
+
* The event type, must be `session.input_transcript.delta`.
|
|
3141
|
+
*/
|
|
3142
|
+
type: 'session.input_transcript.delta';
|
|
3143
|
+
/**
|
|
3144
|
+
* Timing metadata for stream alignment, derived from the translation frame when
|
|
3145
|
+
* available. It advances in 200 ms increments, but multiple transcript deltas may
|
|
3146
|
+
* share the same `elapsed_ms`. Treat it as alignment metadata, not a unique
|
|
3147
|
+
* transcript-delta identifier.
|
|
3148
|
+
*/
|
|
3149
|
+
elapsed_ms?: number | null;
|
|
3150
|
+
}
|
|
3151
|
+
/**
|
|
3152
|
+
* Returned when translated output audio is available. Output audio deltas are 200
|
|
3153
|
+
* ms frames of PCM16 audio.
|
|
3154
|
+
*/
|
|
3155
|
+
export interface RealtimeTranslationOutputAudioDeltaEvent {
|
|
3156
|
+
/**
|
|
3157
|
+
* Base64-encoded translated audio data.
|
|
3158
|
+
*/
|
|
3159
|
+
delta: string;
|
|
3160
|
+
/**
|
|
3161
|
+
* The unique ID of the server event.
|
|
3162
|
+
*/
|
|
3163
|
+
event_id: string;
|
|
3164
|
+
/**
|
|
3165
|
+
* The event type, must be `session.output_audio.delta`.
|
|
3166
|
+
*/
|
|
3167
|
+
type: 'session.output_audio.delta';
|
|
3168
|
+
/**
|
|
3169
|
+
* Number of audio channels.
|
|
3170
|
+
*/
|
|
3171
|
+
channels?: number;
|
|
3172
|
+
/**
|
|
3173
|
+
* Timing metadata for stream alignment, derived from the translation frame when
|
|
3174
|
+
* available. Treat `elapsed_ms` as alignment metadata, not a unique event
|
|
3175
|
+
* identifier.
|
|
3176
|
+
*/
|
|
3177
|
+
elapsed_ms?: number | null;
|
|
3178
|
+
/**
|
|
3179
|
+
* Audio encoding for `delta`.
|
|
3180
|
+
*/
|
|
3181
|
+
format?: 'pcm16';
|
|
3182
|
+
/**
|
|
3183
|
+
* Sample rate of the audio delta.
|
|
3184
|
+
*/
|
|
3185
|
+
sample_rate?: number;
|
|
3186
|
+
}
|
|
3187
|
+
/**
|
|
3188
|
+
* Returned when translated transcript text is available.
|
|
3189
|
+
*
|
|
3190
|
+
* Transcript deltas are append-only text fragments. Clients should not insert
|
|
3191
|
+
* unconditional spaces between deltas.
|
|
3192
|
+
*/
|
|
3193
|
+
export interface RealtimeTranslationOutputTranscriptDeltaEvent {
|
|
3194
|
+
/**
|
|
3195
|
+
* Append-only transcript text for the translated output audio.
|
|
3196
|
+
*/
|
|
3197
|
+
delta: string;
|
|
3198
|
+
/**
|
|
3199
|
+
* The unique ID of the server event.
|
|
3200
|
+
*/
|
|
3201
|
+
event_id: string;
|
|
3202
|
+
/**
|
|
3203
|
+
* The event type, must be `session.output_transcript.delta`.
|
|
3204
|
+
*/
|
|
3205
|
+
type: 'session.output_transcript.delta';
|
|
3206
|
+
/**
|
|
3207
|
+
* Timing metadata for stream alignment, derived from the translation frame when
|
|
3208
|
+
* available. It advances in 200 ms increments, but multiple transcript deltas may
|
|
3209
|
+
* share the same `elapsed_ms`. Treat it as alignment metadata, not a unique
|
|
3210
|
+
* transcript-delta identifier.
|
|
3211
|
+
*/
|
|
3212
|
+
elapsed_ms?: number | null;
|
|
3213
|
+
}
|
|
3214
|
+
/**
|
|
3215
|
+
* A Realtime translation server event.
|
|
3216
|
+
*/
|
|
3217
|
+
export type RealtimeTranslationServerEvent = RealtimeErrorEvent | RealtimeTranslationSessionCreatedEvent | RealtimeTranslationSessionUpdatedEvent | RealtimeTranslationSessionClosedEvent | RealtimeTranslationInputTranscriptDeltaEvent | RealtimeTranslationOutputTranscriptDeltaEvent | RealtimeTranslationOutputAudioDeltaEvent;
|
|
3218
|
+
/**
|
|
3219
|
+
* A Realtime translation session. Translation sessions continuously translate
|
|
3220
|
+
* input audio into the configured output language.
|
|
3221
|
+
*/
|
|
3222
|
+
export interface RealtimeTranslationSession {
|
|
3223
|
+
/**
|
|
3224
|
+
* Unique identifier for the session that looks like `sess_1234567890abcdef`.
|
|
3225
|
+
*/
|
|
3226
|
+
id: string;
|
|
3227
|
+
/**
|
|
3228
|
+
* Configuration for translation input and output audio.
|
|
3229
|
+
*/
|
|
3230
|
+
audio: RealtimeTranslationSession.Audio;
|
|
3231
|
+
/**
|
|
3232
|
+
* Expiration timestamp for the session, in seconds since epoch.
|
|
3233
|
+
*/
|
|
3234
|
+
expires_at: number;
|
|
3235
|
+
/**
|
|
3236
|
+
* The Realtime translation model used for this session. This field is set at
|
|
3237
|
+
* session creation and cannot be changed with `session.update`.
|
|
3238
|
+
*/
|
|
3239
|
+
model: string;
|
|
3240
|
+
/**
|
|
3241
|
+
* The session type. Always `translation` for Realtime translation sessions.
|
|
3242
|
+
*/
|
|
3243
|
+
type: 'translation';
|
|
3244
|
+
}
|
|
3245
|
+
export declare namespace RealtimeTranslationSession {
|
|
3246
|
+
/**
|
|
3247
|
+
* Configuration for translation input and output audio.
|
|
3248
|
+
*/
|
|
3249
|
+
interface Audio {
|
|
3250
|
+
input?: Audio.Input;
|
|
3251
|
+
output?: Audio.Output;
|
|
3252
|
+
}
|
|
3253
|
+
namespace Audio {
|
|
3254
|
+
interface Input {
|
|
3255
|
+
/**
|
|
3256
|
+
* Optional input noise reduction.
|
|
3257
|
+
*/
|
|
3258
|
+
noise_reduction?: Input.NoiseReduction | null;
|
|
3259
|
+
/**
|
|
3260
|
+
* Optional source-language transcription. When configured, the server emits
|
|
3261
|
+
* `session.input_transcript.delta` events. Translation itself still runs from the
|
|
3262
|
+
* input audio stream.
|
|
3263
|
+
*/
|
|
3264
|
+
transcription?: Input.Transcription | null;
|
|
3265
|
+
}
|
|
3266
|
+
namespace Input {
|
|
3267
|
+
/**
|
|
3268
|
+
* Optional input noise reduction.
|
|
3269
|
+
*/
|
|
3270
|
+
interface NoiseReduction {
|
|
3271
|
+
/**
|
|
3272
|
+
* Type of noise reduction. `near_field` is for close-talking microphones such as
|
|
3273
|
+
* headphones, `far_field` is for far-field microphones such as laptop or
|
|
3274
|
+
* conference room microphones.
|
|
3275
|
+
*/
|
|
3276
|
+
type: RealtimeAPI.NoiseReductionType;
|
|
3277
|
+
}
|
|
3278
|
+
/**
|
|
3279
|
+
* Optional source-language transcription. When configured, the server emits
|
|
3280
|
+
* `session.input_transcript.delta` events. Translation itself still runs from the
|
|
3281
|
+
* input audio stream.
|
|
3282
|
+
*/
|
|
3283
|
+
interface Transcription {
|
|
3284
|
+
/**
|
|
3285
|
+
* The transcription model used for source transcript deltas.
|
|
3286
|
+
*/
|
|
3287
|
+
model: string;
|
|
3288
|
+
}
|
|
3289
|
+
}
|
|
3290
|
+
interface Output {
|
|
3291
|
+
/**
|
|
3292
|
+
* Target language for translated output audio and transcript deltas.
|
|
3293
|
+
*/
|
|
3294
|
+
language?: string;
|
|
3295
|
+
}
|
|
3296
|
+
}
|
|
3297
|
+
}
|
|
3298
|
+
/**
|
|
3299
|
+
* Gracefully close the realtime translation session. The server flushes pending
|
|
3300
|
+
* input audio and emits any remaining translated output before closing the
|
|
3301
|
+
* session.
|
|
3302
|
+
*/
|
|
3303
|
+
export interface RealtimeTranslationSessionCloseEvent {
|
|
3304
|
+
/**
|
|
3305
|
+
* The event type, must be `session.close`.
|
|
3306
|
+
*/
|
|
3307
|
+
type: 'session.close';
|
|
3308
|
+
/**
|
|
3309
|
+
* Optional client-generated ID used to identify this event.
|
|
3310
|
+
*/
|
|
3311
|
+
event_id?: string;
|
|
3312
|
+
}
|
|
3313
|
+
/**
|
|
3314
|
+
* Returned when a realtime translation session is closed.
|
|
3315
|
+
*/
|
|
3316
|
+
export interface RealtimeTranslationSessionClosedEvent {
|
|
3317
|
+
/**
|
|
3318
|
+
* The unique ID of the server event.
|
|
3319
|
+
*/
|
|
3320
|
+
event_id: string;
|
|
3321
|
+
/**
|
|
3322
|
+
* The event type, must be `session.closed`.
|
|
3323
|
+
*/
|
|
3324
|
+
type: 'session.closed';
|
|
3325
|
+
}
|
|
3326
|
+
/**
|
|
3327
|
+
* Realtime translation session configuration. Translation sessions stream source
|
|
3328
|
+
* audio in and translated audio plus transcript deltas out continuously.
|
|
3329
|
+
*/
|
|
3330
|
+
export interface RealtimeTranslationSessionCreateRequest {
|
|
3331
|
+
/**
|
|
3332
|
+
* The Realtime translation model used for this session.
|
|
3333
|
+
*/
|
|
3334
|
+
model: string;
|
|
3335
|
+
/**
|
|
3336
|
+
* Configuration for translation input and output audio.
|
|
3337
|
+
*/
|
|
3338
|
+
audio?: RealtimeTranslationSessionCreateRequest.Audio;
|
|
3339
|
+
}
|
|
3340
|
+
export declare namespace RealtimeTranslationSessionCreateRequest {
|
|
3341
|
+
/**
|
|
3342
|
+
* Configuration for translation input and output audio.
|
|
3343
|
+
*/
|
|
3344
|
+
interface Audio {
|
|
3345
|
+
input?: Audio.Input;
|
|
3346
|
+
output?: Audio.Output;
|
|
3347
|
+
}
|
|
3348
|
+
namespace Audio {
|
|
3349
|
+
interface Input {
|
|
3350
|
+
/**
|
|
3351
|
+
* Optional input noise reduction. Set to `null` to disable it.
|
|
3352
|
+
*/
|
|
3353
|
+
noise_reduction?: Input.NoiseReduction | null;
|
|
3354
|
+
/**
|
|
3355
|
+
* Optional source-language transcription. When configured, the server emits
|
|
3356
|
+
* `session.input_transcript.delta` events. Translation itself still runs from the
|
|
3357
|
+
* input audio stream.
|
|
3358
|
+
*/
|
|
3359
|
+
transcription?: Input.Transcription | null;
|
|
3360
|
+
}
|
|
3361
|
+
namespace Input {
|
|
3362
|
+
/**
|
|
3363
|
+
* Optional input noise reduction. Set to `null` to disable it.
|
|
3364
|
+
*/
|
|
3365
|
+
interface NoiseReduction {
|
|
3366
|
+
/**
|
|
3367
|
+
* Type of noise reduction. `near_field` is for close-talking microphones such as
|
|
3368
|
+
* headphones, `far_field` is for far-field microphones such as laptop or
|
|
3369
|
+
* conference room microphones.
|
|
3370
|
+
*/
|
|
3371
|
+
type: RealtimeAPI.NoiseReductionType;
|
|
3372
|
+
}
|
|
3373
|
+
/**
|
|
3374
|
+
* Optional source-language transcription. When configured, the server emits
|
|
3375
|
+
* `session.input_transcript.delta` events. Translation itself still runs from the
|
|
3376
|
+
* input audio stream.
|
|
3377
|
+
*/
|
|
3378
|
+
interface Transcription {
|
|
3379
|
+
/**
|
|
3380
|
+
* The transcription model to use for source transcript deltas.
|
|
3381
|
+
*/
|
|
3382
|
+
model: string;
|
|
3383
|
+
}
|
|
3384
|
+
}
|
|
3385
|
+
interface Output {
|
|
3386
|
+
/**
|
|
3387
|
+
* Target language for translated output audio and transcript deltas.
|
|
3388
|
+
*/
|
|
3389
|
+
language?: string;
|
|
3390
|
+
}
|
|
3391
|
+
}
|
|
3392
|
+
}
|
|
3393
|
+
/**
|
|
3394
|
+
* Returned when a translation session is created. Emitted automatically when a new
|
|
3395
|
+
* connection is established as the first server event. This event contains the
|
|
3396
|
+
* default translation session configuration.
|
|
3397
|
+
*/
|
|
3398
|
+
export interface RealtimeTranslationSessionCreatedEvent {
|
|
3399
|
+
/**
|
|
3400
|
+
* The unique ID of the server event.
|
|
3401
|
+
*/
|
|
3402
|
+
event_id: string;
|
|
3403
|
+
/**
|
|
3404
|
+
* The translation session configuration.
|
|
3405
|
+
*/
|
|
3406
|
+
session: RealtimeTranslationSession;
|
|
3407
|
+
/**
|
|
3408
|
+
* The event type, must be `session.created`.
|
|
3409
|
+
*/
|
|
3410
|
+
type: 'session.created';
|
|
3411
|
+
}
|
|
3412
|
+
/**
|
|
3413
|
+
* Send this event to update the translation session configuration. Translation
|
|
3414
|
+
* sessions support updates to `audio.output.language`,
|
|
3415
|
+
* `audio.input.transcription`, and `audio.input.noise_reduction`.
|
|
3416
|
+
*/
|
|
3417
|
+
export interface RealtimeTranslationSessionUpdateEvent {
|
|
3418
|
+
/**
|
|
3419
|
+
* Translation session fields to update. The session `type` and `model` are set at
|
|
3420
|
+
* creation and cannot be changed with `session.update`.
|
|
3421
|
+
*/
|
|
3422
|
+
session: RealtimeTranslationSessionUpdateRequest;
|
|
3423
|
+
/**
|
|
3424
|
+
* The event type, must be `session.update`.
|
|
3425
|
+
*/
|
|
3426
|
+
type: 'session.update';
|
|
3427
|
+
/**
|
|
3428
|
+
* Optional client-generated ID used to identify this event.
|
|
3429
|
+
*/
|
|
3430
|
+
event_id?: string;
|
|
3431
|
+
}
|
|
3432
|
+
/**
|
|
3433
|
+
* Realtime translation session fields that can be updated with `session.update`.
|
|
3434
|
+
*/
|
|
3435
|
+
export interface RealtimeTranslationSessionUpdateRequest {
|
|
3436
|
+
/**
|
|
3437
|
+
* Configuration for translation input and output audio.
|
|
3438
|
+
*/
|
|
3439
|
+
audio?: RealtimeTranslationSessionUpdateRequest.Audio;
|
|
3440
|
+
}
|
|
3441
|
+
export declare namespace RealtimeTranslationSessionUpdateRequest {
|
|
3442
|
+
/**
|
|
3443
|
+
* Configuration for translation input and output audio.
|
|
3444
|
+
*/
|
|
3445
|
+
interface Audio {
|
|
3446
|
+
input?: Audio.Input;
|
|
3447
|
+
output?: Audio.Output;
|
|
3448
|
+
}
|
|
3449
|
+
namespace Audio {
|
|
3450
|
+
interface Input {
|
|
3451
|
+
/**
|
|
3452
|
+
* Optional input noise reduction. Set to `null` to disable it.
|
|
3453
|
+
*/
|
|
3454
|
+
noise_reduction?: Input.NoiseReduction | null;
|
|
3455
|
+
/**
|
|
3456
|
+
* Optional source-language transcription. When configured, the server emits
|
|
3457
|
+
* `session.input_transcript.delta` events. Translation itself still runs from the
|
|
3458
|
+
* input audio stream.
|
|
3459
|
+
*/
|
|
3460
|
+
transcription?: Input.Transcription | null;
|
|
3461
|
+
}
|
|
3462
|
+
namespace Input {
|
|
3463
|
+
/**
|
|
3464
|
+
* Optional input noise reduction. Set to `null` to disable it.
|
|
3465
|
+
*/
|
|
3466
|
+
interface NoiseReduction {
|
|
3467
|
+
/**
|
|
3468
|
+
* Type of noise reduction. `near_field` is for close-talking microphones such as
|
|
3469
|
+
* headphones, `far_field` is for far-field microphones such as laptop or
|
|
3470
|
+
* conference room microphones.
|
|
3471
|
+
*/
|
|
3472
|
+
type: RealtimeAPI.NoiseReductionType;
|
|
3473
|
+
}
|
|
3474
|
+
/**
|
|
3475
|
+
* Optional source-language transcription. When configured, the server emits
|
|
3476
|
+
* `session.input_transcript.delta` events. Translation itself still runs from the
|
|
3477
|
+
* input audio stream.
|
|
3478
|
+
*/
|
|
3479
|
+
interface Transcription {
|
|
3480
|
+
/**
|
|
3481
|
+
* The transcription model to use for source transcript deltas.
|
|
3482
|
+
*/
|
|
3483
|
+
model: string;
|
|
3484
|
+
}
|
|
3485
|
+
}
|
|
3486
|
+
interface Output {
|
|
3487
|
+
/**
|
|
3488
|
+
* Target language for translated output audio and transcript deltas.
|
|
3489
|
+
*/
|
|
3490
|
+
language?: string;
|
|
3491
|
+
}
|
|
3492
|
+
}
|
|
3493
|
+
}
|
|
3494
|
+
/**
|
|
3495
|
+
* Returned when a translation session is updated with a `session.update` event,
|
|
3496
|
+
* unless there is an error.
|
|
3497
|
+
*/
|
|
3498
|
+
export interface RealtimeTranslationSessionUpdatedEvent {
|
|
3499
|
+
/**
|
|
3500
|
+
* The unique ID of the server event.
|
|
3501
|
+
*/
|
|
3502
|
+
event_id: string;
|
|
3503
|
+
/**
|
|
3504
|
+
* The translation session configuration.
|
|
3505
|
+
*/
|
|
3506
|
+
session: RealtimeTranslationSession;
|
|
3507
|
+
/**
|
|
3508
|
+
* The event type, must be `session.updated`.
|
|
3509
|
+
*/
|
|
3510
|
+
type: 'session.updated';
|
|
3511
|
+
}
|
|
2974
3512
|
/**
|
|
2975
3513
|
* When the number of tokens in a conversation exceeds the model's input token
|
|
2976
3514
|
* limit, the conversation be truncated, meaning messages (starting from the
|
|
@@ -3905,9 +4443,6 @@ export declare namespace TranscriptionSessionUpdatedEvent {
|
|
|
3905
4443
|
* The format of input audio. Options are `pcm16`, `g711_ulaw`, or `g711_alaw`.
|
|
3906
4444
|
*/
|
|
3907
4445
|
input_audio_format?: string;
|
|
3908
|
-
/**
|
|
3909
|
-
* Configuration of the transcription model.
|
|
3910
|
-
*/
|
|
3911
4446
|
input_audio_transcription?: RealtimeAPI.AudioTranscription;
|
|
3912
4447
|
/**
|
|
3913
4448
|
* The set of modalities the model can respond with. To disable audio, set this to
|
|
@@ -3970,8 +4505,8 @@ export declare namespace TranscriptionSessionUpdatedEvent {
|
|
|
3970
4505
|
}
|
|
3971
4506
|
}
|
|
3972
4507
|
export declare namespace Realtime {
|
|
3973
|
-
export { type AudioTranscription as AudioTranscription, type ConversationCreatedEvent as ConversationCreatedEvent, type ConversationItem as ConversationItem, type ConversationItemAdded as ConversationItemAdded, type ConversationItemCreateEvent as ConversationItemCreateEvent, type ConversationItemCreatedEvent as ConversationItemCreatedEvent, type ConversationItemDeleteEvent as ConversationItemDeleteEvent, type ConversationItemDeletedEvent as ConversationItemDeletedEvent, type ConversationItemDone as ConversationItemDone, type ConversationItemInputAudioTranscriptionCompletedEvent as ConversationItemInputAudioTranscriptionCompletedEvent, type ConversationItemInputAudioTranscriptionDeltaEvent as ConversationItemInputAudioTranscriptionDeltaEvent, type ConversationItemInputAudioTranscriptionFailedEvent as ConversationItemInputAudioTranscriptionFailedEvent, type ConversationItemInputAudioTranscriptionSegment as ConversationItemInputAudioTranscriptionSegment, type ConversationItemRetrieveEvent as ConversationItemRetrieveEvent, type ConversationItemTruncateEvent as ConversationItemTruncateEvent, type ConversationItemTruncatedEvent as ConversationItemTruncatedEvent, type ConversationItemWithReference as ConversationItemWithReference, type InputAudioBufferAppendEvent as InputAudioBufferAppendEvent, type InputAudioBufferClearEvent as InputAudioBufferClearEvent, type InputAudioBufferClearedEvent as InputAudioBufferClearedEvent, type InputAudioBufferCommitEvent as InputAudioBufferCommitEvent, type InputAudioBufferCommittedEvent as InputAudioBufferCommittedEvent, type InputAudioBufferDtmfEventReceivedEvent as InputAudioBufferDtmfEventReceivedEvent, type InputAudioBufferSpeechStartedEvent as InputAudioBufferSpeechStartedEvent, type InputAudioBufferSpeechStoppedEvent as InputAudioBufferSpeechStoppedEvent, type InputAudioBufferTimeoutTriggered as InputAudioBufferTimeoutTriggered, type LogProbProperties as LogProbProperties, type McpListToolsCompleted as McpListToolsCompleted, type McpListToolsFailed as McpListToolsFailed, type McpListToolsInProgress as McpListToolsInProgress, type NoiseReductionType as NoiseReductionType, type OutputAudioBufferClearEvent as OutputAudioBufferClearEvent, type RateLimitsUpdatedEvent as RateLimitsUpdatedEvent, type RealtimeAudioConfig as RealtimeAudioConfig, type RealtimeAudioConfigInput as RealtimeAudioConfigInput, type RealtimeAudioConfigOutput as RealtimeAudioConfigOutput, type RealtimeAudioFormats as RealtimeAudioFormats, type RealtimeAudioInputTurnDetection as RealtimeAudioInputTurnDetection, type RealtimeClientEvent as RealtimeClientEvent, type RealtimeConversationItemAssistantMessage as RealtimeConversationItemAssistantMessage, type RealtimeConversationItemFunctionCall as RealtimeConversationItemFunctionCall, type RealtimeConversationItemFunctionCallOutput as RealtimeConversationItemFunctionCallOutput, type RealtimeConversationItemSystemMessage as RealtimeConversationItemSystemMessage, type RealtimeConversationItemUserMessage as RealtimeConversationItemUserMessage, type RealtimeError as RealtimeError, type RealtimeErrorEvent as RealtimeErrorEvent, type RealtimeFunctionTool as RealtimeFunctionTool, type RealtimeMcpApprovalRequest as RealtimeMcpApprovalRequest, type RealtimeMcpApprovalResponse as RealtimeMcpApprovalResponse, type RealtimeMcpListTools as RealtimeMcpListTools, type RealtimeMcpProtocolError as RealtimeMcpProtocolError, type RealtimeMcpToolCall as RealtimeMcpToolCall, type RealtimeMcpToolExecutionError as RealtimeMcpToolExecutionError, type RealtimeMcphttpError as RealtimeMcphttpError, type RealtimeResponse as RealtimeResponse, type RealtimeResponseCreateAudioOutput as RealtimeResponseCreateAudioOutput, type RealtimeResponseCreateMcpTool as RealtimeResponseCreateMcpTool, type RealtimeResponseCreateParams as RealtimeResponseCreateParams, type RealtimeResponseStatus as RealtimeResponseStatus, type RealtimeResponseUsage as RealtimeResponseUsage, type RealtimeResponseUsageInputTokenDetails as RealtimeResponseUsageInputTokenDetails, type RealtimeResponseUsageOutputTokenDetails as RealtimeResponseUsageOutputTokenDetails, type RealtimeServerEvent as RealtimeServerEvent, type RealtimeSession as RealtimeSession, type RealtimeSessionCreateRequest as RealtimeSessionCreateRequest, type RealtimeToolChoiceConfig as RealtimeToolChoiceConfig, type RealtimeToolsConfig as RealtimeToolsConfig, type RealtimeToolsConfigUnion as RealtimeToolsConfigUnion, type RealtimeTracingConfig as RealtimeTracingConfig, type RealtimeTranscriptionSessionAudio as RealtimeTranscriptionSessionAudio, type RealtimeTranscriptionSessionAudioInput as RealtimeTranscriptionSessionAudioInput, type RealtimeTranscriptionSessionAudioInputTurnDetection as RealtimeTranscriptionSessionAudioInputTurnDetection, type RealtimeTranscriptionSessionCreateRequest as RealtimeTranscriptionSessionCreateRequest, type RealtimeTruncation as RealtimeTruncation, type RealtimeTruncationRetentionRatio as RealtimeTruncationRetentionRatio, type ResponseAudioDeltaEvent as ResponseAudioDeltaEvent, type ResponseAudioDoneEvent as ResponseAudioDoneEvent, type ResponseAudioTranscriptDeltaEvent as ResponseAudioTranscriptDeltaEvent, type ResponseAudioTranscriptDoneEvent as ResponseAudioTranscriptDoneEvent, type ResponseCancelEvent as ResponseCancelEvent, type ResponseContentPartAddedEvent as ResponseContentPartAddedEvent, type ResponseContentPartDoneEvent as ResponseContentPartDoneEvent, type ResponseCreateEvent as ResponseCreateEvent, type ResponseCreatedEvent as ResponseCreatedEvent, type ResponseDoneEvent as ResponseDoneEvent, type ResponseFunctionCallArgumentsDeltaEvent as ResponseFunctionCallArgumentsDeltaEvent, type ResponseFunctionCallArgumentsDoneEvent as ResponseFunctionCallArgumentsDoneEvent, type ResponseMcpCallArgumentsDelta as ResponseMcpCallArgumentsDelta, type ResponseMcpCallArgumentsDone as ResponseMcpCallArgumentsDone, type ResponseMcpCallCompleted as ResponseMcpCallCompleted, type ResponseMcpCallFailed as ResponseMcpCallFailed, type ResponseMcpCallInProgress as ResponseMcpCallInProgress, type ResponseOutputItemAddedEvent as ResponseOutputItemAddedEvent, type ResponseOutputItemDoneEvent as ResponseOutputItemDoneEvent, type ResponseTextDeltaEvent as ResponseTextDeltaEvent, type ResponseTextDoneEvent as ResponseTextDoneEvent, type SessionCreatedEvent as SessionCreatedEvent, type SessionUpdateEvent as SessionUpdateEvent, type SessionUpdatedEvent as SessionUpdatedEvent, type TranscriptionSessionUpdate as TranscriptionSessionUpdate, type TranscriptionSessionUpdatedEvent as TranscriptionSessionUpdatedEvent, };
|
|
3974
|
-
export { ClientSecrets as ClientSecrets, type
|
|
4508
|
+
export { type AudioTranscription as AudioTranscription, type ConversationCreatedEvent as ConversationCreatedEvent, type ConversationItem as ConversationItem, type ConversationItemAdded as ConversationItemAdded, type ConversationItemCreateEvent as ConversationItemCreateEvent, type ConversationItemCreatedEvent as ConversationItemCreatedEvent, type ConversationItemDeleteEvent as ConversationItemDeleteEvent, type ConversationItemDeletedEvent as ConversationItemDeletedEvent, type ConversationItemDone as ConversationItemDone, type ConversationItemInputAudioTranscriptionCompletedEvent as ConversationItemInputAudioTranscriptionCompletedEvent, type ConversationItemInputAudioTranscriptionDeltaEvent as ConversationItemInputAudioTranscriptionDeltaEvent, type ConversationItemInputAudioTranscriptionFailedEvent as ConversationItemInputAudioTranscriptionFailedEvent, type ConversationItemInputAudioTranscriptionSegment as ConversationItemInputAudioTranscriptionSegment, type ConversationItemRetrieveEvent as ConversationItemRetrieveEvent, type ConversationItemTruncateEvent as ConversationItemTruncateEvent, type ConversationItemTruncatedEvent as ConversationItemTruncatedEvent, type ConversationItemWithReference as ConversationItemWithReference, type InputAudioBufferAppendEvent as InputAudioBufferAppendEvent, type InputAudioBufferClearEvent as InputAudioBufferClearEvent, type InputAudioBufferClearedEvent as InputAudioBufferClearedEvent, type InputAudioBufferCommitEvent as InputAudioBufferCommitEvent, type InputAudioBufferCommittedEvent as InputAudioBufferCommittedEvent, type InputAudioBufferDtmfEventReceivedEvent as InputAudioBufferDtmfEventReceivedEvent, type InputAudioBufferSpeechStartedEvent as InputAudioBufferSpeechStartedEvent, type InputAudioBufferSpeechStoppedEvent as InputAudioBufferSpeechStoppedEvent, type InputAudioBufferTimeoutTriggered as InputAudioBufferTimeoutTriggered, type LogProbProperties as LogProbProperties, type McpListToolsCompleted as McpListToolsCompleted, type McpListToolsFailed as McpListToolsFailed, type McpListToolsInProgress as McpListToolsInProgress, type NoiseReductionType as NoiseReductionType, type OutputAudioBufferClearEvent as OutputAudioBufferClearEvent, type RateLimitsUpdatedEvent as RateLimitsUpdatedEvent, type RealtimeAudioConfig as RealtimeAudioConfig, type RealtimeAudioConfigInput as RealtimeAudioConfigInput, type RealtimeAudioConfigOutput as RealtimeAudioConfigOutput, type RealtimeAudioFormats as RealtimeAudioFormats, type RealtimeAudioInputTurnDetection as RealtimeAudioInputTurnDetection, type RealtimeClientEvent as RealtimeClientEvent, type RealtimeConversationItemAssistantMessage as RealtimeConversationItemAssistantMessage, type RealtimeConversationItemFunctionCall as RealtimeConversationItemFunctionCall, type RealtimeConversationItemFunctionCallOutput as RealtimeConversationItemFunctionCallOutput, type RealtimeConversationItemSystemMessage as RealtimeConversationItemSystemMessage, type RealtimeConversationItemUserMessage as RealtimeConversationItemUserMessage, type RealtimeError as RealtimeError, type RealtimeErrorEvent as RealtimeErrorEvent, type RealtimeFunctionTool as RealtimeFunctionTool, type RealtimeMcpApprovalRequest as RealtimeMcpApprovalRequest, type RealtimeMcpApprovalResponse as RealtimeMcpApprovalResponse, type RealtimeMcpListTools as RealtimeMcpListTools, type RealtimeMcpProtocolError as RealtimeMcpProtocolError, type RealtimeMcpToolCall as RealtimeMcpToolCall, type RealtimeMcpToolExecutionError as RealtimeMcpToolExecutionError, type RealtimeMcphttpError as RealtimeMcphttpError, type RealtimeReasoning as RealtimeReasoning, type RealtimeReasoningEffort as RealtimeReasoningEffort, type RealtimeResponse as RealtimeResponse, type RealtimeResponseCreateAudioOutput as RealtimeResponseCreateAudioOutput, type RealtimeResponseCreateMcpTool as RealtimeResponseCreateMcpTool, type RealtimeResponseCreateParams as RealtimeResponseCreateParams, type RealtimeResponseStatus as RealtimeResponseStatus, type RealtimeResponseUsage as RealtimeResponseUsage, type RealtimeResponseUsageInputTokenDetails as RealtimeResponseUsageInputTokenDetails, type RealtimeResponseUsageOutputTokenDetails as RealtimeResponseUsageOutputTokenDetails, type RealtimeServerEvent as RealtimeServerEvent, type RealtimeSession as RealtimeSession, type RealtimeSessionCreateRequest as RealtimeSessionCreateRequest, type RealtimeToolChoiceConfig as RealtimeToolChoiceConfig, type RealtimeToolsConfig as RealtimeToolsConfig, type RealtimeToolsConfigUnion as RealtimeToolsConfigUnion, type RealtimeTracingConfig as RealtimeTracingConfig, type RealtimeTranscriptionSessionAudio as RealtimeTranscriptionSessionAudio, type RealtimeTranscriptionSessionAudioInput as RealtimeTranscriptionSessionAudioInput, type RealtimeTranscriptionSessionAudioInputTurnDetection as RealtimeTranscriptionSessionAudioInputTurnDetection, type RealtimeTranscriptionSessionCreateRequest as RealtimeTranscriptionSessionCreateRequest, type RealtimeTranslationClientEvent as RealtimeTranslationClientEvent, type RealtimeTranslationClientSecretCreateRequest as RealtimeTranslationClientSecretCreateRequest, type RealtimeTranslationClientSecretCreateResponse as RealtimeTranslationClientSecretCreateResponse, type RealtimeTranslationInputAudioBufferAppendEvent as RealtimeTranslationInputAudioBufferAppendEvent, type RealtimeTranslationInputTranscriptDeltaEvent as RealtimeTranslationInputTranscriptDeltaEvent, type RealtimeTranslationOutputAudioDeltaEvent as RealtimeTranslationOutputAudioDeltaEvent, type RealtimeTranslationOutputTranscriptDeltaEvent as RealtimeTranslationOutputTranscriptDeltaEvent, type RealtimeTranslationServerEvent as RealtimeTranslationServerEvent, type RealtimeTranslationSession as RealtimeTranslationSession, type RealtimeTranslationSessionCloseEvent as RealtimeTranslationSessionCloseEvent, type RealtimeTranslationSessionClosedEvent as RealtimeTranslationSessionClosedEvent, type RealtimeTranslationSessionCreateRequest as RealtimeTranslationSessionCreateRequest, type RealtimeTranslationSessionCreatedEvent as RealtimeTranslationSessionCreatedEvent, type RealtimeTranslationSessionUpdateEvent as RealtimeTranslationSessionUpdateEvent, type RealtimeTranslationSessionUpdateRequest as RealtimeTranslationSessionUpdateRequest, type RealtimeTranslationSessionUpdatedEvent as RealtimeTranslationSessionUpdatedEvent, type RealtimeTruncation as RealtimeTruncation, type RealtimeTruncationRetentionRatio as RealtimeTruncationRetentionRatio, type ResponseAudioDeltaEvent as ResponseAudioDeltaEvent, type ResponseAudioDoneEvent as ResponseAudioDoneEvent, type ResponseAudioTranscriptDeltaEvent as ResponseAudioTranscriptDeltaEvent, type ResponseAudioTranscriptDoneEvent as ResponseAudioTranscriptDoneEvent, type ResponseCancelEvent as ResponseCancelEvent, type ResponseContentPartAddedEvent as ResponseContentPartAddedEvent, type ResponseContentPartDoneEvent as ResponseContentPartDoneEvent, type ResponseCreateEvent as ResponseCreateEvent, type ResponseCreatedEvent as ResponseCreatedEvent, type ResponseDoneEvent as ResponseDoneEvent, type ResponseFunctionCallArgumentsDeltaEvent as ResponseFunctionCallArgumentsDeltaEvent, type ResponseFunctionCallArgumentsDoneEvent as ResponseFunctionCallArgumentsDoneEvent, type ResponseMcpCallArgumentsDelta as ResponseMcpCallArgumentsDelta, type ResponseMcpCallArgumentsDone as ResponseMcpCallArgumentsDone, type ResponseMcpCallCompleted as ResponseMcpCallCompleted, type ResponseMcpCallFailed as ResponseMcpCallFailed, type ResponseMcpCallInProgress as ResponseMcpCallInProgress, type ResponseOutputItemAddedEvent as ResponseOutputItemAddedEvent, type ResponseOutputItemDoneEvent as ResponseOutputItemDoneEvent, type ResponseTextDeltaEvent as ResponseTextDeltaEvent, type ResponseTextDoneEvent as ResponseTextDoneEvent, type SessionCreatedEvent as SessionCreatedEvent, type SessionUpdateEvent as SessionUpdateEvent, type SessionUpdatedEvent as SessionUpdatedEvent, type TranscriptionSessionUpdate as TranscriptionSessionUpdate, type TranscriptionSessionUpdatedEvent as TranscriptionSessionUpdatedEvent, };
|
|
4509
|
+
export { ClientSecrets as ClientSecrets, type RealtimeSessionCreateResponse as RealtimeSessionCreateResponse, type RealtimeTranscriptionSessionCreateResponse as RealtimeTranscriptionSessionCreateResponse, type RealtimeTranscriptionSessionTurnDetection as RealtimeTranscriptionSessionTurnDetection, type ClientSecretCreateResponse as ClientSecretCreateResponse, type ClientSecretCreateParams as ClientSecretCreateParams, };
|
|
3975
4510
|
export { Calls as Calls, type CallAcceptParams as CallAcceptParams, type CallReferParams as CallReferParams, type CallRejectParams as CallRejectParams, };
|
|
3976
4511
|
}
|
|
3977
4512
|
//# sourceMappingURL=realtime.d.mts.map
|