openai 7.12.1 → 7.14.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 +22 -0
- package/client.d.mts +3 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -0
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/helpers/live.d.mts +2 -0
- package/helpers/live.d.mts.map +1 -0
- package/helpers/live.d.ts +2 -0
- package/helpers/live.d.ts.map +1 -0
- package/helpers/live.js +6 -0
- package/helpers/live.js.map +1 -0
- package/helpers/live.mjs +2 -0
- package/helpers/live.mjs.map +1 -0
- package/lib/live/transcript-grouper.d.mts +96 -0
- package/lib/live/transcript-grouper.d.mts.map +1 -0
- package/lib/live/transcript-grouper.d.ts +96 -0
- package/lib/live/transcript-grouper.d.ts.map +1 -0
- package/lib/live/transcript-grouper.js +223 -0
- package/lib/live/transcript-grouper.js.map +1 -0
- package/lib/live/transcript-grouper.mjs +219 -0
- package/lib/live/transcript-grouper.mjs.map +1 -0
- package/lib/live/transcript-grouping.d.mts +49 -0
- package/lib/live/transcript-grouping.d.mts.map +1 -0
- package/lib/live/transcript-grouping.d.ts +49 -0
- package/lib/live/transcript-grouping.d.ts.map +1 -0
- package/lib/live/transcript-grouping.js +287 -0
- package/lib/live/transcript-grouping.js.map +1 -0
- package/lib/live/transcript-grouping.mjs +283 -0
- package/lib/live/transcript-grouping.mjs.map +1 -0
- package/lib/live/webrtc.d.mts +13 -0
- package/lib/live/webrtc.d.mts.map +1 -0
- package/lib/live/webrtc.d.ts +13 -0
- package/lib/live/webrtc.d.ts.map +1 -0
- package/lib/live/webrtc.js +16 -0
- package/lib/live/webrtc.js.map +1 -0
- package/lib/live/webrtc.mjs +10 -0
- package/lib/live/webrtc.mjs.map +1 -0
- package/lib/realtime/webrtc.d.mts +13 -0
- package/lib/realtime/webrtc.d.mts.map +1 -0
- package/lib/realtime/webrtc.d.ts +13 -0
- package/lib/realtime/webrtc.d.ts.map +1 -0
- package/lib/realtime/webrtc.js +16 -0
- package/lib/realtime/webrtc.js.map +1 -0
- package/lib/realtime/webrtc.mjs +10 -0
- package/lib/realtime/webrtc.mjs.map +1 -0
- package/lib/webrtc/connection.d.mts +40 -0
- package/lib/webrtc/connection.d.mts.map +1 -0
- package/lib/webrtc/connection.d.ts +40 -0
- package/lib/webrtc/connection.d.ts.map +1 -0
- package/lib/webrtc/connection.js +228 -0
- package/lib/webrtc/connection.js.map +1 -0
- package/lib/webrtc/connection.mjs +224 -0
- package/lib/webrtc/connection.mjs.map +1 -0
- package/lib/webrtc/data-channel.d.mts +32 -0
- package/lib/webrtc/data-channel.d.mts.map +1 -0
- package/lib/webrtc/data-channel.d.ts +32 -0
- package/lib/webrtc/data-channel.d.ts.map +1 -0
- package/lib/webrtc/data-channel.js +125 -0
- package/lib/webrtc/data-channel.js.map +1 -0
- package/lib/webrtc/data-channel.mjs +121 -0
- package/lib/webrtc/data-channel.mjs.map +1 -0
- package/lib/webrtc/errors.d.mts +19 -0
- package/lib/webrtc/errors.d.mts.map +1 -0
- package/lib/webrtc/errors.d.ts +19 -0
- package/lib/webrtc/errors.d.ts.map +1 -0
- package/lib/webrtc/errors.js +18 -0
- package/lib/webrtc/errors.js.map +1 -0
- package/lib/webrtc/errors.mjs +14 -0
- package/lib/webrtc/errors.mjs.map +1 -0
- package/lib/webrtc/subscriptions.d.mts +13 -0
- package/lib/webrtc/subscriptions.d.mts.map +1 -0
- package/lib/webrtc/subscriptions.d.ts +13 -0
- package/lib/webrtc/subscriptions.d.ts.map +1 -0
- package/lib/webrtc/subscriptions.js +62 -0
- package/lib/webrtc/subscriptions.js.map +1 -0
- package/lib/webrtc/subscriptions.mjs +58 -0
- package/lib/webrtc/subscriptions.mjs.map +1 -0
- package/lib/webrtc/types.d.mts +99 -0
- package/lib/webrtc/types.d.mts.map +1 -0
- package/lib/webrtc/types.d.ts +99 -0
- package/lib/webrtc/types.d.ts.map +1 -0
- package/lib/webrtc/types.js +3 -0
- package/lib/webrtc/types.js.map +1 -0
- package/lib/webrtc/types.mjs +2 -0
- package/lib/webrtc/types.mjs.map +1 -0
- package/live/webrtc.d.mts +3 -0
- package/live/webrtc.d.mts.map +1 -0
- package/live/webrtc.d.ts +3 -0
- package/live/webrtc.d.ts.map +1 -0
- package/live/webrtc.js +8 -0
- package/live/webrtc.js.map +1 -0
- package/live/webrtc.mjs +2 -0
- package/live/webrtc.mjs.map +1 -0
- package/package.json +11 -1
- package/realtime/webrtc.d.mts +3 -0
- package/realtime/webrtc.d.mts.map +1 -0
- package/realtime/webrtc.d.ts +3 -0
- package/realtime/webrtc.d.ts.map +1 -0
- package/realtime/webrtc.js +8 -0
- package/realtime/webrtc.js.map +1 -0
- package/realtime/webrtc.mjs +2 -0
- package/realtime/webrtc.mjs.map +1 -0
- package/resources/admin/organization/audit-logs.d.mts +1 -1
- package/resources/admin/organization/audit-logs.d.ts +1 -1
- package/resources/admin/organization/projects/api-keys.d.mts +5 -0
- package/resources/admin/organization/projects/api-keys.d.mts.map +1 -1
- package/resources/admin/organization/projects/api-keys.d.ts +5 -0
- package/resources/admin/organization/projects/api-keys.d.ts.map +1 -1
- package/resources/admin/organization/projects/projects.d.mts +2 -2
- package/resources/admin/organization/projects/projects.d.ts +2 -2
- package/resources/admin/organization/projects/service-accounts/service-accounts.d.mts +13 -0
- package/resources/admin/organization/projects/service-accounts/service-accounts.d.mts.map +1 -1
- package/resources/admin/organization/projects/service-accounts/service-accounts.d.ts +13 -0
- package/resources/admin/organization/projects/service-accounts/service-accounts.d.ts.map +1 -1
- package/resources/admin/organization/projects/service-accounts/service-accounts.js.map +1 -1
- package/resources/admin/organization/projects/service-accounts/service-accounts.mjs.map +1 -1
- package/resources/audio/speech.d.mts +3 -2
- package/resources/audio/speech.d.mts.map +1 -1
- package/resources/audio/speech.d.ts +3 -2
- package/resources/audio/speech.d.ts.map +1 -1
- package/resources/audio/transcriptions.d.mts +10 -10
- package/resources/audio/transcriptions.d.ts +10 -10
- package/resources/audio/translations.d.mts +1 -1
- package/resources/audio/translations.d.ts +1 -1
- package/resources/batches.d.mts +6 -5
- package/resources/batches.d.mts.map +1 -1
- package/resources/batches.d.ts +6 -5
- package/resources/batches.d.ts.map +1 -1
- package/resources/beta/assistants.d.mts +143 -147
- package/resources/beta/assistants.d.mts.map +1 -1
- package/resources/beta/assistants.d.ts +143 -147
- package/resources/beta/assistants.d.ts.map +1 -1
- package/resources/beta/responses/input-tokens.d.mts +11 -11
- package/resources/beta/responses/input-tokens.d.ts +11 -11
- package/resources/beta/responses/responses.d.mts +229 -170
- package/resources/beta/responses/responses.d.mts.map +1 -1
- package/resources/beta/responses/responses.d.ts +229 -170
- package/resources/beta/responses/responses.d.ts.map +1 -1
- package/resources/beta/responses/responses.js +3 -3
- package/resources/beta/responses/responses.js.map +1 -1
- package/resources/beta/responses/responses.mjs +3 -3
- package/resources/beta/responses/responses.mjs.map +1 -1
- package/resources/beta/threads/messages.d.mts +29 -23
- package/resources/beta/threads/messages.d.mts.map +1 -1
- package/resources/beta/threads/messages.d.ts +29 -23
- package/resources/beta/threads/messages.d.ts.map +1 -1
- package/resources/beta/threads/runs/runs.d.mts +39 -35
- package/resources/beta/threads/runs/runs.d.mts.map +1 -1
- package/resources/beta/threads/runs/runs.d.ts +39 -35
- package/resources/beta/threads/runs/runs.d.ts.map +1 -1
- package/resources/beta/threads/runs/runs.js.map +1 -1
- package/resources/beta/threads/runs/runs.mjs.map +1 -1
- package/resources/beta/threads/runs/steps.d.mts +14 -15
- package/resources/beta/threads/runs/steps.d.mts.map +1 -1
- package/resources/beta/threads/runs/steps.d.ts +14 -15
- package/resources/beta/threads/runs/steps.d.ts.map +1 -1
- package/resources/beta/threads/threads.d.mts +53 -50
- package/resources/beta/threads/threads.d.mts.map +1 -1
- package/resources/beta/threads/threads.d.ts +53 -50
- package/resources/beta/threads/threads.d.ts.map +1 -1
- package/resources/beta/threads/threads.js.map +1 -1
- package/resources/beta/threads/threads.mjs.map +1 -1
- package/resources/chat/completions/completions.d.mts +89 -81
- package/resources/chat/completions/completions.d.mts.map +1 -1
- package/resources/chat/completions/completions.d.ts +89 -81
- package/resources/chat/completions/completions.d.ts.map +1 -1
- package/resources/chat/completions/completions.js.map +1 -1
- package/resources/chat/completions/completions.mjs.map +1 -1
- package/resources/completions.d.mts +15 -14
- package/resources/completions.d.mts.map +1 -1
- package/resources/completions.d.ts +15 -14
- package/resources/completions.d.ts.map +1 -1
- package/resources/content-provenance-checks.d.mts +1 -1
- package/resources/content-provenance-checks.d.ts +1 -1
- package/resources/content-provenance-checks.js +1 -1
- package/resources/content-provenance-checks.mjs +1 -1
- package/resources/conversations/items.d.mts +19 -3
- package/resources/conversations/items.d.mts.map +1 -1
- package/resources/conversations/items.d.ts +19 -3
- package/resources/conversations/items.d.ts.map +1 -1
- package/resources/embeddings.d.mts +6 -6
- package/resources/embeddings.d.ts +6 -6
- package/resources/evals/evals.d.mts +1 -1
- package/resources/evals/evals.d.ts +1 -1
- package/resources/evals/evals.js +1 -1
- package/resources/evals/evals.mjs +1 -1
- package/resources/evals/runs/runs.d.mts +62 -57
- package/resources/evals/runs/runs.d.mts.map +1 -1
- package/resources/evals/runs/runs.d.ts +62 -57
- package/resources/evals/runs/runs.d.ts.map +1 -1
- package/resources/evals/runs/runs.js.map +1 -1
- package/resources/evals/runs/runs.mjs.map +1 -1
- package/resources/files.d.mts +5 -5
- package/resources/files.d.ts +5 -5
- package/resources/files.js +5 -5
- package/resources/files.mjs +5 -5
- package/resources/fine-tuning/alpha/graders.d.mts +5 -4
- package/resources/fine-tuning/alpha/graders.d.mts.map +1 -1
- package/resources/fine-tuning/alpha/graders.d.ts +5 -4
- package/resources/fine-tuning/alpha/graders.d.ts.map +1 -1
- package/resources/fine-tuning/checkpoints/permissions.d.mts +8 -4
- package/resources/fine-tuning/checkpoints/permissions.d.mts.map +1 -1
- package/resources/fine-tuning/checkpoints/permissions.d.ts +8 -4
- package/resources/fine-tuning/checkpoints/permissions.d.ts.map +1 -1
- package/resources/fine-tuning/checkpoints/permissions.js +8 -4
- package/resources/fine-tuning/checkpoints/permissions.js.map +1 -1
- package/resources/fine-tuning/checkpoints/permissions.mjs +8 -4
- package/resources/fine-tuning/checkpoints/permissions.mjs.map +1 -1
- package/resources/fine-tuning/jobs/jobs.d.mts +13 -12
- package/resources/fine-tuning/jobs/jobs.d.mts.map +1 -1
- package/resources/fine-tuning/jobs/jobs.d.ts +13 -12
- package/resources/fine-tuning/jobs/jobs.d.ts.map +1 -1
- package/resources/fine-tuning/jobs/jobs.js +2 -2
- package/resources/fine-tuning/jobs/jobs.js.map +1 -1
- package/resources/fine-tuning/jobs/jobs.mjs +2 -2
- package/resources/fine-tuning/jobs/jobs.mjs.map +1 -1
- package/resources/graders/grader-models.d.mts +1 -1
- package/resources/graders/grader-models.d.ts +1 -1
- package/resources/images.d.mts +10 -10
- package/resources/images.d.ts +10 -10
- 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/live/forks/forks.d.mts +110 -0
- package/resources/live/forks/forks.d.mts.map +1 -0
- package/resources/live/forks/forks.d.ts +110 -0
- package/resources/live/forks/forks.d.ts.map +1 -0
- package/resources/live/forks/forks.js +9 -0
- package/resources/live/forks/forks.js.map +1 -0
- package/resources/live/forks/forks.mjs +5 -0
- package/resources/live/forks/forks.mjs.map +1 -0
- package/resources/live/forks/index.d.mts +4 -0
- package/resources/live/forks/index.d.mts.map +1 -0
- package/resources/live/forks/index.d.ts +4 -0
- package/resources/live/forks/index.d.ts.map +1 -0
- package/resources/live/forks/index.js +7 -0
- package/resources/live/forks/index.js.map +1 -0
- package/resources/live/forks/index.mjs +3 -0
- package/resources/live/forks/index.mjs.map +1 -0
- package/resources/live/forks/internal-base.d.mts +73 -0
- package/resources/live/forks/internal-base.d.mts.map +1 -0
- package/resources/live/forks/internal-base.d.ts +73 -0
- package/resources/live/forks/internal-base.d.ts.map +1 -0
- package/resources/live/forks/internal-base.js +49 -0
- package/resources/live/forks/internal-base.js.map +1 -0
- package/resources/live/forks/internal-base.mjs +43 -0
- package/resources/live/forks/internal-base.mjs.map +1 -0
- package/resources/live/forks/ws-base.d.mts +109 -0
- package/resources/live/forks/ws-base.d.mts.map +1 -0
- package/resources/live/forks/ws-base.d.ts +109 -0
- package/resources/live/forks/ws-base.d.ts.map +1 -0
- package/resources/live/forks/ws-base.js +476 -0
- package/resources/live/forks/ws-base.js.map +1 -0
- package/resources/live/forks/ws-base.mjs +472 -0
- package/resources/live/forks/ws-base.mjs.map +1 -0
- package/resources/live/forks/ws.d.mts +13 -0
- package/resources/live/forks/ws.d.mts.map +1 -0
- package/resources/live/forks/ws.d.ts +13 -0
- package/resources/live/forks/ws.d.ts.map +1 -0
- package/resources/live/forks/ws.js +34 -0
- package/resources/live/forks/ws.js.map +1 -0
- package/resources/live/forks/ws.mjs +29 -0
- package/resources/live/forks/ws.mjs.map +1 -0
- package/resources/live/forks.d.mts +2 -0
- package/resources/live/forks.d.mts.map +1 -0
- package/resources/live/forks.d.ts +2 -0
- package/resources/live/forks.d.ts.map +1 -0
- package/resources/live/forks.js +6 -0
- package/resources/live/forks.js.map +1 -0
- package/resources/live/forks.mjs +3 -0
- package/resources/live/forks.mjs.map +1 -0
- package/resources/live/index.d.mts +7 -0
- package/resources/live/index.d.mts.map +1 -0
- package/resources/live/index.d.ts +7 -0
- package/resources/live/index.d.ts.map +1 -0
- package/resources/live/index.js +13 -0
- package/resources/live/index.js.map +1 -0
- package/resources/live/index.mjs +6 -0
- package/resources/live/index.mjs.map +1 -0
- package/resources/live/internal-base.d.mts +71 -0
- package/resources/live/internal-base.d.mts.map +1 -0
- package/resources/live/internal-base.d.ts +71 -0
- package/resources/live/internal-base.d.ts.map +1 -0
- package/resources/live/internal-base.js +48 -0
- package/resources/live/internal-base.js.map +1 -0
- package/resources/live/internal-base.mjs +42 -0
- package/resources/live/internal-base.mjs.map +1 -0
- package/resources/live/live.d.mts +1864 -0
- package/resources/live/live.d.mts.map +1 -0
- package/resources/live/live.d.ts +1864 -0
- package/resources/live/live.d.ts.map +1 -0
- package/resources/live/live.js +40 -0
- package/resources/live/live.js.map +1 -0
- package/resources/live/live.mjs +35 -0
- package/resources/live/live.mjs.map +1 -0
- package/resources/live/sessions.d.mts +254 -0
- package/resources/live/sessions.d.mts.map +1 -0
- package/resources/live/sessions.d.ts +254 -0
- package/resources/live/sessions.d.ts.map +1 -0
- package/resources/live/sessions.js +118 -0
- package/resources/live/sessions.js.map +1 -0
- package/resources/live/sessions.mjs +114 -0
- package/resources/live/sessions.mjs.map +1 -0
- package/resources/live/sideband/index.d.mts +4 -0
- package/resources/live/sideband/index.d.mts.map +1 -0
- package/resources/live/sideband/index.d.ts +4 -0
- package/resources/live/sideband/index.d.ts.map +1 -0
- package/resources/live/sideband/index.js +7 -0
- package/resources/live/sideband/index.js.map +1 -0
- package/resources/live/sideband/index.mjs +3 -0
- package/resources/live/sideband/index.mjs.map +1 -0
- package/resources/live/sideband/internal-base.d.mts +73 -0
- package/resources/live/sideband/internal-base.d.mts.map +1 -0
- package/resources/live/sideband/internal-base.d.ts +73 -0
- package/resources/live/sideband/internal-base.d.ts.map +1 -0
- package/resources/live/sideband/internal-base.js +49 -0
- package/resources/live/sideband/internal-base.js.map +1 -0
- package/resources/live/sideband/internal-base.mjs +43 -0
- package/resources/live/sideband/internal-base.mjs.map +1 -0
- package/resources/live/sideband/sideband.d.mts +25 -0
- package/resources/live/sideband/sideband.d.mts.map +1 -0
- package/resources/live/sideband/sideband.d.ts +25 -0
- package/resources/live/sideband/sideband.d.ts.map +1 -0
- package/resources/live/sideband/sideband.js +9 -0
- package/resources/live/sideband/sideband.js.map +1 -0
- package/resources/live/sideband/sideband.mjs +5 -0
- package/resources/live/sideband/sideband.mjs.map +1 -0
- package/resources/live/sideband/ws-base.d.mts +114 -0
- package/resources/live/sideband/ws-base.d.mts.map +1 -0
- package/resources/live/sideband/ws-base.d.ts +114 -0
- package/resources/live/sideband/ws-base.d.ts.map +1 -0
- package/resources/live/sideband/ws-base.js +476 -0
- package/resources/live/sideband/ws-base.js.map +1 -0
- package/resources/live/sideband/ws-base.mjs +472 -0
- package/resources/live/sideband/ws-base.mjs.map +1 -0
- package/resources/live/sideband/ws.d.mts +13 -0
- package/resources/live/sideband/ws.d.mts.map +1 -0
- package/resources/live/sideband/ws.d.ts +13 -0
- package/resources/live/sideband/ws.d.ts.map +1 -0
- package/resources/live/sideband/ws.js +34 -0
- package/resources/live/sideband/ws.js.map +1 -0
- package/resources/live/sideband/ws.mjs +29 -0
- package/resources/live/sideband/ws.mjs.map +1 -0
- package/resources/live/sideband.d.mts +2 -0
- package/resources/live/sideband.d.mts.map +1 -0
- package/resources/live/sideband.d.ts +2 -0
- package/resources/live/sideband.d.ts.map +1 -0
- package/resources/live/sideband.js +6 -0
- package/resources/live/sideband.js.map +1 -0
- package/resources/live/sideband.mjs +3 -0
- package/resources/live/sideband.mjs.map +1 -0
- package/resources/live/ws-base.d.mts +106 -0
- package/resources/live/ws-base.d.mts.map +1 -0
- package/resources/live/ws-base.d.ts +106 -0
- package/resources/live/ws-base.d.ts.map +1 -0
- package/resources/live/ws-base.js +476 -0
- package/resources/live/ws-base.js.map +1 -0
- package/resources/live/ws-base.mjs +472 -0
- package/resources/live/ws-base.mjs.map +1 -0
- package/resources/live/ws.d.mts +13 -0
- package/resources/live/ws.d.mts.map +1 -0
- package/resources/live/ws.d.ts +13 -0
- package/resources/live/ws.d.ts.map +1 -0
- package/resources/live/ws.js +34 -0
- package/resources/live/ws.js.map +1 -0
- package/resources/live/ws.mjs +29 -0
- package/resources/live/ws.mjs.map +1 -0
- package/resources/live.d.mts +2 -0
- package/resources/live.d.mts.map +1 -0
- package/resources/live.d.ts +2 -0
- package/resources/live.d.ts.map +1 -0
- package/resources/live.js +6 -0
- package/resources/live.js.map +1 -0
- package/resources/live.mjs +3 -0
- package/resources/live.mjs.map +1 -0
- package/resources/moderations.d.mts +5 -4
- package/resources/moderations.d.mts.map +1 -1
- package/resources/moderations.d.ts +5 -4
- package/resources/moderations.d.ts.map +1 -1
- package/resources/moderations.js +2 -1
- package/resources/moderations.js.map +1 -1
- package/resources/moderations.mjs +2 -1
- package/resources/moderations.mjs.map +1 -1
- package/resources/realtime/calls.d.mts +1 -1
- package/resources/realtime/calls.d.ts +1 -1
- package/resources/realtime/client-secrets.d.mts +4 -4
- package/resources/realtime/client-secrets.d.ts +4 -4
- package/resources/realtime/client-secrets.js +1 -1
- package/resources/realtime/client-secrets.mjs +1 -1
- package/resources/realtime/realtime.d.mts +16 -16
- package/resources/realtime/realtime.d.ts +16 -16
- package/resources/responses/input-tokens.d.mts +9 -9
- package/resources/responses/input-tokens.d.ts +9 -9
- package/resources/responses/responses.d.mts +223 -164
- package/resources/responses/responses.d.mts.map +1 -1
- package/resources/responses/responses.d.ts +223 -164
- package/resources/responses/responses.d.ts.map +1 -1
- package/resources/responses/responses.js +3 -3
- package/resources/responses/responses.js.map +1 -1
- package/resources/responses/responses.mjs +3 -3
- package/resources/responses/responses.mjs.map +1 -1
- package/resources/shared.d.mts +12 -12
- package/resources/shared.d.ts +12 -12
- package/resources/uploads/parts.d.mts +5 -4
- package/resources/uploads/parts.d.mts.map +1 -1
- package/resources/uploads/parts.d.ts +5 -4
- package/resources/uploads/parts.d.ts.map +1 -1
- package/resources/uploads/parts.js +5 -4
- package/resources/uploads/parts.js.map +1 -1
- package/resources/uploads/parts.mjs +5 -4
- package/resources/uploads/parts.mjs.map +1 -1
- package/resources/uploads/uploads.d.mts +11 -11
- package/resources/uploads/uploads.d.ts +11 -11
- package/resources/uploads/uploads.js +9 -9
- package/resources/uploads/uploads.mjs +9 -9
- package/resources/vector-stores/file-batches.d.mts +11 -11
- package/resources/vector-stores/file-batches.d.ts +11 -11
- package/resources/vector-stores/files.d.mts +8 -8
- package/resources/vector-stores/files.d.ts +8 -8
- package/resources/vector-stores/files.js +3 -3
- package/resources/vector-stores/files.mjs +3 -3
- package/resources/vector-stores/vector-stores.d.mts +3 -3
- package/resources/vector-stores/vector-stores.d.ts +3 -3
- package/resources/webhooks/webhooks.d.mts +78 -7
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +78 -7
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/src/client.ts +5 -0
- package/src/helpers/live.ts +8 -0
- package/src/lib/live/transcript-grouper.ts +303 -0
- package/src/lib/live/transcript-grouping.ts +362 -0
- package/src/lib/live/webrtc.ts +23 -0
- package/src/lib/realtime/webrtc.ts +20 -0
- package/src/lib/webrtc/connection.ts +309 -0
- package/src/lib/webrtc/data-channel.ts +144 -0
- package/src/lib/webrtc/errors.ts +38 -0
- package/src/lib/webrtc/subscriptions.ts +62 -0
- package/src/lib/webrtc/types.ts +109 -0
- package/src/live/webrtc.ts +10 -0
- package/src/realtime/webrtc.ts +10 -0
- package/src/resources/admin/organization/audit-logs.ts +1 -1
- package/src/resources/admin/organization/projects/api-keys.ts +6 -0
- package/src/resources/admin/organization/projects/projects.ts +2 -2
- package/src/resources/admin/organization/projects/service-accounts/service-accounts.ts +15 -0
- package/src/resources/audio/speech.ts +3 -2
- package/src/resources/audio/transcriptions.ts +10 -10
- package/src/resources/audio/translations.ts +1 -1
- package/src/resources/batches.ts +6 -5
- package/src/resources/beta/assistants.ts +143 -147
- package/src/resources/beta/responses/input-tokens.ts +11 -11
- package/src/resources/beta/responses/responses.ts +241 -170
- package/src/resources/beta/threads/messages.ts +29 -23
- package/src/resources/beta/threads/runs/runs.ts +39 -35
- package/src/resources/beta/threads/runs/steps.ts +14 -15
- package/src/resources/beta/threads/threads.ts +53 -50
- package/src/resources/chat/completions/completions.ts +89 -81
- package/src/resources/completions.ts +15 -14
- package/src/resources/content-provenance-checks.ts +1 -1
- package/src/resources/conversations/items.ts +23 -3
- package/src/resources/embeddings.ts +6 -6
- package/src/resources/evals/evals.ts +1 -1
- package/src/resources/evals/runs/runs.ts +62 -57
- package/src/resources/files.ts +5 -5
- package/src/resources/fine-tuning/alpha/graders.ts +5 -4
- package/src/resources/fine-tuning/checkpoints/permissions.ts +8 -4
- package/src/resources/fine-tuning/jobs/jobs.ts +13 -12
- package/src/resources/graders/grader-models.ts +1 -1
- package/src/resources/images.ts +10 -10
- package/src/resources/index.ts +1 -0
- package/src/resources/live/api.md +87 -0
- package/src/resources/live/forks/forks.ts +169 -0
- package/src/resources/live/forks/index.ts +5 -0
- package/src/resources/live/forks/internal-base.ts +107 -0
- package/src/resources/live/forks/ws-base.ts +611 -0
- package/src/resources/live/forks/ws.ts +46 -0
- package/src/resources/live/forks.ts +3 -0
- package/src/resources/live/index.ts +20 -0
- package/src/resources/live/internal-base.ts +104 -0
- package/src/resources/live/live.ts +2296 -0
- package/src/resources/live/sessions.ts +337 -0
- package/src/resources/live/sideband/index.ts +10 -0
- package/src/resources/live/sideband/internal-base.ts +107 -0
- package/src/resources/live/sideband/sideband.ts +58 -0
- package/src/resources/live/sideband/ws-base.ts +621 -0
- package/src/resources/live/sideband/ws.ts +46 -0
- package/src/resources/live/sideband.ts +3 -0
- package/src/resources/live/ws-base.ts +607 -0
- package/src/resources/live/ws.ts +42 -0
- package/src/resources/live.ts +3 -0
- package/src/resources/moderations.ts +5 -4
- package/src/resources/realtime/calls.ts +1 -1
- package/src/resources/realtime/client-secrets.ts +4 -4
- package/src/resources/realtime/realtime.ts +16 -16
- package/src/resources/responses/input-tokens.ts +9 -9
- package/src/resources/responses/responses.ts +235 -164
- package/src/resources/shared.ts +12 -12
- package/src/resources/uploads/parts.ts +5 -4
- package/src/resources/uploads/uploads.ts +11 -11
- package/src/resources/vector-stores/file-batches.ts +11 -11
- package/src/resources/vector-stores/files.ts +8 -8
- package/src/resources/vector-stores/vector-stores.ts +3 -3
- package/src/resources/webhooks/api.md +1 -0
- package/src/resources/webhooks/webhooks.ts +88 -5
- 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/images.d.mts
CHANGED
|
@@ -36,7 +36,7 @@ export declare class Images extends APIResource {
|
|
|
36
36
|
edit(body: ImageEditParamsBase, options?: RequestOptions): APIPromise<Stream<ImageEditStreamEvent> | ImagesResponse>;
|
|
37
37
|
/**
|
|
38
38
|
* Creates an image given a prompt.
|
|
39
|
-
* [Learn more](https://
|
|
39
|
+
* [Learn more](https://developers.openai.com/api/docs/guides/images-vision).
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
42
|
* ```ts
|
|
@@ -426,7 +426,7 @@ export interface ImageCreateVariationParams {
|
|
|
426
426
|
/**
|
|
427
427
|
* A unique identifier representing your end-user, which can help OpenAI to monitor
|
|
428
428
|
* and detect abuse.
|
|
429
|
-
* [Learn more](https://
|
|
429
|
+
* [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).
|
|
430
430
|
*/
|
|
431
431
|
user?: string;
|
|
432
432
|
}
|
|
@@ -542,14 +542,14 @@ export interface ImageEditParamsBase {
|
|
|
542
542
|
size?: (string & {}) | '256x256' | '512x512' | '1024x1024' | '1536x1024' | '1024x1536' | 'auto' | null;
|
|
543
543
|
/**
|
|
544
544
|
* Edit the image in streaming mode. Defaults to `false`. See the
|
|
545
|
-
* [Image generation guide](https://
|
|
545
|
+
* [Image generation guide](https://developers.openai.com/api/docs/guides/image-generation)
|
|
546
546
|
* for more information.
|
|
547
547
|
*/
|
|
548
548
|
stream?: boolean | null;
|
|
549
549
|
/**
|
|
550
550
|
* A unique identifier representing your end-user, which can help OpenAI to monitor
|
|
551
551
|
* and detect abuse.
|
|
552
|
-
* [Learn more](https://
|
|
552
|
+
* [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).
|
|
553
553
|
*/
|
|
554
554
|
user?: string;
|
|
555
555
|
}
|
|
@@ -560,7 +560,7 @@ export declare namespace ImageEditParams {
|
|
|
560
560
|
export interface ImageEditParamsNonStreaming extends ImageEditParamsBase {
|
|
561
561
|
/**
|
|
562
562
|
* Edit the image in streaming mode. Defaults to `false`. See the
|
|
563
|
-
* [Image generation guide](https://
|
|
563
|
+
* [Image generation guide](https://developers.openai.com/api/docs/guides/image-generation)
|
|
564
564
|
* for more information.
|
|
565
565
|
*/
|
|
566
566
|
stream?: false | null;
|
|
@@ -568,7 +568,7 @@ export interface ImageEditParamsNonStreaming extends ImageEditParamsBase {
|
|
|
568
568
|
export interface ImageEditParamsStreaming extends ImageEditParamsBase {
|
|
569
569
|
/**
|
|
570
570
|
* Edit the image in streaming mode. Defaults to `false`. See the
|
|
571
|
-
* [Image generation guide](https://
|
|
571
|
+
* [Image generation guide](https://developers.openai.com/api/docs/guides/image-generation)
|
|
572
572
|
* for more information.
|
|
573
573
|
*/
|
|
574
574
|
stream: true;
|
|
@@ -669,7 +669,7 @@ export interface ImageGenerateParamsBase {
|
|
|
669
669
|
size?: (string & {}) | 'auto' | '1024x1024' | '1536x1024' | '1024x1536' | '256x256' | '512x512' | '1792x1024' | '1024x1792' | null;
|
|
670
670
|
/**
|
|
671
671
|
* Generate the image in streaming mode. Defaults to `false`. See the
|
|
672
|
-
* [Image generation guide](https://
|
|
672
|
+
* [Image generation guide](https://developers.openai.com/api/docs/guides/image-generation)
|
|
673
673
|
* for more information. This parameter is only supported for the GPT image models.
|
|
674
674
|
*/
|
|
675
675
|
stream?: boolean | null;
|
|
@@ -683,7 +683,7 @@ export interface ImageGenerateParamsBase {
|
|
|
683
683
|
/**
|
|
684
684
|
* A unique identifier representing your end-user, which can help OpenAI to monitor
|
|
685
685
|
* and detect abuse.
|
|
686
|
-
* [Learn more](https://
|
|
686
|
+
* [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).
|
|
687
687
|
*/
|
|
688
688
|
user?: string;
|
|
689
689
|
}
|
|
@@ -694,7 +694,7 @@ export declare namespace ImageGenerateParams {
|
|
|
694
694
|
export interface ImageGenerateParamsNonStreaming extends ImageGenerateParamsBase {
|
|
695
695
|
/**
|
|
696
696
|
* Generate the image in streaming mode. Defaults to `false`. See the
|
|
697
|
-
* [Image generation guide](https://
|
|
697
|
+
* [Image generation guide](https://developers.openai.com/api/docs/guides/image-generation)
|
|
698
698
|
* for more information. This parameter is only supported for the GPT image models.
|
|
699
699
|
*/
|
|
700
700
|
stream?: false | null;
|
|
@@ -702,7 +702,7 @@ export interface ImageGenerateParamsNonStreaming extends ImageGenerateParamsBase
|
|
|
702
702
|
export interface ImageGenerateParamsStreaming extends ImageGenerateParamsBase {
|
|
703
703
|
/**
|
|
704
704
|
* Generate the image in streaming mode. Defaults to `false`. See the
|
|
705
|
-
* [Image generation guide](https://
|
|
705
|
+
* [Image generation guide](https://developers.openai.com/api/docs/guides/image-generation)
|
|
706
706
|
* for more information. This parameter is only supported for the GPT image models.
|
|
707
707
|
*/
|
|
708
708
|
stream: true;
|
package/resources/images.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export declare class Images extends APIResource {
|
|
|
36
36
|
edit(body: ImageEditParamsBase, options?: RequestOptions): APIPromise<Stream<ImageEditStreamEvent> | ImagesResponse>;
|
|
37
37
|
/**
|
|
38
38
|
* Creates an image given a prompt.
|
|
39
|
-
* [Learn more](https://
|
|
39
|
+
* [Learn more](https://developers.openai.com/api/docs/guides/images-vision).
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
42
|
* ```ts
|
|
@@ -426,7 +426,7 @@ export interface ImageCreateVariationParams {
|
|
|
426
426
|
/**
|
|
427
427
|
* A unique identifier representing your end-user, which can help OpenAI to monitor
|
|
428
428
|
* and detect abuse.
|
|
429
|
-
* [Learn more](https://
|
|
429
|
+
* [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).
|
|
430
430
|
*/
|
|
431
431
|
user?: string;
|
|
432
432
|
}
|
|
@@ -542,14 +542,14 @@ export interface ImageEditParamsBase {
|
|
|
542
542
|
size?: (string & {}) | '256x256' | '512x512' | '1024x1024' | '1536x1024' | '1024x1536' | 'auto' | null;
|
|
543
543
|
/**
|
|
544
544
|
* Edit the image in streaming mode. Defaults to `false`. See the
|
|
545
|
-
* [Image generation guide](https://
|
|
545
|
+
* [Image generation guide](https://developers.openai.com/api/docs/guides/image-generation)
|
|
546
546
|
* for more information.
|
|
547
547
|
*/
|
|
548
548
|
stream?: boolean | null;
|
|
549
549
|
/**
|
|
550
550
|
* A unique identifier representing your end-user, which can help OpenAI to monitor
|
|
551
551
|
* and detect abuse.
|
|
552
|
-
* [Learn more](https://
|
|
552
|
+
* [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).
|
|
553
553
|
*/
|
|
554
554
|
user?: string;
|
|
555
555
|
}
|
|
@@ -560,7 +560,7 @@ export declare namespace ImageEditParams {
|
|
|
560
560
|
export interface ImageEditParamsNonStreaming extends ImageEditParamsBase {
|
|
561
561
|
/**
|
|
562
562
|
* Edit the image in streaming mode. Defaults to `false`. See the
|
|
563
|
-
* [Image generation guide](https://
|
|
563
|
+
* [Image generation guide](https://developers.openai.com/api/docs/guides/image-generation)
|
|
564
564
|
* for more information.
|
|
565
565
|
*/
|
|
566
566
|
stream?: false | null;
|
|
@@ -568,7 +568,7 @@ export interface ImageEditParamsNonStreaming extends ImageEditParamsBase {
|
|
|
568
568
|
export interface ImageEditParamsStreaming extends ImageEditParamsBase {
|
|
569
569
|
/**
|
|
570
570
|
* Edit the image in streaming mode. Defaults to `false`. See the
|
|
571
|
-
* [Image generation guide](https://
|
|
571
|
+
* [Image generation guide](https://developers.openai.com/api/docs/guides/image-generation)
|
|
572
572
|
* for more information.
|
|
573
573
|
*/
|
|
574
574
|
stream: true;
|
|
@@ -669,7 +669,7 @@ export interface ImageGenerateParamsBase {
|
|
|
669
669
|
size?: (string & {}) | 'auto' | '1024x1024' | '1536x1024' | '1024x1536' | '256x256' | '512x512' | '1792x1024' | '1024x1792' | null;
|
|
670
670
|
/**
|
|
671
671
|
* Generate the image in streaming mode. Defaults to `false`. See the
|
|
672
|
-
* [Image generation guide](https://
|
|
672
|
+
* [Image generation guide](https://developers.openai.com/api/docs/guides/image-generation)
|
|
673
673
|
* for more information. This parameter is only supported for the GPT image models.
|
|
674
674
|
*/
|
|
675
675
|
stream?: boolean | null;
|
|
@@ -683,7 +683,7 @@ export interface ImageGenerateParamsBase {
|
|
|
683
683
|
/**
|
|
684
684
|
* A unique identifier representing your end-user, which can help OpenAI to monitor
|
|
685
685
|
* and detect abuse.
|
|
686
|
-
* [Learn more](https://
|
|
686
|
+
* [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).
|
|
687
687
|
*/
|
|
688
688
|
user?: string;
|
|
689
689
|
}
|
|
@@ -694,7 +694,7 @@ export declare namespace ImageGenerateParams {
|
|
|
694
694
|
export interface ImageGenerateParamsNonStreaming extends ImageGenerateParamsBase {
|
|
695
695
|
/**
|
|
696
696
|
* Generate the image in streaming mode. Defaults to `false`. See the
|
|
697
|
-
* [Image generation guide](https://
|
|
697
|
+
* [Image generation guide](https://developers.openai.com/api/docs/guides/image-generation)
|
|
698
698
|
* for more information. This parameter is only supported for the GPT image models.
|
|
699
699
|
*/
|
|
700
700
|
stream?: false | null;
|
|
@@ -702,7 +702,7 @@ export interface ImageGenerateParamsNonStreaming extends ImageGenerateParamsBase
|
|
|
702
702
|
export interface ImageGenerateParamsStreaming extends ImageGenerateParamsBase {
|
|
703
703
|
/**
|
|
704
704
|
* Generate the image in streaming mode. Defaults to `false`. See the
|
|
705
|
-
* [Image generation guide](https://
|
|
705
|
+
* [Image generation guide](https://developers.openai.com/api/docs/guides/image-generation)
|
|
706
706
|
* for more information. This parameter is only supported for the GPT image models.
|
|
707
707
|
*/
|
|
708
708
|
stream: true;
|
package/resources/index.d.mts
CHANGED
|
@@ -14,6 +14,7 @@ export { Files, type FileContent, type FileDeleted, type FileObject, type FilePu
|
|
|
14
14
|
export { FineTuning } from "./fine-tuning/fine-tuning.mjs";
|
|
15
15
|
export { Graders } from "./graders/graders.mjs";
|
|
16
16
|
export { Images, type Image, type ImageEditCompletedEvent, type ImageEditPartialImageEvent, type ImageEditStreamEvent, type ImageGenCompletedEvent, type ImageGenPartialImageEvent, type ImageGenStreamEvent, type ImageModel, type ImagesResponse, type ImageCreateVariationParams, type ImageEditParams, type ImageEditParamsNonStreaming, type ImageEditParamsStreaming, type ImageGenerateParams, type ImageGenerateParamsNonStreaming, type ImageGenerateParamsStreaming, } from "./images.mjs";
|
|
17
|
+
export { Live } from "./live/live.mjs";
|
|
17
18
|
export { Models, type Model, type ModelDeleted, type ModelsPage } from "./models.mjs";
|
|
18
19
|
export { Moderations, type Moderation, type ModerationImageURLInput, type ModerationModel, type ModerationMultiModalInput, type ModerationTextInput, type ModerationCreateResponse, type ModerationCreateParams, } from "./moderations.mjs";
|
|
19
20
|
export { Realtime } from "./realtime/realtime.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,iCAA6B;AAC7B,6BAAyB;AACzB,OAAO,EAAE,KAAK,EAAE,0BAAsB;AACtC,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,KAAK,mBAAmB,EAAE,0BAAsB;AACjF,OAAO,EACL,OAAO,EACP,KAAK,KAAK,EACV,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,WAAW,GACjB,sBAAkB;AACnB,OAAO,EAAE,IAAI,EAAE,wBAAoB;AACnC,OAAO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,kCAAkC,EACvC,KAAK,+BAA+B,GAC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BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,UAAU,GAChB,qBAAiB;AAClB,OAAO,EAAE,QAAQ,EAAE,uBAAmB"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,iCAA6B;AAC7B,6BAAyB;AACzB,OAAO,EAAE,KAAK,EAAE,0BAAsB;AACtC,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,KAAK,mBAAmB,EAAE,0BAAsB;AACjF,OAAO,EACL,OAAO,EACP,KAAK,KAAK,EACV,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,WAAW,GACjB,sBAAkB;AACnB,OAAO,EAAE,IAAI,EAAE,wBAAoB;AACnC,OAAO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,kCAAkC,EACvC,KAAK,+BAA+B,GACrC,0BAAsB;AACvB,OAAO,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,GAChC,oCAAgC;AACjC,OAAO,EACL,uBAAuB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,kCAAkC,GACxC,wCAAoC;AACrC,OAAO,EAAE,aAAa,EAAE,0CAAsC;AAC9D,OAAO,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,qBAAqB,GAC3B,yBAAqB;AACtB,OAAO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kCAA8B;AAClD,OAAO,EAAE,MAAM,EAAE,4BAAwB;AACzC,OAAO,EACL,MAAM,EACN,KAAK,YAAY,EACjB,KAAK,KAAK,EACV,KAAK,SAAS,EACd,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,UAAU,GAChB,4BAAwB;AACzB,OAAO,EAAE,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,kBAAkB,EAAE,KAAK,oBAAoB,EAAE,8BAA0B;AAC7G,OAAO,EACL,YAAY,EACZ,KAAK,6BAA6B,EAClC,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,+BAA+B,EACpC,KAAK,0BAA0B,EAC/B,KAAK,gCAAgC,EACrC,KAAK,qCAAqC,EAC1C,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,8BAA8B,GACpC,0CAAsC;AACvC,OAAO,EACL,MAAM,EACN,KAAK,wBAAwB,EAC7B,KAAK,KAAK,EACV,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,mBAAmB,EACxB,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,UAAU,GAChB,qBAAiB;AAClB,OAAO,EAAE,QAAQ,EAAE,uBAAmB"}
|
package/resources/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export { Files, type FileContent, type FileDeleted, type FileObject, type FilePu
|
|
|
14
14
|
export { FineTuning } from "./fine-tuning/fine-tuning.js";
|
|
15
15
|
export { Graders } from "./graders/graders.js";
|
|
16
16
|
export { Images, type Image, type ImageEditCompletedEvent, type ImageEditPartialImageEvent, type ImageEditStreamEvent, type ImageGenCompletedEvent, type ImageGenPartialImageEvent, type ImageGenStreamEvent, type ImageModel, type ImagesResponse, type ImageCreateVariationParams, type ImageEditParams, type ImageEditParamsNonStreaming, type ImageEditParamsStreaming, type ImageGenerateParams, type ImageGenerateParamsNonStreaming, type ImageGenerateParamsStreaming, } from "./images.js";
|
|
17
|
+
export { Live } from "./live/live.js";
|
|
17
18
|
export { Models, type Model, type ModelDeleted, type ModelsPage } from "./models.js";
|
|
18
19
|
export { Moderations, type Moderation, type ModerationImageURLInput, type ModerationModel, type ModerationMultiModalInput, type ModerationTextInput, type ModerationCreateResponse, type ModerationCreateParams, } from "./moderations.js";
|
|
19
20
|
export { Realtime } from "./realtime/realtime.js";
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,gCAA6B;AAC7B,4BAAyB;AACzB,OAAO,EAAE,KAAK,EAAE,yBAAsB;AACtC,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,KAAK,mBAAmB,EAAE,yBAAsB;AACjF,OAAO,EACL,OAAO,EACP,KAAK,KAAK,EACV,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,WAAW,GACjB,qBAAkB;AACnB,OAAO,EAAE,IAAI,EAAE,uBAAoB;AACnC,OAAO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,kCAAkC,EACvC,KAAK,+BAA+B,GACrC,yBAAsB;AACvB,OAAO,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,K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Y,EACjB,KAAK,KAAK,EACV,KAAK,SAAS,EACd,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,UAAU,GAChB,2BAAwB;AACzB,OAAO,EAAE,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,kBAAkB,EAAE,KAAK,oBAAoB,EAAE,6BAA0B;AAC7G,OAAO,EACL,YAAY,EACZ,KAAK,6BAA6B,EAClC,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,+BAA+B,EACpC,KAAK,0BAA0B,EAC/B,KAAK,gCAAgC,EACrC,KAAK,qCAAqC,EAC1C,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,8BAA8B,GACpC,yCAAsC;AACvC,OAAO,EACL,MAAM,EACN,KAAK,wBAAwB,EAC7B,KAAK,KAAK,EACV,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,mBAAmB,EACxB,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,UAAU,GAChB,oBAAiB;AAClB,OAAO,EAAE,QAAQ,EAAE,sBAAmB"}
|
package/resources/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Castiron. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Webhooks = exports.Videos = exports.VectorStores = exports.Uploads = exports.Skills = exports.Safety = exports.Responses = exports.Realtime = exports.Moderations = exports.Models = exports.Images = exports.Graders = exports.FineTuning = exports.Files = exports.Evals = exports.Embeddings = exports.Conversations = exports.ContentProvenanceChecks = exports.Containers = exports.Completions = exports.Beta = exports.Batches = exports.Audio = exports.Admin = void 0;
|
|
4
|
+
exports.Webhooks = exports.Videos = exports.VectorStores = exports.Uploads = exports.Skills = exports.Safety = exports.Responses = exports.Realtime = exports.Moderations = exports.Models = exports.Live = exports.Images = exports.Graders = exports.FineTuning = exports.Files = exports.Evals = exports.Embeddings = exports.Conversations = exports.ContentProvenanceChecks = exports.Containers = exports.Completions = exports.Beta = exports.Batches = exports.Audio = exports.Admin = void 0;
|
|
5
5
|
const tslib_1 = require("../internal/tslib.js");
|
|
6
6
|
tslib_1.__exportStar(require("./chat/index.js"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./shared.js"), exports);
|
|
@@ -33,6 +33,8 @@ var graders_1 = require("./graders/graders.js");
|
|
|
33
33
|
Object.defineProperty(exports, "Graders", { enumerable: true, get: function () { return graders_1.Graders; } });
|
|
34
34
|
var images_1 = require("./images.js");
|
|
35
35
|
Object.defineProperty(exports, "Images", { enumerable: true, get: function () { return images_1.Images; } });
|
|
36
|
+
var live_1 = require("./live/live.js");
|
|
37
|
+
Object.defineProperty(exports, "Live", { enumerable: true, get: function () { return live_1.Live; } });
|
|
36
38
|
var models_1 = require("./models.js");
|
|
37
39
|
Object.defineProperty(exports, "Models", { enumerable: true, get: function () { return models_1.Models; } });
|
|
38
40
|
var moderations_1 = require("./moderations.js");
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,qFAAqF;;;;AAErF,0DAA6B;AAC7B,sDAAyB;AACzB,0CAAsC;AAA7B,8FAAA,KAAK,OAAA;AACd,0CAAiF;AAAxE,8FAAA,KAAK,OAAA;AACd,wCASmB;AARjB,kGAAA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AQZ,4EAIqC;AAHnC,oIAAA,uBAAuB,OAAA;AAIzB,kEAA8D;AAArD,8GAAA,aAAa,OAAA;AACtB,8CAMsB;AALpB,wGAAA,UAAU,OAAA;AAMZ,0CAauB;AAZrB,8FAAA,KAAK,OAAA;AAaP,oCASiB;AARf,8FAAA,KAAK,OAAA;AASP,4DAAuD;AAA9C,yGAAA,UAAU,OAAA;AACnB,gDAA4C;AAAnC,kGAAA,OAAO,OAAA;AAChB,sCAkBkB;AAjBhB,gGAAA,MAAM,OAAA;AAkBR,uCAAmC;AAA1B,4FAAA,IAAI,OAAA;AACb,sCAAkF;AAAzE,gGAAA,MAAM,OAAA;AACf,gDASuB;AARrB,0GAAA,WAAW,OAAA;AASb,mDAA+C;AAAtC,oGAAA,QAAQ,OAAA;AACjB,sDAAkD;AAAzC,sGAAA,SAAS,OAAA;AAClB,6CAAyC;AAAhC,gGAAA,MAAM,OAAA;AACf,6CASyB;AARvB,gGAAA,MAAM,OAAA;AASR,gDAA6G;AAApG,kGAAA,OAAO,OAAA;AAChB,kEAkBuC;AAjBrC,6GAAA,YAAY,OAAA;AAkBd,sCAmBkB;AAlBhB,gGAAA,MAAM,OAAA;AAmBR,0CAAsC;AAA7B,oGAAA,QAAQ,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -15,6 +15,7 @@ export { Files, } from "./files.mjs";
|
|
|
15
15
|
export { FineTuning } from "./fine-tuning/fine-tuning.mjs";
|
|
16
16
|
export { Graders } from "./graders/graders.mjs";
|
|
17
17
|
export { Images, } from "./images.mjs";
|
|
18
|
+
export { Live } from "./live/live.mjs";
|
|
18
19
|
export { Models } from "./models.mjs";
|
|
19
20
|
export { Moderations, } from "./moderations.mjs";
|
|
20
21
|
export { Realtime } from "./realtime/realtime.mjs";
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,qFAAqF;A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B;AACnC,OAAO,EACL,WAAW,GAOZ,0BAAsB;AACvB,OAAO,EACL,UAAU,GAOX,oCAAgC;AACjC,OAAO,EACL,uBAAuB,GAGxB,wCAAoC;AACrC,OAAO,EAAE,aAAa,EAAE,0CAAsC;AAC9D,OAAO,EACL,UAAU,GAKX,yBAAqB;AACtB,OAAO,EACL,KAAK,GAYN,0BAAsB;AACvB,OAAO,EACL,KAAK,GAQN,oBAAgB;AACjB,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,OAAO,EAAE,8BAA0B;AAC5C,OAAO,EACL,MAAM,GAiBP,qBAAiB;AAClB,OAAO,EAAE,IAAI,EAAE,wBAAoB;AACnC,OAAO,EAAE,MAAM,EAAkD,qBAAiB;AAClF,OAAO,EACL,WAAW,GAQZ,0BAAsB;AACvB,OAAO,EAAE,QAAQ,EAAE,gCAA4B;AAC/C,OAAO,EAAE,SAAS,EAAE,kCAA8B;AAClD,OAAO,EAAE,MAAM,EAAE,4BAAwB;AACzC,OAAO,EACL,MAAM,GAQP,4BAAwB;AACzB,OAAO,EAAE,OAAO,EAAmE,8BAA0B;AAC7G,OAAO,EACL,YAAY,GAiBb,0CAAsC;AACvC,OAAO,EACL,MAAM,GAkBP,qBAAiB;AAClB,OAAO,EAAE,QAAQ,EAAE,uBAAmB"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as LiveAPI from "../live.mjs";
|
|
3
|
+
export declare class Forks extends APIResource {
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Client events for a Live fork WebSocket. First send session.start with an
|
|
7
|
+
* overrides object (which may be empty), then wait for session.started before
|
|
8
|
+
* sending other commands. The model and conversation are inherited from the stored
|
|
9
|
+
* session.
|
|
10
|
+
*/
|
|
11
|
+
export type ForkClientEvent = LiveAPI.ForkSessionStartEvent | LiveAPI.SessionUpdateEvent | LiveAPI.InputAudioAppendEvent | LiveAPI.InputAudioMuteEvent | LiveAPI.InputAudioUnmuteEvent | LiveAPI.InstructionsAppendEvent | LiveAPI.ThinkingAppendEvent | LiveAPI.CommentaryAppendEvent | LiveAPI.ResponseItemCreateEvent | LiveAPI.ResponseCreateEvent | LiveAPI.SessionCloseEvent;
|
|
12
|
+
/**
|
|
13
|
+
* Server events for Live. Response lifecycle events are wrapped inside
|
|
14
|
+
* response.event; dispatch the nested event by its full type and tolerate new
|
|
15
|
+
* response event types. Follow the
|
|
16
|
+
* [Live prompting guide](https://developers.openai.com/api/docs/guides/live-prompting)
|
|
17
|
+
* when designing the conversation and delegation policy.
|
|
18
|
+
*/
|
|
19
|
+
export type ForkServerEvent = LiveAPI.SessionStartedEvent | LiveAPI.SessionUpdatedEvent | LiveAPI.InputAudioMutedEvent | LiveAPI.InputAudioUnmutedEvent | LiveAPI.InstructionsAppendedEvent | LiveAPI.ThinkingAppendedEvent | LiveAPI.CommentaryAppendedEvent | ForkServerEvent.SessionInputAudioAppend | LiveAPI.OutputAudioDeltaEvent | LiveAPI.InputTranscriptDeltaEvent | LiveAPI.OutputTranscriptDeltaEvent | LiveAPI.DelegationCreatedEvent | LiveAPI.ResponseEvent | LiveAPI.SessionUsageUpdatedEvent | LiveAPI.SessionClosedEvent | LiveAPI.ErrorEvent | LiveAPI.InfoEvent | ForkServerEvent.TransportDtmfReceived | ForkServerEvent.TransportDtmfSend | ForkServerEvent.TransportRinging | ForkServerEvent.TransportAnswered | ForkServerEvent.TransportFailed;
|
|
20
|
+
export declare namespace ForkServerEvent {
|
|
21
|
+
/**
|
|
22
|
+
* Input audio received from the primary transport and reflected to a Live sideband
|
|
23
|
+
* connection before model-input muting.
|
|
24
|
+
*/
|
|
25
|
+
interface SessionInputAudioAppend {
|
|
26
|
+
/**
|
|
27
|
+
* Base64-encoded raw mono PCM16LE at 24 kHz received from the primary transport,
|
|
28
|
+
* reflected to the sideband before model-input muting. This server event uses the
|
|
29
|
+
* same audio key as the client command, but is not an acknowledgment of it.
|
|
30
|
+
*/
|
|
31
|
+
audio: string;
|
|
32
|
+
/**
|
|
33
|
+
* The event type, always `session.input_audio.append`.
|
|
34
|
+
*/
|
|
35
|
+
type: 'session.input_audio.append';
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* A SIP DTMF keypress received from the caller. Delivered only to sideband
|
|
39
|
+
* observers.
|
|
40
|
+
*/
|
|
41
|
+
interface TransportDtmfReceived {
|
|
42
|
+
event: string;
|
|
43
|
+
event_id: string;
|
|
44
|
+
type: 'transport.dtmf.received';
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* A SIP DTMF keypress successfully sent by the hosted tool. Delivered only to
|
|
48
|
+
* sideband observers; this is not a client command.
|
|
49
|
+
*/
|
|
50
|
+
interface TransportDtmfSend {
|
|
51
|
+
event: string;
|
|
52
|
+
event_id: string;
|
|
53
|
+
type: 'transport.dtmf.send';
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* The outbound SIP provider leg is ringing or providing early media. Delivered
|
|
57
|
+
* only to sideband observers.
|
|
58
|
+
*/
|
|
59
|
+
interface TransportRinging {
|
|
60
|
+
event_id: string;
|
|
61
|
+
/**
|
|
62
|
+
* The canonical Live session ID.
|
|
63
|
+
*/
|
|
64
|
+
session_id: string;
|
|
65
|
+
type: 'transport.ringing';
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* The outbound SIP provider leg answered and media is established. Delivered only
|
|
69
|
+
* to sideband observers.
|
|
70
|
+
*/
|
|
71
|
+
interface TransportAnswered {
|
|
72
|
+
event_id: string;
|
|
73
|
+
/**
|
|
74
|
+
* The canonical Live session ID.
|
|
75
|
+
*/
|
|
76
|
+
session_id: string;
|
|
77
|
+
type: 'transport.answered';
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* An asynchronous outbound SIP setup failure. Delivered only to sideband
|
|
81
|
+
* observers.
|
|
82
|
+
*/
|
|
83
|
+
interface TransportFailed {
|
|
84
|
+
error: TransportFailed.Error;
|
|
85
|
+
event_id: string;
|
|
86
|
+
/**
|
|
87
|
+
* The canonical Live session ID.
|
|
88
|
+
*/
|
|
89
|
+
session_id: string;
|
|
90
|
+
type: 'transport.failed';
|
|
91
|
+
}
|
|
92
|
+
namespace TransportFailed {
|
|
93
|
+
interface Error {
|
|
94
|
+
/**
|
|
95
|
+
* The call setup failure code.
|
|
96
|
+
*/
|
|
97
|
+
code: string;
|
|
98
|
+
message: string;
|
|
99
|
+
type: 'call_error';
|
|
100
|
+
/**
|
|
101
|
+
* The parameter related to the error, if any. Empty when no parameter applies.
|
|
102
|
+
*/
|
|
103
|
+
param?: string;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
export declare namespace Forks {
|
|
108
|
+
export { type ForkClientEvent as ForkClientEvent, type ForkServerEvent as ForkServerEvent };
|
|
109
|
+
}
|
|
110
|
+
//# sourceMappingURL=forks.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forks.d.mts","sourceRoot":"","sources":["../../../src/resources/live/forks/forks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,OAAO,oBAAgB;AAEnC,qBAAa,KAAM,SAAQ,WAAW;CAAG;AAEzC;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GACvB,OAAO,CAAC,qBAAqB,GAC7B,OAAO,CAAC,kBAAkB,GAC1B,OAAO,CAAC,qBAAqB,GAC7B,OAAO,CAAC,mBAAmB,GAC3B,OAAO,CAAC,qBAAqB,GAC7B,OAAO,CAAC,uBAAuB,GAC/B,OAAO,CAAC,mBAAmB,GAC3B,OAAO,CAAC,qBAAqB,GAC7B,OAAO,CAAC,uBAAuB,GAC/B,OAAO,CAAC,mBAAmB,GAC3B,OAAO,CAAC,iBAAiB,CAAC;AAE9B;;;;;;GAMG;AACH,MAAM,MAAM,eAAe,GACvB,OAAO,CAAC,mBAAmB,GAC3B,OAAO,C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AAC;QAEnB,IAAI,EAAE,oBAAoB,CAAC;KAC5B;IAED;;;OAGG;IACH,UAAiB,eAAe;QAC9B,KAAK,EAAE,eAAe,CAAC,KAAK,CAAC;QAE7B,QAAQ,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB,IAAI,EAAE,kBAAkB,CAAC;KAC1B;IAED,UAAiB,eAAe,CAAC;QAC/B,UAAiB,KAAK;YACpB;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;YAEb,OAAO,EAAE,MAAM,CAAC;YAEhB,IAAI,EAAE,YAAY,CAAC;YAEnB;;eAEG;YACH,KAAK,CAAC,EAAE,MAAM,CAAC;SAChB;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;CAC7F"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as LiveAPI from "../live.js";
|
|
3
|
+
export declare class Forks extends APIResource {
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Client events for a Live fork WebSocket. First send session.start with an
|
|
7
|
+
* overrides object (which may be empty), then wait for session.started before
|
|
8
|
+
* sending other commands. The model and conversation are inherited from the stored
|
|
9
|
+
* session.
|
|
10
|
+
*/
|
|
11
|
+
export type ForkClientEvent = LiveAPI.ForkSessionStartEvent | LiveAPI.SessionUpdateEvent | LiveAPI.InputAudioAppendEvent | LiveAPI.InputAudioMuteEvent | LiveAPI.InputAudioUnmuteEvent | LiveAPI.InstructionsAppendEvent | LiveAPI.ThinkingAppendEvent | LiveAPI.CommentaryAppendEvent | LiveAPI.ResponseItemCreateEvent | LiveAPI.ResponseCreateEvent | LiveAPI.SessionCloseEvent;
|
|
12
|
+
/**
|
|
13
|
+
* Server events for Live. Response lifecycle events are wrapped inside
|
|
14
|
+
* response.event; dispatch the nested event by its full type and tolerate new
|
|
15
|
+
* response event types. Follow the
|
|
16
|
+
* [Live prompting guide](https://developers.openai.com/api/docs/guides/live-prompting)
|
|
17
|
+
* when designing the conversation and delegation policy.
|
|
18
|
+
*/
|
|
19
|
+
export type ForkServerEvent = LiveAPI.SessionStartedEvent | LiveAPI.SessionUpdatedEvent | LiveAPI.InputAudioMutedEvent | LiveAPI.InputAudioUnmutedEvent | LiveAPI.InstructionsAppendedEvent | LiveAPI.ThinkingAppendedEvent | LiveAPI.CommentaryAppendedEvent | ForkServerEvent.SessionInputAudioAppend | LiveAPI.OutputAudioDeltaEvent | LiveAPI.InputTranscriptDeltaEvent | LiveAPI.OutputTranscriptDeltaEvent | LiveAPI.DelegationCreatedEvent | LiveAPI.ResponseEvent | LiveAPI.SessionUsageUpdatedEvent | LiveAPI.SessionClosedEvent | LiveAPI.ErrorEvent | LiveAPI.InfoEvent | ForkServerEvent.TransportDtmfReceived | ForkServerEvent.TransportDtmfSend | ForkServerEvent.TransportRinging | ForkServerEvent.TransportAnswered | ForkServerEvent.TransportFailed;
|
|
20
|
+
export declare namespace ForkServerEvent {
|
|
21
|
+
/**
|
|
22
|
+
* Input audio received from the primary transport and reflected to a Live sideband
|
|
23
|
+
* connection before model-input muting.
|
|
24
|
+
*/
|
|
25
|
+
interface SessionInputAudioAppend {
|
|
26
|
+
/**
|
|
27
|
+
* Base64-encoded raw mono PCM16LE at 24 kHz received from the primary transport,
|
|
28
|
+
* reflected to the sideband before model-input muting. This server event uses the
|
|
29
|
+
* same audio key as the client command, but is not an acknowledgment of it.
|
|
30
|
+
*/
|
|
31
|
+
audio: string;
|
|
32
|
+
/**
|
|
33
|
+
* The event type, always `session.input_audio.append`.
|
|
34
|
+
*/
|
|
35
|
+
type: 'session.input_audio.append';
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* A SIP DTMF keypress received from the caller. Delivered only to sideband
|
|
39
|
+
* observers.
|
|
40
|
+
*/
|
|
41
|
+
interface TransportDtmfReceived {
|
|
42
|
+
event: string;
|
|
43
|
+
event_id: string;
|
|
44
|
+
type: 'transport.dtmf.received';
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* A SIP DTMF keypress successfully sent by the hosted tool. Delivered only to
|
|
48
|
+
* sideband observers; this is not a client command.
|
|
49
|
+
*/
|
|
50
|
+
interface TransportDtmfSend {
|
|
51
|
+
event: string;
|
|
52
|
+
event_id: string;
|
|
53
|
+
type: 'transport.dtmf.send';
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* The outbound SIP provider leg is ringing or providing early media. Delivered
|
|
57
|
+
* only to sideband observers.
|
|
58
|
+
*/
|
|
59
|
+
interface TransportRinging {
|
|
60
|
+
event_id: string;
|
|
61
|
+
/**
|
|
62
|
+
* The canonical Live session ID.
|
|
63
|
+
*/
|
|
64
|
+
session_id: string;
|
|
65
|
+
type: 'transport.ringing';
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* The outbound SIP provider leg answered and media is established. Delivered only
|
|
69
|
+
* to sideband observers.
|
|
70
|
+
*/
|
|
71
|
+
interface TransportAnswered {
|
|
72
|
+
event_id: string;
|
|
73
|
+
/**
|
|
74
|
+
* The canonical Live session ID.
|
|
75
|
+
*/
|
|
76
|
+
session_id: string;
|
|
77
|
+
type: 'transport.answered';
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* An asynchronous outbound SIP setup failure. Delivered only to sideband
|
|
81
|
+
* observers.
|
|
82
|
+
*/
|
|
83
|
+
interface TransportFailed {
|
|
84
|
+
error: TransportFailed.Error;
|
|
85
|
+
event_id: string;
|
|
86
|
+
/**
|
|
87
|
+
* The canonical Live session ID.
|
|
88
|
+
*/
|
|
89
|
+
session_id: string;
|
|
90
|
+
type: 'transport.failed';
|
|
91
|
+
}
|
|
92
|
+
namespace TransportFailed {
|
|
93
|
+
interface Error {
|
|
94
|
+
/**
|
|
95
|
+
* The call setup failure code.
|
|
96
|
+
*/
|
|
97
|
+
code: string;
|
|
98
|
+
message: string;
|
|
99
|
+
type: 'call_error';
|
|
100
|
+
/**
|
|
101
|
+
* The parameter related to the error, if any. Empty when no parameter applies.
|
|
102
|
+
*/
|
|
103
|
+
param?: string;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
export declare namespace Forks {
|
|
108
|
+
export { type ForkClientEvent as ForkClientEvent, type ForkServerEvent as ForkServerEvent };
|
|
109
|
+
}
|
|
110
|
+
//# sourceMappingURL=forks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forks.d.ts","sourceRoot":"","sources":["../../../src/resources/live/forks/forks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,OAAO,mBAAgB;AAEnC,qBAAa,KAAM,SAAQ,WAAW;CAAG;AAEzC;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GACvB,OAAO,CAAC,qBAAqB,GAC7B,OAAO,CAAC,kBAAkB,GAC1B,OAAO,CAAC,qBAAqB,GAC7B,OAAO,CAAC,mBAAmB,GAC3B,OAAO,CAAC,qBAAqB,GAC7B,OAAO,CAAC,uBAAuB,GAC/B,OAAO,CAAC,mBAAmB,GAC3B,OAAO,CAAC,qBAAqB,GAC7B,OAAO,CAAC,uBAAuB,GAC/B,OAAO,CAAC,mBAAmB,GAC3B,OAAO,CAAC,iBAAiB,CAAC;AAE9B;;;;;;GAMG;AACH,MAAM,MAAM,eAAe,GACvB,OAAO,CAAC,mBAAmB,GAC3B,OAAO,CAAC,mBAAmB,GAC3B,OAAO,CAAC,oBAAoB,GAC5B,OAAO,CAAC,sBAAsB,GAC9B,OAAO,CAAC,yBAAyB,GACjC,OAAO,CAAC,qBAAqB,GAC7B,OAAO,CAAC,uBAAuB,GAC/B,eAAe,CAAC,uBAAuB,GACvC,OAAO,CAAC,qBAAqB,GAC7B,OAAO,CAAC,yBAAyB,GACjC,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AED,UAAiB,eAAe,CAAC;QAC/B,UAAiB,KAAK;YACpB;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;YAEb,OAAO,EAAE,MAAM,CAAC;YAEhB,IAAI,EAAE,YAAY,CAAC;YAEnB;;eAEG;YACH,KAAK,CAAC,EAAE,MAAM,CAAC;SAChB;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;CAC7F"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Castiron. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Forks = void 0;
|
|
5
|
+
const resource_1 = require("../../../core/resource.js");
|
|
6
|
+
class Forks extends resource_1.APIResource {
|
|
7
|
+
}
|
|
8
|
+
exports.Forks = Forks;
|
|
9
|
+
//# sourceMappingURL=forks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forks.js","sourceRoot":"","sources":["../../../src/resources/live/forks/forks.ts"],"names":[],"mappings":";AAAA,qFAAqF;;;AAErF,wDAAqD;AAGrD,MAAa,KAAM,SAAQ,sBAAW;CAAG;AAAzC,sBAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forks.mjs","sourceRoot":"","sources":["../../../src/resources/live/forks/forks.ts"],"names":[],"mappings":"AAAA,qFAAqF;AAErF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAGrD,MAAM,OAAO,KAAM,SAAQ,WAAW;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/live/forks/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,KAAK,eAAe,EAAE,KAAK,eAAe,EAAE,oBAAgB;AAC5E,OAAO,EAAE,KAAK,oBAAoB,EAAE,iBAAa;AACjD,OAAO,EAAE,KAAK,uBAAuB,EAAE,sBAAkB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/live/forks/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,KAAK,eAAe,EAAE,KAAK,eAAe,EAAE,mBAAgB;AAC5E,OAAO,EAAE,KAAK,oBAAoB,EAAE,gBAAa;AACjD,OAAO,EAAE,KAAK,uBAAuB,EAAE,qBAAkB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Castiron. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Forks = void 0;
|
|
5
|
+
var forks_1 = require("./forks.js");
|
|
6
|
+
Object.defineProperty(exports, "Forks", { enumerable: true, get: function () { return forks_1.Forks; } });
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/live/forks/index.ts"],"names":[],"mappings":";AAAA,qFAAqF;;;AAErF,oCAA4E;AAAnE,8FAAA,KAAK,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/live/forks/index.ts"],"names":[],"mappings":"AAAA,qFAAqF;AAErF,OAAO,EAAE,KAAK,EAA8C,oBAAgB"}
|