@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
|
@@ -48,8 +48,6 @@ export function agentDefinitionUnionSerializer(item) {
|
|
|
48
48
|
return workflowAgentDefinitionSerializer(item);
|
|
49
49
|
case "hosted":
|
|
50
50
|
return hostedAgentDefinitionSerializer(item);
|
|
51
|
-
case "container_app":
|
|
52
|
-
return containerAppAgentDefinitionSerializer(item);
|
|
53
51
|
default:
|
|
54
52
|
return agentDefinitionSerializer(item);
|
|
55
53
|
}
|
|
@@ -62,8 +60,6 @@ export function agentDefinitionUnionDeserializer(item) {
|
|
|
62
60
|
return workflowAgentDefinitionDeserializer(item);
|
|
63
61
|
case "hosted":
|
|
64
62
|
return hostedAgentDefinitionDeserializer(item);
|
|
65
|
-
case "container_app":
|
|
66
|
-
return containerAppAgentDefinitionDeserializer(item);
|
|
67
63
|
default:
|
|
68
64
|
return agentDefinitionDeserializer(item);
|
|
69
65
|
}
|
|
@@ -437,18 +433,14 @@ export function openApiFunctionDefinitionSerializer(item) {
|
|
|
437
433
|
description: item["description"],
|
|
438
434
|
spec: item["spec"],
|
|
439
435
|
auth: openApiAuthDetailsUnionSerializer(item["auth"]),
|
|
440
|
-
default_params:
|
|
441
|
-
? item["default_params"]
|
|
442
|
-
: item["default_params"].map((p) => {
|
|
443
|
-
return p;
|
|
444
|
-
}),
|
|
436
|
+
default_params: item["default_params"],
|
|
445
437
|
};
|
|
446
438
|
}
|
|
447
439
|
export function openApiFunctionDefinitionDeserializer(item) {
|
|
448
440
|
return {
|
|
449
441
|
name: item["name"],
|
|
450
442
|
description: item["description"],
|
|
451
|
-
spec:
|
|
443
|
+
spec: item["spec"],
|
|
452
444
|
auth: openApiAuthDetailsUnionDeserializer(item["auth"]),
|
|
453
445
|
default_params: !item["default_params"]
|
|
454
446
|
? item["default_params"]
|
|
@@ -549,7 +541,7 @@ export function _openApiFunctionDefinitionFunctionDeserializer(item) {
|
|
|
549
541
|
return {
|
|
550
542
|
name: item["name"],
|
|
551
543
|
description: item["description"],
|
|
552
|
-
parameters:
|
|
544
|
+
parameters: item["parameters"],
|
|
553
545
|
};
|
|
554
546
|
}
|
|
555
547
|
export function bingCustomSearchPreviewToolSerializer(item) {
|
|
@@ -665,7 +657,7 @@ export function _azureFunctionDefinitionFunctionDeserializer(item) {
|
|
|
665
657
|
return {
|
|
666
658
|
name: item["name"],
|
|
667
659
|
description: item["description"],
|
|
668
|
-
parameters:
|
|
660
|
+
parameters: item["parameters"],
|
|
669
661
|
};
|
|
670
662
|
}
|
|
671
663
|
export function azureFunctionBindingSerializer(item) {
|
|
@@ -710,7 +702,7 @@ export function structuredOutputDefinitionDeserializer(item) {
|
|
|
710
702
|
return {
|
|
711
703
|
name: item["name"],
|
|
712
704
|
description: item["description"],
|
|
713
|
-
schema:
|
|
705
|
+
schema: item["schema"],
|
|
714
706
|
strict: item["strict"],
|
|
715
707
|
};
|
|
716
708
|
}
|
|
@@ -782,7 +774,7 @@ export function _codeInterpreterToolContainerSerializer(item) {
|
|
|
782
774
|
export function _codeInterpreterToolContainerDeserializer(item) {
|
|
783
775
|
return item;
|
|
784
776
|
}
|
|
785
|
-
export function
|
|
777
|
+
export function autoCodeInterpreterToolParamSerializer(item) {
|
|
786
778
|
return {
|
|
787
779
|
type: item["type"],
|
|
788
780
|
file_ids: !item["file_ids"]
|
|
@@ -791,9 +783,12 @@ export function codeInterpreterContainerAutoSerializer(item) {
|
|
|
791
783
|
return p;
|
|
792
784
|
}),
|
|
793
785
|
memory_limit: item["memory_limit"],
|
|
786
|
+
network_policy: !item["network_policy"]
|
|
787
|
+
? item["network_policy"]
|
|
788
|
+
: containerNetworkPolicyParamUnionSerializer(item["network_policy"]),
|
|
794
789
|
};
|
|
795
790
|
}
|
|
796
|
-
export function
|
|
791
|
+
export function autoCodeInterpreterToolParamDeserializer(item) {
|
|
797
792
|
return {
|
|
798
793
|
type: item["type"],
|
|
799
794
|
file_ids: !item["file_ids"]
|
|
@@ -802,6 +797,83 @@ export function codeInterpreterContainerAutoDeserializer(item) {
|
|
|
802
797
|
return p;
|
|
803
798
|
}),
|
|
804
799
|
memory_limit: item["memory_limit"],
|
|
800
|
+
network_policy: !item["network_policy"]
|
|
801
|
+
? item["network_policy"]
|
|
802
|
+
: containerNetworkPolicyParamUnionDeserializer(item["network_policy"]),
|
|
803
|
+
};
|
|
804
|
+
}
|
|
805
|
+
export function containerNetworkPolicyParamSerializer(item) {
|
|
806
|
+
return { type: item["type"] };
|
|
807
|
+
}
|
|
808
|
+
export function containerNetworkPolicyParamDeserializer(item) {
|
|
809
|
+
return {
|
|
810
|
+
type: item["type"],
|
|
811
|
+
};
|
|
812
|
+
}
|
|
813
|
+
export function containerNetworkPolicyParamUnionSerializer(item) {
|
|
814
|
+
switch (item.type) {
|
|
815
|
+
case "disabled":
|
|
816
|
+
return containerNetworkPolicyDisabledParamSerializer(item);
|
|
817
|
+
case "allowlist":
|
|
818
|
+
return containerNetworkPolicyAllowlistParamSerializer(item);
|
|
819
|
+
default:
|
|
820
|
+
return containerNetworkPolicyParamSerializer(item);
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
export function containerNetworkPolicyParamUnionDeserializer(item) {
|
|
824
|
+
switch (item["type"]) {
|
|
825
|
+
case "disabled":
|
|
826
|
+
return containerNetworkPolicyDisabledParamDeserializer(item);
|
|
827
|
+
case "allowlist":
|
|
828
|
+
return containerNetworkPolicyAllowlistParamDeserializer(item);
|
|
829
|
+
default:
|
|
830
|
+
return containerNetworkPolicyParamDeserializer(item);
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
export function containerNetworkPolicyDisabledParamSerializer(item) {
|
|
834
|
+
return { type: item["type"] };
|
|
835
|
+
}
|
|
836
|
+
export function containerNetworkPolicyDisabledParamDeserializer(item) {
|
|
837
|
+
return {
|
|
838
|
+
type: item["type"],
|
|
839
|
+
};
|
|
840
|
+
}
|
|
841
|
+
export function containerNetworkPolicyAllowlistParamSerializer(item) {
|
|
842
|
+
return {
|
|
843
|
+
type: item["type"],
|
|
844
|
+
allowed_domains: item["allowed_domains"],
|
|
845
|
+
domain_secrets: !item["domain_secrets"]
|
|
846
|
+
? item["domain_secrets"]
|
|
847
|
+
: containerNetworkPolicyDomainSecretParamArraySerializer(item["domain_secrets"]),
|
|
848
|
+
};
|
|
849
|
+
}
|
|
850
|
+
export function containerNetworkPolicyAllowlistParamDeserializer(item) {
|
|
851
|
+
return {
|
|
852
|
+
type: item["type"],
|
|
853
|
+
allowed_domains: item["allowed_domains"],
|
|
854
|
+
domain_secrets: !item["domain_secrets"]
|
|
855
|
+
? item["domain_secrets"]
|
|
856
|
+
: containerNetworkPolicyDomainSecretParamArrayDeserializer(item["domain_secrets"]),
|
|
857
|
+
};
|
|
858
|
+
}
|
|
859
|
+
export function containerNetworkPolicyDomainSecretParamArraySerializer(result) {
|
|
860
|
+
return result.map((item) => {
|
|
861
|
+
return containerNetworkPolicyDomainSecretParamSerializer(item);
|
|
862
|
+
});
|
|
863
|
+
}
|
|
864
|
+
export function containerNetworkPolicyDomainSecretParamArrayDeserializer(result) {
|
|
865
|
+
return result.map((item) => {
|
|
866
|
+
return containerNetworkPolicyDomainSecretParamDeserializer(item);
|
|
867
|
+
});
|
|
868
|
+
}
|
|
869
|
+
export function containerNetworkPolicyDomainSecretParamSerializer(item) {
|
|
870
|
+
return { domain: item["domain"], name: item["name"], value: item["value"] };
|
|
871
|
+
}
|
|
872
|
+
export function containerNetworkPolicyDomainSecretParamDeserializer(item) {
|
|
873
|
+
return {
|
|
874
|
+
domain: item["domain"],
|
|
875
|
+
name: item["name"],
|
|
876
|
+
value: item["value"],
|
|
805
877
|
};
|
|
806
878
|
}
|
|
807
879
|
export function functionToolSerializer(item) {
|
|
@@ -818,18 +890,14 @@ export function functionToolDeserializer(item) {
|
|
|
818
890
|
type: item["type"],
|
|
819
891
|
name: item["name"],
|
|
820
892
|
description: item["description"],
|
|
821
|
-
parameters:
|
|
822
|
-
? item["parameters"]
|
|
823
|
-
: Object.fromEntries(Object.entries(item["parameters"]).map(([k1, p1]) => [k1, p1])),
|
|
893
|
+
parameters: item["parameters"],
|
|
824
894
|
strict: item["strict"],
|
|
825
895
|
};
|
|
826
896
|
}
|
|
827
897
|
export function fileSearchToolSerializer(item) {
|
|
828
898
|
return {
|
|
829
899
|
type: item["type"],
|
|
830
|
-
vector_store_ids: item["vector_store_ids"]
|
|
831
|
-
return p;
|
|
832
|
-
}),
|
|
900
|
+
vector_store_ids: item["vector_store_ids"],
|
|
833
901
|
max_num_results: item["max_num_results"],
|
|
834
902
|
ranking_options: !item["ranking_options"]
|
|
835
903
|
? item["ranking_options"]
|
|
@@ -840,9 +908,7 @@ export function fileSearchToolSerializer(item) {
|
|
|
840
908
|
export function fileSearchToolDeserializer(item) {
|
|
841
909
|
return {
|
|
842
910
|
type: item["type"],
|
|
843
|
-
vector_store_ids: item["vector_store_ids"]
|
|
844
|
-
return p;
|
|
845
|
-
}),
|
|
911
|
+
vector_store_ids: item["vector_store_ids"],
|
|
846
912
|
max_num_results: item["max_num_results"],
|
|
847
913
|
ranking_options: !item["ranking_options"]
|
|
848
914
|
? item["ranking_options"]
|
|
@@ -988,20 +1054,12 @@ export function webSearchToolDeserializer(item) {
|
|
|
988
1054
|
}
|
|
989
1055
|
export function webSearchToolFiltersSerializer(item) {
|
|
990
1056
|
return {
|
|
991
|
-
allowed_domains:
|
|
992
|
-
? item["allowed_domains"]
|
|
993
|
-
: item["allowed_domains"].map((p) => {
|
|
994
|
-
return p;
|
|
995
|
-
}),
|
|
1057
|
+
allowed_domains: item["allowed_domains"],
|
|
996
1058
|
};
|
|
997
1059
|
}
|
|
998
1060
|
export function webSearchToolFiltersDeserializer(item) {
|
|
999
1061
|
return {
|
|
1000
|
-
allowed_domains:
|
|
1001
|
-
? item["allowed_domains"]
|
|
1002
|
-
: item["allowed_domains"].map((p1) => {
|
|
1003
|
-
return p1;
|
|
1004
|
-
}),
|
|
1062
|
+
allowed_domains: item["allowed_domains"],
|
|
1005
1063
|
};
|
|
1006
1064
|
}
|
|
1007
1065
|
export function webSearchApproximateLocationSerializer(item) {
|
|
@@ -1060,9 +1118,7 @@ export function mcpToolDeserializer(item) {
|
|
|
1060
1118
|
connector_id: item["connector_id"],
|
|
1061
1119
|
authorization: item["authorization"],
|
|
1062
1120
|
server_description: item["server_description"],
|
|
1063
|
-
headers:
|
|
1064
|
-
? item["headers"]
|
|
1065
|
-
: Object.fromEntries(Object.entries(item["headers"]).map(([k1, p1]) => [k1, p1])),
|
|
1121
|
+
headers: item["headers"],
|
|
1066
1122
|
allowed_tools: !item["allowed_tools"]
|
|
1067
1123
|
? item["allowed_tools"]
|
|
1068
1124
|
: _mcpToolAllowedToolsDeserializer(item["allowed_tools"]),
|
|
@@ -1080,21 +1136,13 @@ export function _mcpToolAllowedToolsDeserializer(item) {
|
|
|
1080
1136
|
}
|
|
1081
1137
|
export function mcpToolFilterSerializer(item) {
|
|
1082
1138
|
return {
|
|
1083
|
-
tool_names:
|
|
1084
|
-
? item["tool_names"]
|
|
1085
|
-
: item["tool_names"].map((p) => {
|
|
1086
|
-
return p;
|
|
1087
|
-
}),
|
|
1139
|
+
tool_names: item["tool_names"],
|
|
1088
1140
|
read_only: item["read_only"],
|
|
1089
1141
|
};
|
|
1090
1142
|
}
|
|
1091
1143
|
export function mcpToolFilterDeserializer(item) {
|
|
1092
1144
|
return {
|
|
1093
|
-
tool_names:
|
|
1094
|
-
? item["tool_names"]
|
|
1095
|
-
: item["tool_names"].map((p) => {
|
|
1096
|
-
return p;
|
|
1097
|
-
}),
|
|
1145
|
+
tool_names: item["tool_names"],
|
|
1098
1146
|
read_only: item["read_only"],
|
|
1099
1147
|
};
|
|
1100
1148
|
}
|
|
@@ -1168,11 +1216,188 @@ export function localShellToolParamDeserializer(item) {
|
|
|
1168
1216
|
};
|
|
1169
1217
|
}
|
|
1170
1218
|
export function functionShellToolParamSerializer(item) {
|
|
1171
|
-
return {
|
|
1219
|
+
return {
|
|
1220
|
+
type: item["type"],
|
|
1221
|
+
environment: !item["environment"]
|
|
1222
|
+
? item["environment"]
|
|
1223
|
+
: functionShellToolParamEnvironmentUnionSerializer(item["environment"]),
|
|
1224
|
+
};
|
|
1172
1225
|
}
|
|
1173
1226
|
export function functionShellToolParamDeserializer(item) {
|
|
1174
1227
|
return {
|
|
1175
1228
|
type: item["type"],
|
|
1229
|
+
environment: !item["environment"]
|
|
1230
|
+
? item["environment"]
|
|
1231
|
+
: functionShellToolParamEnvironmentUnionDeserializer(item["environment"]),
|
|
1232
|
+
};
|
|
1233
|
+
}
|
|
1234
|
+
export function functionShellToolParamEnvironmentSerializer(item) {
|
|
1235
|
+
return { type: item["type"] };
|
|
1236
|
+
}
|
|
1237
|
+
export function functionShellToolParamEnvironmentDeserializer(item) {
|
|
1238
|
+
return {
|
|
1239
|
+
type: item["type"],
|
|
1240
|
+
};
|
|
1241
|
+
}
|
|
1242
|
+
export function functionShellToolParamEnvironmentUnionSerializer(item) {
|
|
1243
|
+
switch (item.type) {
|
|
1244
|
+
case "local":
|
|
1245
|
+
return functionShellToolParamEnvironmentLocalEnvironmentParamSerializer(item);
|
|
1246
|
+
case "container_reference":
|
|
1247
|
+
return functionShellToolParamEnvironmentContainerReferenceParamSerializer(item);
|
|
1248
|
+
case "container_auto":
|
|
1249
|
+
return containerAutoParamSerializer(item);
|
|
1250
|
+
default:
|
|
1251
|
+
return functionShellToolParamEnvironmentSerializer(item);
|
|
1252
|
+
}
|
|
1253
|
+
}
|
|
1254
|
+
export function functionShellToolParamEnvironmentUnionDeserializer(item) {
|
|
1255
|
+
switch (item["type"]) {
|
|
1256
|
+
case "local":
|
|
1257
|
+
return functionShellToolParamEnvironmentLocalEnvironmentParamDeserializer(item);
|
|
1258
|
+
case "container_reference":
|
|
1259
|
+
return functionShellToolParamEnvironmentContainerReferenceParamDeserializer(item);
|
|
1260
|
+
case "container_auto":
|
|
1261
|
+
return containerAutoParamDeserializer(item);
|
|
1262
|
+
default:
|
|
1263
|
+
return functionShellToolParamEnvironmentDeserializer(item);
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
export function functionShellToolParamEnvironmentLocalEnvironmentParamSerializer(item) {
|
|
1267
|
+
return {
|
|
1268
|
+
type: item["type"],
|
|
1269
|
+
skills: !item["skills"] ? item["skills"] : localSkillParamArraySerializer(item["skills"]),
|
|
1270
|
+
};
|
|
1271
|
+
}
|
|
1272
|
+
export function functionShellToolParamEnvironmentLocalEnvironmentParamDeserializer(item) {
|
|
1273
|
+
return {
|
|
1274
|
+
type: item["type"],
|
|
1275
|
+
skills: !item["skills"] ? item["skills"] : localSkillParamArrayDeserializer(item["skills"]),
|
|
1276
|
+
};
|
|
1277
|
+
}
|
|
1278
|
+
export function localSkillParamArraySerializer(result) {
|
|
1279
|
+
return result.map((item) => {
|
|
1280
|
+
return localSkillParamSerializer(item);
|
|
1281
|
+
});
|
|
1282
|
+
}
|
|
1283
|
+
export function localSkillParamArrayDeserializer(result) {
|
|
1284
|
+
return result.map((item) => {
|
|
1285
|
+
return localSkillParamDeserializer(item);
|
|
1286
|
+
});
|
|
1287
|
+
}
|
|
1288
|
+
export function localSkillParamSerializer(item) {
|
|
1289
|
+
return { name: item["name"], description: item["description"], path: item["path"] };
|
|
1290
|
+
}
|
|
1291
|
+
export function localSkillParamDeserializer(item) {
|
|
1292
|
+
return {
|
|
1293
|
+
name: item["name"],
|
|
1294
|
+
description: item["description"],
|
|
1295
|
+
path: item["path"],
|
|
1296
|
+
};
|
|
1297
|
+
}
|
|
1298
|
+
export function functionShellToolParamEnvironmentContainerReferenceParamSerializer(item) {
|
|
1299
|
+
return { type: item["type"], container_id: item["container_id"] };
|
|
1300
|
+
}
|
|
1301
|
+
export function functionShellToolParamEnvironmentContainerReferenceParamDeserializer(item) {
|
|
1302
|
+
return {
|
|
1303
|
+
type: item["type"],
|
|
1304
|
+
container_id: item["container_id"],
|
|
1305
|
+
};
|
|
1306
|
+
}
|
|
1307
|
+
export function containerAutoParamSerializer(item) {
|
|
1308
|
+
return {
|
|
1309
|
+
type: item["type"],
|
|
1310
|
+
file_ids: item["file_ids"],
|
|
1311
|
+
memory_limit: item["memory_limit"],
|
|
1312
|
+
skills: !item["skills"] ? item["skills"] : containerSkillUnionArraySerializer(item["skills"]),
|
|
1313
|
+
network_policy: !item["network_policy"]
|
|
1314
|
+
? item["network_policy"]
|
|
1315
|
+
: containerNetworkPolicyParamUnionSerializer(item["network_policy"]),
|
|
1316
|
+
};
|
|
1317
|
+
}
|
|
1318
|
+
export function containerAutoParamDeserializer(item) {
|
|
1319
|
+
return {
|
|
1320
|
+
type: item["type"],
|
|
1321
|
+
file_ids: item["file_ids"],
|
|
1322
|
+
memory_limit: item["memory_limit"],
|
|
1323
|
+
skills: !item["skills"] ? item["skills"] : containerSkillUnionArrayDeserializer(item["skills"]),
|
|
1324
|
+
network_policy: !item["network_policy"]
|
|
1325
|
+
? item["network_policy"]
|
|
1326
|
+
: containerNetworkPolicyParamUnionDeserializer(item["network_policy"]),
|
|
1327
|
+
};
|
|
1328
|
+
}
|
|
1329
|
+
export function containerSkillUnionArraySerializer(result) {
|
|
1330
|
+
return result.map((item) => {
|
|
1331
|
+
return containerSkillUnionSerializer(item);
|
|
1332
|
+
});
|
|
1333
|
+
}
|
|
1334
|
+
export function containerSkillUnionArrayDeserializer(result) {
|
|
1335
|
+
return result.map((item) => {
|
|
1336
|
+
return containerSkillUnionDeserializer(item);
|
|
1337
|
+
});
|
|
1338
|
+
}
|
|
1339
|
+
export function containerSkillSerializer(item) {
|
|
1340
|
+
return { type: item["type"] };
|
|
1341
|
+
}
|
|
1342
|
+
export function containerSkillDeserializer(item) {
|
|
1343
|
+
return {
|
|
1344
|
+
type: item["type"],
|
|
1345
|
+
};
|
|
1346
|
+
}
|
|
1347
|
+
export function containerSkillUnionSerializer(item) {
|
|
1348
|
+
switch (item.type) {
|
|
1349
|
+
case "skill_reference":
|
|
1350
|
+
return skillReferenceParamSerializer(item);
|
|
1351
|
+
case "inline":
|
|
1352
|
+
return inlineSkillParamSerializer(item);
|
|
1353
|
+
default:
|
|
1354
|
+
return containerSkillSerializer(item);
|
|
1355
|
+
}
|
|
1356
|
+
}
|
|
1357
|
+
export function containerSkillUnionDeserializer(item) {
|
|
1358
|
+
switch (item["type"]) {
|
|
1359
|
+
case "skill_reference":
|
|
1360
|
+
return skillReferenceParamDeserializer(item);
|
|
1361
|
+
case "inline":
|
|
1362
|
+
return inlineSkillParamDeserializer(item);
|
|
1363
|
+
default:
|
|
1364
|
+
return containerSkillDeserializer(item);
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
export function skillReferenceParamSerializer(item) {
|
|
1368
|
+
return { type: item["type"], skill_id: item["skill_id"], version: item["version"] };
|
|
1369
|
+
}
|
|
1370
|
+
export function skillReferenceParamDeserializer(item) {
|
|
1371
|
+
return {
|
|
1372
|
+
type: item["type"],
|
|
1373
|
+
skill_id: item["skill_id"],
|
|
1374
|
+
version: item["version"],
|
|
1375
|
+
};
|
|
1376
|
+
}
|
|
1377
|
+
export function inlineSkillParamSerializer(item) {
|
|
1378
|
+
return {
|
|
1379
|
+
type: item["type"],
|
|
1380
|
+
name: item["name"],
|
|
1381
|
+
description: item["description"],
|
|
1382
|
+
source: inlineSkillSourceParamSerializer(item["source"]),
|
|
1383
|
+
};
|
|
1384
|
+
}
|
|
1385
|
+
export function inlineSkillParamDeserializer(item) {
|
|
1386
|
+
return {
|
|
1387
|
+
type: item["type"],
|
|
1388
|
+
name: item["name"],
|
|
1389
|
+
description: item["description"],
|
|
1390
|
+
source: inlineSkillSourceParamDeserializer(item["source"]),
|
|
1391
|
+
};
|
|
1392
|
+
}
|
|
1393
|
+
export function inlineSkillSourceParamSerializer(item) {
|
|
1394
|
+
return { type: item["type"], media_type: item["media_type"], data: item["data"] };
|
|
1395
|
+
}
|
|
1396
|
+
export function inlineSkillSourceParamDeserializer(item) {
|
|
1397
|
+
return {
|
|
1398
|
+
type: item["type"],
|
|
1399
|
+
media_type: item["media_type"],
|
|
1400
|
+
data: item["data"],
|
|
1176
1401
|
};
|
|
1177
1402
|
}
|
|
1178
1403
|
export function customToolParamSerializer(item) {
|
|
@@ -1361,18 +1586,14 @@ export function toolChoiceAllowedSerializer(item) {
|
|
|
1361
1586
|
return {
|
|
1362
1587
|
type: item["type"],
|
|
1363
1588
|
mode: item["mode"],
|
|
1364
|
-
tools: item["tools"]
|
|
1365
|
-
return p;
|
|
1366
|
-
}),
|
|
1589
|
+
tools: item["tools"],
|
|
1367
1590
|
};
|
|
1368
1591
|
}
|
|
1369
1592
|
export function toolChoiceAllowedDeserializer(item) {
|
|
1370
1593
|
return {
|
|
1371
1594
|
type: item["type"],
|
|
1372
1595
|
mode: item["mode"],
|
|
1373
|
-
tools: item["tools"]
|
|
1374
|
-
return Object.fromEntries(Object.entries(p).map(([k1, p1]) => [k1, p1]));
|
|
1375
|
-
}),
|
|
1596
|
+
tools: item["tools"],
|
|
1376
1597
|
};
|
|
1377
1598
|
}
|
|
1378
1599
|
export function toolChoiceFunctionSerializer(item) {
|
|
@@ -1527,7 +1748,7 @@ export function textResponseFormatJsonSchemaDeserializer(item) {
|
|
|
1527
1748
|
type: item["type"],
|
|
1528
1749
|
description: item["description"],
|
|
1529
1750
|
name: item["name"],
|
|
1530
|
-
schema:
|
|
1751
|
+
schema: item["schema"],
|
|
1531
1752
|
strict: item["strict"],
|
|
1532
1753
|
};
|
|
1533
1754
|
}
|
|
@@ -1573,9 +1794,7 @@ export function structuredInputDefinitionDeserializer(item) {
|
|
|
1573
1794
|
return {
|
|
1574
1795
|
description: item["description"],
|
|
1575
1796
|
default_value: item["default_value"],
|
|
1576
|
-
schema:
|
|
1577
|
-
? item["schema"]
|
|
1578
|
-
: Object.fromEntries(Object.entries(item["schema"]).map(([k, p]) => [k, p])),
|
|
1797
|
+
schema: item["schema"],
|
|
1579
1798
|
required: item["required"],
|
|
1580
1799
|
};
|
|
1581
1800
|
}
|
|
@@ -1617,9 +1836,7 @@ export function hostedAgentDefinitionDeserializer(item) {
|
|
|
1617
1836
|
container_protocol_versions: protocolVersionRecordArrayDeserializer(item["container_protocol_versions"]),
|
|
1618
1837
|
cpu: item["cpu"],
|
|
1619
1838
|
memory: item["memory"],
|
|
1620
|
-
environment_variables:
|
|
1621
|
-
? item["environment_variables"]
|
|
1622
|
-
: Object.fromEntries(Object.entries(item["environment_variables"]).map(([k, p]) => [k, p])),
|
|
1839
|
+
environment_variables: item["environment_variables"],
|
|
1623
1840
|
image: item["image"],
|
|
1624
1841
|
};
|
|
1625
1842
|
}
|
|
@@ -1642,26 +1859,6 @@ export function protocolVersionRecordDeserializer(item) {
|
|
|
1642
1859
|
version: item["version"],
|
|
1643
1860
|
};
|
|
1644
1861
|
}
|
|
1645
|
-
export function containerAppAgentDefinitionSerializer(item) {
|
|
1646
|
-
return {
|
|
1647
|
-
kind: item["kind"],
|
|
1648
|
-
rai_config: !item["rai_config"] ? item["rai_config"] : raiConfigSerializer(item["rai_config"]),
|
|
1649
|
-
container_protocol_versions: protocolVersionRecordArraySerializer(item["container_protocol_versions"]),
|
|
1650
|
-
container_app_resource_id: item["container_app_resource_id"],
|
|
1651
|
-
ingress_subdomain_suffix: item["ingress_subdomain_suffix"],
|
|
1652
|
-
};
|
|
1653
|
-
}
|
|
1654
|
-
export function containerAppAgentDefinitionDeserializer(item) {
|
|
1655
|
-
return {
|
|
1656
|
-
kind: item["kind"],
|
|
1657
|
-
rai_config: !item["rai_config"]
|
|
1658
|
-
? item["rai_config"]
|
|
1659
|
-
: raiConfigDeserializer(item["rai_config"]),
|
|
1660
|
-
container_protocol_versions: protocolVersionRecordArrayDeserializer(item["container_protocol_versions"]),
|
|
1661
|
-
container_app_resource_id: item["container_app_resource_id"],
|
|
1662
|
-
ingress_subdomain_suffix: item["ingress_subdomain_suffix"],
|
|
1663
|
-
};
|
|
1664
|
-
}
|
|
1665
1862
|
export function apiErrorResponseDeserializer(item) {
|
|
1666
1863
|
return {
|
|
1667
1864
|
error: errorDeserializer(item["error"]),
|
|
@@ -1674,12 +1871,8 @@ export function errorDeserializer(item) {
|
|
|
1674
1871
|
param: item["param"],
|
|
1675
1872
|
type: item["type"],
|
|
1676
1873
|
details: !item["details"] ? item["details"] : errorArrayDeserializer(item["details"]),
|
|
1677
|
-
additionalInfo:
|
|
1678
|
-
|
|
1679
|
-
: Object.fromEntries(Object.entries(item["additionalInfo"]).map(([k, p]) => [k, p])),
|
|
1680
|
-
debugInfo: !item["debugInfo"]
|
|
1681
|
-
? item["debugInfo"]
|
|
1682
|
-
: Object.fromEntries(Object.entries(item["debugInfo"]).map(([k, p]) => [k, p])),
|
|
1874
|
+
additionalInfo: item["additionalInfo"],
|
|
1875
|
+
debugInfo: item["debugInfo"],
|
|
1683
1876
|
};
|
|
1684
1877
|
}
|
|
1685
1878
|
export function errorArrayDeserializer(result) {
|
|
@@ -1747,7 +1940,7 @@ export function evaluationRuleDeserializer(item) {
|
|
|
1747
1940
|
filter: !item["filter"] ? item["filter"] : evaluationRuleFilterDeserializer(item["filter"]),
|
|
1748
1941
|
eventType: item["eventType"],
|
|
1749
1942
|
enabled: item["enabled"],
|
|
1750
|
-
systemData:
|
|
1943
|
+
systemData: item["systemData"],
|
|
1751
1944
|
};
|
|
1752
1945
|
}
|
|
1753
1946
|
export function evaluationRuleActionSerializer(item) {
|
|
@@ -1829,7 +2022,7 @@ export function connectionDeserializer(item) {
|
|
|
1829
2022
|
target: item["target"],
|
|
1830
2023
|
isDefault: item["isDefault"],
|
|
1831
2024
|
credentials: baseCredentialsUnionDeserializer(item["credentials"]),
|
|
1832
|
-
metadata:
|
|
2025
|
+
metadata: item["metadata"],
|
|
1833
2026
|
};
|
|
1834
2027
|
}
|
|
1835
2028
|
export function baseCredentialsDeserializer(item) {
|
|
@@ -1934,9 +2127,7 @@ export function datasetVersionDeserializer(item) {
|
|
|
1934
2127
|
name: item["name"],
|
|
1935
2128
|
version: item["version"],
|
|
1936
2129
|
description: item["description"],
|
|
1937
|
-
tags:
|
|
1938
|
-
? item["tags"]
|
|
1939
|
-
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
2130
|
+
tags: item["tags"],
|
|
1940
2131
|
};
|
|
1941
2132
|
}
|
|
1942
2133
|
export function datasetVersionUnionSerializer(item) {
|
|
@@ -1978,9 +2169,7 @@ export function fileDatasetVersionDeserializer(item) {
|
|
|
1978
2169
|
name: item["name"],
|
|
1979
2170
|
version: item["version"],
|
|
1980
2171
|
description: item["description"],
|
|
1981
|
-
tags:
|
|
1982
|
-
? item["tags"]
|
|
1983
|
-
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
2172
|
+
tags: item["tags"],
|
|
1984
2173
|
};
|
|
1985
2174
|
}
|
|
1986
2175
|
export function folderDatasetVersionSerializer(item) {
|
|
@@ -2002,9 +2191,7 @@ export function folderDatasetVersionDeserializer(item) {
|
|
|
2002
2191
|
name: item["name"],
|
|
2003
2192
|
version: item["version"],
|
|
2004
2193
|
description: item["description"],
|
|
2005
|
-
tags:
|
|
2006
|
-
? item["tags"]
|
|
2007
|
-
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
2194
|
+
tags: item["tags"],
|
|
2008
2195
|
};
|
|
2009
2196
|
}
|
|
2010
2197
|
export function pendingUploadRequestSerializer(item) {
|
|
@@ -2061,7 +2248,7 @@ export function modelDeploymentDeserializer(item) {
|
|
|
2061
2248
|
modelName: item["modelName"],
|
|
2062
2249
|
modelVersion: item["modelVersion"],
|
|
2063
2250
|
modelPublisher: item["modelPublisher"],
|
|
2064
|
-
capabilities:
|
|
2251
|
+
capabilities: item["capabilities"],
|
|
2065
2252
|
sku: modelDeploymentSkuDeserializer(item["sku"]),
|
|
2066
2253
|
connectionName: item["connectionName"],
|
|
2067
2254
|
};
|
|
@@ -2112,9 +2299,7 @@ export function indexDeserializer(item) {
|
|
|
2112
2299
|
name: item["name"],
|
|
2113
2300
|
version: item["version"],
|
|
2114
2301
|
description: item["description"],
|
|
2115
|
-
tags:
|
|
2116
|
-
? item["tags"]
|
|
2117
|
-
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
2302
|
+
tags: item["tags"],
|
|
2118
2303
|
};
|
|
2119
2304
|
}
|
|
2120
2305
|
export function indexUnionSerializer(item) {
|
|
@@ -2160,9 +2345,7 @@ export function azureAISearchIndexDeserializer(item) {
|
|
|
2160
2345
|
name: item["name"],
|
|
2161
2346
|
version: item["version"],
|
|
2162
2347
|
description: item["description"],
|
|
2163
|
-
tags:
|
|
2164
|
-
? item["tags"]
|
|
2165
|
-
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
2348
|
+
tags: item["tags"],
|
|
2166
2349
|
connectionName: item["connectionName"],
|
|
2167
2350
|
indexName: item["indexName"],
|
|
2168
2351
|
fieldMapping: !item["fieldMapping"]
|
|
@@ -2172,42 +2355,22 @@ export function azureAISearchIndexDeserializer(item) {
|
|
|
2172
2355
|
}
|
|
2173
2356
|
export function fieldMappingSerializer(item) {
|
|
2174
2357
|
return {
|
|
2175
|
-
contentFields: item["contentFields"]
|
|
2176
|
-
return p;
|
|
2177
|
-
}),
|
|
2358
|
+
contentFields: item["contentFields"],
|
|
2178
2359
|
filepathField: item["filepathField"],
|
|
2179
2360
|
titleField: item["titleField"],
|
|
2180
2361
|
urlField: item["urlField"],
|
|
2181
|
-
vectorFields:
|
|
2182
|
-
|
|
2183
|
-
: item["vectorFields"].map((p) => {
|
|
2184
|
-
return p;
|
|
2185
|
-
}),
|
|
2186
|
-
metadataFields: !item["metadataFields"]
|
|
2187
|
-
? item["metadataFields"]
|
|
2188
|
-
: item["metadataFields"].map((p) => {
|
|
2189
|
-
return p;
|
|
2190
|
-
}),
|
|
2362
|
+
vectorFields: item["vectorFields"],
|
|
2363
|
+
metadataFields: item["metadataFields"],
|
|
2191
2364
|
};
|
|
2192
2365
|
}
|
|
2193
2366
|
export function fieldMappingDeserializer(item) {
|
|
2194
2367
|
return {
|
|
2195
|
-
contentFields: item["contentFields"]
|
|
2196
|
-
return p;
|
|
2197
|
-
}),
|
|
2368
|
+
contentFields: item["contentFields"],
|
|
2198
2369
|
filepathField: item["filepathField"],
|
|
2199
2370
|
titleField: item["titleField"],
|
|
2200
2371
|
urlField: item["urlField"],
|
|
2201
|
-
vectorFields:
|
|
2202
|
-
|
|
2203
|
-
: item["vectorFields"].map((p) => {
|
|
2204
|
-
return p;
|
|
2205
|
-
}),
|
|
2206
|
-
metadataFields: !item["metadataFields"]
|
|
2207
|
-
? item["metadataFields"]
|
|
2208
|
-
: item["metadataFields"].map((p) => {
|
|
2209
|
-
return p;
|
|
2210
|
-
}),
|
|
2372
|
+
vectorFields: item["vectorFields"],
|
|
2373
|
+
metadataFields: item["metadataFields"],
|
|
2211
2374
|
};
|
|
2212
2375
|
}
|
|
2213
2376
|
export function managedAzureAISearchIndexSerializer(item) {
|
|
@@ -2225,9 +2388,7 @@ export function managedAzureAISearchIndexDeserializer(item) {
|
|
|
2225
2388
|
name: item["name"],
|
|
2226
2389
|
version: item["version"],
|
|
2227
2390
|
description: item["description"],
|
|
2228
|
-
tags:
|
|
2229
|
-
? item["tags"]
|
|
2230
|
-
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
2391
|
+
tags: item["tags"],
|
|
2231
2392
|
vectorStoreId: item["vectorStoreId"],
|
|
2232
2393
|
};
|
|
2233
2394
|
}
|
|
@@ -2250,9 +2411,7 @@ export function cosmosDBIndexDeserializer(item) {
|
|
|
2250
2411
|
name: item["name"],
|
|
2251
2412
|
version: item["version"],
|
|
2252
2413
|
description: item["description"],
|
|
2253
|
-
tags:
|
|
2254
|
-
? item["tags"]
|
|
2255
|
-
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
2414
|
+
tags: item["tags"],
|
|
2256
2415
|
connectionName: item["connectionName"],
|
|
2257
2416
|
databaseName: item["databaseName"],
|
|
2258
2417
|
containerName: item["containerName"],
|
|
@@ -2289,16 +2448,12 @@ export function evaluationTaxonomyDeserializer(item) {
|
|
|
2289
2448
|
name: item["name"],
|
|
2290
2449
|
version: item["version"],
|
|
2291
2450
|
description: item["description"],
|
|
2292
|
-
tags:
|
|
2293
|
-
? item["tags"]
|
|
2294
|
-
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
2451
|
+
tags: item["tags"],
|
|
2295
2452
|
taxonomyInput: evaluationTaxonomyInputUnionDeserializer(item["taxonomyInput"]),
|
|
2296
2453
|
taxonomyCategories: !item["taxonomyCategories"]
|
|
2297
2454
|
? item["taxonomyCategories"]
|
|
2298
2455
|
: taxonomyCategoryArrayDeserializer(item["taxonomyCategories"]),
|
|
2299
|
-
properties:
|
|
2300
|
-
? item["properties"]
|
|
2301
|
-
: Object.fromEntries(Object.entries(item["properties"]).map(([k, p]) => [k, p])),
|
|
2456
|
+
properties: item["properties"],
|
|
2302
2457
|
};
|
|
2303
2458
|
}
|
|
2304
2459
|
export function evaluationTaxonomyInputSerializer(item) {
|
|
@@ -2329,18 +2484,14 @@ export function agentTaxonomyInputSerializer(item) {
|
|
|
2329
2484
|
return {
|
|
2330
2485
|
type: item["type"],
|
|
2331
2486
|
target: targetUnionSerializer(item["target"]),
|
|
2332
|
-
riskCategories: item["riskCategories"]
|
|
2333
|
-
return p;
|
|
2334
|
-
}),
|
|
2487
|
+
riskCategories: item["riskCategories"],
|
|
2335
2488
|
};
|
|
2336
2489
|
}
|
|
2337
2490
|
export function agentTaxonomyInputDeserializer(item) {
|
|
2338
2491
|
return {
|
|
2339
2492
|
type: item["type"],
|
|
2340
2493
|
target: targetUnionDeserializer(item["target"]),
|
|
2341
|
-
riskCategories: item["riskCategories"]
|
|
2342
|
-
return p;
|
|
2343
|
-
}),
|
|
2494
|
+
riskCategories: item["riskCategories"],
|
|
2344
2495
|
};
|
|
2345
2496
|
}
|
|
2346
2497
|
export function targetSerializer(item) {
|
|
@@ -2471,9 +2622,7 @@ export function taxonomyCategoryDeserializer(item) {
|
|
|
2471
2622
|
description: item["description"],
|
|
2472
2623
|
riskCategory: item["riskCategory"],
|
|
2473
2624
|
subCategories: taxonomySubCategoryArrayDeserializer(item["subCategories"]),
|
|
2474
|
-
properties:
|
|
2475
|
-
? item["properties"]
|
|
2476
|
-
: Object.fromEntries(Object.entries(item["properties"]).map(([k, p]) => [k, p])),
|
|
2625
|
+
properties: item["properties"],
|
|
2477
2626
|
};
|
|
2478
2627
|
}
|
|
2479
2628
|
export function taxonomySubCategoryArraySerializer(result) {
|
|
@@ -2501,9 +2650,7 @@ export function taxonomySubCategoryDeserializer(item) {
|
|
|
2501
2650
|
name: item["name"],
|
|
2502
2651
|
description: item["description"],
|
|
2503
2652
|
enabled: item["enabled"],
|
|
2504
|
-
properties:
|
|
2505
|
-
? item["properties"]
|
|
2506
|
-
: Object.fromEntries(Object.entries(item["properties"]).map(([k, p]) => [k, p])),
|
|
2653
|
+
properties: item["properties"],
|
|
2507
2654
|
};
|
|
2508
2655
|
}
|
|
2509
2656
|
export function _pagedEvaluationTaxonomyDeserializer(item) {
|
|
@@ -2543,9 +2690,7 @@ export function evaluatorVersionSerializer(item) {
|
|
|
2543
2690
|
display_name: item["display_name"],
|
|
2544
2691
|
metadata: item["metadata"],
|
|
2545
2692
|
evaluator_type: item["evaluator_type"],
|
|
2546
|
-
categories: item["categories"]
|
|
2547
|
-
return p;
|
|
2548
|
-
}),
|
|
2693
|
+
categories: item["categories"],
|
|
2549
2694
|
definition: evaluatorDefinitionUnionSerializer(item["definition"]),
|
|
2550
2695
|
description: item["description"],
|
|
2551
2696
|
tags: item["tags"],
|
|
@@ -2554,13 +2699,9 @@ export function evaluatorVersionSerializer(item) {
|
|
|
2554
2699
|
export function evaluatorVersionDeserializer(item) {
|
|
2555
2700
|
return {
|
|
2556
2701
|
display_name: item["display_name"],
|
|
2557
|
-
metadata:
|
|
2558
|
-
? item["metadata"]
|
|
2559
|
-
: Object.fromEntries(Object.entries(item["metadata"]).map(([k, p]) => [k, p])),
|
|
2702
|
+
metadata: item["metadata"],
|
|
2560
2703
|
evaluator_type: item["evaluator_type"],
|
|
2561
|
-
categories: item["categories"]
|
|
2562
|
-
return p;
|
|
2563
|
-
}),
|
|
2704
|
+
categories: item["categories"],
|
|
2564
2705
|
definition: evaluatorDefinitionUnionDeserializer(item["definition"]),
|
|
2565
2706
|
created_by: item["created_by"],
|
|
2566
2707
|
created_at: item["created_at"],
|
|
@@ -2569,9 +2710,7 @@ export function evaluatorVersionDeserializer(item) {
|
|
|
2569
2710
|
name: item["name"],
|
|
2570
2711
|
version: item["version"],
|
|
2571
2712
|
description: item["description"],
|
|
2572
|
-
tags:
|
|
2573
|
-
? item["tags"]
|
|
2574
|
-
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
2713
|
+
tags: item["tags"],
|
|
2575
2714
|
};
|
|
2576
2715
|
}
|
|
2577
2716
|
export function evaluatorDefinitionSerializer(item) {
|
|
@@ -2585,12 +2724,8 @@ export function evaluatorDefinitionSerializer(item) {
|
|
|
2585
2724
|
export function evaluatorDefinitionDeserializer(item) {
|
|
2586
2725
|
return {
|
|
2587
2726
|
type: item["type"],
|
|
2588
|
-
init_parameters:
|
|
2589
|
-
|
|
2590
|
-
: Object.fromEntries(Object.entries(item["init_parameters"]).map(([k, p]) => [k, p])),
|
|
2591
|
-
data_schema: !item["data_schema"]
|
|
2592
|
-
? item["data_schema"]
|
|
2593
|
-
: Object.fromEntries(Object.entries(item["data_schema"]).map(([k, p]) => [k, p])),
|
|
2727
|
+
init_parameters: item["init_parameters"],
|
|
2728
|
+
data_schema: item["data_schema"],
|
|
2594
2729
|
metrics: !item["metrics"]
|
|
2595
2730
|
? item["metrics"]
|
|
2596
2731
|
: evaluatorMetricRecordDeserializer(item["metrics"]),
|
|
@@ -2660,12 +2795,8 @@ export function codeBasedEvaluatorDefinitionSerializer(item) {
|
|
|
2660
2795
|
export function codeBasedEvaluatorDefinitionDeserializer(item) {
|
|
2661
2796
|
return {
|
|
2662
2797
|
type: item["type"],
|
|
2663
|
-
init_parameters:
|
|
2664
|
-
|
|
2665
|
-
: Object.fromEntries(Object.entries(item["init_parameters"]).map(([k, p]) => [k, p])),
|
|
2666
|
-
data_schema: !item["data_schema"]
|
|
2667
|
-
? item["data_schema"]
|
|
2668
|
-
: Object.fromEntries(Object.entries(item["data_schema"]).map(([k, p]) => [k, p])),
|
|
2798
|
+
init_parameters: item["init_parameters"],
|
|
2799
|
+
data_schema: item["data_schema"],
|
|
2669
2800
|
metrics: !item["metrics"]
|
|
2670
2801
|
? item["metrics"]
|
|
2671
2802
|
: evaluatorMetricRecordDeserializer(item["metrics"]),
|
|
@@ -2684,12 +2815,8 @@ export function promptBasedEvaluatorDefinitionSerializer(item) {
|
|
|
2684
2815
|
export function promptBasedEvaluatorDefinitionDeserializer(item) {
|
|
2685
2816
|
return {
|
|
2686
2817
|
type: item["type"],
|
|
2687
|
-
init_parameters:
|
|
2688
|
-
|
|
2689
|
-
: Object.fromEntries(Object.entries(item["init_parameters"]).map(([k, p]) => [k, p])),
|
|
2690
|
-
data_schema: !item["data_schema"]
|
|
2691
|
-
? item["data_schema"]
|
|
2692
|
-
: Object.fromEntries(Object.entries(item["data_schema"]).map(([k, p]) => [k, p])),
|
|
2818
|
+
init_parameters: item["init_parameters"],
|
|
2819
|
+
data_schema: item["data_schema"],
|
|
2693
2820
|
metrics: !item["metrics"]
|
|
2694
2821
|
? item["metrics"]
|
|
2695
2822
|
: evaluatorMetricRecordDeserializer(item["metrics"]),
|
|
@@ -2754,9 +2881,7 @@ export function evaluationRunClusterInsightRequestSerializer(item) {
|
|
|
2754
2881
|
return {
|
|
2755
2882
|
type: item["type"],
|
|
2756
2883
|
evalId: item["evalId"],
|
|
2757
|
-
runIds: item["runIds"]
|
|
2758
|
-
return p;
|
|
2759
|
-
}),
|
|
2884
|
+
runIds: item["runIds"],
|
|
2760
2885
|
modelConfiguration: !item["modelConfiguration"]
|
|
2761
2886
|
? item["modelConfiguration"]
|
|
2762
2887
|
: insightModelConfigurationSerializer(item["modelConfiguration"]),
|
|
@@ -2766,9 +2891,7 @@ export function evaluationRunClusterInsightRequestDeserializer(item) {
|
|
|
2766
2891
|
return {
|
|
2767
2892
|
type: item["type"],
|
|
2768
2893
|
evalId: item["evalId"],
|
|
2769
|
-
runIds: item["runIds"]
|
|
2770
|
-
return p;
|
|
2771
|
-
}),
|
|
2894
|
+
runIds: item["runIds"],
|
|
2772
2895
|
modelConfiguration: !item["modelConfiguration"]
|
|
2773
2896
|
? item["modelConfiguration"]
|
|
2774
2897
|
: insightModelConfigurationDeserializer(item["modelConfiguration"]),
|
|
@@ -2805,9 +2928,7 @@ export function evaluationComparisonInsightRequestSerializer(item) {
|
|
|
2805
2928
|
type: item["type"],
|
|
2806
2929
|
evalId: item["evalId"],
|
|
2807
2930
|
baselineRunId: item["baselineRunId"],
|
|
2808
|
-
treatmentRunIds: item["treatmentRunIds"]
|
|
2809
|
-
return p;
|
|
2810
|
-
}),
|
|
2931
|
+
treatmentRunIds: item["treatmentRunIds"],
|
|
2811
2932
|
};
|
|
2812
2933
|
}
|
|
2813
2934
|
export function evaluationComparisonInsightRequestDeserializer(item) {
|
|
@@ -2815,9 +2936,7 @@ export function evaluationComparisonInsightRequestDeserializer(item) {
|
|
|
2815
2936
|
type: item["type"],
|
|
2816
2937
|
evalId: item["evalId"],
|
|
2817
2938
|
baselineRunId: item["baselineRunId"],
|
|
2818
|
-
treatmentRunIds: item["treatmentRunIds"]
|
|
2819
|
-
return p;
|
|
2820
|
-
}),
|
|
2939
|
+
treatmentRunIds: item["treatmentRunIds"],
|
|
2821
2940
|
};
|
|
2822
2941
|
}
|
|
2823
2942
|
export function insightResultDeserializer(item) {
|
|
@@ -2941,8 +3060,8 @@ export function insightSampleDeserializer(item) {
|
|
|
2941
3060
|
return {
|
|
2942
3061
|
id: item["id"],
|
|
2943
3062
|
type: item["type"],
|
|
2944
|
-
features:
|
|
2945
|
-
correlationInfo:
|
|
3063
|
+
features: item["features"],
|
|
3064
|
+
correlationInfo: item["correlationInfo"],
|
|
2946
3065
|
};
|
|
2947
3066
|
}
|
|
2948
3067
|
export function insightSampleUnionDeserializer(item) {
|
|
@@ -2957,8 +3076,8 @@ export function evaluationResultSampleDeserializer(item) {
|
|
|
2957
3076
|
return {
|
|
2958
3077
|
id: item["id"],
|
|
2959
3078
|
type: item["type"],
|
|
2960
|
-
features:
|
|
2961
|
-
correlationInfo:
|
|
3079
|
+
features: item["features"],
|
|
3080
|
+
correlationInfo: item["correlationInfo"],
|
|
2962
3081
|
evaluationResult: evalResultDeserializer(item["evaluationResult"]),
|
|
2963
3082
|
};
|
|
2964
3083
|
}
|
|
@@ -2972,7 +3091,7 @@ export function evalResultDeserializer(item) {
|
|
|
2972
3091
|
}
|
|
2973
3092
|
export function chartCoordinateRecordDeserializer(item) {
|
|
2974
3093
|
const result = {};
|
|
2975
|
-
Object.keys(item).
|
|
3094
|
+
Object.keys(item).forEach((key) => {
|
|
2976
3095
|
result[key] = !item[key] ? item[key] : chartCoordinateDeserializer(item[key]);
|
|
2977
3096
|
});
|
|
2978
3097
|
return result;
|
|
@@ -3072,9 +3191,7 @@ export function memoryStoreDeserializer(item) {
|
|
|
3072
3191
|
updated_at: new Date(item["updated_at"] * 1000),
|
|
3073
3192
|
name: item["name"],
|
|
3074
3193
|
description: item["description"],
|
|
3075
|
-
metadata:
|
|
3076
|
-
? item["metadata"]
|
|
3077
|
-
: Object.fromEntries(Object.entries(item["metadata"]).map(([k, p]) => [k, p])),
|
|
3194
|
+
metadata: item["metadata"],
|
|
3078
3195
|
definition: memoryStoreDefinitionUnionDeserializer(item["definition"]),
|
|
3079
3196
|
};
|
|
3080
3197
|
}
|
|
@@ -3098,817 +3215,43 @@ export function deleteMemoryStoreResponseDeserializer(item) {
|
|
|
3098
3215
|
deleted: item["deleted"],
|
|
3099
3216
|
};
|
|
3100
3217
|
}
|
|
3101
|
-
export function
|
|
3102
|
-
return { type: item["type"] };
|
|
3103
|
-
}
|
|
3104
|
-
export function inputItemUnionSerializer(item) {
|
|
3105
|
-
switch (item.type) {
|
|
3106
|
-
case "message":
|
|
3107
|
-
return easyInputMessageSerializer(item);
|
|
3108
|
-
case "item_reference":
|
|
3109
|
-
return itemReferenceParamSerializer(item);
|
|
3110
|
-
case "output_message":
|
|
3111
|
-
return inputItemOutputMessageSerializer(item);
|
|
3112
|
-
case "file_search_call":
|
|
3113
|
-
return inputItemFileSearchToolCallSerializer(item);
|
|
3114
|
-
case "computer_call":
|
|
3115
|
-
return inputItemComputerToolCallSerializer(item);
|
|
3116
|
-
case "computer_call_output":
|
|
3117
|
-
return inputItemComputerCallOutputItemParamSerializer(item);
|
|
3118
|
-
case "web_search_call":
|
|
3119
|
-
return inputItemWebSearchToolCallSerializer(item);
|
|
3120
|
-
case "function_call":
|
|
3121
|
-
return inputItemFunctionToolCallSerializer(item);
|
|
3122
|
-
case "function_call_output":
|
|
3123
|
-
return inputItemFunctionCallOutputItemParamSerializer(item);
|
|
3124
|
-
case "reasoning":
|
|
3125
|
-
return inputItemReasoningItemSerializer(item);
|
|
3126
|
-
case "compaction":
|
|
3127
|
-
return inputItemCompactionSummaryItemParamSerializer(item);
|
|
3128
|
-
case "image_generation_call":
|
|
3129
|
-
return inputItemImageGenToolCallSerializer(item);
|
|
3130
|
-
case "code_interpreter_call":
|
|
3131
|
-
return inputItemCodeInterpreterToolCallSerializer(item);
|
|
3132
|
-
case "local_shell_call":
|
|
3133
|
-
return inputItemLocalShellToolCallSerializer(item);
|
|
3134
|
-
case "local_shell_call_output":
|
|
3135
|
-
return inputItemLocalShellToolCallOutputSerializer(item);
|
|
3136
|
-
case "shell_call":
|
|
3137
|
-
return inputItemFunctionShellCallItemParamSerializer(item);
|
|
3138
|
-
case "shell_call_output":
|
|
3139
|
-
return inputItemFunctionShellCallOutputItemParamSerializer(item);
|
|
3140
|
-
case "apply_patch_call":
|
|
3141
|
-
return inputItemApplyPatchToolCallItemParamSerializer(item);
|
|
3142
|
-
case "apply_patch_call_output":
|
|
3143
|
-
return inputItemApplyPatchToolCallOutputItemParamSerializer(item);
|
|
3144
|
-
case "mcp_list_tools":
|
|
3145
|
-
return inputItemMcpListToolsSerializer(item);
|
|
3146
|
-
case "mcp_approval_request":
|
|
3147
|
-
return inputItemMcpApprovalRequestSerializer(item);
|
|
3148
|
-
case "mcp_approval_response":
|
|
3149
|
-
return inputItemMcpApprovalResponseSerializer(item);
|
|
3150
|
-
case "mcp_call":
|
|
3151
|
-
return inputItemMcpToolCallSerializer(item);
|
|
3152
|
-
case "custom_tool_call_output":
|
|
3153
|
-
return inputItemCustomToolCallOutputSerializer(item);
|
|
3154
|
-
case "custom_tool_call":
|
|
3155
|
-
return inputItemCustomToolCallSerializer(item);
|
|
3156
|
-
default:
|
|
3157
|
-
return inputItemSerializer(item);
|
|
3158
|
-
}
|
|
3159
|
-
}
|
|
3160
|
-
export function easyInputMessageSerializer(item) {
|
|
3218
|
+
export function memoryStoreSearchResponseDeserializer(item) {
|
|
3161
3219
|
return {
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
status: item["status"],
|
|
3220
|
+
search_id: item["search_id"],
|
|
3221
|
+
memories: memorySearchItemArrayDeserializer(item["memories"]),
|
|
3222
|
+
usage: memoryStoreOperationUsageDeserializer(item["usage"]),
|
|
3166
3223
|
};
|
|
3167
3224
|
}
|
|
3168
|
-
export function
|
|
3169
|
-
return item;
|
|
3170
|
-
}
|
|
3171
|
-
export function inputContentUnionArraySerializer(result) {
|
|
3225
|
+
export function memorySearchItemArrayDeserializer(result) {
|
|
3172
3226
|
return result.map((item) => {
|
|
3173
|
-
return
|
|
3227
|
+
return memorySearchItemDeserializer(item);
|
|
3174
3228
|
});
|
|
3175
3229
|
}
|
|
3176
|
-
export function
|
|
3177
|
-
return { type: item["type"] };
|
|
3178
|
-
}
|
|
3179
|
-
export function inputContentUnionSerializer(item) {
|
|
3180
|
-
switch (item.type) {
|
|
3181
|
-
case "input_text":
|
|
3182
|
-
return inputContentInputTextContentSerializer(item);
|
|
3183
|
-
case "input_image":
|
|
3184
|
-
return inputContentInputImageContentSerializer(item);
|
|
3185
|
-
case "input_file":
|
|
3186
|
-
return inputContentInputFileContentSerializer(item);
|
|
3187
|
-
default:
|
|
3188
|
-
return inputContentSerializer(item);
|
|
3189
|
-
}
|
|
3190
|
-
}
|
|
3191
|
-
export function inputContentInputTextContentSerializer(item) {
|
|
3192
|
-
return { type: item["type"], text: item["text"] };
|
|
3193
|
-
}
|
|
3194
|
-
export function inputContentInputImageContentSerializer(item) {
|
|
3195
|
-
return {
|
|
3196
|
-
type: item["type"],
|
|
3197
|
-
image_url: item["image_url"],
|
|
3198
|
-
file_id: item["file_id"],
|
|
3199
|
-
detail: item["detail"],
|
|
3200
|
-
};
|
|
3201
|
-
}
|
|
3202
|
-
export function inputContentInputFileContentSerializer(item) {
|
|
3230
|
+
export function memorySearchItemDeserializer(item) {
|
|
3203
3231
|
return {
|
|
3204
|
-
|
|
3205
|
-
file_id: item["file_id"],
|
|
3206
|
-
filename: item["filename"],
|
|
3207
|
-
file_url: item["file_url"],
|
|
3208
|
-
file_data: item["file_data"],
|
|
3232
|
+
memory_item: memoryItemUnionDeserializer(item["memory_item"]),
|
|
3209
3233
|
};
|
|
3210
3234
|
}
|
|
3211
|
-
export function
|
|
3212
|
-
return { type: item["type"], id: item["id"] };
|
|
3213
|
-
}
|
|
3214
|
-
export function inputItemOutputMessageSerializer(item) {
|
|
3235
|
+
export function memoryItemDeserializer(item) {
|
|
3215
3236
|
return {
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
content:
|
|
3220
|
-
|
|
3237
|
+
memory_id: item["memory_id"],
|
|
3238
|
+
updated_at: new Date(item["updated_at"] * 1000),
|
|
3239
|
+
scope: item["scope"],
|
|
3240
|
+
content: item["content"],
|
|
3241
|
+
kind: item["kind"],
|
|
3221
3242
|
};
|
|
3222
3243
|
}
|
|
3223
|
-
export function
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
return { type: item["type"] };
|
|
3230
|
-
}
|
|
3231
|
-
export function outputMessageContentUnionSerializer(item) {
|
|
3232
|
-
switch (item.type) {
|
|
3233
|
-
case "output_text":
|
|
3234
|
-
return outputMessageContentOutputTextContentSerializer(item);
|
|
3235
|
-
case "refusal":
|
|
3236
|
-
return outputMessageContentRefusalContentSerializer(item);
|
|
3244
|
+
export function memoryItemUnionDeserializer(item) {
|
|
3245
|
+
switch (item.kind) {
|
|
3246
|
+
case "user_profile":
|
|
3247
|
+
return userProfileMemoryItemDeserializer(item);
|
|
3248
|
+
case "chat_summary":
|
|
3249
|
+
return chatSummaryMemoryItemDeserializer(item);
|
|
3237
3250
|
default:
|
|
3238
|
-
return
|
|
3251
|
+
return memoryItemDeserializer(item);
|
|
3239
3252
|
}
|
|
3240
3253
|
}
|
|
3241
|
-
export function
|
|
3242
|
-
return {
|
|
3243
|
-
type: item["type"],
|
|
3244
|
-
text: item["text"],
|
|
3245
|
-
annotations: annotationUnionArraySerializer(item["annotations"]),
|
|
3246
|
-
logprobs: !item["logprobs"] ? item["logprobs"] : logProbArraySerializer(item["logprobs"]),
|
|
3247
|
-
};
|
|
3248
|
-
}
|
|
3249
|
-
export function annotationUnionArraySerializer(result) {
|
|
3250
|
-
return result.map((item) => {
|
|
3251
|
-
return annotationUnionSerializer(item);
|
|
3252
|
-
});
|
|
3253
|
-
}
|
|
3254
|
-
export function annotationSerializer(item) {
|
|
3255
|
-
return { type: item["type"] };
|
|
3256
|
-
}
|
|
3257
|
-
export function annotationUnionSerializer(item) {
|
|
3258
|
-
switch (item.type) {
|
|
3259
|
-
case "file_citation":
|
|
3260
|
-
return fileCitationBodySerializer(item);
|
|
3261
|
-
case "url_citation":
|
|
3262
|
-
return urlCitationBodySerializer(item);
|
|
3263
|
-
case "container_file_citation":
|
|
3264
|
-
return containerFileCitationBodySerializer(item);
|
|
3265
|
-
case "file_path":
|
|
3266
|
-
return filePathSerializer(item);
|
|
3267
|
-
default:
|
|
3268
|
-
return annotationSerializer(item);
|
|
3269
|
-
}
|
|
3270
|
-
}
|
|
3271
|
-
export function fileCitationBodySerializer(item) {
|
|
3272
|
-
return {
|
|
3273
|
-
type: item["type"],
|
|
3274
|
-
file_id: item["file_id"],
|
|
3275
|
-
index: item["index"],
|
|
3276
|
-
filename: item["filename"],
|
|
3277
|
-
};
|
|
3278
|
-
}
|
|
3279
|
-
export function urlCitationBodySerializer(item) {
|
|
3280
|
-
return {
|
|
3281
|
-
type: item["type"],
|
|
3282
|
-
url: item["url"],
|
|
3283
|
-
start_index: item["start_index"],
|
|
3284
|
-
end_index: item["end_index"],
|
|
3285
|
-
title: item["title"],
|
|
3286
|
-
};
|
|
3287
|
-
}
|
|
3288
|
-
export function containerFileCitationBodySerializer(item) {
|
|
3289
|
-
return {
|
|
3290
|
-
type: item["type"],
|
|
3291
|
-
container_id: item["container_id"],
|
|
3292
|
-
file_id: item["file_id"],
|
|
3293
|
-
start_index: item["start_index"],
|
|
3294
|
-
end_index: item["end_index"],
|
|
3295
|
-
filename: item["filename"],
|
|
3296
|
-
};
|
|
3297
|
-
}
|
|
3298
|
-
export function filePathSerializer(item) {
|
|
3299
|
-
return { type: item["type"], file_id: item["file_id"], index: item["index"] };
|
|
3300
|
-
}
|
|
3301
|
-
export function logProbArraySerializer(result) {
|
|
3302
|
-
return result.map((item) => {
|
|
3303
|
-
return logProbSerializer(item);
|
|
3304
|
-
});
|
|
3305
|
-
}
|
|
3306
|
-
export function logProbSerializer(item) {
|
|
3307
|
-
return {
|
|
3308
|
-
token: item["token"],
|
|
3309
|
-
logprob: item["logprob"],
|
|
3310
|
-
bytes: item["bytes"].map((p) => {
|
|
3311
|
-
return p;
|
|
3312
|
-
}),
|
|
3313
|
-
top_logprobs: topLogProbArraySerializer(item["top_logprobs"]),
|
|
3314
|
-
};
|
|
3315
|
-
}
|
|
3316
|
-
export function topLogProbArraySerializer(result) {
|
|
3317
|
-
return result.map((item) => {
|
|
3318
|
-
return topLogProbSerializer(item);
|
|
3319
|
-
});
|
|
3320
|
-
}
|
|
3321
|
-
export function topLogProbSerializer(item) {
|
|
3322
|
-
return {
|
|
3323
|
-
token: item["token"],
|
|
3324
|
-
logprob: item["logprob"],
|
|
3325
|
-
bytes: item["bytes"].map((p) => {
|
|
3326
|
-
return p;
|
|
3327
|
-
}),
|
|
3328
|
-
};
|
|
3329
|
-
}
|
|
3330
|
-
export function outputMessageContentRefusalContentSerializer(item) {
|
|
3331
|
-
return { type: item["type"], refusal: item["refusal"] };
|
|
3332
|
-
}
|
|
3333
|
-
export function inputItemFileSearchToolCallSerializer(item) {
|
|
3334
|
-
return {
|
|
3335
|
-
type: item["type"],
|
|
3336
|
-
id: item["id"],
|
|
3337
|
-
status: item["status"],
|
|
3338
|
-
queries: item["queries"].map((p) => {
|
|
3339
|
-
return p;
|
|
3340
|
-
}),
|
|
3341
|
-
results: !item["results"]
|
|
3342
|
-
? item["results"]
|
|
3343
|
-
: fileSearchToolCallResultsArraySerializer(item["results"]),
|
|
3344
|
-
};
|
|
3345
|
-
}
|
|
3346
|
-
export function fileSearchToolCallResultsArraySerializer(result) {
|
|
3347
|
-
return result.map((item) => {
|
|
3348
|
-
return fileSearchToolCallResultsSerializer(item);
|
|
3349
|
-
});
|
|
3350
|
-
}
|
|
3351
|
-
export function fileSearchToolCallResultsSerializer(item) {
|
|
3352
|
-
return {
|
|
3353
|
-
file_id: item["file_id"],
|
|
3354
|
-
text: item["text"],
|
|
3355
|
-
filename: item["filename"],
|
|
3356
|
-
attributes: !item["attributes"]
|
|
3357
|
-
? item["attributes"]
|
|
3358
|
-
: vectorStoreFileAttributesSerializer(item["attributes"]),
|
|
3359
|
-
score: item["score"],
|
|
3360
|
-
};
|
|
3361
|
-
}
|
|
3362
|
-
export function vectorStoreFileAttributesSerializer(item) {
|
|
3363
|
-
return {
|
|
3364
|
-
...serializeRecord(item.additionalProperties ?? {}, undefined, _vectorStoreFileAttributesAdditionalPropertySerializer),
|
|
3365
|
-
};
|
|
3366
|
-
}
|
|
3367
|
-
export function _vectorStoreFileAttributesAdditionalPropertySerializer(item) {
|
|
3368
|
-
return item;
|
|
3369
|
-
}
|
|
3370
|
-
export function inputItemComputerToolCallSerializer(item) {
|
|
3371
|
-
return {
|
|
3372
|
-
type: item["type"],
|
|
3373
|
-
id: item["id"],
|
|
3374
|
-
call_id: item["call_id"],
|
|
3375
|
-
action: computerActionUnionSerializer(item["action"]),
|
|
3376
|
-
pending_safety_checks: computerCallSafetyCheckParamArraySerializer(item["pending_safety_checks"]),
|
|
3377
|
-
status: item["status"],
|
|
3378
|
-
};
|
|
3379
|
-
}
|
|
3380
|
-
export function computerActionSerializer(item) {
|
|
3381
|
-
return { type: item["type"] };
|
|
3382
|
-
}
|
|
3383
|
-
export function computerActionUnionSerializer(item) {
|
|
3384
|
-
switch (item.type) {
|
|
3385
|
-
case "click":
|
|
3386
|
-
return clickParamSerializer(item);
|
|
3387
|
-
case "double_click":
|
|
3388
|
-
return doubleClickActionSerializer(item);
|
|
3389
|
-
case "drag":
|
|
3390
|
-
return dragSerializer(item);
|
|
3391
|
-
case "keypress":
|
|
3392
|
-
return keyPressActionSerializer(item);
|
|
3393
|
-
case "move":
|
|
3394
|
-
return moveSerializer(item);
|
|
3395
|
-
case "screenshot":
|
|
3396
|
-
return screenshotSerializer(item);
|
|
3397
|
-
case "scroll":
|
|
3398
|
-
return scrollSerializer(item);
|
|
3399
|
-
case "type":
|
|
3400
|
-
return typeSerializer(item);
|
|
3401
|
-
case "wait":
|
|
3402
|
-
return waitSerializer(item);
|
|
3403
|
-
default:
|
|
3404
|
-
return computerActionSerializer(item);
|
|
3405
|
-
}
|
|
3406
|
-
}
|
|
3407
|
-
export function clickParamSerializer(item) {
|
|
3408
|
-
return { type: item["type"], button: item["button"], x: item["x"], y: item["y"] };
|
|
3409
|
-
}
|
|
3410
|
-
export function doubleClickActionSerializer(item) {
|
|
3411
|
-
return { type: item["type"], x: item["x"], y: item["y"] };
|
|
3412
|
-
}
|
|
3413
|
-
export function dragSerializer(item) {
|
|
3414
|
-
return { type: item["type"], path: dragPointArraySerializer(item["path"]) };
|
|
3415
|
-
}
|
|
3416
|
-
export function dragPointArraySerializer(result) {
|
|
3417
|
-
return result.map((item) => {
|
|
3418
|
-
return dragPointSerializer(item);
|
|
3419
|
-
});
|
|
3420
|
-
}
|
|
3421
|
-
export function dragPointSerializer(item) {
|
|
3422
|
-
return { x: item["x"], y: item["y"] };
|
|
3423
|
-
}
|
|
3424
|
-
export function keyPressActionSerializer(item) {
|
|
3425
|
-
return {
|
|
3426
|
-
type: item["type"],
|
|
3427
|
-
keys: item["keys"].map((p) => {
|
|
3428
|
-
return p;
|
|
3429
|
-
}),
|
|
3430
|
-
};
|
|
3431
|
-
}
|
|
3432
|
-
export function moveSerializer(item) {
|
|
3433
|
-
return { type: item["type"], x: item["x"], y: item["y"] };
|
|
3434
|
-
}
|
|
3435
|
-
export function screenshotSerializer(item) {
|
|
3436
|
-
return { type: item["type"] };
|
|
3437
|
-
}
|
|
3438
|
-
export function scrollSerializer(item) {
|
|
3439
|
-
return {
|
|
3440
|
-
type: item["type"],
|
|
3441
|
-
x: item["x"],
|
|
3442
|
-
y: item["y"],
|
|
3443
|
-
scroll_x: item["scroll_x"],
|
|
3444
|
-
scroll_y: item["scroll_y"],
|
|
3445
|
-
};
|
|
3446
|
-
}
|
|
3447
|
-
export function typeSerializer(item) {
|
|
3448
|
-
return { type: item["type"], text: item["text"] };
|
|
3449
|
-
}
|
|
3450
|
-
export function waitSerializer(item) {
|
|
3451
|
-
return { type: item["type"] };
|
|
3452
|
-
}
|
|
3453
|
-
export function computerCallSafetyCheckParamArraySerializer(result) {
|
|
3454
|
-
return result.map((item) => {
|
|
3455
|
-
return computerCallSafetyCheckParamSerializer(item);
|
|
3456
|
-
});
|
|
3457
|
-
}
|
|
3458
|
-
export function computerCallSafetyCheckParamSerializer(item) {
|
|
3459
|
-
return { id: item["id"], code: item["code"], message: item["message"] };
|
|
3460
|
-
}
|
|
3461
|
-
export function inputItemComputerCallOutputItemParamSerializer(item) {
|
|
3462
|
-
return {
|
|
3463
|
-
type: item["type"],
|
|
3464
|
-
id: item["id"],
|
|
3465
|
-
call_id: item["call_id"],
|
|
3466
|
-
output: computerScreenshotImageSerializer(item["output"]),
|
|
3467
|
-
acknowledged_safety_checks: !item["acknowledged_safety_checks"]
|
|
3468
|
-
? item["acknowledged_safety_checks"]
|
|
3469
|
-
: computerCallSafetyCheckParamArraySerializer(item["acknowledged_safety_checks"]),
|
|
3470
|
-
status: item["status"],
|
|
3471
|
-
};
|
|
3472
|
-
}
|
|
3473
|
-
export function computerScreenshotImageSerializer(item) {
|
|
3474
|
-
return { type: item["type"], image_url: item["image_url"], file_id: item["file_id"] };
|
|
3475
|
-
}
|
|
3476
|
-
export function inputItemWebSearchToolCallSerializer(item) {
|
|
3477
|
-
return {
|
|
3478
|
-
type: item["type"],
|
|
3479
|
-
id: item["id"],
|
|
3480
|
-
status: item["status"],
|
|
3481
|
-
action: _outputItemWebSearchToolCallActionSerializer(item["action"]),
|
|
3482
|
-
};
|
|
3483
|
-
}
|
|
3484
|
-
export function _outputItemWebSearchToolCallActionSerializer(item) {
|
|
3485
|
-
return item;
|
|
3486
|
-
}
|
|
3487
|
-
export function webSearchActionSearchSerializer(item) {
|
|
3488
|
-
return {
|
|
3489
|
-
type: item["type"],
|
|
3490
|
-
query: item["query"],
|
|
3491
|
-
queries: !item["queries"]
|
|
3492
|
-
? item["queries"]
|
|
3493
|
-
: item["queries"].map((p) => {
|
|
3494
|
-
return p;
|
|
3495
|
-
}),
|
|
3496
|
-
sources: !item["sources"]
|
|
3497
|
-
? item["sources"]
|
|
3498
|
-
: webSearchActionSearchSourcesArraySerializer(item["sources"]),
|
|
3499
|
-
};
|
|
3500
|
-
}
|
|
3501
|
-
export function webSearchActionSearchSourcesArraySerializer(result) {
|
|
3502
|
-
return result.map((item) => {
|
|
3503
|
-
return webSearchActionSearchSourcesSerializer(item);
|
|
3504
|
-
});
|
|
3505
|
-
}
|
|
3506
|
-
export function webSearchActionSearchSourcesSerializer(item) {
|
|
3507
|
-
return { type: item["type"], url: item["url"] };
|
|
3508
|
-
}
|
|
3509
|
-
export function webSearchActionOpenPageSerializer(item) {
|
|
3510
|
-
return { type: item["type"], url: item["url"] };
|
|
3511
|
-
}
|
|
3512
|
-
export function webSearchActionFindSerializer(item) {
|
|
3513
|
-
return { type: item["type"], url: item["url"], pattern: item["pattern"] };
|
|
3514
|
-
}
|
|
3515
|
-
export function inputItemFunctionToolCallSerializer(item) {
|
|
3516
|
-
return {
|
|
3517
|
-
type: item["type"],
|
|
3518
|
-
id: item["id"],
|
|
3519
|
-
call_id: item["call_id"],
|
|
3520
|
-
name: item["name"],
|
|
3521
|
-
arguments: item["arguments"],
|
|
3522
|
-
status: item["status"],
|
|
3523
|
-
};
|
|
3524
|
-
}
|
|
3525
|
-
export function inputItemFunctionCallOutputItemParamSerializer(item) {
|
|
3526
|
-
return {
|
|
3527
|
-
type: item["type"],
|
|
3528
|
-
id: item["id"],
|
|
3529
|
-
call_id: item["call_id"],
|
|
3530
|
-
output: _itemFunctionCallOutputItemParamOutputSerializer(item["output"]),
|
|
3531
|
-
status: item["status"],
|
|
3532
|
-
};
|
|
3533
|
-
}
|
|
3534
|
-
export function _itemFunctionCallOutputItemParamOutputSerializer(item) {
|
|
3535
|
-
return item;
|
|
3536
|
-
}
|
|
3537
|
-
export function _itemFunctionCallOutputItemParamOutput1ArraySerializer(result) {
|
|
3538
|
-
return result.map((item) => {
|
|
3539
|
-
return _itemFunctionCallOutputItemParamOutput1Serializer(item);
|
|
3540
|
-
});
|
|
3541
|
-
}
|
|
3542
|
-
export function _itemFunctionCallOutputItemParamOutput1Serializer(item) {
|
|
3543
|
-
return item;
|
|
3544
|
-
}
|
|
3545
|
-
export function inputTextContentParamSerializer(item) {
|
|
3546
|
-
return { type: item["type"], text: item["text"] };
|
|
3547
|
-
}
|
|
3548
|
-
export function inputImageContentParamAutoParamSerializer(item) {
|
|
3549
|
-
return {
|
|
3550
|
-
type: item["type"],
|
|
3551
|
-
image_url: item["image_url"],
|
|
3552
|
-
file_id: item["file_id"],
|
|
3553
|
-
detail: item["detail"],
|
|
3554
|
-
};
|
|
3555
|
-
}
|
|
3556
|
-
export function inputFileContentParamSerializer(item) {
|
|
3557
|
-
return {
|
|
3558
|
-
type: item["type"],
|
|
3559
|
-
file_id: item["file_id"],
|
|
3560
|
-
filename: item["filename"],
|
|
3561
|
-
file_data: item["file_data"],
|
|
3562
|
-
file_url: item["file_url"],
|
|
3563
|
-
};
|
|
3564
|
-
}
|
|
3565
|
-
export function inputItemReasoningItemSerializer(item) {
|
|
3566
|
-
return {
|
|
3567
|
-
type: item["type"],
|
|
3568
|
-
id: item["id"],
|
|
3569
|
-
encrypted_content: item["encrypted_content"],
|
|
3570
|
-
summary: summaryArraySerializer(item["summary"]),
|
|
3571
|
-
content: !item["content"]
|
|
3572
|
-
? item["content"]
|
|
3573
|
-
: reasoningTextContentArraySerializer(item["content"]),
|
|
3574
|
-
status: item["status"],
|
|
3575
|
-
};
|
|
3576
|
-
}
|
|
3577
|
-
export function summaryArraySerializer(result) {
|
|
3578
|
-
return result.map((item) => {
|
|
3579
|
-
return summarySerializer(item);
|
|
3580
|
-
});
|
|
3581
|
-
}
|
|
3582
|
-
export function summarySerializer(item) {
|
|
3583
|
-
return { type: item["type"], text: item["text"] };
|
|
3584
|
-
}
|
|
3585
|
-
export function reasoningTextContentArraySerializer(result) {
|
|
3586
|
-
return result.map((item) => {
|
|
3587
|
-
return reasoningTextContentSerializer(item);
|
|
3588
|
-
});
|
|
3589
|
-
}
|
|
3590
|
-
export function reasoningTextContentSerializer(item) {
|
|
3591
|
-
return { type: item["type"], text: item["text"] };
|
|
3592
|
-
}
|
|
3593
|
-
export function inputItemCompactionSummaryItemParamSerializer(item) {
|
|
3594
|
-
return { type: item["type"], id: item["id"], encrypted_content: item["encrypted_content"] };
|
|
3595
|
-
}
|
|
3596
|
-
export function inputItemImageGenToolCallSerializer(item) {
|
|
3597
|
-
return { type: item["type"], id: item["id"], status: item["status"], result: item["result"] };
|
|
3598
|
-
}
|
|
3599
|
-
export function inputItemCodeInterpreterToolCallSerializer(item) {
|
|
3600
|
-
return {
|
|
3601
|
-
type: item["type"],
|
|
3602
|
-
id: item["id"],
|
|
3603
|
-
status: item["status"],
|
|
3604
|
-
container_id: item["container_id"],
|
|
3605
|
-
code: item["code"],
|
|
3606
|
-
outputs: !item["outputs"]
|
|
3607
|
-
? item["outputs"]
|
|
3608
|
-
: _outputItemCodeInterpreterToolCallOutputArraySerializer(item["outputs"]),
|
|
3609
|
-
};
|
|
3610
|
-
}
|
|
3611
|
-
export function _outputItemCodeInterpreterToolCallOutputArraySerializer(result) {
|
|
3612
|
-
return result.map((item) => {
|
|
3613
|
-
return _outputItemCodeInterpreterToolCallOutputSerializer(item);
|
|
3614
|
-
});
|
|
3615
|
-
}
|
|
3616
|
-
export function _outputItemCodeInterpreterToolCallOutputSerializer(item) {
|
|
3617
|
-
return item;
|
|
3618
|
-
}
|
|
3619
|
-
export function codeInterpreterOutputLogsSerializer(item) {
|
|
3620
|
-
return { type: item["type"], logs: item["logs"] };
|
|
3621
|
-
}
|
|
3622
|
-
export function codeInterpreterOutputImageSerializer(item) {
|
|
3623
|
-
return { type: item["type"], url: item["url"] };
|
|
3624
|
-
}
|
|
3625
|
-
export function inputItemLocalShellToolCallSerializer(item) {
|
|
3626
|
-
return {
|
|
3627
|
-
type: item["type"],
|
|
3628
|
-
id: item["id"],
|
|
3629
|
-
call_id: item["call_id"],
|
|
3630
|
-
action: localShellExecActionSerializer(item["action"]),
|
|
3631
|
-
status: item["status"],
|
|
3632
|
-
};
|
|
3633
|
-
}
|
|
3634
|
-
export function localShellExecActionSerializer(item) {
|
|
3635
|
-
return {
|
|
3636
|
-
type: item["type"],
|
|
3637
|
-
command: item["command"].map((p) => {
|
|
3638
|
-
return p;
|
|
3639
|
-
}),
|
|
3640
|
-
timeout_ms: item["timeout_ms"],
|
|
3641
|
-
working_directory: item["working_directory"],
|
|
3642
|
-
env: item["env"],
|
|
3643
|
-
user: item["user"],
|
|
3644
|
-
};
|
|
3645
|
-
}
|
|
3646
|
-
export function inputItemLocalShellToolCallOutputSerializer(item) {
|
|
3647
|
-
return { type: item["type"], id: item["id"], output: item["output"], status: item["status"] };
|
|
3648
|
-
}
|
|
3649
|
-
export function inputItemFunctionShellCallItemParamSerializer(item) {
|
|
3650
|
-
return {
|
|
3651
|
-
type: item["type"],
|
|
3652
|
-
id: item["id"],
|
|
3653
|
-
call_id: item["call_id"],
|
|
3654
|
-
action: functionShellActionParamSerializer(item["action"]),
|
|
3655
|
-
status: item["status"],
|
|
3656
|
-
};
|
|
3657
|
-
}
|
|
3658
|
-
export function functionShellActionParamSerializer(item) {
|
|
3659
|
-
return {
|
|
3660
|
-
commands: item["commands"].map((p) => {
|
|
3661
|
-
return p;
|
|
3662
|
-
}),
|
|
3663
|
-
timeout_ms: item["timeout_ms"],
|
|
3664
|
-
max_output_length: item["max_output_length"],
|
|
3665
|
-
};
|
|
3666
|
-
}
|
|
3667
|
-
export function inputItemFunctionShellCallOutputItemParamSerializer(item) {
|
|
3668
|
-
return {
|
|
3669
|
-
type: item["type"],
|
|
3670
|
-
id: item["id"],
|
|
3671
|
-
call_id: item["call_id"],
|
|
3672
|
-
output: functionShellCallOutputContentParamArraySerializer(item["output"]),
|
|
3673
|
-
max_output_length: item["max_output_length"],
|
|
3674
|
-
};
|
|
3675
|
-
}
|
|
3676
|
-
export function functionShellCallOutputContentParamArraySerializer(result) {
|
|
3677
|
-
return result.map((item) => {
|
|
3678
|
-
return functionShellCallOutputContentParamSerializer(item);
|
|
3679
|
-
});
|
|
3680
|
-
}
|
|
3681
|
-
export function functionShellCallOutputContentParamSerializer(item) {
|
|
3682
|
-
return {
|
|
3683
|
-
stdout: item["stdout"],
|
|
3684
|
-
stderr: item["stderr"],
|
|
3685
|
-
outcome: functionShellCallOutputOutcomeParamUnionSerializer(item["outcome"]),
|
|
3686
|
-
};
|
|
3687
|
-
}
|
|
3688
|
-
export function functionShellCallOutputOutcomeParamSerializer(item) {
|
|
3689
|
-
return { type: item["type"] };
|
|
3690
|
-
}
|
|
3691
|
-
export function functionShellCallOutputOutcomeParamUnionSerializer(item) {
|
|
3692
|
-
switch (item.type) {
|
|
3693
|
-
case "timeout":
|
|
3694
|
-
return functionShellCallOutputTimeoutOutcomeParamSerializer(item);
|
|
3695
|
-
case "exit":
|
|
3696
|
-
return functionShellCallOutputExitOutcomeParamSerializer(item);
|
|
3697
|
-
default:
|
|
3698
|
-
return functionShellCallOutputOutcomeParamSerializer(item);
|
|
3699
|
-
}
|
|
3700
|
-
}
|
|
3701
|
-
export function functionShellCallOutputTimeoutOutcomeParamSerializer(item) {
|
|
3702
|
-
return { type: item["type"] };
|
|
3703
|
-
}
|
|
3704
|
-
export function functionShellCallOutputExitOutcomeParamSerializer(item) {
|
|
3705
|
-
return { type: item["type"], exit_code: item["exit_code"] };
|
|
3706
|
-
}
|
|
3707
|
-
export function inputItemApplyPatchToolCallItemParamSerializer(item) {
|
|
3708
|
-
return {
|
|
3709
|
-
type: item["type"],
|
|
3710
|
-
id: item["id"],
|
|
3711
|
-
call_id: item["call_id"],
|
|
3712
|
-
status: item["status"],
|
|
3713
|
-
operation: applyPatchOperationParamUnionSerializer(item["operation"]),
|
|
3714
|
-
};
|
|
3715
|
-
}
|
|
3716
|
-
export function applyPatchOperationParamSerializer(item) {
|
|
3717
|
-
return { type: item["type"] };
|
|
3718
|
-
}
|
|
3719
|
-
export function applyPatchOperationParamUnionSerializer(item) {
|
|
3720
|
-
switch (item.type) {
|
|
3721
|
-
case "create_file":
|
|
3722
|
-
return applyPatchCreateFileOperationParamSerializer(item);
|
|
3723
|
-
case "delete_file":
|
|
3724
|
-
return applyPatchDeleteFileOperationParamSerializer(item);
|
|
3725
|
-
case "update_file":
|
|
3726
|
-
return applyPatchUpdateFileOperationParamSerializer(item);
|
|
3727
|
-
default:
|
|
3728
|
-
return applyPatchOperationParamSerializer(item);
|
|
3729
|
-
}
|
|
3730
|
-
}
|
|
3731
|
-
export function applyPatchCreateFileOperationParamSerializer(item) {
|
|
3732
|
-
return { type: item["type"], path: item["path"], diff: item["diff"] };
|
|
3733
|
-
}
|
|
3734
|
-
export function applyPatchDeleteFileOperationParamSerializer(item) {
|
|
3735
|
-
return { type: item["type"], path: item["path"] };
|
|
3736
|
-
}
|
|
3737
|
-
export function applyPatchUpdateFileOperationParamSerializer(item) {
|
|
3738
|
-
return { type: item["type"], path: item["path"], diff: item["diff"] };
|
|
3739
|
-
}
|
|
3740
|
-
export function inputItemApplyPatchToolCallOutputItemParamSerializer(item) {
|
|
3741
|
-
return {
|
|
3742
|
-
type: item["type"],
|
|
3743
|
-
id: item["id"],
|
|
3744
|
-
call_id: item["call_id"],
|
|
3745
|
-
status: item["status"],
|
|
3746
|
-
output: item["output"],
|
|
3747
|
-
};
|
|
3748
|
-
}
|
|
3749
|
-
export function inputItemMcpListToolsSerializer(item) {
|
|
3750
|
-
return {
|
|
3751
|
-
type: item["type"],
|
|
3752
|
-
id: item["id"],
|
|
3753
|
-
server_label: item["server_label"],
|
|
3754
|
-
tools: mcpListToolsToolArraySerializer(item["tools"]),
|
|
3755
|
-
error: item["error"],
|
|
3756
|
-
};
|
|
3757
|
-
}
|
|
3758
|
-
export function mcpListToolsToolArraySerializer(result) {
|
|
3759
|
-
return result.map((item) => {
|
|
3760
|
-
return mcpListToolsToolSerializer(item);
|
|
3761
|
-
});
|
|
3762
|
-
}
|
|
3763
|
-
export function mcpListToolsToolSerializer(item) {
|
|
3764
|
-
return {
|
|
3765
|
-
name: item["name"],
|
|
3766
|
-
description: item["description"],
|
|
3767
|
-
input_schema: mcpListToolsToolInputSchemaSerializer(item["input_schema"]),
|
|
3768
|
-
annotations: !item["annotations"]
|
|
3769
|
-
? item["annotations"]
|
|
3770
|
-
: mcpListToolsToolAnnotationsSerializer(item["annotations"]),
|
|
3771
|
-
};
|
|
3772
|
-
}
|
|
3773
|
-
export function mcpListToolsToolInputSchemaSerializer(item) {
|
|
3774
|
-
return item;
|
|
3775
|
-
}
|
|
3776
|
-
export function mcpListToolsToolAnnotationsSerializer(item) {
|
|
3777
|
-
return item;
|
|
3778
|
-
}
|
|
3779
|
-
export function inputItemMcpApprovalRequestSerializer(item) {
|
|
3780
|
-
return {
|
|
3781
|
-
type: item["type"],
|
|
3782
|
-
id: item["id"],
|
|
3783
|
-
server_label: item["server_label"],
|
|
3784
|
-
name: item["name"],
|
|
3785
|
-
arguments: item["arguments"],
|
|
3786
|
-
};
|
|
3787
|
-
}
|
|
3788
|
-
export function inputItemMcpApprovalResponseSerializer(item) {
|
|
3789
|
-
return {
|
|
3790
|
-
type: item["type"],
|
|
3791
|
-
id: item["id"],
|
|
3792
|
-
approval_request_id: item["approval_request_id"],
|
|
3793
|
-
approve: item["approve"],
|
|
3794
|
-
reason: item["reason"],
|
|
3795
|
-
};
|
|
3796
|
-
}
|
|
3797
|
-
export function inputItemMcpToolCallSerializer(item) {
|
|
3798
|
-
return {
|
|
3799
|
-
type: item["type"],
|
|
3800
|
-
id: item["id"],
|
|
3801
|
-
server_label: item["server_label"],
|
|
3802
|
-
name: item["name"],
|
|
3803
|
-
arguments: item["arguments"],
|
|
3804
|
-
output: item["output"],
|
|
3805
|
-
error: item["error"],
|
|
3806
|
-
status: item["status"],
|
|
3807
|
-
approval_request_id: item["approval_request_id"],
|
|
3808
|
-
};
|
|
3809
|
-
}
|
|
3810
|
-
export function inputItemCustomToolCallOutputSerializer(item) {
|
|
3811
|
-
return {
|
|
3812
|
-
type: item["type"],
|
|
3813
|
-
id: item["id"],
|
|
3814
|
-
call_id: item["call_id"],
|
|
3815
|
-
output: _itemCustomToolCallOutputOutputSerializer(item["output"]),
|
|
3816
|
-
};
|
|
3817
|
-
}
|
|
3818
|
-
export function _itemCustomToolCallOutputOutputSerializer(item) {
|
|
3819
|
-
return item;
|
|
3820
|
-
}
|
|
3821
|
-
export function functionAndCustomToolCallOutputUnionArraySerializer(result) {
|
|
3822
|
-
return result.map((item) => {
|
|
3823
|
-
return functionAndCustomToolCallOutputUnionSerializer(item);
|
|
3824
|
-
});
|
|
3825
|
-
}
|
|
3826
|
-
export function functionAndCustomToolCallOutputSerializer(item) {
|
|
3827
|
-
return { type: item["type"] };
|
|
3828
|
-
}
|
|
3829
|
-
export function functionAndCustomToolCallOutputUnionSerializer(item) {
|
|
3830
|
-
switch (item.type) {
|
|
3831
|
-
case "input_text":
|
|
3832
|
-
return functionAndCustomToolCallOutputInputTextContentSerializer(item);
|
|
3833
|
-
case "input_image":
|
|
3834
|
-
return functionAndCustomToolCallOutputInputImageContentSerializer(item);
|
|
3835
|
-
case "input_file":
|
|
3836
|
-
return functionAndCustomToolCallOutputInputFileContentSerializer(item);
|
|
3837
|
-
default:
|
|
3838
|
-
return functionAndCustomToolCallOutputSerializer(item);
|
|
3839
|
-
}
|
|
3840
|
-
}
|
|
3841
|
-
export function functionAndCustomToolCallOutputInputTextContentSerializer(item) {
|
|
3842
|
-
return { type: item["type"], text: item["text"] };
|
|
3843
|
-
}
|
|
3844
|
-
export function functionAndCustomToolCallOutputInputImageContentSerializer(item) {
|
|
3845
|
-
return {
|
|
3846
|
-
type: item["type"],
|
|
3847
|
-
image_url: item["image_url"],
|
|
3848
|
-
file_id: item["file_id"],
|
|
3849
|
-
detail: item["detail"],
|
|
3850
|
-
};
|
|
3851
|
-
}
|
|
3852
|
-
export function functionAndCustomToolCallOutputInputFileContentSerializer(item) {
|
|
3853
|
-
return {
|
|
3854
|
-
type: item["type"],
|
|
3855
|
-
file_id: item["file_id"],
|
|
3856
|
-
filename: item["filename"],
|
|
3857
|
-
file_url: item["file_url"],
|
|
3858
|
-
file_data: item["file_data"],
|
|
3859
|
-
};
|
|
3860
|
-
}
|
|
3861
|
-
export function inputItemCustomToolCallSerializer(item) {
|
|
3862
|
-
return {
|
|
3863
|
-
type: item["type"],
|
|
3864
|
-
id: item["id"],
|
|
3865
|
-
call_id: item["call_id"],
|
|
3866
|
-
name: item["name"],
|
|
3867
|
-
input: item["input"],
|
|
3868
|
-
};
|
|
3869
|
-
}
|
|
3870
|
-
export function inputItemUnionArraySerializer(result) {
|
|
3871
|
-
return result.map((item) => {
|
|
3872
|
-
return inputItemUnionSerializer(item);
|
|
3873
|
-
});
|
|
3874
|
-
}
|
|
3875
|
-
export function memoryStoreSearchResponseDeserializer(item) {
|
|
3876
|
-
return {
|
|
3877
|
-
search_id: item["search_id"],
|
|
3878
|
-
memories: memorySearchItemArrayDeserializer(item["memories"]),
|
|
3879
|
-
usage: memoryStoreOperationUsageDeserializer(item["usage"]),
|
|
3880
|
-
};
|
|
3881
|
-
}
|
|
3882
|
-
export function memorySearchItemArrayDeserializer(result) {
|
|
3883
|
-
return result.map((item) => {
|
|
3884
|
-
return memorySearchItemDeserializer(item);
|
|
3885
|
-
});
|
|
3886
|
-
}
|
|
3887
|
-
export function memorySearchItemDeserializer(item) {
|
|
3888
|
-
return {
|
|
3889
|
-
memory_item: memoryItemUnionDeserializer(item["memory_item"]),
|
|
3890
|
-
};
|
|
3891
|
-
}
|
|
3892
|
-
export function memoryItemDeserializer(item) {
|
|
3893
|
-
return {
|
|
3894
|
-
memory_id: item["memory_id"],
|
|
3895
|
-
updated_at: new Date(item["updated_at"] * 1000),
|
|
3896
|
-
scope: item["scope"],
|
|
3897
|
-
content: item["content"],
|
|
3898
|
-
kind: item["kind"],
|
|
3899
|
-
};
|
|
3900
|
-
}
|
|
3901
|
-
export function memoryItemUnionDeserializer(item) {
|
|
3902
|
-
switch (item.kind) {
|
|
3903
|
-
case "user_profile":
|
|
3904
|
-
return userProfileMemoryItemDeserializer(item);
|
|
3905
|
-
case "chat_summary":
|
|
3906
|
-
return chatSummaryMemoryItemDeserializer(item);
|
|
3907
|
-
default:
|
|
3908
|
-
return memoryItemDeserializer(item);
|
|
3909
|
-
}
|
|
3910
|
-
}
|
|
3911
|
-
export function userProfileMemoryItemDeserializer(item) {
|
|
3254
|
+
export function userProfileMemoryItemDeserializer(item) {
|
|
3912
3255
|
return {
|
|
3913
3256
|
memory_id: item["memory_id"],
|
|
3914
3257
|
updated_at: new Date(item["updated_at"] * 1000),
|
|
@@ -3986,21 +3329,13 @@ export function redTeamSerializer(item) {
|
|
|
3986
3329
|
return {
|
|
3987
3330
|
displayName: item["displayName"],
|
|
3988
3331
|
numTurns: item["numTurns"],
|
|
3989
|
-
attackStrategies:
|
|
3990
|
-
? item["attackStrategies"]
|
|
3991
|
-
: item["attackStrategies"].map((p) => {
|
|
3992
|
-
return p;
|
|
3993
|
-
}),
|
|
3332
|
+
attackStrategies: item["attackStrategies"],
|
|
3994
3333
|
simulationOnly: item["simulationOnly"],
|
|
3995
|
-
riskCategories:
|
|
3996
|
-
? item["riskCategories"]
|
|
3997
|
-
: item["riskCategories"].map((p) => {
|
|
3998
|
-
return p;
|
|
3999
|
-
}),
|
|
3334
|
+
riskCategories: item["riskCategories"],
|
|
4000
3335
|
applicationScenario: item["applicationScenario"],
|
|
4001
3336
|
tags: item["tags"],
|
|
4002
3337
|
properties: item["properties"],
|
|
4003
|
-
target: targetConfigUnionSerializer(item["target"]),
|
|
3338
|
+
target: item["target"] ? targetConfigUnionSerializer(item["target"]) : undefined,
|
|
4004
3339
|
};
|
|
4005
3340
|
}
|
|
4006
3341
|
export function redTeamDeserializer(item) {
|
|
@@ -4008,22 +3343,14 @@ export function redTeamDeserializer(item) {
|
|
|
4008
3343
|
name: item["id"],
|
|
4009
3344
|
displayName: item["displayName"],
|
|
4010
3345
|
numTurns: item["numTurns"],
|
|
4011
|
-
attackStrategies:
|
|
4012
|
-
? item["attackStrategies"]
|
|
4013
|
-
: item["attackStrategies"].map((p) => {
|
|
4014
|
-
return p;
|
|
4015
|
-
}),
|
|
3346
|
+
attackStrategies: item["attackStrategies"],
|
|
4016
3347
|
simulationOnly: item["simulationOnly"],
|
|
4017
|
-
riskCategories:
|
|
4018
|
-
? item["riskCategories"]
|
|
4019
|
-
: item["riskCategories"].map((p) => {
|
|
4020
|
-
return p;
|
|
4021
|
-
}),
|
|
3348
|
+
riskCategories: item["riskCategories"],
|
|
4022
3349
|
applicationScenario: item["applicationScenario"],
|
|
4023
3350
|
tags: item["tags"],
|
|
4024
3351
|
properties: item["properties"],
|
|
4025
3352
|
status: item["status"],
|
|
4026
|
-
target: targetConfigUnionDeserializer(item["target"]),
|
|
3353
|
+
target: item["target"] ? targetConfigUnionDeserializer(item["target"]) : undefined,
|
|
4027
3354
|
};
|
|
4028
3355
|
}
|
|
4029
3356
|
export function targetConfigSerializer(item) {
|
|
@@ -4217,49 +3544,37 @@ export function hourlyRecurrenceScheduleDeserializer(item) {
|
|
|
4217
3544
|
export function dailyRecurrenceScheduleSerializer(item) {
|
|
4218
3545
|
return {
|
|
4219
3546
|
type: item["type"],
|
|
4220
|
-
hours: item["hours"]
|
|
4221
|
-
return p;
|
|
4222
|
-
}),
|
|
3547
|
+
hours: item["hours"],
|
|
4223
3548
|
};
|
|
4224
3549
|
}
|
|
4225
3550
|
export function dailyRecurrenceScheduleDeserializer(item) {
|
|
4226
3551
|
return {
|
|
4227
3552
|
type: item["type"],
|
|
4228
|
-
hours: item["hours"]
|
|
4229
|
-
return p;
|
|
4230
|
-
}),
|
|
3553
|
+
hours: item["hours"],
|
|
4231
3554
|
};
|
|
4232
3555
|
}
|
|
4233
3556
|
export function weeklyRecurrenceScheduleSerializer(item) {
|
|
4234
3557
|
return {
|
|
4235
3558
|
type: item["type"],
|
|
4236
|
-
daysOfWeek: item["daysOfWeek"]
|
|
4237
|
-
return p;
|
|
4238
|
-
}),
|
|
3559
|
+
daysOfWeek: item["daysOfWeek"],
|
|
4239
3560
|
};
|
|
4240
3561
|
}
|
|
4241
3562
|
export function weeklyRecurrenceScheduleDeserializer(item) {
|
|
4242
3563
|
return {
|
|
4243
3564
|
type: item["type"],
|
|
4244
|
-
daysOfWeek: item["daysOfWeek"]
|
|
4245
|
-
return p;
|
|
4246
|
-
}),
|
|
3565
|
+
daysOfWeek: item["daysOfWeek"],
|
|
4247
3566
|
};
|
|
4248
3567
|
}
|
|
4249
3568
|
export function monthlyRecurrenceScheduleSerializer(item) {
|
|
4250
3569
|
return {
|
|
4251
3570
|
type: item["type"],
|
|
4252
|
-
daysOfMonth: item["daysOfMonth"]
|
|
4253
|
-
return p;
|
|
4254
|
-
}),
|
|
3571
|
+
daysOfMonth: item["daysOfMonth"],
|
|
4255
3572
|
};
|
|
4256
3573
|
}
|
|
4257
3574
|
export function monthlyRecurrenceScheduleDeserializer(item) {
|
|
4258
3575
|
return {
|
|
4259
3576
|
type: item["type"],
|
|
4260
|
-
daysOfMonth: item["daysOfMonth"]
|
|
4261
|
-
return p;
|
|
4262
|
-
}),
|
|
3577
|
+
daysOfMonth: item["daysOfMonth"],
|
|
4263
3578
|
};
|
|
4264
3579
|
}
|
|
4265
3580
|
export function oneTimeTriggerSerializer(item) {
|
|
@@ -4374,6 +3689,18 @@ export function scheduleRunArrayDeserializer(result) {
|
|
|
4374
3689
|
return scheduleRunDeserializer(item);
|
|
4375
3690
|
});
|
|
4376
3691
|
}
|
|
3692
|
+
export function _createAgentRequestFoundryFeaturesSerializer(item) {
|
|
3693
|
+
return item;
|
|
3694
|
+
}
|
|
3695
|
+
export function _updateAgentRequestFoundryFeaturesSerializer(item) {
|
|
3696
|
+
return item;
|
|
3697
|
+
}
|
|
3698
|
+
export function _createAgentVersionRequestFoundryFeaturesSerializer(item) {
|
|
3699
|
+
return item;
|
|
3700
|
+
}
|
|
3701
|
+
export function _listVersionsRequestTypeSerializer(item) {
|
|
3702
|
+
return item;
|
|
3703
|
+
}
|
|
4377
3704
|
/** Microsoft Foundry API versions */
|
|
4378
3705
|
export var KnownApiVersions;
|
|
4379
3706
|
(function (KnownApiVersions) {
|