openai 7.19.0 → 7.21.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 +33 -0
- package/README.md +4 -2
- 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 +304 -5
- package/client.js.map +1 -1
- package/client.mjs +304 -5
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/admin/organization/admin-api-keys.d.mts +8 -1
- package/resources/admin/organization/admin-api-keys.d.mts.map +1 -1
- package/resources/admin/organization/admin-api-keys.d.ts +8 -1
- package/resources/admin/organization/admin-api-keys.d.ts.map +1 -1
- package/resources/admin/organization/admin-api-keys.js +69 -19
- package/resources/admin/organization/admin-api-keys.js.map +1 -1
- package/resources/admin/organization/admin-api-keys.mjs +69 -19
- 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 +74 -13
- package/resources/admin/organization/audit-logs.js.map +1 -1
- package/resources/admin/organization/audit-logs.mjs +74 -13
- 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 +88 -36
- package/resources/admin/organization/certificates.js.map +1 -1
- package/resources/admin/organization/certificates.mjs +88 -36
- package/resources/admin/organization/certificates.mjs.map +1 -1
- package/resources/admin/organization/data-retention.d.mts.map +1 -1
- package/resources/admin/organization/data-retention.d.ts.map +1 -1
- package/resources/admin/organization/data-retention.js +7 -4
- package/resources/admin/organization/data-retention.js.map +1 -1
- package/resources/admin/organization/data-retention.mjs +7 -4
- package/resources/admin/organization/data-retention.mjs.map +1 -1
- package/resources/admin/organization/external-storage.d.mts +144 -0
- package/resources/admin/organization/external-storage.d.mts.map +1 -0
- package/resources/admin/organization/external-storage.d.ts +144 -0
- package/resources/admin/organization/external-storage.d.ts.map +1 -0
- package/resources/admin/organization/external-storage.js +156 -0
- package/resources/admin/organization/external-storage.js.map +1 -0
- package/resources/admin/organization/external-storage.mjs +152 -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 +71 -21
- package/resources/admin/organization/groups/groups.js.map +1 -1
- package/resources/admin/organization/groups/groups.mjs +71 -21
- 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 +72 -20
- package/resources/admin/organization/groups/roles.js.map +1 -1
- package/resources/admin/organization/groups/roles.mjs +72 -20
- 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 +72 -20
- package/resources/admin/organization/groups/users.js.map +1 -1
- package/resources/admin/organization/groups/users.mjs +72 -20
- 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 +69 -19
- package/resources/admin/organization/invites.js.map +1 -1
- package/resources/admin/organization/invites.mjs +69 -19
- 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 +70 -18
- package/resources/admin/organization/projects/api-keys.js.map +1 -1
- package/resources/admin/organization/projects/api-keys.mjs +70 -18
- 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 +78 -16
- package/resources/admin/organization/projects/certificates.js.map +1 -1
- package/resources/admin/organization/projects/certificates.mjs +78 -16
- package/resources/admin/organization/projects/certificates.mjs.map +1 -1
- package/resources/admin/organization/projects/data-retention.d.mts.map +1 -1
- package/resources/admin/organization/projects/data-retention.d.ts.map +1 -1
- package/resources/admin/organization/projects/data-retention.js +7 -4
- package/resources/admin/organization/projects/data-retention.js.map +1 -1
- package/resources/admin/organization/projects/data-retention.mjs +7 -4
- package/resources/admin/organization/projects/data-retention.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 +72 -20
- package/resources/admin/organization/projects/groups/groups.js.map +1 -1
- package/resources/admin/organization/projects/groups/groups.mjs +72 -20
- package/resources/admin/organization/projects/groups/groups.mjs.map +1 -1
- package/resources/admin/organization/projects/groups/roles.d.mts.map +1 -1
- package/resources/admin/organization/projects/groups/roles.d.ts.map +1 -1
- package/resources/admin/organization/projects/groups/roles.js +14 -7
- package/resources/admin/organization/projects/groups/roles.js.map +1 -1
- package/resources/admin/organization/projects/groups/roles.mjs +14 -7
- package/resources/admin/organization/projects/groups/roles.mjs.map +1 -1
- package/resources/admin/organization/projects/hosted-tool-permissions.d.mts.map +1 -1
- package/resources/admin/organization/projects/hosted-tool-permissions.d.ts.map +1 -1
- package/resources/admin/organization/projects/hosted-tool-permissions.js +7 -4
- package/resources/admin/organization/projects/hosted-tool-permissions.js.map +1 -1
- package/resources/admin/organization/projects/hosted-tool-permissions.mjs +7 -4
- package/resources/admin/organization/projects/hosted-tool-permissions.mjs.map +1 -1
- package/resources/admin/organization/projects/model-permissions.d.mts.map +1 -1
- package/resources/admin/organization/projects/model-permissions.d.ts.map +1 -1
- package/resources/admin/organization/projects/model-permissions.js +9 -6
- package/resources/admin/organization/projects/model-permissions.js.map +1 -1
- package/resources/admin/organization/projects/model-permissions.mjs +9 -6
- package/resources/admin/organization/projects/model-permissions.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 +71 -21
- package/resources/admin/organization/projects/projects.js.map +1 -1
- package/resources/admin/organization/projects/projects.mjs +71 -21
- 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 +68 -16
- package/resources/admin/organization/projects/rate-limits.js.map +1 -1
- package/resources/admin/organization/projects/rate-limits.mjs +68 -16
- 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 +71 -23
- package/resources/admin/organization/projects/roles.js.map +1 -1
- package/resources/admin/organization/projects/roles.mjs +71 -23
- package/resources/admin/organization/projects/roles.mjs.map +1 -1
- package/resources/admin/organization/projects/service-accounts/api-keys.d.mts.map +1 -1
- package/resources/admin/organization/projects/service-accounts/api-keys.d.ts.map +1 -1
- package/resources/admin/organization/projects/service-accounts/api-keys.js +8 -1
- package/resources/admin/organization/projects/service-accounts/api-keys.js.map +1 -1
- package/resources/admin/organization/projects/service-accounts/api-keys.mjs +8 -1
- package/resources/admin/organization/projects/service-accounts/api-keys.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 +79 -20
- package/resources/admin/organization/projects/service-accounts/service-accounts.js.map +1 -1
- package/resources/admin/organization/projects/service-accounts/service-accounts.mjs +79 -20
- 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 +74 -22
- package/resources/admin/organization/projects/spend-alerts.js.map +1 -1
- package/resources/admin/organization/projects/spend-alerts.mjs +74 -22
- package/resources/admin/organization/projects/spend-alerts.mjs.map +1 -1
- package/resources/admin/organization/projects/spend-limit.d.mts.map +1 -1
- package/resources/admin/organization/projects/spend-limit.d.ts.map +1 -1
- package/resources/admin/organization/projects/spend-limit.js +9 -6
- package/resources/admin/organization/projects/spend-limit.js.map +1 -1
- package/resources/admin/organization/projects/spend-limit.mjs +9 -6
- package/resources/admin/organization/projects/spend-limit.mjs.map +1 -1
- package/resources/admin/organization/projects/users/roles.d.mts.map +1 -1
- package/resources/admin/organization/projects/users/roles.d.ts.map +1 -1
- package/resources/admin/organization/projects/users/roles.js +14 -7
- package/resources/admin/organization/projects/users/roles.js.map +1 -1
- package/resources/admin/organization/projects/users/roles.mjs +14 -7
- package/resources/admin/organization/projects/users/roles.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 +74 -22
- package/resources/admin/organization/projects/users/users.js.map +1 -1
- package/resources/admin/organization/projects/users/users.mjs +74 -22
- 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 +71 -21
- package/resources/admin/organization/roles.js.map +1 -1
- package/resources/admin/organization/roles.mjs +71 -21
- 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 +74 -20
- package/resources/admin/organization/spend-alerts.js.map +1 -1
- package/resources/admin/organization/spend-alerts.mjs +74 -20
- package/resources/admin/organization/spend-alerts.mjs.map +1 -1
- package/resources/admin/organization/spend-limit.d.mts.map +1 -1
- package/resources/admin/organization/spend-limit.d.ts.map +1 -1
- package/resources/admin/organization/spend-limit.js +9 -6
- package/resources/admin/organization/spend-limit.js.map +1 -1
- package/resources/admin/organization/spend-limit.mjs +9 -6
- package/resources/admin/organization/spend-limit.mjs.map +1 -1
- package/resources/admin/organization/usage.d.mts.map +1 -1
- package/resources/admin/organization/usage.d.ts.map +1 -1
- package/resources/admin/organization/usage.js +25 -22
- package/resources/admin/organization/usage.js.map +1 -1
- package/resources/admin/organization/usage.mjs +25 -22
- package/resources/admin/organization/usage.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 +72 -20
- package/resources/admin/organization/users/roles.js.map +1 -1
- package/resources/admin/organization/users/roles.mjs +72 -20
- 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 +69 -19
- package/resources/admin/organization/users/users.js.map +1 -1
- package/resources/admin/organization/users/users.mjs +69 -19
- package/resources/admin/organization/users/users.mjs.map +1 -1
- package/resources/audio/speech.d.mts.map +1 -1
- package/resources/audio/speech.d.ts.map +1 -1
- package/resources/audio/speech.js +5 -2
- package/resources/audio/speech.js.map +1 -1
- package/resources/audio/speech.mjs +5 -2
- package/resources/audio/speech.mjs.map +1 -1
- package/resources/audio/transcriptions.d.mts.map +1 -1
- package/resources/audio/transcriptions.d.ts.map +1 -1
- package/resources/audio/transcriptions.js +5 -2
- package/resources/audio/transcriptions.js.map +1 -1
- package/resources/audio/transcriptions.mjs +5 -2
- package/resources/audio/transcriptions.mjs.map +1 -1
- package/resources/audio/translations.d.mts.map +1 -1
- package/resources/audio/translations.d.ts.map +1 -1
- package/resources/audio/translations.js +4 -1
- package/resources/audio/translations.js.map +1 -1
- package/resources/audio/translations.mjs +4 -1
- package/resources/audio/translations.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 +70 -11
- package/resources/batches.js.map +1 -1
- package/resources/batches.mjs +70 -11
- package/resources/batches.mjs.map +1 -1
- package/resources/beta/agents/agents.d.mts +93 -45
- package/resources/beta/agents/agents.d.mts.map +1 -1
- package/resources/beta/agents/agents.d.ts +93 -45
- package/resources/beta/agents/agents.d.ts.map +1 -1
- package/resources/beta/agents/agents.js +71 -22
- package/resources/beta/agents/agents.js.map +1 -1
- package/resources/beta/agents/agents.mjs +71 -22
- package/resources/beta/agents/agents.mjs.map +1 -1
- package/resources/beta/agents/environments/environments.d.mts.map +1 -1
- package/resources/beta/agents/environments/environments.d.ts.map +1 -1
- package/resources/beta/agents/environments/environments.js +5 -2
- package/resources/beta/agents/environments/environments.js.map +1 -1
- package/resources/beta/agents/environments/environments.mjs +5 -2
- package/resources/beta/agents/environments/environments.mjs.map +1 -1
- package/resources/beta/agents/environments/files.d.mts.map +1 -1
- package/resources/beta/agents/environments/files.d.ts.map +1 -1
- package/resources/beta/agents/environments/files.js +7 -4
- package/resources/beta/agents/environments/files.js.map +1 -1
- package/resources/beta/agents/environments/files.mjs +7 -4
- package/resources/beta/agents/environments/files.mjs.map +1 -1
- package/resources/beta/agents/environments/templates.d.mts +22 -9
- package/resources/beta/agents/environments/templates.d.mts.map +1 -1
- package/resources/beta/agents/environments/templates.d.ts +22 -9
- package/resources/beta/agents/environments/templates.d.ts.map +1 -1
- package/resources/beta/agents/environments/templates.js +71 -22
- package/resources/beta/agents/environments/templates.js.map +1 -1
- package/resources/beta/agents/environments/templates.mjs +71 -22
- package/resources/beta/agents/environments/templates.mjs.map +1 -1
- package/resources/beta/agents/index.d.mts +1 -1
- package/resources/beta/agents/index.d.mts.map +1 -1
- package/resources/beta/agents/index.d.ts +1 -1
- package/resources/beta/agents/index.d.ts.map +1 -1
- package/resources/beta/agents/index.js.map +1 -1
- package/resources/beta/agents/index.mjs.map +1 -1
- package/resources/beta/agents/sessions/artifacts.d.mts +8 -1
- package/resources/beta/agents/sessions/artifacts.d.mts.map +1 -1
- package/resources/beta/agents/sessions/artifacts.d.ts +8 -1
- package/resources/beta/agents/sessions/artifacts.d.ts.map +1 -1
- package/resources/beta/agents/sessions/artifacts.js +69 -22
- package/resources/beta/agents/sessions/artifacts.js.map +1 -1
- package/resources/beta/agents/sessions/artifacts.mjs +69 -22
- package/resources/beta/agents/sessions/artifacts.mjs.map +1 -1
- package/resources/beta/agents/sessions/events.d.mts.map +1 -1
- package/resources/beta/agents/sessions/events.d.ts.map +1 -1
- package/resources/beta/agents/sessions/events.js +11 -5
- package/resources/beta/agents/sessions/events.js.map +1 -1
- package/resources/beta/agents/sessions/events.mjs +11 -5
- 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 +63 -17
- package/resources/beta/agents/sessions/items.js.map +1 -1
- package/resources/beta/agents/sessions/items.mjs +63 -17
- package/resources/beta/agents/sessions/items.mjs.map +1 -1
- package/resources/beta/agents/sessions/sessions.d.mts +17 -6
- package/resources/beta/agents/sessions/sessions.d.mts.map +1 -1
- package/resources/beta/agents/sessions/sessions.d.ts +17 -6
- package/resources/beta/agents/sessions/sessions.d.ts.map +1 -1
- package/resources/beta/agents/sessions/sessions.js +71 -23
- package/resources/beta/agents/sessions/sessions.js.map +1 -1
- package/resources/beta/agents/sessions/sessions.mjs +71 -23
- package/resources/beta/agents/sessions/sessions.mjs.map +1 -1
- package/resources/beta/agents/sessions/subagents/items.d.mts.map +1 -1
- package/resources/beta/agents/sessions/subagents/items.d.ts.map +1 -1
- package/resources/beta/agents/sessions/subagents/items.js +5 -2
- package/resources/beta/agents/sessions/subagents/items.js.map +1 -1
- package/resources/beta/agents/sessions/subagents/items.mjs +5 -2
- package/resources/beta/agents/sessions/subagents/items.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 +65 -18
- package/resources/beta/agents/sessions/subagents/subagents.js.map +1 -1
- package/resources/beta/agents/sessions/subagents/subagents.mjs +65 -18
- package/resources/beta/agents/sessions/subagents/subagents.mjs.map +1 -1
- package/resources/beta/agents/sessions/subagents/turns/items.d.mts.map +1 -1
- package/resources/beta/agents/sessions/subagents/turns/items.d.ts.map +1 -1
- package/resources/beta/agents/sessions/subagents/turns/items.js +5 -2
- package/resources/beta/agents/sessions/subagents/turns/items.js.map +1 -1
- package/resources/beta/agents/sessions/subagents/turns/items.mjs +5 -2
- package/resources/beta/agents/sessions/subagents/turns/items.mjs.map +1 -1
- package/resources/beta/agents/sessions/subagents/turns/turns.d.mts.map +1 -1
- package/resources/beta/agents/sessions/subagents/turns/turns.d.ts.map +1 -1
- package/resources/beta/agents/sessions/subagents/turns/turns.js +7 -4
- package/resources/beta/agents/sessions/subagents/turns/turns.js.map +1 -1
- package/resources/beta/agents/sessions/subagents/turns/turns.mjs +7 -4
- package/resources/beta/agents/sessions/subagents/turns/turns.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 +65 -19
- package/resources/beta/agents/sessions/turns.js.map +1 -1
- package/resources/beta/agents/sessions/turns.mjs +65 -19
- package/resources/beta/agents/sessions/turns.mjs.map +1 -1
- package/resources/beta/agents/vaults/credentials.d.mts +163 -23
- package/resources/beta/agents/vaults/credentials.d.mts.map +1 -1
- package/resources/beta/agents/vaults/credentials.d.ts +163 -23
- package/resources/beta/agents/vaults/credentials.d.ts.map +1 -1
- package/resources/beta/agents/vaults/credentials.js +71 -25
- package/resources/beta/agents/vaults/credentials.js.map +1 -1
- package/resources/beta/agents/vaults/credentials.mjs +71 -25
- 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 +11 -5
- package/resources/beta/agents/vaults/vaults.d.mts.map +1 -1
- package/resources/beta/agents/vaults/vaults.d.ts +11 -5
- package/resources/beta/agents/vaults/vaults.d.ts.map +1 -1
- package/resources/beta/agents/vaults/vaults.js +69 -20
- package/resources/beta/agents/vaults/vaults.js.map +1 -1
- package/resources/beta/agents/vaults/vaults.mjs +69 -20
- 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 +71 -15
- package/resources/beta/assistants.js.map +1 -1
- package/resources/beta/assistants.mjs +71 -15
- package/resources/beta/assistants.mjs.map +1 -1
- package/resources/beta/beta.d.mts +2 -2
- package/resources/beta/beta.d.mts.map +1 -1
- package/resources/beta/beta.d.ts +2 -2
- package/resources/beta/beta.d.ts.map +1 -1
- package/resources/beta/beta.js.map +1 -1
- package/resources/beta/beta.mjs.map +1 -1
- package/resources/beta/chatkit/sessions.d.mts.map +1 -1
- package/resources/beta/chatkit/sessions.d.ts.map +1 -1
- package/resources/beta/chatkit/sessions.js +7 -4
- package/resources/beta/chatkit/sessions.js.map +1 -1
- package/resources/beta/chatkit/sessions.mjs +7 -4
- package/resources/beta/chatkit/sessions.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 +75 -32
- package/resources/beta/chatkit/threads.js.map +1 -1
- package/resources/beta/chatkit/threads.mjs +75 -32
- package/resources/beta/chatkit/threads.mjs.map +1 -1
- package/resources/beta/index.d.mts +1 -1
- package/resources/beta/index.d.mts.map +1 -1
- package/resources/beta/index.d.ts +1 -1
- package/resources/beta/index.d.ts.map +1 -1
- package/resources/beta/index.js.map +1 -1
- package/resources/beta/index.mjs.map +1 -1
- package/resources/beta/responses/input-items.d.mts +11 -1
- package/resources/beta/responses/input-items.d.mts.map +1 -1
- package/resources/beta/responses/input-items.d.ts +11 -1
- package/resources/beta/responses/input-items.d.ts.map +1 -1
- package/resources/beta/responses/input-items.js +66 -15
- package/resources/beta/responses/input-items.js.map +1 -1
- package/resources/beta/responses/input-items.mjs +66 -15
- package/resources/beta/responses/input-items.mjs.map +1 -1
- package/resources/beta/responses/input-tokens.d.mts +3 -0
- package/resources/beta/responses/input-tokens.d.mts.map +1 -1
- package/resources/beta/responses/input-tokens.d.ts +3 -0
- package/resources/beta/responses/input-tokens.d.ts.map +1 -1
- package/resources/beta/responses/input-tokens.js +8 -2
- package/resources/beta/responses/input-tokens.js.map +1 -1
- package/resources/beta/responses/input-tokens.mjs +8 -2
- package/resources/beta/responses/input-tokens.mjs.map +1 -1
- package/resources/beta/responses/responses.d.mts +21 -8
- package/resources/beta/responses/responses.d.mts.map +1 -1
- package/resources/beta/responses/responses.d.ts +21 -8
- package/resources/beta/responses/responses.d.ts.map +1 -1
- package/resources/beta/responses/responses.js +78 -11
- package/resources/beta/responses/responses.js.map +1 -1
- package/resources/beta/responses/responses.mjs +78 -11
- 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 +71 -15
- package/resources/beta/threads/messages.js.map +1 -1
- package/resources/beta/threads/messages.mjs +71 -15
- 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 +73 -17
- package/resources/beta/threads/runs/runs.js.map +1 -1
- package/resources/beta/threads/runs/runs.mjs +73 -17
- package/resources/beta/threads/runs/runs.mjs.map +1 -1
- package/resources/beta/threads/runs/steps.d.mts.map +1 -1
- package/resources/beta/threads/runs/steps.d.ts.map +1 -1
- package/resources/beta/threads/runs/steps.js +7 -4
- package/resources/beta/threads/runs/steps.js.map +1 -1
- package/resources/beta/threads/runs/steps.mjs +7 -4
- package/resources/beta/threads/runs/steps.mjs.map +1 -1
- package/resources/beta/threads/threads.d.mts.map +1 -1
- package/resources/beta/threads/threads.d.ts.map +1 -1
- package/resources/beta/threads/threads.js +13 -10
- package/resources/beta/threads/threads.js.map +1 -1
- package/resources/beta/threads/threads.mjs +13 -10
- package/resources/beta/threads/threads.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 +69 -26
- package/resources/chat/completions/completions.js.map +1 -1
- package/resources/chat/completions/completions.mjs +69 -26
- 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 +66 -15
- package/resources/chat/completions/messages.js.map +1 -1
- package/resources/chat/completions/messages.mjs +66 -15
- package/resources/chat/completions/messages.mjs.map +1 -1
- package/resources/completions.d.mts.map +1 -1
- package/resources/completions.d.ts.map +1 -1
- package/resources/completions.js +5 -2
- package/resources/completions.js.map +1 -1
- package/resources/completions.mjs +5 -2
- package/resources/completions.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 +71 -12
- package/resources/containers/containers.js.map +1 -1
- package/resources/containers/containers.mjs +71 -12
- package/resources/containers/containers.mjs.map +1 -1
- package/resources/containers/files/content.d.mts.map +1 -1
- package/resources/containers/files/content.d.ts.map +1 -1
- package/resources/containers/files/content.js +5 -2
- package/resources/containers/files/content.js.map +1 -1
- package/resources/containers/files/content.mjs +5 -2
- package/resources/containers/files/content.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 +67 -12
- package/resources/containers/files/files.js.map +1 -1
- package/resources/containers/files/files.mjs +67 -12
- package/resources/containers/files/files.mjs.map +1 -1
- package/resources/content-provenance-checks.d.mts.map +1 -1
- package/resources/content-provenance-checks.d.ts.map +1 -1
- package/resources/content-provenance-checks.js +4 -1
- package/resources/content-provenance-checks.js.map +1 -1
- package/resources/content-provenance-checks.mjs +4 -1
- package/resources/content-provenance-checks.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 +12 -11
- package/resources/conversations/conversations.js.map +1 -1
- package/resources/conversations/conversations.mjs +12 -11
- 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 +71 -12
- package/resources/conversations/items.js.map +1 -1
- package/resources/conversations/items.mjs +71 -12
- 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 +75 -9
- package/resources/evals/evals.js.map +1 -1
- package/resources/evals/evals.mjs +75 -9
- package/resources/evals/evals.mjs.map +1 -1
- package/resources/evals/runs/output-items.d.mts.map +1 -1
- package/resources/evals/runs/output-items.d.ts.map +1 -1
- package/resources/evals/runs/output-items.js +9 -5
- package/resources/evals/runs/output-items.js.map +1 -1
- package/resources/evals/runs/output-items.mjs +9 -5
- package/resources/evals/runs/output-items.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 +68 -19
- package/resources/evals/runs/runs.js.map +1 -1
- package/resources/evals/runs/runs.mjs +68 -19
- 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 +68 -10
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +68 -10
- package/resources/files.mjs.map +1 -1
- package/resources/fine-tuning/alpha/graders.d.mts.map +1 -1
- package/resources/fine-tuning/alpha/graders.d.ts.map +1 -1
- package/resources/fine-tuning/alpha/graders.js +7 -4
- package/resources/fine-tuning/alpha/graders.js.map +1 -1
- package/resources/fine-tuning/alpha/graders.mjs +7 -4
- package/resources/fine-tuning/alpha/graders.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 +84 -31
- package/resources/fine-tuning/checkpoints/permissions.js.map +1 -1
- package/resources/fine-tuning/checkpoints/permissions.mjs +84 -31
- 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 +66 -14
- package/resources/fine-tuning/jobs/checkpoints.js.map +1 -1
- package/resources/fine-tuning/jobs/checkpoints.mjs +66 -14
- 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 +83 -44
- package/resources/fine-tuning/jobs/jobs.js.map +1 -1
- package/resources/fine-tuning/jobs/jobs.mjs +83 -44
- 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/images.js +8 -5
- package/resources/images.js.map +1 -1
- package/resources/images.mjs +8 -5
- package/resources/images.mjs.map +1 -1
- package/resources/live/live.d.mts.map +1 -1
- package/resources/live/live.d.ts.map +1 -1
- package/resources/live/live.js +8 -1
- package/resources/live/live.js.map +1 -1
- package/resources/live/live.mjs +8 -1
- package/resources/live/live.mjs.map +1 -1
- package/resources/live/sessions.d.mts.map +1 -1
- package/resources/live/sessions.d.ts.map +1 -1
- package/resources/live/sessions.js +15 -12
- package/resources/live/sessions.js.map +1 -1
- package/resources/live/sessions.mjs +15 -12
- package/resources/live/sessions.mjs.map +1 -1
- package/resources/models.d.mts.map +1 -1
- package/resources/models.d.ts.map +1 -1
- package/resources/models.js +6 -3
- package/resources/models.js.map +1 -1
- package/resources/models.mjs +6 -3
- package/resources/models.mjs.map +1 -1
- package/resources/moderations.d.mts.map +1 -1
- package/resources/moderations.d.ts.map +1 -1
- package/resources/moderations.js +8 -1
- package/resources/moderations.js.map +1 -1
- package/resources/moderations.mjs +8 -1
- package/resources/moderations.mjs.map +1 -1
- package/resources/realtime/calls.d.mts.map +1 -1
- package/resources/realtime/calls.d.ts.map +1 -1
- package/resources/realtime/calls.js +13 -10
- package/resources/realtime/calls.js.map +1 -1
- package/resources/realtime/calls.mjs +13 -10
- package/resources/realtime/calls.mjs.map +1 -1
- package/resources/realtime/client-secrets.d.mts.map +1 -1
- package/resources/realtime/client-secrets.d.ts.map +1 -1
- package/resources/realtime/client-secrets.js +5 -2
- package/resources/realtime/client-secrets.js.map +1 -1
- package/resources/realtime/client-secrets.mjs +5 -2
- package/resources/realtime/client-secrets.mjs.map +1 -1
- package/resources/responses/input-items.d.mts +11 -1
- package/resources/responses/input-items.d.mts.map +1 -1
- package/resources/responses/input-items.d.ts +11 -1
- package/resources/responses/input-items.d.ts.map +1 -1
- package/resources/responses/input-items.js +69 -14
- package/resources/responses/input-items.js.map +1 -1
- package/resources/responses/input-items.mjs +69 -14
- package/resources/responses/input-items.mjs.map +1 -1
- package/resources/responses/input-tokens.d.mts +3 -0
- package/resources/responses/input-tokens.d.mts.map +1 -1
- package/resources/responses/input-tokens.d.ts +3 -0
- package/resources/responses/input-tokens.d.ts.map +1 -1
- package/resources/responses/input-tokens.js +8 -2
- package/resources/responses/input-tokens.js.map +1 -1
- package/resources/responses/input-tokens.mjs +8 -2
- package/resources/responses/input-tokens.mjs.map +1 -1
- package/resources/responses/responses.d.mts +21 -8
- package/resources/responses/responses.d.mts.map +1 -1
- package/resources/responses/responses.d.ts +21 -8
- package/resources/responses/responses.d.ts.map +1 -1
- package/resources/responses/responses.js +76 -11
- package/resources/responses/responses.js.map +1 -1
- package/resources/responses/responses.mjs +76 -11
- package/resources/responses/responses.mjs.map +1 -1
- package/resources/safety/alerts.d.mts.map +1 -1
- package/resources/safety/alerts.d.ts.map +1 -1
- package/resources/safety/alerts.js +4 -1
- package/resources/safety/alerts.js.map +1 -1
- package/resources/safety/alerts.mjs +4 -1
- package/resources/safety/alerts.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 +19 -0
- package/resources/safety/cases.js.map +1 -0
- package/resources/safety/cases.mjs +15 -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/skills/content.d.mts.map +1 -1
- package/resources/skills/content.d.ts.map +1 -1
- package/resources/skills/content.js +5 -2
- package/resources/skills/content.js.map +1 -1
- package/resources/skills/content.mjs +5 -2
- package/resources/skills/content.mjs.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 +67 -9
- package/resources/skills/skills.js.map +1 -1
- package/resources/skills/skills.mjs +67 -9
- package/resources/skills/skills.mjs.map +1 -1
- package/resources/skills/versions/content.d.mts.map +1 -1
- package/resources/skills/versions/content.d.ts.map +1 -1
- package/resources/skills/versions/content.js +5 -2
- package/resources/skills/versions/content.js.map +1 -1
- package/resources/skills/versions/content.mjs +5 -2
- package/resources/skills/versions/content.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 +65 -13
- package/resources/skills/versions/versions.js.map +1 -1
- package/resources/skills/versions/versions.mjs +65 -13
- package/resources/skills/versions/versions.mjs.map +1 -1
- package/resources/uploads/parts.d.mts.map +1 -1
- package/resources/uploads/parts.d.ts.map +1 -1
- package/resources/uploads/parts.js +4 -1
- package/resources/uploads/parts.js.map +1 -1
- package/resources/uploads/parts.mjs +4 -1
- package/resources/uploads/parts.mjs.map +1 -1
- package/resources/uploads/uploads.d.mts.map +1 -1
- package/resources/uploads/uploads.d.ts.map +1 -1
- package/resources/uploads/uploads.js +11 -7
- package/resources/uploads/uploads.js.map +1 -1
- package/resources/uploads/uploads.mjs +11 -7
- package/resources/uploads/uploads.mjs.map +1 -1
- package/resources/vector-stores/file-batches.d.mts.map +1 -1
- package/resources/vector-stores/file-batches.d.ts.map +1 -1
- package/resources/vector-stores/file-batches.js +11 -8
- package/resources/vector-stores/file-batches.js.map +1 -1
- package/resources/vector-stores/file-batches.mjs +11 -8
- package/resources/vector-stores/file-batches.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 +73 -15
- package/resources/vector-stores/files.js.map +1 -1
- package/resources/vector-stores/files.mjs +73 -15
- 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 +73 -15
- package/resources/vector-stores/vector-stores.js.map +1 -1
- package/resources/vector-stores/vector-stores.mjs +73 -15
- 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 +79 -27
- package/resources/videos.js.map +1 -1
- package/resources/videos.mjs +79 -27
- package/resources/videos.mjs.map +1 -1
- package/resources/webhooks/event-types.d.mts.map +1 -1
- package/resources/webhooks/event-types.d.ts.map +1 -1
- package/resources/webhooks/event-types.js +4 -1
- package/resources/webhooks/event-types.js.map +1 -1
- package/resources/webhooks/event-types.mjs +4 -1
- package/resources/webhooks/event-types.mjs.map +1 -1
- package/resources/webhooks/webhooks.d.mts +91 -3
- package/resources/webhooks/webhooks.d.mts.map +1 -1
- package/resources/webhooks/webhooks.d.ts +91 -3
- package/resources/webhooks/webhooks.d.ts.map +1 -1
- package/resources/webhooks/webhooks.js +76 -28
- package/resources/webhooks/webhooks.js.map +1 -1
- package/resources/webhooks/webhooks.mjs +76 -28
- package/resources/webhooks/webhooks.mjs.map +1 -1
- package/src/client.ts +345 -4
- package/src/resources/admin/organization/admin-api-keys.ts +237 -18
- package/src/resources/admin/organization/audit-logs.ts +285 -5
- package/src/resources/admin/organization/certificates.ts +353 -28
- package/src/resources/admin/organization/data-retention.ts +22 -9
- package/src/resources/admin/organization/external-storage.ts +446 -0
- package/src/resources/admin/organization/groups/groups.ts +245 -23
- package/src/resources/admin/organization/groups/roles.ts +236 -15
- package/src/resources/admin/organization/groups/users.ts +236 -15
- package/src/resources/admin/organization/index.ts +10 -0
- package/src/resources/admin/organization/invites.ts +237 -18
- package/src/resources/admin/organization/organization.ts +24 -0
- package/src/resources/admin/organization/projects/api-keys.ts +228 -10
- package/src/resources/admin/organization/projects/certificates.ts +226 -4
- package/src/resources/admin/organization/projects/data-retention.ts +22 -9
- package/src/resources/admin/organization/projects/groups/groups.ts +237 -16
- package/src/resources/admin/organization/projects/groups/roles.ts +34 -14
- package/src/resources/admin/organization/projects/hosted-tool-permissions.ts +22 -9
- package/src/resources/admin/organization/projects/model-permissions.ts +29 -13
- package/src/resources/admin/organization/projects/projects.ts +245 -23
- package/src/resources/admin/organization/projects/rate-limits.ts +222 -7
- package/src/resources/admin/organization/projects/roles.ts +247 -23
- package/src/resources/admin/organization/projects/service-accounts/api-keys.ts +12 -1
- package/src/resources/admin/organization/projects/service-accounts/service-accounts.ts +238 -13
- package/src/resources/admin/organization/projects/spend-alerts.ts +244 -20
- package/src/resources/admin/organization/projects/spend-limit.ts +29 -13
- package/src/resources/admin/organization/projects/users/roles.ts +34 -14
- package/src/resources/admin/organization/projects/users/users.ts +244 -20
- package/src/resources/admin/organization/roles.ts +245 -23
- package/src/resources/admin/organization/spend-alerts.ts +242 -20
- package/src/resources/admin/organization/spend-limit.ts +29 -13
- package/src/resources/admin/organization/usage.ts +95 -55
- package/src/resources/admin/organization/users/roles.ts +236 -15
- package/src/resources/admin/organization/users/users.ts +237 -18
- package/src/resources/audio/speech.ts +17 -7
- package/src/resources/audio/transcriptions.ts +18 -9
- package/src/resources/audio/translations.ts +12 -3
- package/src/resources/batches.ts +231 -11
- package/src/resources/beta/agents/agents.ts +341 -70
- package/src/resources/beta/agents/environments/environments.ts +15 -5
- package/src/resources/beta/agents/environments/files.ts +18 -8
- package/src/resources/beta/agents/environments/templates.ts +264 -36
- package/src/resources/beta/agents/index.ts +1 -0
- package/src/resources/beta/agents/sessions/artifacts.ts +239 -22
- package/src/resources/beta/agents/sessions/events.ts +35 -19
- package/src/resources/beta/agents/sessions/items.ts +211 -3
- package/src/resources/beta/agents/sessions/sessions.ts +260 -34
- package/src/resources/beta/agents/sessions/subagents/items.ts +9 -2
- package/src/resources/beta/agents/sessions/subagents/subagents.ts +219 -8
- package/src/resources/beta/agents/sessions/subagents/turns/items.ts +9 -2
- package/src/resources/beta/agents/sessions/subagents/turns/turns.ts +17 -7
- package/src/resources/beta/agents/sessions/turns.ts +229 -13
- package/src/resources/beta/agents/vaults/credentials.ts +432 -49
- package/src/resources/beta/agents/vaults/index.ts +2 -0
- package/src/resources/beta/agents/vaults/vaults.ts +246 -24
- package/src/resources/beta/assistants.ts +250 -28
- package/src/resources/beta/beta.ts +2 -0
- package/src/resources/beta/chatkit/sessions.ts +24 -11
- package/src/resources/beta/chatkit/threads.ts +345 -19
- package/src/resources/beta/index.ts +1 -0
- package/src/resources/beta/responses/input-items.ts +214 -3
- package/src/resources/beta/responses/input-tokens.ts +22 -9
- package/src/resources/beta/responses/responses.ts +328 -54
- package/src/resources/beta/threads/messages.ts +252 -28
- package/src/resources/beta/threads/runs/runs.ts +266 -39
- package/src/resources/beta/threads/runs/steps.ts +26 -12
- package/src/resources/beta/threads/threads.ts +52 -30
- package/src/resources/chat/completions/completions.ts +245 -26
- package/src/resources/chat/completions/messages.ts +214 -2
- package/src/resources/completions.ts +16 -6
- package/src/resources/containers/containers.ts +235 -15
- package/src/resources/containers/files/content.ts +16 -6
- package/src/resources/containers/files/files.ts +235 -15
- package/src/resources/content-provenance-checks.ts +10 -1
- package/src/resources/conversations/conversations.ts +34 -18
- package/src/resources/conversations/items.ts +235 -17
- package/src/resources/evals/evals.ts +239 -9
- package/src/resources/evals/runs/output-items.ts +16 -5
- package/src/resources/evals/runs/runs.ts +237 -22
- package/src/resources/files.ts +235 -14
- package/src/resources/fine-tuning/alpha/graders.ts +23 -10
- package/src/resources/fine-tuning/checkpoints/permissions.ts +326 -9
- package/src/resources/fine-tuning/jobs/checkpoints.ts +214 -2
- package/src/resources/fine-tuning/jobs/jobs.ts +339 -24
- package/src/resources/images.ts +33 -20
- package/src/resources/live/live.ts +15 -1
- package/src/resources/live/sessions.ts +59 -34
- package/src/resources/models.ts +20 -3
- package/src/resources/moderations.ts +15 -1
- package/src/resources/realtime/calls.ts +58 -37
- package/src/resources/realtime/client-secrets.ts +15 -5
- package/src/resources/responses/input-items.ts +217 -2
- package/src/resources/responses/input-tokens.ts +18 -5
- package/src/resources/responses/responses.ts +303 -31
- package/src/resources/safety/alerts.ts +11 -1
- package/src/resources/safety/cases.ts +49 -0
- package/src/resources/safety/index.ts +1 -0
- package/src/resources/safety/safety.ts +6 -0
- package/src/resources/skills/content.ts +16 -6
- package/src/resources/skills/skills.ts +231 -12
- package/src/resources/skills/versions/content.ts +16 -6
- package/src/resources/skills/versions/versions.ts +225 -13
- package/src/resources/uploads/parts.ts +10 -1
- package/src/resources/uploads/uploads.ts +27 -10
- package/src/resources/vector-stores/file-batches.ts +34 -18
- package/src/resources/vector-stores/files.ts +254 -30
- package/src/resources/vector-stores/vector-stores.ts +252 -30
- package/src/resources/videos.ts +349 -23
- package/src/resources/webhooks/api.md +2 -0
- package/src/resources/webhooks/event-types.ts +11 -1
- package/src/resources/webhooks/webhooks.ts +356 -30
- 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
|
@@ -58,7 +58,14 @@ export declare class Agents extends APIResource {
|
|
|
58
58
|
* }
|
|
59
59
|
* ```
|
|
60
60
|
*/
|
|
61
|
-
list(query?: AgentListParams
|
|
61
|
+
list(query?: (AgentListParams & ({
|
|
62
|
+
[K in 'method' | 'path' | 'query' | 'body' | 'headers' | 'maxRetries' | 'stream' | 'timeout' | 'httpAgent' | 'fetchOptions' | 'signal' | 'idempotencyKey' | 'defaultBaseURL' | '__metadata' | '__binaryRequest' | '__binaryResponse' | '__streamClass' | '__security' | '__synthesizeEventData']?: never;
|
|
63
|
+
} | null | undefined)) | null | undefined, options?: RequestOptions): PagePromise<AgentsPage, Agent>;
|
|
64
|
+
list(options?: {
|
|
65
|
+
[K in 'headers' | 'maxRetries' | 'timeout' | 'signal' | 'idempotencyKey' | 'query']?: RequestOptions[K];
|
|
66
|
+
} & {
|
|
67
|
+
[K in 'method' | 'path' | 'body' | 'stream' | 'httpAgent' | 'fetchOptions' | 'defaultBaseURL' | '__metadata' | '__binaryRequest' | '__binaryResponse' | '__streamClass' | '__security' | '__synthesizeEventData']?: never;
|
|
68
|
+
}): PagePromise<AgentsPage, Agent>;
|
|
62
69
|
/**
|
|
63
70
|
* Deletes a reusable agent. See
|
|
64
71
|
* [agent configuration](https://developers.openai.com/api/docs/guides/agents-api/configuration).
|
|
@@ -450,11 +457,12 @@ export type AgentOutputItemStatus = 'in_progress' | 'completed' | 'incomplete';
|
|
|
450
457
|
*/
|
|
451
458
|
export interface AgentReasoning {
|
|
452
459
|
/**
|
|
453
|
-
* The
|
|
460
|
+
* The requested reasoning effort, or `null` when the model selects its own
|
|
461
|
+
* default.
|
|
454
462
|
*/
|
|
455
463
|
effort: 'none' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh' | 'max' | null;
|
|
456
464
|
/**
|
|
457
|
-
* The reasoning summary format
|
|
465
|
+
* The requested reasoning summary format, or `null` when summaries are disabled.
|
|
458
466
|
*
|
|
459
467
|
* - `concise` - Returns a concise reasoning summary when supported.
|
|
460
468
|
* - `detailed` - Returns a detailed reasoning summary when supported.
|
|
@@ -472,7 +480,7 @@ export interface AgentReasoningItem {
|
|
|
472
480
|
*/
|
|
473
481
|
id: string;
|
|
474
482
|
/**
|
|
475
|
-
* The status of
|
|
483
|
+
* The status of the reasoning item.
|
|
476
484
|
*/
|
|
477
485
|
status: AgentOutputItemStatus | null;
|
|
478
486
|
/**
|
|
@@ -493,11 +501,12 @@ export interface AgentReasoningItem {
|
|
|
493
501
|
*/
|
|
494
502
|
export interface AgentReasoningParam {
|
|
495
503
|
/**
|
|
496
|
-
* The amount of reasoning effort the model should use.
|
|
504
|
+
* The amount of reasoning effort the model should use. Omission lets the model
|
|
505
|
+
* select it.
|
|
497
506
|
*/
|
|
498
507
|
effort?: 'none' | 'minimal' | 'low' | 'medium' | 'high' | 'xhigh' | 'max' | null;
|
|
499
508
|
/**
|
|
500
|
-
*
|
|
509
|
+
* Controls whether the response includes a reasoning summary.
|
|
501
510
|
*
|
|
502
511
|
* - `concise` - Returns a concise reasoning summary when supported.
|
|
503
512
|
* - `detailed` - Returns a detailed reasoning summary when supported.
|
|
@@ -621,7 +630,8 @@ export interface AgentSession {
|
|
|
621
630
|
*/
|
|
622
631
|
status: 'idle' | 'in_progress' | 'requires_action' | 'failed';
|
|
623
632
|
/**
|
|
624
|
-
*
|
|
633
|
+
* Best-effort token usage for the session, or null if unknown. Recorded usage may
|
|
634
|
+
* change.
|
|
625
635
|
*/
|
|
626
636
|
usage: TokenUsage | null;
|
|
627
637
|
/**
|
|
@@ -724,7 +734,7 @@ export interface AgentSessionAssistantMessage {
|
|
|
724
734
|
*/
|
|
725
735
|
content: Array<OutputText>;
|
|
726
736
|
/**
|
|
727
|
-
* The phase of
|
|
737
|
+
* The phase of the assistant message.
|
|
728
738
|
*
|
|
729
739
|
* - `commentary` - Commentary produced while the agent works.
|
|
730
740
|
* - `final_answer` - The agent's final answer.
|
|
@@ -908,6 +918,36 @@ export interface AgentSessionEnvironmentReadyEvent {
|
|
|
908
918
|
*/
|
|
909
919
|
type: 'agent.session.environment.ready';
|
|
910
920
|
}
|
|
921
|
+
/**
|
|
922
|
+
* Emitted after a hosted sandbox is replaced. Conversation history survives;
|
|
923
|
+
* changes to the previous sandbox's files and processes do not.
|
|
924
|
+
*/
|
|
925
|
+
export interface AgentSessionEnvironmentResetEvent {
|
|
926
|
+
/**
|
|
927
|
+
* The stable environment ID, retained across sandbox replacements.
|
|
928
|
+
*/
|
|
929
|
+
environment_id: string;
|
|
930
|
+
/**
|
|
931
|
+
* The unique ID of the event.
|
|
932
|
+
*/
|
|
933
|
+
event_id: string;
|
|
934
|
+
/**
|
|
935
|
+
* Monotonically increasing reset number. Repeated notifications share this number.
|
|
936
|
+
*/
|
|
937
|
+
reset_count: number;
|
|
938
|
+
/**
|
|
939
|
+
* The ID of the session associated with the event.
|
|
940
|
+
*/
|
|
941
|
+
session_id: string;
|
|
942
|
+
/**
|
|
943
|
+
* The associated turn, when applicable.
|
|
944
|
+
*/
|
|
945
|
+
turn_id: string | null;
|
|
946
|
+
/**
|
|
947
|
+
* The type of the object. Always `agent.session.environment.reset`.
|
|
948
|
+
*/
|
|
949
|
+
type: 'agent.session.environment.reset';
|
|
950
|
+
}
|
|
911
951
|
/**
|
|
912
952
|
* The current state of a session environment.
|
|
913
953
|
*/
|
|
@@ -917,7 +957,7 @@ export interface AgentSessionEnvironmentState {
|
|
|
917
957
|
*/
|
|
918
958
|
id: string;
|
|
919
959
|
/**
|
|
920
|
-
*
|
|
960
|
+
* The error reported while preparing the environment, if any.
|
|
921
961
|
*/
|
|
922
962
|
error: AgentSessionEnvironmentState.Error | null;
|
|
923
963
|
/**
|
|
@@ -937,7 +977,7 @@ export interface AgentSessionEnvironmentState {
|
|
|
937
977
|
}
|
|
938
978
|
export declare namespace AgentSessionEnvironmentState {
|
|
939
979
|
/**
|
|
940
|
-
*
|
|
980
|
+
* The error reported while preparing the environment, if any.
|
|
941
981
|
*/
|
|
942
982
|
interface Error {
|
|
943
983
|
/**
|
|
@@ -978,7 +1018,7 @@ export interface AgentSessionErrorEvent {
|
|
|
978
1018
|
/**
|
|
979
1019
|
* An event emitted by a Managed Agents session.
|
|
980
1020
|
*/
|
|
981
|
-
export type AgentSessionEvent = AgentSessionErrorEvent | AgentSessionEnvironmentReadyEvent | AgentOutputCommandExecutionOutputDeltaEvent | AgentSessionCreatedEvent | AgentSessionTurnCreatedEvent | AgentSessionTurnInProgressEvent | AgentSessionTurnCompletedEvent | AgentSessionTurnFailedEvent | AgentSessionTurnCancelledEvent | AgentSessionTurnItemAddedEvent | AgentSessionIdleEvent | AgentSessionInProgressEvent | AgentSessionRequiresActionEvent | AgentSessionFailedEvent | AgentSessionEnvironmentPendingEvent | AgentSessionEnvironmentConnectedEvent | AgentSessionEnvironmentDisconnectedEvent | AgentSessionEnvironmentFailedEvent | AgentSessionSubagentCreatedEvent | AgentSessionSubagentActiveEvent | AgentSessionSubagentClosedEvent | AgentSessionTurnItemDoneEvent | AgentSessionTurnContentPartAddedEvent | AgentSessionTurnContentPartDoneEvent | AgentSessionTurnOutputTextDeltaEvent | AgentSessionTurnOutputTextDoneEvent | AgentSessionTurnReasoningSummaryPartAddedEvent | AgentSessionTurnReasoningSummaryPartDoneEvent | AgentSessionTurnReasoningSummaryTextDeltaEvent | AgentSessionTurnReasoningSummaryTextDoneEvent;
|
|
1021
|
+
export type AgentSessionEvent = AgentSessionErrorEvent | AgentSessionEnvironmentReadyEvent | AgentSessionEnvironmentResetEvent | AgentOutputCommandExecutionOutputDeltaEvent | AgentSessionCreatedEvent | AgentSessionTurnCreatedEvent | AgentSessionTurnInProgressEvent | AgentSessionTurnCompletedEvent | AgentSessionTurnFailedEvent | AgentSessionTurnCancelledEvent | AgentSessionTurnItemAddedEvent | AgentSessionIdleEvent | AgentSessionInProgressEvent | AgentSessionRequiresActionEvent | AgentSessionFailedEvent | AgentSessionEnvironmentPendingEvent | AgentSessionEnvironmentConnectedEvent | AgentSessionEnvironmentDisconnectedEvent | AgentSessionEnvironmentFailedEvent | AgentSessionSubagentCreatedEvent | AgentSessionSubagentActiveEvent | AgentSessionSubagentClosedEvent | AgentSessionTurnItemDoneEvent | AgentSessionTurnContentPartAddedEvent | AgentSessionTurnContentPartDoneEvent | AgentSessionTurnOutputTextDeltaEvent | AgentSessionTurnOutputTextDoneEvent | AgentSessionTurnReasoningSummaryPartAddedEvent | AgentSessionTurnReasoningSummaryPartDoneEvent | AgentSessionTurnReasoningSummaryTextDeltaEvent | AgentSessionTurnReasoningSummaryTextDoneEvent;
|
|
982
1022
|
/**
|
|
983
1023
|
* Emitted when a session fails.
|
|
984
1024
|
*/
|
|
@@ -1099,7 +1139,7 @@ export declare namespace AgentSessionInputParam {
|
|
|
1099
1139
|
*/
|
|
1100
1140
|
error?: string | null;
|
|
1101
1141
|
/**
|
|
1102
|
-
*
|
|
1142
|
+
* The function result when the call succeeded.
|
|
1103
1143
|
*/
|
|
1104
1144
|
output?: AgentsAPI.AgentFunctionCallOutputParam | null;
|
|
1105
1145
|
}
|
|
@@ -1126,7 +1166,7 @@ export declare namespace AgentSessionItem {
|
|
|
1126
1166
|
*/
|
|
1127
1167
|
error: string | null;
|
|
1128
1168
|
/**
|
|
1129
|
-
* The
|
|
1169
|
+
* The function result, if the call succeeded.
|
|
1130
1170
|
*/
|
|
1131
1171
|
output: AgentsAPI.AgentFunctionCallOutput | null;
|
|
1132
1172
|
/**
|
|
@@ -1186,7 +1226,7 @@ export interface AgentSessionMessage {
|
|
|
1186
1226
|
*/
|
|
1187
1227
|
content: Array<AgentSessionMessageContent>;
|
|
1188
1228
|
/**
|
|
1189
|
-
* The phase of an assistant message.
|
|
1229
|
+
* The phase of an assistant message. Null for user messages.
|
|
1190
1230
|
*
|
|
1191
1231
|
* - `commentary` - Commentary produced while the agent works.
|
|
1192
1232
|
* - `final_answer` - The agent's final answer.
|
|
@@ -1348,7 +1388,7 @@ export interface AgentSessionTurnCancelledEvent {
|
|
|
1348
1388
|
*/
|
|
1349
1389
|
type: 'agent.session.turn.cancelled';
|
|
1350
1390
|
/**
|
|
1351
|
-
*
|
|
1391
|
+
* Token usage by the root agent during the turn, when available.
|
|
1352
1392
|
*/
|
|
1353
1393
|
usage: TokenUsage | null;
|
|
1354
1394
|
}
|
|
@@ -1377,7 +1417,7 @@ export interface AgentSessionTurnCompletedEvent {
|
|
|
1377
1417
|
*/
|
|
1378
1418
|
type: 'agent.session.turn.completed';
|
|
1379
1419
|
/**
|
|
1380
|
-
*
|
|
1420
|
+
* Token usage by the root agent during the turn, when available.
|
|
1381
1421
|
*/
|
|
1382
1422
|
usage: TokenUsage | null;
|
|
1383
1423
|
}
|
|
@@ -1505,7 +1545,7 @@ export interface AgentSessionTurnFailedEvent {
|
|
|
1505
1545
|
*/
|
|
1506
1546
|
type: 'agent.session.turn.failed';
|
|
1507
1547
|
/**
|
|
1508
|
-
*
|
|
1548
|
+
* Token usage by the root agent during the turn, when available.
|
|
1509
1549
|
*/
|
|
1510
1550
|
usage: TokenUsage | null;
|
|
1511
1551
|
}
|
|
@@ -1838,11 +1878,12 @@ export interface AgentText {
|
|
|
1838
1878
|
*/
|
|
1839
1879
|
export interface AgentTextParam {
|
|
1840
1880
|
/**
|
|
1841
|
-
* The output format
|
|
1881
|
+
* The output format. Omission uses ordinary text (`{"type": "text"}`).
|
|
1842
1882
|
*/
|
|
1843
1883
|
format?: TextFormatParam | null;
|
|
1844
1884
|
/**
|
|
1845
|
-
* The amount of text the model should produce.
|
|
1885
|
+
* The amount of text the model should produce. Defaults to `medium`, matching
|
|
1886
|
+
* Responses.
|
|
1846
1887
|
*
|
|
1847
1888
|
* - `low` - Produces less text.
|
|
1848
1889
|
* - `medium` - Uses the default amount of text.
|
|
@@ -1948,7 +1989,7 @@ export declare namespace AgentTool {
|
|
|
1948
1989
|
*/
|
|
1949
1990
|
context_size: 'low' | 'medium' | 'high';
|
|
1950
1991
|
/**
|
|
1951
|
-
* Approximate
|
|
1992
|
+
* Approximate location used to localize search results, if provided.
|
|
1952
1993
|
*/
|
|
1953
1994
|
location: AgentToolResourceWebSearch.Location | null;
|
|
1954
1995
|
/**
|
|
@@ -1962,7 +2003,7 @@ export declare namespace AgentTool {
|
|
|
1962
2003
|
}
|
|
1963
2004
|
namespace AgentToolResourceWebSearch {
|
|
1964
2005
|
/**
|
|
1965
|
-
* Approximate
|
|
2006
|
+
* Approximate location used to localize search results, if provided.
|
|
1966
2007
|
*/
|
|
1967
2008
|
interface Location {
|
|
1968
2009
|
/**
|
|
@@ -2060,7 +2101,9 @@ export declare namespace AgentToolParam {
|
|
|
2060
2101
|
*/
|
|
2061
2102
|
allowed_tools?: Array<string> | null;
|
|
2062
2103
|
/**
|
|
2063
|
-
*
|
|
2104
|
+
* Selects where outbound MCP HTTP connections originate. Omitted or `service` uses
|
|
2105
|
+
* the Managed Agents service network; `environment` uses the session's selected
|
|
2106
|
+
* environment.
|
|
2064
2107
|
*
|
|
2065
2108
|
* - `service` - Uses the Managed Agents service network.
|
|
2066
2109
|
* - `environment` - Uses the session's execution environment.
|
|
@@ -2096,15 +2139,15 @@ export declare namespace AgentToolParam {
|
|
|
2096
2139
|
*/
|
|
2097
2140
|
allowed_domains?: Array<string> | null;
|
|
2098
2141
|
/**
|
|
2099
|
-
* The amount of
|
|
2142
|
+
* The amount of search context made available to the model. Defaults to `medium`.
|
|
2100
2143
|
*/
|
|
2101
2144
|
context_size?: 'low' | 'medium' | 'high' | null;
|
|
2102
2145
|
/**
|
|
2103
|
-
* Approximate
|
|
2146
|
+
* Approximate location used to localize search results.
|
|
2104
2147
|
*/
|
|
2105
2148
|
location?: AgentToolConfigParamWebSearch.Location | null;
|
|
2106
2149
|
/**
|
|
2107
|
-
* The source used for web search results.
|
|
2150
|
+
* The source used for web search results. Defaults to `live`.
|
|
2108
2151
|
*
|
|
2109
2152
|
* - `disabled` - Disables web search.
|
|
2110
2153
|
* - `cached` - Uses cached search results.
|
|
@@ -2114,7 +2157,7 @@ export declare namespace AgentToolParam {
|
|
|
2114
2157
|
}
|
|
2115
2158
|
namespace AgentToolConfigParamWebSearch {
|
|
2116
2159
|
/**
|
|
2117
|
-
* Approximate
|
|
2160
|
+
* Approximate location used to localize search results.
|
|
2118
2161
|
*/
|
|
2119
2162
|
interface Location {
|
|
2120
2163
|
/**
|
|
@@ -2174,7 +2217,7 @@ export interface AgentWebSearchCallItem {
|
|
|
2174
2217
|
*/
|
|
2175
2218
|
id: string;
|
|
2176
2219
|
/**
|
|
2177
|
-
*
|
|
2220
|
+
* The action performed by the web search tool.
|
|
2178
2221
|
*/
|
|
2179
2222
|
action: WebSearchAction | null;
|
|
2180
2223
|
/**
|
|
@@ -2348,11 +2391,12 @@ export declare namespace EnvironmentParam {
|
|
|
2348
2391
|
*/
|
|
2349
2392
|
files?: Array<AgentsAPI.HostedEnvironmentFileParam> | null;
|
|
2350
2393
|
/**
|
|
2351
|
-
* Network access for
|
|
2394
|
+
* Network access policy for the environment. Defaults to disabled for GA requests
|
|
2395
|
+
* and enabled for alpha/beta requests.
|
|
2352
2396
|
*/
|
|
2353
2397
|
network?: EnvironmentParamOpenAIHosted.Network | null;
|
|
2354
2398
|
/**
|
|
2355
|
-
* Packages to install in
|
|
2399
|
+
* Packages to install in the environment. Defaults to empty package lists.
|
|
2356
2400
|
*/
|
|
2357
2401
|
packages?: EnvironmentParamOpenAIHosted.Packages | null;
|
|
2358
2402
|
/**
|
|
@@ -2371,7 +2415,8 @@ export declare namespace EnvironmentParam {
|
|
|
2371
2415
|
}
|
|
2372
2416
|
namespace EnvironmentParamOpenAIHosted {
|
|
2373
2417
|
/**
|
|
2374
|
-
* Network access for
|
|
2418
|
+
* Network access policy for the environment. Defaults to disabled for GA requests
|
|
2419
|
+
* and enabled for alpha/beta requests.
|
|
2375
2420
|
*/
|
|
2376
2421
|
interface Network {
|
|
2377
2422
|
/**
|
|
@@ -2388,7 +2433,7 @@ export declare namespace EnvironmentParam {
|
|
|
2388
2433
|
allowed_domains?: Array<string> | null;
|
|
2389
2434
|
}
|
|
2390
2435
|
/**
|
|
2391
|
-
* Packages to install in
|
|
2436
|
+
* Packages to install in the environment. Defaults to empty package lists.
|
|
2392
2437
|
*/
|
|
2393
2438
|
interface Packages {
|
|
2394
2439
|
/**
|
|
@@ -2978,7 +3023,7 @@ export declare namespace PersistedAgentTool {
|
|
|
2978
3023
|
*/
|
|
2979
3024
|
context_size: 'low' | 'medium' | 'high';
|
|
2980
3025
|
/**
|
|
2981
|
-
* Approximate
|
|
3026
|
+
* Approximate location used to localize search results, if provided.
|
|
2982
3027
|
*/
|
|
2983
3028
|
location: PersistedAgentToolResourceWebSearch.Location | null;
|
|
2984
3029
|
/**
|
|
@@ -2992,7 +3037,7 @@ export declare namespace PersistedAgentTool {
|
|
|
2992
3037
|
}
|
|
2993
3038
|
namespace PersistedAgentToolResourceWebSearch {
|
|
2994
3039
|
/**
|
|
2995
|
-
* Approximate
|
|
3040
|
+
* Approximate location used to localize search results, if provided.
|
|
2996
3041
|
*/
|
|
2997
3042
|
interface Location {
|
|
2998
3043
|
/**
|
|
@@ -3090,7 +3135,7 @@ export declare namespace PersistedAgentToolParam {
|
|
|
3090
3135
|
*/
|
|
3091
3136
|
allowed_tools?: Array<string> | null;
|
|
3092
3137
|
/**
|
|
3093
|
-
*
|
|
3138
|
+
* Selects where outbound MCP HTTP connections originate.
|
|
3094
3139
|
*
|
|
3095
3140
|
* - `service` - Uses the Managed Agents service network.
|
|
3096
3141
|
* - `environment` - Uses the session's execution environment.
|
|
@@ -3126,15 +3171,15 @@ export declare namespace PersistedAgentToolParam {
|
|
|
3126
3171
|
*/
|
|
3127
3172
|
allowed_domains?: Array<string> | null;
|
|
3128
3173
|
/**
|
|
3129
|
-
* The amount of
|
|
3174
|
+
* The amount of search context made available to the model. Defaults to `medium`.
|
|
3130
3175
|
*/
|
|
3131
3176
|
context_size?: 'low' | 'medium' | 'high' | null;
|
|
3132
3177
|
/**
|
|
3133
|
-
* Approximate
|
|
3178
|
+
* Approximate location used to localize search results.
|
|
3134
3179
|
*/
|
|
3135
3180
|
location?: PersistedAgentToolConfigParamWebSearch.Location | null;
|
|
3136
3181
|
/**
|
|
3137
|
-
* The source used for web search results.
|
|
3182
|
+
* The source used for web search results. Defaults to `live`.
|
|
3138
3183
|
*
|
|
3139
3184
|
* - `disabled` - Disables web search.
|
|
3140
3185
|
* - `cached` - Uses cached search results.
|
|
@@ -3144,7 +3189,7 @@ export declare namespace PersistedAgentToolParam {
|
|
|
3144
3189
|
}
|
|
3145
3190
|
namespace PersistedAgentToolConfigParamWebSearch {
|
|
3146
3191
|
/**
|
|
3147
|
-
* Approximate
|
|
3192
|
+
* Approximate location used to localize search results.
|
|
3148
3193
|
*/
|
|
3149
3194
|
interface Location {
|
|
3150
3195
|
/**
|
|
@@ -3581,7 +3626,8 @@ export interface AgentCreateParams {
|
|
|
3581
3626
|
[key: string]: string;
|
|
3582
3627
|
} | null;
|
|
3583
3628
|
/**
|
|
3584
|
-
*
|
|
3629
|
+
* Configuration for creating and coordinating subagents. Subagent tools are
|
|
3630
|
+
* disabled by default.
|
|
3585
3631
|
*/
|
|
3586
3632
|
multi_agent?: MultiAgentConfigParam | null;
|
|
3587
3633
|
/**
|
|
@@ -3589,11 +3635,11 @@ export interface AgentCreateParams {
|
|
|
3589
3635
|
*/
|
|
3590
3636
|
name?: string | null;
|
|
3591
3637
|
/**
|
|
3592
|
-
*
|
|
3638
|
+
* Configuration for model reasoning. Omission uses the model's default effort.
|
|
3593
3639
|
*/
|
|
3594
3640
|
reasoning?: AgentReasoningParam | null;
|
|
3595
3641
|
/**
|
|
3596
|
-
* The service tier used for model requests.
|
|
3642
|
+
* The service tier used for model requests. Defaults to `auto`.
|
|
3597
3643
|
*
|
|
3598
3644
|
* - `auto` - Selects the service tier automatically.
|
|
3599
3645
|
* - `default` - Uses the default service tier.
|
|
@@ -3603,7 +3649,8 @@ export interface AgentCreateParams {
|
|
|
3603
3649
|
*/
|
|
3604
3650
|
service_tier?: 'auto' | 'default' | 'flex' | 'priority' | 'fast' | null;
|
|
3605
3651
|
/**
|
|
3606
|
-
* Configuration for text
|
|
3652
|
+
* Configuration for generated text. Defaults to the `text` format and medium
|
|
3653
|
+
* verbosity.
|
|
3607
3654
|
*/
|
|
3608
3655
|
text?: AgentTextParam | null;
|
|
3609
3656
|
/**
|
|
@@ -3630,7 +3677,7 @@ export interface AgentUpdateParams {
|
|
|
3630
3677
|
*/
|
|
3631
3678
|
model?: string;
|
|
3632
3679
|
/**
|
|
3633
|
-
*
|
|
3680
|
+
* Configuration for creating and coordinating subagents.
|
|
3634
3681
|
*/
|
|
3635
3682
|
multi_agent?: MultiAgentConfigParam | null;
|
|
3636
3683
|
/**
|
|
@@ -3638,7 +3685,8 @@ export interface AgentUpdateParams {
|
|
|
3638
3685
|
*/
|
|
3639
3686
|
name?: string | null;
|
|
3640
3687
|
/**
|
|
3641
|
-
*
|
|
3688
|
+
* Configuration for model reasoning. Omit to keep the current settings; pass
|
|
3689
|
+
* `null` to reset to the model's default effort.
|
|
3642
3690
|
*/
|
|
3643
3691
|
reasoning?: AgentReasoningParam | null;
|
|
3644
3692
|
/**
|
|
@@ -3674,7 +3722,7 @@ export interface AgentListParams extends Omit<CursorPageParams, 'limit'> {
|
|
|
3674
3722
|
order?: 'asc' | 'desc';
|
|
3675
3723
|
}
|
|
3676
3724
|
export declare namespace Agents {
|
|
3677
|
-
export { type Agent as Agent, type AgentCloseSubagentCallItem as AgentCloseSubagentCallItem, type AgentCommandExecutionItem as AgentCommandExecutionItem, type AgentContent as AgentContent, type AgentCreateSubagentCallItem as AgentCreateSubagentCallItem, type AgentDeleted as AgentDeleted, type AgentFunctionCallItem as AgentFunctionCallItem, type AgentFunctionCallOutput as AgentFunctionCallOutput, type AgentFunctionCallOutputParam as AgentFunctionCallOutputParam, type AgentFunctionCallStatus as AgentFunctionCallStatus, type AgentInterruptSubagentCallItem as AgentInterruptSubagentCallItem, type AgentMcpCallItem as AgentMcpCallItem, type AgentOutputCommandExecutionOutputDeltaEvent as AgentOutputCommandExecutionOutputDeltaEvent, type AgentOutputItem as AgentOutputItem, type AgentOutputItemStatus as AgentOutputItemStatus, type AgentReasoning as AgentReasoning, type AgentReasoningItem as AgentReasoningItem, type AgentReasoningParam as AgentReasoningParam, type AgentResumeSubagentCallItem as AgentResumeSubagentCallItem, type AgentSendSubagentInputCallItem as AgentSendSubagentInputCallItem, type AgentSession as AgentSession, type AgentSessionAssistantMessage as AgentSessionAssistantMessage, type AgentSessionCreatedEvent as AgentSessionCreatedEvent, type AgentSessionDeleted as AgentSessionDeleted, type AgentSessionEnvironmentConnectedEvent as AgentSessionEnvironmentConnectedEvent, type AgentSessionEnvironmentDisconnectedEvent as AgentSessionEnvironmentDisconnectedEvent, type AgentSessionEnvironmentFailedEvent as AgentSessionEnvironmentFailedEvent, type AgentSessionEnvironmentPendingEvent as AgentSessionEnvironmentPendingEvent, type AgentSessionEnvironmentReadyEvent as AgentSessionEnvironmentReadyEvent, type AgentSessionEnvironmentState as AgentSessionEnvironmentState, type AgentSessionErrorEvent as AgentSessionErrorEvent, type AgentSessionEvent as AgentSessionEvent, type AgentSessionFailedEvent as AgentSessionFailedEvent, type AgentSessionIdleEvent as AgentSessionIdleEvent, type AgentSessionInProgressEvent as AgentSessionInProgressEvent, type AgentSessionInputMessageParam as AgentSessionInputMessageParam, type AgentSessionInputParam as AgentSessionInputParam, type AgentSessionItem as AgentSessionItem, type AgentSessionMessage as AgentSessionMessage, type AgentSessionMessageContent as AgentSessionMessageContent, type AgentSessionRequiresActionEvent as AgentSessionRequiresActionEvent, type AgentSessionSubagentActiveEvent as AgentSessionSubagentActiveEvent, type AgentSessionSubagentClosedEvent as AgentSessionSubagentClosedEvent, type AgentSessionSubagentCreatedEvent as AgentSessionSubagentCreatedEvent, type AgentSessionTurnCancelledEvent as AgentSessionTurnCancelledEvent, type AgentSessionTurnCompletedEvent as AgentSessionTurnCompletedEvent, type AgentSessionTurnContentPartAddedEvent as AgentSessionTurnContentPartAddedEvent, type AgentSessionTurnContentPartDoneEvent as AgentSessionTurnContentPartDoneEvent, type AgentSessionTurnCreatedEvent as AgentSessionTurnCreatedEvent, type AgentSessionTurnFailedEvent as AgentSessionTurnFailedEvent, type AgentSessionTurnInProgressEvent as AgentSessionTurnInProgressEvent, type AgentSessionTurnItemAddedEvent as AgentSessionTurnItemAddedEvent, type AgentSessionTurnItemDoneEvent as AgentSessionTurnItemDoneEvent, type AgentSessionTurnOutputTextDeltaEvent as AgentSessionTurnOutputTextDeltaEvent, type AgentSessionTurnOutputTextDoneEvent as AgentSessionTurnOutputTextDoneEvent, type AgentSessionTurnReasoningSummaryPartAddedEvent as AgentSessionTurnReasoningSummaryPartAddedEvent, type AgentSessionTurnReasoningSummaryPartDoneEvent as AgentSessionTurnReasoningSummaryPartDoneEvent, type AgentSessionTurnReasoningSummaryTextDeltaEvent as AgentSessionTurnReasoningSummaryTextDeltaEvent, type AgentSessionTurnReasoningSummaryTextDoneEvent as AgentSessionTurnReasoningSummaryTextDoneEvent, type AgentText as AgentText, type AgentTextParam as AgentTextParam, type AgentTool as AgentTool, type AgentToolParam as AgentToolParam, type AgentWaitForSubagentsCallItem as AgentWaitForSubagentsCallItem, type AgentWebSearchCallItem as AgentWebSearchCallItem, type Environment as Environment, type EnvironmentParam as EnvironmentParam, type HostedEnvironmentFile as HostedEnvironmentFile, type HostedEnvironmentFileID as HostedEnvironmentFileID, type HostedEnvironmentFileParam as HostedEnvironmentFileParam, type HostedPlugin as HostedPlugin, type HostedPluginParam as HostedPluginParam, type HostedSkill as HostedSkill, type HostedSkillParam as HostedSkillParam, type HostedSkillReference as HostedSkillReference, type InlineCapabilitySourceParam as InlineCapabilitySourceParam, type InputContent as InputContent, type InputContentParam as InputContentParam, type McpTransport as McpTransport, type McpTransportParam as McpTransportParam, type MultiAgentConfig as MultiAgentConfig, type MultiAgentConfigParam as MultiAgentConfigParam, type OutputText as OutputText, type PersistedAgentTool as PersistedAgentTool, type PersistedAgentToolParam as PersistedAgentToolParam, type PersistedMcpTransport as PersistedMcpTransport, type PersistedMcpTransportParam as PersistedMcpTransportParam, type SessionError as SessionError, type SessionTurnError as SessionTurnError, type SetupCommandParam as SetupCommandParam, type Subagent as Subagent, type SummaryText as SummaryText, type TextFormat as TextFormat, type TextFormatParam as TextFormatParam, type TokenUsage as TokenUsage, type WebSearchAction as WebSearchAction, type AgentsPage as AgentsPage, type AgentCreateParams as AgentCreateParams, type AgentUpdateParams as AgentUpdateParams, type AgentListParams as AgentListParams, };
|
|
3725
|
+
export { type Agent as Agent, type AgentCloseSubagentCallItem as AgentCloseSubagentCallItem, type AgentCommandExecutionItem as AgentCommandExecutionItem, type AgentContent as AgentContent, type AgentCreateSubagentCallItem as AgentCreateSubagentCallItem, type AgentDeleted as AgentDeleted, type AgentFunctionCallItem as AgentFunctionCallItem, type AgentFunctionCallOutput as AgentFunctionCallOutput, type AgentFunctionCallOutputParam as AgentFunctionCallOutputParam, type AgentFunctionCallStatus as AgentFunctionCallStatus, type AgentInterruptSubagentCallItem as AgentInterruptSubagentCallItem, type AgentMcpCallItem as AgentMcpCallItem, type AgentOutputCommandExecutionOutputDeltaEvent as AgentOutputCommandExecutionOutputDeltaEvent, type AgentOutputItem as AgentOutputItem, type AgentOutputItemStatus as AgentOutputItemStatus, type AgentReasoning as AgentReasoning, type AgentReasoningItem as AgentReasoningItem, type AgentReasoningParam as AgentReasoningParam, type AgentResumeSubagentCallItem as AgentResumeSubagentCallItem, type AgentSendSubagentInputCallItem as AgentSendSubagentInputCallItem, type AgentSession as AgentSession, type AgentSessionAssistantMessage as AgentSessionAssistantMessage, type AgentSessionCreatedEvent as AgentSessionCreatedEvent, type AgentSessionDeleted as AgentSessionDeleted, type AgentSessionEnvironmentConnectedEvent as AgentSessionEnvironmentConnectedEvent, type AgentSessionEnvironmentDisconnectedEvent as AgentSessionEnvironmentDisconnectedEvent, type AgentSessionEnvironmentFailedEvent as AgentSessionEnvironmentFailedEvent, type AgentSessionEnvironmentPendingEvent as AgentSessionEnvironmentPendingEvent, type AgentSessionEnvironmentReadyEvent as AgentSessionEnvironmentReadyEvent, type AgentSessionEnvironmentResetEvent as AgentSessionEnvironmentResetEvent, type AgentSessionEnvironmentState as AgentSessionEnvironmentState, type AgentSessionErrorEvent as AgentSessionErrorEvent, type AgentSessionEvent as AgentSessionEvent, type AgentSessionFailedEvent as AgentSessionFailedEvent, type AgentSessionIdleEvent as AgentSessionIdleEvent, type AgentSessionInProgressEvent as AgentSessionInProgressEvent, type AgentSessionInputMessageParam as AgentSessionInputMessageParam, type AgentSessionInputParam as AgentSessionInputParam, type AgentSessionItem as AgentSessionItem, type AgentSessionMessage as AgentSessionMessage, type AgentSessionMessageContent as AgentSessionMessageContent, type AgentSessionRequiresActionEvent as AgentSessionRequiresActionEvent, type AgentSessionSubagentActiveEvent as AgentSessionSubagentActiveEvent, type AgentSessionSubagentClosedEvent as AgentSessionSubagentClosedEvent, type AgentSessionSubagentCreatedEvent as AgentSessionSubagentCreatedEvent, type AgentSessionTurnCancelledEvent as AgentSessionTurnCancelledEvent, type AgentSessionTurnCompletedEvent as AgentSessionTurnCompletedEvent, type AgentSessionTurnContentPartAddedEvent as AgentSessionTurnContentPartAddedEvent, type AgentSessionTurnContentPartDoneEvent as AgentSessionTurnContentPartDoneEvent, type AgentSessionTurnCreatedEvent as AgentSessionTurnCreatedEvent, type AgentSessionTurnFailedEvent as AgentSessionTurnFailedEvent, type AgentSessionTurnInProgressEvent as AgentSessionTurnInProgressEvent, type AgentSessionTurnItemAddedEvent as AgentSessionTurnItemAddedEvent, type AgentSessionTurnItemDoneEvent as AgentSessionTurnItemDoneEvent, type AgentSessionTurnOutputTextDeltaEvent as AgentSessionTurnOutputTextDeltaEvent, type AgentSessionTurnOutputTextDoneEvent as AgentSessionTurnOutputTextDoneEvent, type AgentSessionTurnReasoningSummaryPartAddedEvent as AgentSessionTurnReasoningSummaryPartAddedEvent, type AgentSessionTurnReasoningSummaryPartDoneEvent as AgentSessionTurnReasoningSummaryPartDoneEvent, type AgentSessionTurnReasoningSummaryTextDeltaEvent as AgentSessionTurnReasoningSummaryTextDeltaEvent, type AgentSessionTurnReasoningSummaryTextDoneEvent as AgentSessionTurnReasoningSummaryTextDoneEvent, type AgentText as AgentText, type AgentTextParam as AgentTextParam, type AgentTool as AgentTool, type AgentToolParam as AgentToolParam, type AgentWaitForSubagentsCallItem as AgentWaitForSubagentsCallItem, type AgentWebSearchCallItem as AgentWebSearchCallItem, type Environment as Environment, type EnvironmentParam as EnvironmentParam, type HostedEnvironmentFile as HostedEnvironmentFile, type HostedEnvironmentFileID as HostedEnvironmentFileID, type HostedEnvironmentFileParam as HostedEnvironmentFileParam, type HostedPlugin as HostedPlugin, type HostedPluginParam as HostedPluginParam, type HostedSkill as HostedSkill, type HostedSkillParam as HostedSkillParam, type HostedSkillReference as HostedSkillReference, type InlineCapabilitySourceParam as InlineCapabilitySourceParam, type InputContent as InputContent, type InputContentParam as InputContentParam, type McpTransport as McpTransport, type McpTransportParam as McpTransportParam, type MultiAgentConfig as MultiAgentConfig, type MultiAgentConfigParam as MultiAgentConfigParam, type OutputText as OutputText, type PersistedAgentTool as PersistedAgentTool, type PersistedAgentToolParam as PersistedAgentToolParam, type PersistedMcpTransport as PersistedMcpTransport, type PersistedMcpTransportParam as PersistedMcpTransportParam, type SessionError as SessionError, type SessionTurnError as SessionTurnError, type SetupCommandParam as SetupCommandParam, type Subagent as Subagent, type SummaryText as SummaryText, type TextFormat as TextFormat, type TextFormatParam as TextFormatParam, type TokenUsage as TokenUsage, type WebSearchAction as WebSearchAction, type AgentsPage as AgentsPage, type AgentCreateParams as AgentCreateParams, type AgentUpdateParams as AgentUpdateParams, type AgentListParams as AgentListParams, };
|
|
3678
3726
|
export { Environments as Environments, type EnvironmentInfo as EnvironmentInfo };
|
|
3679
3727
|
export { Vaults as Vaults, type Vault as Vault, type VaultDeleted as VaultDeleted, type VaultStatus as VaultStatus, type VaultStatusFilter as VaultStatusFilter, type VaultsPage as VaultsPage, type VaultCreateParams as VaultCreateParams, type VaultListParams as VaultListParams, };
|
|
3680
3728
|
export { Sessions as Sessions, type SessionCreateParams as SessionCreateParams, type SessionCreateParamsNonStreaming as SessionCreateParamsNonStreaming, type SessionCreateParamsStreaming as SessionCreateParamsStreaming, type SessionUpdateParams as SessionUpdateParams, type SessionListParams as SessionListParams, };
|