openai 7.18.0 → 7.20.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 +28 -0
- package/README.md +6 -3
- package/client.d.mts.map +1 -1
- package/client.d.ts.map +1 -1
- package/client.js +13 -7
- package/client.js.map +1 -1
- package/client.mjs +13 -7
- package/client.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +11 -7
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +11 -7
- package/internal/parse.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 +1 -0
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +1 -0
- package/internal/utils/log.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/admin/organization/admin-api-keys.d.mts +13 -2
- package/resources/admin/organization/admin-api-keys.d.mts.map +1 -1
- package/resources/admin/organization/admin-api-keys.d.ts +13 -2
- package/resources/admin/organization/admin-api-keys.d.ts.map +1 -1
- package/resources/admin/organization/admin-api-keys.js +58 -11
- package/resources/admin/organization/admin-api-keys.js.map +1 -1
- package/resources/admin/organization/admin-api-keys.mjs +58 -11
- package/resources/admin/organization/admin-api-keys.mjs.map +1 -1
- package/resources/admin/organization/audit-logs.d.mts +56 -3
- package/resources/admin/organization/audit-logs.d.mts.map +1 -1
- package/resources/admin/organization/audit-logs.d.ts +56 -3
- package/resources/admin/organization/audit-logs.d.ts.map +1 -1
- package/resources/admin/organization/audit-logs.js +69 -11
- package/resources/admin/organization/audit-logs.js.map +1 -1
- package/resources/admin/organization/audit-logs.mjs +69 -11
- package/resources/admin/organization/audit-logs.mjs.map +1 -1
- package/resources/admin/organization/certificates.d.mts +16 -2
- package/resources/admin/organization/certificates.d.mts.map +1 -1
- package/resources/admin/organization/certificates.d.ts +16 -2
- package/resources/admin/organization/certificates.d.ts.map +1 -1
- package/resources/admin/organization/certificates.js +64 -24
- package/resources/admin/organization/certificates.js.map +1 -1
- package/resources/admin/organization/certificates.mjs +64 -24
- package/resources/admin/organization/certificates.mjs.map +1 -1
- package/resources/admin/organization/external-storage.d.mts +141 -0
- package/resources/admin/organization/external-storage.d.mts.map +1 -0
- package/resources/admin/organization/external-storage.d.ts +141 -0
- package/resources/admin/organization/external-storage.d.ts.map +1 -0
- package/resources/admin/organization/external-storage.js +146 -0
- package/resources/admin/organization/external-storage.js.map +1 -0
- package/resources/admin/organization/external-storage.mjs +142 -0
- package/resources/admin/organization/external-storage.mjs.map +1 -0
- package/resources/admin/organization/groups/groups.d.mts +8 -1
- package/resources/admin/organization/groups/groups.d.mts.map +1 -1
- package/resources/admin/organization/groups/groups.d.ts +8 -1
- package/resources/admin/organization/groups/groups.d.ts.map +1 -1
- package/resources/admin/organization/groups/groups.js +58 -11
- package/resources/admin/organization/groups/groups.js.map +1 -1
- package/resources/admin/organization/groups/groups.mjs +58 -11
- package/resources/admin/organization/groups/groups.mjs.map +1 -1
- package/resources/admin/organization/groups/roles.d.mts +8 -1
- package/resources/admin/organization/groups/roles.d.mts.map +1 -1
- package/resources/admin/organization/groups/roles.d.ts +8 -1
- package/resources/admin/organization/groups/roles.d.ts.map +1 -1
- package/resources/admin/organization/groups/roles.js +58 -13
- package/resources/admin/organization/groups/roles.js.map +1 -1
- package/resources/admin/organization/groups/roles.mjs +58 -13
- package/resources/admin/organization/groups/roles.mjs.map +1 -1
- package/resources/admin/organization/groups/users.d.mts +8 -1
- package/resources/admin/organization/groups/users.d.mts.map +1 -1
- package/resources/admin/organization/groups/users.d.ts +8 -1
- package/resources/admin/organization/groups/users.d.ts.map +1 -1
- package/resources/admin/organization/groups/users.js +58 -13
- package/resources/admin/organization/groups/users.js.map +1 -1
- package/resources/admin/organization/groups/users.mjs +58 -13
- package/resources/admin/organization/groups/users.mjs.map +1 -1
- package/resources/admin/organization/index.d.mts +1 -0
- package/resources/admin/organization/index.d.mts.map +1 -1
- package/resources/admin/organization/index.d.ts +1 -0
- package/resources/admin/organization/index.d.ts.map +1 -1
- package/resources/admin/organization/index.js +3 -1
- package/resources/admin/organization/index.js.map +1 -1
- package/resources/admin/organization/index.mjs +1 -0
- package/resources/admin/organization/index.mjs.map +1 -1
- package/resources/admin/organization/invites.d.mts +8 -1
- package/resources/admin/organization/invites.d.mts.map +1 -1
- package/resources/admin/organization/invites.d.ts +8 -1
- package/resources/admin/organization/invites.d.ts.map +1 -1
- package/resources/admin/organization/invites.js +58 -11
- package/resources/admin/organization/invites.js.map +1 -1
- package/resources/admin/organization/invites.mjs +58 -11
- package/resources/admin/organization/invites.mjs.map +1 -1
- package/resources/admin/organization/organization.d.mts +4 -0
- package/resources/admin/organization/organization.d.mts.map +1 -1
- package/resources/admin/organization/organization.d.ts +4 -0
- package/resources/admin/organization/organization.d.ts.map +1 -1
- package/resources/admin/organization/organization.js +4 -0
- package/resources/admin/organization/organization.js.map +1 -1
- package/resources/admin/organization/organization.mjs +4 -0
- package/resources/admin/organization/organization.mjs.map +1 -1
- package/resources/admin/organization/projects/api-keys.d.mts +8 -1
- package/resources/admin/organization/projects/api-keys.d.mts.map +1 -1
- package/resources/admin/organization/projects/api-keys.d.ts +8 -1
- package/resources/admin/organization/projects/api-keys.d.ts.map +1 -1
- package/resources/admin/organization/projects/api-keys.js +58 -13
- package/resources/admin/organization/projects/api-keys.js.map +1 -1
- package/resources/admin/organization/projects/api-keys.mjs +58 -13
- package/resources/admin/organization/projects/api-keys.mjs.map +1 -1
- package/resources/admin/organization/projects/certificates.d.mts +8 -1
- package/resources/admin/organization/projects/certificates.d.mts.map +1 -1
- package/resources/admin/organization/projects/certificates.d.ts +8 -1
- package/resources/admin/organization/projects/certificates.d.ts.map +1 -1
- package/resources/admin/organization/projects/certificates.js +58 -13
- package/resources/admin/organization/projects/certificates.js.map +1 -1
- package/resources/admin/organization/projects/certificates.mjs +58 -13
- package/resources/admin/organization/projects/certificates.mjs.map +1 -1
- package/resources/admin/organization/projects/groups/groups.d.mts +8 -1
- package/resources/admin/organization/projects/groups/groups.d.mts.map +1 -1
- package/resources/admin/organization/projects/groups/groups.d.ts +8 -1
- package/resources/admin/organization/projects/groups/groups.d.ts.map +1 -1
- package/resources/admin/organization/projects/groups/groups.js +58 -13
- package/resources/admin/organization/projects/groups/groups.js.map +1 -1
- package/resources/admin/organization/projects/groups/groups.mjs +58 -13
- package/resources/admin/organization/projects/groups/groups.mjs.map +1 -1
- package/resources/admin/organization/projects/projects.d.mts +8 -1
- package/resources/admin/organization/projects/projects.d.mts.map +1 -1
- package/resources/admin/organization/projects/projects.d.ts +8 -1
- package/resources/admin/organization/projects/projects.d.ts.map +1 -1
- package/resources/admin/organization/projects/projects.js +58 -11
- package/resources/admin/organization/projects/projects.js.map +1 -1
- package/resources/admin/organization/projects/projects.mjs +58 -11
- package/resources/admin/organization/projects/projects.mjs.map +1 -1
- package/resources/admin/organization/projects/rate-limits.d.mts +8 -1
- package/resources/admin/organization/projects/rate-limits.d.mts.map +1 -1
- package/resources/admin/organization/projects/rate-limits.d.ts +8 -1
- package/resources/admin/organization/projects/rate-limits.d.ts.map +1 -1
- package/resources/admin/organization/projects/rate-limits.js +58 -13
- package/resources/admin/organization/projects/rate-limits.js.map +1 -1
- package/resources/admin/organization/projects/rate-limits.mjs +58 -13
- package/resources/admin/organization/projects/rate-limits.mjs.map +1 -1
- package/resources/admin/organization/projects/roles.d.mts +8 -1
- package/resources/admin/organization/projects/roles.d.mts.map +1 -1
- package/resources/admin/organization/projects/roles.d.ts +8 -1
- package/resources/admin/organization/projects/roles.d.ts.map +1 -1
- package/resources/admin/organization/projects/roles.js +58 -13
- package/resources/admin/organization/projects/roles.js.map +1 -1
- package/resources/admin/organization/projects/roles.mjs +58 -13
- package/resources/admin/organization/projects/roles.mjs.map +1 -1
- package/resources/admin/organization/projects/service-accounts/service-accounts.d.mts +8 -1
- 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 +8 -1
- package/resources/admin/organization/projects/service-accounts/service-accounts.d.ts.map +1 -1
- package/resources/admin/organization/projects/service-accounts/service-accounts.js +58 -13
- package/resources/admin/organization/projects/service-accounts/service-accounts.js.map +1 -1
- package/resources/admin/organization/projects/service-accounts/service-accounts.mjs +58 -13
- package/resources/admin/organization/projects/service-accounts/service-accounts.mjs.map +1 -1
- package/resources/admin/organization/projects/spend-alerts.d.mts +8 -1
- package/resources/admin/organization/projects/spend-alerts.d.mts.map +1 -1
- package/resources/admin/organization/projects/spend-alerts.d.ts +8 -1
- package/resources/admin/organization/projects/spend-alerts.d.ts.map +1 -1
- package/resources/admin/organization/projects/spend-alerts.js +58 -13
- package/resources/admin/organization/projects/spend-alerts.js.map +1 -1
- package/resources/admin/organization/projects/spend-alerts.mjs +58 -13
- package/resources/admin/organization/projects/spend-alerts.mjs.map +1 -1
- package/resources/admin/organization/projects/users/users.d.mts +8 -1
- package/resources/admin/organization/projects/users/users.d.mts.map +1 -1
- package/resources/admin/organization/projects/users/users.d.ts +8 -1
- package/resources/admin/organization/projects/users/users.d.ts.map +1 -1
- package/resources/admin/organization/projects/users/users.js +58 -13
- package/resources/admin/organization/projects/users/users.js.map +1 -1
- package/resources/admin/organization/projects/users/users.mjs +58 -13
- package/resources/admin/organization/projects/users/users.mjs.map +1 -1
- package/resources/admin/organization/roles.d.mts +8 -1
- package/resources/admin/organization/roles.d.mts.map +1 -1
- package/resources/admin/organization/roles.d.ts +8 -1
- package/resources/admin/organization/roles.d.ts.map +1 -1
- package/resources/admin/organization/roles.js +58 -11
- package/resources/admin/organization/roles.js.map +1 -1
- package/resources/admin/organization/roles.mjs +58 -11
- package/resources/admin/organization/roles.mjs.map +1 -1
- package/resources/admin/organization/spend-alerts.d.mts +8 -1
- package/resources/admin/organization/spend-alerts.d.mts.map +1 -1
- package/resources/admin/organization/spend-alerts.d.ts +8 -1
- package/resources/admin/organization/spend-alerts.d.ts.map +1 -1
- package/resources/admin/organization/spend-alerts.js +58 -11
- package/resources/admin/organization/spend-alerts.js.map +1 -1
- package/resources/admin/organization/spend-alerts.mjs +58 -11
- package/resources/admin/organization/spend-alerts.mjs.map +1 -1
- package/resources/admin/organization/users/roles.d.mts +8 -1
- package/resources/admin/organization/users/roles.d.mts.map +1 -1
- package/resources/admin/organization/users/roles.d.ts +8 -1
- package/resources/admin/organization/users/roles.d.ts.map +1 -1
- package/resources/admin/organization/users/roles.js +58 -13
- package/resources/admin/organization/users/roles.js.map +1 -1
- package/resources/admin/organization/users/roles.mjs +58 -13
- package/resources/admin/organization/users/roles.mjs.map +1 -1
- package/resources/admin/organization/users/users.d.mts +8 -1
- package/resources/admin/organization/users/users.d.mts.map +1 -1
- package/resources/admin/organization/users/users.d.ts +8 -1
- package/resources/admin/organization/users/users.d.ts.map +1 -1
- package/resources/admin/organization/users/users.js +58 -11
- package/resources/admin/organization/users/users.js.map +1 -1
- package/resources/admin/organization/users/users.mjs +58 -11
- package/resources/admin/organization/users/users.mjs.map +1 -1
- package/resources/batches.d.mts +8 -1
- package/resources/batches.d.mts.map +1 -1
- package/resources/batches.d.ts +8 -1
- package/resources/batches.d.ts.map +1 -1
- package/resources/batches.js +58 -3
- package/resources/batches.js.map +1 -1
- package/resources/batches.mjs +58 -3
- package/resources/batches.mjs.map +1 -1
- package/resources/beta/agents/agents.d.mts +67 -46
- package/resources/beta/agents/agents.d.mts.map +1 -1
- package/resources/beta/agents/agents.d.ts +67 -46
- package/resources/beta/agents/agents.d.ts.map +1 -1
- package/resources/beta/agents/agents.js +58 -12
- package/resources/beta/agents/agents.js.map +1 -1
- package/resources/beta/agents/agents.mjs +58 -12
- package/resources/beta/agents/agents.mjs.map +1 -1
- package/resources/beta/agents/environments/files.d.mts +5 -1
- package/resources/beta/agents/environments/files.d.mts.map +1 -1
- package/resources/beta/agents/environments/files.d.ts +5 -1
- package/resources/beta/agents/environments/files.d.ts.map +1 -1
- package/resources/beta/agents/environments/templates.d.mts +24 -13
- package/resources/beta/agents/environments/templates.d.mts.map +1 -1
- package/resources/beta/agents/environments/templates.d.ts +24 -13
- package/resources/beta/agents/environments/templates.d.ts.map +1 -1
- package/resources/beta/agents/environments/templates.js +58 -12
- package/resources/beta/agents/environments/templates.js.map +1 -1
- package/resources/beta/agents/environments/templates.mjs +58 -12
- package/resources/beta/agents/environments/templates.mjs.map +1 -1
- package/resources/beta/agents/sessions/artifacts.d.mts +17 -2
- package/resources/beta/agents/sessions/artifacts.d.mts.map +1 -1
- package/resources/beta/agents/sessions/artifacts.d.ts +17 -2
- package/resources/beta/agents/sessions/artifacts.d.ts.map +1 -1
- package/resources/beta/agents/sessions/artifacts.js +58 -14
- package/resources/beta/agents/sessions/artifacts.js.map +1 -1
- package/resources/beta/agents/sessions/artifacts.mjs +58 -14
- package/resources/beta/agents/sessions/artifacts.mjs.map +1 -1
- package/resources/beta/agents/sessions/events.d.mts +4 -1
- package/resources/beta/agents/sessions/events.d.mts.map +1 -1
- package/resources/beta/agents/sessions/events.d.ts +4 -1
- package/resources/beta/agents/sessions/events.d.ts.map +1 -1
- package/resources/beta/agents/sessions/events.js +4 -1
- package/resources/beta/agents/sessions/events.js.map +1 -1
- package/resources/beta/agents/sessions/events.mjs +4 -1
- package/resources/beta/agents/sessions/events.mjs.map +1 -1
- package/resources/beta/agents/sessions/items.d.mts +8 -1
- package/resources/beta/agents/sessions/items.d.mts.map +1 -1
- package/resources/beta/agents/sessions/items.d.ts +8 -1
- package/resources/beta/agents/sessions/items.d.ts.map +1 -1
- package/resources/beta/agents/sessions/items.js +58 -15
- package/resources/beta/agents/sessions/items.js.map +1 -1
- package/resources/beta/agents/sessions/items.mjs +58 -15
- package/resources/beta/agents/sessions/items.mjs.map +1 -1
- package/resources/beta/agents/sessions/sessions.d.mts +25 -8
- package/resources/beta/agents/sessions/sessions.d.mts.map +1 -1
- package/resources/beta/agents/sessions/sessions.d.ts +25 -8
- package/resources/beta/agents/sessions/sessions.d.ts.map +1 -1
- package/resources/beta/agents/sessions/sessions.js +61 -14
- package/resources/beta/agents/sessions/sessions.js.map +1 -1
- package/resources/beta/agents/sessions/sessions.mjs +61 -14
- package/resources/beta/agents/sessions/sessions.mjs.map +1 -1
- package/resources/beta/agents/sessions/subagents/subagents.d.mts +8 -1
- package/resources/beta/agents/sessions/subagents/subagents.d.mts.map +1 -1
- package/resources/beta/agents/sessions/subagents/subagents.d.ts +8 -1
- package/resources/beta/agents/sessions/subagents/subagents.d.ts.map +1 -1
- package/resources/beta/agents/sessions/subagents/subagents.js +58 -14
- package/resources/beta/agents/sessions/subagents/subagents.js.map +1 -1
- package/resources/beta/agents/sessions/subagents/subagents.mjs +58 -14
- package/resources/beta/agents/sessions/subagents/subagents.mjs.map +1 -1
- package/resources/beta/agents/sessions/turns.d.mts +11 -3
- package/resources/beta/agents/sessions/turns.d.mts.map +1 -1
- package/resources/beta/agents/sessions/turns.d.ts +11 -3
- package/resources/beta/agents/sessions/turns.d.ts.map +1 -1
- package/resources/beta/agents/sessions/turns.js +58 -15
- package/resources/beta/agents/sessions/turns.js.map +1 -1
- package/resources/beta/agents/sessions/turns.mjs +58 -15
- package/resources/beta/agents/sessions/turns.mjs.map +1 -1
- package/resources/beta/agents/vaults/credentials.d.mts +169 -24
- package/resources/beta/agents/vaults/credentials.d.mts.map +1 -1
- package/resources/beta/agents/vaults/credentials.d.ts +169 -24
- package/resources/beta/agents/vaults/credentials.d.ts.map +1 -1
- package/resources/beta/agents/vaults/credentials.js +58 -15
- package/resources/beta/agents/vaults/credentials.js.map +1 -1
- package/resources/beta/agents/vaults/credentials.mjs +58 -15
- package/resources/beta/agents/vaults/credentials.mjs.map +1 -1
- package/resources/beta/agents/vaults/index.d.mts +1 -1
- package/resources/beta/agents/vaults/index.d.mts.map +1 -1
- package/resources/beta/agents/vaults/index.d.ts +1 -1
- package/resources/beta/agents/vaults/index.d.ts.map +1 -1
- package/resources/beta/agents/vaults/index.js.map +1 -1
- package/resources/beta/agents/vaults/index.mjs.map +1 -1
- package/resources/beta/agents/vaults/vaults.d.mts +17 -6
- package/resources/beta/agents/vaults/vaults.d.mts.map +1 -1
- package/resources/beta/agents/vaults/vaults.d.ts +17 -6
- package/resources/beta/agents/vaults/vaults.d.ts.map +1 -1
- package/resources/beta/agents/vaults/vaults.js +58 -12
- package/resources/beta/agents/vaults/vaults.js.map +1 -1
- package/resources/beta/agents/vaults/vaults.mjs +58 -12
- package/resources/beta/agents/vaults/vaults.mjs.map +1 -1
- package/resources/beta/assistants.d.mts +8 -1
- package/resources/beta/assistants.d.mts.map +1 -1
- package/resources/beta/assistants.d.ts +8 -1
- package/resources/beta/assistants.d.ts.map +1 -1
- package/resources/beta/assistants.js +58 -5
- package/resources/beta/assistants.js.map +1 -1
- package/resources/beta/assistants.mjs +58 -5
- package/resources/beta/assistants.mjs.map +1 -1
- package/resources/beta/chatkit/threads.d.mts +16 -2
- package/resources/beta/chatkit/threads.d.mts.map +1 -1
- package/resources/beta/chatkit/threads.d.ts +16 -2
- package/resources/beta/chatkit/threads.d.ts.map +1 -1
- package/resources/beta/chatkit/threads.js +64 -24
- package/resources/beta/chatkit/threads.js.map +1 -1
- package/resources/beta/chatkit/threads.mjs +64 -24
- package/resources/beta/chatkit/threads.mjs.map +1 -1
- package/resources/beta/responses/responses.d.mts +15 -12
- package/resources/beta/responses/responses.d.mts.map +1 -1
- package/resources/beta/responses/responses.d.ts +15 -12
- package/resources/beta/responses/responses.d.ts.map +1 -1
- package/resources/beta/responses/responses.js.map +1 -1
- package/resources/beta/responses/responses.mjs.map +1 -1
- package/resources/beta/threads/messages.d.mts +8 -1
- package/resources/beta/threads/messages.d.mts.map +1 -1
- package/resources/beta/threads/messages.d.ts +8 -1
- package/resources/beta/threads/messages.d.ts.map +1 -1
- package/resources/beta/threads/messages.js +58 -5
- package/resources/beta/threads/messages.js.map +1 -1
- package/resources/beta/threads/messages.mjs +58 -5
- package/resources/beta/threads/messages.mjs.map +1 -1
- package/resources/beta/threads/runs/runs.d.mts +8 -1
- package/resources/beta/threads/runs/runs.d.mts.map +1 -1
- package/resources/beta/threads/runs/runs.d.ts +8 -1
- package/resources/beta/threads/runs/runs.d.ts.map +1 -1
- package/resources/beta/threads/runs/runs.js +58 -5
- package/resources/beta/threads/runs/runs.js.map +1 -1
- package/resources/beta/threads/runs/runs.mjs +58 -5
- package/resources/beta/threads/runs/runs.mjs.map +1 -1
- package/resources/chat/completions/completions.d.mts +13 -3
- package/resources/chat/completions/completions.d.mts.map +1 -1
- package/resources/chat/completions/completions.d.ts +13 -3
- package/resources/chat/completions/completions.d.ts.map +1 -1
- package/resources/chat/completions/completions.js +58 -12
- package/resources/chat/completions/completions.js.map +1 -1
- package/resources/chat/completions/completions.mjs +58 -12
- package/resources/chat/completions/completions.mjs.map +1 -1
- package/resources/chat/completions/messages.d.mts +8 -1
- package/resources/chat/completions/messages.d.mts.map +1 -1
- package/resources/chat/completions/messages.d.ts +8 -1
- package/resources/chat/completions/messages.d.ts.map +1 -1
- package/resources/chat/completions/messages.js +58 -14
- package/resources/chat/completions/messages.js.map +1 -1
- package/resources/chat/completions/messages.mjs +58 -14
- package/resources/chat/completions/messages.mjs.map +1 -1
- package/resources/containers/containers.d.mts +8 -1
- package/resources/containers/containers.d.mts.map +1 -1
- package/resources/containers/containers.d.ts +8 -1
- package/resources/containers/containers.d.ts.map +1 -1
- package/resources/containers/containers.js +58 -3
- package/resources/containers/containers.js.map +1 -1
- package/resources/containers/containers.mjs +58 -3
- package/resources/containers/containers.mjs.map +1 -1
- package/resources/containers/files/files.d.mts +8 -1
- package/resources/containers/files/files.d.mts.map +1 -1
- package/resources/containers/files/files.d.ts +8 -1
- package/resources/containers/files/files.d.ts.map +1 -1
- package/resources/containers/files/files.js +58 -3
- package/resources/containers/files/files.js.map +1 -1
- package/resources/containers/files/files.mjs +58 -3
- package/resources/containers/files/files.mjs.map +1 -1
- package/resources/conversations/conversations.d.mts +3 -4
- package/resources/conversations/conversations.d.mts.map +1 -1
- package/resources/conversations/conversations.d.ts +3 -4
- package/resources/conversations/conversations.d.ts.map +1 -1
- package/resources/conversations/conversations.js.map +1 -1
- package/resources/conversations/conversations.mjs.map +1 -1
- package/resources/conversations/items.d.mts +8 -1
- package/resources/conversations/items.d.mts.map +1 -1
- package/resources/conversations/items.d.ts +8 -1
- package/resources/conversations/items.d.ts.map +1 -1
- package/resources/conversations/items.js +58 -3
- package/resources/conversations/items.js.map +1 -1
- package/resources/conversations/items.mjs +58 -3
- package/resources/conversations/items.mjs.map +1 -1
- package/resources/evals/evals.d.mts +8 -1
- package/resources/evals/evals.d.mts.map +1 -1
- package/resources/evals/evals.d.ts +8 -1
- package/resources/evals/evals.d.ts.map +1 -1
- package/resources/evals/evals.js +58 -3
- package/resources/evals/evals.js.map +1 -1
- package/resources/evals/evals.mjs +58 -3
- package/resources/evals/evals.mjs.map +1 -1
- package/resources/evals/runs/runs.d.mts +8 -1
- package/resources/evals/runs/runs.d.mts.map +1 -1
- package/resources/evals/runs/runs.d.ts +8 -1
- package/resources/evals/runs/runs.d.ts.map +1 -1
- package/resources/evals/runs/runs.js +58 -3
- package/resources/evals/runs/runs.js.map +1 -1
- package/resources/evals/runs/runs.mjs +58 -3
- 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 +58 -3
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +58 -3
- package/resources/files.mjs.map +1 -1
- package/resources/fine-tuning/checkpoints/permissions.d.mts +16 -2
- package/resources/fine-tuning/checkpoints/permissions.d.mts.map +1 -1
- package/resources/fine-tuning/checkpoints/permissions.d.ts +16 -2
- package/resources/fine-tuning/checkpoints/permissions.d.ts.map +1 -1
- package/resources/fine-tuning/checkpoints/permissions.js +64 -26
- package/resources/fine-tuning/checkpoints/permissions.js.map +1 -1
- package/resources/fine-tuning/checkpoints/permissions.mjs +64 -26
- package/resources/fine-tuning/checkpoints/permissions.mjs.map +1 -1
- package/resources/fine-tuning/jobs/checkpoints.d.mts +8 -1
- package/resources/fine-tuning/jobs/checkpoints.d.mts.map +1 -1
- package/resources/fine-tuning/jobs/checkpoints.d.ts +8 -1
- package/resources/fine-tuning/jobs/checkpoints.d.ts.map +1 -1
- package/resources/fine-tuning/jobs/checkpoints.js +58 -13
- package/resources/fine-tuning/jobs/checkpoints.js.map +1 -1
- package/resources/fine-tuning/jobs/checkpoints.mjs +58 -13
- package/resources/fine-tuning/jobs/checkpoints.mjs.map +1 -1
- package/resources/fine-tuning/jobs/jobs.d.mts +16 -2
- package/resources/fine-tuning/jobs/jobs.d.mts.map +1 -1
- package/resources/fine-tuning/jobs/jobs.d.ts +16 -2
- package/resources/fine-tuning/jobs/jobs.d.ts.map +1 -1
- package/resources/fine-tuning/jobs/jobs.js +64 -24
- package/resources/fine-tuning/jobs/jobs.js.map +1 -1
- package/resources/fine-tuning/jobs/jobs.mjs +64 -24
- package/resources/fine-tuning/jobs/jobs.mjs.map +1 -1
- package/resources/images.d.mts +3 -4
- package/resources/images.d.mts.map +1 -1
- package/resources/images.d.ts +3 -4
- package/resources/images.d.ts.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/realtime/client-secrets.d.mts +7 -3
- package/resources/realtime/client-secrets.d.mts.map +1 -1
- package/resources/realtime/client-secrets.d.ts +7 -3
- package/resources/realtime/client-secrets.d.ts.map +1 -1
- package/resources/realtime/realtime.d.mts +17 -8
- package/resources/realtime/realtime.d.mts.map +1 -1
- package/resources/realtime/realtime.d.ts +17 -8
- 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.d.mts +8 -1
- package/resources/responses/input-items.d.mts.map +1 -1
- package/resources/responses/input-items.d.ts +8 -1
- package/resources/responses/input-items.d.ts.map +1 -1
- package/resources/responses/input-items.js +58 -13
- package/resources/responses/input-items.js.map +1 -1
- package/resources/responses/input-items.mjs +58 -13
- package/resources/responses/input-items.mjs.map +1 -1
- package/resources/responses/responses.d.mts +26 -12
- package/resources/responses/responses.d.mts.map +1 -1
- package/resources/responses/responses.d.ts +26 -12
- package/resources/responses/responses.d.ts.map +1 -1
- package/resources/responses/responses.js +58 -0
- package/resources/responses/responses.js.map +1 -1
- package/resources/responses/responses.mjs +58 -0
- package/resources/responses/responses.mjs.map +1 -1
- package/resources/safety/cases.d.mts +26 -0
- package/resources/safety/cases.d.mts.map +1 -0
- package/resources/safety/cases.d.ts +26 -0
- package/resources/safety/cases.d.ts.map +1 -0
- package/resources/safety/cases.js +16 -0
- package/resources/safety/cases.js.map +1 -0
- package/resources/safety/cases.mjs +12 -0
- package/resources/safety/cases.mjs.map +1 -0
- package/resources/safety/index.d.mts +1 -0
- package/resources/safety/index.d.mts.map +1 -1
- package/resources/safety/index.d.ts +1 -0
- package/resources/safety/index.d.ts.map +1 -1
- package/resources/safety/index.js +3 -1
- package/resources/safety/index.js.map +1 -1
- package/resources/safety/index.mjs +1 -0
- package/resources/safety/index.mjs.map +1 -1
- package/resources/safety/safety.d.mts +4 -0
- package/resources/safety/safety.d.mts.map +1 -1
- package/resources/safety/safety.d.ts +4 -0
- package/resources/safety/safety.d.ts.map +1 -1
- package/resources/safety/safety.js +4 -0
- package/resources/safety/safety.js.map +1 -1
- package/resources/safety/safety.mjs +4 -0
- package/resources/safety/safety.mjs.map +1 -1
- package/resources/shared.d.mts +1 -1
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +1 -1
- package/resources/shared.d.ts.map +1 -1
- package/resources/skills/skills.d.mts +8 -1
- package/resources/skills/skills.d.mts.map +1 -1
- package/resources/skills/skills.d.ts +8 -1
- package/resources/skills/skills.d.ts.map +1 -1
- package/resources/skills/skills.js +58 -3
- package/resources/skills/skills.js.map +1 -1
- package/resources/skills/skills.mjs +58 -3
- package/resources/skills/skills.mjs.map +1 -1
- package/resources/skills/versions/versions.d.mts +8 -1
- package/resources/skills/versions/versions.d.mts.map +1 -1
- package/resources/skills/versions/versions.d.ts +8 -1
- package/resources/skills/versions/versions.d.ts.map +1 -1
- package/resources/skills/versions/versions.js +58 -3
- package/resources/skills/versions/versions.js.map +1 -1
- package/resources/skills/versions/versions.mjs +58 -3
- package/resources/skills/versions/versions.mjs.map +1 -1
- package/resources/vector-stores/files.d.mts +8 -1
- package/resources/vector-stores/files.d.mts.map +1 -1
- package/resources/vector-stores/files.d.ts +8 -1
- package/resources/vector-stores/files.d.ts.map +1 -1
- package/resources/vector-stores/files.js +58 -3
- package/resources/vector-stores/files.js.map +1 -1
- package/resources/vector-stores/files.mjs +58 -3
- package/resources/vector-stores/files.mjs.map +1 -1
- package/resources/vector-stores/vector-stores.d.mts +8 -1
- package/resources/vector-stores/vector-stores.d.mts.map +1 -1
- package/resources/vector-stores/vector-stores.d.ts +8 -1
- package/resources/vector-stores/vector-stores.d.ts.map +1 -1
- package/resources/vector-stores/vector-stores.js +58 -3
- package/resources/vector-stores/vector-stores.js.map +1 -1
- package/resources/vector-stores/vector-stores.mjs +58 -3
- package/resources/vector-stores/vector-stores.mjs.map +1 -1
- package/resources/videos.d.mts +16 -2
- package/resources/videos.d.mts.map +1 -1
- package/resources/videos.d.ts +16 -2
- package/resources/videos.d.ts.map +1 -1
- package/resources/videos.js +64 -12
- package/resources/videos.js.map +1 -1
- package/resources/videos.mjs +64 -12
- package/resources/videos.mjs.map +1 -1
- package/resources/webhooks/event-types.d.mts +17 -0
- package/resources/webhooks/event-types.d.mts.map +1 -0
- package/resources/webhooks/event-types.d.ts +17 -0
- package/resources/webhooks/event-types.d.ts.map +1 -0
- package/resources/webhooks/event-types.js +21 -0
- package/resources/webhooks/event-types.js.map +1 -0
- package/resources/webhooks/event-types.mjs +17 -0
- package/resources/webhooks/event-types.mjs.map +1 -0
- package/resources/webhooks/index.d.mts +1 -0
- package/resources/webhooks/index.d.mts.map +1 -1
- package/resources/webhooks/index.d.ts +1 -0
- package/resources/webhooks/index.d.ts.map +1 -1
- package/resources/webhooks/index.js +3 -0
- package/resources/webhooks/index.js.map +1 -1
- package/resources/webhooks/index.mjs +1 -0
- package/resources/webhooks/index.mjs.map +1 -1
- package/resources/webhooks/webhooks.d.mts +368 -2
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +368 -2
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js +168 -0
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs +168 -0
- package/resources/webhooks/webhooks.mjs.map +1 -1
- package/src/client.ts +16 -10
- package/src/internal/parse.ts +14 -10
- package/src/internal/utils/log.ts +1 -0
- package/src/resources/admin/organization/admin-api-keys.ts +206 -2
- package/src/resources/admin/organization/audit-logs.ts +270 -1
- package/src/resources/admin/organization/certificates.ts +295 -2
- package/src/resources/admin/organization/external-storage.ts +420 -0
- package/src/resources/admin/organization/groups/groups.ts +200 -1
- package/src/resources/admin/organization/groups/roles.ts +202 -1
- package/src/resources/admin/organization/groups/users.ts +202 -1
- package/src/resources/admin/organization/index.ts +10 -0
- package/src/resources/admin/organization/invites.ts +200 -1
- package/src/resources/admin/organization/organization.ts +24 -0
- package/src/resources/admin/organization/projects/api-keys.ts +202 -1
- package/src/resources/admin/organization/projects/certificates.ts +202 -1
- package/src/resources/admin/organization/projects/groups/groups.ts +202 -1
- package/src/resources/admin/organization/projects/projects.ts +200 -1
- package/src/resources/admin/organization/projects/rate-limits.ts +202 -1
- package/src/resources/admin/organization/projects/roles.ts +202 -1
- package/src/resources/admin/organization/projects/service-accounts/service-accounts.ts +202 -1
- package/src/resources/admin/organization/projects/spend-alerts.ts +202 -1
- package/src/resources/admin/organization/projects/users/users.ts +202 -1
- package/src/resources/admin/organization/roles.ts +200 -1
- package/src/resources/admin/organization/spend-alerts.ts +200 -1
- package/src/resources/admin/organization/users/roles.ts +202 -1
- package/src/resources/admin/organization/users/users.ts +200 -1
- package/src/resources/batches.ts +200 -1
- package/src/resources/beta/agents/agents.ts +260 -46
- package/src/resources/beta/agents/environments/files.ts +6 -1
- package/src/resources/beta/agents/environments/templates.ts +216 -13
- package/src/resources/beta/agents/sessions/artifacts.ts +213 -2
- package/src/resources/beta/agents/sessions/events.ts +4 -1
- package/src/resources/beta/agents/sessions/items.ts +202 -1
- package/src/resources/beta/agents/sessions/sessions.ts +218 -8
- package/src/resources/beta/agents/sessions/subagents/subagents.ts +202 -1
- package/src/resources/beta/agents/sessions/turns.ts +205 -3
- package/src/resources/beta/agents/vaults/credentials.ts +389 -23
- package/src/resources/beta/agents/vaults/index.ts +2 -0
- package/src/resources/beta/agents/vaults/vaults.ts +212 -4
- package/src/resources/beta/assistants.ts +200 -1
- package/src/resources/beta/chatkit/threads.ts +311 -2
- package/src/resources/beta/responses/responses.ts +15 -12
- package/src/resources/beta/threads/messages.ts +202 -1
- package/src/resources/beta/threads/runs/runs.ts +202 -1
- package/src/resources/chat/completions/completions.ts +205 -3
- package/src/resources/chat/completions/messages.ts +202 -1
- package/src/resources/containers/containers.ts +200 -1
- package/src/resources/containers/files/files.ts +202 -1
- package/src/resources/conversations/conversations.ts +3 -4
- package/src/resources/conversations/items.ts +202 -1
- package/src/resources/evals/evals.ts +200 -1
- package/src/resources/evals/runs/runs.ts +202 -1
- package/src/resources/files.ts +200 -1
- package/src/resources/fine-tuning/checkpoints/permissions.ts +297 -2
- package/src/resources/fine-tuning/jobs/checkpoints.ts +202 -1
- package/src/resources/fine-tuning/jobs/jobs.ts +295 -2
- package/src/resources/images.ts +3 -4
- package/src/resources/index.ts +1 -1
- package/src/resources/realtime/client-secrets.ts +7 -3
- package/src/resources/realtime/realtime.ts +17 -8
- package/src/resources/responses/input-items.ts +202 -1
- package/src/resources/responses/responses.ts +263 -13
- package/src/resources/safety/cases.ts +39 -0
- package/src/resources/safety/index.ts +1 -0
- package/src/resources/safety/safety.ts +6 -0
- package/src/resources/shared.ts +2 -2
- package/src/resources/skills/skills.ts +200 -1
- package/src/resources/skills/versions/versions.ts +202 -1
- package/src/resources/vector-stores/files.ts +202 -1
- package/src/resources/vector-stores/vector-stores.ts +200 -1
- package/src/resources/videos.ts +295 -2
- package/src/resources/webhooks/api.md +42 -21
- package/src/resources/webhooks/event-types.ts +21 -0
- package/src/resources/webhooks/index.ts +1 -0
- package/src/resources/webhooks/webhooks.ts +752 -1
- 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
|
@@ -74,7 +74,14 @@ export declare class Credentials extends APIResource {
|
|
|
74
74
|
* }
|
|
75
75
|
* ```
|
|
76
76
|
*/
|
|
77
|
-
list(vaultID: string, query?: CredentialListParams
|
|
77
|
+
list(vaultID: string, query?: (CredentialListParams & ({
|
|
78
|
+
[K in 'method' | 'path' | 'query' | 'body' | 'headers' | 'maxRetries' | 'stream' | 'timeout' | 'httpAgent' | 'fetchOptions' | 'signal' | 'idempotencyKey' | 'defaultBaseURL' | '__metadata' | '__binaryRequest' | '__binaryResponse' | '__streamClass' | '__security' | '__synthesizeEventData']?: never;
|
|
79
|
+
} | null | undefined)) | null | undefined, options?: RequestOptions): PagePromise<CredentialsPage, Credential>;
|
|
80
|
+
list(vaultID: string, options?: {
|
|
81
|
+
[K in 'headers' | 'maxRetries' | 'timeout' | 'signal' | 'idempotencyKey' | 'query']?: RequestOptions[K];
|
|
82
|
+
} & {
|
|
83
|
+
[K in 'method' | 'path' | 'body' | 'stream' | 'httpAgent' | 'fetchOptions' | 'defaultBaseURL' | '__metadata' | '__binaryRequest' | '__binaryResponse' | '__streamClass' | '__security' | '__synthesizeEventData']?: never;
|
|
84
|
+
}): PagePromise<CredentialsPage, Credential>;
|
|
78
85
|
/**
|
|
79
86
|
* Deletes a vault credential. See
|
|
80
87
|
* [vaults](https://developers.openai.com/api/docs/guides/agents-api/tools/vaults).
|
|
@@ -92,7 +99,7 @@ export declare class Credentials extends APIResource {
|
|
|
92
99
|
}
|
|
93
100
|
export type CredentialsPage = CursorPage<Credential>;
|
|
94
101
|
/**
|
|
95
|
-
* Metadata for a stored
|
|
102
|
+
* Metadata for a stored credential. Secret values are never returned.
|
|
96
103
|
*/
|
|
97
104
|
export interface Credential {
|
|
98
105
|
/**
|
|
@@ -100,7 +107,7 @@ export interface Credential {
|
|
|
100
107
|
*/
|
|
101
108
|
id: string;
|
|
102
109
|
/**
|
|
103
|
-
* The authentication method and non-secret configuration
|
|
110
|
+
* The authentication method and non-secret configuration of the credential.
|
|
104
111
|
*/
|
|
105
112
|
auth: CredentialAuth;
|
|
106
113
|
/**
|
|
@@ -125,10 +132,9 @@ export interface Credential {
|
|
|
125
132
|
vault_id: string;
|
|
126
133
|
}
|
|
127
134
|
/**
|
|
128
|
-
* The
|
|
129
|
-
* secrets.
|
|
135
|
+
* The authentication configuration of a vault credential, excluding secrets.
|
|
130
136
|
*/
|
|
131
|
-
export type CredentialAuth = CredentialAuth.VaultCredentialAuthResourceMcpOauth | CredentialAuth.VaultCredentialAuthResourceStaticBearer;
|
|
137
|
+
export type CredentialAuth = CredentialAuth.VaultCredentialAuthResourceMcpOauth | CredentialAuth.VaultCredentialAuthResourceStaticBearer | CredentialAuth.VaultCredentialAuthResourceEnvironmentVariable;
|
|
132
138
|
export declare namespace CredentialAuth {
|
|
133
139
|
/**
|
|
134
140
|
* Public metadata for an OAuth credential; tokens and client secrets are never
|
|
@@ -144,8 +150,7 @@ export declare namespace CredentialAuth {
|
|
|
144
150
|
*/
|
|
145
151
|
mcp_server_url: string;
|
|
146
152
|
/**
|
|
147
|
-
*
|
|
148
|
-
* values.
|
|
153
|
+
* Public refresh metadata without refresh tokens or OAuth client secrets.
|
|
149
154
|
*/
|
|
150
155
|
refresh: VaultCredentialAuthResourceMcpOauth.Refresh | null;
|
|
151
156
|
/**
|
|
@@ -155,8 +160,7 @@ export declare namespace CredentialAuth {
|
|
|
155
160
|
}
|
|
156
161
|
namespace VaultCredentialAuthResourceMcpOauth {
|
|
157
162
|
/**
|
|
158
|
-
*
|
|
159
|
-
* values.
|
|
163
|
+
* Public refresh metadata without refresh tokens or OAuth client secrets.
|
|
160
164
|
*/
|
|
161
165
|
interface Refresh {
|
|
162
166
|
/**
|
|
@@ -195,11 +199,32 @@ export declare namespace CredentialAuth {
|
|
|
195
199
|
*/
|
|
196
200
|
type: 'static_bearer';
|
|
197
201
|
}
|
|
202
|
+
/**
|
|
203
|
+
* Metadata for an HTTP credential used only in OpenAI-hosted environments. Sandbox
|
|
204
|
+
* code receives a placeholder. The proxy substitutes the secret for allowed HTTPS
|
|
205
|
+
* destinations on ports 443 and 8443. The real secret is not available to sandbox
|
|
206
|
+
* code for local computation and is never returned in this resource.
|
|
207
|
+
*/
|
|
208
|
+
interface VaultCredentialAuthResourceEnvironmentVariable {
|
|
209
|
+
/**
|
|
210
|
+
* The destinations where the proxy can substitute the secret, subject to the
|
|
211
|
+
* environment network policy.
|
|
212
|
+
*/
|
|
213
|
+
networking: CredentialsAPI.CredentialNetworking;
|
|
214
|
+
/**
|
|
215
|
+
* The environment variable name that receives the placeholder in the sandbox.
|
|
216
|
+
*/
|
|
217
|
+
secret_name: string;
|
|
218
|
+
/**
|
|
219
|
+
* The type of the object. Always `environment_variable`.
|
|
220
|
+
*/
|
|
221
|
+
type: 'environment_variable';
|
|
222
|
+
}
|
|
198
223
|
}
|
|
199
224
|
/**
|
|
200
|
-
* Authentication credentials for an MCP server
|
|
225
|
+
* Authentication credentials for an MCP server or an OpenAI-hosted environment.
|
|
201
226
|
*/
|
|
202
|
-
export type CredentialAuthCreateParam = CredentialAuthCreateParam.CreateVaultCredentialAuthParamMcpOauth | CredentialAuthCreateParam.CreateVaultCredentialAuthParamStaticBearer;
|
|
227
|
+
export type CredentialAuthCreateParam = CredentialAuthCreateParam.CreateVaultCredentialAuthParamMcpOauth | CredentialAuthCreateParam.CreateVaultCredentialAuthParamStaticBearer | CredentialAuthCreateParam.CreateVaultCredentialAuthParamEnvironmentVariable;
|
|
203
228
|
export declare namespace CredentialAuthCreateParam {
|
|
204
229
|
/**
|
|
205
230
|
* An OAuth credential for an HTTPS MCP destination.
|
|
@@ -222,13 +247,13 @@ export declare namespace CredentialAuthCreateParam {
|
|
|
222
247
|
*/
|
|
223
248
|
expires_at?: string | null;
|
|
224
249
|
/**
|
|
225
|
-
*
|
|
250
|
+
* Optional refresh configuration for an HTTPS OAuth token endpoint.
|
|
226
251
|
*/
|
|
227
252
|
refresh?: CreateVaultCredentialAuthParamMcpOauth.Refresh | null;
|
|
228
253
|
}
|
|
229
254
|
namespace CreateVaultCredentialAuthParamMcpOauth {
|
|
230
255
|
/**
|
|
231
|
-
*
|
|
256
|
+
* Optional refresh configuration for an HTTPS OAuth token endpoint.
|
|
232
257
|
*/
|
|
233
258
|
interface Refresh {
|
|
234
259
|
/**
|
|
@@ -278,12 +303,44 @@ export declare namespace CredentialAuthCreateParam {
|
|
|
278
303
|
*/
|
|
279
304
|
type: 'static_bearer';
|
|
280
305
|
}
|
|
306
|
+
/**
|
|
307
|
+
* An HTTP credential for OpenAI-hosted environments only. The sandbox receives an
|
|
308
|
+
* environment variable containing a placeholder, not the secret. Use the
|
|
309
|
+
* placeholder unchanged in outgoing requests. The egress proxy replaces the
|
|
310
|
+
* placeholder with the secret for allowed HTTPS destinations on ports 443 and
|
|
311
|
+
* 8443. Sandbox code cannot read the real secret or use it for local computation,
|
|
312
|
+
* such as signing a request.
|
|
313
|
+
*/
|
|
314
|
+
interface CreateVaultCredentialAuthParamEnvironmentVariable {
|
|
315
|
+
/**
|
|
316
|
+
* The destinations where the proxy can substitute this secret. The environment
|
|
317
|
+
* network policy must also allow them.
|
|
318
|
+
*/
|
|
319
|
+
networking: CredentialsAPI.CredentialNetworkingParam;
|
|
320
|
+
/**
|
|
321
|
+
* The environment variable name that receives the placeholder, such as
|
|
322
|
+
* `SERVICE_API_KEY`. Use ASCII letters, digits, and underscores, starting with a
|
|
323
|
+
* letter or underscore. Names starting with `CODEX_` and managed proxy or
|
|
324
|
+
* certificate variable names are reserved.
|
|
325
|
+
*/
|
|
326
|
+
secret_name: string;
|
|
327
|
+
/**
|
|
328
|
+
* The write-only secret to store. Never returned in credential resources or
|
|
329
|
+
* supplied directly to sandbox code. Must be nonempty and must not contain
|
|
330
|
+
* carriage returns, newlines, or NUL bytes.
|
|
331
|
+
*/
|
|
332
|
+
secret_value: string;
|
|
333
|
+
/**
|
|
334
|
+
* The type of the object. Always `environment_variable`.
|
|
335
|
+
*/
|
|
336
|
+
type: 'environment_variable';
|
|
337
|
+
}
|
|
281
338
|
}
|
|
282
339
|
/**
|
|
283
|
-
* Updates to a vault credential without changing its authentication method or
|
|
284
|
-
*
|
|
340
|
+
* Updates to a vault credential without changing its authentication method or
|
|
341
|
+
* destination configuration.
|
|
285
342
|
*/
|
|
286
|
-
export type CredentialAuthRotateParam = CredentialAuthRotateParam.RotateVaultCredentialAuthParamMcpOauth | CredentialAuthRotateParam.RotateVaultCredentialAuthParamStaticBearer;
|
|
343
|
+
export type CredentialAuthRotateParam = CredentialAuthRotateParam.RotateVaultCredentialAuthParamMcpOauth | CredentialAuthRotateParam.RotateVaultCredentialAuthParamStaticBearer | CredentialAuthRotateParam.RotateVaultCredentialAuthParamEnvironmentVariable;
|
|
287
344
|
export declare namespace CredentialAuthRotateParam {
|
|
288
345
|
/**
|
|
289
346
|
* Rotate an OAuth credential for an HTTPS MCP destination.
|
|
@@ -304,13 +361,13 @@ export declare namespace CredentialAuthRotateParam {
|
|
|
304
361
|
*/
|
|
305
362
|
expires_at?: string | null;
|
|
306
363
|
/**
|
|
307
|
-
*
|
|
364
|
+
* Optional write-only refresh-token and client-secret updates.
|
|
308
365
|
*/
|
|
309
366
|
refresh?: RotateVaultCredentialAuthParamMcpOauth.Refresh | null;
|
|
310
367
|
}
|
|
311
368
|
namespace RotateVaultCredentialAuthParamMcpOauth {
|
|
312
369
|
/**
|
|
313
|
-
*
|
|
370
|
+
* Optional write-only refresh-token and client-secret updates.
|
|
314
371
|
*/
|
|
315
372
|
interface Refresh {
|
|
316
373
|
/**
|
|
@@ -324,8 +381,7 @@ export declare namespace CredentialAuthRotateParam {
|
|
|
324
381
|
*/
|
|
325
382
|
scope?: string | null;
|
|
326
383
|
/**
|
|
327
|
-
* Client-secret updates
|
|
328
|
-
* method.
|
|
384
|
+
* Client-secret updates for the existing token endpoint authentication method.
|
|
329
385
|
*/
|
|
330
386
|
token_endpoint_auth?: CredentialsAPI.McpOauthTokenEndpointAuthRotateParam | null;
|
|
331
387
|
}
|
|
@@ -344,6 +400,22 @@ export declare namespace CredentialAuthRotateParam {
|
|
|
344
400
|
*/
|
|
345
401
|
type: 'static_bearer';
|
|
346
402
|
}
|
|
403
|
+
/**
|
|
404
|
+
* Replace the secret for an OpenAI-hosted environment credential. The environment
|
|
405
|
+
* variable name and networking configuration remain unchanged.
|
|
406
|
+
*/
|
|
407
|
+
interface RotateVaultCredentialAuthParamEnvironmentVariable {
|
|
408
|
+
/**
|
|
409
|
+
* The write-only replacement secret. Never returned in credential resources or
|
|
410
|
+
* supplied directly to sandbox code. Must be nonempty and must not contain
|
|
411
|
+
* carriage returns, newlines, or NUL bytes.
|
|
412
|
+
*/
|
|
413
|
+
secret_value: string;
|
|
414
|
+
/**
|
|
415
|
+
* The type of the object. Always `environment_variable`.
|
|
416
|
+
*/
|
|
417
|
+
type: 'environment_variable';
|
|
418
|
+
}
|
|
347
419
|
}
|
|
348
420
|
/**
|
|
349
421
|
* Confirmation that a vault credential was deleted.
|
|
@@ -362,6 +434,74 @@ export interface CredentialDeleted {
|
|
|
362
434
|
*/
|
|
363
435
|
object: 'vault.credential.deleted';
|
|
364
436
|
}
|
|
437
|
+
/**
|
|
438
|
+
* Destination permissions for an environment-variable credential. These do not
|
|
439
|
+
* grant network access to the environment.
|
|
440
|
+
*/
|
|
441
|
+
export type CredentialNetworking = CredentialNetworking.VaultCredentialNetworkingResourceUnrestricted | CredentialNetworking.VaultCredentialNetworkingResourceLimited;
|
|
442
|
+
export declare namespace CredentialNetworking {
|
|
443
|
+
/**
|
|
444
|
+
* Allows substitution for destinations permitted by the environment network
|
|
445
|
+
* policy. Requires `environment.network.access` to be `restricted`, with explicit
|
|
446
|
+
* `allowed_domains`.
|
|
447
|
+
*/
|
|
448
|
+
interface VaultCredentialNetworkingResourceUnrestricted {
|
|
449
|
+
/**
|
|
450
|
+
* The type of the object. Always `unrestricted`.
|
|
451
|
+
*/
|
|
452
|
+
type: 'unrestricted';
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* Allows substitution only for the listed hosts. The environment network policy
|
|
456
|
+
* must also allow these hosts.
|
|
457
|
+
*/
|
|
458
|
+
interface VaultCredentialNetworkingResourceLimited {
|
|
459
|
+
/**
|
|
460
|
+
* The 1 to 16 distinct allowed hostnames or IPv4 addresses, normalized to
|
|
461
|
+
* lowercase. Entries contain no scheme, path, port, or wildcard. IPv6 addresses
|
|
462
|
+
* are not supported.
|
|
463
|
+
*/
|
|
464
|
+
allowed_hosts: Array<string>;
|
|
465
|
+
/**
|
|
466
|
+
* The type of the object. Always `limited`.
|
|
467
|
+
*/
|
|
468
|
+
type: 'limited';
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
/**
|
|
472
|
+
* Destination permissions for an environment-variable credential. These do not
|
|
473
|
+
* grant network access to the environment.
|
|
474
|
+
*/
|
|
475
|
+
export type CredentialNetworkingParam = CredentialNetworkingParam.VaultCredentialNetworkingParamUnrestricted | CredentialNetworkingParam.VaultCredentialNetworkingParamLimited;
|
|
476
|
+
export declare namespace CredentialNetworkingParam {
|
|
477
|
+
/**
|
|
478
|
+
* Allows substitution for destinations permitted by the environment network
|
|
479
|
+
* policy. Requires `environment.network.access` to be `restricted`, with explicit
|
|
480
|
+
* `allowed_domains`.
|
|
481
|
+
*/
|
|
482
|
+
interface VaultCredentialNetworkingParamUnrestricted {
|
|
483
|
+
/**
|
|
484
|
+
* The type of the object. Always `unrestricted`.
|
|
485
|
+
*/
|
|
486
|
+
type: 'unrestricted';
|
|
487
|
+
}
|
|
488
|
+
/**
|
|
489
|
+
* Allows substitution only for the listed hosts. The environment network policy
|
|
490
|
+
* must also allow these hosts.
|
|
491
|
+
*/
|
|
492
|
+
interface VaultCredentialNetworkingParamLimited {
|
|
493
|
+
/**
|
|
494
|
+
* The 1 to 16 distinct allowed hostnames or IPv4 addresses, normalized to
|
|
495
|
+
* lowercase. Entries contain no scheme, path, port, or wildcard. IPv6 addresses
|
|
496
|
+
* are not supported.
|
|
497
|
+
*/
|
|
498
|
+
allowed_hosts: Array<string>;
|
|
499
|
+
/**
|
|
500
|
+
* The type of the object. Always `limited`.
|
|
501
|
+
*/
|
|
502
|
+
type: 'limited';
|
|
503
|
+
}
|
|
504
|
+
}
|
|
365
505
|
/**
|
|
366
506
|
* The client authentication method used for OAuth token refresh.
|
|
367
507
|
*/
|
|
@@ -473,7 +613,7 @@ export declare namespace McpOauthTokenEndpointAuthRotateParam {
|
|
|
473
613
|
}
|
|
474
614
|
export interface CredentialCreateParams {
|
|
475
615
|
/**
|
|
476
|
-
* The authentication method and secret values to store
|
|
616
|
+
* The authentication method and write-only secret values to store.
|
|
477
617
|
*/
|
|
478
618
|
auth: CredentialAuthCreateParam;
|
|
479
619
|
/**
|
|
@@ -499,7 +639,12 @@ export interface CredentialUpdateParams {
|
|
|
499
639
|
*/
|
|
500
640
|
auth: CredentialAuthRotateParam;
|
|
501
641
|
}
|
|
502
|
-
export interface CredentialListParams extends CursorPageParams {
|
|
642
|
+
export interface CredentialListParams extends Omit<CursorPageParams, 'limit'> {
|
|
643
|
+
/**
|
|
644
|
+
* The maximum number of resources to return. Defaults to 20. Values are clamped
|
|
645
|
+
* between 1 and 100.
|
|
646
|
+
*/
|
|
647
|
+
limit?: number | null;
|
|
503
648
|
/**
|
|
504
649
|
* Sort order by the `created_at` timestamp. Use `asc` for ascending order or
|
|
505
650
|
* `desc` for descending order. Defaults to `desc`.
|
|
@@ -521,6 +666,6 @@ export interface CredentialDeleteParams {
|
|
|
521
666
|
vault_id: string;
|
|
522
667
|
}
|
|
523
668
|
export declare namespace Credentials {
|
|
524
|
-
export { type Credential as Credential, type CredentialAuth as CredentialAuth, type CredentialAuthCreateParam as CredentialAuthCreateParam, type CredentialAuthRotateParam as CredentialAuthRotateParam, type CredentialDeleted as CredentialDeleted, type McpOauthTokenEndpointAuth as McpOauthTokenEndpointAuth, type McpOauthTokenEndpointAuthCreateParam as McpOauthTokenEndpointAuthCreateParam, type McpOauthTokenEndpointAuthRotateParam as McpOauthTokenEndpointAuthRotateParam, type CredentialsPage as CredentialsPage, type CredentialCreateParams as CredentialCreateParams, type CredentialRetrieveParams as CredentialRetrieveParams, type CredentialUpdateParams as CredentialUpdateParams, type CredentialListParams as CredentialListParams, type CredentialDeleteParams as CredentialDeleteParams, };
|
|
669
|
+
export { type Credential as Credential, type CredentialAuth as CredentialAuth, type CredentialAuthCreateParam as CredentialAuthCreateParam, type CredentialAuthRotateParam as CredentialAuthRotateParam, type CredentialDeleted as CredentialDeleted, type CredentialNetworking as CredentialNetworking, type CredentialNetworkingParam as CredentialNetworkingParam, type McpOauthTokenEndpointAuth as McpOauthTokenEndpointAuth, type McpOauthTokenEndpointAuthCreateParam as McpOauthTokenEndpointAuthCreateParam, type McpOauthTokenEndpointAuthRotateParam as McpOauthTokenEndpointAuthRotateParam, type CredentialsPage as CredentialsPage, type CredentialCreateParams as CredentialCreateParams, type CredentialRetrieveParams as CredentialRetrieveParams, type CredentialUpdateParams as CredentialUpdateParams, type CredentialListParams as CredentialListParams, type CredentialDeleteParams as CredentialDeleteParams, };
|
|
525
670
|
}
|
|
526
671
|
//# sourceMappingURL=credentials.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../../../../src/resources/beta/agents/vaults/credentials.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,KAAK,cAAc,yBAAsB;AAChD,OAAO,KAAK,SAAS,oBAAiB;AACtC,OAAO,EAAE,UAAU,EAAE,wCAAqC;AAC1D,OAAO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE,uCAAoC;AAE7F,OAAO,EAAE,cAAc,EAAE,gDAA6C;
|
|
1
|
+
{"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../../../../src/resources/beta/agents/vaults/credentials.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,qCAAkC;AACxD,OAAO,KAAK,cAAc,yBAAsB;AAChD,OAAO,KAAK,SAAS,oBAAiB;AACtC,OAAO,EAAE,UAAU,EAAE,wCAAqC;AAC1D,OAAO,EAAE,UAAU,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAE,uCAAoC;AAE7F,OAAO,EAAE,cAAc,EAAE,gDAA6C;AA8GtE,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC;IASvG;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,UAAU,CAAC;IASzB;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,sBAAsB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,UAAU,CAAC;IAUzB;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACF,OAAO,EAAE,MAAM,EACf,KAAK,CAAC,EACF,CAAC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AM,GAAG,IAAI,CAAC;IAEtB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAEvB;;;OAGG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC;CACtC;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -6,6 +6,58 @@ const resource_1 = require("../../../../core/resource.js");
|
|
|
6
6
|
const pagination_1 = require("../../../../core/pagination.js");
|
|
7
7
|
const headers_1 = require("../../../../internal/headers.js");
|
|
8
8
|
const path_1 = require("../../../../internal/utils/path.js");
|
|
9
|
+
// Recognizable options across SDK runtime versions. Keep this independent of
|
|
10
|
+
// private RequestOptions fields so older handwritten runtimes still compile.
|
|
11
|
+
const normalizeRequestOptionsForQueryKeys = new Set([
|
|
12
|
+
'method',
|
|
13
|
+
'path',
|
|
14
|
+
'query',
|
|
15
|
+
'body',
|
|
16
|
+
'headers',
|
|
17
|
+
'maxRetries',
|
|
18
|
+
'stream',
|
|
19
|
+
'timeout',
|
|
20
|
+
'httpAgent',
|
|
21
|
+
'fetchOptions',
|
|
22
|
+
'signal',
|
|
23
|
+
'idempotencyKey',
|
|
24
|
+
'defaultBaseURL',
|
|
25
|
+
'__metadata',
|
|
26
|
+
'__binaryRequest',
|
|
27
|
+
'__binaryResponse',
|
|
28
|
+
'__streamClass',
|
|
29
|
+
'__security',
|
|
30
|
+
'__synthesizeEventData',
|
|
31
|
+
]);
|
|
32
|
+
function normalizeRequestOptionsForQuery(value, queryKeys, options) {
|
|
33
|
+
if (typeof value !== 'object' || value === null)
|
|
34
|
+
return undefined;
|
|
35
|
+
// Optional never fields can still be explicitly undefined unless consumers
|
|
36
|
+
// enable exactOptionalPropertyTypes. Snapshot data without invoking getters.
|
|
37
|
+
const entries = Object.entries(Object.getOwnPropertyDescriptors(value)).filter(([, descriptor]) => descriptor.enumerable && (!('value' in descriptor) || descriptor.value !== undefined));
|
|
38
|
+
const keys = entries.map(([key]) => key);
|
|
39
|
+
const requestOnly = keys.some((key) => normalizeRequestOptionsForQueryKeys.has(key) && !queryKeys.includes(key));
|
|
40
|
+
if (!requestOnly)
|
|
41
|
+
return undefined;
|
|
42
|
+
// Declared query fields, including stream, must use the query argument.
|
|
43
|
+
// Mixing them with request-only options is ambiguous and could change the return type.
|
|
44
|
+
if (options !== undefined ||
|
|
45
|
+
keys.some((key) => !normalizeRequestOptionsForQueryKeys.has(key) || queryKeys.includes(key))) {
|
|
46
|
+
throw new TypeError('Query parameters and request options must be passed as separate arguments.');
|
|
47
|
+
}
|
|
48
|
+
// The query position must not gain authority to change the request destination
|
|
49
|
+
// or transport. Those overrides require the explicit request options argument.
|
|
50
|
+
if (keys.some((key) => !['headers', 'maxRetries', 'timeout', 'signal', 'idempotencyKey', 'query'].includes(key))) {
|
|
51
|
+
throw new TypeError('Pass transport overrides in the explicit request options argument.');
|
|
52
|
+
}
|
|
53
|
+
// Copy only the validated fields. Spreading value would reintroduce undefined
|
|
54
|
+
// transport overrides, and deleting them would mutate the caller's object.
|
|
55
|
+
return Object.fromEntries(entries.map(([key, descriptor]) => {
|
|
56
|
+
if ('value' in descriptor)
|
|
57
|
+
return [key, descriptor.value];
|
|
58
|
+
return [key, descriptor.get ? Reflect.apply(descriptor.get, value, []) : undefined];
|
|
59
|
+
}));
|
|
60
|
+
}
|
|
9
61
|
class Credentials extends resource_1.APIResource {
|
|
10
62
|
/**
|
|
11
63
|
* Creates a vault credential. Secret values are write-only and are never returned.
|
|
@@ -83,22 +135,13 @@ class Credentials extends resource_1.APIResource {
|
|
|
83
135
|
__security: { bearerAuth: true },
|
|
84
136
|
});
|
|
85
137
|
}
|
|
86
|
-
/**
|
|
87
|
-
* Lists a vault's credentials using ID-based pagination without returning secret
|
|
88
|
-
* values. See
|
|
89
|
-
* [vaults](https://developers.openai.com/api/docs/guides/agents-api/tools/vaults).
|
|
90
|
-
*
|
|
91
|
-
* @example
|
|
92
|
-
* ```ts
|
|
93
|
-
* // Automatically fetches more pages as needed.
|
|
94
|
-
* for await (const credential of client.beta.agents.vaults.credentials.list(
|
|
95
|
-
* 'vault_id',
|
|
96
|
-
* )) {
|
|
97
|
-
* // ...
|
|
98
|
-
* }
|
|
99
|
-
* ```
|
|
100
|
-
*/
|
|
101
138
|
list(vaultID, query = {}, options) {
|
|
139
|
+
const normalizeRequestOptionsForQueryOptions = normalizeRequestOptionsForQuery(query, ['after', 'limit', 'order', 'status'], options);
|
|
140
|
+
if (normalizeRequestOptionsForQueryOptions !== undefined) {
|
|
141
|
+
options = normalizeRequestOptionsForQueryOptions;
|
|
142
|
+
query = {};
|
|
143
|
+
}
|
|
144
|
+
query = query;
|
|
102
145
|
return this._client.getAPIList((0, path_1.path) `/vaults/${vaultID}/credentials`, (pagination_1.CursorPage), {
|
|
103
146
|
query,
|
|
104
147
|
...options,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credentials.js","sourceRoot":"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AAY,EAAE,EAAE;YAC9E,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,aAAa,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YACzE,UAAU,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE;SACjC,CAAC,CAAC;IACL,CAAC;
|
|
1
|
+
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../../../../src/resources/beta/agents/vaults/credentials.ts"],"names":[],"mappings":";AAAA,qFAAqF;;;AAErF,2DAAwD;AAIxD,+DAA6F;AAC7F,6DAA4D;AAE5D,6DAAuD;AAEvD,6EAA6E;AAC7E,6EAA6E;AAC7E,MAAM,mCAAmC,GAAG,IAAI,GAAG,CAAC;IAClD,QAAQ;IACR,MAAM;IACN,OAAO;IACP,MAAM;IACN,SAAS;IACT,YAAY;IACZ,QAAQ;IACR,SAAS;IACT,WAAW;IACX,cAAc;IACd,QAAQ;IACR,gBAAgB;IAChB,gBAAgB;IAChB,YAAY;IACZ,iBAAiB;IACjB,kBAAkB;IAClB,eAAe;IACf,YAAY;IACZ,uBAAuB;CACxB,CAAC,CAAC;AAEH,SAAS,+BAA+B,CACtC,KAAc,EACd,SAAgC,EAChC,OAAmC;IAuBnC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI;QAAE,OAAO,SAAS,CAAC;IAClE,2EAA2E;IAC3E,6EAA6E;IAC7E,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yBAAyB,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAC5E,CAAC,CAAC,EAAE,UAAU,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,UAAU,IAAI,CAAC,CAAC,CAAC,OAAO,IAAI,UAAU,CAAC,IAAI,UAAU,CAAC,KAAK,KAAK,SAAS,CAAC,CAC1G,CAAC;IACF,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,C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AE,UAAU,EAAE,IAAI,EAAE;SACjC,CAAC,CAAC;IACL,CAAC;CACF;AA3OD,kCA2OC"}
|
|
@@ -3,6 +3,58 @@ import { APIResource } from "../../../../core/resource.mjs";
|
|
|
3
3
|
import { CursorPage } from "../../../../core/pagination.mjs";
|
|
4
4
|
import { buildHeaders } from "../../../../internal/headers.mjs";
|
|
5
5
|
import { path } from "../../../../internal/utils/path.mjs";
|
|
6
|
+
// Recognizable options across SDK runtime versions. Keep this independent of
|
|
7
|
+
// private RequestOptions fields so older handwritten runtimes still compile.
|
|
8
|
+
const normalizeRequestOptionsForQueryKeys = new Set([
|
|
9
|
+
'method',
|
|
10
|
+
'path',
|
|
11
|
+
'query',
|
|
12
|
+
'body',
|
|
13
|
+
'headers',
|
|
14
|
+
'maxRetries',
|
|
15
|
+
'stream',
|
|
16
|
+
'timeout',
|
|
17
|
+
'httpAgent',
|
|
18
|
+
'fetchOptions',
|
|
19
|
+
'signal',
|
|
20
|
+
'idempotencyKey',
|
|
21
|
+
'defaultBaseURL',
|
|
22
|
+
'__metadata',
|
|
23
|
+
'__binaryRequest',
|
|
24
|
+
'__binaryResponse',
|
|
25
|
+
'__streamClass',
|
|
26
|
+
'__security',
|
|
27
|
+
'__synthesizeEventData',
|
|
28
|
+
]);
|
|
29
|
+
function normalizeRequestOptionsForQuery(value, queryKeys, options) {
|
|
30
|
+
if (typeof value !== 'object' || value === null)
|
|
31
|
+
return undefined;
|
|
32
|
+
// Optional never fields can still be explicitly undefined unless consumers
|
|
33
|
+
// enable exactOptionalPropertyTypes. Snapshot data without invoking getters.
|
|
34
|
+
const entries = Object.entries(Object.getOwnPropertyDescriptors(value)).filter(([, descriptor]) => descriptor.enumerable && (!('value' in descriptor) || descriptor.value !== undefined));
|
|
35
|
+
const keys = entries.map(([key]) => key);
|
|
36
|
+
const requestOnly = keys.some((key) => normalizeRequestOptionsForQueryKeys.has(key) && !queryKeys.includes(key));
|
|
37
|
+
if (!requestOnly)
|
|
38
|
+
return undefined;
|
|
39
|
+
// Declared query fields, including stream, must use the query argument.
|
|
40
|
+
// Mixing them with request-only options is ambiguous and could change the return type.
|
|
41
|
+
if (options !== undefined ||
|
|
42
|
+
keys.some((key) => !normalizeRequestOptionsForQueryKeys.has(key) || queryKeys.includes(key))) {
|
|
43
|
+
throw new TypeError('Query parameters and request options must be passed as separate arguments.');
|
|
44
|
+
}
|
|
45
|
+
// The query position must not gain authority to change the request destination
|
|
46
|
+
// or transport. Those overrides require the explicit request options argument.
|
|
47
|
+
if (keys.some((key) => !['headers', 'maxRetries', 'timeout', 'signal', 'idempotencyKey', 'query'].includes(key))) {
|
|
48
|
+
throw new TypeError('Pass transport overrides in the explicit request options argument.');
|
|
49
|
+
}
|
|
50
|
+
// Copy only the validated fields. Spreading value would reintroduce undefined
|
|
51
|
+
// transport overrides, and deleting them would mutate the caller's object.
|
|
52
|
+
return Object.fromEntries(entries.map(([key, descriptor]) => {
|
|
53
|
+
if ('value' in descriptor)
|
|
54
|
+
return [key, descriptor.value];
|
|
55
|
+
return [key, descriptor.get ? Reflect.apply(descriptor.get, value, []) : undefined];
|
|
56
|
+
}));
|
|
57
|
+
}
|
|
6
58
|
export class Credentials extends APIResource {
|
|
7
59
|
/**
|
|
8
60
|
* Creates a vault credential. Secret values are write-only and are never returned.
|
|
@@ -80,22 +132,13 @@ export class Credentials extends APIResource {
|
|
|
80
132
|
__security: { bearerAuth: true },
|
|
81
133
|
});
|
|
82
134
|
}
|
|
83
|
-
/**
|
|
84
|
-
* Lists a vault's credentials using ID-based pagination without returning secret
|
|
85
|
-
* values. See
|
|
86
|
-
* [vaults](https://developers.openai.com/api/docs/guides/agents-api/tools/vaults).
|
|
87
|
-
*
|
|
88
|
-
* @example
|
|
89
|
-
* ```ts
|
|
90
|
-
* // Automatically fetches more pages as needed.
|
|
91
|
-
* for await (const credential of client.beta.agents.vaults.credentials.list(
|
|
92
|
-
* 'vault_id',
|
|
93
|
-
* )) {
|
|
94
|
-
* // ...
|
|
95
|
-
* }
|
|
96
|
-
* ```
|
|
97
|
-
*/
|
|
98
135
|
list(vaultID, query = {}, options) {
|
|
136
|
+
const normalizeRequestOptionsForQueryOptions = normalizeRequestOptionsForQuery(query, ['after', 'limit', 'order', 'status'], options);
|
|
137
|
+
if (normalizeRequestOptionsForQueryOptions !== undefined) {
|
|
138
|
+
options = normalizeRequestOptionsForQueryOptions;
|
|
139
|
+
query = {};
|
|
140
|
+
}
|
|
141
|
+
query = query;
|
|
99
142
|
return this._client.getAPIList(path `/vaults/${vaultID}/credentials`, (CursorPage), {
|
|
100
143
|
query,
|
|
101
144
|
...options,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credentials.mjs","sourceRoot":"","sources":["../../../../src/resources/beta/agents/vaults/credentials.ts"],"names":[],"mappings":"AAAA,qFAAqF;AAErF,OAAO,EAAE,WAAW,EAAE,sCAAkC;AAIxD,OAAO,EAAE,UAAU,EAAsC,wCAAoC;AAC7F,OAAO,EAAE,YAAY,EAAE,yCAAqC;AAE5D,OAAO,EAAE,IAAI,EAAE,4CAAwC;AAEvD,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,MAAM,CAAC,OAAe,EAAE,IAA4B,EAAE,OAAwB;QAC5E,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,WAAW,OAAO,cAAc,EAAE;YAC7D,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,aAAa,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YACzE,UAAU,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE;SACjC,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,QAAQ,CACN,YAAoB,EACpB,MAAgC,EAChC,OAAwB;QAExB,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;QAC5B,OAAO,IAAI,C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AAO,EAAE,YAAY,CAAC,CAAC,EAAE,aAAa,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YACzE,UAAU,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE;SACjC,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,YAAoB,EACpB,MAA8B,EAC9B,OAAwB;QAExB,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;QAC5B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,WAAW,QAAQ,gBAAgB,YAAY,EAAE,EAAE;YAChF,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,aAAa,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YACzE,UAAU,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE;SACjC,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Credentials, type Credential, type CredentialAuth, type CredentialAuthCreateParam, type CredentialAuthRotateParam, type CredentialDeleted, type McpOauthTokenEndpointAuth, type McpOauthTokenEndpointAuthCreateParam, type McpOauthTokenEndpointAuthRotateParam, type CredentialCreateParams, type CredentialRetrieveParams, type CredentialUpdateParams, type CredentialListParams, type CredentialDeleteParams, type CredentialsPage, } from "./credentials.mjs";
|
|
1
|
+
export { Credentials, type Credential, type CredentialAuth, type CredentialAuthCreateParam, type CredentialAuthRotateParam, type CredentialDeleted, type CredentialNetworking, type CredentialNetworkingParam, type McpOauthTokenEndpointAuth, type McpOauthTokenEndpointAuthCreateParam, type McpOauthTokenEndpointAuthRotateParam, type CredentialCreateParams, type CredentialRetrieveParams, type CredentialUpdateParams, type CredentialListParams, type CredentialDeleteParams, type CredentialsPage, } from "./credentials.mjs";
|
|
2
2
|
export { Vaults, type Vault, type VaultDeleted, type VaultStatus, type VaultStatusFilter, type VaultCreateParams, type VaultListParams, type VaultsPage, } from "./vaults.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../../src/resources/beta/agents/vaults/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,oCAAoC,EACzC,KAAK,oCAAoC,EACzC,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,GACrB,0BAAsB;AACvB,OAAO,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,UAAU,GAChB,qBAAiB"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../../src/resources/beta/agents/vaults/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,oCAAoC,EACzC,KAAK,oCAAoC,EACzC,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,GACrB,0BAAsB;AACvB,OAAO,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,UAAU,GAChB,qBAAiB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Credentials, type Credential, type CredentialAuth, type CredentialAuthCreateParam, type CredentialAuthRotateParam, type CredentialDeleted, type McpOauthTokenEndpointAuth, type McpOauthTokenEndpointAuthCreateParam, type McpOauthTokenEndpointAuthRotateParam, type CredentialCreateParams, type CredentialRetrieveParams, type CredentialUpdateParams, type CredentialListParams, type CredentialDeleteParams, type CredentialsPage, } from "./credentials.js";
|
|
1
|
+
export { Credentials, type Credential, type CredentialAuth, type CredentialAuthCreateParam, type CredentialAuthRotateParam, type CredentialDeleted, type CredentialNetworking, type CredentialNetworkingParam, type McpOauthTokenEndpointAuth, type McpOauthTokenEndpointAuthCreateParam, type McpOauthTokenEndpointAuthRotateParam, type CredentialCreateParams, type CredentialRetrieveParams, type CredentialUpdateParams, type CredentialListParams, type CredentialDeleteParams, type CredentialsPage, } from "./credentials.js";
|
|
2
2
|
export { Vaults, type Vault, type VaultDeleted, type VaultStatus, type VaultStatusFilter, type VaultCreateParams, type VaultListParams, type VaultsPage, } from "./vaults.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resources/beta/agents/vaults/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,oCAAoC,EACzC,KAAK,oCAAoC,EACzC,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,GACrB,yBAAsB;AACvB,OAAO,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,UAAU,GAChB,oBAAiB"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resources/beta/agents/vaults/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,oCAAoC,EACzC,KAAK,oCAAoC,EACzC,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,eAAe,GACrB,yBAAsB;AACvB,OAAO,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,UAAU,GAChB,oBAAiB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/beta/agents/vaults/index.ts"],"names":[],"mappings":";AAAA,qFAAqF;;;AAErF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/beta/agents/vaults/index.ts"],"names":[],"mappings":";AAAA,qFAAqF;;;AAErF,gDAkBuB;AAjBrB,0GAAA,WAAW,OAAA;AAkBb,sCASkB;AARhB,gGAAA,MAAM,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../src/resources/beta/agents/vaults/index.ts"],"names":[],"mappings":"AAAA,qFAAqF;AAErF,OAAO,EACL,WAAW,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../src/resources/beta/agents/vaults/index.ts"],"names":[],"mappings":"AAAA,qFAAqF;AAErF,OAAO,EACL,WAAW,GAiBZ,0BAAsB;AACvB,OAAO,EACL,MAAM,GAQP,qBAAiB"}
|