@azure/ai-projects 2.0.0-beta.5 → 2.0.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/README.md +26 -29
- package/dist/browser/aiProjectClient.d.ts +11 -11
- package/dist/browser/aiProjectClient.d.ts.map +1 -1
- package/dist/browser/aiProjectClient.js +1 -1
- package/dist/browser/aiProjectClient.js.map +1 -1
- package/dist/browser/api/agents/index.d.ts +1 -1
- package/dist/browser/api/agents/index.d.ts.map +1 -1
- package/dist/browser/api/agents/index.js.map +1 -1
- package/dist/browser/api/agents/operations.d.ts +11 -11
- package/dist/browser/api/agents/operations.d.ts.map +1 -1
- package/dist/browser/api/agents/operations.js +2 -2
- package/dist/browser/api/agents/operations.js.map +1 -1
- package/dist/browser/api/agents/options.d.ts +5 -5
- package/dist/browser/api/agents/options.d.ts.map +1 -1
- package/dist/browser/api/agents/options.js.map +1 -1
- package/dist/browser/api/aiProjectContext.d.ts +2 -2
- package/dist/browser/api/aiProjectContext.d.ts.map +1 -1
- package/dist/browser/api/aiProjectContext.js +1 -1
- package/dist/browser/api/aiProjectContext.js.map +1 -1
- package/dist/browser/api/beta/evaluationTaxonomies/index.d.ts +1 -1
- package/dist/browser/api/beta/evaluationTaxonomies/index.d.ts.map +1 -1
- package/dist/browser/api/beta/evaluationTaxonomies/index.js.map +1 -1
- package/dist/browser/api/beta/evaluationTaxonomies/operations.d.ts +5 -5
- package/dist/browser/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/evaluationTaxonomies/operations.js +12 -3
- package/dist/browser/api/beta/evaluationTaxonomies/operations.js.map +1 -1
- package/dist/browser/api/beta/evaluationTaxonomies/options.d.ts +1 -1
- package/dist/browser/api/beta/evaluationTaxonomies/options.d.ts.map +1 -1
- package/dist/browser/api/beta/evaluationTaxonomies/options.js.map +1 -1
- package/dist/browser/api/beta/evaluators/index.d.ts +1 -1
- package/dist/browser/api/beta/evaluators/index.d.ts.map +1 -1
- package/dist/browser/api/beta/evaluators/index.js.map +1 -1
- package/dist/browser/api/beta/evaluators/operations.d.ts +5 -5
- package/dist/browser/api/beta/evaluators/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/evaluators/operations.js +24 -6
- package/dist/browser/api/beta/evaluators/operations.js.map +1 -1
- package/dist/browser/api/beta/evaluators/options.d.ts +4 -4
- package/dist/browser/api/beta/evaluators/options.d.ts.map +1 -1
- package/dist/browser/api/beta/evaluators/options.js.map +1 -1
- package/dist/browser/api/beta/insights/index.d.ts +1 -1
- package/dist/browser/api/beta/insights/index.d.ts.map +1 -1
- package/dist/browser/api/beta/insights/index.js.map +1 -1
- package/dist/browser/api/beta/insights/operations.d.ts +5 -5
- package/dist/browser/api/beta/insights/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/insights/operations.js +13 -4
- package/dist/browser/api/beta/insights/operations.js.map +1 -1
- package/dist/browser/api/beta/insights/options.d.ts +3 -3
- package/dist/browser/api/beta/insights/options.d.ts.map +1 -1
- package/dist/browser/api/beta/insights/options.js.map +1 -1
- package/dist/browser/api/beta/memoryStores/index.d.ts +1 -1
- package/dist/browser/api/beta/memoryStores/index.d.ts.map +1 -1
- package/dist/browser/api/beta/memoryStores/index.js.map +1 -1
- package/dist/browser/api/beta/memoryStores/operations.d.ts +6 -6
- package/dist/browser/api/beta/memoryStores/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/memoryStores/operations.js +18 -6
- package/dist/browser/api/beta/memoryStores/operations.js.map +1 -1
- package/dist/browser/api/beta/memoryStores/options.d.ts +5 -5
- package/dist/browser/api/beta/memoryStores/options.d.ts.map +1 -1
- package/dist/browser/api/beta/memoryStores/options.js.map +1 -1
- package/dist/browser/api/beta/redTeams/index.d.ts +1 -1
- package/dist/browser/api/beta/redTeams/index.d.ts.map +1 -1
- package/dist/browser/api/beta/redTeams/index.js.map +1 -1
- package/dist/browser/api/beta/redTeams/operations.d.ts +5 -5
- package/dist/browser/api/beta/redTeams/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/redTeams/operations.js +12 -3
- package/dist/browser/api/beta/redTeams/operations.js.map +1 -1
- package/dist/browser/api/beta/redTeams/options.d.ts +1 -1
- package/dist/browser/api/beta/redTeams/options.d.ts.map +1 -1
- package/dist/browser/api/beta/redTeams/options.js.map +1 -1
- package/dist/browser/api/beta/schedules/index.d.ts +1 -1
- package/dist/browser/api/beta/schedules/index.d.ts.map +1 -1
- package/dist/browser/api/beta/schedules/index.js.map +1 -1
- package/dist/browser/api/beta/schedules/operations.d.ts +5 -5
- package/dist/browser/api/beta/schedules/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/schedules/operations.js +23 -5
- package/dist/browser/api/beta/schedules/operations.js.map +1 -1
- package/dist/browser/api/beta/schedules/options.d.ts +4 -4
- package/dist/browser/api/beta/schedules/options.d.ts.map +1 -1
- package/dist/browser/api/beta/schedules/options.js.map +1 -1
- package/dist/browser/api/connections/index.d.ts +1 -1
- package/dist/browser/api/connections/index.d.ts.map +1 -1
- package/dist/browser/api/connections/index.js.map +1 -1
- package/dist/browser/api/connections/operations.d.ts +8 -8
- package/dist/browser/api/connections/operations.d.ts.map +1 -1
- package/dist/browser/api/connections/operations.js +12 -12
- package/dist/browser/api/connections/operations.js.map +1 -1
- package/dist/browser/api/connections/options.d.ts +9 -2
- package/dist/browser/api/connections/options.d.ts.map +1 -1
- package/dist/browser/api/connections/options.js.map +1 -1
- package/dist/browser/api/datasets/index.d.ts +1 -1
- package/dist/browser/api/datasets/index.d.ts.map +1 -1
- package/dist/browser/api/datasets/index.js.map +1 -1
- package/dist/browser/api/datasets/operations.d.ts +5 -5
- package/dist/browser/api/datasets/operations.d.ts.map +1 -1
- package/dist/browser/api/datasets/operations.js +9 -3
- package/dist/browser/api/datasets/operations.js.map +1 -1
- package/dist/browser/api/datasets/options.d.ts +1 -1
- package/dist/browser/api/datasets/options.d.ts.map +1 -1
- package/dist/browser/api/datasets/options.js.map +1 -1
- package/dist/browser/api/deployments/index.d.ts +1 -1
- package/dist/browser/api/deployments/index.d.ts.map +1 -1
- package/dist/browser/api/deployments/index.js.map +1 -1
- package/dist/browser/api/deployments/operations.d.ts +5 -5
- package/dist/browser/api/deployments/operations.d.ts.map +1 -1
- package/dist/browser/api/deployments/operations.js +3 -3
- package/dist/browser/api/deployments/operations.js.map +1 -1
- package/dist/browser/api/deployments/options.d.ts +2 -2
- package/dist/browser/api/deployments/options.d.ts.map +1 -1
- package/dist/browser/api/deployments/options.js.map +1 -1
- package/dist/browser/api/evaluationRules/index.d.ts +1 -1
- package/dist/browser/api/evaluationRules/index.d.ts.map +1 -1
- package/dist/browser/api/evaluationRules/index.js.map +1 -1
- package/dist/browser/api/evaluationRules/operations.d.ts +5 -5
- package/dist/browser/api/evaluationRules/operations.d.ts.map +1 -1
- package/dist/browser/api/evaluationRules/operations.js +14 -3
- package/dist/browser/api/evaluationRules/operations.js.map +1 -1
- package/dist/browser/api/evaluationRules/options.d.ts +2 -2
- package/dist/browser/api/evaluationRules/options.d.ts.map +1 -1
- package/dist/browser/api/evaluationRules/options.js.map +1 -1
- package/dist/browser/api/index.d.ts +6 -5
- package/dist/browser/api/index.d.ts.map +1 -1
- package/dist/browser/api/index.js.map +1 -1
- package/dist/browser/api/indexes/index.d.ts +1 -1
- package/dist/browser/api/indexes/index.d.ts.map +1 -1
- package/dist/browser/api/indexes/index.js.map +1 -1
- package/dist/browser/api/indexes/operations.d.ts +5 -5
- package/dist/browser/api/indexes/operations.d.ts.map +1 -1
- package/dist/browser/api/indexes/operations.js +2 -2
- package/dist/browser/api/indexes/operations.js.map +1 -1
- package/dist/browser/api/indexes/options.d.ts +1 -1
- package/dist/browser/api/indexes/options.d.ts.map +1 -1
- package/dist/browser/api/indexes/options.js.map +1 -1
- package/dist/browser/api/telemetry/index.d.ts +1 -1
- package/dist/browser/api/telemetry/index.d.ts.map +1 -1
- package/dist/browser/api/telemetry/index.js.map +1 -1
- package/dist/browser/api/telemetry/operations.d.ts +2 -1
- package/dist/browser/api/telemetry/operations.d.ts.map +1 -1
- package/dist/browser/api/telemetry/operations.js +3 -3
- package/dist/browser/api/telemetry/operations.js.map +1 -1
- package/dist/browser/classic/agents/index.d.ts +7 -7
- package/dist/browser/classic/agents/index.d.ts.map +1 -1
- package/dist/browser/classic/agents/index.js.map +1 -1
- package/dist/browser/classic/beta/evaluationTaxonomies/index.d.ts +4 -4
- package/dist/browser/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/evaluationTaxonomies/index.js.map +1 -1
- package/dist/browser/classic/beta/evaluators/index.d.ts +5 -5
- package/dist/browser/classic/beta/evaluators/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/evaluators/index.js +1 -1
- package/dist/browser/classic/beta/evaluators/index.js.map +1 -1
- package/dist/browser/classic/beta/index.d.ts +13 -7
- package/dist/browser/classic/beta/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/index.js +8 -2
- package/dist/browser/classic/beta/index.js.map +1 -1
- package/dist/browser/classic/beta/insights/index.d.ts +4 -4
- package/dist/browser/classic/beta/insights/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/insights/index.js.map +1 -1
- package/dist/browser/classic/beta/memoryStores/index.d.ts +5 -5
- package/dist/browser/classic/beta/memoryStores/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/memoryStores/index.js.map +1 -1
- package/dist/browser/classic/beta/redTeams/index.d.ts +4 -4
- package/dist/browser/classic/beta/redTeams/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/redTeams/index.js.map +1 -1
- package/dist/browser/classic/beta/schedules/index.d.ts +4 -4
- package/dist/browser/classic/beta/schedules/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/schedules/index.js.map +1 -1
- package/dist/browser/classic/connections/index.d.ts +6 -6
- package/dist/browser/classic/connections/index.d.ts.map +1 -1
- package/dist/browser/classic/connections/index.js +2 -2
- package/dist/browser/classic/connections/index.js.map +1 -1
- package/dist/browser/classic/datasets/index.d.ts +5 -5
- package/dist/browser/classic/datasets/index.d.ts.map +1 -1
- package/dist/browser/classic/datasets/index.js.map +1 -1
- package/dist/browser/classic/deployments/index.d.ts +4 -4
- package/dist/browser/classic/deployments/index.d.ts.map +1 -1
- package/dist/browser/classic/deployments/index.js.map +1 -1
- package/dist/browser/classic/evaluationRules/index.d.ts +4 -4
- package/dist/browser/classic/evaluationRules/index.d.ts.map +1 -1
- package/dist/browser/classic/evaluationRules/index.js.map +1 -1
- package/dist/browser/classic/index.d.ts +14 -14
- package/dist/browser/classic/index.d.ts.map +1 -1
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/classic/indexes/index.d.ts +4 -4
- package/dist/browser/classic/indexes/index.d.ts.map +1 -1
- package/dist/browser/classic/indexes/index.js.map +1 -1
- package/dist/browser/classic/telemetry/index.d.ts +2 -1
- package/dist/browser/classic/telemetry/index.d.ts.map +1 -1
- package/dist/browser/classic/telemetry/index.js +1 -3
- package/dist/browser/classic/telemetry/index.js.map +1 -1
- package/dist/browser/constants.d.ts +1 -1
- package/dist/browser/constants.d.ts.map +1 -1
- package/dist/browser/constants.js +1 -1
- package/dist/browser/constants.js.map +1 -1
- package/dist/browser/getCustomFetch.d.ts +1 -1
- package/dist/browser/getCustomFetch.d.ts.map +1 -0
- package/dist/browser/getCustomFetch.js +1 -1
- package/dist/browser/getCustomFetch.js.map +1 -0
- package/dist/browser/index.d.ts +18 -18
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +0 -2
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -1
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +259 -1032
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +368 -1041
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/overwriteOpenAIClient.d.ts +1 -1
- package/dist/browser/overwriteOpenAIClient.d.ts.map +1 -1
- package/dist/browser/overwriteOpenAIClient.js.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.d.ts +4 -28
- package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js +3 -2
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts +4 -4
- package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/commonjs/aiProjectClient.d.ts +11 -11
- package/dist/commonjs/aiProjectClient.d.ts.map +1 -1
- package/dist/commonjs/aiProjectClient.js +140 -137
- package/dist/commonjs/aiProjectClient.js.map +7 -1
- package/dist/commonjs/api/agents/index.d.ts +1 -1
- package/dist/commonjs/api/agents/index.d.ts.map +1 -1
- package/dist/commonjs/api/agents/index.js +49 -19
- package/dist/commonjs/api/agents/index.js.map +7 -1
- package/dist/commonjs/api/agents/operations.d.ts +11 -11
- package/dist/commonjs/api/agents/operations.d.ts.map +1 -1
- package/dist/commonjs/api/agents/operations.js +466 -357
- package/dist/commonjs/api/agents/operations.js.map +7 -1
- package/dist/commonjs/api/agents/options.d.ts +5 -5
- package/dist/commonjs/api/agents/options.d.ts.map +1 -1
- package/dist/commonjs/api/agents/options.js +15 -5
- package/dist/commonjs/api/agents/options.js.map +7 -1
- package/dist/commonjs/api/aiProjectContext.d.ts +2 -2
- package/dist/commonjs/api/aiProjectContext.d.ts.map +1 -1
- package/dist/commonjs/api/aiProjectContext.js +44 -26
- package/dist/commonjs/api/aiProjectContext.js.map +7 -1
- package/dist/commonjs/api/beta/evaluationTaxonomies/index.d.ts +1 -1
- package/dist/commonjs/api/beta/evaluationTaxonomies/index.d.ts.map +1 -1
- package/dist/commonjs/api/beta/evaluationTaxonomies/index.js +35 -12
- package/dist/commonjs/api/beta/evaluationTaxonomies/index.js.map +7 -1
- package/dist/commonjs/api/beta/evaluationTaxonomies/operations.d.ts +5 -5
- package/dist/commonjs/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/evaluationTaxonomies/operations.js +209 -151
- package/dist/commonjs/api/beta/evaluationTaxonomies/operations.js.map +7 -1
- package/dist/commonjs/api/beta/evaluationTaxonomies/options.d.ts +1 -1
- package/dist/commonjs/api/beta/evaluationTaxonomies/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/evaluationTaxonomies/options.js +15 -5
- package/dist/commonjs/api/beta/evaluationTaxonomies/options.js.map +7 -1
- package/dist/commonjs/api/beta/evaluators/index.d.ts +1 -1
- package/dist/commonjs/api/beta/evaluators/index.d.ts.map +1 -1
- package/dist/commonjs/api/beta/evaluators/index.js +37 -13
- package/dist/commonjs/api/beta/evaluators/index.js.map +7 -1
- package/dist/commonjs/api/beta/evaluators/operations.d.ts +5 -5
- package/dist/commonjs/api/beta/evaluators/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/evaluators/operations.js +254 -169
- package/dist/commonjs/api/beta/evaluators/operations.js.map +7 -1
- package/dist/commonjs/api/beta/evaluators/options.d.ts +4 -4
- package/dist/commonjs/api/beta/evaluators/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/evaluators/options.js +15 -5
- package/dist/commonjs/api/beta/evaluators/options.js.map +7 -1
- package/dist/commonjs/api/beta/insights/index.d.ts +1 -1
- package/dist/commonjs/api/beta/insights/index.d.ts.map +1 -1
- package/dist/commonjs/api/beta/insights/index.js +31 -10
- package/dist/commonjs/api/beta/insights/index.js.map +7 -1
- package/dist/commonjs/api/beta/insights/operations.d.ts +5 -5
- package/dist/commonjs/api/beta/insights/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/insights/operations.js +150 -108
- package/dist/commonjs/api/beta/insights/operations.js.map +7 -1
- package/dist/commonjs/api/beta/insights/options.d.ts +3 -3
- package/dist/commonjs/api/beta/insights/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/insights/options.js +15 -5
- package/dist/commonjs/api/beta/insights/options.js.map +7 -1
- package/dist/commonjs/api/beta/memoryStores/index.d.ts +1 -1
- package/dist/commonjs/api/beta/memoryStores/index.d.ts.map +1 -1
- package/dist/commonjs/api/beta/memoryStores/index.js +43 -16
- package/dist/commonjs/api/beta/memoryStores/index.js.map +7 -1
- package/dist/commonjs/api/beta/memoryStores/operations.d.ts +6 -6
- package/dist/commonjs/api/beta/memoryStores/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/memoryStores/operations.js +388 -298
- package/dist/commonjs/api/beta/memoryStores/operations.js.map +7 -1
- package/dist/commonjs/api/beta/memoryStores/options.d.ts +5 -5
- package/dist/commonjs/api/beta/memoryStores/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/memoryStores/options.js +15 -5
- package/dist/commonjs/api/beta/memoryStores/options.js.map +7 -1
- package/dist/commonjs/api/beta/redTeams/index.d.ts +1 -1
- package/dist/commonjs/api/beta/redTeams/index.d.ts.map +1 -1
- package/dist/commonjs/api/beta/redTeams/index.js +31 -10
- package/dist/commonjs/api/beta/redTeams/index.js.map +7 -1
- package/dist/commonjs/api/beta/redTeams/operations.d.ts +5 -5
- package/dist/commonjs/api/beta/redTeams/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/redTeams/operations.js +142 -94
- package/dist/commonjs/api/beta/redTeams/operations.js.map +7 -1
- package/dist/commonjs/api/beta/redTeams/options.d.ts +1 -1
- package/dist/commonjs/api/beta/redTeams/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/redTeams/options.js +15 -5
- package/dist/commonjs/api/beta/redTeams/options.js.map +7 -1
- package/dist/commonjs/api/beta/schedules/index.d.ts +1 -1
- package/dist/commonjs/api/beta/schedules/index.d.ts.map +1 -1
- package/dist/commonjs/api/beta/schedules/index.js +37 -13
- package/dist/commonjs/api/beta/schedules/index.js.map +7 -1
- package/dist/commonjs/api/beta/schedules/operations.d.ts +5 -5
- package/dist/commonjs/api/beta/schedules/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/schedules/operations.js +258 -183
- package/dist/commonjs/api/beta/schedules/operations.js.map +7 -1
- package/dist/commonjs/api/beta/schedules/options.d.ts +4 -4
- package/dist/commonjs/api/beta/schedules/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/schedules/options.js +15 -5
- package/dist/commonjs/api/beta/schedules/options.js.map +7 -1
- package/dist/commonjs/api/connections/index.d.ts +1 -1
- package/dist/commonjs/api/connections/index.d.ts.map +1 -1
- package/dist/commonjs/api/connections/index.js +31 -10
- package/dist/commonjs/api/connections/index.js.map +7 -1
- package/dist/commonjs/api/connections/operations.d.ts +8 -8
- package/dist/commonjs/api/connections/operations.d.ts.map +1 -1
- package/dist/commonjs/api/connections/operations.js +146 -119
- package/dist/commonjs/api/connections/operations.js.map +7 -1
- package/dist/commonjs/api/connections/options.d.ts +9 -2
- package/dist/commonjs/api/connections/options.d.ts.map +1 -1
- package/dist/commonjs/api/connections/options.js +15 -5
- package/dist/commonjs/api/connections/options.js.map +7 -1
- package/dist/commonjs/api/datasets/index.d.ts +1 -1
- package/dist/commonjs/api/datasets/index.d.ts.map +1 -1
- package/dist/commonjs/api/datasets/index.js +39 -14
- package/dist/commonjs/api/datasets/index.js.map +7 -1
- package/dist/commonjs/api/datasets/operations.d.ts +5 -5
- package/dist/commonjs/api/datasets/operations.d.ts.map +1 -1
- package/dist/commonjs/api/datasets/operations.js +392 -296
- package/dist/commonjs/api/datasets/operations.js.map +7 -1
- package/dist/commonjs/api/datasets/options.d.ts +1 -1
- package/dist/commonjs/api/datasets/options.d.ts.map +1 -1
- package/dist/commonjs/api/datasets/options.js +15 -5
- package/dist/commonjs/api/datasets/options.js.map +7 -1
- package/dist/commonjs/api/deployments/index.d.ts +1 -1
- package/dist/commonjs/api/deployments/index.d.ts.map +1 -1
- package/dist/commonjs/api/deployments/index.js +29 -9
- package/dist/commonjs/api/deployments/index.js.map +7 -1
- package/dist/commonjs/api/deployments/operations.d.ts +5 -5
- package/dist/commonjs/api/deployments/operations.d.ts.map +1 -1
- package/dist/commonjs/api/deployments/operations.js +97 -64
- package/dist/commonjs/api/deployments/operations.js.map +7 -1
- package/dist/commonjs/api/deployments/options.d.ts +2 -2
- package/dist/commonjs/api/deployments/options.d.ts.map +1 -1
- package/dist/commonjs/api/deployments/options.js +15 -5
- package/dist/commonjs/api/deployments/options.js.map +7 -1
- package/dist/commonjs/api/evaluationRules/index.d.ts +1 -1
- package/dist/commonjs/api/evaluationRules/index.d.ts.map +1 -1
- package/dist/commonjs/api/evaluationRules/index.js +33 -11
- package/dist/commonjs/api/evaluationRules/index.js.map +7 -1
- package/dist/commonjs/api/evaluationRules/operations.d.ts +5 -5
- package/dist/commonjs/api/evaluationRules/operations.d.ts.map +1 -1
- package/dist/commonjs/api/evaluationRules/operations.js +169 -119
- package/dist/commonjs/api/evaluationRules/operations.js.map +7 -1
- package/dist/commonjs/api/evaluationRules/options.d.ts +2 -2
- package/dist/commonjs/api/evaluationRules/options.d.ts.map +1 -1
- package/dist/commonjs/api/evaluationRules/options.js +15 -5
- package/dist/commonjs/api/evaluationRules/options.js.map +7 -1
- package/dist/commonjs/api/index.d.ts +6 -5
- package/dist/commonjs/api/index.d.ts.map +1 -1
- package/dist/commonjs/api/index.js +27 -8
- package/dist/commonjs/api/index.js.map +7 -1
- package/dist/commonjs/api/indexes/index.d.ts +1 -1
- package/dist/commonjs/api/indexes/index.d.ts.map +1 -1
- package/dist/commonjs/api/indexes/index.js +35 -12
- package/dist/commonjs/api/indexes/index.js.map +7 -1
- package/dist/commonjs/api/indexes/operations.d.ts +5 -5
- package/dist/commonjs/api/indexes/operations.d.ts.map +1 -1
- package/dist/commonjs/api/indexes/operations.js +186 -125
- package/dist/commonjs/api/indexes/operations.js.map +7 -1
- package/dist/commonjs/api/indexes/options.d.ts +1 -1
- package/dist/commonjs/api/indexes/options.d.ts.map +1 -1
- package/dist/commonjs/api/indexes/options.js +15 -5
- package/dist/commonjs/api/indexes/options.js.map +7 -1
- package/dist/commonjs/api/telemetry/index.d.ts +1 -1
- package/dist/commonjs/api/telemetry/index.d.ts.map +1 -1
- package/dist/commonjs/api/telemetry/index.js +27 -8
- package/dist/commonjs/api/telemetry/index.js.map +7 -1
- package/dist/commonjs/api/telemetry/operations.d.ts +2 -1
- package/dist/commonjs/api/telemetry/operations.d.ts.map +1 -1
- package/dist/commonjs/api/telemetry/operations.js +69 -56
- package/dist/commonjs/api/telemetry/operations.js.map +7 -1
- package/dist/commonjs/classic/agents/index.d.ts +7 -7
- package/dist/commonjs/classic/agents/index.d.ts.map +1 -1
- package/dist/commonjs/classic/agents/index.js +89 -42
- package/dist/commonjs/classic/agents/index.js.map +7 -1
- package/dist/commonjs/classic/beta/evaluationTaxonomies/index.d.ts +4 -4
- package/dist/commonjs/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/evaluationTaxonomies/index.js +37 -17
- package/dist/commonjs/classic/beta/evaluationTaxonomies/index.js.map +7 -1
- package/dist/commonjs/classic/beta/evaluators/index.d.ts +5 -5
- package/dist/commonjs/classic/beta/evaluators/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/evaluators/index.js +38 -18
- package/dist/commonjs/classic/beta/evaluators/index.js.map +7 -1
- package/dist/commonjs/classic/beta/index.d.ts +13 -7
- package/dist/commonjs/classic/beta/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/index.js +46 -20
- package/dist/commonjs/classic/beta/index.js.map +7 -1
- package/dist/commonjs/classic/beta/insights/index.d.ts +4 -4
- package/dist/commonjs/classic/beta/insights/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/insights/index.js +35 -15
- package/dist/commonjs/classic/beta/insights/index.js.map +7 -1
- package/dist/commonjs/classic/beta/memoryStores/index.d.ts +5 -5
- package/dist/commonjs/classic/beta/memoryStores/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/memoryStores/index.js +41 -21
- package/dist/commonjs/classic/beta/memoryStores/index.js.map +7 -1
- package/dist/commonjs/classic/beta/redTeams/index.d.ts +4 -4
- package/dist/commonjs/classic/beta/redTeams/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/redTeams/index.js +35 -15
- package/dist/commonjs/classic/beta/redTeams/index.js.map +7 -1
- package/dist/commonjs/classic/beta/schedules/index.d.ts +4 -4
- package/dist/commonjs/classic/beta/schedules/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/schedules/index.js +38 -18
- package/dist/commonjs/classic/beta/schedules/index.js.map +7 -1
- package/dist/commonjs/classic/connections/index.d.ts +6 -6
- package/dist/commonjs/classic/connections/index.d.ts.map +1 -1
- package/dist/commonjs/classic/connections/index.js +36 -16
- package/dist/commonjs/classic/connections/index.js.map +7 -1
- package/dist/commonjs/classic/datasets/index.d.ts +5 -5
- package/dist/commonjs/classic/datasets/index.d.ts.map +1 -1
- package/dist/commonjs/classic/datasets/index.js +41 -21
- package/dist/commonjs/classic/datasets/index.js.map +7 -1
- package/dist/commonjs/classic/deployments/index.d.ts +4 -4
- package/dist/commonjs/classic/deployments/index.d.ts.map +1 -1
- package/dist/commonjs/classic/deployments/index.js +34 -14
- package/dist/commonjs/classic/deployments/index.js.map +7 -1
- package/dist/commonjs/classic/evaluationRules/index.d.ts +4 -4
- package/dist/commonjs/classic/evaluationRules/index.d.ts.map +1 -1
- package/dist/commonjs/classic/evaluationRules/index.js +36 -16
- package/dist/commonjs/classic/evaluationRules/index.js.map +7 -1
- package/dist/commonjs/classic/index.d.ts +14 -14
- package/dist/commonjs/classic/index.d.ts.map +1 -1
- package/dist/commonjs/classic/index.js +15 -5
- package/dist/commonjs/classic/index.js.map +7 -1
- package/dist/commonjs/classic/indexes/index.d.ts +4 -4
- package/dist/commonjs/classic/indexes/index.d.ts.map +1 -1
- package/dist/commonjs/classic/indexes/index.js +37 -17
- package/dist/commonjs/classic/indexes/index.js.map +7 -1
- package/dist/commonjs/classic/telemetry/index.d.ts +2 -1
- package/dist/commonjs/classic/telemetry/index.d.ts.map +1 -1
- package/dist/commonjs/classic/telemetry/index.js +32 -12
- package/dist/commonjs/classic/telemetry/index.js.map +7 -1
- package/dist/commonjs/constants.d.ts +1 -1
- package/dist/commonjs/constants.d.ts.map +1 -1
- package/dist/commonjs/constants.js +30 -14
- package/dist/commonjs/constants.js.map +7 -1
- package/dist/commonjs/getCustomFetch.js +52 -43
- package/dist/commonjs/getCustomFetch.js.map +7 -1
- package/dist/commonjs/index.d.ts +18 -18
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +27 -12
- package/dist/commonjs/index.js.map +7 -1
- package/dist/commonjs/logger.js +28 -8
- package/dist/commonjs/logger.js.map +7 -1
- package/dist/commonjs/models/index.d.ts +1 -1
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +15 -8
- package/dist/commonjs/models/index.js.map +7 -1
- package/dist/commonjs/models/models.d.ts +259 -1032
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +3760 -4037
- package/dist/commonjs/models/models.js.map +7 -1
- package/dist/commonjs/overwriteOpenAIClient.d.ts +1 -1
- package/dist/commonjs/overwriteOpenAIClient.d.ts.map +1 -1
- package/dist/commonjs/overwriteOpenAIClient.js +35 -15
- package/dist/commonjs/overwriteOpenAIClient.js.map +7 -1
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +4 -28
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js +123 -126
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -1
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +4 -4
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js +92 -90
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -1
- package/dist/commonjs/static-helpers/serialization/serialize-record.js +38 -20
- package/dist/commonjs/static-helpers/serialization/serialize-record.js.map +7 -1
- package/dist/commonjs/static-helpers/urlTemplate.js +165 -172
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/commonjs/util.js +86 -88
- package/dist/commonjs/util.js.map +7 -1
- package/dist/esm/aiProjectClient.d.ts +11 -11
- package/dist/esm/aiProjectClient.d.ts.map +1 -1
- package/dist/esm/aiProjectClient.js +95 -120
- package/dist/esm/aiProjectClient.js.map +7 -1
- package/dist/esm/api/agents/index.d.ts +1 -1
- package/dist/esm/api/agents/index.d.ts.map +1 -1
- package/dist/esm/api/agents/index.js +28 -4
- package/dist/esm/api/agents/index.js.map +7 -1
- package/dist/esm/api/agents/operations.d.ts +11 -11
- package/dist/esm/api/agents/operations.d.ts.map +1 -1
- package/dist/esm/api/agents/operations.js +475 -377
- package/dist/esm/api/agents/operations.js.map +7 -1
- package/dist/esm/api/agents/options.d.ts +5 -5
- package/dist/esm/api/agents/options.d.ts.map +1 -1
- package/dist/esm/api/agents/options.js +0 -4
- package/dist/esm/api/agents/options.js.map +7 -1
- package/dist/esm/api/aiProjectContext.d.ts +2 -2
- package/dist/esm/api/aiProjectContext.d.ts.map +1 -1
- package/dist/esm/api/aiProjectContext.js +19 -21
- package/dist/esm/api/aiProjectContext.js.map +7 -1
- package/dist/esm/api/beta/evaluationTaxonomies/index.d.ts +1 -1
- package/dist/esm/api/beta/evaluationTaxonomies/index.d.ts.map +1 -1
- package/dist/esm/api/beta/evaluationTaxonomies/index.js +8 -4
- package/dist/esm/api/beta/evaluationTaxonomies/index.js.map +7 -1
- package/dist/esm/api/beta/evaluationTaxonomies/operations.d.ts +5 -5
- package/dist/esm/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/evaluationTaxonomies/operations.js +185 -143
- package/dist/esm/api/beta/evaluationTaxonomies/operations.js.map +7 -1
- package/dist/esm/api/beta/evaluationTaxonomies/options.d.ts +1 -1
- package/dist/esm/api/beta/evaluationTaxonomies/options.d.ts.map +1 -1
- package/dist/esm/api/beta/evaluationTaxonomies/options.js +0 -4
- package/dist/esm/api/beta/evaluationTaxonomies/options.js.map +7 -1
- package/dist/esm/api/beta/evaluators/index.d.ts +1 -1
- package/dist/esm/api/beta/evaluators/index.d.ts.map +1 -1
- package/dist/esm/api/beta/evaluators/index.js +16 -4
- package/dist/esm/api/beta/evaluators/index.js.map +7 -1
- package/dist/esm/api/beta/evaluators/operations.d.ts +5 -5
- package/dist/esm/api/beta/evaluators/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/evaluators/operations.js +245 -176
- package/dist/esm/api/beta/evaluators/operations.js.map +7 -1
- package/dist/esm/api/beta/evaluators/options.d.ts +4 -4
- package/dist/esm/api/beta/evaluators/options.d.ts.map +1 -1
- package/dist/esm/api/beta/evaluators/options.js +0 -4
- package/dist/esm/api/beta/evaluators/options.js.map +7 -1
- package/dist/esm/api/beta/insights/index.d.ts +1 -1
- package/dist/esm/api/beta/insights/index.d.ts.map +1 -1
- package/dist/esm/api/beta/insights/index.js +6 -4
- package/dist/esm/api/beta/insights/index.js.map +7 -1
- package/dist/esm/api/beta/insights/operations.d.ts +5 -5
- package/dist/esm/api/beta/insights/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/insights/operations.js +128 -102
- package/dist/esm/api/beta/insights/operations.js.map +7 -1
- package/dist/esm/api/beta/insights/options.d.ts +3 -3
- package/dist/esm/api/beta/insights/options.d.ts.map +1 -1
- package/dist/esm/api/beta/insights/options.js +0 -4
- package/dist/esm/api/beta/insights/options.js.map +7 -1
- package/dist/esm/api/beta/memoryStores/index.d.ts +1 -1
- package/dist/esm/api/beta/memoryStores/index.d.ts.map +1 -1
- package/dist/esm/api/beta/memoryStores/index.js +22 -4
- package/dist/esm/api/beta/memoryStores/index.js.map +7 -1
- package/dist/esm/api/beta/memoryStores/operations.d.ts +6 -6
- package/dist/esm/api/beta/memoryStores/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/memoryStores/operations.js +365 -284
- package/dist/esm/api/beta/memoryStores/operations.js.map +7 -1
- package/dist/esm/api/beta/memoryStores/options.d.ts +5 -5
- package/dist/esm/api/beta/memoryStores/options.d.ts.map +1 -1
- package/dist/esm/api/beta/memoryStores/options.js +0 -4
- package/dist/esm/api/beta/memoryStores/options.js.map +7 -1
- package/dist/esm/api/beta/redTeams/index.d.ts +1 -1
- package/dist/esm/api/beta/redTeams/index.d.ts.map +1 -1
- package/dist/esm/api/beta/redTeams/index.js +6 -4
- package/dist/esm/api/beta/redTeams/index.js.map +7 -1
- package/dist/esm/api/beta/redTeams/operations.d.ts +5 -5
- package/dist/esm/api/beta/redTeams/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/redTeams/operations.js +121 -88
- package/dist/esm/api/beta/redTeams/operations.js.map +7 -1
- package/dist/esm/api/beta/redTeams/options.d.ts +1 -1
- package/dist/esm/api/beta/redTeams/options.d.ts.map +1 -1
- package/dist/esm/api/beta/redTeams/options.js +0 -4
- package/dist/esm/api/beta/redTeams/options.js.map +7 -1
- package/dist/esm/api/beta/schedules/index.d.ts +1 -1
- package/dist/esm/api/beta/schedules/index.d.ts.map +1 -1
- package/dist/esm/api/beta/schedules/index.js +9 -4
- package/dist/esm/api/beta/schedules/index.js.map +7 -1
- package/dist/esm/api/beta/schedules/operations.d.ts +5 -5
- package/dist/esm/api/beta/schedules/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/schedules/operations.js +250 -188
- package/dist/esm/api/beta/schedules/operations.js.map +7 -1
- package/dist/esm/api/beta/schedules/options.d.ts +4 -4
- package/dist/esm/api/beta/schedules/options.d.ts.map +1 -1
- package/dist/esm/api/beta/schedules/options.js +0 -4
- package/dist/esm/api/beta/schedules/options.js.map +7 -1
- package/dist/esm/api/connections/index.d.ts +1 -1
- package/dist/esm/api/connections/index.d.ts.map +1 -1
- package/dist/esm/api/connections/index.js +6 -4
- package/dist/esm/api/connections/index.js.map +7 -1
- package/dist/esm/api/connections/operations.d.ts +8 -8
- package/dist/esm/api/connections/operations.d.ts.map +1 -1
- package/dist/esm/api/connections/operations.js +119 -112
- package/dist/esm/api/connections/operations.js.map +7 -1
- package/dist/esm/api/connections/options.d.ts +9 -2
- package/dist/esm/api/connections/options.d.ts.map +1 -1
- package/dist/esm/api/connections/options.js +0 -4
- package/dist/esm/api/connections/options.js.map +7 -1
- package/dist/esm/api/datasets/index.d.ts +1 -1
- package/dist/esm/api/datasets/index.d.ts.map +1 -1
- package/dist/esm/api/datasets/index.js +18 -4
- package/dist/esm/api/datasets/index.js.map +7 -1
- package/dist/esm/api/datasets/operations.d.ts +5 -5
- package/dist/esm/api/datasets/operations.d.ts.map +1 -1
- package/dist/esm/api/datasets/operations.js +357 -283
- package/dist/esm/api/datasets/operations.js.map +7 -1
- package/dist/esm/api/datasets/options.d.ts +1 -1
- package/dist/esm/api/datasets/options.d.ts.map +1 -1
- package/dist/esm/api/datasets/options.js +0 -4
- package/dist/esm/api/datasets/options.js.map +7 -1
- package/dist/esm/api/deployments/index.d.ts +1 -1
- package/dist/esm/api/deployments/index.d.ts.map +1 -1
- package/dist/esm/api/deployments/index.js +5 -4
- package/dist/esm/api/deployments/index.js.map +7 -1
- package/dist/esm/api/deployments/operations.d.ts +5 -5
- package/dist/esm/api/deployments/operations.d.ts.map +1 -1
- package/dist/esm/api/deployments/operations.js +73 -60
- package/dist/esm/api/deployments/operations.js.map +7 -1
- package/dist/esm/api/deployments/options.d.ts +2 -2
- package/dist/esm/api/deployments/options.d.ts.map +1 -1
- package/dist/esm/api/deployments/options.js +0 -4
- package/dist/esm/api/deployments/options.js.map +7 -1
- package/dist/esm/api/evaluationRules/index.d.ts +1 -1
- package/dist/esm/api/evaluationRules/index.d.ts.map +1 -1
- package/dist/esm/api/evaluationRules/index.js +7 -4
- package/dist/esm/api/evaluationRules/index.js.map +7 -1
- package/dist/esm/api/evaluationRules/operations.d.ts +5 -5
- package/dist/esm/api/evaluationRules/operations.d.ts.map +1 -1
- package/dist/esm/api/evaluationRules/operations.js +146 -112
- package/dist/esm/api/evaluationRules/operations.js.map +7 -1
- package/dist/esm/api/evaluationRules/options.d.ts +2 -2
- package/dist/esm/api/evaluationRules/options.d.ts.map +1 -1
- package/dist/esm/api/evaluationRules/options.js +0 -4
- package/dist/esm/api/evaluationRules/options.js.map +7 -1
- package/dist/esm/api/index.d.ts +6 -5
- package/dist/esm/api/index.d.ts.map +1 -1
- package/dist/esm/api/index.js +4 -4
- package/dist/esm/api/index.js.map +7 -1
- package/dist/esm/api/indexes/index.d.ts +1 -1
- package/dist/esm/api/indexes/index.d.ts.map +1 -1
- package/dist/esm/api/indexes/index.js +8 -4
- package/dist/esm/api/indexes/index.js.map +7 -1
- package/dist/esm/api/indexes/operations.d.ts +5 -5
- package/dist/esm/api/indexes/operations.d.ts.map +1 -1
- package/dist/esm/api/indexes/operations.js +163 -118
- package/dist/esm/api/indexes/operations.js.map +7 -1
- package/dist/esm/api/indexes/options.d.ts +1 -1
- package/dist/esm/api/indexes/options.d.ts.map +1 -1
- package/dist/esm/api/indexes/options.js +0 -4
- package/dist/esm/api/indexes/options.js.map +7 -1
- package/dist/esm/api/telemetry/index.d.ts +1 -1
- package/dist/esm/api/telemetry/index.d.ts.map +1 -1
- package/dist/esm/api/telemetry/index.js +4 -4
- package/dist/esm/api/telemetry/index.js.map +7 -1
- package/dist/esm/api/telemetry/operations.d.ts +2 -1
- package/dist/esm/api/telemetry/operations.d.ts.map +1 -1
- package/dist/esm/api/telemetry/operations.js +46 -53
- package/dist/esm/api/telemetry/operations.js.map +7 -1
- package/dist/esm/classic/agents/index.d.ts +7 -7
- package/dist/esm/classic/agents/index.d.ts.map +1 -1
- package/dist/esm/classic/agents/index.js +80 -40
- package/dist/esm/classic/agents/index.js.map +7 -1
- package/dist/esm/classic/beta/evaluationTaxonomies/index.d.ts +4 -4
- package/dist/esm/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/evaluationTaxonomies/index.js +21 -15
- package/dist/esm/classic/beta/evaluationTaxonomies/index.js.map +7 -1
- package/dist/esm/classic/beta/evaluators/index.d.ts +5 -5
- package/dist/esm/classic/beta/evaluators/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/evaluators/index.js +23 -16
- package/dist/esm/classic/beta/evaluators/index.js.map +7 -1
- package/dist/esm/classic/beta/index.d.ts +13 -7
- package/dist/esm/classic/beta/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/index.js +20 -14
- package/dist/esm/classic/beta/index.js.map +7 -1
- package/dist/esm/classic/beta/insights/index.d.ts +4 -4
- package/dist/esm/classic/beta/insights/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/insights/index.js +12 -12
- package/dist/esm/classic/beta/insights/index.js.map +7 -1
- package/dist/esm/classic/beta/memoryStores/index.d.ts +5 -5
- package/dist/esm/classic/beta/memoryStores/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/memoryStores/index.js +29 -19
- package/dist/esm/classic/beta/memoryStores/index.js.map +7 -1
- package/dist/esm/classic/beta/redTeams/index.d.ts +4 -4
- package/dist/esm/classic/beta/redTeams/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/redTeams/index.js +12 -12
- package/dist/esm/classic/beta/redTeams/index.js.map +7 -1
- package/dist/esm/classic/beta/schedules/index.d.ts +4 -4
- package/dist/esm/classic/beta/schedules/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/schedules/index.js +23 -16
- package/dist/esm/classic/beta/schedules/index.js.map +7 -1
- package/dist/esm/classic/connections/index.d.ts +6 -6
- package/dist/esm/classic/connections/index.d.ts.map +1 -1
- package/dist/esm/classic/connections/index.js +13 -13
- package/dist/esm/classic/connections/index.js.map +7 -1
- package/dist/esm/classic/datasets/index.d.ts +5 -5
- package/dist/esm/classic/datasets/index.d.ts.map +1 -1
- package/dist/esm/classic/datasets/index.js +29 -19
- package/dist/esm/classic/datasets/index.js.map +7 -1
- package/dist/esm/classic/deployments/index.d.ts +4 -4
- package/dist/esm/classic/deployments/index.d.ts.map +1 -1
- package/dist/esm/classic/deployments/index.js +11 -11
- package/dist/esm/classic/deployments/index.js.map +7 -1
- package/dist/esm/classic/evaluationRules/index.d.ts +4 -4
- package/dist/esm/classic/evaluationRules/index.d.ts.map +1 -1
- package/dist/esm/classic/evaluationRules/index.js +13 -13
- package/dist/esm/classic/evaluationRules/index.js.map +7 -1
- package/dist/esm/classic/index.d.ts +14 -14
- package/dist/esm/classic/index.d.ts.map +1 -1
- package/dist/esm/classic/index.js +0 -4
- package/dist/esm/classic/index.js.map +7 -1
- package/dist/esm/classic/indexes/index.d.ts +4 -4
- package/dist/esm/classic/indexes/index.d.ts.map +1 -1
- package/dist/esm/classic/indexes/index.js +14 -14
- package/dist/esm/classic/indexes/index.js.map +7 -1
- package/dist/esm/classic/telemetry/index.d.ts +2 -1
- package/dist/esm/classic/telemetry/index.d.ts.map +1 -1
- package/dist/esm/classic/telemetry/index.js +9 -9
- package/dist/esm/classic/telemetry/index.js.map +7 -1
- package/dist/esm/constants.d.ts +1 -1
- package/dist/esm/constants.d.ts.map +1 -1
- package/dist/esm/constants.js +6 -11
- package/dist/esm/constants.js.map +7 -1
- package/dist/esm/getCustomFetch.js +33 -40
- package/dist/esm/getCustomFetch.js.map +7 -1
- package/dist/esm/index.d.ts +18 -18
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +4 -6
- package/dist/esm/index.js.map +7 -1
- package/dist/esm/logger.js +4 -4
- package/dist/esm/logger.js.map +7 -1
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +0 -4
- package/dist/esm/models/index.js.map +7 -1
- package/dist/esm/models/models.d.ts +259 -1032
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +4160 -4382
- package/dist/esm/models/models.js.map +7 -1
- package/dist/esm/overwriteOpenAIClient.d.ts +1 -1
- package/dist/esm/overwriteOpenAIClient.d.ts.map +1 -1
- package/dist/esm/overwriteOpenAIClient.js +13 -13
- package/dist/esm/overwriteOpenAIClient.js.map +7 -1
- package/dist/esm/static-helpers/pagingHelpers.d.ts +4 -28
- package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/esm/static-helpers/pagingHelpers.js +99 -122
- package/dist/esm/static-helpers/pagingHelpers.js.map +7 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts +4 -4
- package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.js +69 -87
- package/dist/esm/static-helpers/pollingHelpers.js.map +7 -1
- package/dist/esm/static-helpers/serialization/serialize-record.js +16 -18
- package/dist/esm/static-helpers/serialization/serialize-record.js.map +7 -1
- package/dist/esm/static-helpers/urlTemplate.js +142 -169
- package/dist/esm/static-helpers/urlTemplate.js.map +7 -1
- package/dist/esm/util.js +63 -84
- package/dist/esm/util.js.map +7 -1
- package/dist/react-native/aiProjectClient.d.ts +11 -11
- package/dist/react-native/aiProjectClient.d.ts.map +1 -1
- package/dist/react-native/aiProjectClient.js +1 -1
- package/dist/react-native/aiProjectClient.js.map +1 -1
- package/dist/react-native/api/agents/index.d.ts +1 -1
- package/dist/react-native/api/agents/index.d.ts.map +1 -1
- package/dist/react-native/api/agents/index.js.map +1 -1
- package/dist/react-native/api/agents/operations.d.ts +11 -11
- package/dist/react-native/api/agents/operations.d.ts.map +1 -1
- package/dist/react-native/api/agents/operations.js +2 -2
- package/dist/react-native/api/agents/operations.js.map +1 -1
- package/dist/react-native/api/agents/options.d.ts +5 -5
- package/dist/react-native/api/agents/options.d.ts.map +1 -1
- package/dist/react-native/api/agents/options.js.map +1 -1
- package/dist/react-native/api/aiProjectContext.d.ts +2 -2
- package/dist/react-native/api/aiProjectContext.d.ts.map +1 -1
- package/dist/react-native/api/aiProjectContext.js +1 -1
- package/dist/react-native/api/aiProjectContext.js.map +1 -1
- package/dist/react-native/api/beta/evaluationTaxonomies/index.d.ts +1 -1
- package/dist/react-native/api/beta/evaluationTaxonomies/index.d.ts.map +1 -1
- package/dist/react-native/api/beta/evaluationTaxonomies/index.js.map +1 -1
- package/dist/react-native/api/beta/evaluationTaxonomies/operations.d.ts +5 -5
- package/dist/react-native/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/evaluationTaxonomies/operations.js +12 -3
- package/dist/react-native/api/beta/evaluationTaxonomies/operations.js.map +1 -1
- package/dist/react-native/api/beta/evaluationTaxonomies/options.d.ts +1 -1
- package/dist/react-native/api/beta/evaluationTaxonomies/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/evaluationTaxonomies/options.js.map +1 -1
- package/dist/react-native/api/beta/evaluators/index.d.ts +1 -1
- package/dist/react-native/api/beta/evaluators/index.d.ts.map +1 -1
- package/dist/react-native/api/beta/evaluators/index.js.map +1 -1
- package/dist/react-native/api/beta/evaluators/operations.d.ts +5 -5
- package/dist/react-native/api/beta/evaluators/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/evaluators/operations.js +24 -6
- package/dist/react-native/api/beta/evaluators/operations.js.map +1 -1
- package/dist/react-native/api/beta/evaluators/options.d.ts +4 -4
- package/dist/react-native/api/beta/evaluators/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/evaluators/options.js.map +1 -1
- package/dist/react-native/api/beta/insights/index.d.ts +1 -1
- package/dist/react-native/api/beta/insights/index.d.ts.map +1 -1
- package/dist/react-native/api/beta/insights/index.js.map +1 -1
- package/dist/react-native/api/beta/insights/operations.d.ts +5 -5
- package/dist/react-native/api/beta/insights/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/insights/operations.js +13 -4
- package/dist/react-native/api/beta/insights/operations.js.map +1 -1
- package/dist/react-native/api/beta/insights/options.d.ts +3 -3
- package/dist/react-native/api/beta/insights/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/insights/options.js.map +1 -1
- package/dist/react-native/api/beta/memoryStores/index.d.ts +1 -1
- package/dist/react-native/api/beta/memoryStores/index.d.ts.map +1 -1
- package/dist/react-native/api/beta/memoryStores/index.js.map +1 -1
- package/dist/react-native/api/beta/memoryStores/operations.d.ts +6 -6
- package/dist/react-native/api/beta/memoryStores/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/memoryStores/operations.js +18 -6
- package/dist/react-native/api/beta/memoryStores/operations.js.map +1 -1
- package/dist/react-native/api/beta/memoryStores/options.d.ts +5 -5
- package/dist/react-native/api/beta/memoryStores/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/memoryStores/options.js.map +1 -1
- package/dist/react-native/api/beta/redTeams/index.d.ts +1 -1
- package/dist/react-native/api/beta/redTeams/index.d.ts.map +1 -1
- package/dist/react-native/api/beta/redTeams/index.js.map +1 -1
- package/dist/react-native/api/beta/redTeams/operations.d.ts +5 -5
- package/dist/react-native/api/beta/redTeams/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/redTeams/operations.js +12 -3
- package/dist/react-native/api/beta/redTeams/operations.js.map +1 -1
- package/dist/react-native/api/beta/redTeams/options.d.ts +1 -1
- package/dist/react-native/api/beta/redTeams/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/redTeams/options.js.map +1 -1
- package/dist/react-native/api/beta/schedules/index.d.ts +1 -1
- package/dist/react-native/api/beta/schedules/index.d.ts.map +1 -1
- package/dist/react-native/api/beta/schedules/index.js.map +1 -1
- package/dist/react-native/api/beta/schedules/operations.d.ts +5 -5
- package/dist/react-native/api/beta/schedules/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/schedules/operations.js +23 -5
- package/dist/react-native/api/beta/schedules/operations.js.map +1 -1
- package/dist/react-native/api/beta/schedules/options.d.ts +4 -4
- package/dist/react-native/api/beta/schedules/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/schedules/options.js.map +1 -1
- package/dist/react-native/api/connections/index.d.ts +1 -1
- package/dist/react-native/api/connections/index.d.ts.map +1 -1
- package/dist/react-native/api/connections/index.js.map +1 -1
- package/dist/react-native/api/connections/operations.d.ts +8 -8
- package/dist/react-native/api/connections/operations.d.ts.map +1 -1
- package/dist/react-native/api/connections/operations.js +12 -12
- package/dist/react-native/api/connections/operations.js.map +1 -1
- package/dist/react-native/api/connections/options.d.ts +9 -2
- package/dist/react-native/api/connections/options.d.ts.map +1 -1
- package/dist/react-native/api/connections/options.js.map +1 -1
- package/dist/react-native/api/datasets/index.d.ts +1 -1
- package/dist/react-native/api/datasets/index.d.ts.map +1 -1
- package/dist/react-native/api/datasets/index.js.map +1 -1
- package/dist/react-native/api/datasets/operations.d.ts +5 -5
- package/dist/react-native/api/datasets/operations.d.ts.map +1 -1
- package/dist/react-native/api/datasets/operations.js +9 -3
- package/dist/react-native/api/datasets/operations.js.map +1 -1
- package/dist/react-native/api/datasets/options.d.ts +1 -1
- package/dist/react-native/api/datasets/options.d.ts.map +1 -1
- package/dist/react-native/api/datasets/options.js.map +1 -1
- package/dist/react-native/api/deployments/index.d.ts +1 -1
- package/dist/react-native/api/deployments/index.d.ts.map +1 -1
- package/dist/react-native/api/deployments/index.js.map +1 -1
- package/dist/react-native/api/deployments/operations.d.ts +5 -5
- package/dist/react-native/api/deployments/operations.d.ts.map +1 -1
- package/dist/react-native/api/deployments/operations.js +3 -3
- package/dist/react-native/api/deployments/operations.js.map +1 -1
- package/dist/react-native/api/deployments/options.d.ts +2 -2
- package/dist/react-native/api/deployments/options.d.ts.map +1 -1
- package/dist/react-native/api/deployments/options.js.map +1 -1
- package/dist/react-native/api/evaluationRules/index.d.ts +1 -1
- package/dist/react-native/api/evaluationRules/index.d.ts.map +1 -1
- package/dist/react-native/api/evaluationRules/index.js.map +1 -1
- package/dist/react-native/api/evaluationRules/operations.d.ts +5 -5
- package/dist/react-native/api/evaluationRules/operations.d.ts.map +1 -1
- package/dist/react-native/api/evaluationRules/operations.js +14 -3
- package/dist/react-native/api/evaluationRules/operations.js.map +1 -1
- package/dist/react-native/api/evaluationRules/options.d.ts +2 -2
- package/dist/react-native/api/evaluationRules/options.d.ts.map +1 -1
- package/dist/react-native/api/evaluationRules/options.js.map +1 -1
- package/dist/react-native/api/index.d.ts +6 -5
- package/dist/react-native/api/index.d.ts.map +1 -1
- package/dist/react-native/api/index.js.map +1 -1
- package/dist/react-native/api/indexes/index.d.ts +1 -1
- package/dist/react-native/api/indexes/index.d.ts.map +1 -1
- package/dist/react-native/api/indexes/index.js.map +1 -1
- package/dist/react-native/api/indexes/operations.d.ts +5 -5
- package/dist/react-native/api/indexes/operations.d.ts.map +1 -1
- package/dist/react-native/api/indexes/operations.js +2 -2
- package/dist/react-native/api/indexes/operations.js.map +1 -1
- package/dist/react-native/api/indexes/options.d.ts +1 -1
- package/dist/react-native/api/indexes/options.d.ts.map +1 -1
- package/dist/react-native/api/indexes/options.js.map +1 -1
- package/dist/react-native/api/telemetry/index.d.ts +1 -1
- package/dist/react-native/api/telemetry/index.d.ts.map +1 -1
- package/dist/react-native/api/telemetry/index.js.map +1 -1
- package/dist/react-native/api/telemetry/operations.d.ts +2 -1
- package/dist/react-native/api/telemetry/operations.d.ts.map +1 -1
- package/dist/react-native/api/telemetry/operations.js +3 -3
- package/dist/react-native/api/telemetry/operations.js.map +1 -1
- package/dist/react-native/classic/agents/index.d.ts +7 -7
- package/dist/react-native/classic/agents/index.d.ts.map +1 -1
- package/dist/react-native/classic/agents/index.js.map +1 -1
- package/dist/react-native/classic/beta/evaluationTaxonomies/index.d.ts +4 -4
- package/dist/react-native/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/evaluationTaxonomies/index.js.map +1 -1
- package/dist/react-native/classic/beta/evaluators/index.d.ts +5 -5
- package/dist/react-native/classic/beta/evaluators/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/evaluators/index.js +1 -1
- package/dist/react-native/classic/beta/evaluators/index.js.map +1 -1
- package/dist/react-native/classic/beta/index.d.ts +13 -7
- package/dist/react-native/classic/beta/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/index.js +8 -2
- package/dist/react-native/classic/beta/index.js.map +1 -1
- package/dist/react-native/classic/beta/insights/index.d.ts +4 -4
- package/dist/react-native/classic/beta/insights/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/insights/index.js.map +1 -1
- package/dist/react-native/classic/beta/memoryStores/index.d.ts +5 -5
- package/dist/react-native/classic/beta/memoryStores/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/memoryStores/index.js.map +1 -1
- package/dist/react-native/classic/beta/redTeams/index.d.ts +4 -4
- package/dist/react-native/classic/beta/redTeams/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/redTeams/index.js.map +1 -1
- package/dist/react-native/classic/beta/schedules/index.d.ts +4 -4
- package/dist/react-native/classic/beta/schedules/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/schedules/index.js.map +1 -1
- package/dist/react-native/classic/connections/index.d.ts +6 -6
- package/dist/react-native/classic/connections/index.d.ts.map +1 -1
- package/dist/react-native/classic/connections/index.js +2 -2
- package/dist/react-native/classic/connections/index.js.map +1 -1
- package/dist/react-native/classic/datasets/index.d.ts +5 -5
- package/dist/react-native/classic/datasets/index.d.ts.map +1 -1
- package/dist/react-native/classic/datasets/index.js.map +1 -1
- package/dist/react-native/classic/deployments/index.d.ts +4 -4
- package/dist/react-native/classic/deployments/index.d.ts.map +1 -1
- package/dist/react-native/classic/deployments/index.js.map +1 -1
- package/dist/react-native/classic/evaluationRules/index.d.ts +4 -4
- package/dist/react-native/classic/evaluationRules/index.d.ts.map +1 -1
- package/dist/react-native/classic/evaluationRules/index.js.map +1 -1
- package/dist/react-native/classic/index.d.ts +14 -14
- package/dist/react-native/classic/index.d.ts.map +1 -1
- package/dist/react-native/classic/index.js.map +1 -1
- package/dist/react-native/classic/indexes/index.d.ts +4 -4
- package/dist/react-native/classic/indexes/index.d.ts.map +1 -1
- package/dist/react-native/classic/indexes/index.js.map +1 -1
- package/dist/react-native/classic/telemetry/index.d.ts +2 -1
- package/dist/react-native/classic/telemetry/index.d.ts.map +1 -1
- package/dist/react-native/classic/telemetry/index.js +1 -3
- package/dist/react-native/classic/telemetry/index.js.map +1 -1
- package/dist/react-native/constants.d.ts +1 -1
- package/dist/react-native/constants.d.ts.map +1 -1
- package/dist/react-native/constants.js +1 -1
- package/dist/react-native/constants.js.map +1 -1
- package/dist/react-native/index.d.ts +18 -18
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +0 -2
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1 -1
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +259 -1032
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +368 -1041
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/overwriteOpenAIClient.d.ts +1 -1
- package/dist/react-native/overwriteOpenAIClient.d.ts.map +1 -1
- package/dist/react-native/overwriteOpenAIClient.js.map +1 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +4 -28
- package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/react-native/static-helpers/pagingHelpers.js +3 -2
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +4 -4
- package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.js +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -1
- package/package.json +3 -21
- package/dist/browser/api/beta/evaluationRules/index.d.ts +0 -3
- package/dist/browser/api/beta/evaluationRules/index.d.ts.map +0 -1
- package/dist/browser/api/beta/evaluationRules/index.js +0 -4
- package/dist/browser/api/beta/evaluationRules/index.js.map +0 -1
- package/dist/browser/api/beta/evaluationRules/operations.d.ts +0 -22
- package/dist/browser/api/beta/evaluationRules/operations.d.ts.map +0 -1
- package/dist/browser/api/beta/evaluationRules/operations.js +0 -134
- package/dist/browser/api/beta/evaluationRules/operations.js.map +0 -1
- package/dist/browser/api/beta/evaluationRules/options.d.ts +0 -27
- package/dist/browser/api/beta/evaluationRules/options.d.ts.map +0 -1
- package/dist/browser/api/beta/evaluationRules/options.js +0 -4
- package/dist/browser/api/beta/evaluationRules/options.js.map +0 -1
- package/dist/browser/classic/beta/evaluationRules/index.d.ts +0 -17
- package/dist/browser/classic/beta/evaluationRules/index.d.ts.map +0 -1
- package/dist/browser/classic/beta/evaluationRules/index.js +0 -17
- package/dist/browser/classic/beta/evaluationRules/index.js.map +0 -1
- package/dist/browser/getCustomFetch-browser.d.mts.map +0 -1
- package/dist/browser/getCustomFetch-browser.mjs.map +0 -1
- package/dist/browser/restorePollerHelpers.d.ts +0 -21
- package/dist/browser/restorePollerHelpers.d.ts.map +0 -1
- package/dist/browser/restorePollerHelpers.js +0 -99
- package/dist/browser/restorePollerHelpers.js.map +0 -1
- package/dist/commonjs/api/beta/evaluationRules/index.d.ts +0 -3
- package/dist/commonjs/api/beta/evaluationRules/index.d.ts.map +0 -1
- package/dist/commonjs/api/beta/evaluationRules/index.js +0 -11
- package/dist/commonjs/api/beta/evaluationRules/index.js.map +0 -1
- package/dist/commonjs/api/beta/evaluationRules/operations.d.ts +0 -22
- package/dist/commonjs/api/beta/evaluationRules/operations.d.ts.map +0 -1
- package/dist/commonjs/api/beta/evaluationRules/operations.js +0 -148
- package/dist/commonjs/api/beta/evaluationRules/operations.js.map +0 -1
- package/dist/commonjs/api/beta/evaluationRules/options.d.ts +0 -27
- package/dist/commonjs/api/beta/evaluationRules/options.d.ts.map +0 -1
- package/dist/commonjs/api/beta/evaluationRules/options.js +0 -5
- package/dist/commonjs/api/beta/evaluationRules/options.js.map +0 -1
- package/dist/commonjs/classic/beta/evaluationRules/index.d.ts +0 -17
- package/dist/commonjs/classic/beta/evaluationRules/index.d.ts.map +0 -1
- package/dist/commonjs/classic/beta/evaluationRules/index.js +0 -20
- package/dist/commonjs/classic/beta/evaluationRules/index.js.map +0 -1
- package/dist/commonjs/restorePollerHelpers.d.ts +0 -21
- package/dist/commonjs/restorePollerHelpers.d.ts.map +0 -1
- package/dist/commonjs/restorePollerHelpers.js +0 -102
- package/dist/commonjs/restorePollerHelpers.js.map +0 -1
- package/dist/esm/api/beta/evaluationRules/index.d.ts +0 -3
- package/dist/esm/api/beta/evaluationRules/index.d.ts.map +0 -1
- package/dist/esm/api/beta/evaluationRules/index.js +0 -4
- package/dist/esm/api/beta/evaluationRules/index.js.map +0 -1
- package/dist/esm/api/beta/evaluationRules/operations.d.ts +0 -22
- package/dist/esm/api/beta/evaluationRules/operations.d.ts.map +0 -1
- package/dist/esm/api/beta/evaluationRules/operations.js +0 -134
- package/dist/esm/api/beta/evaluationRules/operations.js.map +0 -1
- package/dist/esm/api/beta/evaluationRules/options.d.ts +0 -27
- package/dist/esm/api/beta/evaluationRules/options.d.ts.map +0 -1
- package/dist/esm/api/beta/evaluationRules/options.js +0 -4
- package/dist/esm/api/beta/evaluationRules/options.js.map +0 -1
- package/dist/esm/classic/beta/evaluationRules/index.d.ts +0 -17
- package/dist/esm/classic/beta/evaluationRules/index.d.ts.map +0 -1
- package/dist/esm/classic/beta/evaluationRules/index.js +0 -17
- package/dist/esm/classic/beta/evaluationRules/index.js.map +0 -1
- package/dist/esm/restorePollerHelpers.d.ts +0 -21
- package/dist/esm/restorePollerHelpers.d.ts.map +0 -1
- package/dist/esm/restorePollerHelpers.js +0 -99
- package/dist/esm/restorePollerHelpers.js.map +0 -1
- package/dist/react-native/api/beta/evaluationRules/index.d.ts +0 -3
- package/dist/react-native/api/beta/evaluationRules/index.d.ts.map +0 -1
- package/dist/react-native/api/beta/evaluationRules/index.js +0 -4
- package/dist/react-native/api/beta/evaluationRules/index.js.map +0 -1
- package/dist/react-native/api/beta/evaluationRules/operations.d.ts +0 -22
- package/dist/react-native/api/beta/evaluationRules/operations.d.ts.map +0 -1
- package/dist/react-native/api/beta/evaluationRules/operations.js +0 -134
- package/dist/react-native/api/beta/evaluationRules/operations.js.map +0 -1
- package/dist/react-native/api/beta/evaluationRules/options.d.ts +0 -27
- package/dist/react-native/api/beta/evaluationRules/options.d.ts.map +0 -1
- package/dist/react-native/api/beta/evaluationRules/options.js +0 -4
- package/dist/react-native/api/beta/evaluationRules/options.js.map +0 -1
- package/dist/react-native/classic/beta/evaluationRules/index.d.ts +0 -17
- package/dist/react-native/classic/beta/evaluationRules/index.d.ts.map +0 -1
- package/dist/react-native/classic/beta/evaluationRules/index.js +0 -17
- package/dist/react-native/classic/beta/evaluationRules/index.js.map +0 -1
- package/dist/react-native/restorePollerHelpers.d.ts +0 -21
- package/dist/react-native/restorePollerHelpers.d.ts.map +0 -1
- package/dist/react-native/restorePollerHelpers.js +0 -99
- package/dist/react-native/restorePollerHelpers.js.map +0 -1
|
@@ -69,14 +69,14 @@ export declare function agentDefinitionDeserializer(item: any): AgentDefinition;
|
|
|
69
69
|
* Union type for all agent definition types.
|
|
70
70
|
* Supports workflow, hosted, container app, and prompt agents.
|
|
71
71
|
*/
|
|
72
|
-
export type AgentDefinitionUnion = PromptAgentDefinition | WorkflowAgentDefinition | HostedAgentDefinition |
|
|
72
|
+
export type AgentDefinitionUnion = PromptAgentDefinition | WorkflowAgentDefinition | HostedAgentDefinition | AgentDefinition;
|
|
73
73
|
export declare function agentDefinitionUnionSerializer(item: AgentDefinitionUnion): any;
|
|
74
74
|
export declare function agentDefinitionUnionDeserializer(item: any): AgentDefinitionUnion;
|
|
75
75
|
/**
|
|
76
76
|
* Defines the type/kind of agent.
|
|
77
77
|
* Determines which agent definition structure is used.
|
|
78
78
|
*/
|
|
79
|
-
export type AgentKind = "prompt" | "hosted" | "
|
|
79
|
+
export type AgentKind = "prompt" | "hosted" | "workflow";
|
|
80
80
|
/** Configuration for Responsible AI (RAI) content filtering and safety features. */
|
|
81
81
|
export interface RaiConfig {
|
|
82
82
|
/** The name of the RAI policy to apply. */
|
|
@@ -86,6 +86,7 @@ export declare function raiConfigSerializer(item: RaiConfig): any;
|
|
|
86
86
|
export declare function raiConfigDeserializer(item: any): RaiConfig;
|
|
87
87
|
/** The prompt agent definition */
|
|
88
88
|
export interface PromptAgentDefinition extends AgentDefinition {
|
|
89
|
+
/** The kind discriminator, always 'prompt'. */
|
|
89
90
|
kind: "prompt";
|
|
90
91
|
/** The model deployment to use for this agent. */
|
|
91
92
|
model: string;
|
|
@@ -105,6 +106,7 @@ export interface PromptAgentDefinition extends AgentDefinition {
|
|
|
105
106
|
* We generally recommend altering this or `temperature` but not both.
|
|
106
107
|
*/
|
|
107
108
|
top_p?: number;
|
|
109
|
+
/** The reasoning configuration for the prompt agent. */
|
|
108
110
|
reasoning?: Reasoning;
|
|
109
111
|
/**
|
|
110
112
|
* An array of tools the model may call while generating a response. You
|
|
@@ -129,8 +131,11 @@ export declare function promptAgentDefinitionDeserializer(item: any): PromptAgen
|
|
|
129
131
|
* [reasoning models](https://platform.openai.com/docs/guides/reasoning).
|
|
130
132
|
*/
|
|
131
133
|
export interface Reasoning {
|
|
134
|
+
/** The reasoning effort level. */
|
|
132
135
|
effort?: ReasoningEffort;
|
|
136
|
+
/** The reasoning summary text. */
|
|
133
137
|
summary?: "auto" | "concise" | "detailed";
|
|
138
|
+
/** Whether to generate a summary of the reasoning process. */
|
|
134
139
|
generate_summary?: "auto" | "concise" | "detailed";
|
|
135
140
|
}
|
|
136
141
|
export declare function reasoningSerializer(item: Reasoning): any;
|
|
@@ -151,6 +156,7 @@ export declare function toolUnionArraySerializer(result: Array<ToolUnion>): any[
|
|
|
151
156
|
export declare function toolUnionArrayDeserializer(result: Array<ToolUnion>): any[];
|
|
152
157
|
/** A tool that can be used to generate a response. */
|
|
153
158
|
export interface Tool {
|
|
159
|
+
/** The tool type identifier. */
|
|
154
160
|
type: ToolType;
|
|
155
161
|
}
|
|
156
162
|
export declare function toolSerializer(item: Tool): any;
|
|
@@ -574,34 +580,84 @@ export interface CodeInterpreterTool extends Tool {
|
|
|
574
580
|
* optional `memory_limit` setting.
|
|
575
581
|
* If not provided, the service assumes auto.
|
|
576
582
|
*/
|
|
577
|
-
container?: string |
|
|
583
|
+
container?: string | AutoCodeInterpreterToolParam;
|
|
578
584
|
}
|
|
579
585
|
export declare function codeInterpreterToolSerializer(item: CodeInterpreterTool): any;
|
|
580
586
|
export declare function codeInterpreterToolDeserializer(item: any): CodeInterpreterTool;
|
|
581
587
|
/** Alias for _CodeInterpreterToolContainer */
|
|
582
|
-
export type _CodeInterpreterToolContainer = string |
|
|
588
|
+
export type _CodeInterpreterToolContainer = string | AutoCodeInterpreterToolParam;
|
|
583
589
|
export declare function _codeInterpreterToolContainerSerializer(item: _CodeInterpreterToolContainer): any;
|
|
584
590
|
export declare function _codeInterpreterToolContainerDeserializer(item: any): _CodeInterpreterToolContainer;
|
|
585
591
|
/** Configuration for a code interpreter container. Optionally specify the IDs of the files to run the code on. */
|
|
586
|
-
export interface
|
|
592
|
+
export interface AutoCodeInterpreterToolParam {
|
|
587
593
|
/** Always `auto`. */
|
|
588
594
|
type: "auto";
|
|
589
595
|
/** An optional list of uploaded files to make available to your code. */
|
|
590
596
|
file_ids?: string[];
|
|
597
|
+
/** The memory limit for the code interpreter container, in bytes. */
|
|
591
598
|
memory_limit?: ContainerMemoryLimit;
|
|
599
|
+
/** The network access policy for the code interpreter container. */
|
|
600
|
+
network_policy?: ContainerNetworkPolicyParamUnion;
|
|
592
601
|
}
|
|
593
|
-
export declare function
|
|
594
|
-
export declare function
|
|
602
|
+
export declare function autoCodeInterpreterToolParamSerializer(item: AutoCodeInterpreterToolParam): any;
|
|
603
|
+
export declare function autoCodeInterpreterToolParamDeserializer(item: any): AutoCodeInterpreterToolParam;
|
|
595
604
|
/** Type of ContainerMemoryLimit */
|
|
596
605
|
export type ContainerMemoryLimit = "1g" | "4g" | "16g" | "64g";
|
|
606
|
+
/** Network access policy for the container. */
|
|
607
|
+
export interface ContainerNetworkPolicyParam {
|
|
608
|
+
/** The network policy type. */
|
|
609
|
+
type: ContainerNetworkPolicyParamType;
|
|
610
|
+
}
|
|
611
|
+
export declare function containerNetworkPolicyParamSerializer(item: ContainerNetworkPolicyParam): any;
|
|
612
|
+
export declare function containerNetworkPolicyParamDeserializer(item: any): ContainerNetworkPolicyParam;
|
|
613
|
+
/** Alias for ContainerNetworkPolicyParamUnion */
|
|
614
|
+
export type ContainerNetworkPolicyParamUnion = ContainerNetworkPolicyDisabledParam | ContainerNetworkPolicyAllowlistParam | ContainerNetworkPolicyParam;
|
|
615
|
+
export declare function containerNetworkPolicyParamUnionSerializer(item: ContainerNetworkPolicyParamUnion): any;
|
|
616
|
+
export declare function containerNetworkPolicyParamUnionDeserializer(item: any): ContainerNetworkPolicyParamUnion;
|
|
617
|
+
/** Type of ContainerNetworkPolicyParamType */
|
|
618
|
+
export type ContainerNetworkPolicyParamType = "disabled" | "allowlist";
|
|
619
|
+
/** model interface ContainerNetworkPolicyDisabledParam */
|
|
620
|
+
export interface ContainerNetworkPolicyDisabledParam extends ContainerNetworkPolicyParam {
|
|
621
|
+
/** Disable outbound network access. Always `disabled`. */
|
|
622
|
+
type: "disabled";
|
|
623
|
+
}
|
|
624
|
+
export declare function containerNetworkPolicyDisabledParamSerializer(item: ContainerNetworkPolicyDisabledParam): any;
|
|
625
|
+
export declare function containerNetworkPolicyDisabledParamDeserializer(item: any): ContainerNetworkPolicyDisabledParam;
|
|
626
|
+
/** model interface ContainerNetworkPolicyAllowlistParam */
|
|
627
|
+
export interface ContainerNetworkPolicyAllowlistParam extends ContainerNetworkPolicyParam {
|
|
628
|
+
/** Allow outbound network access only to specified domains. Always `allowlist`. */
|
|
629
|
+
type: "allowlist";
|
|
630
|
+
/** A list of allowed domains when type is `allowlist`. */
|
|
631
|
+
allowed_domains: string[];
|
|
632
|
+
/** Optional domain-scoped secrets for allowlisted domains. */
|
|
633
|
+
domain_secrets?: ContainerNetworkPolicyDomainSecretParam[];
|
|
634
|
+
}
|
|
635
|
+
export declare function containerNetworkPolicyAllowlistParamSerializer(item: ContainerNetworkPolicyAllowlistParam): any;
|
|
636
|
+
export declare function containerNetworkPolicyAllowlistParamDeserializer(item: any): ContainerNetworkPolicyAllowlistParam;
|
|
637
|
+
export declare function containerNetworkPolicyDomainSecretParamArraySerializer(result: Array<ContainerNetworkPolicyDomainSecretParam>): any[];
|
|
638
|
+
export declare function containerNetworkPolicyDomainSecretParamArrayDeserializer(result: Array<ContainerNetworkPolicyDomainSecretParam>): any[];
|
|
639
|
+
/** model interface ContainerNetworkPolicyDomainSecretParam */
|
|
640
|
+
export interface ContainerNetworkPolicyDomainSecretParam {
|
|
641
|
+
/** The domain associated with the secret. */
|
|
642
|
+
domain: string;
|
|
643
|
+
/** The name of the secret to inject for the domain. */
|
|
644
|
+
name: string;
|
|
645
|
+
/** The secret value to inject for the domain. */
|
|
646
|
+
value: string;
|
|
647
|
+
}
|
|
648
|
+
export declare function containerNetworkPolicyDomainSecretParamSerializer(item: ContainerNetworkPolicyDomainSecretParam): any;
|
|
649
|
+
export declare function containerNetworkPolicyDomainSecretParamDeserializer(item: any): ContainerNetworkPolicyDomainSecretParam;
|
|
597
650
|
/** Defines a function in your own code the model can choose to call. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling). */
|
|
598
651
|
export interface FunctionTool extends Tool {
|
|
599
652
|
/** The type of the function tool. Always `function`. */
|
|
600
653
|
type: "function";
|
|
601
654
|
/** The name of the function to call. */
|
|
602
655
|
name: string;
|
|
656
|
+
/** A description of the function tool. */
|
|
603
657
|
description?: string;
|
|
658
|
+
/** The parameters schema for the function. */
|
|
604
659
|
parameters: Record<string, unknown>;
|
|
660
|
+
/** Whether the function arguments must strictly match the parameters schema. */
|
|
605
661
|
strict: boolean;
|
|
606
662
|
}
|
|
607
663
|
export declare function functionToolSerializer(item: FunctionTool): any;
|
|
@@ -616,6 +672,7 @@ export interface FileSearchTool extends Tool {
|
|
|
616
672
|
max_num_results?: number;
|
|
617
673
|
/** Ranking options for search. */
|
|
618
674
|
ranking_options?: RankingOptions;
|
|
675
|
+
/** Filters to apply to the file search. */
|
|
619
676
|
filters?: Filters;
|
|
620
677
|
}
|
|
621
678
|
export declare function fileSearchToolSerializer(item: FileSearchTool): any;
|
|
@@ -682,14 +739,14 @@ export interface CompoundFilter {
|
|
|
682
739
|
/** Type of operation: `and` or `or`. */
|
|
683
740
|
type: "and" | "or";
|
|
684
741
|
/** Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`. */
|
|
685
|
-
filters: (ComparisonFilter |
|
|
742
|
+
filters: (ComparisonFilter | CompoundFilter)[];
|
|
686
743
|
}
|
|
687
744
|
export declare function compoundFilterSerializer(item: CompoundFilter): any;
|
|
688
745
|
export declare function compoundFilterDeserializer(item: any): CompoundFilter;
|
|
689
746
|
export declare function _compoundFilterFilterArraySerializer(result: Array<_CompoundFilterFilter>): any[];
|
|
690
747
|
export declare function _compoundFilterFilterArrayDeserializer(result: Array<_CompoundFilterFilter>): any[];
|
|
691
748
|
/** Alias for _CompoundFilterFilter */
|
|
692
|
-
export type _CompoundFilterFilter = ComparisonFilter |
|
|
749
|
+
export type _CompoundFilterFilter = ComparisonFilter | CompoundFilter;
|
|
693
750
|
export declare function _compoundFilterFilterSerializer(item: _CompoundFilterFilter): any;
|
|
694
751
|
export declare function _compoundFilterFilterDeserializer(item: any): _CompoundFilterFilter;
|
|
695
752
|
/** A tool that controls a virtual computer. Learn more about the [computer tool](https://platform.openai.com/docs/guides/tools-computer-use). */
|
|
@@ -714,7 +771,9 @@ export type ComputerEnvironment = "windows" | "mac" | "linux" | "ubuntu" | "brow
|
|
|
714
771
|
export interface WebSearchTool extends Tool {
|
|
715
772
|
/** The type of the web search tool. One of `web_search` or `web_search_2025_08_26`. */
|
|
716
773
|
type: "web_search";
|
|
774
|
+
/** Filters to apply to web search results. */
|
|
717
775
|
filters?: WebSearchToolFilters;
|
|
776
|
+
/** The approximate location of the user for search relevance. */
|
|
718
777
|
user_location?: WebSearchApproximateLocation;
|
|
719
778
|
/** High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default. */
|
|
720
779
|
search_context_size?: "low" | "medium" | "high";
|
|
@@ -728,6 +787,7 @@ export declare function webSearchToolSerializer(item: WebSearchTool): any;
|
|
|
728
787
|
export declare function webSearchToolDeserializer(item: any): WebSearchTool;
|
|
729
788
|
/** model interface WebSearchToolFilters */
|
|
730
789
|
export interface WebSearchToolFilters {
|
|
790
|
+
/** The list of allowed domains for web search results. */
|
|
731
791
|
allowed_domains?: string[];
|
|
732
792
|
}
|
|
733
793
|
export declare function webSearchToolFiltersSerializer(item: WebSearchToolFilters): any;
|
|
@@ -736,9 +796,13 @@ export declare function webSearchToolFiltersDeserializer(item: any): WebSearchTo
|
|
|
736
796
|
export interface WebSearchApproximateLocation {
|
|
737
797
|
/** The type of location approximation. Always `approximate`. */
|
|
738
798
|
type?: "approximate";
|
|
799
|
+
/** The two-letter ISO country code. */
|
|
739
800
|
country?: string;
|
|
801
|
+
/** The region or state for the approximate location. */
|
|
740
802
|
region?: string;
|
|
803
|
+
/** The city for the approximate location. */
|
|
741
804
|
city?: string;
|
|
805
|
+
/** The IANA timezone identifier (e.g. 'America/New_York'). */
|
|
742
806
|
timezone?: string;
|
|
743
807
|
}
|
|
744
808
|
export declare function webSearchApproximateLocationSerializer(item: WebSearchApproximateLocation): any;
|
|
@@ -789,8 +853,11 @@ export interface MCPTool extends Tool {
|
|
|
789
853
|
authorization?: string;
|
|
790
854
|
/** Optional description of the MCP server, used to provide more context. */
|
|
791
855
|
server_description?: string;
|
|
856
|
+
/** Custom headers to include in requests to the MCP server. */
|
|
792
857
|
headers?: Record<string, string>;
|
|
858
|
+
/** The list of allowed tool names for the MCP server. */
|
|
793
859
|
allowed_tools?: string[] | MCPToolFilter;
|
|
860
|
+
/** The approval requirements for the MCP tool. */
|
|
794
861
|
require_approval?: MCPToolRequireApproval | "always" | "never";
|
|
795
862
|
/** The connection ID in the project for the MCP server. The connection stores authentication and other connection details needed to connect to the MCP server. */
|
|
796
863
|
project_connection_id?: string;
|
|
@@ -820,7 +887,9 @@ export declare function _mcpToolRequireApprovalSerializer(item: _MCPToolRequireA
|
|
|
820
887
|
export declare function _mcpToolRequireApprovalDeserializer(item: any): _MCPToolRequireApproval;
|
|
821
888
|
/** model interface MCPToolRequireApproval */
|
|
822
889
|
export interface MCPToolRequireApproval {
|
|
890
|
+
/** Tools that always require approval before execution. */
|
|
823
891
|
always?: MCPToolFilter;
|
|
892
|
+
/** Tools that never require approval before execution. */
|
|
824
893
|
never?: MCPToolFilter;
|
|
825
894
|
}
|
|
826
895
|
export declare function mcpToolRequireApprovalSerializer(item: MCPToolRequireApproval): any;
|
|
@@ -829,6 +898,7 @@ export declare function mcpToolRequireApprovalDeserializer(item: any): MCPToolRe
|
|
|
829
898
|
export interface ImageGenTool extends Tool {
|
|
830
899
|
/** The type of the image generation tool. Always `image_generation`. */
|
|
831
900
|
type: "image_generation";
|
|
901
|
+
/** The model to use for image generation. */
|
|
832
902
|
model?: "gpt-image-1" | "gpt-image-1-mini";
|
|
833
903
|
/**
|
|
834
904
|
* The quality of the generated image. One of `low`, `medium`, `high`,
|
|
@@ -854,6 +924,7 @@ export interface ImageGenTool extends Tool {
|
|
|
854
924
|
* `opaque`, or `auto`. Default: `auto`.
|
|
855
925
|
*/
|
|
856
926
|
background?: "transparent" | "opaque" | "auto";
|
|
927
|
+
/** The fidelity level for input image processing. */
|
|
857
928
|
input_fidelity?: InputFidelity;
|
|
858
929
|
/**
|
|
859
930
|
* Optional mask for inpainting. Contains `image_url`
|
|
@@ -862,6 +933,8 @@ export interface ImageGenTool extends Tool {
|
|
|
862
933
|
input_image_mask?: ImageGenToolInputImageMask;
|
|
863
934
|
/** Number of partial images to generate in streaming mode, from 0 (default value) to 3. */
|
|
864
935
|
partial_images?: number;
|
|
936
|
+
/** Whether to generate a new image or edit an existing image. Default: `auto`. */
|
|
937
|
+
action?: ImageGenAction;
|
|
865
938
|
}
|
|
866
939
|
export declare function imageGenToolSerializer(item: ImageGenTool): any;
|
|
867
940
|
export declare function imageGenToolDeserializer(item: any): ImageGenTool;
|
|
@@ -869,11 +942,15 @@ export declare function imageGenToolDeserializer(item: any): ImageGenTool;
|
|
|
869
942
|
export type InputFidelity = "high" | "low";
|
|
870
943
|
/** model interface ImageGenToolInputImageMask */
|
|
871
944
|
export interface ImageGenToolInputImageMask {
|
|
945
|
+
/** The URL of the mask image. */
|
|
872
946
|
image_url?: string;
|
|
947
|
+
/** The file identifier for the mask image. */
|
|
873
948
|
file_id?: string;
|
|
874
949
|
}
|
|
875
950
|
export declare function imageGenToolInputImageMaskSerializer(item: ImageGenToolInputImageMask): any;
|
|
876
951
|
export declare function imageGenToolInputImageMaskDeserializer(item: any): ImageGenToolInputImageMask;
|
|
952
|
+
/** Type of ImageGenAction */
|
|
953
|
+
export type ImageGenAction = "generate" | "edit" | "auto";
|
|
877
954
|
/** A tool that allows the model to execute shell commands in a local environment. */
|
|
878
955
|
export interface LocalShellToolParam extends Tool {
|
|
879
956
|
/** The type of the local shell tool. Always `local_shell`. */
|
|
@@ -885,9 +962,120 @@ export declare function localShellToolParamDeserializer(item: any): LocalShellTo
|
|
|
885
962
|
export interface FunctionShellToolParam extends Tool {
|
|
886
963
|
/** The type of the shell tool. Always `shell`. */
|
|
887
964
|
type: "shell";
|
|
965
|
+
/** The environment configuration for the function shell tool. */
|
|
966
|
+
environment?: FunctionShellToolParamEnvironmentUnion;
|
|
888
967
|
}
|
|
889
968
|
export declare function functionShellToolParamSerializer(item: FunctionShellToolParam): any;
|
|
890
969
|
export declare function functionShellToolParamDeserializer(item: any): FunctionShellToolParam;
|
|
970
|
+
/** model interface FunctionShellToolParamEnvironment */
|
|
971
|
+
export interface FunctionShellToolParamEnvironment {
|
|
972
|
+
/** The environment type. */
|
|
973
|
+
type: FunctionShellToolParamEnvironmentType;
|
|
974
|
+
}
|
|
975
|
+
export declare function functionShellToolParamEnvironmentSerializer(item: FunctionShellToolParamEnvironment): any;
|
|
976
|
+
export declare function functionShellToolParamEnvironmentDeserializer(item: any): FunctionShellToolParamEnvironment;
|
|
977
|
+
/** Alias for FunctionShellToolParamEnvironmentUnion */
|
|
978
|
+
export type FunctionShellToolParamEnvironmentUnion = FunctionShellToolParamEnvironmentLocalEnvironmentParam | FunctionShellToolParamEnvironmentContainerReferenceParam | ContainerAutoParam | FunctionShellToolParamEnvironment;
|
|
979
|
+
export declare function functionShellToolParamEnvironmentUnionSerializer(item: FunctionShellToolParamEnvironmentUnion): any;
|
|
980
|
+
export declare function functionShellToolParamEnvironmentUnionDeserializer(item: any): FunctionShellToolParamEnvironmentUnion;
|
|
981
|
+
/** Type of FunctionShellToolParamEnvironmentType */
|
|
982
|
+
export type FunctionShellToolParamEnvironmentType = "container_auto" | "local" | "container_reference";
|
|
983
|
+
/** model interface FunctionShellToolParamEnvironmentLocalEnvironmentParam */
|
|
984
|
+
export interface FunctionShellToolParamEnvironmentLocalEnvironmentParam extends FunctionShellToolParamEnvironment {
|
|
985
|
+
/** Use a local computer environment. */
|
|
986
|
+
type: "local";
|
|
987
|
+
/** An optional list of skills. */
|
|
988
|
+
skills?: LocalSkillParam[];
|
|
989
|
+
}
|
|
990
|
+
export declare function functionShellToolParamEnvironmentLocalEnvironmentParamSerializer(item: FunctionShellToolParamEnvironmentLocalEnvironmentParam): any;
|
|
991
|
+
export declare function functionShellToolParamEnvironmentLocalEnvironmentParamDeserializer(item: any): FunctionShellToolParamEnvironmentLocalEnvironmentParam;
|
|
992
|
+
export declare function localSkillParamArraySerializer(result: Array<LocalSkillParam>): any[];
|
|
993
|
+
export declare function localSkillParamArrayDeserializer(result: Array<LocalSkillParam>): any[];
|
|
994
|
+
/** model interface LocalSkillParam */
|
|
995
|
+
export interface LocalSkillParam {
|
|
996
|
+
/** The name of the skill. */
|
|
997
|
+
name: string;
|
|
998
|
+
/** The description of the skill. */
|
|
999
|
+
description: string;
|
|
1000
|
+
/** The path to the directory containing the skill. */
|
|
1001
|
+
path: string;
|
|
1002
|
+
}
|
|
1003
|
+
export declare function localSkillParamSerializer(item: LocalSkillParam): any;
|
|
1004
|
+
export declare function localSkillParamDeserializer(item: any): LocalSkillParam;
|
|
1005
|
+
/** model interface FunctionShellToolParamEnvironmentContainerReferenceParam */
|
|
1006
|
+
export interface FunctionShellToolParamEnvironmentContainerReferenceParam extends FunctionShellToolParamEnvironment {
|
|
1007
|
+
/** References a container created with the /v1/containers endpoint */
|
|
1008
|
+
type: "container_reference";
|
|
1009
|
+
/** The ID of the referenced container. */
|
|
1010
|
+
container_id: string;
|
|
1011
|
+
}
|
|
1012
|
+
export declare function functionShellToolParamEnvironmentContainerReferenceParamSerializer(item: FunctionShellToolParamEnvironmentContainerReferenceParam): any;
|
|
1013
|
+
export declare function functionShellToolParamEnvironmentContainerReferenceParamDeserializer(item: any): FunctionShellToolParamEnvironmentContainerReferenceParam;
|
|
1014
|
+
/** model interface ContainerAutoParam */
|
|
1015
|
+
export interface ContainerAutoParam extends FunctionShellToolParamEnvironment {
|
|
1016
|
+
/** Automatically creates a container for this request */
|
|
1017
|
+
type: "container_auto";
|
|
1018
|
+
/** An optional list of uploaded files to make available to your code. */
|
|
1019
|
+
file_ids?: string[];
|
|
1020
|
+
/** The memory limit for the container, in bytes. */
|
|
1021
|
+
memory_limit?: ContainerMemoryLimit;
|
|
1022
|
+
/** An optional list of skills referenced by id or inline data. */
|
|
1023
|
+
skills?: ContainerSkillUnion[];
|
|
1024
|
+
/** The network access policy for the container. */
|
|
1025
|
+
network_policy?: ContainerNetworkPolicyParamUnion;
|
|
1026
|
+
}
|
|
1027
|
+
export declare function containerAutoParamSerializer(item: ContainerAutoParam): any;
|
|
1028
|
+
export declare function containerAutoParamDeserializer(item: any): ContainerAutoParam;
|
|
1029
|
+
export declare function containerSkillUnionArraySerializer(result: Array<ContainerSkillUnion>): any[];
|
|
1030
|
+
export declare function containerSkillUnionArrayDeserializer(result: Array<ContainerSkillUnion>): any[];
|
|
1031
|
+
/** model interface ContainerSkill */
|
|
1032
|
+
export interface ContainerSkill {
|
|
1033
|
+
/** The type discriminator, always 'container'. */
|
|
1034
|
+
type: ContainerSkillType;
|
|
1035
|
+
}
|
|
1036
|
+
export declare function containerSkillSerializer(item: ContainerSkill): any;
|
|
1037
|
+
export declare function containerSkillDeserializer(item: any): ContainerSkill;
|
|
1038
|
+
/** Alias for ContainerSkillUnion */
|
|
1039
|
+
export type ContainerSkillUnion = SkillReferenceParam | InlineSkillParam | ContainerSkill;
|
|
1040
|
+
export declare function containerSkillUnionSerializer(item: ContainerSkillUnion): any;
|
|
1041
|
+
export declare function containerSkillUnionDeserializer(item: any): ContainerSkillUnion;
|
|
1042
|
+
/** Type of ContainerSkillType */
|
|
1043
|
+
export type ContainerSkillType = "skill_reference" | "inline";
|
|
1044
|
+
/** model interface SkillReferenceParam */
|
|
1045
|
+
export interface SkillReferenceParam extends ContainerSkill {
|
|
1046
|
+
/** References a skill created with the /v1/skills endpoint. */
|
|
1047
|
+
type: "skill_reference";
|
|
1048
|
+
/** The ID of the referenced skill. */
|
|
1049
|
+
skill_id: string;
|
|
1050
|
+
/** Optional skill version. Use a positive integer or 'latest'. Omit for default. */
|
|
1051
|
+
version?: string;
|
|
1052
|
+
}
|
|
1053
|
+
export declare function skillReferenceParamSerializer(item: SkillReferenceParam): any;
|
|
1054
|
+
export declare function skillReferenceParamDeserializer(item: any): SkillReferenceParam;
|
|
1055
|
+
/** model interface InlineSkillParam */
|
|
1056
|
+
export interface InlineSkillParam extends ContainerSkill {
|
|
1057
|
+
/** Defines an inline skill for this request. */
|
|
1058
|
+
type: "inline";
|
|
1059
|
+
/** The name of the skill. */
|
|
1060
|
+
name: string;
|
|
1061
|
+
/** The description of the skill. */
|
|
1062
|
+
description: string;
|
|
1063
|
+
/** Inline skill payload */
|
|
1064
|
+
source: InlineSkillSourceParam;
|
|
1065
|
+
}
|
|
1066
|
+
export declare function inlineSkillParamSerializer(item: InlineSkillParam): any;
|
|
1067
|
+
export declare function inlineSkillParamDeserializer(item: any): InlineSkillParam;
|
|
1068
|
+
/** Inline skill payload */
|
|
1069
|
+
export interface InlineSkillSourceParam {
|
|
1070
|
+
/** The type of the inline skill source. Must be `base64`. */
|
|
1071
|
+
type: "base64";
|
|
1072
|
+
/** The media type of the inline skill payload. Must be `application/zip`. */
|
|
1073
|
+
media_type: "application/zip";
|
|
1074
|
+
/** Base64-encoded skill zip bundle. */
|
|
1075
|
+
data: string;
|
|
1076
|
+
}
|
|
1077
|
+
export declare function inlineSkillSourceParamSerializer(item: InlineSkillSourceParam): any;
|
|
1078
|
+
export declare function inlineSkillSourceParamDeserializer(item: any): InlineSkillSourceParam;
|
|
891
1079
|
/** A custom tool that processes input using a specified format. Learn more about [custom tools](https://platform.openai.com/docs/guides/function-calling#custom-tools) */
|
|
892
1080
|
export interface CustomToolParam extends Tool {
|
|
893
1081
|
/** The type of the custom tool. Always `custom`. */
|
|
@@ -903,6 +1091,7 @@ export declare function customToolParamSerializer(item: CustomToolParam): any;
|
|
|
903
1091
|
export declare function customToolParamDeserializer(item: any): CustomToolParam;
|
|
904
1092
|
/** The input format for the custom tool. Default is unconstrained text. */
|
|
905
1093
|
export interface CustomToolParamFormat {
|
|
1094
|
+
/** The custom tool parameter format type. */
|
|
906
1095
|
type: CustomToolParamFormatType;
|
|
907
1096
|
}
|
|
908
1097
|
export declare function customToolParamFormatSerializer(item: CustomToolParamFormat): any;
|
|
@@ -925,18 +1114,19 @@ export interface CustomGrammarFormatParam extends CustomToolParamFormat {
|
|
|
925
1114
|
/** Grammar format. Always `grammar`. */
|
|
926
1115
|
type: "grammar";
|
|
927
1116
|
/** The syntax of the grammar definition. One of `lark` or `regex`. */
|
|
928
|
-
syntax:
|
|
1117
|
+
syntax: GrammarSyntax;
|
|
929
1118
|
/** The grammar definition. */
|
|
930
1119
|
definition: string;
|
|
931
1120
|
}
|
|
932
1121
|
export declare function customGrammarFormatParamSerializer(item: CustomGrammarFormatParam): any;
|
|
933
1122
|
export declare function customGrammarFormatParamDeserializer(item: any): CustomGrammarFormatParam;
|
|
934
|
-
/** Type of
|
|
935
|
-
export type
|
|
1123
|
+
/** Type of GrammarSyntax */
|
|
1124
|
+
export type GrammarSyntax = "lark" | "regex";
|
|
936
1125
|
/** This tool searches the web for relevant results to use in a response. Learn more about the [web search tool](https://platform.openai.com/docs/guides/tools-web-search). */
|
|
937
1126
|
export interface WebSearchPreviewTool extends Tool {
|
|
938
1127
|
/** The type of the web search tool. One of `web_search_preview` or `web_search_preview_2025_03_11`. */
|
|
939
1128
|
type: "web_search_preview";
|
|
1129
|
+
/** The approximate location of the user for search relevance. */
|
|
940
1130
|
user_location?: ApproximateLocation;
|
|
941
1131
|
/** High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default. */
|
|
942
1132
|
search_context_size?: SearchContextSize;
|
|
@@ -947,9 +1137,13 @@ export declare function webSearchPreviewToolDeserializer(item: any): WebSearchPr
|
|
|
947
1137
|
export interface ApproximateLocation {
|
|
948
1138
|
/** The type of location approximation. Always `approximate`. */
|
|
949
1139
|
type: "approximate";
|
|
1140
|
+
/** The two-letter ISO country code. */
|
|
950
1141
|
country?: string;
|
|
1142
|
+
/** The region or state for the approximate location. */
|
|
951
1143
|
region?: string;
|
|
1144
|
+
/** The city for the approximate location. */
|
|
952
1145
|
city?: string;
|
|
1146
|
+
/** The IANA timezone identifier (e.g. 'America/New_York'). */
|
|
953
1147
|
timezone?: string;
|
|
954
1148
|
}
|
|
955
1149
|
export declare function approximateLocationSerializer(item: ApproximateLocation): any;
|
|
@@ -973,6 +1167,7 @@ export declare function _promptAgentDefinitionToolChoiceDeserializer(item: any):
|
|
|
973
1167
|
* the model can call.
|
|
974
1168
|
*/
|
|
975
1169
|
export interface ToolChoiceParam {
|
|
1170
|
+
/** The type discriminator for the tool choice. */
|
|
976
1171
|
type: ToolChoiceParamType;
|
|
977
1172
|
}
|
|
978
1173
|
export declare function toolChoiceParamSerializer(item: ToolChoiceParam): any;
|
|
@@ -1024,6 +1219,7 @@ export interface ToolChoiceMCP extends ToolChoiceParam {
|
|
|
1024
1219
|
type: "mcp";
|
|
1025
1220
|
/** The label of the MCP server to use. */
|
|
1026
1221
|
server_label: string;
|
|
1222
|
+
/** The name of the MCP server to use. */
|
|
1027
1223
|
name?: string;
|
|
1028
1224
|
}
|
|
1029
1225
|
export declare function toolChoiceMCPSerializer(item: ToolChoiceMCP): any;
|
|
@@ -1056,6 +1252,7 @@ export declare function specificFunctionShellParamDeserializer(item: any): Speci
|
|
|
1056
1252
|
* [Learn more about built-in tools](https://platform.openai.com/docs/guides/tools).
|
|
1057
1253
|
*/
|
|
1058
1254
|
export interface ToolChoiceFileSearch extends ToolChoiceParam {
|
|
1255
|
+
/** The type discriminator, always 'file_search'. */
|
|
1059
1256
|
type: "file_search";
|
|
1060
1257
|
}
|
|
1061
1258
|
export declare function toolChoiceFileSearchSerializer(item: ToolChoiceFileSearch): any;
|
|
@@ -1065,6 +1262,7 @@ export declare function toolChoiceFileSearchDeserializer(item: any): ToolChoiceF
|
|
|
1065
1262
|
* [Learn more about built-in tools](https://platform.openai.com/docs/guides/tools).
|
|
1066
1263
|
*/
|
|
1067
1264
|
export interface ToolChoiceWebSearchPreview extends ToolChoiceParam {
|
|
1265
|
+
/** The type discriminator, always 'web_search_preview'. */
|
|
1068
1266
|
type: "web_search_preview";
|
|
1069
1267
|
}
|
|
1070
1268
|
export declare function toolChoiceWebSearchPreviewSerializer(item: ToolChoiceWebSearchPreview): any;
|
|
@@ -1074,6 +1272,7 @@ export declare function toolChoiceWebSearchPreviewDeserializer(item: any): ToolC
|
|
|
1074
1272
|
* [Learn more about built-in tools](https://platform.openai.com/docs/guides/tools).
|
|
1075
1273
|
*/
|
|
1076
1274
|
export interface ToolChoiceComputerUsePreview extends ToolChoiceParam {
|
|
1275
|
+
/** The type discriminator, always 'computer_use_preview'. */
|
|
1077
1276
|
type: "computer_use_preview";
|
|
1078
1277
|
}
|
|
1079
1278
|
export declare function toolChoiceComputerUsePreviewSerializer(item: ToolChoiceComputerUsePreview): any;
|
|
@@ -1083,6 +1282,7 @@ export declare function toolChoiceComputerUsePreviewDeserializer(item: any): Too
|
|
|
1083
1282
|
* [Learn more about built-in tools](https://platform.openai.com/docs/guides/tools).
|
|
1084
1283
|
*/
|
|
1085
1284
|
export interface ToolChoiceWebSearchPreview20250311 extends ToolChoiceParam {
|
|
1285
|
+
/** The type discriminator, always 'web_search_preview_2025_03_11'. */
|
|
1086
1286
|
type: "web_search_preview_2025_03_11";
|
|
1087
1287
|
}
|
|
1088
1288
|
export declare function toolChoiceWebSearchPreview20250311Serializer(item: ToolChoiceWebSearchPreview20250311): any;
|
|
@@ -1092,6 +1292,7 @@ export declare function toolChoiceWebSearchPreview20250311Deserializer(item: any
|
|
|
1092
1292
|
* [Learn more about built-in tools](https://platform.openai.com/docs/guides/tools).
|
|
1093
1293
|
*/
|
|
1094
1294
|
export interface ToolChoiceImageGeneration extends ToolChoiceParam {
|
|
1295
|
+
/** The type discriminator, always 'image_generation'. */
|
|
1095
1296
|
type: "image_generation";
|
|
1096
1297
|
}
|
|
1097
1298
|
export declare function toolChoiceImageGenerationSerializer(item: ToolChoiceImageGeneration): any;
|
|
@@ -1101,12 +1302,14 @@ export declare function toolChoiceImageGenerationDeserializer(item: any): ToolCh
|
|
|
1101
1302
|
* [Learn more about built-in tools](https://platform.openai.com/docs/guides/tools).
|
|
1102
1303
|
*/
|
|
1103
1304
|
export interface ToolChoiceCodeInterpreter extends ToolChoiceParam {
|
|
1305
|
+
/** The type discriminator, always 'code_interpreter'. */
|
|
1104
1306
|
type: "code_interpreter";
|
|
1105
1307
|
}
|
|
1106
1308
|
export declare function toolChoiceCodeInterpreterSerializer(item: ToolChoiceCodeInterpreter): any;
|
|
1107
1309
|
export declare function toolChoiceCodeInterpreterDeserializer(item: any): ToolChoiceCodeInterpreter;
|
|
1108
1310
|
/** Configuration options for a text response from the model. Can be plain text or structured JSON data. */
|
|
1109
1311
|
export interface PromptAgentDefinitionTextOptions {
|
|
1312
|
+
/** The text format options for the prompt agent. */
|
|
1110
1313
|
format?: TextResponseFormatConfigurationUnion;
|
|
1111
1314
|
}
|
|
1112
1315
|
export declare function promptAgentDefinitionTextOptionsSerializer(item: PromptAgentDefinitionTextOptions): any;
|
|
@@ -1123,6 +1326,7 @@ export declare function promptAgentDefinitionTextOptionsDeserializer(item: any):
|
|
|
1123
1326
|
* is preferred for models that support it.
|
|
1124
1327
|
*/
|
|
1125
1328
|
export interface TextResponseFormatConfiguration {
|
|
1329
|
+
/** The type discriminator, always 'text'. */
|
|
1126
1330
|
type: TextResponseFormatConfigurationType;
|
|
1127
1331
|
}
|
|
1128
1332
|
export declare function textResponseFormatConfigurationSerializer(item: TextResponseFormatConfiguration): any;
|
|
@@ -1150,7 +1354,9 @@ export interface TextResponseFormatJsonSchema extends TextResponseFormatConfigur
|
|
|
1150
1354
|
* underscores and dashes, with a maximum length of 64.
|
|
1151
1355
|
*/
|
|
1152
1356
|
name: string;
|
|
1357
|
+
/** The JSON schema that the response must conform to. */
|
|
1153
1358
|
schema: Record<string, unknown>;
|
|
1359
|
+
/** Whether the response must strictly conform to the schema. */
|
|
1154
1360
|
strict?: boolean;
|
|
1155
1361
|
}
|
|
1156
1362
|
export declare function textResponseFormatJsonSchemaSerializer(item: TextResponseFormatJsonSchema): any;
|
|
@@ -1181,7 +1387,7 @@ export interface StructuredInputDefinition {
|
|
|
1181
1387
|
/** A human-readable description of the input. */
|
|
1182
1388
|
description?: string;
|
|
1183
1389
|
/** The default value for the input if no run-time value is provided. */
|
|
1184
|
-
default_value?:
|
|
1390
|
+
default_value?: unknown;
|
|
1185
1391
|
/** The JSON schema for the structured input (optional). */
|
|
1186
1392
|
schema?: Record<string, unknown>;
|
|
1187
1393
|
/** Whether the input property is required when the agent is invoked. */
|
|
@@ -1191,6 +1397,7 @@ export declare function structuredInputDefinitionSerializer(item: StructuredInpu
|
|
|
1191
1397
|
export declare function structuredInputDefinitionDeserializer(item: any): StructuredInputDefinition;
|
|
1192
1398
|
/** The workflow agent definition. */
|
|
1193
1399
|
export interface WorkflowAgentDefinition extends AgentDefinition {
|
|
1400
|
+
/** The kind discriminator, always 'workflow'. */
|
|
1194
1401
|
kind: "workflow";
|
|
1195
1402
|
/** The CSDL YAML definition of the workflow. */
|
|
1196
1403
|
workflow?: string;
|
|
@@ -1199,6 +1406,7 @@ export declare function workflowAgentDefinitionSerializer(item: WorkflowAgentDef
|
|
|
1199
1406
|
export declare function workflowAgentDefinitionDeserializer(item: any): WorkflowAgentDefinition;
|
|
1200
1407
|
/** The hosted agent definition. */
|
|
1201
1408
|
export interface HostedAgentDefinition extends AgentDefinition {
|
|
1409
|
+
/** The kind discriminator, always 'hosted'. */
|
|
1202
1410
|
kind: "hosted";
|
|
1203
1411
|
/**
|
|
1204
1412
|
* An array of tools the hosted agent's model may call while generating a response. You
|
|
@@ -1231,31 +1439,27 @@ export declare function protocolVersionRecordSerializer(item: ProtocolVersionRec
|
|
|
1231
1439
|
export declare function protocolVersionRecordDeserializer(item: any): ProtocolVersionRecord;
|
|
1232
1440
|
/** Type of AgentProtocol */
|
|
1233
1441
|
export type AgentProtocol = "activity_protocol" | "responses";
|
|
1234
|
-
/** The container app agent definition. */
|
|
1235
|
-
export interface ContainerAppAgentDefinition extends AgentDefinition {
|
|
1236
|
-
kind: "container_app";
|
|
1237
|
-
/** The protocols that the agent supports for ingress communication of the containers. */
|
|
1238
|
-
container_protocol_versions: ProtocolVersionRecord[];
|
|
1239
|
-
/** The resource ID of the Azure Container App that hosts this agent. Not mutable across versions. */
|
|
1240
|
-
container_app_resource_id: string;
|
|
1241
|
-
/** The suffix to apply to the app subdomain when sending ingress to the agent. This can be a label (e.g., '---current'), a specific revision (e.g., '--0000001'), or empty to use the default endpoint for the container app. */
|
|
1242
|
-
ingress_subdomain_suffix: string;
|
|
1243
|
-
}
|
|
1244
|
-
export declare function containerAppAgentDefinitionSerializer(item: ContainerAppAgentDefinition): any;
|
|
1245
|
-
export declare function containerAppAgentDefinitionDeserializer(item: any): ContainerAppAgentDefinition;
|
|
1246
1442
|
/** Error response for API failures. */
|
|
1247
1443
|
export interface ApiErrorResponse {
|
|
1444
|
+
/** The error details. */
|
|
1248
1445
|
error: ErrorModel;
|
|
1249
1446
|
}
|
|
1250
1447
|
export declare function apiErrorResponseDeserializer(item: any): ApiErrorResponse;
|
|
1251
1448
|
/** model interface ErrorModel */
|
|
1252
1449
|
export interface ErrorModel {
|
|
1450
|
+
/** The error code. */
|
|
1253
1451
|
code: string;
|
|
1452
|
+
/** The error message. */
|
|
1254
1453
|
message: string;
|
|
1454
|
+
/** The parameter that caused the error. */
|
|
1255
1455
|
param?: string;
|
|
1456
|
+
/** The error type. */
|
|
1256
1457
|
type?: string;
|
|
1458
|
+
/** The error details. */
|
|
1257
1459
|
details?: ErrorModel[];
|
|
1460
|
+
/** Additional information about the error. */
|
|
1258
1461
|
additionalInfo?: Record<string, unknown>;
|
|
1462
|
+
/** Debug information for the error. */
|
|
1259
1463
|
debugInfo?: Record<string, unknown>;
|
|
1260
1464
|
}
|
|
1261
1465
|
export declare function errorDeserializer(item: any): ErrorModel;
|
|
@@ -1345,6 +1549,7 @@ export declare function evaluationRuleActionUnionDeserializer(item: any): Evalua
|
|
|
1345
1549
|
export type EvaluationRuleActionType = "continuousEvaluation" | "humanEvaluationPreview";
|
|
1346
1550
|
/** Evaluation rule action for continuous evaluation. */
|
|
1347
1551
|
export interface ContinuousEvaluationRuleAction extends EvaluationRuleAction {
|
|
1552
|
+
/** The type discriminator, always 'continuous_evaluation'. */
|
|
1348
1553
|
type: "continuousEvaluation";
|
|
1349
1554
|
/** Eval Id to add continuous evaluation runs to. */
|
|
1350
1555
|
evalId: string;
|
|
@@ -1355,6 +1560,7 @@ export declare function continuousEvaluationRuleActionSerializer(item: Continuou
|
|
|
1355
1560
|
export declare function continuousEvaluationRuleActionDeserializer(item: any): ContinuousEvaluationRuleAction;
|
|
1356
1561
|
/** Evaluation rule action for human evaluation. */
|
|
1357
1562
|
export interface HumanEvaluationPreviewRuleAction extends EvaluationRuleAction {
|
|
1563
|
+
/** The type discriminator, always 'human_evaluation_preview'. */
|
|
1358
1564
|
type: "humanEvaluationPreview";
|
|
1359
1565
|
/** Human evaluation template Id. */
|
|
1360
1566
|
templateId: string;
|
|
@@ -1959,6 +2165,7 @@ export type EvaluatorMetricType = "ordinal" | "continuous" | "boolean";
|
|
|
1959
2165
|
export type EvaluatorMetricDirection = "increase" | "decrease" | "neutral";
|
|
1960
2166
|
/** Code-based evaluator definition using python code */
|
|
1961
2167
|
export interface CodeBasedEvaluatorDefinition extends EvaluatorDefinition {
|
|
2168
|
+
/** The type discriminator, always 'code_based'. */
|
|
1962
2169
|
type: "code";
|
|
1963
2170
|
/** Inline code text for the evaluator */
|
|
1964
2171
|
code_text: string;
|
|
@@ -1967,6 +2174,7 @@ export declare function codeBasedEvaluatorDefinitionSerializer(item: CodeBasedEv
|
|
|
1967
2174
|
export declare function codeBasedEvaluatorDefinitionDeserializer(item: any): CodeBasedEvaluatorDefinition;
|
|
1968
2175
|
/** Prompt-based evaluator */
|
|
1969
2176
|
export interface PromptBasedEvaluatorDefinition extends EvaluatorDefinition {
|
|
2177
|
+
/** The type discriminator, always 'prompt_based'. */
|
|
1970
2178
|
type: "prompt";
|
|
1971
2179
|
/** The prompt text used for evaluation */
|
|
1972
2180
|
prompt_text: string;
|
|
@@ -2126,6 +2334,7 @@ export type TreatmentEffectType = "TooFewSamples" | "Inconclusive" | "Changed" |
|
|
|
2126
2334
|
export interface EvaluationRunClusterInsightResult extends InsightResult {
|
|
2127
2335
|
/** The type of insights result. */
|
|
2128
2336
|
type: "EvaluationRunClusterInsight";
|
|
2337
|
+
/** The cluster insight details. */
|
|
2129
2338
|
clusterInsight: ClusterInsightResult;
|
|
2130
2339
|
}
|
|
2131
2340
|
export declare function evaluationRunClusterInsightResultDeserializer(item: any): EvaluationRunClusterInsightResult;
|
|
@@ -2257,6 +2466,7 @@ export declare function chartCoordinateDeserializer(item: any): ChartCoordinate;
|
|
|
2257
2466
|
export interface AgentClusterInsightResult extends InsightResult {
|
|
2258
2467
|
/** The type of insights result. */
|
|
2259
2468
|
type: "AgentClusterInsight";
|
|
2469
|
+
/** The cluster insight details. */
|
|
2260
2470
|
clusterInsight: ClusterInsightResult;
|
|
2261
2471
|
}
|
|
2262
2472
|
export declare function agentClusterInsightResultDeserializer(item: any): AgentClusterInsightResult;
|
|
@@ -2351,1010 +2561,6 @@ export interface DeleteMemoryStoreResponse {
|
|
|
2351
2561
|
deleted: boolean;
|
|
2352
2562
|
}
|
|
2353
2563
|
export declare function deleteMemoryStoreResponseDeserializer(item: any): DeleteMemoryStoreResponse;
|
|
2354
|
-
/**
|
|
2355
|
-
* An item representing part of the context for the response to be
|
|
2356
|
-
* generated by the model. Can contain text, images, and audio inputs,
|
|
2357
|
-
* as well as previous assistant responses and tool call outputs.
|
|
2358
|
-
*/
|
|
2359
|
-
export interface InputItem {
|
|
2360
|
-
type: InputItemType;
|
|
2361
|
-
}
|
|
2362
|
-
export declare function inputItemSerializer(item: InputItem): any;
|
|
2363
|
-
/** Alias for InputItemUnion */
|
|
2364
|
-
export type InputItemUnion = EasyInputMessage | ItemReferenceParam | InputItemOutputMessage | InputItemFileSearchToolCall | InputItemComputerToolCall | InputItemComputerCallOutputItemParam | InputItemWebSearchToolCall | InputItemFunctionToolCall | InputItemFunctionCallOutputItemParam | InputItemReasoningItem | InputItemCompactionSummaryItemParam | InputItemImageGenToolCall | InputItemCodeInterpreterToolCall | InputItemLocalShellToolCall | InputItemLocalShellToolCallOutput | InputItemFunctionShellCallItemParam | InputItemFunctionShellCallOutputItemParam | InputItemApplyPatchToolCallItemParam | InputItemApplyPatchToolCallOutputItemParam | InputItemMcpListTools | InputItemMcpApprovalRequest | InputItemMcpApprovalResponse | InputItemMcpToolCall | InputItemCustomToolCallOutput | InputItemCustomToolCall | InputItem;
|
|
2365
|
-
export declare function inputItemUnionSerializer(item: InputItemUnion): any;
|
|
2366
|
-
/** Type of InputItemType */
|
|
2367
|
-
export type InputItemType = "message" | "output_message" | "file_search_call" | "computer_call" | "computer_call_output" | "web_search_call" | "function_call" | "function_call_output" | "reasoning" | "compaction" | "image_generation_call" | "code_interpreter_call" | "local_shell_call" | "local_shell_call_output" | "shell_call" | "shell_call_output" | "apply_patch_call" | "apply_patch_call_output" | "mcp_list_tools" | "mcp_approval_request" | "mcp_approval_response" | "mcp_call" | "custom_tool_call_output" | "custom_tool_call" | "item_reference";
|
|
2368
|
-
/**
|
|
2369
|
-
* A message input to the model with a role indicating instruction following
|
|
2370
|
-
* hierarchy. Instructions given with the `developer` or `system` role take
|
|
2371
|
-
* precedence over instructions given with the `user` role. Messages with the
|
|
2372
|
-
* `assistant` role are presumed to have been generated by the model in previous
|
|
2373
|
-
* interactions.
|
|
2374
|
-
*/
|
|
2375
|
-
export interface EasyInputMessage extends InputItem {
|
|
2376
|
-
/**
|
|
2377
|
-
* The role of the message input. One of `user`, `assistant`, `system`, or
|
|
2378
|
-
* `developer`.
|
|
2379
|
-
*/
|
|
2380
|
-
role: "user" | "assistant" | "system" | "developer";
|
|
2381
|
-
/**
|
|
2382
|
-
* Text, image, or audio input to the model, used to generate a response.
|
|
2383
|
-
* Can also contain previous assistant responses.
|
|
2384
|
-
*/
|
|
2385
|
-
content: string | InputContentUnion[];
|
|
2386
|
-
/** The type of the message input. Always `message`. */
|
|
2387
|
-
type: "message";
|
|
2388
|
-
/**
|
|
2389
|
-
* The status of item. One of `in_progress`, `completed`, or
|
|
2390
|
-
* `incomplete`. Populated when items are returned via API.
|
|
2391
|
-
*/
|
|
2392
|
-
status?: "in_progress" | "completed" | "incomplete";
|
|
2393
|
-
}
|
|
2394
|
-
export declare function easyInputMessageSerializer(item: EasyInputMessage): any;
|
|
2395
|
-
/** Alias for _EasyInputMessageContent */
|
|
2396
|
-
export type _EasyInputMessageContent = string | InputContentUnion[];
|
|
2397
|
-
export declare function _easyInputMessageContentSerializer(item: _EasyInputMessageContent): any;
|
|
2398
|
-
export declare function inputContentUnionArraySerializer(result: Array<InputContentUnion>): any[];
|
|
2399
|
-
/** model interface InputContent */
|
|
2400
|
-
export interface InputContent {
|
|
2401
|
-
type: InputContentType;
|
|
2402
|
-
}
|
|
2403
|
-
export declare function inputContentSerializer(item: InputContent): any;
|
|
2404
|
-
/** Alias for InputContentUnion */
|
|
2405
|
-
export type InputContentUnion = InputContentInputTextContent | InputContentInputImageContent | InputContentInputFileContent | InputContent;
|
|
2406
|
-
export declare function inputContentUnionSerializer(item: InputContentUnion): any;
|
|
2407
|
-
/** Type of InputContentType */
|
|
2408
|
-
export type InputContentType = "input_text" | "input_image" | "input_file";
|
|
2409
|
-
/** A text input to the model. */
|
|
2410
|
-
export interface InputContentInputTextContent extends InputContent {
|
|
2411
|
-
/** The type of the input item. Always `input_text`. */
|
|
2412
|
-
type: "input_text";
|
|
2413
|
-
/** The text input to the model. */
|
|
2414
|
-
text: string;
|
|
2415
|
-
}
|
|
2416
|
-
export declare function inputContentInputTextContentSerializer(item: InputContentInputTextContent): any;
|
|
2417
|
-
/** An image input to the model. Learn about [image inputs](https://platform.openai.com/docs/guides/vision). */
|
|
2418
|
-
export interface InputContentInputImageContent extends InputContent {
|
|
2419
|
-
/** The type of the input item. Always `input_image`. */
|
|
2420
|
-
type: "input_image";
|
|
2421
|
-
image_url?: string;
|
|
2422
|
-
file_id?: string;
|
|
2423
|
-
/** The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`. */
|
|
2424
|
-
detail: ImageDetail;
|
|
2425
|
-
}
|
|
2426
|
-
export declare function inputContentInputImageContentSerializer(item: InputContentInputImageContent): any;
|
|
2427
|
-
/** Type of ImageDetail */
|
|
2428
|
-
export type ImageDetail = "low" | "high" | "auto";
|
|
2429
|
-
/** A file input to the model. */
|
|
2430
|
-
export interface InputContentInputFileContent extends InputContent {
|
|
2431
|
-
/** The type of the input item. Always `input_file`. */
|
|
2432
|
-
type: "input_file";
|
|
2433
|
-
file_id?: string;
|
|
2434
|
-
/** The name of the file to be sent to the model. */
|
|
2435
|
-
filename?: string;
|
|
2436
|
-
/** The URL of the file to be sent to the model. */
|
|
2437
|
-
file_url?: string;
|
|
2438
|
-
/** The content of the file to be sent to the model. */
|
|
2439
|
-
file_data?: string;
|
|
2440
|
-
}
|
|
2441
|
-
export declare function inputContentInputFileContentSerializer(item: InputContentInputFileContent): any;
|
|
2442
|
-
/** An internal identifier for an item to reference. */
|
|
2443
|
-
export interface ItemReferenceParam extends InputItem {
|
|
2444
|
-
/** The type of item to reference. Always `item_reference`. */
|
|
2445
|
-
type: "item_reference";
|
|
2446
|
-
/** The ID of the item to reference. */
|
|
2447
|
-
id: string;
|
|
2448
|
-
}
|
|
2449
|
-
export declare function itemReferenceParamSerializer(item: ItemReferenceParam): any;
|
|
2450
|
-
/** An output message from the model. */
|
|
2451
|
-
export interface InputItemOutputMessage extends InputItem {
|
|
2452
|
-
/** The unique ID of the output message. */
|
|
2453
|
-
id: string;
|
|
2454
|
-
/** The type of the output message. Always `message`. */
|
|
2455
|
-
type: "output_message";
|
|
2456
|
-
/** The role of the output message. Always `assistant`. */
|
|
2457
|
-
role: "assistant";
|
|
2458
|
-
/** The content of the output message. */
|
|
2459
|
-
content: OutputMessageContentUnion[];
|
|
2460
|
-
/**
|
|
2461
|
-
* The status of the message input. One of `in_progress`, `completed`, or
|
|
2462
|
-
* `incomplete`. Populated when input items are returned via API.
|
|
2463
|
-
*/
|
|
2464
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
2465
|
-
}
|
|
2466
|
-
export declare function inputItemOutputMessageSerializer(item: InputItemOutputMessage): any;
|
|
2467
|
-
export declare function outputMessageContentUnionArraySerializer(result: Array<OutputMessageContentUnion>): any[];
|
|
2468
|
-
/** model interface OutputMessageContent */
|
|
2469
|
-
export interface OutputMessageContent {
|
|
2470
|
-
type: OutputMessageContentType;
|
|
2471
|
-
}
|
|
2472
|
-
export declare function outputMessageContentSerializer(item: OutputMessageContent): any;
|
|
2473
|
-
/** Alias for OutputMessageContentUnion */
|
|
2474
|
-
export type OutputMessageContentUnion = OutputMessageContentOutputTextContent | OutputMessageContentRefusalContent | OutputMessageContent;
|
|
2475
|
-
export declare function outputMessageContentUnionSerializer(item: OutputMessageContentUnion): any;
|
|
2476
|
-
/** Type of OutputMessageContentType */
|
|
2477
|
-
export type OutputMessageContentType = "output_text" | "refusal";
|
|
2478
|
-
/** A text output from the model. */
|
|
2479
|
-
export interface OutputMessageContentOutputTextContent extends OutputMessageContent {
|
|
2480
|
-
/** The type of the output text. Always `output_text`. */
|
|
2481
|
-
type: "output_text";
|
|
2482
|
-
/** The text output from the model. */
|
|
2483
|
-
text: string;
|
|
2484
|
-
/** The annotations of the text output. */
|
|
2485
|
-
annotations: AnnotationUnion[];
|
|
2486
|
-
logprobs?: LogProb[];
|
|
2487
|
-
}
|
|
2488
|
-
export declare function outputMessageContentOutputTextContentSerializer(item: OutputMessageContentOutputTextContent): any;
|
|
2489
|
-
export declare function annotationUnionArraySerializer(result: Array<AnnotationUnion>): any[];
|
|
2490
|
-
/** An annotation that applies to a span of output text. */
|
|
2491
|
-
export interface Annotation {
|
|
2492
|
-
type: AnnotationType;
|
|
2493
|
-
}
|
|
2494
|
-
export declare function annotationSerializer(item: Annotation): any;
|
|
2495
|
-
/** Alias for AnnotationUnion */
|
|
2496
|
-
export type AnnotationUnion = FileCitationBody | UrlCitationBody | ContainerFileCitationBody | FilePath | Annotation;
|
|
2497
|
-
export declare function annotationUnionSerializer(item: AnnotationUnion): any;
|
|
2498
|
-
/** Type of AnnotationType */
|
|
2499
|
-
export type AnnotationType = "file_citation" | "url_citation" | "container_file_citation" | "file_path";
|
|
2500
|
-
/** A citation to a file. */
|
|
2501
|
-
export interface FileCitationBody extends Annotation {
|
|
2502
|
-
/** The type of the file citation. Always `file_citation`. */
|
|
2503
|
-
type: "file_citation";
|
|
2504
|
-
/** The ID of the file. */
|
|
2505
|
-
file_id: string;
|
|
2506
|
-
/** The index of the file in the list of files. */
|
|
2507
|
-
index: number;
|
|
2508
|
-
/** The filename of the file cited. */
|
|
2509
|
-
filename: string;
|
|
2510
|
-
}
|
|
2511
|
-
export declare function fileCitationBodySerializer(item: FileCitationBody): any;
|
|
2512
|
-
/** A citation for a web resource used to generate a model response. */
|
|
2513
|
-
export interface UrlCitationBody extends Annotation {
|
|
2514
|
-
/** The type of the URL citation. Always `url_citation`. */
|
|
2515
|
-
type: "url_citation";
|
|
2516
|
-
/** The URL of the web resource. */
|
|
2517
|
-
url: string;
|
|
2518
|
-
/** The index of the first character of the URL citation in the message. */
|
|
2519
|
-
start_index: number;
|
|
2520
|
-
/** The index of the last character of the URL citation in the message. */
|
|
2521
|
-
end_index: number;
|
|
2522
|
-
/** The title of the web resource. */
|
|
2523
|
-
title: string;
|
|
2524
|
-
}
|
|
2525
|
-
export declare function urlCitationBodySerializer(item: UrlCitationBody): any;
|
|
2526
|
-
/** A citation for a container file used to generate a model response. */
|
|
2527
|
-
export interface ContainerFileCitationBody extends Annotation {
|
|
2528
|
-
/** The type of the container file citation. Always `container_file_citation`. */
|
|
2529
|
-
type: "container_file_citation";
|
|
2530
|
-
/** The ID of the container file. */
|
|
2531
|
-
container_id: string;
|
|
2532
|
-
/** The ID of the file. */
|
|
2533
|
-
file_id: string;
|
|
2534
|
-
/** The index of the first character of the container file citation in the message. */
|
|
2535
|
-
start_index: number;
|
|
2536
|
-
/** The index of the last character of the container file citation in the message. */
|
|
2537
|
-
end_index: number;
|
|
2538
|
-
/** The filename of the container file cited. */
|
|
2539
|
-
filename: string;
|
|
2540
|
-
}
|
|
2541
|
-
export declare function containerFileCitationBodySerializer(item: ContainerFileCitationBody): any;
|
|
2542
|
-
/** A path to a file. */
|
|
2543
|
-
export interface FilePath extends Annotation {
|
|
2544
|
-
/** The type of the file path. Always `file_path`. */
|
|
2545
|
-
type: "file_path";
|
|
2546
|
-
/** The ID of the file. */
|
|
2547
|
-
file_id: string;
|
|
2548
|
-
/** The index of the file in the list of files. */
|
|
2549
|
-
index: number;
|
|
2550
|
-
}
|
|
2551
|
-
export declare function filePathSerializer(item: FilePath): any;
|
|
2552
|
-
export declare function logProbArraySerializer(result: Array<LogProb>): any[];
|
|
2553
|
-
/** The log probability of a token. */
|
|
2554
|
-
export interface LogProb {
|
|
2555
|
-
token: string;
|
|
2556
|
-
logprob: number;
|
|
2557
|
-
bytes: number[];
|
|
2558
|
-
top_logprobs: TopLogProb[];
|
|
2559
|
-
}
|
|
2560
|
-
export declare function logProbSerializer(item: LogProb): any;
|
|
2561
|
-
export declare function topLogProbArraySerializer(result: Array<TopLogProb>): any[];
|
|
2562
|
-
/** The top log probability of a token. */
|
|
2563
|
-
export interface TopLogProb {
|
|
2564
|
-
token: string;
|
|
2565
|
-
logprob: number;
|
|
2566
|
-
bytes: number[];
|
|
2567
|
-
}
|
|
2568
|
-
export declare function topLogProbSerializer(item: TopLogProb): any;
|
|
2569
|
-
/** A refusal from the model. */
|
|
2570
|
-
export interface OutputMessageContentRefusalContent extends OutputMessageContent {
|
|
2571
|
-
/** The type of the refusal. Always `refusal`. */
|
|
2572
|
-
type: "refusal";
|
|
2573
|
-
/** The refusal explanation from the model. */
|
|
2574
|
-
refusal: string;
|
|
2575
|
-
}
|
|
2576
|
-
export declare function outputMessageContentRefusalContentSerializer(item: OutputMessageContentRefusalContent): any;
|
|
2577
|
-
/**
|
|
2578
|
-
* The results of a file search tool call. See the
|
|
2579
|
-
* [file search guide](https://platform.openai.com/docs/guides/tools-file-search) for more information.
|
|
2580
|
-
*/
|
|
2581
|
-
export interface InputItemFileSearchToolCall extends InputItem {
|
|
2582
|
-
/** The unique ID of the file search tool call. */
|
|
2583
|
-
id: string;
|
|
2584
|
-
/** The type of the file search tool call. Always `file_search_call`. */
|
|
2585
|
-
type: "file_search_call";
|
|
2586
|
-
/**
|
|
2587
|
-
* The status of the file search tool call. One of `in_progress`,
|
|
2588
|
-
* `searching`, `incomplete` or `failed`,
|
|
2589
|
-
*/
|
|
2590
|
-
status: "in_progress" | "searching" | "completed" | "incomplete" | "failed";
|
|
2591
|
-
/** The queries used to search for files. */
|
|
2592
|
-
queries: string[];
|
|
2593
|
-
results?: FileSearchToolCallResults[];
|
|
2594
|
-
}
|
|
2595
|
-
export declare function inputItemFileSearchToolCallSerializer(item: InputItemFileSearchToolCall): any;
|
|
2596
|
-
export declare function fileSearchToolCallResultsArraySerializer(result: Array<FileSearchToolCallResults>): any[];
|
|
2597
|
-
/** model interface FileSearchToolCallResults */
|
|
2598
|
-
export interface FileSearchToolCallResults {
|
|
2599
|
-
file_id?: string;
|
|
2600
|
-
text?: string;
|
|
2601
|
-
filename?: string;
|
|
2602
|
-
attributes?: VectorStoreFileAttributes;
|
|
2603
|
-
score?: number;
|
|
2604
|
-
}
|
|
2605
|
-
export declare function fileSearchToolCallResultsSerializer(item: FileSearchToolCallResults): any;
|
|
2606
|
-
/**
|
|
2607
|
-
* Set of 16 key-value pairs that can be attached to an object. This can be
|
|
2608
|
-
* useful for storing additional information about the object in a structured
|
|
2609
|
-
* format, and querying for objects via API or the dashboard. Keys are strings
|
|
2610
|
-
* with a maximum length of 64 characters. Values are strings with a maximum
|
|
2611
|
-
* length of 512 characters, booleans, or numbers.
|
|
2612
|
-
*/
|
|
2613
|
-
export interface VectorStoreFileAttributes {
|
|
2614
|
-
/** Additional properties */
|
|
2615
|
-
additionalProperties?: Record<string, string | number | boolean>;
|
|
2616
|
-
}
|
|
2617
|
-
export declare function vectorStoreFileAttributesSerializer(item: VectorStoreFileAttributes): any;
|
|
2618
|
-
/** Alias for _VectorStoreFileAttributesAdditionalProperty */
|
|
2619
|
-
export type _VectorStoreFileAttributesAdditionalProperty = string | number | boolean;
|
|
2620
|
-
export declare function _vectorStoreFileAttributesAdditionalPropertySerializer(item: _VectorStoreFileAttributesAdditionalProperty): any;
|
|
2621
|
-
/**
|
|
2622
|
-
* A tool call to a computer use tool. See the
|
|
2623
|
-
* [computer use guide](https://platform.openai.com/docs/guides/tools-computer-use) for more information.
|
|
2624
|
-
*/
|
|
2625
|
-
export interface InputItemComputerToolCall extends InputItem {
|
|
2626
|
-
/** The type of the computer call. Always `computer_call`. */
|
|
2627
|
-
type: "computer_call";
|
|
2628
|
-
/** The unique ID of the computer call. */
|
|
2629
|
-
id: string;
|
|
2630
|
-
/** An identifier used when responding to the tool call with output. */
|
|
2631
|
-
call_id: string;
|
|
2632
|
-
action: ComputerActionUnion;
|
|
2633
|
-
/** The pending safety checks for the computer call. */
|
|
2634
|
-
pending_safety_checks: ComputerCallSafetyCheckParam[];
|
|
2635
|
-
/**
|
|
2636
|
-
* The status of the item. One of `in_progress`, `completed`, or
|
|
2637
|
-
* `incomplete`. Populated when items are returned via API.
|
|
2638
|
-
*/
|
|
2639
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
2640
|
-
}
|
|
2641
|
-
export declare function inputItemComputerToolCallSerializer(item: InputItemComputerToolCall): any;
|
|
2642
|
-
/** model interface ComputerAction */
|
|
2643
|
-
export interface ComputerAction {
|
|
2644
|
-
type: ComputerActionType;
|
|
2645
|
-
}
|
|
2646
|
-
export declare function computerActionSerializer(item: ComputerAction): any;
|
|
2647
|
-
/** Alias for ComputerActionUnion */
|
|
2648
|
-
export type ComputerActionUnion = ClickParam | DoubleClickAction | Drag | KeyPressAction | Move | Screenshot | Scroll | Type | Wait | ComputerAction;
|
|
2649
|
-
export declare function computerActionUnionSerializer(item: ComputerActionUnion): any;
|
|
2650
|
-
/** Type of ComputerActionType */
|
|
2651
|
-
export type ComputerActionType = "click" | "double_click" | "drag" | "keypress" | "move" | "screenshot" | "scroll" | "type" | "wait";
|
|
2652
|
-
/** A click action. */
|
|
2653
|
-
export interface ClickParam extends ComputerAction {
|
|
2654
|
-
/** Specifies the event type. For a click action, this property is always `click`. */
|
|
2655
|
-
type: "click";
|
|
2656
|
-
/** Indicates which mouse button was pressed during the click. One of `left`, `right`, `wheel`, `back`, or `forward`. */
|
|
2657
|
-
button: ClickButtonType;
|
|
2658
|
-
/** The x-coordinate where the click occurred. */
|
|
2659
|
-
x: number;
|
|
2660
|
-
/** The y-coordinate where the click occurred. */
|
|
2661
|
-
y: number;
|
|
2662
|
-
}
|
|
2663
|
-
export declare function clickParamSerializer(item: ClickParam): any;
|
|
2664
|
-
/** Type of ClickButtonType */
|
|
2665
|
-
export type ClickButtonType = "left" | "right" | "wheel" | "back" | "forward";
|
|
2666
|
-
/** A double click action. */
|
|
2667
|
-
export interface DoubleClickAction extends ComputerAction {
|
|
2668
|
-
/** Specifies the event type. For a double click action, this property is always set to `double_click`. */
|
|
2669
|
-
type: "double_click";
|
|
2670
|
-
/** The x-coordinate where the double click occurred. */
|
|
2671
|
-
x: number;
|
|
2672
|
-
/** The y-coordinate where the double click occurred. */
|
|
2673
|
-
y: number;
|
|
2674
|
-
}
|
|
2675
|
-
export declare function doubleClickActionSerializer(item: DoubleClickAction): any;
|
|
2676
|
-
/** A drag action. */
|
|
2677
|
-
export interface Drag extends ComputerAction {
|
|
2678
|
-
/**
|
|
2679
|
-
* Specifies the event type. For a drag action, this property is
|
|
2680
|
-
* always set to `drag`.
|
|
2681
|
-
*/
|
|
2682
|
-
type: "drag";
|
|
2683
|
-
/**
|
|
2684
|
-
* An array of coordinates representing the path of the drag action. Coordinates will appear as an array
|
|
2685
|
-
* of objects, eg
|
|
2686
|
-
* ```
|
|
2687
|
-
* [
|
|
2688
|
-
* { x: 100, y: 200 },
|
|
2689
|
-
* { x: 200, y: 300 }
|
|
2690
|
-
* ]
|
|
2691
|
-
* ```
|
|
2692
|
-
*/
|
|
2693
|
-
path: DragPoint[];
|
|
2694
|
-
}
|
|
2695
|
-
export declare function dragSerializer(item: Drag): any;
|
|
2696
|
-
export declare function dragPointArraySerializer(result: Array<DragPoint>): any[];
|
|
2697
|
-
/** An x/y coordinate pair, e.g. `{ x: 100, y: 200 }`. */
|
|
2698
|
-
export interface DragPoint {
|
|
2699
|
-
/** The x-coordinate. */
|
|
2700
|
-
x: number;
|
|
2701
|
-
/** The y-coordinate. */
|
|
2702
|
-
y: number;
|
|
2703
|
-
}
|
|
2704
|
-
export declare function dragPointSerializer(item: DragPoint): any;
|
|
2705
|
-
/** A collection of keypresses the model would like to perform. */
|
|
2706
|
-
export interface KeyPressAction extends ComputerAction {
|
|
2707
|
-
/** Specifies the event type. For a keypress action, this property is always set to `keypress`. */
|
|
2708
|
-
type: "keypress";
|
|
2709
|
-
/** The combination of keys the model is requesting to be pressed. This is an array of strings, each representing a key. */
|
|
2710
|
-
keys: string[];
|
|
2711
|
-
}
|
|
2712
|
-
export declare function keyPressActionSerializer(item: KeyPressAction): any;
|
|
2713
|
-
/** A mouse move action. */
|
|
2714
|
-
export interface Move extends ComputerAction {
|
|
2715
|
-
/**
|
|
2716
|
-
* Specifies the event type. For a move action, this property is
|
|
2717
|
-
* always set to `move`.
|
|
2718
|
-
*/
|
|
2719
|
-
type: "move";
|
|
2720
|
-
/** The x-coordinate to move to. */
|
|
2721
|
-
x: number;
|
|
2722
|
-
/** The y-coordinate to move to. */
|
|
2723
|
-
y: number;
|
|
2724
|
-
}
|
|
2725
|
-
export declare function moveSerializer(item: Move): any;
|
|
2726
|
-
/** A screenshot action. */
|
|
2727
|
-
export interface Screenshot extends ComputerAction {
|
|
2728
|
-
/**
|
|
2729
|
-
* Specifies the event type. For a screenshot action, this property is
|
|
2730
|
-
* always set to `screenshot`.
|
|
2731
|
-
*/
|
|
2732
|
-
type: "screenshot";
|
|
2733
|
-
}
|
|
2734
|
-
export declare function screenshotSerializer(item: Screenshot): any;
|
|
2735
|
-
/** A scroll action. */
|
|
2736
|
-
export interface Scroll extends ComputerAction {
|
|
2737
|
-
/**
|
|
2738
|
-
* Specifies the event type. For a scroll action, this property is
|
|
2739
|
-
* always set to `scroll`.
|
|
2740
|
-
*/
|
|
2741
|
-
type: "scroll";
|
|
2742
|
-
/** The x-coordinate where the scroll occurred. */
|
|
2743
|
-
x: number;
|
|
2744
|
-
/** The y-coordinate where the scroll occurred. */
|
|
2745
|
-
y: number;
|
|
2746
|
-
/** The horizontal scroll distance. */
|
|
2747
|
-
scroll_x: number;
|
|
2748
|
-
/** The vertical scroll distance. */
|
|
2749
|
-
scroll_y: number;
|
|
2750
|
-
}
|
|
2751
|
-
export declare function scrollSerializer(item: Scroll): any;
|
|
2752
|
-
/** An action to type in text. */
|
|
2753
|
-
export interface Type extends ComputerAction {
|
|
2754
|
-
/**
|
|
2755
|
-
* Specifies the event type. For a type action, this property is
|
|
2756
|
-
* always set to `type`.
|
|
2757
|
-
*/
|
|
2758
|
-
type: "type";
|
|
2759
|
-
/** The text to type. */
|
|
2760
|
-
text: string;
|
|
2761
|
-
}
|
|
2762
|
-
export declare function typeSerializer(item: Type): any;
|
|
2763
|
-
/** A wait action. */
|
|
2764
|
-
export interface Wait extends ComputerAction {
|
|
2765
|
-
/**
|
|
2766
|
-
* Specifies the event type. For a wait action, this property is
|
|
2767
|
-
* always set to `wait`.
|
|
2768
|
-
*/
|
|
2769
|
-
type: "wait";
|
|
2770
|
-
}
|
|
2771
|
-
export declare function waitSerializer(item: Wait): any;
|
|
2772
|
-
export declare function computerCallSafetyCheckParamArraySerializer(result: Array<ComputerCallSafetyCheckParam>): any[];
|
|
2773
|
-
/** A pending safety check for the computer call. */
|
|
2774
|
-
export interface ComputerCallSafetyCheckParam {
|
|
2775
|
-
/** The ID of the pending safety check. */
|
|
2776
|
-
id: string;
|
|
2777
|
-
code?: string;
|
|
2778
|
-
message?: string;
|
|
2779
|
-
}
|
|
2780
|
-
export declare function computerCallSafetyCheckParamSerializer(item: ComputerCallSafetyCheckParam): any;
|
|
2781
|
-
/** The output of a computer tool call. */
|
|
2782
|
-
export interface InputItemComputerCallOutputItemParam extends InputItem {
|
|
2783
|
-
id?: string;
|
|
2784
|
-
/** The ID of the computer tool call that produced the output. */
|
|
2785
|
-
call_id: string;
|
|
2786
|
-
/** The type of the computer tool call output. Always `computer_call_output`. */
|
|
2787
|
-
type: "computer_call_output";
|
|
2788
|
-
output: ComputerScreenshotImage;
|
|
2789
|
-
acknowledged_safety_checks?: ComputerCallSafetyCheckParam[];
|
|
2790
|
-
status?: FunctionCallItemStatus;
|
|
2791
|
-
}
|
|
2792
|
-
export declare function inputItemComputerCallOutputItemParamSerializer(item: InputItemComputerCallOutputItemParam): any;
|
|
2793
|
-
/** A computer screenshot image used with the computer use tool. */
|
|
2794
|
-
export interface ComputerScreenshotImage {
|
|
2795
|
-
/**
|
|
2796
|
-
* Specifies the event type. For a computer screenshot, this property is
|
|
2797
|
-
* always set to `computer_screenshot`.
|
|
2798
|
-
*/
|
|
2799
|
-
type: "computer_screenshot";
|
|
2800
|
-
/** The URL of the screenshot image. */
|
|
2801
|
-
image_url?: string;
|
|
2802
|
-
/** The identifier of an uploaded file that contains the screenshot. */
|
|
2803
|
-
file_id?: string;
|
|
2804
|
-
}
|
|
2805
|
-
export declare function computerScreenshotImageSerializer(item: ComputerScreenshotImage): any;
|
|
2806
|
-
/** Type of FunctionCallItemStatus */
|
|
2807
|
-
export type FunctionCallItemStatus = "in_progress" | "completed" | "incomplete";
|
|
2808
|
-
/**
|
|
2809
|
-
* The results of a web search tool call. See the
|
|
2810
|
-
* [web search guide](https://platform.openai.com/docs/guides/tools-web-search) for more information.
|
|
2811
|
-
*/
|
|
2812
|
-
export interface InputItemWebSearchToolCall extends InputItem {
|
|
2813
|
-
/** The unique ID of the web search tool call. */
|
|
2814
|
-
id: string;
|
|
2815
|
-
/** The type of the web search tool call. Always `web_search_call`. */
|
|
2816
|
-
type: "web_search_call";
|
|
2817
|
-
/** The status of the web search tool call. */
|
|
2818
|
-
status: "in_progress" | "searching" | "completed" | "failed";
|
|
2819
|
-
/**
|
|
2820
|
-
* An object describing the specific action taken in this web search call.
|
|
2821
|
-
* Includes details on how the model used the web (search, open_page, find).
|
|
2822
|
-
*/
|
|
2823
|
-
action: WebSearchActionSearch | WebSearchActionOpenPage | WebSearchActionFind;
|
|
2824
|
-
}
|
|
2825
|
-
export declare function inputItemWebSearchToolCallSerializer(item: InputItemWebSearchToolCall): any;
|
|
2826
|
-
/** Alias for _OutputItemWebSearchToolCallAction */
|
|
2827
|
-
export type _OutputItemWebSearchToolCallAction = WebSearchActionSearch | WebSearchActionOpenPage | WebSearchActionFind;
|
|
2828
|
-
export declare function _outputItemWebSearchToolCallActionSerializer(item: _OutputItemWebSearchToolCallAction): any;
|
|
2829
|
-
/** Action type "search" - Performs a web search query. */
|
|
2830
|
-
export interface WebSearchActionSearch {
|
|
2831
|
-
/** The action type. */
|
|
2832
|
-
type: "search";
|
|
2833
|
-
/** [DEPRECATED] The search query. */
|
|
2834
|
-
query: string;
|
|
2835
|
-
/** The search queries. */
|
|
2836
|
-
queries?: string[];
|
|
2837
|
-
/** The sources used in the search. */
|
|
2838
|
-
sources?: WebSearchActionSearchSources[];
|
|
2839
|
-
}
|
|
2840
|
-
export declare function webSearchActionSearchSerializer(item: WebSearchActionSearch): any;
|
|
2841
|
-
export declare function webSearchActionSearchSourcesArraySerializer(result: Array<WebSearchActionSearchSources>): any[];
|
|
2842
|
-
/** model interface WebSearchActionSearchSources */
|
|
2843
|
-
export interface WebSearchActionSearchSources {
|
|
2844
|
-
type: "url";
|
|
2845
|
-
url: string;
|
|
2846
|
-
}
|
|
2847
|
-
export declare function webSearchActionSearchSourcesSerializer(item: WebSearchActionSearchSources): any;
|
|
2848
|
-
/** Action type "open_page" - Opens a specific URL from search results. */
|
|
2849
|
-
export interface WebSearchActionOpenPage {
|
|
2850
|
-
/** The action type. */
|
|
2851
|
-
type: "open_page";
|
|
2852
|
-
/** The URL opened by the model. */
|
|
2853
|
-
url: string;
|
|
2854
|
-
}
|
|
2855
|
-
export declare function webSearchActionOpenPageSerializer(item: WebSearchActionOpenPage): any;
|
|
2856
|
-
/** Action type "find": Searches for a pattern within a loaded page. */
|
|
2857
|
-
export interface WebSearchActionFind {
|
|
2858
|
-
/** The action type. */
|
|
2859
|
-
type: "find_in_page";
|
|
2860
|
-
/** The URL of the page searched for the pattern. */
|
|
2861
|
-
url: string;
|
|
2862
|
-
/** The pattern or text to search for within the page. */
|
|
2863
|
-
pattern: string;
|
|
2864
|
-
}
|
|
2865
|
-
export declare function webSearchActionFindSerializer(item: WebSearchActionFind): any;
|
|
2866
|
-
/**
|
|
2867
|
-
* A tool call to run a function. See the
|
|
2868
|
-
* [function calling guide](https://platform.openai.com/docs/guides/function-calling) for more information.
|
|
2869
|
-
*/
|
|
2870
|
-
export interface InputItemFunctionToolCall extends InputItem {
|
|
2871
|
-
/** The unique ID of the function tool call. */
|
|
2872
|
-
id?: string;
|
|
2873
|
-
/** The type of the function tool call. Always `function_call`. */
|
|
2874
|
-
type: "function_call";
|
|
2875
|
-
/** The unique ID of the function tool call generated by the model. */
|
|
2876
|
-
call_id: string;
|
|
2877
|
-
/** The name of the function to run. */
|
|
2878
|
-
name: string;
|
|
2879
|
-
/** A JSON string of the arguments to pass to the function. */
|
|
2880
|
-
arguments: string;
|
|
2881
|
-
/**
|
|
2882
|
-
* The status of the item. One of `in_progress`, `completed`, or
|
|
2883
|
-
* `incomplete`. Populated when items are returned via API.
|
|
2884
|
-
*/
|
|
2885
|
-
status?: "in_progress" | "completed" | "incomplete";
|
|
2886
|
-
}
|
|
2887
|
-
export declare function inputItemFunctionToolCallSerializer(item: InputItemFunctionToolCall): any;
|
|
2888
|
-
/** The output of a function tool call. */
|
|
2889
|
-
export interface InputItemFunctionCallOutputItemParam extends InputItem {
|
|
2890
|
-
id?: string;
|
|
2891
|
-
/** The unique ID of the function tool call generated by the model. */
|
|
2892
|
-
call_id: string;
|
|
2893
|
-
/** The type of the function tool call output. Always `function_call_output`. */
|
|
2894
|
-
type: "function_call_output";
|
|
2895
|
-
/** Text, image, or file output of the function tool call. */
|
|
2896
|
-
output: string | (InputTextContentParam | InputImageContentParamAutoParam | InputFileContentParam)[];
|
|
2897
|
-
status?: FunctionCallItemStatus;
|
|
2898
|
-
}
|
|
2899
|
-
export declare function inputItemFunctionCallOutputItemParamSerializer(item: InputItemFunctionCallOutputItemParam): any;
|
|
2900
|
-
/** Alias for _ItemFunctionCallOutputItemParamOutput */
|
|
2901
|
-
export type _ItemFunctionCallOutputItemParamOutput = string | (InputTextContentParam | InputImageContentParamAutoParam | InputFileContentParam)[];
|
|
2902
|
-
export declare function _itemFunctionCallOutputItemParamOutputSerializer(item: _ItemFunctionCallOutputItemParamOutput): any;
|
|
2903
|
-
export declare function _itemFunctionCallOutputItemParamOutput1ArraySerializer(result: Array<_ItemFunctionCallOutputItemParamOutput1>): any[];
|
|
2904
|
-
/** Alias for _ItemFunctionCallOutputItemParamOutput1 */
|
|
2905
|
-
export type _ItemFunctionCallOutputItemParamOutput1 = InputTextContentParam | InputImageContentParamAutoParam | InputFileContentParam;
|
|
2906
|
-
export declare function _itemFunctionCallOutputItemParamOutput1Serializer(item: _ItemFunctionCallOutputItemParamOutput1): any;
|
|
2907
|
-
/** A text input to the model. */
|
|
2908
|
-
export interface InputTextContentParam {
|
|
2909
|
-
/** The type of the input item. Always `input_text`. */
|
|
2910
|
-
type: "input_text";
|
|
2911
|
-
/** The text input to the model. */
|
|
2912
|
-
text: string;
|
|
2913
|
-
}
|
|
2914
|
-
export declare function inputTextContentParamSerializer(item: InputTextContentParam): any;
|
|
2915
|
-
/** An image input to the model. Learn about [image inputs](https://platform.openai.com/docs/guides/vision) */
|
|
2916
|
-
export interface InputImageContentParamAutoParam {
|
|
2917
|
-
/** The type of the input item. Always `input_image`. */
|
|
2918
|
-
type: "input_image";
|
|
2919
|
-
image_url?: string;
|
|
2920
|
-
file_id?: string;
|
|
2921
|
-
detail?: DetailEnum;
|
|
2922
|
-
}
|
|
2923
|
-
export declare function inputImageContentParamAutoParamSerializer(item: InputImageContentParamAutoParam): any;
|
|
2924
|
-
/** Type of DetailEnum */
|
|
2925
|
-
export type DetailEnum = "low" | "high" | "auto";
|
|
2926
|
-
/** A file input to the model. */
|
|
2927
|
-
export interface InputFileContentParam {
|
|
2928
|
-
/** The type of the input item. Always `input_file`. */
|
|
2929
|
-
type: "input_file";
|
|
2930
|
-
file_id?: string;
|
|
2931
|
-
filename?: string;
|
|
2932
|
-
file_data?: string;
|
|
2933
|
-
file_url?: string;
|
|
2934
|
-
}
|
|
2935
|
-
export declare function inputFileContentParamSerializer(item: InputFileContentParam): any;
|
|
2936
|
-
/**
|
|
2937
|
-
* A description of the chain of thought used by a reasoning model while generating
|
|
2938
|
-
* a response. Be sure to include these items in your `input` to the Responses API
|
|
2939
|
-
* for subsequent turns of a conversation if you are manually
|
|
2940
|
-
* [managing context](https://platform.openai.com/docs/guides/conversation-state).
|
|
2941
|
-
*/
|
|
2942
|
-
export interface InputItemReasoningItem extends InputItem {
|
|
2943
|
-
/** The type of the object. Always `reasoning`. */
|
|
2944
|
-
type: "reasoning";
|
|
2945
|
-
/** The unique identifier of the reasoning content. */
|
|
2946
|
-
id: string;
|
|
2947
|
-
encrypted_content?: string;
|
|
2948
|
-
/** Reasoning summary content. */
|
|
2949
|
-
summary: Summary[];
|
|
2950
|
-
/** Reasoning text content. */
|
|
2951
|
-
content?: ReasoningTextContent[];
|
|
2952
|
-
/**
|
|
2953
|
-
* The status of the item. One of `in_progress`, `completed`, or
|
|
2954
|
-
* `incomplete`. Populated when items are returned via API.
|
|
2955
|
-
*/
|
|
2956
|
-
status?: "in_progress" | "completed" | "incomplete";
|
|
2957
|
-
}
|
|
2958
|
-
export declare function inputItemReasoningItemSerializer(item: InputItemReasoningItem): any;
|
|
2959
|
-
export declare function summaryArraySerializer(result: Array<Summary>): any[];
|
|
2960
|
-
/** A summary text from the model. */
|
|
2961
|
-
export interface Summary {
|
|
2962
|
-
/** The type of the object. Always `summary_text`. */
|
|
2963
|
-
type: "summary_text";
|
|
2964
|
-
/** A summary of the reasoning output from the model so far. */
|
|
2965
|
-
text: string;
|
|
2966
|
-
}
|
|
2967
|
-
export declare function summarySerializer(item: Summary): any;
|
|
2968
|
-
export declare function reasoningTextContentArraySerializer(result: Array<ReasoningTextContent>): any[];
|
|
2969
|
-
/** Reasoning text from the model. */
|
|
2970
|
-
export interface ReasoningTextContent {
|
|
2971
|
-
/** The type of the reasoning text. Always `reasoning_text`. */
|
|
2972
|
-
type: "reasoning_text";
|
|
2973
|
-
/** The reasoning text from the model. */
|
|
2974
|
-
text: string;
|
|
2975
|
-
}
|
|
2976
|
-
export declare function reasoningTextContentSerializer(item: ReasoningTextContent): any;
|
|
2977
|
-
/** A compaction item generated by the [`v1/responses/compact` API](https://platform.openai.com/docs/api-reference/responses/compact). */
|
|
2978
|
-
export interface InputItemCompactionSummaryItemParam extends InputItem {
|
|
2979
|
-
id?: string;
|
|
2980
|
-
/** The type of the item. Always `compaction`. */
|
|
2981
|
-
type: "compaction";
|
|
2982
|
-
/** The encrypted content of the compaction summary. */
|
|
2983
|
-
encrypted_content: string;
|
|
2984
|
-
}
|
|
2985
|
-
export declare function inputItemCompactionSummaryItemParamSerializer(item: InputItemCompactionSummaryItemParam): any;
|
|
2986
|
-
/** An image generation request made by the model. */
|
|
2987
|
-
export interface InputItemImageGenToolCall extends InputItem {
|
|
2988
|
-
/** The type of the image generation call. Always `image_generation_call`. */
|
|
2989
|
-
type: "image_generation_call";
|
|
2990
|
-
/** The unique ID of the image generation call. */
|
|
2991
|
-
id: string;
|
|
2992
|
-
/** The status of the image generation call. */
|
|
2993
|
-
status: "in_progress" | "completed" | "generating" | "failed";
|
|
2994
|
-
result: string;
|
|
2995
|
-
}
|
|
2996
|
-
export declare function inputItemImageGenToolCallSerializer(item: InputItemImageGenToolCall): any;
|
|
2997
|
-
/** A tool call to run code. */
|
|
2998
|
-
export interface InputItemCodeInterpreterToolCall extends InputItem {
|
|
2999
|
-
/** The type of the code interpreter tool call. Always `code_interpreter_call`. */
|
|
3000
|
-
type: "code_interpreter_call";
|
|
3001
|
-
/** The unique ID of the code interpreter tool call. */
|
|
3002
|
-
id: string;
|
|
3003
|
-
/** The status of the code interpreter tool call. Valid values are `in_progress`, `completed`, `incomplete`, `interpreting`, and `failed`. */
|
|
3004
|
-
status: "in_progress" | "completed" | "incomplete" | "interpreting" | "failed";
|
|
3005
|
-
/** The ID of the container used to run the code. */
|
|
3006
|
-
container_id: string;
|
|
3007
|
-
code: string;
|
|
3008
|
-
outputs: (CodeInterpreterOutputLogs | CodeInterpreterOutputImage)[];
|
|
3009
|
-
}
|
|
3010
|
-
export declare function inputItemCodeInterpreterToolCallSerializer(item: InputItemCodeInterpreterToolCall): any;
|
|
3011
|
-
export declare function _outputItemCodeInterpreterToolCallOutputArraySerializer(result: Array<_OutputItemCodeInterpreterToolCallOutput>): any[];
|
|
3012
|
-
/** Alias for _OutputItemCodeInterpreterToolCallOutput */
|
|
3013
|
-
export type _OutputItemCodeInterpreterToolCallOutput = CodeInterpreterOutputLogs | CodeInterpreterOutputImage;
|
|
3014
|
-
export declare function _outputItemCodeInterpreterToolCallOutputSerializer(item: _OutputItemCodeInterpreterToolCallOutput): any;
|
|
3015
|
-
/** The logs output from the code interpreter. */
|
|
3016
|
-
export interface CodeInterpreterOutputLogs {
|
|
3017
|
-
/** The type of the output. Always `logs`. */
|
|
3018
|
-
type: "logs";
|
|
3019
|
-
/** The logs output from the code interpreter. */
|
|
3020
|
-
logs: string;
|
|
3021
|
-
}
|
|
3022
|
-
export declare function codeInterpreterOutputLogsSerializer(item: CodeInterpreterOutputLogs): any;
|
|
3023
|
-
/** The image output from the code interpreter. */
|
|
3024
|
-
export interface CodeInterpreterOutputImage {
|
|
3025
|
-
/** The type of the output. Always `image`. */
|
|
3026
|
-
type: "image";
|
|
3027
|
-
/** The URL of the image output from the code interpreter. */
|
|
3028
|
-
url: string;
|
|
3029
|
-
}
|
|
3030
|
-
export declare function codeInterpreterOutputImageSerializer(item: CodeInterpreterOutputImage): any;
|
|
3031
|
-
/** A tool call to run a command on the local shell. */
|
|
3032
|
-
export interface InputItemLocalShellToolCall extends InputItem {
|
|
3033
|
-
/** The type of the local shell call. Always `local_shell_call`. */
|
|
3034
|
-
type: "local_shell_call";
|
|
3035
|
-
/** The unique ID of the local shell call. */
|
|
3036
|
-
id: string;
|
|
3037
|
-
/** The unique ID of the local shell tool call generated by the model. */
|
|
3038
|
-
call_id: string;
|
|
3039
|
-
action: LocalShellExecAction;
|
|
3040
|
-
/** The status of the local shell call. */
|
|
3041
|
-
status: "in_progress" | "completed" | "incomplete";
|
|
3042
|
-
}
|
|
3043
|
-
export declare function inputItemLocalShellToolCallSerializer(item: InputItemLocalShellToolCall): any;
|
|
3044
|
-
/** Execute a shell command on the server. */
|
|
3045
|
-
export interface LocalShellExecAction {
|
|
3046
|
-
/** The type of the local shell action. Always `exec`. */
|
|
3047
|
-
type: "exec";
|
|
3048
|
-
/** The command to run. */
|
|
3049
|
-
command: string[];
|
|
3050
|
-
timeout_ms?: number;
|
|
3051
|
-
working_directory?: string;
|
|
3052
|
-
/** Environment variables to set for the command. */
|
|
3053
|
-
env: Record<string, string>;
|
|
3054
|
-
user?: string;
|
|
3055
|
-
}
|
|
3056
|
-
export declare function localShellExecActionSerializer(item: LocalShellExecAction): any;
|
|
3057
|
-
/** The output of a local shell tool call. */
|
|
3058
|
-
export interface InputItemLocalShellToolCallOutput extends InputItem {
|
|
3059
|
-
/** The type of the local shell tool call output. Always `local_shell_call_output`. */
|
|
3060
|
-
type: "local_shell_call_output";
|
|
3061
|
-
/** The unique ID of the local shell tool call generated by the model. */
|
|
3062
|
-
id: string;
|
|
3063
|
-
/** A JSON string of the output of the local shell tool call. */
|
|
3064
|
-
output: string;
|
|
3065
|
-
status?: "in_progress" | "completed" | "incomplete";
|
|
3066
|
-
}
|
|
3067
|
-
export declare function inputItemLocalShellToolCallOutputSerializer(item: InputItemLocalShellToolCallOutput): any;
|
|
3068
|
-
/** A tool representing a request to execute one or more shell commands. */
|
|
3069
|
-
export interface InputItemFunctionShellCallItemParam extends InputItem {
|
|
3070
|
-
id?: string;
|
|
3071
|
-
/** The unique ID of the shell tool call generated by the model. */
|
|
3072
|
-
call_id: string;
|
|
3073
|
-
/** The type of the item. Always `shell_call`. */
|
|
3074
|
-
type: "shell_call";
|
|
3075
|
-
/** The shell commands and limits that describe how to run the tool call. */
|
|
3076
|
-
action: FunctionShellActionParam;
|
|
3077
|
-
status?: FunctionShellCallItemStatus;
|
|
3078
|
-
}
|
|
3079
|
-
export declare function inputItemFunctionShellCallItemParamSerializer(item: InputItemFunctionShellCallItemParam): any;
|
|
3080
|
-
/** Commands and limits describing how to run the shell tool call. */
|
|
3081
|
-
export interface FunctionShellActionParam {
|
|
3082
|
-
/** Ordered shell commands for the execution environment to run. */
|
|
3083
|
-
commands: string[];
|
|
3084
|
-
timeout_ms?: number;
|
|
3085
|
-
max_output_length?: number;
|
|
3086
|
-
}
|
|
3087
|
-
export declare function functionShellActionParamSerializer(item: FunctionShellActionParam): any;
|
|
3088
|
-
/** Status values reported for shell tool calls. */
|
|
3089
|
-
export type FunctionShellCallItemStatus = "in_progress" | "completed" | "incomplete";
|
|
3090
|
-
/** The streamed output items emitted by a shell tool call. */
|
|
3091
|
-
export interface InputItemFunctionShellCallOutputItemParam extends InputItem {
|
|
3092
|
-
id?: string;
|
|
3093
|
-
/** The unique ID of the shell tool call generated by the model. */
|
|
3094
|
-
call_id: string;
|
|
3095
|
-
/** The type of the item. Always `shell_call_output`. */
|
|
3096
|
-
type: "shell_call_output";
|
|
3097
|
-
/** Captured chunks of stdout and stderr output, along with their associated outcomes. */
|
|
3098
|
-
output: FunctionShellCallOutputContentParam[];
|
|
3099
|
-
max_output_length?: number;
|
|
3100
|
-
}
|
|
3101
|
-
export declare function inputItemFunctionShellCallOutputItemParamSerializer(item: InputItemFunctionShellCallOutputItemParam): any;
|
|
3102
|
-
export declare function functionShellCallOutputContentParamArraySerializer(result: Array<FunctionShellCallOutputContentParam>): any[];
|
|
3103
|
-
/** Captured stdout and stderr for a portion of a shell tool call output. */
|
|
3104
|
-
export interface FunctionShellCallOutputContentParam {
|
|
3105
|
-
/** Captured stdout output for the shell call. */
|
|
3106
|
-
stdout: string;
|
|
3107
|
-
/** Captured stderr output for the shell call. */
|
|
3108
|
-
stderr: string;
|
|
3109
|
-
/** The exit or timeout outcome associated with this shell call. */
|
|
3110
|
-
outcome: FunctionShellCallOutputOutcomeParamUnion;
|
|
3111
|
-
}
|
|
3112
|
-
export declare function functionShellCallOutputContentParamSerializer(item: FunctionShellCallOutputContentParam): any;
|
|
3113
|
-
/** The exit or timeout outcome associated with this shell call. */
|
|
3114
|
-
export interface FunctionShellCallOutputOutcomeParam {
|
|
3115
|
-
type: FunctionShellCallOutputOutcomeParamType;
|
|
3116
|
-
}
|
|
3117
|
-
export declare function functionShellCallOutputOutcomeParamSerializer(item: FunctionShellCallOutputOutcomeParam): any;
|
|
3118
|
-
/** Alias for FunctionShellCallOutputOutcomeParamUnion */
|
|
3119
|
-
export type FunctionShellCallOutputOutcomeParamUnion = FunctionShellCallOutputTimeoutOutcomeParam | FunctionShellCallOutputExitOutcomeParam | FunctionShellCallOutputOutcomeParam;
|
|
3120
|
-
export declare function functionShellCallOutputOutcomeParamUnionSerializer(item: FunctionShellCallOutputOutcomeParamUnion): any;
|
|
3121
|
-
/** Type of FunctionShellCallOutputOutcomeParamType */
|
|
3122
|
-
export type FunctionShellCallOutputOutcomeParamType = "timeout" | "exit";
|
|
3123
|
-
/** Indicates that the shell call exceeded its configured time limit. */
|
|
3124
|
-
export interface FunctionShellCallOutputTimeoutOutcomeParam extends FunctionShellCallOutputOutcomeParam {
|
|
3125
|
-
/** The outcome type. Always `timeout`. */
|
|
3126
|
-
type: "timeout";
|
|
3127
|
-
}
|
|
3128
|
-
export declare function functionShellCallOutputTimeoutOutcomeParamSerializer(item: FunctionShellCallOutputTimeoutOutcomeParam): any;
|
|
3129
|
-
/** Indicates that the shell commands finished and returned an exit code. */
|
|
3130
|
-
export interface FunctionShellCallOutputExitOutcomeParam extends FunctionShellCallOutputOutcomeParam {
|
|
3131
|
-
/** The outcome type. Always `exit`. */
|
|
3132
|
-
type: "exit";
|
|
3133
|
-
/** The exit code returned by the shell process. */
|
|
3134
|
-
exit_code: number;
|
|
3135
|
-
}
|
|
3136
|
-
export declare function functionShellCallOutputExitOutcomeParamSerializer(item: FunctionShellCallOutputExitOutcomeParam): any;
|
|
3137
|
-
/** A tool call representing a request to create, delete, or update files using diff patches. */
|
|
3138
|
-
export interface InputItemApplyPatchToolCallItemParam extends InputItem {
|
|
3139
|
-
/** The type of the item. Always `apply_patch_call`. */
|
|
3140
|
-
type: "apply_patch_call";
|
|
3141
|
-
id?: string;
|
|
3142
|
-
/** The unique ID of the apply patch tool call generated by the model. */
|
|
3143
|
-
call_id: string;
|
|
3144
|
-
/** The status of the apply patch tool call. One of `in_progress` or `completed`. */
|
|
3145
|
-
status: ApplyPatchCallStatusParam;
|
|
3146
|
-
/** The specific create, delete, or update instruction for the apply_patch tool call. */
|
|
3147
|
-
operation: ApplyPatchOperationParamUnion;
|
|
3148
|
-
}
|
|
3149
|
-
export declare function inputItemApplyPatchToolCallItemParamSerializer(item: InputItemApplyPatchToolCallItemParam): any;
|
|
3150
|
-
/** Status values reported for apply_patch tool calls. */
|
|
3151
|
-
export type ApplyPatchCallStatusParam = "in_progress" | "completed";
|
|
3152
|
-
/** One of the create_file, delete_file, or update_file operations supplied to the apply_patch tool. */
|
|
3153
|
-
export interface ApplyPatchOperationParam {
|
|
3154
|
-
type: ApplyPatchOperationParamType;
|
|
3155
|
-
}
|
|
3156
|
-
export declare function applyPatchOperationParamSerializer(item: ApplyPatchOperationParam): any;
|
|
3157
|
-
/** Alias for ApplyPatchOperationParamUnion */
|
|
3158
|
-
export type ApplyPatchOperationParamUnion = ApplyPatchCreateFileOperationParam | ApplyPatchDeleteFileOperationParam | ApplyPatchUpdateFileOperationParam | ApplyPatchOperationParam;
|
|
3159
|
-
export declare function applyPatchOperationParamUnionSerializer(item: ApplyPatchOperationParamUnion): any;
|
|
3160
|
-
/** Type of ApplyPatchOperationParamType */
|
|
3161
|
-
export type ApplyPatchOperationParamType = "create_file" | "delete_file" | "update_file";
|
|
3162
|
-
/** Instruction for creating a new file via the apply_patch tool. */
|
|
3163
|
-
export interface ApplyPatchCreateFileOperationParam extends ApplyPatchOperationParam {
|
|
3164
|
-
/** The operation type. Always `create_file`. */
|
|
3165
|
-
type: "create_file";
|
|
3166
|
-
/** Path of the file to create relative to the workspace root. */
|
|
3167
|
-
path: string;
|
|
3168
|
-
/** Unified diff content to apply when creating the file. */
|
|
3169
|
-
diff: string;
|
|
3170
|
-
}
|
|
3171
|
-
export declare function applyPatchCreateFileOperationParamSerializer(item: ApplyPatchCreateFileOperationParam): any;
|
|
3172
|
-
/** Instruction for deleting an existing file via the apply_patch tool. */
|
|
3173
|
-
export interface ApplyPatchDeleteFileOperationParam extends ApplyPatchOperationParam {
|
|
3174
|
-
/** The operation type. Always `delete_file`. */
|
|
3175
|
-
type: "delete_file";
|
|
3176
|
-
/** Path of the file to delete relative to the workspace root. */
|
|
3177
|
-
path: string;
|
|
3178
|
-
}
|
|
3179
|
-
export declare function applyPatchDeleteFileOperationParamSerializer(item: ApplyPatchDeleteFileOperationParam): any;
|
|
3180
|
-
/** Instruction for updating an existing file via the apply_patch tool. */
|
|
3181
|
-
export interface ApplyPatchUpdateFileOperationParam extends ApplyPatchOperationParam {
|
|
3182
|
-
/** The operation type. Always `update_file`. */
|
|
3183
|
-
type: "update_file";
|
|
3184
|
-
/** Path of the file to update relative to the workspace root. */
|
|
3185
|
-
path: string;
|
|
3186
|
-
/** Unified diff content to apply to the existing file. */
|
|
3187
|
-
diff: string;
|
|
3188
|
-
}
|
|
3189
|
-
export declare function applyPatchUpdateFileOperationParamSerializer(item: ApplyPatchUpdateFileOperationParam): any;
|
|
3190
|
-
/** The streamed output emitted by an apply patch tool call. */
|
|
3191
|
-
export interface InputItemApplyPatchToolCallOutputItemParam extends InputItem {
|
|
3192
|
-
/** The type of the item. Always `apply_patch_call_output`. */
|
|
3193
|
-
type: "apply_patch_call_output";
|
|
3194
|
-
id?: string;
|
|
3195
|
-
/** The unique ID of the apply patch tool call generated by the model. */
|
|
3196
|
-
call_id: string;
|
|
3197
|
-
/** The status of the apply patch tool call output. One of `completed` or `failed`. */
|
|
3198
|
-
status: ApplyPatchCallOutputStatusParam;
|
|
3199
|
-
output?: string;
|
|
3200
|
-
}
|
|
3201
|
-
export declare function inputItemApplyPatchToolCallOutputItemParamSerializer(item: InputItemApplyPatchToolCallOutputItemParam): any;
|
|
3202
|
-
/** Outcome values reported for apply_patch tool call outputs. */
|
|
3203
|
-
export type ApplyPatchCallOutputStatusParam = "completed" | "failed";
|
|
3204
|
-
/** A list of tools available on an MCP server. */
|
|
3205
|
-
export interface InputItemMcpListTools extends InputItem {
|
|
3206
|
-
/** The type of the item. Always `mcp_list_tools`. */
|
|
3207
|
-
type: "mcp_list_tools";
|
|
3208
|
-
/** The unique ID of the list. */
|
|
3209
|
-
id: string;
|
|
3210
|
-
/** The label of the MCP server. */
|
|
3211
|
-
server_label: string;
|
|
3212
|
-
/** The tools available on the server. */
|
|
3213
|
-
tools: MCPListToolsTool[];
|
|
3214
|
-
error?: string;
|
|
3215
|
-
}
|
|
3216
|
-
export declare function inputItemMcpListToolsSerializer(item: InputItemMcpListTools): any;
|
|
3217
|
-
export declare function mcpListToolsToolArraySerializer(result: Array<MCPListToolsTool>): any[];
|
|
3218
|
-
/** A tool available on an MCP server. */
|
|
3219
|
-
export interface MCPListToolsTool {
|
|
3220
|
-
/** The name of the tool. */
|
|
3221
|
-
name: string;
|
|
3222
|
-
description?: string;
|
|
3223
|
-
/** The JSON schema describing the tool's input. */
|
|
3224
|
-
input_schema: MCPListToolsToolInputSchema;
|
|
3225
|
-
annotations?: MCPListToolsToolAnnotations;
|
|
3226
|
-
}
|
|
3227
|
-
export declare function mcpListToolsToolSerializer(item: MCPListToolsTool): any;
|
|
3228
|
-
/** model interface MCPListToolsToolInputSchema */
|
|
3229
|
-
export interface MCPListToolsToolInputSchema {
|
|
3230
|
-
}
|
|
3231
|
-
export declare function mcpListToolsToolInputSchemaSerializer(item: MCPListToolsToolInputSchema): any;
|
|
3232
|
-
/** model interface MCPListToolsToolAnnotations */
|
|
3233
|
-
export interface MCPListToolsToolAnnotations {
|
|
3234
|
-
}
|
|
3235
|
-
export declare function mcpListToolsToolAnnotationsSerializer(item: MCPListToolsToolAnnotations): any;
|
|
3236
|
-
/** A request for human approval of a tool invocation. */
|
|
3237
|
-
export interface InputItemMcpApprovalRequest extends InputItem {
|
|
3238
|
-
/** The type of the item. Always `mcp_approval_request`. */
|
|
3239
|
-
type: "mcp_approval_request";
|
|
3240
|
-
/** The unique ID of the approval request. */
|
|
3241
|
-
id: string;
|
|
3242
|
-
/** The label of the MCP server making the request. */
|
|
3243
|
-
server_label: string;
|
|
3244
|
-
/** The name of the tool to run. */
|
|
3245
|
-
name: string;
|
|
3246
|
-
/** A JSON string of arguments for the tool. */
|
|
3247
|
-
arguments: string;
|
|
3248
|
-
}
|
|
3249
|
-
export declare function inputItemMcpApprovalRequestSerializer(item: InputItemMcpApprovalRequest): any;
|
|
3250
|
-
/** A response to an MCP approval request. */
|
|
3251
|
-
export interface InputItemMcpApprovalResponse extends InputItem {
|
|
3252
|
-
/** The type of the item. Always `mcp_approval_response`. */
|
|
3253
|
-
type: "mcp_approval_response";
|
|
3254
|
-
id?: string;
|
|
3255
|
-
/** The ID of the approval request being answered. */
|
|
3256
|
-
approval_request_id: string;
|
|
3257
|
-
/** Whether the request was approved. */
|
|
3258
|
-
approve: boolean;
|
|
3259
|
-
reason?: string;
|
|
3260
|
-
}
|
|
3261
|
-
export declare function inputItemMcpApprovalResponseSerializer(item: InputItemMcpApprovalResponse): any;
|
|
3262
|
-
/** An invocation of a tool on an MCP server. */
|
|
3263
|
-
export interface InputItemMcpToolCall extends InputItem {
|
|
3264
|
-
/** The type of the item. Always `mcp_call`. */
|
|
3265
|
-
type: "mcp_call";
|
|
3266
|
-
/** The unique ID of the tool call. */
|
|
3267
|
-
id: string;
|
|
3268
|
-
/** The label of the MCP server running the tool. */
|
|
3269
|
-
server_label: string;
|
|
3270
|
-
/** The name of the tool that was run. */
|
|
3271
|
-
name: string;
|
|
3272
|
-
/** A JSON string of the arguments passed to the tool. */
|
|
3273
|
-
arguments: string;
|
|
3274
|
-
output?: string;
|
|
3275
|
-
error?: string;
|
|
3276
|
-
/** The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, or `failed`. */
|
|
3277
|
-
status?: MCPToolCallStatus;
|
|
3278
|
-
approval_request_id?: string;
|
|
3279
|
-
}
|
|
3280
|
-
export declare function inputItemMcpToolCallSerializer(item: InputItemMcpToolCall): any;
|
|
3281
|
-
/** Type of MCPToolCallStatus */
|
|
3282
|
-
export type MCPToolCallStatus = "in_progress" | "completed" | "incomplete" | "calling" | "failed";
|
|
3283
|
-
/** The output of a custom tool call from your code, being sent back to the model. */
|
|
3284
|
-
export interface InputItemCustomToolCallOutput extends InputItem {
|
|
3285
|
-
/** The type of the custom tool call output. Always `custom_tool_call_output`. */
|
|
3286
|
-
type: "custom_tool_call_output";
|
|
3287
|
-
/** The unique ID of the custom tool call output in the OpenAI platform. */
|
|
3288
|
-
id?: string;
|
|
3289
|
-
/** The call ID, used to map this custom tool call output to a custom tool call. */
|
|
3290
|
-
call_id: string;
|
|
3291
|
-
/**
|
|
3292
|
-
* The output from the custom tool call generated by your code.
|
|
3293
|
-
* Can be a string or an list of output content.
|
|
3294
|
-
*/
|
|
3295
|
-
output: string | FunctionAndCustomToolCallOutputUnion[];
|
|
3296
|
-
}
|
|
3297
|
-
export declare function inputItemCustomToolCallOutputSerializer(item: InputItemCustomToolCallOutput): any;
|
|
3298
|
-
/** Alias for _ItemCustomToolCallOutputOutput */
|
|
3299
|
-
export type _ItemCustomToolCallOutputOutput = string | FunctionAndCustomToolCallOutputUnion[];
|
|
3300
|
-
export declare function _itemCustomToolCallOutputOutputSerializer(item: _ItemCustomToolCallOutputOutput): any;
|
|
3301
|
-
export declare function functionAndCustomToolCallOutputUnionArraySerializer(result: Array<FunctionAndCustomToolCallOutputUnion>): any[];
|
|
3302
|
-
/** model interface FunctionAndCustomToolCallOutput */
|
|
3303
|
-
export interface FunctionAndCustomToolCallOutput {
|
|
3304
|
-
type: FunctionAndCustomToolCallOutputType;
|
|
3305
|
-
}
|
|
3306
|
-
export declare function functionAndCustomToolCallOutputSerializer(item: FunctionAndCustomToolCallOutput): any;
|
|
3307
|
-
/** Alias for FunctionAndCustomToolCallOutputUnion */
|
|
3308
|
-
export type FunctionAndCustomToolCallOutputUnion = FunctionAndCustomToolCallOutputInputTextContent | FunctionAndCustomToolCallOutputInputImageContent | FunctionAndCustomToolCallOutputInputFileContent | FunctionAndCustomToolCallOutput;
|
|
3309
|
-
export declare function functionAndCustomToolCallOutputUnionSerializer(item: FunctionAndCustomToolCallOutputUnion): any;
|
|
3310
|
-
/** Type of FunctionAndCustomToolCallOutputType */
|
|
3311
|
-
export type FunctionAndCustomToolCallOutputType = "input_text" | "input_image" | "input_file";
|
|
3312
|
-
/** A text input to the model. */
|
|
3313
|
-
export interface FunctionAndCustomToolCallOutputInputTextContent extends FunctionAndCustomToolCallOutput {
|
|
3314
|
-
/** The type of the input item. Always `input_text`. */
|
|
3315
|
-
type: "input_text";
|
|
3316
|
-
/** The text input to the model. */
|
|
3317
|
-
text: string;
|
|
3318
|
-
}
|
|
3319
|
-
export declare function functionAndCustomToolCallOutputInputTextContentSerializer(item: FunctionAndCustomToolCallOutputInputTextContent): any;
|
|
3320
|
-
/** An image input to the model. Learn about [image inputs](https://platform.openai.com/docs/guides/vision). */
|
|
3321
|
-
export interface FunctionAndCustomToolCallOutputInputImageContent extends FunctionAndCustomToolCallOutput {
|
|
3322
|
-
/** The type of the input item. Always `input_image`. */
|
|
3323
|
-
type: "input_image";
|
|
3324
|
-
image_url?: string;
|
|
3325
|
-
file_id?: string;
|
|
3326
|
-
/** The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`. Defaults to `auto`. */
|
|
3327
|
-
detail: ImageDetail;
|
|
3328
|
-
}
|
|
3329
|
-
export declare function functionAndCustomToolCallOutputInputImageContentSerializer(item: FunctionAndCustomToolCallOutputInputImageContent): any;
|
|
3330
|
-
/** A file input to the model. */
|
|
3331
|
-
export interface FunctionAndCustomToolCallOutputInputFileContent extends FunctionAndCustomToolCallOutput {
|
|
3332
|
-
/** The type of the input item. Always `input_file`. */
|
|
3333
|
-
type: "input_file";
|
|
3334
|
-
file_id?: string;
|
|
3335
|
-
/** The name of the file to be sent to the model. */
|
|
3336
|
-
filename?: string;
|
|
3337
|
-
/** The URL of the file to be sent to the model. */
|
|
3338
|
-
file_url?: string;
|
|
3339
|
-
/** The content of the file to be sent to the model. */
|
|
3340
|
-
file_data?: string;
|
|
3341
|
-
}
|
|
3342
|
-
export declare function functionAndCustomToolCallOutputInputFileContentSerializer(item: FunctionAndCustomToolCallOutputInputFileContent): any;
|
|
3343
|
-
/** A call to a custom tool created by the model. */
|
|
3344
|
-
export interface InputItemCustomToolCall extends InputItem {
|
|
3345
|
-
/** The type of the custom tool call. Always `custom_tool_call`. */
|
|
3346
|
-
type: "custom_tool_call";
|
|
3347
|
-
/** The unique ID of the custom tool call in the OpenAI platform. */
|
|
3348
|
-
id?: string;
|
|
3349
|
-
/** An identifier used to map this custom tool call to a tool call output. */
|
|
3350
|
-
call_id: string;
|
|
3351
|
-
/** The name of the custom tool being called. */
|
|
3352
|
-
name: string;
|
|
3353
|
-
/** The input for the custom tool call generated by the model. */
|
|
3354
|
-
input: string;
|
|
3355
|
-
}
|
|
3356
|
-
export declare function inputItemCustomToolCallSerializer(item: InputItemCustomToolCall): any;
|
|
3357
|
-
export declare function inputItemUnionArraySerializer(result: Array<InputItemUnion>): any[];
|
|
3358
2564
|
/** Memory search response. */
|
|
3359
2565
|
export interface MemoryStoreSearchResponse {
|
|
3360
2566
|
/** The unique ID of this search request. Use this value as previous_search_id in subsequent requests to perform incremental searches. */
|
|
@@ -3422,11 +2628,13 @@ export interface MemoryStoreOperationUsage {
|
|
|
3422
2628
|
export declare function memoryStoreOperationUsageDeserializer(item: any): MemoryStoreOperationUsage;
|
|
3423
2629
|
/** model interface ResponseUsageInputTokensDetails */
|
|
3424
2630
|
export interface ResponseUsageInputTokensDetails {
|
|
2631
|
+
/** The number of cached input tokens used. */
|
|
3425
2632
|
cached_tokens: number;
|
|
3426
2633
|
}
|
|
3427
2634
|
export declare function responseUsageInputTokensDetailsDeserializer(item: any): ResponseUsageInputTokensDetails;
|
|
3428
2635
|
/** model interface ResponseUsageOutputTokensDetails */
|
|
3429
2636
|
export interface ResponseUsageOutputTokensDetails {
|
|
2637
|
+
/** The number of output tokens used for reasoning. */
|
|
3430
2638
|
reasoning_tokens: number;
|
|
3431
2639
|
}
|
|
3432
2640
|
export declare function responseUsageOutputTokensDetailsDeserializer(item: any): ResponseUsageOutputTokensDetails;
|
|
@@ -3500,7 +2708,7 @@ export interface RedTeam {
|
|
|
3500
2708
|
/** Status of the red-team. It is set by service and is read-only. */
|
|
3501
2709
|
readonly status?: string;
|
|
3502
2710
|
/** Target configuration for the red-team run. */
|
|
3503
|
-
target
|
|
2711
|
+
target?: TargetConfigUnion;
|
|
3504
2712
|
}
|
|
3505
2713
|
export declare function redTeamSerializer(item: RedTeam): any;
|
|
3506
2714
|
export declare function redTeamDeserializer(item: any): RedTeam;
|
|
@@ -3520,6 +2728,7 @@ export declare function targetConfigUnionSerializer(item: TargetConfigUnion): an
|
|
|
3520
2728
|
export declare function targetConfigUnionDeserializer(item: any): TargetConfigUnion;
|
|
3521
2729
|
/** Azure OpenAI model configuration. The API version would be selected by the service for querying the model. */
|
|
3522
2730
|
export interface AzureOpenAIModelConfiguration extends TargetConfig {
|
|
2731
|
+
/** The type discriminator, always 'azure_openai'. */
|
|
3523
2732
|
type: "AzureOpenAIModel";
|
|
3524
2733
|
/** Deployment name for AOAI model. Example: gpt-4o if in AIServices or connection based `connection_name/deployment_name` (e.g. `my-aoai-connection/gpt-4o`). */
|
|
3525
2734
|
modelDeploymentName: string;
|
|
@@ -3579,6 +2788,7 @@ export declare function triggerUnionDeserializer(item: any): TriggerUnion;
|
|
|
3579
2788
|
export type TriggerType = "Cron" | "Recurrence" | "OneTime";
|
|
3580
2789
|
/** Cron based trigger. */
|
|
3581
2790
|
export interface CronTrigger extends Trigger {
|
|
2791
|
+
/** The type discriminator, always 'Cron'. */
|
|
3582
2792
|
type: "Cron";
|
|
3583
2793
|
/** Cron expression that defines the schedule frequency. */
|
|
3584
2794
|
expression: string;
|
|
@@ -3624,6 +2834,7 @@ export declare function recurrenceScheduleUnionDeserializer(item: any): Recurren
|
|
|
3624
2834
|
export type RecurrenceType = "Hourly" | "Daily" | "Weekly" | "Monthly";
|
|
3625
2835
|
/** Hourly recurrence schedule. */
|
|
3626
2836
|
export interface HourlyRecurrenceSchedule extends RecurrenceSchedule {
|
|
2837
|
+
/** The type discriminator, always 'HourlyRecurrence'. */
|
|
3627
2838
|
type: "Hourly";
|
|
3628
2839
|
}
|
|
3629
2840
|
export declare function hourlyRecurrenceScheduleSerializer(item: HourlyRecurrenceSchedule): any;
|
|
@@ -3659,6 +2870,7 @@ export declare function monthlyRecurrenceScheduleSerializer(item: MonthlyRecurre
|
|
|
3659
2870
|
export declare function monthlyRecurrenceScheduleDeserializer(item: any): MonthlyRecurrenceSchedule;
|
|
3660
2871
|
/** One-time trigger. */
|
|
3661
2872
|
export interface OneTimeTrigger extends Trigger {
|
|
2873
|
+
/** The type discriminator, always 'OneTime'. */
|
|
3662
2874
|
type: "OneTime";
|
|
3663
2875
|
/** Date and time for the one-time trigger in ISO 8601 format. */
|
|
3664
2876
|
triggerAt: string;
|
|
@@ -3690,12 +2902,13 @@ export interface EvaluationScheduleTask extends ScheduleTask {
|
|
|
3690
2902
|
/** Identifier of the evaluation group. */
|
|
3691
2903
|
evalId: string;
|
|
3692
2904
|
/** The evaluation run payload. */
|
|
3693
|
-
evalRun: Record<string,
|
|
2905
|
+
evalRun: Record<string, unknown>;
|
|
3694
2906
|
}
|
|
3695
2907
|
export declare function evaluationScheduleTaskSerializer(item: EvaluationScheduleTask): any;
|
|
3696
2908
|
export declare function evaluationScheduleTaskDeserializer(item: any): EvaluationScheduleTask;
|
|
3697
2909
|
/** model interface _EvaluationScheduleTaskEvalRun */
|
|
3698
2910
|
export interface _EvaluationScheduleTaskEvalRun {
|
|
2911
|
+
[key: string]: unknown;
|
|
3699
2912
|
}
|
|
3700
2913
|
export declare function _evaluationScheduleTaskEvalRunSerializer(item: _EvaluationScheduleTaskEvalRun): any;
|
|
3701
2914
|
export declare function _evaluationScheduleTaskEvalRunDeserializer(item: any): _EvaluationScheduleTaskEvalRun;
|
|
@@ -3743,10 +2956,24 @@ export interface _PagedScheduleRun {
|
|
|
3743
2956
|
}
|
|
3744
2957
|
export declare function _pagedScheduleRunDeserializer(item: any): _PagedScheduleRun;
|
|
3745
2958
|
export declare function scheduleRunArrayDeserializer(result: Array<ScheduleRun>): any[];
|
|
2959
|
+
/** Alias for _CreateAgentRequestFoundryFeatures */
|
|
2960
|
+
export type _CreateAgentRequestFoundryFeatures = "HostedAgents=V1Preview" | "WorkflowAgents=V1Preview";
|
|
2961
|
+
export declare function _createAgentRequestFoundryFeaturesSerializer(item: _CreateAgentRequestFoundryFeatures): any;
|
|
2962
|
+
/** Alias for _UpdateAgentRequestFoundryFeatures */
|
|
2963
|
+
export type _UpdateAgentRequestFoundryFeatures = "HostedAgents=V1Preview" | "WorkflowAgents=V1Preview";
|
|
2964
|
+
export declare function _updateAgentRequestFoundryFeaturesSerializer(item: _UpdateAgentRequestFoundryFeatures): any;
|
|
2965
|
+
/** Alias for _CreateAgentVersionRequestFoundryFeatures */
|
|
2966
|
+
export type _CreateAgentVersionRequestFoundryFeatures = "HostedAgents=V1Preview" | "WorkflowAgents=V1Preview";
|
|
2967
|
+
export declare function _createAgentVersionRequestFoundryFeaturesSerializer(item: _CreateAgentVersionRequestFoundryFeatures): any;
|
|
2968
|
+
/** Alias for _ListVersionsRequestType */
|
|
2969
|
+
export type _ListVersionsRequestType = EvaluatorType | "all";
|
|
2970
|
+
export declare function _listVersionsRequestTypeSerializer(item: _ListVersionsRequestType): any;
|
|
3746
2971
|
/** Type of AgentType */
|
|
3747
2972
|
export type AgentType = "agent" | "agent.version" | "agent.deleted" | "agent.version.deleted" | "agent.container";
|
|
2973
|
+
/** Feature opt-in keys for agent definition operations supporting hosted or workflow agents. */
|
|
2974
|
+
export type AgentDefinitionOptInKeys = "HostedAgents=V1Preview" | "WorkflowAgents=V1Preview";
|
|
3748
2975
|
/** Type of FoundryFeaturesOptInKeys */
|
|
3749
|
-
export type FoundryFeaturesOptInKeys = "
|
|
2976
|
+
export type FoundryFeaturesOptInKeys = "Evaluations=V1Preview" | "Schedules=V1Preview" | "RedTeams=V1Preview" | "Insights=V1Preview" | "MemoryStores=V1Preview";
|
|
3750
2977
|
/** Type of PageOrder */
|
|
3751
2978
|
export type PageOrder = "asc" | "desc";
|
|
3752
2979
|
/** The type of pending upload. */
|