@azure/ai-projects 2.0.0-beta.4 → 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 +63 -42
- package/dist/browser/aiProjectClient.d.ts +36 -36
- package/dist/browser/aiProjectClient.d.ts.map +1 -1
- package/dist/browser/aiProjectClient.js +38 -40
- package/dist/browser/aiProjectClient.js.map +1 -1
- package/dist/browser/api/agents/index.d.ts +2 -2
- package/dist/browser/api/agents/index.d.ts.map +1 -1
- package/dist/browser/api/agents/index.js +1 -1
- package/dist/browser/api/agents/index.js.map +1 -1
- package/dist/browser/api/agents/operations.d.ts +40 -61
- package/dist/browser/api/agents/operations.d.ts.map +1 -1
- package/dist/browser/api/agents/operations.js +121 -188
- package/dist/browser/api/agents/operations.js.map +1 -1
- package/dist/browser/api/agents/options.d.ts +29 -32
- 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 +4 -17
- package/dist/browser/api/aiProjectContext.js.map +1 -1
- package/dist/browser/api/beta/evaluationTaxonomies/index.d.ts +3 -0
- package/dist/browser/api/beta/evaluationTaxonomies/index.d.ts.map +1 -0
- package/dist/browser/api/beta/evaluationTaxonomies/index.js.map +1 -0
- package/dist/browser/api/beta/evaluationTaxonomies/operations.d.ts +26 -0
- package/dist/browser/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -0
- package/dist/browser/api/beta/evaluationTaxonomies/operations.js +173 -0
- package/dist/browser/api/beta/evaluationTaxonomies/operations.js.map +1 -0
- package/dist/browser/api/beta/evaluationTaxonomies/options.d.ts +27 -0
- package/dist/browser/api/beta/evaluationTaxonomies/options.d.ts.map +1 -0
- package/dist/browser/api/beta/evaluationTaxonomies/options.js.map +1 -0
- package/dist/browser/api/beta/evaluators/index.d.ts +3 -0
- package/dist/browser/api/beta/evaluators/index.d.ts.map +1 -0
- package/dist/browser/api/beta/evaluators/index.js.map +1 -0
- package/dist/browser/api/beta/evaluators/operations.d.ts +30 -0
- package/dist/browser/api/beta/evaluators/operations.d.ts.map +1 -0
- package/dist/browser/api/beta/evaluators/operations.js +203 -0
- package/dist/browser/api/beta/evaluators/operations.js.map +1 -0
- package/dist/browser/api/beta/evaluators/options.d.ts +29 -0
- package/dist/browser/api/beta/evaluators/options.d.ts.map +1 -0
- package/dist/browser/api/beta/evaluators/options.js.map +1 -0
- package/dist/browser/api/beta/insights/index.d.ts +3 -0
- package/dist/browser/api/beta/insights/index.d.ts.map +1 -0
- package/dist/browser/api/beta/insights/index.js.map +1 -0
- package/dist/browser/api/beta/insights/operations.d.ts +18 -0
- package/dist/browser/api/beta/insights/operations.d.ts.map +1 -0
- package/dist/browser/api/beta/insights/operations.js +124 -0
- package/dist/browser/api/beta/insights/operations.js.map +1 -0
- package/dist/browser/api/beta/insights/options.d.ts +32 -0
- package/dist/browser/api/beta/insights/options.d.ts.map +1 -0
- package/dist/browser/api/beta/insights/options.js.map +1 -0
- package/dist/browser/api/beta/memoryStores/index.d.ts +3 -0
- package/dist/browser/api/beta/memoryStores/index.d.ts.map +1 -0
- package/dist/browser/api/beta/memoryStores/index.js +4 -0
- package/dist/browser/api/beta/memoryStores/index.js.map +1 -0
- package/dist/browser/api/beta/memoryStores/operations.d.ts +43 -0
- package/dist/browser/api/beta/memoryStores/operations.d.ts.map +1 -0
- package/dist/browser/api/beta/memoryStores/operations.js +335 -0
- package/dist/browser/api/beta/memoryStores/operations.js.map +1 -0
- package/dist/browser/api/beta/memoryStores/options.d.ts +79 -0
- package/dist/browser/api/beta/memoryStores/options.d.ts.map +1 -0
- package/dist/browser/api/beta/memoryStores/options.js.map +1 -0
- package/dist/browser/api/beta/redTeams/index.d.ts +3 -0
- package/dist/browser/api/beta/redTeams/index.d.ts.map +1 -0
- package/dist/browser/api/beta/redTeams/index.js.map +1 -0
- package/dist/browser/api/beta/redTeams/operations.d.ts +18 -0
- package/dist/browser/api/beta/redTeams/operations.d.ts.map +1 -0
- package/dist/browser/api/beta/redTeams/operations.js +110 -0
- package/dist/browser/api/beta/redTeams/operations.js.map +1 -0
- package/dist/browser/api/beta/redTeams/options.d.ts +15 -0
- package/dist/browser/api/beta/redTeams/options.d.ts.map +1 -0
- package/dist/browser/api/beta/redTeams/options.js.map +1 -0
- package/dist/browser/api/beta/schedules/index.d.ts +3 -0
- package/dist/browser/api/beta/schedules/index.d.ts.map +1 -0
- package/dist/browser/api/beta/schedules/index.js.map +1 -0
- package/dist/browser/api/beta/schedules/operations.d.ts +30 -0
- package/dist/browser/api/beta/schedules/operations.d.ts.map +1 -0
- package/dist/browser/api/beta/schedules/operations.js +217 -0
- package/dist/browser/api/beta/schedules/operations.js.map +1 -0
- package/dist/browser/api/beta/schedules/options.d.ts +39 -0
- package/dist/browser/api/beta/schedules/options.d.ts.map +1 -0
- package/dist/browser/api/beta/schedules/options.js.map +1 -0
- 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 +13 -13
- 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 +11 -5
- 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 +4 -4
- 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 +27 -13
- package/dist/browser/api/evaluationRules/operations.js.map +1 -1
- package/dist/browser/api/evaluationRules/options.d.ts +10 -8
- 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 +6 -6
- package/dist/browser/api/indexes/operations.d.ts.map +1 -1
- package/dist/browser/api/indexes/operations.js +5 -5
- 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 +20 -39
- package/dist/browser/classic/agents/index.d.ts.map +1 -1
- package/dist/browser/classic/agents/index.js +10 -12
- package/dist/browser/classic/agents/index.js.map +1 -1
- package/dist/browser/classic/beta/evaluationTaxonomies/index.d.ts +19 -0
- package/dist/browser/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -0
- package/dist/browser/classic/beta/evaluationTaxonomies/index.js +18 -0
- package/dist/browser/classic/beta/evaluationTaxonomies/index.js.map +1 -0
- package/dist/browser/classic/beta/evaluators/index.d.ts +21 -0
- package/dist/browser/classic/beta/evaluators/index.d.ts.map +1 -0
- package/dist/browser/classic/beta/evaluators/index.js +19 -0
- package/dist/browser/classic/beta/evaluators/index.js.map +1 -0
- package/dist/browser/classic/beta/index.d.ts +24 -0
- package/dist/browser/classic/beta/index.d.ts.map +1 -0
- package/dist/browser/classic/beta/index.js +25 -0
- package/dist/browser/classic/beta/index.js.map +1 -0
- package/dist/browser/classic/beta/insights/index.d.ts +15 -0
- package/dist/browser/classic/beta/insights/index.d.ts.map +1 -0
- package/dist/browser/classic/beta/insights/index.js +16 -0
- package/dist/browser/classic/beta/insights/index.js.map +1 -0
- package/dist/browser/classic/beta/memoryStores/index.d.ts +28 -0
- package/dist/browser/classic/beta/memoryStores/index.d.ts.map +1 -0
- package/dist/browser/classic/beta/memoryStores/index.js +22 -0
- package/dist/browser/classic/beta/memoryStores/index.js.map +1 -0
- package/dist/browser/classic/beta/redTeams/index.d.ts +15 -0
- package/dist/browser/classic/beta/redTeams/index.d.ts.map +1 -0
- package/dist/browser/classic/beta/redTeams/index.js +16 -0
- package/dist/browser/classic/beta/redTeams/index.js.map +1 -0
- package/dist/browser/classic/beta/schedules/index.d.ts +21 -0
- package/dist/browser/classic/beta/schedules/index.d.ts.map +1 -0
- package/dist/browser/classic/beta/schedules/index.js +19 -0
- package/dist/browser/classic/beta/schedules/index.js.map +1 -0
- 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 -13
- 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 +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 -19
- 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 +1304 -2024
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +1258 -1800
- 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 +1 -1
- package/dist/browser/overwriteOpenAIClient.js.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.d.ts +5 -27
- package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js +28 -5
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts +8 -3
- package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js +19 -3
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/browser/util.d.ts +11 -0
- package/dist/browser/util.d.ts.map +1 -0
- package/dist/browser/util.js +93 -0
- package/dist/browser/util.js.map +1 -0
- package/dist/commonjs/aiProjectClient.d.ts +36 -36
- package/dist/commonjs/aiProjectClient.d.ts.map +1 -1
- package/dist/commonjs/aiProjectClient.js +140 -139
- package/dist/commonjs/aiProjectClient.js.map +7 -1
- package/dist/commonjs/api/agents/index.d.ts +2 -2
- package/dist/commonjs/api/agents/index.d.ts.map +1 -1
- package/dist/commonjs/api/agents/index.js +49 -20
- package/dist/commonjs/api/agents/index.js.map +7 -1
- package/dist/commonjs/api/agents/operations.d.ts +40 -61
- package/dist/commonjs/api/agents/operations.d.ts.map +1 -1
- package/dist/commonjs/api/agents/operations.js +514 -475
- package/dist/commonjs/api/agents/operations.js.map +7 -1
- package/dist/commonjs/api/agents/options.d.ts +29 -32
- 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 -39
- package/dist/commonjs/api/aiProjectContext.js.map +7 -1
- package/dist/commonjs/api/beta/evaluationTaxonomies/index.d.ts +3 -0
- package/dist/commonjs/api/beta/evaluationTaxonomies/index.d.ts.map +1 -0
- package/dist/commonjs/api/beta/evaluationTaxonomies/index.js +35 -0
- package/dist/commonjs/api/beta/evaluationTaxonomies/index.js.map +7 -0
- package/dist/commonjs/api/beta/evaluationTaxonomies/operations.d.ts +26 -0
- package/dist/commonjs/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -0
- package/dist/commonjs/api/beta/evaluationTaxonomies/operations.js +239 -0
- package/dist/commonjs/api/beta/evaluationTaxonomies/operations.js.map +7 -0
- package/dist/commonjs/api/beta/evaluationTaxonomies/options.d.ts +27 -0
- package/dist/commonjs/api/beta/evaluationTaxonomies/options.d.ts.map +1 -0
- package/dist/commonjs/api/beta/evaluationTaxonomies/options.js +15 -0
- package/dist/commonjs/api/beta/evaluationTaxonomies/options.js.map +7 -0
- package/dist/commonjs/api/beta/evaluators/index.d.ts +3 -0
- package/dist/commonjs/api/beta/evaluators/index.d.ts.map +1 -0
- package/dist/commonjs/api/beta/evaluators/index.js +37 -0
- package/dist/commonjs/api/beta/evaluators/index.js.map +7 -0
- package/dist/commonjs/api/beta/evaluators/operations.d.ts +30 -0
- package/dist/commonjs/api/beta/evaluators/operations.d.ts.map +1 -0
- package/dist/commonjs/api/beta/evaluators/operations.js +290 -0
- package/dist/commonjs/api/beta/evaluators/operations.js.map +7 -0
- package/dist/commonjs/api/beta/evaluators/options.d.ts +29 -0
- package/dist/commonjs/api/beta/evaluators/options.d.ts.map +1 -0
- package/dist/commonjs/api/beta/evaluators/options.js +15 -0
- package/dist/commonjs/api/beta/evaluators/options.js.map +7 -0
- package/dist/commonjs/api/beta/insights/index.d.ts +3 -0
- package/dist/commonjs/api/beta/insights/index.d.ts.map +1 -0
- package/dist/commonjs/api/beta/insights/index.js +31 -0
- package/dist/commonjs/api/beta/insights/index.js.map +7 -0
- package/dist/commonjs/api/beta/insights/operations.d.ts +18 -0
- package/dist/commonjs/api/beta/insights/operations.d.ts.map +1 -0
- package/dist/commonjs/api/beta/insights/operations.js +168 -0
- package/dist/commonjs/api/beta/insights/operations.js.map +7 -0
- package/dist/commonjs/api/beta/insights/options.d.ts +32 -0
- package/dist/commonjs/api/beta/insights/options.d.ts.map +1 -0
- package/dist/commonjs/api/beta/insights/options.js +15 -0
- package/dist/commonjs/api/beta/insights/options.js.map +7 -0
- package/dist/commonjs/api/beta/memoryStores/index.d.ts +3 -0
- package/dist/commonjs/api/beta/memoryStores/index.d.ts.map +1 -0
- package/dist/commonjs/api/beta/memoryStores/index.js +43 -0
- package/dist/commonjs/api/beta/memoryStores/index.js.map +7 -0
- package/dist/commonjs/api/beta/memoryStores/operations.d.ts +43 -0
- package/dist/commonjs/api/beta/memoryStores/operations.d.ts.map +1 -0
- package/dist/commonjs/api/beta/memoryStores/operations.js +442 -0
- package/dist/commonjs/api/beta/memoryStores/operations.js.map +7 -0
- package/dist/commonjs/api/beta/memoryStores/options.d.ts +79 -0
- package/dist/commonjs/api/beta/memoryStores/options.d.ts.map +1 -0
- package/dist/commonjs/api/beta/memoryStores/options.js +15 -0
- package/dist/commonjs/api/beta/memoryStores/options.js.map +7 -0
- package/dist/commonjs/api/beta/redTeams/index.d.ts +3 -0
- package/dist/commonjs/api/beta/redTeams/index.d.ts.map +1 -0
- package/dist/commonjs/api/beta/redTeams/index.js +31 -0
- package/dist/commonjs/api/beta/redTeams/index.js.map +7 -0
- package/dist/commonjs/api/beta/redTeams/operations.d.ts +18 -0
- package/dist/commonjs/api/beta/redTeams/operations.d.ts.map +1 -0
- package/dist/commonjs/api/beta/redTeams/operations.js +160 -0
- package/dist/commonjs/api/beta/redTeams/operations.js.map +7 -0
- package/dist/commonjs/api/beta/redTeams/options.d.ts +15 -0
- package/dist/commonjs/api/beta/redTeams/options.d.ts.map +1 -0
- package/dist/commonjs/api/beta/redTeams/options.js +15 -0
- package/dist/commonjs/api/beta/redTeams/options.js.map +7 -0
- package/dist/commonjs/api/beta/schedules/index.d.ts +3 -0
- package/dist/commonjs/api/beta/schedules/index.d.ts.map +1 -0
- package/dist/commonjs/api/beta/schedules/index.js +37 -0
- package/dist/commonjs/api/beta/schedules/index.js.map +7 -0
- package/dist/commonjs/api/beta/schedules/operations.d.ts +30 -0
- package/dist/commonjs/api/beta/schedules/operations.d.ts.map +1 -0
- package/dist/commonjs/api/beta/schedules/operations.js +294 -0
- package/dist/commonjs/api/beta/schedules/operations.js.map +7 -0
- package/dist/commonjs/api/beta/schedules/options.d.ts +39 -0
- package/dist/commonjs/api/beta/schedules/options.d.ts.map +1 -0
- package/dist/commonjs/api/beta/schedules/options.js +15 -0
- package/dist/commonjs/api/beta/schedules/options.js.map +7 -0
- 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 -116
- package/dist/commonjs/api/evaluationRules/operations.js.map +7 -1
- package/dist/commonjs/api/evaluationRules/options.d.ts +10 -8
- 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 +6 -6
- package/dist/commonjs/api/indexes/operations.d.ts.map +1 -1
- package/dist/commonjs/api/indexes/operations.js +187 -126
- 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 +20 -39
- package/dist/commonjs/classic/agents/index.d.ts.map +1 -1
- package/dist/commonjs/classic/agents/index.js +89 -44
- package/dist/commonjs/classic/agents/index.js.map +7 -1
- package/dist/commonjs/classic/beta/evaluationTaxonomies/index.d.ts +19 -0
- package/dist/commonjs/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -0
- package/dist/commonjs/classic/beta/evaluationTaxonomies/index.js +41 -0
- package/dist/commonjs/classic/beta/evaluationTaxonomies/index.js.map +7 -0
- package/dist/commonjs/classic/beta/evaluators/index.d.ts +21 -0
- package/dist/commonjs/classic/beta/evaluators/index.d.ts.map +1 -0
- package/dist/commonjs/classic/beta/evaluators/index.js +42 -0
- package/dist/commonjs/classic/beta/evaluators/index.js.map +7 -0
- package/dist/commonjs/classic/beta/index.d.ts +24 -0
- package/dist/commonjs/classic/beta/index.d.ts.map +1 -0
- package/dist/commonjs/classic/beta/index.js +48 -0
- package/dist/commonjs/classic/beta/index.js.map +7 -0
- package/dist/commonjs/classic/beta/insights/index.d.ts +15 -0
- package/dist/commonjs/classic/beta/insights/index.d.ts.map +1 -0
- package/dist/commonjs/classic/beta/insights/index.js +39 -0
- package/dist/commonjs/classic/beta/insights/index.js.map +7 -0
- package/dist/commonjs/classic/beta/memoryStores/index.d.ts +28 -0
- package/dist/commonjs/classic/beta/memoryStores/index.d.ts.map +1 -0
- package/dist/commonjs/classic/beta/memoryStores/index.js +45 -0
- package/dist/commonjs/classic/beta/memoryStores/index.js.map +7 -0
- package/dist/commonjs/classic/beta/redTeams/index.d.ts +15 -0
- package/dist/commonjs/classic/beta/redTeams/index.d.ts.map +1 -0
- package/dist/commonjs/classic/beta/redTeams/index.js +39 -0
- package/dist/commonjs/classic/beta/redTeams/index.js.map +7 -0
- package/dist/commonjs/classic/beta/schedules/index.d.ts +21 -0
- package/dist/commonjs/classic/beta/schedules/index.d.ts.map +1 -0
- package/dist/commonjs/classic/beta/schedules/index.js +42 -0
- package/dist/commonjs/classic/beta/schedules/index.js.map +7 -0
- 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 -13
- 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 -19
- 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 +1304 -2024
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +3994 -4123
- 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 +5 -27
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js +125 -106
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -1
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +8 -3
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js +94 -76
- 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.d.ts +11 -0
- package/dist/commonjs/util.d.ts.map +1 -0
- package/dist/commonjs/util.js +96 -0
- package/dist/commonjs/util.js.map +7 -0
- package/dist/esm/aiProjectClient.d.ts +36 -36
- package/dist/esm/aiProjectClient.d.ts.map +1 -1
- package/dist/esm/aiProjectClient.js +97 -124
- package/dist/esm/aiProjectClient.js.map +7 -1
- package/dist/esm/api/agents/index.d.ts +2 -2
- 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 +40 -61
- package/dist/esm/api/agents/operations.d.ts.map +1 -1
- package/dist/esm/api/agents/operations.js +474 -443
- package/dist/esm/api/agents/operations.js.map +7 -1
- package/dist/esm/api/agents/options.d.ts +29 -32
- 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 -34
- package/dist/esm/api/aiProjectContext.js.map +7 -1
- package/dist/esm/api/beta/evaluationTaxonomies/index.d.ts +3 -0
- package/dist/esm/api/beta/evaluationTaxonomies/index.d.ts.map +1 -0
- package/dist/esm/api/beta/evaluationTaxonomies/index.js +8 -0
- package/dist/esm/api/beta/evaluationTaxonomies/index.js.map +7 -0
- package/dist/esm/api/beta/evaluationTaxonomies/operations.d.ts +26 -0
- package/dist/esm/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -0
- package/dist/esm/api/beta/evaluationTaxonomies/operations.js +206 -0
- package/dist/esm/api/beta/evaluationTaxonomies/operations.js.map +7 -0
- package/dist/esm/api/beta/evaluationTaxonomies/options.d.ts +27 -0
- package/dist/esm/api/beta/evaluationTaxonomies/options.d.ts.map +1 -0
- package/dist/esm/api/beta/evaluationTaxonomies/options.js +0 -0
- package/dist/esm/api/beta/evaluationTaxonomies/options.js.map +7 -0
- package/dist/esm/api/beta/evaluators/index.d.ts +3 -0
- package/dist/esm/api/beta/evaluators/index.d.ts.map +1 -0
- package/dist/esm/api/beta/evaluators/index.js +16 -0
- package/dist/esm/api/beta/evaluators/index.js.map +7 -0
- package/dist/esm/api/beta/evaluators/operations.d.ts +30 -0
- package/dist/esm/api/beta/evaluators/operations.d.ts.map +1 -0
- package/dist/esm/api/beta/evaluators/operations.js +254 -0
- package/dist/esm/api/beta/evaluators/operations.js.map +7 -0
- package/dist/esm/api/beta/evaluators/options.d.ts +29 -0
- package/dist/esm/api/beta/evaluators/options.d.ts.map +1 -0
- package/dist/esm/api/beta/evaluators/options.js +0 -0
- package/dist/esm/api/beta/evaluators/options.js.map +7 -0
- package/dist/esm/api/beta/insights/index.d.ts +3 -0
- package/dist/esm/api/beta/insights/index.d.ts.map +1 -0
- package/dist/esm/api/beta/insights/index.js +6 -0
- package/dist/esm/api/beta/insights/index.js.map +7 -0
- package/dist/esm/api/beta/insights/operations.d.ts +18 -0
- package/dist/esm/api/beta/insights/operations.d.ts.map +1 -0
- package/dist/esm/api/beta/insights/operations.js +141 -0
- package/dist/esm/api/beta/insights/operations.js.map +7 -0
- package/dist/esm/api/beta/insights/options.d.ts +32 -0
- package/dist/esm/api/beta/insights/options.d.ts.map +1 -0
- package/dist/esm/api/beta/insights/options.js +0 -0
- package/dist/esm/api/beta/insights/options.js.map +7 -0
- package/dist/esm/api/beta/memoryStores/index.d.ts +3 -0
- package/dist/esm/api/beta/memoryStores/index.d.ts.map +1 -0
- package/dist/esm/api/beta/memoryStores/index.js +22 -0
- package/dist/esm/api/beta/memoryStores/index.js.map +7 -0
- package/dist/esm/api/beta/memoryStores/operations.d.ts +43 -0
- package/dist/esm/api/beta/memoryStores/operations.d.ts.map +1 -0
- package/dist/esm/api/beta/memoryStores/operations.js +404 -0
- package/dist/esm/api/beta/memoryStores/operations.js.map +7 -0
- package/dist/esm/api/beta/memoryStores/options.d.ts +79 -0
- package/dist/esm/api/beta/memoryStores/options.d.ts.map +1 -0
- package/dist/esm/api/beta/memoryStores/options.js +0 -0
- package/dist/esm/api/beta/memoryStores/options.js.map +7 -0
- package/dist/esm/api/beta/redTeams/index.d.ts +3 -0
- package/dist/esm/api/beta/redTeams/index.d.ts.map +1 -0
- package/dist/esm/api/beta/redTeams/index.js +6 -0
- package/dist/esm/api/beta/redTeams/index.js.map +7 -0
- package/dist/esm/api/beta/redTeams/operations.d.ts +18 -0
- package/dist/esm/api/beta/redTeams/operations.d.ts.map +1 -0
- package/dist/esm/api/beta/redTeams/operations.js +134 -0
- package/dist/esm/api/beta/redTeams/operations.js.map +7 -0
- package/dist/esm/api/beta/redTeams/options.d.ts +15 -0
- package/dist/esm/api/beta/redTeams/options.d.ts.map +1 -0
- package/dist/esm/api/beta/redTeams/options.js +0 -0
- package/dist/esm/api/beta/redTeams/options.js.map +7 -0
- package/dist/esm/api/beta/schedules/index.d.ts +3 -0
- package/dist/esm/api/beta/schedules/index.d.ts.map +1 -0
- package/dist/esm/api/beta/schedules/index.js +9 -0
- package/dist/esm/api/beta/schedules/index.js.map +7 -0
- package/dist/esm/api/beta/schedules/operations.d.ts +30 -0
- package/dist/esm/api/beta/schedules/operations.d.ts.map +1 -0
- package/dist/esm/api/beta/schedules/operations.js +261 -0
- package/dist/esm/api/beta/schedules/operations.js.map +7 -0
- package/dist/esm/api/beta/schedules/options.d.ts +39 -0
- package/dist/esm/api/beta/schedules/options.d.ts.map +1 -0
- package/dist/esm/api/beta/schedules/options.js +0 -0
- package/dist/esm/api/beta/schedules/options.js.map +7 -0
- 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 -109
- package/dist/esm/api/evaluationRules/operations.js.map +7 -1
- package/dist/esm/api/evaluationRules/options.d.ts +10 -8
- 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 +6 -6
- 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 +20 -39
- package/dist/esm/classic/agents/index.d.ts.map +1 -1
- package/dist/esm/classic/agents/index.js +80 -42
- package/dist/esm/classic/agents/index.js.map +7 -1
- package/dist/esm/classic/beta/evaluationTaxonomies/index.d.ts +19 -0
- package/dist/esm/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -0
- package/dist/esm/classic/beta/evaluationTaxonomies/index.js +24 -0
- package/dist/esm/classic/beta/evaluationTaxonomies/index.js.map +7 -0
- package/dist/esm/classic/beta/evaluators/index.d.ts +21 -0
- package/dist/esm/classic/beta/evaluators/index.d.ts.map +1 -0
- package/dist/esm/classic/beta/evaluators/index.js +26 -0
- package/dist/esm/classic/beta/evaluators/index.js.map +7 -0
- package/dist/esm/classic/beta/index.d.ts +24 -0
- package/dist/esm/classic/beta/index.d.ts.map +1 -0
- package/dist/esm/classic/beta/index.js +25 -0
- package/dist/esm/classic/beta/index.js.map +7 -0
- package/dist/esm/classic/beta/insights/index.d.ts +15 -0
- package/dist/esm/classic/beta/insights/index.d.ts.map +1 -0
- package/dist/esm/classic/beta/insights/index.js +16 -0
- package/dist/esm/classic/beta/insights/index.js.map +7 -0
- package/dist/esm/classic/beta/memoryStores/index.d.ts +28 -0
- package/dist/esm/classic/beta/memoryStores/index.d.ts.map +1 -0
- package/dist/esm/classic/beta/memoryStores/index.js +32 -0
- package/dist/esm/classic/beta/memoryStores/index.js.map +7 -0
- package/dist/esm/classic/beta/redTeams/index.d.ts +15 -0
- package/dist/esm/classic/beta/redTeams/index.d.ts.map +1 -0
- package/dist/esm/classic/beta/redTeams/index.js +16 -0
- package/dist/esm/classic/beta/redTeams/index.js.map +7 -0
- package/dist/esm/classic/beta/schedules/index.d.ts +21 -0
- package/dist/esm/classic/beta/schedules/index.d.ts.map +1 -0
- package/dist/esm/classic/beta/schedules/index.js +26 -0
- package/dist/esm/classic/beta/schedules/index.js.map +7 -0
- 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 -13
- 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 -19
- 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 +1304 -2024
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +4160 -4251
- 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 +5 -27
- package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/esm/static-helpers/pagingHelpers.js +101 -102
- package/dist/esm/static-helpers/pagingHelpers.js.map +7 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts +8 -3
- package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.js +71 -73
- 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.d.ts +11 -0
- package/dist/esm/util.d.ts.map +1 -0
- package/dist/esm/util.js +72 -0
- package/dist/esm/util.js.map +7 -0
- package/dist/react-native/aiProjectClient.d.ts +36 -36
- package/dist/react-native/aiProjectClient.d.ts.map +1 -1
- package/dist/react-native/aiProjectClient.js +38 -40
- package/dist/react-native/aiProjectClient.js.map +1 -1
- package/dist/react-native/api/agents/index.d.ts +2 -2
- package/dist/react-native/api/agents/index.d.ts.map +1 -1
- package/dist/react-native/api/agents/index.js +1 -1
- package/dist/react-native/api/agents/index.js.map +1 -1
- package/dist/react-native/api/agents/operations.d.ts +40 -61
- package/dist/react-native/api/agents/operations.d.ts.map +1 -1
- package/dist/react-native/api/agents/operations.js +121 -188
- package/dist/react-native/api/agents/operations.js.map +1 -1
- package/dist/react-native/api/agents/options.d.ts +29 -32
- 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 +4 -17
- package/dist/react-native/api/aiProjectContext.js.map +1 -1
- package/dist/react-native/api/beta/evaluationTaxonomies/index.d.ts +3 -0
- package/dist/react-native/api/beta/evaluationTaxonomies/index.d.ts.map +1 -0
- package/dist/react-native/api/beta/evaluationTaxonomies/index.js.map +1 -0
- package/dist/react-native/api/beta/evaluationTaxonomies/operations.d.ts +26 -0
- package/dist/react-native/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -0
- package/dist/react-native/api/beta/evaluationTaxonomies/operations.js +173 -0
- package/dist/react-native/api/beta/evaluationTaxonomies/operations.js.map +1 -0
- package/dist/react-native/api/beta/evaluationTaxonomies/options.d.ts +27 -0
- package/dist/react-native/api/beta/evaluationTaxonomies/options.d.ts.map +1 -0
- package/dist/react-native/api/beta/evaluationTaxonomies/options.js.map +1 -0
- package/dist/react-native/api/beta/evaluators/index.d.ts +3 -0
- package/dist/react-native/api/beta/evaluators/index.d.ts.map +1 -0
- package/dist/react-native/api/beta/evaluators/index.js.map +1 -0
- package/dist/react-native/api/beta/evaluators/operations.d.ts +30 -0
- package/dist/react-native/api/beta/evaluators/operations.d.ts.map +1 -0
- package/dist/react-native/api/beta/evaluators/operations.js +203 -0
- package/dist/react-native/api/beta/evaluators/operations.js.map +1 -0
- package/dist/react-native/api/beta/evaluators/options.d.ts +29 -0
- package/dist/react-native/api/beta/evaluators/options.d.ts.map +1 -0
- package/dist/react-native/api/beta/evaluators/options.js.map +1 -0
- package/dist/react-native/api/beta/insights/index.d.ts +3 -0
- package/dist/react-native/api/beta/insights/index.d.ts.map +1 -0
- package/dist/react-native/api/beta/insights/index.js.map +1 -0
- package/dist/react-native/api/beta/insights/operations.d.ts +18 -0
- package/dist/react-native/api/beta/insights/operations.d.ts.map +1 -0
- package/dist/react-native/api/beta/insights/operations.js +124 -0
- package/dist/react-native/api/beta/insights/operations.js.map +1 -0
- package/dist/react-native/api/beta/insights/options.d.ts +32 -0
- package/dist/react-native/api/beta/insights/options.d.ts.map +1 -0
- package/dist/react-native/api/beta/insights/options.js.map +1 -0
- package/dist/react-native/api/beta/memoryStores/index.d.ts +3 -0
- package/dist/react-native/api/beta/memoryStores/index.d.ts.map +1 -0
- package/dist/react-native/api/beta/memoryStores/index.js +4 -0
- package/dist/react-native/api/beta/memoryStores/index.js.map +1 -0
- package/dist/react-native/api/beta/memoryStores/operations.d.ts +43 -0
- package/dist/react-native/api/beta/memoryStores/operations.d.ts.map +1 -0
- package/dist/react-native/api/beta/memoryStores/operations.js +335 -0
- package/dist/react-native/api/beta/memoryStores/operations.js.map +1 -0
- package/dist/react-native/api/beta/memoryStores/options.d.ts +79 -0
- package/dist/react-native/api/beta/memoryStores/options.d.ts.map +1 -0
- package/dist/react-native/api/beta/memoryStores/options.js.map +1 -0
- package/dist/react-native/api/beta/redTeams/index.d.ts +3 -0
- package/dist/react-native/api/beta/redTeams/index.d.ts.map +1 -0
- package/dist/react-native/api/beta/redTeams/index.js.map +1 -0
- package/dist/react-native/api/beta/redTeams/operations.d.ts +18 -0
- package/dist/react-native/api/beta/redTeams/operations.d.ts.map +1 -0
- package/dist/react-native/api/beta/redTeams/operations.js +110 -0
- package/dist/react-native/api/beta/redTeams/operations.js.map +1 -0
- package/dist/react-native/api/beta/redTeams/options.d.ts +15 -0
- package/dist/react-native/api/beta/redTeams/options.d.ts.map +1 -0
- package/dist/react-native/api/beta/redTeams/options.js.map +1 -0
- package/dist/react-native/api/beta/schedules/index.d.ts +3 -0
- package/dist/react-native/api/beta/schedules/index.d.ts.map +1 -0
- package/dist/react-native/api/beta/schedules/index.js.map +1 -0
- package/dist/react-native/api/beta/schedules/operations.d.ts +30 -0
- package/dist/react-native/api/beta/schedules/operations.d.ts.map +1 -0
- package/dist/react-native/api/beta/schedules/operations.js +217 -0
- package/dist/react-native/api/beta/schedules/operations.js.map +1 -0
- package/dist/react-native/api/beta/schedules/options.d.ts +39 -0
- package/dist/react-native/api/beta/schedules/options.d.ts.map +1 -0
- package/dist/react-native/api/beta/schedules/options.js.map +1 -0
- 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 +13 -13
- 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 +11 -5
- 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 +4 -4
- 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 +27 -13
- package/dist/react-native/api/evaluationRules/operations.js.map +1 -1
- package/dist/react-native/api/evaluationRules/options.d.ts +10 -8
- 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 +6 -6
- package/dist/react-native/api/indexes/operations.d.ts.map +1 -1
- package/dist/react-native/api/indexes/operations.js +5 -5
- 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 +20 -39
- package/dist/react-native/classic/agents/index.d.ts.map +1 -1
- package/dist/react-native/classic/agents/index.js +10 -12
- package/dist/react-native/classic/agents/index.js.map +1 -1
- package/dist/react-native/classic/beta/evaluationTaxonomies/index.d.ts +19 -0
- package/dist/react-native/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -0
- package/dist/react-native/classic/beta/evaluationTaxonomies/index.js +18 -0
- package/dist/react-native/classic/beta/evaluationTaxonomies/index.js.map +1 -0
- package/dist/react-native/classic/beta/evaluators/index.d.ts +21 -0
- package/dist/react-native/classic/beta/evaluators/index.d.ts.map +1 -0
- package/dist/react-native/classic/beta/evaluators/index.js +19 -0
- package/dist/react-native/classic/beta/evaluators/index.js.map +1 -0
- package/dist/react-native/classic/beta/index.d.ts +24 -0
- package/dist/react-native/classic/beta/index.d.ts.map +1 -0
- package/dist/react-native/classic/beta/index.js +25 -0
- package/dist/react-native/classic/beta/index.js.map +1 -0
- package/dist/react-native/classic/beta/insights/index.d.ts +15 -0
- package/dist/react-native/classic/beta/insights/index.d.ts.map +1 -0
- package/dist/react-native/classic/beta/insights/index.js +16 -0
- package/dist/react-native/classic/beta/insights/index.js.map +1 -0
- package/dist/react-native/classic/beta/memoryStores/index.d.ts +28 -0
- package/dist/react-native/classic/beta/memoryStores/index.d.ts.map +1 -0
- package/dist/react-native/classic/beta/memoryStores/index.js +22 -0
- package/dist/react-native/classic/beta/memoryStores/index.js.map +1 -0
- package/dist/react-native/classic/beta/redTeams/index.d.ts +15 -0
- package/dist/react-native/classic/beta/redTeams/index.d.ts.map +1 -0
- package/dist/react-native/classic/beta/redTeams/index.js +16 -0
- package/dist/react-native/classic/beta/redTeams/index.js.map +1 -0
- package/dist/react-native/classic/beta/schedules/index.d.ts +21 -0
- package/dist/react-native/classic/beta/schedules/index.d.ts.map +1 -0
- package/dist/react-native/classic/beta/schedules/index.js +19 -0
- package/dist/react-native/classic/beta/schedules/index.js.map +1 -0
- 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 -13
- 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 +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 -19
- 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 +1304 -2024
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +1258 -1800
- 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 +1 -1
- package/dist/react-native/overwriteOpenAIClient.js.map +1 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +5 -27
- package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/react-native/static-helpers/pagingHelpers.js +28 -5
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +8 -3
- package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.js +19 -3
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/react-native/util.d.ts +11 -0
- package/dist/react-native/util.d.ts.map +1 -0
- package/dist/react-native/util.js +93 -0
- package/dist/react-native/util.js.map +1 -0
- package/package.json +5 -22
- package/dist/browser/api/evaluationTaxonomies/index.d.ts +0 -3
- package/dist/browser/api/evaluationTaxonomies/index.d.ts.map +0 -1
- package/dist/browser/api/evaluationTaxonomies/index.js.map +0 -1
- package/dist/browser/api/evaluationTaxonomies/operations.d.ts +0 -26
- package/dist/browser/api/evaluationTaxonomies/operations.d.ts.map +0 -1
- package/dist/browser/api/evaluationTaxonomies/operations.js +0 -154
- package/dist/browser/api/evaluationTaxonomies/operations.js.map +0 -1
- package/dist/browser/api/evaluationTaxonomies/options.d.ts +0 -27
- package/dist/browser/api/evaluationTaxonomies/options.d.ts.map +0 -1
- package/dist/browser/api/evaluationTaxonomies/options.js.map +0 -1
- package/dist/browser/api/evaluators/index.d.ts +0 -3
- package/dist/browser/api/evaluators/index.d.ts.map +0 -1
- package/dist/browser/api/evaluators/index.js.map +0 -1
- package/dist/browser/api/evaluators/operations.d.ts +0 -30
- package/dist/browser/api/evaluators/operations.d.ts.map +0 -1
- package/dist/browser/api/evaluators/operations.js +0 -171
- package/dist/browser/api/evaluators/operations.js.map +0 -1
- package/dist/browser/api/evaluators/options.d.ts +0 -29
- package/dist/browser/api/evaluators/options.d.ts.map +0 -1
- package/dist/browser/api/evaluators/options.js.map +0 -1
- package/dist/browser/api/insights/index.d.ts +0 -3
- package/dist/browser/api/insights/index.d.ts.map +0 -1
- package/dist/browser/api/insights/index.js.map +0 -1
- package/dist/browser/api/insights/operations.d.ts +0 -18
- package/dist/browser/api/insights/operations.d.ts.map +0 -1
- package/dist/browser/api/insights/operations.js +0 -109
- package/dist/browser/api/insights/operations.js.map +0 -1
- package/dist/browser/api/insights/options.d.ts +0 -32
- package/dist/browser/api/insights/options.d.ts.map +0 -1
- package/dist/browser/api/insights/options.js.map +0 -1
- package/dist/browser/api/memoryStores/index.d.ts +0 -4
- package/dist/browser/api/memoryStores/index.d.ts.map +0 -1
- package/dist/browser/api/memoryStores/index.js +0 -4
- package/dist/browser/api/memoryStores/index.js.map +0 -1
- package/dist/browser/api/memoryStores/memoryStoreUpdateMemoriesPoller.d.ts +0 -43
- package/dist/browser/api/memoryStores/memoryStoreUpdateMemoriesPoller.d.ts.map +0 -1
- package/dist/browser/api/memoryStores/memoryStoreUpdateMemoriesPoller.js +0 -160
- package/dist/browser/api/memoryStores/memoryStoreUpdateMemoriesPoller.js.map +0 -1
- package/dist/browser/api/memoryStores/operations.d.ts +0 -43
- package/dist/browser/api/memoryStores/operations.d.ts.map +0 -1
- package/dist/browser/api/memoryStores/operations.js +0 -304
- package/dist/browser/api/memoryStores/operations.js.map +0 -1
- package/dist/browser/api/memoryStores/options.d.ts +0 -79
- package/dist/browser/api/memoryStores/options.d.ts.map +0 -1
- package/dist/browser/api/memoryStores/options.js.map +0 -1
- package/dist/browser/api/redTeams/index.d.ts +0 -3
- package/dist/browser/api/redTeams/index.d.ts.map +0 -1
- package/dist/browser/api/redTeams/index.js.map +0 -1
- package/dist/browser/api/redTeams/operations.d.ts +0 -18
- package/dist/browser/api/redTeams/operations.d.ts.map +0 -1
- package/dist/browser/api/redTeams/operations.js +0 -93
- package/dist/browser/api/redTeams/operations.js.map +0 -1
- package/dist/browser/api/redTeams/options.d.ts +0 -15
- package/dist/browser/api/redTeams/options.d.ts.map +0 -1
- package/dist/browser/api/redTeams/options.js.map +0 -1
- package/dist/browser/api/schedules/index.d.ts +0 -3
- package/dist/browser/api/schedules/index.d.ts.map +0 -1
- package/dist/browser/api/schedules/index.js.map +0 -1
- package/dist/browser/api/schedules/operations.d.ts +0 -30
- package/dist/browser/api/schedules/operations.d.ts.map +0 -1
- package/dist/browser/api/schedules/operations.js +0 -180
- package/dist/browser/api/schedules/operations.js.map +0 -1
- package/dist/browser/api/schedules/options.d.ts +0 -28
- package/dist/browser/api/schedules/options.d.ts.map +0 -1
- package/dist/browser/api/schedules/options.js.map +0 -1
- package/dist/browser/classic/evaluationTaxonomies/index.d.ts +0 -19
- package/dist/browser/classic/evaluationTaxonomies/index.d.ts.map +0 -1
- package/dist/browser/classic/evaluationTaxonomies/index.js +0 -18
- package/dist/browser/classic/evaluationTaxonomies/index.js.map +0 -1
- package/dist/browser/classic/evaluators/index.d.ts +0 -21
- package/dist/browser/classic/evaluators/index.d.ts.map +0 -1
- package/dist/browser/classic/evaluators/index.js +0 -25
- package/dist/browser/classic/evaluators/index.js.map +0 -1
- package/dist/browser/classic/insights/index.d.ts +0 -15
- package/dist/browser/classic/insights/index.d.ts.map +0 -1
- package/dist/browser/classic/insights/index.js +0 -16
- package/dist/browser/classic/insights/index.js.map +0 -1
- package/dist/browser/classic/memoryStores/index.d.ts +0 -28
- package/dist/browser/classic/memoryStores/index.d.ts.map +0 -1
- package/dist/browser/classic/memoryStores/index.js +0 -22
- package/dist/browser/classic/memoryStores/index.js.map +0 -1
- package/dist/browser/classic/redTeams/index.d.ts +0 -15
- package/dist/browser/classic/redTeams/index.d.ts.map +0 -1
- package/dist/browser/classic/redTeams/index.js +0 -16
- package/dist/browser/classic/redTeams/index.js.map +0 -1
- package/dist/browser/classic/schedules/index.d.ts +0 -21
- package/dist/browser/classic/schedules/index.d.ts.map +0 -1
- package/dist/browser/classic/schedules/index.js +0 -19
- package/dist/browser/classic/schedules/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 -24
- 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/evaluationTaxonomies/index.d.ts +0 -3
- package/dist/commonjs/api/evaluationTaxonomies/index.d.ts.map +0 -1
- package/dist/commonjs/api/evaluationTaxonomies/index.js +0 -12
- package/dist/commonjs/api/evaluationTaxonomies/index.js.map +0 -1
- package/dist/commonjs/api/evaluationTaxonomies/operations.d.ts +0 -26
- package/dist/commonjs/api/evaluationTaxonomies/operations.d.ts.map +0 -1
- package/dist/commonjs/api/evaluationTaxonomies/operations.js +0 -171
- package/dist/commonjs/api/evaluationTaxonomies/operations.js.map +0 -1
- package/dist/commonjs/api/evaluationTaxonomies/options.d.ts +0 -27
- package/dist/commonjs/api/evaluationTaxonomies/options.d.ts.map +0 -1
- package/dist/commonjs/api/evaluationTaxonomies/options.js +0 -5
- package/dist/commonjs/api/evaluationTaxonomies/options.js.map +0 -1
- package/dist/commonjs/api/evaluators/index.d.ts +0 -3
- package/dist/commonjs/api/evaluators/index.d.ts.map +0 -1
- package/dist/commonjs/api/evaluators/index.js +0 -13
- package/dist/commonjs/api/evaluators/index.js.map +0 -1
- package/dist/commonjs/api/evaluators/operations.d.ts +0 -30
- package/dist/commonjs/api/evaluators/operations.d.ts.map +0 -1
- package/dist/commonjs/api/evaluators/operations.js +0 -191
- package/dist/commonjs/api/evaluators/operations.js.map +0 -1
- package/dist/commonjs/api/evaluators/options.d.ts +0 -29
- package/dist/commonjs/api/evaluators/options.d.ts.map +0 -1
- package/dist/commonjs/api/evaluators/options.js +0 -5
- package/dist/commonjs/api/evaluators/options.js.map +0 -1
- package/dist/commonjs/api/insights/index.d.ts +0 -3
- package/dist/commonjs/api/insights/index.d.ts.map +0 -1
- package/dist/commonjs/api/insights/index.js +0 -10
- package/dist/commonjs/api/insights/index.js.map +0 -1
- package/dist/commonjs/api/insights/operations.d.ts +0 -18
- package/dist/commonjs/api/insights/operations.d.ts.map +0 -1
- package/dist/commonjs/api/insights/operations.js +0 -120
- package/dist/commonjs/api/insights/operations.js.map +0 -1
- package/dist/commonjs/api/insights/options.d.ts +0 -32
- package/dist/commonjs/api/insights/options.d.ts.map +0 -1
- package/dist/commonjs/api/insights/options.js +0 -5
- package/dist/commonjs/api/insights/options.js.map +0 -1
- package/dist/commonjs/api/memoryStores/index.d.ts +0 -4
- package/dist/commonjs/api/memoryStores/index.d.ts.map +0 -1
- package/dist/commonjs/api/memoryStores/index.js +0 -16
- package/dist/commonjs/api/memoryStores/index.js.map +0 -1
- package/dist/commonjs/api/memoryStores/memoryStoreUpdateMemoriesPoller.d.ts +0 -43
- package/dist/commonjs/api/memoryStores/memoryStoreUpdateMemoriesPoller.d.ts.map +0 -1
- package/dist/commonjs/api/memoryStores/memoryStoreUpdateMemoriesPoller.js +0 -163
- package/dist/commonjs/api/memoryStores/memoryStoreUpdateMemoriesPoller.js.map +0 -1
- package/dist/commonjs/api/memoryStores/operations.d.ts +0 -43
- package/dist/commonjs/api/memoryStores/operations.d.ts.map +0 -1
- package/dist/commonjs/api/memoryStores/operations.js +0 -333
- package/dist/commonjs/api/memoryStores/operations.js.map +0 -1
- package/dist/commonjs/api/memoryStores/options.d.ts +0 -79
- package/dist/commonjs/api/memoryStores/options.d.ts.map +0 -1
- package/dist/commonjs/api/memoryStores/options.js +0 -5
- package/dist/commonjs/api/memoryStores/options.js.map +0 -1
- package/dist/commonjs/api/redTeams/index.d.ts +0 -3
- package/dist/commonjs/api/redTeams/index.d.ts.map +0 -1
- package/dist/commonjs/api/redTeams/index.js +0 -10
- package/dist/commonjs/api/redTeams/index.js.map +0 -1
- package/dist/commonjs/api/redTeams/operations.d.ts +0 -18
- package/dist/commonjs/api/redTeams/operations.d.ts.map +0 -1
- package/dist/commonjs/api/redTeams/operations.js +0 -104
- package/dist/commonjs/api/redTeams/operations.js.map +0 -1
- package/dist/commonjs/api/redTeams/options.d.ts +0 -15
- package/dist/commonjs/api/redTeams/options.d.ts.map +0 -1
- package/dist/commonjs/api/redTeams/options.js +0 -5
- package/dist/commonjs/api/redTeams/options.js.map +0 -1
- package/dist/commonjs/api/schedules/index.d.ts +0 -3
- package/dist/commonjs/api/schedules/index.d.ts.map +0 -1
- package/dist/commonjs/api/schedules/index.js +0 -13
- package/dist/commonjs/api/schedules/index.js.map +0 -1
- package/dist/commonjs/api/schedules/operations.d.ts +0 -30
- package/dist/commonjs/api/schedules/operations.d.ts.map +0 -1
- package/dist/commonjs/api/schedules/operations.js +0 -200
- package/dist/commonjs/api/schedules/operations.js.map +0 -1
- package/dist/commonjs/api/schedules/options.d.ts +0 -28
- package/dist/commonjs/api/schedules/options.d.ts.map +0 -1
- package/dist/commonjs/api/schedules/options.js +0 -5
- package/dist/commonjs/api/schedules/options.js.map +0 -1
- package/dist/commonjs/classic/evaluationTaxonomies/index.d.ts +0 -19
- package/dist/commonjs/classic/evaluationTaxonomies/index.d.ts.map +0 -1
- package/dist/commonjs/classic/evaluationTaxonomies/index.js +0 -21
- package/dist/commonjs/classic/evaluationTaxonomies/index.js.map +0 -1
- package/dist/commonjs/classic/evaluators/index.d.ts +0 -21
- package/dist/commonjs/classic/evaluators/index.d.ts.map +0 -1
- package/dist/commonjs/classic/evaluators/index.js +0 -28
- package/dist/commonjs/classic/evaluators/index.js.map +0 -1
- package/dist/commonjs/classic/insights/index.d.ts +0 -15
- package/dist/commonjs/classic/insights/index.d.ts.map +0 -1
- package/dist/commonjs/classic/insights/index.js +0 -19
- package/dist/commonjs/classic/insights/index.js.map +0 -1
- package/dist/commonjs/classic/memoryStores/index.d.ts +0 -28
- package/dist/commonjs/classic/memoryStores/index.d.ts.map +0 -1
- package/dist/commonjs/classic/memoryStores/index.js +0 -25
- package/dist/commonjs/classic/memoryStores/index.js.map +0 -1
- package/dist/commonjs/classic/redTeams/index.d.ts +0 -15
- package/dist/commonjs/classic/redTeams/index.d.ts.map +0 -1
- package/dist/commonjs/classic/redTeams/index.js +0 -19
- package/dist/commonjs/classic/redTeams/index.js.map +0 -1
- package/dist/commonjs/classic/schedules/index.d.ts +0 -21
- package/dist/commonjs/classic/schedules/index.d.ts.map +0 -1
- package/dist/commonjs/classic/schedules/index.js +0 -22
- package/dist/commonjs/classic/schedules/index.js.map +0 -1
- package/dist/commonjs/restorePollerHelpers.d.ts +0 -24
- 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/evaluationTaxonomies/index.d.ts +0 -3
- package/dist/esm/api/evaluationTaxonomies/index.d.ts.map +0 -1
- package/dist/esm/api/evaluationTaxonomies/index.js.map +0 -1
- package/dist/esm/api/evaluationTaxonomies/operations.d.ts +0 -26
- package/dist/esm/api/evaluationTaxonomies/operations.d.ts.map +0 -1
- package/dist/esm/api/evaluationTaxonomies/operations.js +0 -154
- package/dist/esm/api/evaluationTaxonomies/operations.js.map +0 -1
- package/dist/esm/api/evaluationTaxonomies/options.d.ts +0 -27
- package/dist/esm/api/evaluationTaxonomies/options.d.ts.map +0 -1
- package/dist/esm/api/evaluationTaxonomies/options.js.map +0 -1
- package/dist/esm/api/evaluators/index.d.ts +0 -3
- package/dist/esm/api/evaluators/index.d.ts.map +0 -1
- package/dist/esm/api/evaluators/index.js.map +0 -1
- package/dist/esm/api/evaluators/operations.d.ts +0 -30
- package/dist/esm/api/evaluators/operations.d.ts.map +0 -1
- package/dist/esm/api/evaluators/operations.js +0 -171
- package/dist/esm/api/evaluators/operations.js.map +0 -1
- package/dist/esm/api/evaluators/options.d.ts +0 -29
- package/dist/esm/api/evaluators/options.d.ts.map +0 -1
- package/dist/esm/api/evaluators/options.js.map +0 -1
- package/dist/esm/api/insights/index.d.ts +0 -3
- package/dist/esm/api/insights/index.d.ts.map +0 -1
- package/dist/esm/api/insights/index.js.map +0 -1
- package/dist/esm/api/insights/operations.d.ts +0 -18
- package/dist/esm/api/insights/operations.d.ts.map +0 -1
- package/dist/esm/api/insights/operations.js +0 -109
- package/dist/esm/api/insights/operations.js.map +0 -1
- package/dist/esm/api/insights/options.d.ts +0 -32
- package/dist/esm/api/insights/options.d.ts.map +0 -1
- package/dist/esm/api/insights/options.js.map +0 -1
- package/dist/esm/api/memoryStores/index.d.ts +0 -4
- package/dist/esm/api/memoryStores/index.d.ts.map +0 -1
- package/dist/esm/api/memoryStores/index.js +0 -4
- package/dist/esm/api/memoryStores/index.js.map +0 -1
- package/dist/esm/api/memoryStores/memoryStoreUpdateMemoriesPoller.d.ts +0 -43
- package/dist/esm/api/memoryStores/memoryStoreUpdateMemoriesPoller.d.ts.map +0 -1
- package/dist/esm/api/memoryStores/memoryStoreUpdateMemoriesPoller.js +0 -160
- package/dist/esm/api/memoryStores/memoryStoreUpdateMemoriesPoller.js.map +0 -1
- package/dist/esm/api/memoryStores/operations.d.ts +0 -43
- package/dist/esm/api/memoryStores/operations.d.ts.map +0 -1
- package/dist/esm/api/memoryStores/operations.js +0 -304
- package/dist/esm/api/memoryStores/operations.js.map +0 -1
- package/dist/esm/api/memoryStores/options.d.ts +0 -79
- package/dist/esm/api/memoryStores/options.d.ts.map +0 -1
- package/dist/esm/api/memoryStores/options.js.map +0 -1
- package/dist/esm/api/redTeams/index.d.ts +0 -3
- package/dist/esm/api/redTeams/index.d.ts.map +0 -1
- package/dist/esm/api/redTeams/index.js.map +0 -1
- package/dist/esm/api/redTeams/operations.d.ts +0 -18
- package/dist/esm/api/redTeams/operations.d.ts.map +0 -1
- package/dist/esm/api/redTeams/operations.js +0 -93
- package/dist/esm/api/redTeams/operations.js.map +0 -1
- package/dist/esm/api/redTeams/options.d.ts +0 -15
- package/dist/esm/api/redTeams/options.d.ts.map +0 -1
- package/dist/esm/api/redTeams/options.js.map +0 -1
- package/dist/esm/api/schedules/index.d.ts +0 -3
- package/dist/esm/api/schedules/index.d.ts.map +0 -1
- package/dist/esm/api/schedules/index.js.map +0 -1
- package/dist/esm/api/schedules/operations.d.ts +0 -30
- package/dist/esm/api/schedules/operations.d.ts.map +0 -1
- package/dist/esm/api/schedules/operations.js +0 -180
- package/dist/esm/api/schedules/operations.js.map +0 -1
- package/dist/esm/api/schedules/options.d.ts +0 -28
- package/dist/esm/api/schedules/options.d.ts.map +0 -1
- package/dist/esm/api/schedules/options.js.map +0 -1
- package/dist/esm/classic/evaluationTaxonomies/index.d.ts +0 -19
- package/dist/esm/classic/evaluationTaxonomies/index.d.ts.map +0 -1
- package/dist/esm/classic/evaluationTaxonomies/index.js +0 -18
- package/dist/esm/classic/evaluationTaxonomies/index.js.map +0 -1
- package/dist/esm/classic/evaluators/index.d.ts +0 -21
- package/dist/esm/classic/evaluators/index.d.ts.map +0 -1
- package/dist/esm/classic/evaluators/index.js +0 -25
- package/dist/esm/classic/evaluators/index.js.map +0 -1
- package/dist/esm/classic/insights/index.d.ts +0 -15
- package/dist/esm/classic/insights/index.d.ts.map +0 -1
- package/dist/esm/classic/insights/index.js +0 -16
- package/dist/esm/classic/insights/index.js.map +0 -1
- package/dist/esm/classic/memoryStores/index.d.ts +0 -28
- package/dist/esm/classic/memoryStores/index.d.ts.map +0 -1
- package/dist/esm/classic/memoryStores/index.js +0 -22
- package/dist/esm/classic/memoryStores/index.js.map +0 -1
- package/dist/esm/classic/redTeams/index.d.ts +0 -15
- package/dist/esm/classic/redTeams/index.d.ts.map +0 -1
- package/dist/esm/classic/redTeams/index.js +0 -16
- package/dist/esm/classic/redTeams/index.js.map +0 -1
- package/dist/esm/classic/schedules/index.d.ts +0 -21
- package/dist/esm/classic/schedules/index.d.ts.map +0 -1
- package/dist/esm/classic/schedules/index.js +0 -19
- package/dist/esm/classic/schedules/index.js.map +0 -1
- package/dist/esm/restorePollerHelpers.d.ts +0 -24
- 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/evaluationTaxonomies/index.d.ts +0 -3
- package/dist/react-native/api/evaluationTaxonomies/index.d.ts.map +0 -1
- package/dist/react-native/api/evaluationTaxonomies/index.js +0 -4
- package/dist/react-native/api/evaluationTaxonomies/index.js.map +0 -1
- package/dist/react-native/api/evaluationTaxonomies/operations.d.ts +0 -26
- package/dist/react-native/api/evaluationTaxonomies/operations.d.ts.map +0 -1
- package/dist/react-native/api/evaluationTaxonomies/operations.js +0 -154
- package/dist/react-native/api/evaluationTaxonomies/operations.js.map +0 -1
- package/dist/react-native/api/evaluationTaxonomies/options.d.ts +0 -27
- package/dist/react-native/api/evaluationTaxonomies/options.d.ts.map +0 -1
- package/dist/react-native/api/evaluationTaxonomies/options.js +0 -4
- package/dist/react-native/api/evaluationTaxonomies/options.js.map +0 -1
- package/dist/react-native/api/evaluators/index.d.ts +0 -3
- package/dist/react-native/api/evaluators/index.d.ts.map +0 -1
- package/dist/react-native/api/evaluators/index.js +0 -4
- package/dist/react-native/api/evaluators/index.js.map +0 -1
- package/dist/react-native/api/evaluators/operations.d.ts +0 -30
- package/dist/react-native/api/evaluators/operations.d.ts.map +0 -1
- package/dist/react-native/api/evaluators/operations.js +0 -171
- package/dist/react-native/api/evaluators/operations.js.map +0 -1
- package/dist/react-native/api/evaluators/options.d.ts +0 -29
- package/dist/react-native/api/evaluators/options.d.ts.map +0 -1
- package/dist/react-native/api/evaluators/options.js +0 -4
- package/dist/react-native/api/evaluators/options.js.map +0 -1
- package/dist/react-native/api/insights/index.d.ts +0 -3
- package/dist/react-native/api/insights/index.d.ts.map +0 -1
- package/dist/react-native/api/insights/index.js +0 -4
- package/dist/react-native/api/insights/index.js.map +0 -1
- package/dist/react-native/api/insights/operations.d.ts +0 -18
- package/dist/react-native/api/insights/operations.d.ts.map +0 -1
- package/dist/react-native/api/insights/operations.js +0 -109
- package/dist/react-native/api/insights/operations.js.map +0 -1
- package/dist/react-native/api/insights/options.d.ts +0 -32
- package/dist/react-native/api/insights/options.d.ts.map +0 -1
- package/dist/react-native/api/insights/options.js +0 -4
- package/dist/react-native/api/insights/options.js.map +0 -1
- package/dist/react-native/api/memoryStores/index.d.ts +0 -4
- package/dist/react-native/api/memoryStores/index.d.ts.map +0 -1
- package/dist/react-native/api/memoryStores/index.js +0 -4
- package/dist/react-native/api/memoryStores/index.js.map +0 -1
- package/dist/react-native/api/memoryStores/memoryStoreUpdateMemoriesPoller.d.ts +0 -43
- package/dist/react-native/api/memoryStores/memoryStoreUpdateMemoriesPoller.d.ts.map +0 -1
- package/dist/react-native/api/memoryStores/memoryStoreUpdateMemoriesPoller.js +0 -160
- package/dist/react-native/api/memoryStores/memoryStoreUpdateMemoriesPoller.js.map +0 -1
- package/dist/react-native/api/memoryStores/operations.d.ts +0 -43
- package/dist/react-native/api/memoryStores/operations.d.ts.map +0 -1
- package/dist/react-native/api/memoryStores/operations.js +0 -304
- package/dist/react-native/api/memoryStores/operations.js.map +0 -1
- package/dist/react-native/api/memoryStores/options.d.ts +0 -79
- package/dist/react-native/api/memoryStores/options.d.ts.map +0 -1
- package/dist/react-native/api/memoryStores/options.js +0 -4
- package/dist/react-native/api/memoryStores/options.js.map +0 -1
- package/dist/react-native/api/redTeams/index.d.ts +0 -3
- package/dist/react-native/api/redTeams/index.d.ts.map +0 -1
- package/dist/react-native/api/redTeams/index.js +0 -4
- package/dist/react-native/api/redTeams/index.js.map +0 -1
- package/dist/react-native/api/redTeams/operations.d.ts +0 -18
- package/dist/react-native/api/redTeams/operations.d.ts.map +0 -1
- package/dist/react-native/api/redTeams/operations.js +0 -93
- package/dist/react-native/api/redTeams/operations.js.map +0 -1
- package/dist/react-native/api/redTeams/options.d.ts +0 -15
- package/dist/react-native/api/redTeams/options.d.ts.map +0 -1
- package/dist/react-native/api/redTeams/options.js +0 -4
- package/dist/react-native/api/redTeams/options.js.map +0 -1
- package/dist/react-native/api/schedules/index.d.ts +0 -3
- package/dist/react-native/api/schedules/index.d.ts.map +0 -1
- package/dist/react-native/api/schedules/index.js +0 -4
- package/dist/react-native/api/schedules/index.js.map +0 -1
- package/dist/react-native/api/schedules/operations.d.ts +0 -30
- package/dist/react-native/api/schedules/operations.d.ts.map +0 -1
- package/dist/react-native/api/schedules/operations.js +0 -180
- package/dist/react-native/api/schedules/operations.js.map +0 -1
- package/dist/react-native/api/schedules/options.d.ts +0 -28
- package/dist/react-native/api/schedules/options.d.ts.map +0 -1
- package/dist/react-native/api/schedules/options.js +0 -4
- package/dist/react-native/api/schedules/options.js.map +0 -1
- package/dist/react-native/classic/evaluationTaxonomies/index.d.ts +0 -19
- package/dist/react-native/classic/evaluationTaxonomies/index.d.ts.map +0 -1
- package/dist/react-native/classic/evaluationTaxonomies/index.js +0 -18
- package/dist/react-native/classic/evaluationTaxonomies/index.js.map +0 -1
- package/dist/react-native/classic/evaluators/index.d.ts +0 -21
- package/dist/react-native/classic/evaluators/index.d.ts.map +0 -1
- package/dist/react-native/classic/evaluators/index.js +0 -25
- package/dist/react-native/classic/evaluators/index.js.map +0 -1
- package/dist/react-native/classic/insights/index.d.ts +0 -15
- package/dist/react-native/classic/insights/index.d.ts.map +0 -1
- package/dist/react-native/classic/insights/index.js +0 -16
- package/dist/react-native/classic/insights/index.js.map +0 -1
- package/dist/react-native/classic/memoryStores/index.d.ts +0 -28
- package/dist/react-native/classic/memoryStores/index.d.ts.map +0 -1
- package/dist/react-native/classic/memoryStores/index.js +0 -22
- package/dist/react-native/classic/memoryStores/index.js.map +0 -1
- package/dist/react-native/classic/redTeams/index.d.ts +0 -15
- package/dist/react-native/classic/redTeams/index.d.ts.map +0 -1
- package/dist/react-native/classic/redTeams/index.js +0 -16
- package/dist/react-native/classic/redTeams/index.js.map +0 -1
- package/dist/react-native/classic/schedules/index.d.ts +0 -21
- package/dist/react-native/classic/schedules/index.d.ts.map +0 -1
- package/dist/react-native/classic/schedules/index.js +0 -19
- package/dist/react-native/classic/schedules/index.js.map +0 -1
- package/dist/react-native/restorePollerHelpers.d.ts +0 -24
- 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
- /package/dist/browser/api/{evaluationTaxonomies → beta/evaluationTaxonomies}/index.js +0 -0
- /package/dist/browser/api/{evaluationTaxonomies → beta/evaluationTaxonomies}/options.js +0 -0
- /package/dist/browser/api/{evaluators → beta/evaluators}/index.js +0 -0
- /package/dist/browser/api/{evaluators → beta/evaluators}/options.js +0 -0
- /package/dist/browser/api/{insights → beta/insights}/index.js +0 -0
- /package/dist/browser/api/{insights → beta/insights}/options.js +0 -0
- /package/dist/browser/api/{memoryStores → beta/memoryStores}/options.js +0 -0
- /package/dist/browser/api/{redTeams → beta/redTeams}/index.js +0 -0
- /package/dist/browser/api/{redTeams → beta/redTeams}/options.js +0 -0
- /package/dist/browser/api/{schedules → beta/schedules}/index.js +0 -0
- /package/dist/browser/api/{schedules → beta/schedules}/options.js +0 -0
- /package/dist/{esm/api → react-native/api/beta}/evaluationTaxonomies/index.js +0 -0
- /package/dist/{esm/api → react-native/api/beta}/evaluationTaxonomies/options.js +0 -0
- /package/dist/{esm/api → react-native/api/beta}/evaluators/index.js +0 -0
- /package/dist/{esm/api → react-native/api/beta}/evaluators/options.js +0 -0
- /package/dist/{esm/api → react-native/api/beta}/insights/index.js +0 -0
- /package/dist/{esm/api → react-native/api/beta}/insights/options.js +0 -0
- /package/dist/{esm/api → react-native/api/beta}/memoryStores/options.js +0 -0
- /package/dist/{esm/api → react-native/api/beta}/redTeams/index.js +0 -0
- /package/dist/{esm/api → react-native/api/beta}/redTeams/options.js +0 -0
- /package/dist/{esm/api → react-native/api/beta}/schedules/index.js +0 -0
- /package/dist/{esm/api → react-native/api/beta}/schedules/options.js +0 -0
|
@@ -1,23 +1,20 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
|
|
4
|
-
/* eslint-disable @typescript-eslint/naming-convention */
|
|
5
|
-
/* eslint-disable tsdoc/syntax */
|
|
6
3
|
import { serializeRecord } from "../static-helpers/serialization/serialize-record.js";
|
|
7
|
-
export function
|
|
4
|
+
export function agentDeserializer(item) {
|
|
8
5
|
return {
|
|
9
6
|
object: item["object"],
|
|
10
7
|
id: item["id"],
|
|
11
8
|
name: item["name"],
|
|
12
|
-
versions:
|
|
9
|
+
versions: _agentVersionsDeserializer(item["versions"]),
|
|
13
10
|
};
|
|
14
11
|
}
|
|
15
|
-
export function
|
|
12
|
+
export function _agentVersionsDeserializer(item) {
|
|
16
13
|
return {
|
|
17
|
-
latest:
|
|
14
|
+
latest: agentVersionDeserializer(item["latest"]),
|
|
18
15
|
};
|
|
19
16
|
}
|
|
20
|
-
export function
|
|
17
|
+
export function agentVersionDeserializer(item) {
|
|
21
18
|
return {
|
|
22
19
|
metadata: item["metadata"],
|
|
23
20
|
object: item["object"],
|
|
@@ -45,28 +42,24 @@ export function agentDefinitionDeserializer(item) {
|
|
|
45
42
|
}
|
|
46
43
|
export function agentDefinitionUnionSerializer(item) {
|
|
47
44
|
switch (item.kind) {
|
|
45
|
+
case "prompt":
|
|
46
|
+
return promptAgentDefinitionSerializer(item);
|
|
48
47
|
case "workflow":
|
|
49
48
|
return workflowAgentDefinitionSerializer(item);
|
|
50
49
|
case "hosted":
|
|
51
|
-
return
|
|
52
|
-
case "container_app":
|
|
53
|
-
return containerAppAgentDefinitionSerializer(item);
|
|
54
|
-
case "prompt":
|
|
55
|
-
return promptAgentDefinitionSerializer(item);
|
|
50
|
+
return hostedAgentDefinitionSerializer(item);
|
|
56
51
|
default:
|
|
57
52
|
return agentDefinitionSerializer(item);
|
|
58
53
|
}
|
|
59
54
|
}
|
|
60
55
|
export function agentDefinitionUnionDeserializer(item) {
|
|
61
56
|
switch (item.kind) {
|
|
57
|
+
case "prompt":
|
|
58
|
+
return promptAgentDefinitionDeserializer(item);
|
|
62
59
|
case "workflow":
|
|
63
60
|
return workflowAgentDefinitionDeserializer(item);
|
|
64
61
|
case "hosted":
|
|
65
|
-
return
|
|
66
|
-
case "container_app":
|
|
67
|
-
return containerAppAgentDefinitionDeserializer(item);
|
|
68
|
-
case "prompt":
|
|
69
|
-
return promptAgentDefinitionDeserializer(item);
|
|
62
|
+
return hostedAgentDefinitionDeserializer(item);
|
|
70
63
|
default:
|
|
71
64
|
return agentDefinitionDeserializer(item);
|
|
72
65
|
}
|
|
@@ -79,62 +72,60 @@ export function raiConfigDeserializer(item) {
|
|
|
79
72
|
rai_policy_name: item["rai_policy_name"],
|
|
80
73
|
};
|
|
81
74
|
}
|
|
82
|
-
export function
|
|
75
|
+
export function promptAgentDefinitionSerializer(item) {
|
|
83
76
|
return {
|
|
84
77
|
kind: item["kind"],
|
|
85
78
|
rai_config: !item["rai_config"] ? item["rai_config"] : raiConfigSerializer(item["rai_config"]),
|
|
86
|
-
|
|
79
|
+
model: item["model"],
|
|
80
|
+
instructions: item["instructions"],
|
|
81
|
+
temperature: item["temperature"],
|
|
82
|
+
top_p: item["top_p"],
|
|
83
|
+
reasoning: !item["reasoning"] ? item["reasoning"] : reasoningSerializer(item["reasoning"]),
|
|
84
|
+
tools: !item["tools"] ? item["tools"] : toolUnionArraySerializer(item["tools"]),
|
|
85
|
+
tool_choice: !item["tool_choice"]
|
|
86
|
+
? item["tool_choice"]
|
|
87
|
+
: _promptAgentDefinitionToolChoiceSerializer(item["tool_choice"]),
|
|
88
|
+
text: !item["text"] ? item["text"] : promptAgentDefinitionTextOptionsSerializer(item["text"]),
|
|
89
|
+
structured_inputs: !item["structured_inputs"]
|
|
90
|
+
? item["structured_inputs"]
|
|
91
|
+
: structuredInputDefinitionRecordSerializer(item["structured_inputs"]),
|
|
87
92
|
};
|
|
88
93
|
}
|
|
89
|
-
export function
|
|
94
|
+
export function promptAgentDefinitionDeserializer(item) {
|
|
90
95
|
return {
|
|
91
96
|
kind: item["kind"],
|
|
92
97
|
rai_config: !item["rai_config"]
|
|
93
98
|
? item["rai_config"]
|
|
94
99
|
: raiConfigDeserializer(item["rai_config"]),
|
|
95
|
-
|
|
100
|
+
model: item["model"],
|
|
101
|
+
instructions: item["instructions"],
|
|
102
|
+
temperature: item["temperature"],
|
|
103
|
+
top_p: item["top_p"],
|
|
104
|
+
reasoning: !item["reasoning"] ? item["reasoning"] : reasoningDeserializer(item["reasoning"]),
|
|
105
|
+
tools: !item["tools"] ? item["tools"] : toolUnionArrayDeserializer(item["tools"]),
|
|
106
|
+
tool_choice: !item["tool_choice"]
|
|
107
|
+
? item["tool_choice"]
|
|
108
|
+
: _promptAgentDefinitionToolChoiceDeserializer(item["tool_choice"]),
|
|
109
|
+
text: !item["text"] ? item["text"] : promptAgentDefinitionTextOptionsDeserializer(item["text"]),
|
|
110
|
+
structured_inputs: !item["structured_inputs"]
|
|
111
|
+
? item["structured_inputs"]
|
|
112
|
+
: structuredInputDefinitionRecordDeserializer(item["structured_inputs"]),
|
|
96
113
|
};
|
|
97
114
|
}
|
|
98
|
-
export function
|
|
115
|
+
export function reasoningSerializer(item) {
|
|
99
116
|
return {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
container_protocol_versions: protocolVersionRecordArraySerializer(item["container_protocol_versions"]),
|
|
104
|
-
cpu: item["cpu"],
|
|
105
|
-
memory: item["memory"],
|
|
106
|
-
environment_variables: item["environment_variables"],
|
|
117
|
+
effort: item["effort"],
|
|
118
|
+
summary: item["summary"],
|
|
119
|
+
generate_summary: item["generate_summary"],
|
|
107
120
|
};
|
|
108
121
|
}
|
|
109
|
-
export function
|
|
122
|
+
export function reasoningDeserializer(item) {
|
|
110
123
|
return {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
: raiConfigDeserializer(item["rai_config"]),
|
|
115
|
-
tools: !item["tools"] ? item["tools"] : toolUnionArrayDeserializer(item["tools"]),
|
|
116
|
-
container_protocol_versions: protocolVersionRecordArrayDeserializer(item["container_protocol_versions"]),
|
|
117
|
-
cpu: item["cpu"],
|
|
118
|
-
memory: item["memory"],
|
|
119
|
-
environment_variables: item["environment_variables"],
|
|
124
|
+
effort: item["effort"],
|
|
125
|
+
summary: item["summary"],
|
|
126
|
+
generate_summary: item["generate_summary"],
|
|
120
127
|
};
|
|
121
128
|
}
|
|
122
|
-
export function hostedAgentDefinitionUnionSerializer(item) {
|
|
123
|
-
switch (item.kind) {
|
|
124
|
-
case "hosted":
|
|
125
|
-
return imageBasedHostedAgentDefinitionSerializer(item);
|
|
126
|
-
default:
|
|
127
|
-
return hostedAgentDefinitionSerializer(item);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
export function hostedAgentDefinitionUnionDeserializer(item) {
|
|
131
|
-
switch (item.kind) {
|
|
132
|
-
case "hosted":
|
|
133
|
-
return imageBasedHostedAgentDefinitionDeserializer(item);
|
|
134
|
-
default:
|
|
135
|
-
return hostedAgentDefinitionDeserializer(item);
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
129
|
export function toolUnionArraySerializer(result) {
|
|
139
130
|
return result.map((item) => {
|
|
140
131
|
return toolUnionSerializer(item);
|
|
@@ -175,8 +166,8 @@ export function toolUnionSerializer(item) {
|
|
|
175
166
|
return captureStructuredOutputsToolSerializer(item);
|
|
176
167
|
case "a2a_preview":
|
|
177
168
|
return a2APreviewToolSerializer(item);
|
|
178
|
-
case "
|
|
179
|
-
return
|
|
169
|
+
case "memory_search_preview":
|
|
170
|
+
return memorySearchPreviewToolSerializer(item);
|
|
180
171
|
case "code_interpreter":
|
|
181
172
|
return codeInterpreterToolSerializer(item);
|
|
182
173
|
case "function":
|
|
@@ -227,8 +218,8 @@ export function toolUnionDeserializer(item) {
|
|
|
227
218
|
return captureStructuredOutputsToolDeserializer(item);
|
|
228
219
|
case "a2a_preview":
|
|
229
220
|
return a2APreviewToolDeserializer(item);
|
|
230
|
-
case "
|
|
231
|
-
return
|
|
221
|
+
case "memory_search_preview":
|
|
222
|
+
return memorySearchPreviewToolDeserializer(item);
|
|
232
223
|
case "code_interpreter":
|
|
233
224
|
return codeInterpreterToolDeserializer(item);
|
|
234
225
|
case "function":
|
|
@@ -442,11 +433,7 @@ export function openApiFunctionDefinitionSerializer(item) {
|
|
|
442
433
|
description: item["description"],
|
|
443
434
|
spec: item["spec"],
|
|
444
435
|
auth: openApiAuthDetailsUnionSerializer(item["auth"]),
|
|
445
|
-
default_params:
|
|
446
|
-
? item["default_params"]
|
|
447
|
-
: item["default_params"].map((p) => {
|
|
448
|
-
return p;
|
|
449
|
-
}),
|
|
436
|
+
default_params: item["default_params"],
|
|
450
437
|
};
|
|
451
438
|
}
|
|
452
439
|
export function openApiFunctionDefinitionDeserializer(item) {
|
|
@@ -686,10 +673,7 @@ export function azureFunctionBindingDeserializer(item) {
|
|
|
686
673
|
};
|
|
687
674
|
}
|
|
688
675
|
export function azureFunctionStorageQueueSerializer(item) {
|
|
689
|
-
return {
|
|
690
|
-
queue_service_endpoint: item["queue_service_endpoint"],
|
|
691
|
-
queue_name: item["queue_name"],
|
|
692
|
-
};
|
|
676
|
+
return { queue_service_endpoint: item["queue_service_endpoint"], queue_name: item["queue_name"] };
|
|
693
677
|
}
|
|
694
678
|
export function azureFunctionStorageQueueDeserializer(item) {
|
|
695
679
|
return {
|
|
@@ -698,10 +682,7 @@ export function azureFunctionStorageQueueDeserializer(item) {
|
|
|
698
682
|
};
|
|
699
683
|
}
|
|
700
684
|
export function captureStructuredOutputsToolSerializer(item) {
|
|
701
|
-
return {
|
|
702
|
-
type: item["type"],
|
|
703
|
-
outputs: structuredOutputDefinitionSerializer(item["outputs"]),
|
|
704
|
-
};
|
|
685
|
+
return { type: item["type"], outputs: structuredOutputDefinitionSerializer(item["outputs"]) };
|
|
705
686
|
}
|
|
706
687
|
export function captureStructuredOutputsToolDeserializer(item) {
|
|
707
688
|
return {
|
|
@@ -741,7 +722,7 @@ export function a2APreviewToolDeserializer(item) {
|
|
|
741
722
|
project_connection_id: item["project_connection_id"],
|
|
742
723
|
};
|
|
743
724
|
}
|
|
744
|
-
export function
|
|
725
|
+
export function memorySearchPreviewToolSerializer(item) {
|
|
745
726
|
return {
|
|
746
727
|
type: item["type"],
|
|
747
728
|
memory_store_name: item["memory_store_name"],
|
|
@@ -752,7 +733,7 @@ export function memorySearchToolSerializer(item) {
|
|
|
752
733
|
update_delay: item["update_delay"],
|
|
753
734
|
};
|
|
754
735
|
}
|
|
755
|
-
export function
|
|
736
|
+
export function memorySearchPreviewToolDeserializer(item) {
|
|
756
737
|
return {
|
|
757
738
|
type: item["type"],
|
|
758
739
|
memory_store_name: item["memory_store_name"],
|
|
@@ -774,13 +755,17 @@ export function memorySearchOptionsDeserializer(item) {
|
|
|
774
755
|
export function codeInterpreterToolSerializer(item) {
|
|
775
756
|
return {
|
|
776
757
|
type: item["type"],
|
|
777
|
-
container:
|
|
758
|
+
container: !item["container"]
|
|
759
|
+
? item["container"]
|
|
760
|
+
: _codeInterpreterToolContainerSerializer(item["container"]),
|
|
778
761
|
};
|
|
779
762
|
}
|
|
780
763
|
export function codeInterpreterToolDeserializer(item) {
|
|
781
764
|
return {
|
|
782
765
|
type: item["type"],
|
|
783
|
-
container:
|
|
766
|
+
container: !item["container"]
|
|
767
|
+
? item["container"]
|
|
768
|
+
: _codeInterpreterToolContainerDeserializer(item["container"]),
|
|
784
769
|
};
|
|
785
770
|
}
|
|
786
771
|
export function _codeInterpreterToolContainerSerializer(item) {
|
|
@@ -789,7 +774,7 @@ export function _codeInterpreterToolContainerSerializer(item) {
|
|
|
789
774
|
export function _codeInterpreterToolContainerDeserializer(item) {
|
|
790
775
|
return item;
|
|
791
776
|
}
|
|
792
|
-
export function
|
|
777
|
+
export function autoCodeInterpreterToolParamSerializer(item) {
|
|
793
778
|
return {
|
|
794
779
|
type: item["type"],
|
|
795
780
|
file_ids: !item["file_ids"]
|
|
@@ -798,9 +783,12 @@ export function codeInterpreterContainerAutoSerializer(item) {
|
|
|
798
783
|
return p;
|
|
799
784
|
}),
|
|
800
785
|
memory_limit: item["memory_limit"],
|
|
786
|
+
network_policy: !item["network_policy"]
|
|
787
|
+
? item["network_policy"]
|
|
788
|
+
: containerNetworkPolicyParamUnionSerializer(item["network_policy"]),
|
|
801
789
|
};
|
|
802
790
|
}
|
|
803
|
-
export function
|
|
791
|
+
export function autoCodeInterpreterToolParamDeserializer(item) {
|
|
804
792
|
return {
|
|
805
793
|
type: item["type"],
|
|
806
794
|
file_ids: !item["file_ids"]
|
|
@@ -809,6 +797,83 @@ export function codeInterpreterContainerAutoDeserializer(item) {
|
|
|
809
797
|
return p;
|
|
810
798
|
}),
|
|
811
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"],
|
|
812
877
|
};
|
|
813
878
|
}
|
|
814
879
|
export function functionToolSerializer(item) {
|
|
@@ -832,9 +897,7 @@ export function functionToolDeserializer(item) {
|
|
|
832
897
|
export function fileSearchToolSerializer(item) {
|
|
833
898
|
return {
|
|
834
899
|
type: item["type"],
|
|
835
|
-
vector_store_ids: item["vector_store_ids"]
|
|
836
|
-
return p;
|
|
837
|
-
}),
|
|
900
|
+
vector_store_ids: item["vector_store_ids"],
|
|
838
901
|
max_num_results: item["max_num_results"],
|
|
839
902
|
ranking_options: !item["ranking_options"]
|
|
840
903
|
? item["ranking_options"]
|
|
@@ -845,9 +908,7 @@ export function fileSearchToolSerializer(item) {
|
|
|
845
908
|
export function fileSearchToolDeserializer(item) {
|
|
846
909
|
return {
|
|
847
910
|
type: item["type"],
|
|
848
|
-
vector_store_ids: item["vector_store_ids"]
|
|
849
|
-
return p;
|
|
850
|
-
}),
|
|
911
|
+
vector_store_ids: item["vector_store_ids"],
|
|
851
912
|
max_num_results: item["max_num_results"],
|
|
852
913
|
ranking_options: !item["ranking_options"]
|
|
853
914
|
? item["ranking_options"]
|
|
@@ -993,20 +1054,12 @@ export function webSearchToolDeserializer(item) {
|
|
|
993
1054
|
}
|
|
994
1055
|
export function webSearchToolFiltersSerializer(item) {
|
|
995
1056
|
return {
|
|
996
|
-
allowed_domains:
|
|
997
|
-
? item["allowed_domains"]
|
|
998
|
-
: item["allowed_domains"].map((p) => {
|
|
999
|
-
return p;
|
|
1000
|
-
}),
|
|
1057
|
+
allowed_domains: item["allowed_domains"],
|
|
1001
1058
|
};
|
|
1002
1059
|
}
|
|
1003
1060
|
export function webSearchToolFiltersDeserializer(item) {
|
|
1004
1061
|
return {
|
|
1005
|
-
allowed_domains:
|
|
1006
|
-
? item["allowed_domains"]
|
|
1007
|
-
: item["allowed_domains"].map((p1) => {
|
|
1008
|
-
return p1;
|
|
1009
|
-
}),
|
|
1062
|
+
allowed_domains: item["allowed_domains"],
|
|
1010
1063
|
};
|
|
1011
1064
|
}
|
|
1012
1065
|
export function webSearchApproximateLocationSerializer(item) {
|
|
@@ -1065,9 +1118,7 @@ export function mcpToolDeserializer(item) {
|
|
|
1065
1118
|
connector_id: item["connector_id"],
|
|
1066
1119
|
authorization: item["authorization"],
|
|
1067
1120
|
server_description: item["server_description"],
|
|
1068
|
-
headers:
|
|
1069
|
-
? item["headers"]
|
|
1070
|
-
: Object.fromEntries(Object.entries(item["headers"]).map(([k1, p1]) => [k1, p1])),
|
|
1121
|
+
headers: item["headers"],
|
|
1071
1122
|
allowed_tools: !item["allowed_tools"]
|
|
1072
1123
|
? item["allowed_tools"]
|
|
1073
1124
|
: _mcpToolAllowedToolsDeserializer(item["allowed_tools"]),
|
|
@@ -1085,21 +1136,13 @@ export function _mcpToolAllowedToolsDeserializer(item) {
|
|
|
1085
1136
|
}
|
|
1086
1137
|
export function mcpToolFilterSerializer(item) {
|
|
1087
1138
|
return {
|
|
1088
|
-
tool_names:
|
|
1089
|
-
? item["tool_names"]
|
|
1090
|
-
: item["tool_names"].map((p) => {
|
|
1091
|
-
return p;
|
|
1092
|
-
}),
|
|
1139
|
+
tool_names: item["tool_names"],
|
|
1093
1140
|
read_only: item["read_only"],
|
|
1094
1141
|
};
|
|
1095
1142
|
}
|
|
1096
1143
|
export function mcpToolFilterDeserializer(item) {
|
|
1097
1144
|
return {
|
|
1098
|
-
tool_names:
|
|
1099
|
-
? item["tool_names"]
|
|
1100
|
-
: item["tool_names"].map((p) => {
|
|
1101
|
-
return p;
|
|
1102
|
-
}),
|
|
1145
|
+
tool_names: item["tool_names"],
|
|
1103
1146
|
read_only: item["read_only"],
|
|
1104
1147
|
};
|
|
1105
1148
|
}
|
|
@@ -1173,11 +1216,188 @@ export function localShellToolParamDeserializer(item) {
|
|
|
1173
1216
|
};
|
|
1174
1217
|
}
|
|
1175
1218
|
export function functionShellToolParamSerializer(item) {
|
|
1176
|
-
return {
|
|
1219
|
+
return {
|
|
1220
|
+
type: item["type"],
|
|
1221
|
+
environment: !item["environment"]
|
|
1222
|
+
? item["environment"]
|
|
1223
|
+
: functionShellToolParamEnvironmentUnionSerializer(item["environment"]),
|
|
1224
|
+
};
|
|
1177
1225
|
}
|
|
1178
1226
|
export function functionShellToolParamDeserializer(item) {
|
|
1179
1227
|
return {
|
|
1180
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"],
|
|
1181
1401
|
};
|
|
1182
1402
|
}
|
|
1183
1403
|
export function customToolParamSerializer(item) {
|
|
@@ -1288,127 +1508,194 @@ export function applyPatchToolParamDeserializer(item) {
|
|
|
1288
1508
|
type: item["type"],
|
|
1289
1509
|
};
|
|
1290
1510
|
}
|
|
1291
|
-
export function
|
|
1292
|
-
return
|
|
1293
|
-
return protocolVersionRecordSerializer(item);
|
|
1294
|
-
});
|
|
1295
|
-
}
|
|
1296
|
-
export function protocolVersionRecordArrayDeserializer(result) {
|
|
1297
|
-
return result.map((item) => {
|
|
1298
|
-
return protocolVersionRecordDeserializer(item);
|
|
1299
|
-
});
|
|
1511
|
+
export function _promptAgentDefinitionToolChoiceSerializer(item) {
|
|
1512
|
+
return item;
|
|
1300
1513
|
}
|
|
1301
|
-
export function
|
|
1302
|
-
return
|
|
1514
|
+
export function _promptAgentDefinitionToolChoiceDeserializer(item) {
|
|
1515
|
+
return item;
|
|
1303
1516
|
}
|
|
1304
|
-
export function
|
|
1305
|
-
return {
|
|
1306
|
-
protocol: item["protocol"],
|
|
1307
|
-
version: item["version"],
|
|
1308
|
-
};
|
|
1517
|
+
export function toolChoiceParamSerializer(item) {
|
|
1518
|
+
return { type: item["type"] };
|
|
1309
1519
|
}
|
|
1310
|
-
export function
|
|
1520
|
+
export function toolChoiceParamDeserializer(item) {
|
|
1311
1521
|
return {
|
|
1312
|
-
|
|
1313
|
-
tools: !item["tools"] ? item["tools"] : toolUnionArraySerializer(item["tools"]),
|
|
1314
|
-
container_protocol_versions: protocolVersionRecordArraySerializer(item["container_protocol_versions"]),
|
|
1315
|
-
cpu: item["cpu"],
|
|
1316
|
-
memory: item["memory"],
|
|
1317
|
-
environment_variables: item["environment_variables"],
|
|
1318
|
-
rai_config: !item["rai_config"] ? item["rai_config"] : raiConfigSerializer(item["rai_config"]),
|
|
1319
|
-
image: item["image"],
|
|
1522
|
+
type: item["type"],
|
|
1320
1523
|
};
|
|
1321
1524
|
}
|
|
1322
|
-
export function
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1525
|
+
export function toolChoiceParamUnionSerializer(item) {
|
|
1526
|
+
switch (item.type) {
|
|
1527
|
+
case "allowed_tools":
|
|
1528
|
+
return toolChoiceAllowedSerializer(item);
|
|
1529
|
+
case "function":
|
|
1530
|
+
return toolChoiceFunctionSerializer(item);
|
|
1531
|
+
case "mcp":
|
|
1532
|
+
return toolChoiceMCPSerializer(item);
|
|
1533
|
+
case "custom":
|
|
1534
|
+
return toolChoiceCustomSerializer(item);
|
|
1535
|
+
case "apply_patch":
|
|
1536
|
+
return specificApplyPatchParamSerializer(item);
|
|
1537
|
+
case "shell":
|
|
1538
|
+
return specificFunctionShellParamSerializer(item);
|
|
1539
|
+
case "file_search":
|
|
1540
|
+
return toolChoiceFileSearchSerializer(item);
|
|
1541
|
+
case "web_search_preview":
|
|
1542
|
+
return toolChoiceWebSearchPreviewSerializer(item);
|
|
1543
|
+
case "computer_use_preview":
|
|
1544
|
+
return toolChoiceComputerUsePreviewSerializer(item);
|
|
1545
|
+
case "web_search_preview_2025_03_11":
|
|
1546
|
+
return toolChoiceWebSearchPreview20250311Serializer(item);
|
|
1547
|
+
case "image_generation":
|
|
1548
|
+
return toolChoiceImageGenerationSerializer(item);
|
|
1549
|
+
case "code_interpreter":
|
|
1550
|
+
return toolChoiceCodeInterpreterSerializer(item);
|
|
1551
|
+
default:
|
|
1552
|
+
return toolChoiceParamSerializer(item);
|
|
1553
|
+
}
|
|
1554
|
+
}
|
|
1555
|
+
export function toolChoiceParamUnionDeserializer(item) {
|
|
1556
|
+
switch (item.type) {
|
|
1557
|
+
case "allowed_tools":
|
|
1558
|
+
return toolChoiceAllowedDeserializer(item);
|
|
1559
|
+
case "function":
|
|
1560
|
+
return toolChoiceFunctionDeserializer(item);
|
|
1561
|
+
case "mcp":
|
|
1562
|
+
return toolChoiceMCPDeserializer(item);
|
|
1563
|
+
case "custom":
|
|
1564
|
+
return toolChoiceCustomDeserializer(item);
|
|
1565
|
+
case "apply_patch":
|
|
1566
|
+
return specificApplyPatchParamDeserializer(item);
|
|
1567
|
+
case "shell":
|
|
1568
|
+
return specificFunctionShellParamDeserializer(item);
|
|
1569
|
+
case "file_search":
|
|
1570
|
+
return toolChoiceFileSearchDeserializer(item);
|
|
1571
|
+
case "web_search_preview":
|
|
1572
|
+
return toolChoiceWebSearchPreviewDeserializer(item);
|
|
1573
|
+
case "computer_use_preview":
|
|
1574
|
+
return toolChoiceComputerUsePreviewDeserializer(item);
|
|
1575
|
+
case "web_search_preview_2025_03_11":
|
|
1576
|
+
return toolChoiceWebSearchPreview20250311Deserializer(item);
|
|
1577
|
+
case "image_generation":
|
|
1578
|
+
return toolChoiceImageGenerationDeserializer(item);
|
|
1579
|
+
case "code_interpreter":
|
|
1580
|
+
return toolChoiceCodeInterpreterDeserializer(item);
|
|
1581
|
+
default:
|
|
1582
|
+
return toolChoiceParamDeserializer(item);
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1585
|
+
export function toolChoiceAllowedSerializer(item) {
|
|
1586
|
+
return {
|
|
1587
|
+
type: item["type"],
|
|
1588
|
+
mode: item["mode"],
|
|
1589
|
+
tools: item["tools"],
|
|
1334
1590
|
};
|
|
1335
1591
|
}
|
|
1336
|
-
export function
|
|
1592
|
+
export function toolChoiceAllowedDeserializer(item) {
|
|
1337
1593
|
return {
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
container_app_resource_id: item["container_app_resource_id"],
|
|
1342
|
-
ingress_subdomain_suffix: item["ingress_subdomain_suffix"],
|
|
1594
|
+
type: item["type"],
|
|
1595
|
+
mode: item["mode"],
|
|
1596
|
+
tools: item["tools"],
|
|
1343
1597
|
};
|
|
1344
1598
|
}
|
|
1345
|
-
export function
|
|
1599
|
+
export function toolChoiceFunctionSerializer(item) {
|
|
1600
|
+
return { type: item["type"], name: item["name"] };
|
|
1601
|
+
}
|
|
1602
|
+
export function toolChoiceFunctionDeserializer(item) {
|
|
1346
1603
|
return {
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
? item["rai_config"]
|
|
1350
|
-
: raiConfigDeserializer(item["rai_config"]),
|
|
1351
|
-
container_protocol_versions: protocolVersionRecordArrayDeserializer(item["container_protocol_versions"]),
|
|
1352
|
-
container_app_resource_id: item["container_app_resource_id"],
|
|
1353
|
-
ingress_subdomain_suffix: item["ingress_subdomain_suffix"],
|
|
1604
|
+
type: item["type"],
|
|
1605
|
+
name: item["name"],
|
|
1354
1606
|
};
|
|
1355
1607
|
}
|
|
1356
|
-
export function
|
|
1608
|
+
export function toolChoiceMCPSerializer(item) {
|
|
1609
|
+
return { type: item["type"], server_label: item["server_label"], name: item["name"] };
|
|
1610
|
+
}
|
|
1611
|
+
export function toolChoiceMCPDeserializer(item) {
|
|
1357
1612
|
return {
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
instructions: item["instructions"],
|
|
1362
|
-
temperature: item["temperature"],
|
|
1363
|
-
top_p: item["top_p"],
|
|
1364
|
-
reasoning: !item["reasoning"] ? item["reasoning"] : reasoningSerializer(item["reasoning"]),
|
|
1365
|
-
tools: !item["tools"] ? item["tools"] : toolUnionArraySerializer(item["tools"]),
|
|
1366
|
-
text: !item["text"] ? item["text"] : _promptAgentDefinitionTextSerializer(item["text"]),
|
|
1367
|
-
structured_inputs: !item["structured_inputs"]
|
|
1368
|
-
? item["structured_inputs"]
|
|
1369
|
-
: structuredInputDefinitionRecordSerializer(item["structured_inputs"]),
|
|
1613
|
+
type: item["type"],
|
|
1614
|
+
server_label: item["server_label"],
|
|
1615
|
+
name: item["name"],
|
|
1370
1616
|
};
|
|
1371
1617
|
}
|
|
1372
|
-
export function
|
|
1618
|
+
export function toolChoiceCustomSerializer(item) {
|
|
1619
|
+
return { type: item["type"], name: item["name"] };
|
|
1620
|
+
}
|
|
1621
|
+
export function toolChoiceCustomDeserializer(item) {
|
|
1373
1622
|
return {
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
? item["rai_config"]
|
|
1377
|
-
: raiConfigDeserializer(item["rai_config"]),
|
|
1378
|
-
model: item["model"],
|
|
1379
|
-
instructions: item["instructions"],
|
|
1380
|
-
temperature: item["temperature"],
|
|
1381
|
-
top_p: item["top_p"],
|
|
1382
|
-
reasoning: !item["reasoning"] ? item["reasoning"] : reasoningDeserializer(item["reasoning"]),
|
|
1383
|
-
tools: !item["tools"] ? item["tools"] : toolUnionArrayDeserializer(item["tools"]),
|
|
1384
|
-
text: !item["text"] ? item["text"] : _promptAgentDefinitionTextDeserializer(item["text"]),
|
|
1385
|
-
structured_inputs: !item["structured_inputs"]
|
|
1386
|
-
? item["structured_inputs"]
|
|
1387
|
-
: structuredInputDefinitionRecordDeserializer(item["structured_inputs"]),
|
|
1623
|
+
type: item["type"],
|
|
1624
|
+
name: item["name"],
|
|
1388
1625
|
};
|
|
1389
1626
|
}
|
|
1390
|
-
export function
|
|
1627
|
+
export function specificApplyPatchParamSerializer(item) {
|
|
1628
|
+
return { type: item["type"] };
|
|
1629
|
+
}
|
|
1630
|
+
export function specificApplyPatchParamDeserializer(item) {
|
|
1391
1631
|
return {
|
|
1392
|
-
|
|
1393
|
-
summary: item["summary"],
|
|
1394
|
-
generate_summary: item["generate_summary"],
|
|
1632
|
+
type: item["type"],
|
|
1395
1633
|
};
|
|
1396
1634
|
}
|
|
1397
|
-
export function
|
|
1635
|
+
export function specificFunctionShellParamSerializer(item) {
|
|
1636
|
+
return { type: item["type"] };
|
|
1637
|
+
}
|
|
1638
|
+
export function specificFunctionShellParamDeserializer(item) {
|
|
1398
1639
|
return {
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1640
|
+
type: item["type"],
|
|
1641
|
+
};
|
|
1642
|
+
}
|
|
1643
|
+
export function toolChoiceFileSearchSerializer(item) {
|
|
1644
|
+
return { type: item["type"] };
|
|
1645
|
+
}
|
|
1646
|
+
export function toolChoiceFileSearchDeserializer(item) {
|
|
1647
|
+
return {
|
|
1648
|
+
type: item["type"],
|
|
1649
|
+
};
|
|
1650
|
+
}
|
|
1651
|
+
export function toolChoiceWebSearchPreviewSerializer(item) {
|
|
1652
|
+
return { type: item["type"] };
|
|
1653
|
+
}
|
|
1654
|
+
export function toolChoiceWebSearchPreviewDeserializer(item) {
|
|
1655
|
+
return {
|
|
1656
|
+
type: item["type"],
|
|
1657
|
+
};
|
|
1658
|
+
}
|
|
1659
|
+
export function toolChoiceComputerUsePreviewSerializer(item) {
|
|
1660
|
+
return { type: item["type"] };
|
|
1661
|
+
}
|
|
1662
|
+
export function toolChoiceComputerUsePreviewDeserializer(item) {
|
|
1663
|
+
return {
|
|
1664
|
+
type: item["type"],
|
|
1665
|
+
};
|
|
1666
|
+
}
|
|
1667
|
+
export function toolChoiceWebSearchPreview20250311Serializer(item) {
|
|
1668
|
+
return { type: item["type"] };
|
|
1669
|
+
}
|
|
1670
|
+
export function toolChoiceWebSearchPreview20250311Deserializer(item) {
|
|
1671
|
+
return {
|
|
1672
|
+
type: item["type"],
|
|
1673
|
+
};
|
|
1674
|
+
}
|
|
1675
|
+
export function toolChoiceImageGenerationSerializer(item) {
|
|
1676
|
+
return { type: item["type"] };
|
|
1677
|
+
}
|
|
1678
|
+
export function toolChoiceImageGenerationDeserializer(item) {
|
|
1679
|
+
return {
|
|
1680
|
+
type: item["type"],
|
|
1681
|
+
};
|
|
1682
|
+
}
|
|
1683
|
+
export function toolChoiceCodeInterpreterSerializer(item) {
|
|
1684
|
+
return { type: item["type"] };
|
|
1685
|
+
}
|
|
1686
|
+
export function toolChoiceCodeInterpreterDeserializer(item) {
|
|
1687
|
+
return {
|
|
1688
|
+
type: item["type"],
|
|
1402
1689
|
};
|
|
1403
1690
|
}
|
|
1404
|
-
export function
|
|
1691
|
+
export function promptAgentDefinitionTextOptionsSerializer(item) {
|
|
1405
1692
|
return {
|
|
1406
1693
|
format: !item["format"]
|
|
1407
1694
|
? item["format"]
|
|
1408
1695
|
: textResponseFormatConfigurationUnionSerializer(item["format"]),
|
|
1409
1696
|
};
|
|
1410
1697
|
}
|
|
1411
|
-
export function
|
|
1698
|
+
export function promptAgentDefinitionTextOptionsDeserializer(item) {
|
|
1412
1699
|
return {
|
|
1413
1700
|
format: !item["format"]
|
|
1414
1701
|
? item["format"]
|
|
@@ -1461,7 +1748,7 @@ export function textResponseFormatJsonSchemaDeserializer(item) {
|
|
|
1461
1748
|
type: item["type"],
|
|
1462
1749
|
description: item["description"],
|
|
1463
1750
|
name: item["name"],
|
|
1464
|
-
schema:
|
|
1751
|
+
schema: item["schema"],
|
|
1465
1752
|
strict: item["strict"],
|
|
1466
1753
|
};
|
|
1467
1754
|
}
|
|
@@ -1511,35 +1798,88 @@ export function structuredInputDefinitionDeserializer(item) {
|
|
|
1511
1798
|
required: item["required"],
|
|
1512
1799
|
};
|
|
1513
1800
|
}
|
|
1514
|
-
export function
|
|
1801
|
+
export function workflowAgentDefinitionSerializer(item) {
|
|
1515
1802
|
return {
|
|
1516
|
-
|
|
1803
|
+
kind: item["kind"],
|
|
1804
|
+
rai_config: !item["rai_config"] ? item["rai_config"] : raiConfigSerializer(item["rai_config"]),
|
|
1805
|
+
workflow: item["workflow"],
|
|
1517
1806
|
};
|
|
1518
1807
|
}
|
|
1519
|
-
export function
|
|
1808
|
+
export function workflowAgentDefinitionDeserializer(item) {
|
|
1520
1809
|
return {
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1810
|
+
kind: item["kind"],
|
|
1811
|
+
rai_config: !item["rai_config"]
|
|
1812
|
+
? item["rai_config"]
|
|
1813
|
+
: raiConfigDeserializer(item["rai_config"]),
|
|
1814
|
+
workflow: item["workflow"],
|
|
1815
|
+
};
|
|
1816
|
+
}
|
|
1817
|
+
export function hostedAgentDefinitionSerializer(item) {
|
|
1818
|
+
return {
|
|
1819
|
+
kind: item["kind"],
|
|
1820
|
+
rai_config: !item["rai_config"] ? item["rai_config"] : raiConfigSerializer(item["rai_config"]),
|
|
1821
|
+
tools: !item["tools"] ? item["tools"] : toolUnionArraySerializer(item["tools"]),
|
|
1822
|
+
container_protocol_versions: protocolVersionRecordArraySerializer(item["container_protocol_versions"]),
|
|
1823
|
+
cpu: item["cpu"],
|
|
1824
|
+
memory: item["memory"],
|
|
1825
|
+
environment_variables: item["environment_variables"],
|
|
1826
|
+
image: item["image"],
|
|
1528
1827
|
};
|
|
1529
1828
|
}
|
|
1530
|
-
export function
|
|
1531
|
-
return
|
|
1532
|
-
|
|
1829
|
+
export function hostedAgentDefinitionDeserializer(item) {
|
|
1830
|
+
return {
|
|
1831
|
+
kind: item["kind"],
|
|
1832
|
+
rai_config: !item["rai_config"]
|
|
1833
|
+
? item["rai_config"]
|
|
1834
|
+
: raiConfigDeserializer(item["rai_config"]),
|
|
1835
|
+
tools: !item["tools"] ? item["tools"] : toolUnionArrayDeserializer(item["tools"]),
|
|
1836
|
+
container_protocol_versions: protocolVersionRecordArrayDeserializer(item["container_protocol_versions"]),
|
|
1837
|
+
cpu: item["cpu"],
|
|
1838
|
+
memory: item["memory"],
|
|
1839
|
+
environment_variables: item["environment_variables"],
|
|
1840
|
+
image: item["image"],
|
|
1841
|
+
};
|
|
1842
|
+
}
|
|
1843
|
+
export function protocolVersionRecordArraySerializer(result) {
|
|
1844
|
+
return result.map((item) => {
|
|
1845
|
+
return protocolVersionRecordSerializer(item);
|
|
1846
|
+
});
|
|
1847
|
+
}
|
|
1848
|
+
export function protocolVersionRecordArrayDeserializer(result) {
|
|
1849
|
+
return result.map((item) => {
|
|
1850
|
+
return protocolVersionRecordDeserializer(item);
|
|
1533
1851
|
});
|
|
1534
1852
|
}
|
|
1535
|
-
export function
|
|
1853
|
+
export function protocolVersionRecordSerializer(item) {
|
|
1854
|
+
return { protocol: item["protocol"], version: item["version"] };
|
|
1855
|
+
}
|
|
1856
|
+
export function protocolVersionRecordDeserializer(item) {
|
|
1857
|
+
return {
|
|
1858
|
+
protocol: item["protocol"],
|
|
1859
|
+
version: item["version"],
|
|
1860
|
+
};
|
|
1861
|
+
}
|
|
1862
|
+
export function apiErrorResponseDeserializer(item) {
|
|
1863
|
+
return {
|
|
1864
|
+
error: errorDeserializer(item["error"]),
|
|
1865
|
+
};
|
|
1866
|
+
}
|
|
1867
|
+
export function errorDeserializer(item) {
|
|
1536
1868
|
return {
|
|
1537
1869
|
code: item["code"],
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1870
|
+
message: item["message"],
|
|
1871
|
+
param: item["param"],
|
|
1872
|
+
type: item["type"],
|
|
1873
|
+
details: !item["details"] ? item["details"] : errorArrayDeserializer(item["details"]),
|
|
1874
|
+
additionalInfo: item["additionalInfo"],
|
|
1875
|
+
debugInfo: item["debugInfo"],
|
|
1541
1876
|
};
|
|
1542
1877
|
}
|
|
1878
|
+
export function errorArrayDeserializer(result) {
|
|
1879
|
+
return result.map((item) => {
|
|
1880
|
+
return errorDeserializer(item);
|
|
1881
|
+
});
|
|
1882
|
+
}
|
|
1543
1883
|
export function deleteAgentResponseDeserializer(item) {
|
|
1544
1884
|
return {
|
|
1545
1885
|
object: item["object"],
|
|
@@ -1549,15 +1889,15 @@ export function deleteAgentResponseDeserializer(item) {
|
|
|
1549
1889
|
}
|
|
1550
1890
|
export function _agentsPagedResultAgentObjectDeserializer(item) {
|
|
1551
1891
|
return {
|
|
1552
|
-
data:
|
|
1892
|
+
data: agentArrayDeserializer(item["data"]),
|
|
1553
1893
|
first_id: item["first_id"],
|
|
1554
1894
|
last_id: item["last_id"],
|
|
1555
1895
|
has_more: item["has_more"],
|
|
1556
1896
|
};
|
|
1557
1897
|
}
|
|
1558
|
-
export function
|
|
1898
|
+
export function agentArrayDeserializer(result) {
|
|
1559
1899
|
return result.map((item) => {
|
|
1560
|
-
return
|
|
1900
|
+
return agentDeserializer(item);
|
|
1561
1901
|
});
|
|
1562
1902
|
}
|
|
1563
1903
|
export function deleteAgentVersionResponseDeserializer(item) {
|
|
@@ -1570,1046 +1910,109 @@ export function deleteAgentVersionResponseDeserializer(item) {
|
|
|
1570
1910
|
}
|
|
1571
1911
|
export function _agentsPagedResultAgentVersionObjectDeserializer(item) {
|
|
1572
1912
|
return {
|
|
1573
|
-
data:
|
|
1913
|
+
data: agentVersionArrayDeserializer(item["data"]),
|
|
1574
1914
|
first_id: item["first_id"],
|
|
1575
1915
|
last_id: item["last_id"],
|
|
1576
1916
|
has_more: item["has_more"],
|
|
1577
1917
|
};
|
|
1578
1918
|
}
|
|
1579
|
-
export function
|
|
1919
|
+
export function agentVersionArrayDeserializer(result) {
|
|
1580
1920
|
return result.map((item) => {
|
|
1581
|
-
return
|
|
1921
|
+
return agentVersionDeserializer(item);
|
|
1582
1922
|
});
|
|
1583
1923
|
}
|
|
1584
|
-
export function
|
|
1585
|
-
return {
|
|
1924
|
+
export function evaluationRuleSerializer(item) {
|
|
1925
|
+
return {
|
|
1926
|
+
displayName: item["displayName"],
|
|
1927
|
+
description: item["description"],
|
|
1928
|
+
action: evaluationRuleActionUnionSerializer(item["action"]),
|
|
1929
|
+
filter: !item["filter"] ? item["filter"] : evaluationRuleFilterSerializer(item["filter"]),
|
|
1930
|
+
eventType: item["eventType"],
|
|
1931
|
+
enabled: item["enabled"],
|
|
1932
|
+
};
|
|
1586
1933
|
}
|
|
1587
|
-
export function
|
|
1934
|
+
export function evaluationRuleDeserializer(item) {
|
|
1588
1935
|
return {
|
|
1589
|
-
|
|
1936
|
+
id: item["id"],
|
|
1937
|
+
displayName: item["displayName"],
|
|
1938
|
+
description: item["description"],
|
|
1939
|
+
action: evaluationRuleActionUnionDeserializer(item["action"]),
|
|
1940
|
+
filter: !item["filter"] ? item["filter"] : evaluationRuleFilterDeserializer(item["filter"]),
|
|
1941
|
+
eventType: item["eventType"],
|
|
1942
|
+
enabled: item["enabled"],
|
|
1943
|
+
systemData: item["systemData"],
|
|
1590
1944
|
};
|
|
1591
1945
|
}
|
|
1592
|
-
export function
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1946
|
+
export function evaluationRuleActionSerializer(item) {
|
|
1947
|
+
return { type: item["type"] };
|
|
1948
|
+
}
|
|
1949
|
+
export function evaluationRuleActionDeserializer(item) {
|
|
1950
|
+
return {
|
|
1951
|
+
type: item["type"],
|
|
1952
|
+
};
|
|
1953
|
+
}
|
|
1954
|
+
export function evaluationRuleActionUnionSerializer(item) {
|
|
1955
|
+
switch (item.type) {
|
|
1956
|
+
case "continuousEvaluation":
|
|
1957
|
+
return continuousEvaluationRuleActionSerializer(item);
|
|
1958
|
+
case "humanEvaluationPreview":
|
|
1959
|
+
return humanEvaluationPreviewRuleActionSerializer(item);
|
|
1596
1960
|
default:
|
|
1597
|
-
return
|
|
1961
|
+
return evaluationRuleActionSerializer(item);
|
|
1598
1962
|
}
|
|
1599
1963
|
}
|
|
1600
|
-
export function
|
|
1601
|
-
switch (item.
|
|
1602
|
-
case "
|
|
1603
|
-
return
|
|
1964
|
+
export function evaluationRuleActionUnionDeserializer(item) {
|
|
1965
|
+
switch (item.type) {
|
|
1966
|
+
case "continuousEvaluation":
|
|
1967
|
+
return continuousEvaluationRuleActionDeserializer(item);
|
|
1968
|
+
case "humanEvaluationPreview":
|
|
1969
|
+
return humanEvaluationPreviewRuleActionDeserializer(item);
|
|
1604
1970
|
default:
|
|
1605
|
-
return
|
|
1971
|
+
return evaluationRuleActionDeserializer(item);
|
|
1606
1972
|
}
|
|
1607
1973
|
}
|
|
1608
|
-
export function
|
|
1609
|
-
return {
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
embedding_model: item["embedding_model"],
|
|
1613
|
-
options: !item["options"]
|
|
1614
|
-
? item["options"]
|
|
1615
|
-
: memoryStoreDefaultOptionsSerializer(item["options"]),
|
|
1616
|
-
};
|
|
1617
|
-
}
|
|
1618
|
-
export function memoryStoreDefaultDefinitionDeserializer(item) {
|
|
1619
|
-
return {
|
|
1620
|
-
kind: item["kind"],
|
|
1621
|
-
chat_model: item["chat_model"],
|
|
1622
|
-
embedding_model: item["embedding_model"],
|
|
1623
|
-
options: !item["options"]
|
|
1624
|
-
? item["options"]
|
|
1625
|
-
: memoryStoreDefaultOptionsDeserializer(item["options"]),
|
|
1626
|
-
};
|
|
1627
|
-
}
|
|
1628
|
-
export function memoryStoreDefaultOptionsSerializer(item) {
|
|
1629
|
-
return {
|
|
1630
|
-
user_profile_enabled: item["user_profile_enabled"],
|
|
1631
|
-
user_profile_details: item["user_profile_details"],
|
|
1632
|
-
chat_summary_enabled: item["chat_summary_enabled"],
|
|
1633
|
-
};
|
|
1634
|
-
}
|
|
1635
|
-
export function memoryStoreDefaultOptionsDeserializer(item) {
|
|
1636
|
-
return {
|
|
1637
|
-
user_profile_enabled: item["user_profile_enabled"],
|
|
1638
|
-
user_profile_details: item["user_profile_details"],
|
|
1639
|
-
chat_summary_enabled: item["chat_summary_enabled"],
|
|
1640
|
-
};
|
|
1641
|
-
}
|
|
1642
|
-
export function memoryStoreObjectDeserializer(item) {
|
|
1643
|
-
return {
|
|
1644
|
-
object: item["object"],
|
|
1645
|
-
id: item["id"],
|
|
1646
|
-
created_at: new Date(item["created_at"] * 1000),
|
|
1647
|
-
updated_at: new Date(item["updated_at"] * 1000),
|
|
1648
|
-
name: item["name"],
|
|
1649
|
-
description: item["description"],
|
|
1650
|
-
metadata: item["metadata"],
|
|
1651
|
-
definition: memoryStoreDefinitionUnionDeserializer(item["definition"]),
|
|
1652
|
-
};
|
|
1653
|
-
}
|
|
1654
|
-
export function _agentsPagedResultMemoryStoreObjectDeserializer(item) {
|
|
1655
|
-
return {
|
|
1656
|
-
data: memoryStoreObjectArrayDeserializer(item["data"]),
|
|
1657
|
-
first_id: item["first_id"],
|
|
1658
|
-
last_id: item["last_id"],
|
|
1659
|
-
has_more: item["has_more"],
|
|
1660
|
-
};
|
|
1661
|
-
}
|
|
1662
|
-
export function memoryStoreObjectArrayDeserializer(result) {
|
|
1663
|
-
return result.map((item) => {
|
|
1664
|
-
return memoryStoreObjectDeserializer(item);
|
|
1665
|
-
});
|
|
1666
|
-
}
|
|
1667
|
-
export function deleteMemoryStoreResponseDeserializer(item) {
|
|
1668
|
-
return {
|
|
1669
|
-
object: item["object"],
|
|
1670
|
-
name: item["name"],
|
|
1671
|
-
deleted: item["deleted"],
|
|
1672
|
-
};
|
|
1673
|
-
}
|
|
1674
|
-
export function itemSerializer(item) {
|
|
1675
|
-
return { type: item["type"] };
|
|
1676
|
-
}
|
|
1677
|
-
export function itemUnionSerializer(item) {
|
|
1678
|
-
switch (item.type) {
|
|
1679
|
-
case "memory_search_call":
|
|
1680
|
-
return memorySearchToolCallItemParamSerializer(item);
|
|
1681
|
-
case "message":
|
|
1682
|
-
return inputMessageSerializer(item);
|
|
1683
|
-
case "computer_call_output":
|
|
1684
|
-
return computerCallOutputItemParamSerializer(item);
|
|
1685
|
-
case "function_call_output":
|
|
1686
|
-
return functionCallOutputItemParamSerializer(item);
|
|
1687
|
-
case "compaction":
|
|
1688
|
-
return compactionSummaryItemParamSerializer(item);
|
|
1689
|
-
case "shell_call":
|
|
1690
|
-
return functionShellCallItemParamSerializer(item);
|
|
1691
|
-
case "shell_call_output":
|
|
1692
|
-
return functionShellCallOutputItemParamSerializer(item);
|
|
1693
|
-
case "apply_patch_call":
|
|
1694
|
-
return applyPatchToolCallItemParamSerializer(item);
|
|
1695
|
-
case "apply_patch_call_output":
|
|
1696
|
-
return applyPatchToolCallOutputItemParamSerializer(item);
|
|
1697
|
-
case "mcp_approval_response":
|
|
1698
|
-
return mcpApprovalResponseSerializer(item);
|
|
1699
|
-
case "output_message":
|
|
1700
|
-
return itemOutputMessageSerializer(item);
|
|
1701
|
-
case "file_search_call":
|
|
1702
|
-
return itemFileSearchToolCallSerializer(item);
|
|
1703
|
-
case "computer_call":
|
|
1704
|
-
return itemComputerToolCallSerializer(item);
|
|
1705
|
-
case "web_search_call":
|
|
1706
|
-
return itemWebSearchToolCallSerializer(item);
|
|
1707
|
-
case "function_call":
|
|
1708
|
-
return itemFunctionToolCallSerializer(item);
|
|
1709
|
-
case "reasoning":
|
|
1710
|
-
return itemReasoningItemSerializer(item);
|
|
1711
|
-
case "image_generation_call":
|
|
1712
|
-
return itemImageGenToolCallSerializer(item);
|
|
1713
|
-
case "code_interpreter_call":
|
|
1714
|
-
return itemCodeInterpreterToolCallSerializer(item);
|
|
1715
|
-
case "local_shell_call":
|
|
1716
|
-
return itemLocalShellToolCallSerializer(item);
|
|
1717
|
-
case "local_shell_call_output":
|
|
1718
|
-
return itemLocalShellToolCallOutputSerializer(item);
|
|
1719
|
-
case "mcp_list_tools":
|
|
1720
|
-
return itemMcpListToolsSerializer(item);
|
|
1721
|
-
case "mcp_approval_request":
|
|
1722
|
-
return itemMcpApprovalRequestSerializer(item);
|
|
1723
|
-
case "mcp_call":
|
|
1724
|
-
return itemMcpToolCallSerializer(item);
|
|
1725
|
-
case "custom_tool_call_output":
|
|
1726
|
-
return itemCustomToolCallOutputSerializer(item);
|
|
1727
|
-
case "custom_tool_call":
|
|
1728
|
-
return itemCustomToolCallSerializer(item);
|
|
1729
|
-
default:
|
|
1730
|
-
return itemSerializer(item);
|
|
1731
|
-
}
|
|
1732
|
-
}
|
|
1733
|
-
export function memorySearchToolCallItemParamSerializer(item) {
|
|
1734
|
-
return {
|
|
1735
|
-
type: item["type"],
|
|
1736
|
-
results: !item["results"] ? item["results"] : memorySearchItemArraySerializer(item["results"]),
|
|
1737
|
-
};
|
|
1738
|
-
}
|
|
1739
|
-
export function memorySearchItemArraySerializer(result) {
|
|
1740
|
-
return result.map((item) => {
|
|
1741
|
-
return memorySearchItemSerializer(item);
|
|
1742
|
-
});
|
|
1743
|
-
}
|
|
1744
|
-
export function memorySearchItemArrayDeserializer(result) {
|
|
1745
|
-
return result.map((item) => {
|
|
1746
|
-
return memorySearchItemDeserializer(item);
|
|
1747
|
-
});
|
|
1748
|
-
}
|
|
1749
|
-
export function memorySearchItemSerializer(item) {
|
|
1750
|
-
return { memory_item: memoryItemUnionSerializer(item["memory_item"]) };
|
|
1751
|
-
}
|
|
1752
|
-
export function memorySearchItemDeserializer(item) {
|
|
1753
|
-
return {
|
|
1754
|
-
memory_item: memoryItemUnionDeserializer(item["memory_item"]),
|
|
1755
|
-
};
|
|
1756
|
-
}
|
|
1757
|
-
export function memoryItemSerializer(item) {
|
|
1758
|
-
return {
|
|
1759
|
-
memory_id: item["memory_id"],
|
|
1760
|
-
updated_at: (item["updated_at"].getTime() / 1000) | 0,
|
|
1761
|
-
scope: item["scope"],
|
|
1762
|
-
content: item["content"],
|
|
1763
|
-
kind: item["kind"],
|
|
1764
|
-
};
|
|
1765
|
-
}
|
|
1766
|
-
export function memoryItemDeserializer(item) {
|
|
1767
|
-
return {
|
|
1768
|
-
memory_id: item["memory_id"],
|
|
1769
|
-
updated_at: new Date(item["updated_at"] * 1000),
|
|
1770
|
-
scope: item["scope"],
|
|
1771
|
-
content: item["content"],
|
|
1772
|
-
kind: item["kind"],
|
|
1773
|
-
};
|
|
1774
|
-
}
|
|
1775
|
-
export function memoryItemUnionSerializer(item) {
|
|
1776
|
-
switch (item.kind) {
|
|
1777
|
-
case "user_profile":
|
|
1778
|
-
return userProfileMemoryItemSerializer(item);
|
|
1779
|
-
case "chat_summary":
|
|
1780
|
-
return chatSummaryMemoryItemSerializer(item);
|
|
1781
|
-
default:
|
|
1782
|
-
return memoryItemSerializer(item);
|
|
1783
|
-
}
|
|
1784
|
-
}
|
|
1785
|
-
export function memoryItemUnionDeserializer(item) {
|
|
1786
|
-
switch (item.kind) {
|
|
1787
|
-
case "user_profile":
|
|
1788
|
-
return userProfileMemoryItemDeserializer(item);
|
|
1789
|
-
case "chat_summary":
|
|
1790
|
-
return chatSummaryMemoryItemDeserializer(item);
|
|
1791
|
-
default:
|
|
1792
|
-
return memoryItemDeserializer(item);
|
|
1793
|
-
}
|
|
1794
|
-
}
|
|
1795
|
-
export function userProfileMemoryItemSerializer(item) {
|
|
1796
|
-
return {
|
|
1797
|
-
memory_id: item["memory_id"],
|
|
1798
|
-
updated_at: (item["updated_at"].getTime() / 1000) | 0,
|
|
1799
|
-
scope: item["scope"],
|
|
1800
|
-
content: item["content"],
|
|
1801
|
-
kind: item["kind"],
|
|
1802
|
-
};
|
|
1803
|
-
}
|
|
1804
|
-
export function userProfileMemoryItemDeserializer(item) {
|
|
1805
|
-
return {
|
|
1806
|
-
memory_id: item["memory_id"],
|
|
1807
|
-
updated_at: new Date(item["updated_at"] * 1000),
|
|
1808
|
-
scope: item["scope"],
|
|
1809
|
-
content: item["content"],
|
|
1810
|
-
kind: item["kind"],
|
|
1811
|
-
};
|
|
1812
|
-
}
|
|
1813
|
-
export function chatSummaryMemoryItemSerializer(item) {
|
|
1814
|
-
return {
|
|
1815
|
-
memory_id: item["memory_id"],
|
|
1816
|
-
updated_at: (item["updated_at"].getTime() / 1000) | 0,
|
|
1817
|
-
scope: item["scope"],
|
|
1818
|
-
content: item["content"],
|
|
1819
|
-
kind: item["kind"],
|
|
1820
|
-
};
|
|
1821
|
-
}
|
|
1822
|
-
export function chatSummaryMemoryItemDeserializer(item) {
|
|
1823
|
-
return {
|
|
1824
|
-
memory_id: item["memory_id"],
|
|
1825
|
-
updated_at: new Date(item["updated_at"] * 1000),
|
|
1826
|
-
scope: item["scope"],
|
|
1827
|
-
content: item["content"],
|
|
1828
|
-
kind: item["kind"],
|
|
1829
|
-
};
|
|
1830
|
-
}
|
|
1831
|
-
export function inputMessageSerializer(item) {
|
|
1832
|
-
return {
|
|
1833
|
-
type: item["type"],
|
|
1834
|
-
role: item["role"],
|
|
1835
|
-
status: item["status"],
|
|
1836
|
-
content: inputContentUnionArraySerializer(item["content"]),
|
|
1837
|
-
};
|
|
1838
|
-
}
|
|
1839
|
-
export function inputContentUnionArraySerializer(result) {
|
|
1840
|
-
return result.map((item) => {
|
|
1841
|
-
return inputContentUnionSerializer(item);
|
|
1842
|
-
});
|
|
1843
|
-
}
|
|
1844
|
-
export function inputContentSerializer(item) {
|
|
1845
|
-
return { type: item["type"] };
|
|
1846
|
-
}
|
|
1847
|
-
export function inputContentUnionSerializer(item) {
|
|
1848
|
-
switch (item.type) {
|
|
1849
|
-
case "input_text":
|
|
1850
|
-
return inputContentInputTextContentSerializer(item);
|
|
1851
|
-
case "input_image":
|
|
1852
|
-
return inputContentInputImageContentSerializer(item);
|
|
1853
|
-
case "input_file":
|
|
1854
|
-
return inputContentInputFileContentSerializer(item);
|
|
1855
|
-
default:
|
|
1856
|
-
return inputContentSerializer(item);
|
|
1857
|
-
}
|
|
1858
|
-
}
|
|
1859
|
-
export function inputContentInputTextContentSerializer(item) {
|
|
1860
|
-
return { type: item["type"], text: item["text"] };
|
|
1861
|
-
}
|
|
1862
|
-
export function inputContentInputImageContentSerializer(item) {
|
|
1863
|
-
return {
|
|
1864
|
-
type: item["type"],
|
|
1865
|
-
image_url: item["image_url"],
|
|
1866
|
-
file_id: item["file_id"],
|
|
1867
|
-
detail: item["detail"],
|
|
1868
|
-
};
|
|
1869
|
-
}
|
|
1870
|
-
export function inputContentInputFileContentSerializer(item) {
|
|
1871
|
-
return {
|
|
1872
|
-
type: item["type"],
|
|
1873
|
-
file_id: item["file_id"],
|
|
1874
|
-
filename: item["filename"],
|
|
1875
|
-
file_url: item["file_url"],
|
|
1876
|
-
file_data: item["file_data"],
|
|
1877
|
-
};
|
|
1878
|
-
}
|
|
1879
|
-
export function computerCallOutputItemParamSerializer(item) {
|
|
1880
|
-
return {
|
|
1881
|
-
type: item["type"],
|
|
1882
|
-
id: item["id"],
|
|
1883
|
-
call_id: item["call_id"],
|
|
1884
|
-
output: computerScreenshotImageSerializer(item["output"]),
|
|
1885
|
-
acknowledged_safety_checks: !item["acknowledged_safety_checks"]
|
|
1886
|
-
? item["acknowledged_safety_checks"]
|
|
1887
|
-
: computerCallSafetyCheckParamArraySerializer(item["acknowledged_safety_checks"]),
|
|
1888
|
-
status: item["status"],
|
|
1889
|
-
};
|
|
1890
|
-
}
|
|
1891
|
-
export function computerScreenshotImageSerializer(item) {
|
|
1892
|
-
return { type: item["type"], image_url: item["image_url"], file_id: item["file_id"] };
|
|
1893
|
-
}
|
|
1894
|
-
export function computerCallSafetyCheckParamArraySerializer(result) {
|
|
1895
|
-
return result.map((item) => {
|
|
1896
|
-
return computerCallSafetyCheckParamSerializer(item);
|
|
1897
|
-
});
|
|
1898
|
-
}
|
|
1899
|
-
export function computerCallSafetyCheckParamSerializer(item) {
|
|
1900
|
-
return { id: item["id"], code: item["code"], message: item["message"] };
|
|
1901
|
-
}
|
|
1902
|
-
export function functionCallOutputItemParamSerializer(item) {
|
|
1903
|
-
return {
|
|
1904
|
-
type: item["type"],
|
|
1905
|
-
id: item["id"],
|
|
1906
|
-
call_id: item["call_id"],
|
|
1907
|
-
output: _functionCallOutputItemParamOutputSerializer(item["output"]),
|
|
1908
|
-
status: item["status"],
|
|
1909
|
-
};
|
|
1910
|
-
}
|
|
1911
|
-
export function _functionCallOutputItemParamOutputSerializer(item) {
|
|
1912
|
-
return item;
|
|
1913
|
-
}
|
|
1914
|
-
export function _functionCallOutputItemParamOutput1ArraySerializer(result) {
|
|
1915
|
-
return result.map((item) => {
|
|
1916
|
-
return _functionCallOutputItemParamOutput1Serializer(item);
|
|
1917
|
-
});
|
|
1918
|
-
}
|
|
1919
|
-
export function _functionCallOutputItemParamOutput1Serializer(item) {
|
|
1920
|
-
return item;
|
|
1921
|
-
}
|
|
1922
|
-
export function inputTextContentParamSerializer(item) {
|
|
1923
|
-
return { type: item["type"], text: item["text"] };
|
|
1924
|
-
}
|
|
1925
|
-
export function inputImageContentParamAutoParamSerializer(item) {
|
|
1926
|
-
return {
|
|
1927
|
-
type: item["type"],
|
|
1928
|
-
image_url: item["image_url"],
|
|
1929
|
-
file_id: item["file_id"],
|
|
1930
|
-
detail: item["detail"],
|
|
1931
|
-
};
|
|
1932
|
-
}
|
|
1933
|
-
export function inputFileContentParamSerializer(item) {
|
|
1934
|
-
return {
|
|
1935
|
-
type: item["type"],
|
|
1936
|
-
file_id: item["file_id"],
|
|
1937
|
-
filename: item["filename"],
|
|
1938
|
-
file_data: item["file_data"],
|
|
1939
|
-
file_url: item["file_url"],
|
|
1940
|
-
};
|
|
1941
|
-
}
|
|
1942
|
-
export function compactionSummaryItemParamSerializer(item) {
|
|
1943
|
-
return { type: item["type"], id: item["id"], encrypted_content: item["encrypted_content"] };
|
|
1944
|
-
}
|
|
1945
|
-
export function functionShellCallItemParamSerializer(item) {
|
|
1946
|
-
return {
|
|
1947
|
-
type: item["type"],
|
|
1948
|
-
id: item["id"],
|
|
1949
|
-
call_id: item["call_id"],
|
|
1950
|
-
action: functionShellActionParamSerializer(item["action"]),
|
|
1951
|
-
status: item["status"],
|
|
1952
|
-
};
|
|
1953
|
-
}
|
|
1954
|
-
export function functionShellActionParamSerializer(item) {
|
|
1955
|
-
return {
|
|
1956
|
-
commands: item["commands"].map((p) => {
|
|
1957
|
-
return p;
|
|
1958
|
-
}),
|
|
1959
|
-
timeout_ms: item["timeout_ms"],
|
|
1960
|
-
max_output_length: item["max_output_length"],
|
|
1961
|
-
};
|
|
1962
|
-
}
|
|
1963
|
-
export function functionShellCallOutputItemParamSerializer(item) {
|
|
1964
|
-
return {
|
|
1965
|
-
type: item["type"],
|
|
1966
|
-
id: item["id"],
|
|
1967
|
-
call_id: item["call_id"],
|
|
1968
|
-
output: functionShellCallOutputContentParamArraySerializer(item["output"]),
|
|
1969
|
-
max_output_length: item["max_output_length"],
|
|
1970
|
-
};
|
|
1971
|
-
}
|
|
1972
|
-
export function functionShellCallOutputContentParamArraySerializer(result) {
|
|
1973
|
-
return result.map((item) => {
|
|
1974
|
-
return functionShellCallOutputContentParamSerializer(item);
|
|
1975
|
-
});
|
|
1976
|
-
}
|
|
1977
|
-
export function functionShellCallOutputContentParamSerializer(item) {
|
|
1978
|
-
return {
|
|
1979
|
-
stdout: item["stdout"],
|
|
1980
|
-
stderr: item["stderr"],
|
|
1981
|
-
outcome: functionShellCallOutputOutcomeParamUnionSerializer(item["outcome"]),
|
|
1982
|
-
};
|
|
1983
|
-
}
|
|
1984
|
-
export function functionShellCallOutputOutcomeParamSerializer(item) {
|
|
1985
|
-
return { type: item["type"] };
|
|
1986
|
-
}
|
|
1987
|
-
export function functionShellCallOutputOutcomeParamUnionSerializer(item) {
|
|
1988
|
-
switch (item.type) {
|
|
1989
|
-
case "timeout":
|
|
1990
|
-
return functionShellCallOutputTimeoutOutcomeParamSerializer(item);
|
|
1991
|
-
case "exit":
|
|
1992
|
-
return functionShellCallOutputExitOutcomeParamSerializer(item);
|
|
1993
|
-
default:
|
|
1994
|
-
return functionShellCallOutputOutcomeParamSerializer(item);
|
|
1995
|
-
}
|
|
1996
|
-
}
|
|
1997
|
-
export function functionShellCallOutputTimeoutOutcomeParamSerializer(item) {
|
|
1998
|
-
return { type: item["type"] };
|
|
1999
|
-
}
|
|
2000
|
-
export function functionShellCallOutputExitOutcomeParamSerializer(item) {
|
|
2001
|
-
return { type: item["type"], exit_code: item["exit_code"] };
|
|
2002
|
-
}
|
|
2003
|
-
export function applyPatchToolCallItemParamSerializer(item) {
|
|
2004
|
-
return {
|
|
2005
|
-
type: item["type"],
|
|
2006
|
-
id: item["id"],
|
|
2007
|
-
call_id: item["call_id"],
|
|
2008
|
-
status: item["status"],
|
|
2009
|
-
operation: applyPatchOperationParamUnionSerializer(item["operation"]),
|
|
2010
|
-
};
|
|
2011
|
-
}
|
|
2012
|
-
export function applyPatchOperationParamSerializer(item) {
|
|
2013
|
-
return { type: item["type"] };
|
|
2014
|
-
}
|
|
2015
|
-
export function applyPatchOperationParamUnionSerializer(item) {
|
|
2016
|
-
switch (item.type) {
|
|
2017
|
-
case "create_file":
|
|
2018
|
-
return applyPatchCreateFileOperationParamSerializer(item);
|
|
2019
|
-
case "delete_file":
|
|
2020
|
-
return applyPatchDeleteFileOperationParamSerializer(item);
|
|
2021
|
-
case "update_file":
|
|
2022
|
-
return applyPatchUpdateFileOperationParamSerializer(item);
|
|
2023
|
-
default:
|
|
2024
|
-
return applyPatchOperationParamSerializer(item);
|
|
2025
|
-
}
|
|
2026
|
-
}
|
|
2027
|
-
export function applyPatchCreateFileOperationParamSerializer(item) {
|
|
2028
|
-
return { type: item["type"], path: item["path"], diff: item["diff"] };
|
|
2029
|
-
}
|
|
2030
|
-
export function applyPatchDeleteFileOperationParamSerializer(item) {
|
|
2031
|
-
return { type: item["type"], path: item["path"] };
|
|
2032
|
-
}
|
|
2033
|
-
export function applyPatchUpdateFileOperationParamSerializer(item) {
|
|
2034
|
-
return { type: item["type"], path: item["path"], diff: item["diff"] };
|
|
2035
|
-
}
|
|
2036
|
-
export function applyPatchToolCallOutputItemParamSerializer(item) {
|
|
2037
|
-
return {
|
|
2038
|
-
type: item["type"],
|
|
2039
|
-
id: item["id"],
|
|
2040
|
-
call_id: item["call_id"],
|
|
2041
|
-
status: item["status"],
|
|
2042
|
-
output: item["output"],
|
|
2043
|
-
};
|
|
2044
|
-
}
|
|
2045
|
-
export function mcpApprovalResponseSerializer(item) {
|
|
2046
|
-
return {
|
|
2047
|
-
type: item["type"],
|
|
2048
|
-
id: item["id"],
|
|
2049
|
-
approval_request_id: item["approval_request_id"],
|
|
2050
|
-
approve: item["approve"],
|
|
2051
|
-
reason: item["reason"],
|
|
2052
|
-
};
|
|
2053
|
-
}
|
|
2054
|
-
export function itemOutputMessageSerializer(item) {
|
|
2055
|
-
return {
|
|
2056
|
-
type: item["type"],
|
|
2057
|
-
id: item["id"],
|
|
2058
|
-
role: item["role"],
|
|
2059
|
-
content: outputMessageContentUnionArraySerializer(item["content"]),
|
|
2060
|
-
status: item["status"],
|
|
2061
|
-
};
|
|
2062
|
-
}
|
|
2063
|
-
export function outputMessageContentUnionArraySerializer(result) {
|
|
2064
|
-
return result.map((item) => {
|
|
2065
|
-
return outputMessageContentUnionSerializer(item);
|
|
2066
|
-
});
|
|
2067
|
-
}
|
|
2068
|
-
export function outputMessageContentSerializer(item) {
|
|
2069
|
-
return { type: item["type"] };
|
|
2070
|
-
}
|
|
2071
|
-
export function outputMessageContentUnionSerializer(item) {
|
|
2072
|
-
switch (item.type) {
|
|
2073
|
-
case "output_text":
|
|
2074
|
-
return outputMessageContentOutputTextContentSerializer(item);
|
|
2075
|
-
case "refusal":
|
|
2076
|
-
return outputMessageContentRefusalContentSerializer(item);
|
|
2077
|
-
default:
|
|
2078
|
-
return outputMessageContentSerializer(item);
|
|
2079
|
-
}
|
|
2080
|
-
}
|
|
2081
|
-
export function outputMessageContentOutputTextContentSerializer(item) {
|
|
2082
|
-
return {
|
|
2083
|
-
type: item["type"],
|
|
2084
|
-
text: item["text"],
|
|
2085
|
-
annotations: annotationUnionArraySerializer(item["annotations"]),
|
|
2086
|
-
logprobs: !item["logprobs"] ? item["logprobs"] : logProbArraySerializer(item["logprobs"]),
|
|
2087
|
-
};
|
|
2088
|
-
}
|
|
2089
|
-
export function annotationUnionArraySerializer(result) {
|
|
2090
|
-
return result.map((item) => {
|
|
2091
|
-
return annotationUnionSerializer(item);
|
|
2092
|
-
});
|
|
2093
|
-
}
|
|
2094
|
-
export function annotationSerializer(item) {
|
|
2095
|
-
return { type: item["type"] };
|
|
2096
|
-
}
|
|
2097
|
-
export function annotationUnionSerializer(item) {
|
|
2098
|
-
switch (item.type) {
|
|
2099
|
-
case "file_citation":
|
|
2100
|
-
return fileCitationBodySerializer(item);
|
|
2101
|
-
case "url_citation":
|
|
2102
|
-
return urlCitationBodySerializer(item);
|
|
2103
|
-
case "container_file_citation":
|
|
2104
|
-
return containerFileCitationBodySerializer(item);
|
|
2105
|
-
case "file_path":
|
|
2106
|
-
return filePathSerializer(item);
|
|
2107
|
-
default:
|
|
2108
|
-
return annotationSerializer(item);
|
|
2109
|
-
}
|
|
2110
|
-
}
|
|
2111
|
-
export function fileCitationBodySerializer(item) {
|
|
2112
|
-
return {
|
|
2113
|
-
type: item["type"],
|
|
2114
|
-
file_id: item["file_id"],
|
|
2115
|
-
index: item["index"],
|
|
2116
|
-
filename: item["filename"],
|
|
2117
|
-
};
|
|
2118
|
-
}
|
|
2119
|
-
export function urlCitationBodySerializer(item) {
|
|
2120
|
-
return {
|
|
2121
|
-
type: item["type"],
|
|
2122
|
-
url: item["url"],
|
|
2123
|
-
start_index: item["start_index"],
|
|
2124
|
-
end_index: item["end_index"],
|
|
2125
|
-
title: item["title"],
|
|
2126
|
-
};
|
|
2127
|
-
}
|
|
2128
|
-
export function containerFileCitationBodySerializer(item) {
|
|
2129
|
-
return {
|
|
2130
|
-
type: item["type"],
|
|
2131
|
-
container_id: item["container_id"],
|
|
2132
|
-
file_id: item["file_id"],
|
|
2133
|
-
start_index: item["start_index"],
|
|
2134
|
-
end_index: item["end_index"],
|
|
2135
|
-
filename: item["filename"],
|
|
2136
|
-
};
|
|
2137
|
-
}
|
|
2138
|
-
export function filePathSerializer(item) {
|
|
2139
|
-
return { type: item["type"], file_id: item["file_id"], index: item["index"] };
|
|
2140
|
-
}
|
|
2141
|
-
export function logProbArraySerializer(result) {
|
|
2142
|
-
return result.map((item) => {
|
|
2143
|
-
return logProbSerializer(item);
|
|
2144
|
-
});
|
|
2145
|
-
}
|
|
2146
|
-
export function logProbSerializer(item) {
|
|
2147
|
-
return {
|
|
2148
|
-
token: item["token"],
|
|
2149
|
-
logprob: item["logprob"],
|
|
2150
|
-
bytes: item["bytes"].map((p) => {
|
|
2151
|
-
return p;
|
|
2152
|
-
}),
|
|
2153
|
-
top_logprobs: topLogProbArraySerializer(item["top_logprobs"]),
|
|
2154
|
-
};
|
|
2155
|
-
}
|
|
2156
|
-
export function topLogProbArraySerializer(result) {
|
|
2157
|
-
return result.map((item) => {
|
|
2158
|
-
return topLogProbSerializer(item);
|
|
2159
|
-
});
|
|
2160
|
-
}
|
|
2161
|
-
export function topLogProbSerializer(item) {
|
|
2162
|
-
return {
|
|
2163
|
-
token: item["token"],
|
|
2164
|
-
logprob: item["logprob"],
|
|
2165
|
-
bytes: item["bytes"].map((p) => {
|
|
2166
|
-
return p;
|
|
2167
|
-
}),
|
|
2168
|
-
};
|
|
2169
|
-
}
|
|
2170
|
-
export function outputMessageContentRefusalContentSerializer(item) {
|
|
2171
|
-
return { type: item["type"], refusal: item["refusal"] };
|
|
2172
|
-
}
|
|
2173
|
-
export function itemFileSearchToolCallSerializer(item) {
|
|
2174
|
-
return {
|
|
2175
|
-
type: item["type"],
|
|
2176
|
-
id: item["id"],
|
|
2177
|
-
status: item["status"],
|
|
2178
|
-
queries: item["queries"].map((p) => {
|
|
2179
|
-
return p;
|
|
2180
|
-
}),
|
|
2181
|
-
results: !item["results"]
|
|
2182
|
-
? item["results"]
|
|
2183
|
-
: fileSearchToolCallResultsArraySerializer(item["results"]),
|
|
2184
|
-
};
|
|
2185
|
-
}
|
|
2186
|
-
export function fileSearchToolCallResultsArraySerializer(result) {
|
|
2187
|
-
return result.map((item) => {
|
|
2188
|
-
return fileSearchToolCallResultsSerializer(item);
|
|
2189
|
-
});
|
|
2190
|
-
}
|
|
2191
|
-
export function fileSearchToolCallResultsSerializer(item) {
|
|
2192
|
-
return {
|
|
2193
|
-
file_id: item["file_id"],
|
|
2194
|
-
text: item["text"],
|
|
2195
|
-
filename: item["filename"],
|
|
2196
|
-
attributes: !item["attributes"]
|
|
2197
|
-
? item["attributes"]
|
|
2198
|
-
: vectorStoreFileAttributesSerializer(item["attributes"]),
|
|
2199
|
-
score: item["score"],
|
|
2200
|
-
};
|
|
2201
|
-
}
|
|
2202
|
-
export function vectorStoreFileAttributesSerializer(item) {
|
|
2203
|
-
return {
|
|
2204
|
-
...serializeRecord(item.additionalProperties ?? {}, undefined, _vectorStoreFileAttributesAdditionalPropertySerializer),
|
|
2205
|
-
};
|
|
2206
|
-
}
|
|
2207
|
-
export function _vectorStoreFileAttributesAdditionalPropertySerializer(item) {
|
|
2208
|
-
return item;
|
|
2209
|
-
}
|
|
2210
|
-
export function itemComputerToolCallSerializer(item) {
|
|
2211
|
-
return {
|
|
2212
|
-
type: item["type"],
|
|
2213
|
-
id: item["id"],
|
|
2214
|
-
call_id: item["call_id"],
|
|
2215
|
-
action: computerActionUnionSerializer(item["action"]),
|
|
2216
|
-
pending_safety_checks: computerCallSafetyCheckParamArraySerializer(item["pending_safety_checks"]),
|
|
2217
|
-
status: item["status"],
|
|
2218
|
-
};
|
|
2219
|
-
}
|
|
2220
|
-
export function computerActionSerializer(item) {
|
|
2221
|
-
return { type: item["type"] };
|
|
2222
|
-
}
|
|
2223
|
-
export function computerActionUnionSerializer(item) {
|
|
2224
|
-
switch (item.type) {
|
|
2225
|
-
case "click":
|
|
2226
|
-
return clickParamSerializer(item);
|
|
2227
|
-
case "double_click":
|
|
2228
|
-
return doubleClickActionSerializer(item);
|
|
2229
|
-
case "drag":
|
|
2230
|
-
return dragSerializer(item);
|
|
2231
|
-
case "keypress":
|
|
2232
|
-
return keyPressActionSerializer(item);
|
|
2233
|
-
case "move":
|
|
2234
|
-
return moveSerializer(item);
|
|
2235
|
-
case "screenshot":
|
|
2236
|
-
return screenshotSerializer(item);
|
|
2237
|
-
case "scroll":
|
|
2238
|
-
return scrollSerializer(item);
|
|
2239
|
-
case "type":
|
|
2240
|
-
return typeSerializer(item);
|
|
2241
|
-
case "wait":
|
|
2242
|
-
return waitSerializer(item);
|
|
2243
|
-
default:
|
|
2244
|
-
return computerActionSerializer(item);
|
|
2245
|
-
}
|
|
2246
|
-
}
|
|
2247
|
-
export function clickParamSerializer(item) {
|
|
2248
|
-
return {
|
|
2249
|
-
type: item["type"],
|
|
2250
|
-
button: item["button"],
|
|
2251
|
-
x: item["x"],
|
|
2252
|
-
y: item["y"],
|
|
2253
|
-
};
|
|
2254
|
-
}
|
|
2255
|
-
export function doubleClickActionSerializer(item) {
|
|
2256
|
-
return { type: item["type"], x: item["x"], y: item["y"] };
|
|
2257
|
-
}
|
|
2258
|
-
export function dragSerializer(item) {
|
|
2259
|
-
return { type: item["type"], path: dragPointArraySerializer(item["path"]) };
|
|
2260
|
-
}
|
|
2261
|
-
export function dragPointArraySerializer(result) {
|
|
2262
|
-
return result.map((item) => {
|
|
2263
|
-
return dragPointSerializer(item);
|
|
2264
|
-
});
|
|
2265
|
-
}
|
|
2266
|
-
export function dragPointSerializer(item) {
|
|
2267
|
-
return { x: item["x"], y: item["y"] };
|
|
2268
|
-
}
|
|
2269
|
-
export function keyPressActionSerializer(item) {
|
|
2270
|
-
return {
|
|
2271
|
-
type: item["type"],
|
|
2272
|
-
keys: item["keys"].map((p) => {
|
|
2273
|
-
return p;
|
|
2274
|
-
}),
|
|
2275
|
-
};
|
|
2276
|
-
}
|
|
2277
|
-
export function moveSerializer(item) {
|
|
2278
|
-
return { type: item["type"], x: item["x"], y: item["y"] };
|
|
2279
|
-
}
|
|
2280
|
-
export function screenshotSerializer(item) {
|
|
2281
|
-
return { type: item["type"] };
|
|
2282
|
-
}
|
|
2283
|
-
export function scrollSerializer(item) {
|
|
2284
|
-
return {
|
|
2285
|
-
type: item["type"],
|
|
2286
|
-
x: item["x"],
|
|
2287
|
-
y: item["y"],
|
|
2288
|
-
scroll_x: item["scroll_x"],
|
|
2289
|
-
scroll_y: item["scroll_y"],
|
|
2290
|
-
};
|
|
2291
|
-
}
|
|
2292
|
-
export function typeSerializer(item) {
|
|
2293
|
-
return { type: item["type"], text: item["text"] };
|
|
2294
|
-
}
|
|
2295
|
-
export function waitSerializer(item) {
|
|
2296
|
-
return { type: item["type"] };
|
|
2297
|
-
}
|
|
2298
|
-
export function itemWebSearchToolCallSerializer(item) {
|
|
2299
|
-
return {
|
|
2300
|
-
type: item["type"],
|
|
2301
|
-
id: item["id"],
|
|
2302
|
-
status: item["status"],
|
|
2303
|
-
action: _outputItemWebSearchToolCallActionSerializer(item["action"]),
|
|
2304
|
-
};
|
|
2305
|
-
}
|
|
2306
|
-
export function _outputItemWebSearchToolCallActionSerializer(item) {
|
|
2307
|
-
return item;
|
|
2308
|
-
}
|
|
2309
|
-
export function webSearchActionSearchSerializer(item) {
|
|
2310
|
-
return {
|
|
2311
|
-
type: item["type"],
|
|
2312
|
-
query: item["query"],
|
|
2313
|
-
sources: !item["sources"]
|
|
2314
|
-
? item["sources"]
|
|
2315
|
-
: webSearchActionSearchSourcesArraySerializer(item["sources"]),
|
|
2316
|
-
};
|
|
2317
|
-
}
|
|
2318
|
-
export function webSearchActionSearchSourcesArraySerializer(result) {
|
|
2319
|
-
return result.map((item) => {
|
|
2320
|
-
return webSearchActionSearchSourcesSerializer(item);
|
|
2321
|
-
});
|
|
2322
|
-
}
|
|
2323
|
-
export function webSearchActionSearchSourcesSerializer(item) {
|
|
2324
|
-
return { type: item["type"], url: item["url"] };
|
|
2325
|
-
}
|
|
2326
|
-
export function webSearchActionOpenPageSerializer(item) {
|
|
2327
|
-
return { type: item["type"], url: item["url"] };
|
|
2328
|
-
}
|
|
2329
|
-
export function webSearchActionFindSerializer(item) {
|
|
2330
|
-
return { type: item["type"], url: item["url"], pattern: item["pattern"] };
|
|
2331
|
-
}
|
|
2332
|
-
export function itemFunctionToolCallSerializer(item) {
|
|
2333
|
-
return {
|
|
2334
|
-
type: item["type"],
|
|
2335
|
-
id: item["id"],
|
|
2336
|
-
call_id: item["call_id"],
|
|
2337
|
-
name: item["name"],
|
|
2338
|
-
arguments: item["arguments"],
|
|
2339
|
-
status: item["status"],
|
|
2340
|
-
};
|
|
2341
|
-
}
|
|
2342
|
-
export function itemReasoningItemSerializer(item) {
|
|
2343
|
-
return {
|
|
2344
|
-
type: item["type"],
|
|
2345
|
-
id: item["id"],
|
|
2346
|
-
encrypted_content: item["encrypted_content"],
|
|
2347
|
-
summary: summaryArraySerializer(item["summary"]),
|
|
2348
|
-
content: !item["content"]
|
|
2349
|
-
? item["content"]
|
|
2350
|
-
: reasoningTextContentArraySerializer(item["content"]),
|
|
2351
|
-
status: item["status"],
|
|
2352
|
-
};
|
|
2353
|
-
}
|
|
2354
|
-
export function summaryArraySerializer(result) {
|
|
2355
|
-
return result.map((item) => {
|
|
2356
|
-
return summarySerializer(item);
|
|
2357
|
-
});
|
|
2358
|
-
}
|
|
2359
|
-
export function summarySerializer(item) {
|
|
2360
|
-
return { type: item["type"], text: item["text"] };
|
|
2361
|
-
}
|
|
2362
|
-
export function reasoningTextContentArraySerializer(result) {
|
|
2363
|
-
return result.map((item) => {
|
|
2364
|
-
return reasoningTextContentSerializer(item);
|
|
2365
|
-
});
|
|
2366
|
-
}
|
|
2367
|
-
export function reasoningTextContentSerializer(item) {
|
|
2368
|
-
return { type: item["type"], text: item["text"] };
|
|
2369
|
-
}
|
|
2370
|
-
export function itemImageGenToolCallSerializer(item) {
|
|
2371
|
-
return { type: item["type"], id: item["id"], status: item["status"], result: item["result"] };
|
|
2372
|
-
}
|
|
2373
|
-
export function itemCodeInterpreterToolCallSerializer(item) {
|
|
2374
|
-
return {
|
|
2375
|
-
type: item["type"],
|
|
2376
|
-
id: item["id"],
|
|
2377
|
-
status: item["status"],
|
|
2378
|
-
container_id: item["container_id"],
|
|
2379
|
-
code: item["code"],
|
|
2380
|
-
outputs: !item["outputs"]
|
|
2381
|
-
? item["outputs"]
|
|
2382
|
-
: _outputItemCodeInterpreterToolCallOutputArraySerializer(item["outputs"]),
|
|
2383
|
-
};
|
|
2384
|
-
}
|
|
2385
|
-
export function _outputItemCodeInterpreterToolCallOutputArraySerializer(result) {
|
|
2386
|
-
return result.map((item) => {
|
|
2387
|
-
return _outputItemCodeInterpreterToolCallOutputSerializer(item);
|
|
2388
|
-
});
|
|
2389
|
-
}
|
|
2390
|
-
export function _outputItemCodeInterpreterToolCallOutputSerializer(item) {
|
|
2391
|
-
return item;
|
|
2392
|
-
}
|
|
2393
|
-
export function codeInterpreterOutputLogsSerializer(item) {
|
|
2394
|
-
return { type: item["type"], logs: item["logs"] };
|
|
2395
|
-
}
|
|
2396
|
-
export function codeInterpreterOutputImageSerializer(item) {
|
|
2397
|
-
return { type: item["type"], url: item["url"] };
|
|
2398
|
-
}
|
|
2399
|
-
export function itemLocalShellToolCallSerializer(item) {
|
|
2400
|
-
return {
|
|
2401
|
-
type: item["type"],
|
|
2402
|
-
id: item["id"],
|
|
2403
|
-
call_id: item["call_id"],
|
|
2404
|
-
action: localShellExecActionSerializer(item["action"]),
|
|
2405
|
-
status: item["status"],
|
|
2406
|
-
};
|
|
2407
|
-
}
|
|
2408
|
-
export function localShellExecActionSerializer(item) {
|
|
2409
|
-
return {
|
|
2410
|
-
type: item["type"],
|
|
2411
|
-
command: item["command"].map((p) => {
|
|
2412
|
-
return p;
|
|
2413
|
-
}),
|
|
2414
|
-
timeout_ms: item["timeout_ms"],
|
|
2415
|
-
working_directory: item["working_directory"],
|
|
2416
|
-
env: item["env"],
|
|
2417
|
-
user: item["user"],
|
|
2418
|
-
};
|
|
2419
|
-
}
|
|
2420
|
-
export function itemLocalShellToolCallOutputSerializer(item) {
|
|
2421
|
-
return { type: item["type"], id: item["id"], output: item["output"], status: item["status"] };
|
|
2422
|
-
}
|
|
2423
|
-
export function itemMcpListToolsSerializer(item) {
|
|
2424
|
-
return {
|
|
2425
|
-
type: item["type"],
|
|
2426
|
-
id: item["id"],
|
|
2427
|
-
server_label: item["server_label"],
|
|
2428
|
-
tools: mcpListToolsToolArraySerializer(item["tools"]),
|
|
2429
|
-
error: item["error"],
|
|
2430
|
-
};
|
|
2431
|
-
}
|
|
2432
|
-
export function mcpListToolsToolArraySerializer(result) {
|
|
2433
|
-
return result.map((item) => {
|
|
2434
|
-
return mcpListToolsToolSerializer(item);
|
|
2435
|
-
});
|
|
2436
|
-
}
|
|
2437
|
-
export function mcpListToolsToolSerializer(item) {
|
|
2438
|
-
return {
|
|
2439
|
-
name: item["name"],
|
|
2440
|
-
description: item["description"],
|
|
2441
|
-
input_schema: mcpListToolsToolInputSchemaSerializer(item["input_schema"]),
|
|
2442
|
-
annotations: !item["annotations"]
|
|
2443
|
-
? item["annotations"]
|
|
2444
|
-
: mcpListToolsToolAnnotationsSerializer(item["annotations"]),
|
|
2445
|
-
};
|
|
2446
|
-
}
|
|
2447
|
-
export function mcpListToolsToolInputSchemaSerializer(item) {
|
|
2448
|
-
return item;
|
|
2449
|
-
}
|
|
2450
|
-
export function mcpListToolsToolAnnotationsSerializer(item) {
|
|
2451
|
-
return item;
|
|
2452
|
-
}
|
|
2453
|
-
export function itemMcpApprovalRequestSerializer(item) {
|
|
2454
|
-
return {
|
|
2455
|
-
type: item["type"],
|
|
2456
|
-
id: item["id"],
|
|
2457
|
-
server_label: item["server_label"],
|
|
2458
|
-
name: item["name"],
|
|
2459
|
-
arguments: item["arguments"],
|
|
2460
|
-
};
|
|
2461
|
-
}
|
|
2462
|
-
export function itemMcpToolCallSerializer(item) {
|
|
2463
|
-
return {
|
|
2464
|
-
type: item["type"],
|
|
2465
|
-
id: item["id"],
|
|
2466
|
-
server_label: item["server_label"],
|
|
2467
|
-
name: item["name"],
|
|
2468
|
-
arguments: item["arguments"],
|
|
2469
|
-
output: item["output"],
|
|
2470
|
-
error: item["error"],
|
|
2471
|
-
status: item["status"],
|
|
2472
|
-
approval_request_id: item["approval_request_id"],
|
|
2473
|
-
};
|
|
2474
|
-
}
|
|
2475
|
-
export function itemCustomToolCallOutputSerializer(item) {
|
|
2476
|
-
return {
|
|
2477
|
-
type: item["type"],
|
|
2478
|
-
id: item["id"],
|
|
2479
|
-
call_id: item["call_id"],
|
|
2480
|
-
output: _itemCustomToolCallOutputOutputSerializer(item["output"]),
|
|
2481
|
-
};
|
|
2482
|
-
}
|
|
2483
|
-
export function _itemCustomToolCallOutputOutputSerializer(item) {
|
|
2484
|
-
return item;
|
|
2485
|
-
}
|
|
2486
|
-
export function functionAndCustomToolCallOutputUnionArraySerializer(result) {
|
|
2487
|
-
return result.map((item) => {
|
|
2488
|
-
return functionAndCustomToolCallOutputUnionSerializer(item);
|
|
2489
|
-
});
|
|
2490
|
-
}
|
|
2491
|
-
export function functionAndCustomToolCallOutputSerializer(item) {
|
|
2492
|
-
return { type: item["type"] };
|
|
2493
|
-
}
|
|
2494
|
-
export function functionAndCustomToolCallOutputUnionSerializer(item) {
|
|
2495
|
-
switch (item.type) {
|
|
2496
|
-
case "input_text":
|
|
2497
|
-
return functionAndCustomToolCallOutputInputTextContentSerializer(item);
|
|
2498
|
-
case "input_image":
|
|
2499
|
-
return functionAndCustomToolCallOutputInputImageContentSerializer(item);
|
|
2500
|
-
case "input_file":
|
|
2501
|
-
return functionAndCustomToolCallOutputInputFileContentSerializer(item);
|
|
2502
|
-
default:
|
|
2503
|
-
return functionAndCustomToolCallOutputSerializer(item);
|
|
2504
|
-
}
|
|
2505
|
-
}
|
|
2506
|
-
export function functionAndCustomToolCallOutputInputTextContentSerializer(item) {
|
|
2507
|
-
return { type: item["type"], text: item["text"] };
|
|
2508
|
-
}
|
|
2509
|
-
export function functionAndCustomToolCallOutputInputImageContentSerializer(item) {
|
|
1974
|
+
export function continuousEvaluationRuleActionSerializer(item) {
|
|
1975
|
+
return { type: item["type"], evalId: item["evalId"], maxHourlyRuns: item["maxHourlyRuns"] };
|
|
1976
|
+
}
|
|
1977
|
+
export function continuousEvaluationRuleActionDeserializer(item) {
|
|
2510
1978
|
return {
|
|
2511
1979
|
type: item["type"],
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
detail: item["detail"],
|
|
1980
|
+
evalId: item["evalId"],
|
|
1981
|
+
maxHourlyRuns: item["maxHourlyRuns"],
|
|
2515
1982
|
};
|
|
2516
1983
|
}
|
|
2517
|
-
export function
|
|
2518
|
-
return {
|
|
2519
|
-
type: item["type"],
|
|
2520
|
-
file_id: item["file_id"],
|
|
2521
|
-
filename: item["filename"],
|
|
2522
|
-
file_url: item["file_url"],
|
|
2523
|
-
file_data: item["file_data"],
|
|
2524
|
-
};
|
|
1984
|
+
export function humanEvaluationPreviewRuleActionSerializer(item) {
|
|
1985
|
+
return { type: item["type"], templateId: item["templateId"] };
|
|
2525
1986
|
}
|
|
2526
|
-
export function
|
|
1987
|
+
export function humanEvaluationPreviewRuleActionDeserializer(item) {
|
|
2527
1988
|
return {
|
|
2528
1989
|
type: item["type"],
|
|
2529
|
-
|
|
2530
|
-
call_id: item["call_id"],
|
|
2531
|
-
name: item["name"],
|
|
2532
|
-
input: item["input"],
|
|
2533
|
-
};
|
|
2534
|
-
}
|
|
2535
|
-
export function outputContentSerializer(item) {
|
|
2536
|
-
return { type: item["type"] };
|
|
2537
|
-
}
|
|
2538
|
-
export function outputContentUnionSerializer(item) {
|
|
2539
|
-
switch (item.type) {
|
|
2540
|
-
case "reasoning_text":
|
|
2541
|
-
return reasoningTextContentSerializer(item);
|
|
2542
|
-
default:
|
|
2543
|
-
return outputContentSerializer(item);
|
|
2544
|
-
}
|
|
2545
|
-
}
|
|
2546
|
-
export function itemUnionArraySerializer(result) {
|
|
2547
|
-
return result.map((item) => {
|
|
2548
|
-
return itemUnionSerializer(item);
|
|
2549
|
-
});
|
|
2550
|
-
}
|
|
2551
|
-
export function memoryStoreSearchResponseDeserializer(item) {
|
|
2552
|
-
return {
|
|
2553
|
-
search_id: item["search_id"],
|
|
2554
|
-
memories: memorySearchItemArrayDeserializer(item["memories"]),
|
|
2555
|
-
usage: memoryStoreOperationUsageDeserializer(item["usage"]),
|
|
2556
|
-
};
|
|
2557
|
-
}
|
|
2558
|
-
export function memoryStoreOperationUsageDeserializer(item) {
|
|
2559
|
-
return {
|
|
2560
|
-
embedding_tokens: item["embedding_tokens"],
|
|
2561
|
-
input_tokens: item["input_tokens"],
|
|
2562
|
-
input_tokens_details: responseUsageInputTokensDetailsDeserializer(item["input_tokens_details"]),
|
|
2563
|
-
output_tokens: item["output_tokens"],
|
|
2564
|
-
output_tokens_details: responseUsageOutputTokensDetailsDeserializer(item["output_tokens_details"]),
|
|
2565
|
-
total_tokens: item["total_tokens"],
|
|
2566
|
-
};
|
|
2567
|
-
}
|
|
2568
|
-
export function responseUsageInputTokensDetailsDeserializer(item) {
|
|
2569
|
-
return {
|
|
2570
|
-
cached_tokens: item["cached_tokens"],
|
|
1990
|
+
templateId: item["templateId"],
|
|
2571
1991
|
};
|
|
2572
1992
|
}
|
|
2573
|
-
export function
|
|
2574
|
-
return {
|
|
2575
|
-
reasoning_tokens: item["reasoning_tokens"],
|
|
2576
|
-
};
|
|
1993
|
+
export function evaluationRuleFilterSerializer(item) {
|
|
1994
|
+
return { agentName: item["agentName"] };
|
|
2577
1995
|
}
|
|
2578
|
-
export function
|
|
1996
|
+
export function evaluationRuleFilterDeserializer(item) {
|
|
2579
1997
|
return {
|
|
2580
|
-
|
|
2581
|
-
status: item["status"],
|
|
2582
|
-
superseded_by: item["superseded_by"],
|
|
2583
|
-
result: !item["result"]
|
|
2584
|
-
? item["result"]
|
|
2585
|
-
: memoryStoreUpdateCompletedResultDeserializer(item["result"]),
|
|
2586
|
-
error: !item["error"] ? item["error"] : apiErrorDeserializer(item["error"]),
|
|
1998
|
+
agentName: item["agentName"],
|
|
2587
1999
|
};
|
|
2588
2000
|
}
|
|
2589
|
-
export function
|
|
2001
|
+
export function _pagedEvaluationRuleDeserializer(item) {
|
|
2590
2002
|
return {
|
|
2591
|
-
|
|
2592
|
-
|
|
2003
|
+
value: evaluationRuleArrayDeserializer(item["value"]),
|
|
2004
|
+
nextLink: item["nextLink"],
|
|
2593
2005
|
};
|
|
2594
2006
|
}
|
|
2595
|
-
export function
|
|
2007
|
+
export function evaluationRuleArraySerializer(result) {
|
|
2596
2008
|
return result.map((item) => {
|
|
2597
|
-
return
|
|
2009
|
+
return evaluationRuleSerializer(item);
|
|
2598
2010
|
});
|
|
2599
2011
|
}
|
|
2600
|
-
export function
|
|
2601
|
-
return {
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
};
|
|
2605
|
-
}
|
|
2606
|
-
export function memoryStoreDeleteScopeResponseDeserializer(item) {
|
|
2607
|
-
return {
|
|
2608
|
-
object: item["object"],
|
|
2609
|
-
name: item["name"],
|
|
2610
|
-
scope: item["scope"],
|
|
2611
|
-
deleted: item["deleted"],
|
|
2612
|
-
};
|
|
2012
|
+
export function evaluationRuleArrayDeserializer(result) {
|
|
2013
|
+
return result.map((item) => {
|
|
2014
|
+
return evaluationRuleDeserializer(item);
|
|
2015
|
+
});
|
|
2613
2016
|
}
|
|
2614
2017
|
export function connectionDeserializer(item) {
|
|
2615
2018
|
return {
|
|
@@ -2639,8 +2042,8 @@ export function baseCredentialsUnionDeserializer(item) {
|
|
|
2639
2042
|
return sasCredentialsDeserializer(item);
|
|
2640
2043
|
case "None":
|
|
2641
2044
|
return noAuthenticationCredentialsDeserializer(item);
|
|
2642
|
-
case "
|
|
2643
|
-
return
|
|
2045
|
+
case "AgenticIdentityToken_Preview":
|
|
2046
|
+
return agenticIdentityPreviewCredentialsDeserializer(item);
|
|
2644
2047
|
default:
|
|
2645
2048
|
return baseCredentialsDeserializer(item);
|
|
2646
2049
|
}
|
|
@@ -2673,7 +2076,7 @@ export function noAuthenticationCredentialsDeserializer(item) {
|
|
|
2673
2076
|
type: item["type"],
|
|
2674
2077
|
};
|
|
2675
2078
|
}
|
|
2676
|
-
export function
|
|
2079
|
+
export function agenticIdentityPreviewCredentialsDeserializer(item) {
|
|
2677
2080
|
return {
|
|
2678
2081
|
type: item["type"],
|
|
2679
2082
|
};
|
|
@@ -2810,10 +2213,10 @@ export function blobReferenceDeserializer(item) {
|
|
|
2810
2213
|
return {
|
|
2811
2214
|
blobUri: item["blobUri"],
|
|
2812
2215
|
storageAccountArmId: item["storageAccountArmId"],
|
|
2813
|
-
credential:
|
|
2216
|
+
credential: blobReferenceSasCredentialDeserializer(item["credential"]),
|
|
2814
2217
|
};
|
|
2815
2218
|
}
|
|
2816
|
-
export function
|
|
2219
|
+
export function blobReferenceSasCredentialDeserializer(item) {
|
|
2817
2220
|
return {
|
|
2818
2221
|
sasUri: item["sasUri"],
|
|
2819
2222
|
type: item["type"],
|
|
@@ -2824,188 +2227,6 @@ export function datasetCredentialDeserializer(item) {
|
|
|
2824
2227
|
blobReference: blobReferenceDeserializer(item["blobReference"]),
|
|
2825
2228
|
};
|
|
2826
2229
|
}
|
|
2827
|
-
export function _pagedIndexDeserializer(item) {
|
|
2828
|
-
return {
|
|
2829
|
-
value: indexUnionArrayDeserializer(item["value"]),
|
|
2830
|
-
nextLink: item["nextLink"],
|
|
2831
|
-
};
|
|
2832
|
-
}
|
|
2833
|
-
export function indexUnionArraySerializer(result) {
|
|
2834
|
-
return result.map((item) => {
|
|
2835
|
-
return indexUnionSerializer(item);
|
|
2836
|
-
});
|
|
2837
|
-
}
|
|
2838
|
-
export function indexUnionArrayDeserializer(result) {
|
|
2839
|
-
return result.map((item) => {
|
|
2840
|
-
return indexUnionDeserializer(item);
|
|
2841
|
-
});
|
|
2842
|
-
}
|
|
2843
|
-
export function indexSerializer(item) {
|
|
2844
|
-
return {
|
|
2845
|
-
type: item["type"],
|
|
2846
|
-
description: item["description"],
|
|
2847
|
-
tags: item["tags"],
|
|
2848
|
-
};
|
|
2849
|
-
}
|
|
2850
|
-
export function indexDeserializer(item) {
|
|
2851
|
-
return {
|
|
2852
|
-
type: item["type"],
|
|
2853
|
-
id: item["id"],
|
|
2854
|
-
name: item["name"],
|
|
2855
|
-
version: item["version"],
|
|
2856
|
-
description: item["description"],
|
|
2857
|
-
tags: item["tags"],
|
|
2858
|
-
};
|
|
2859
|
-
}
|
|
2860
|
-
export function indexUnionSerializer(item) {
|
|
2861
|
-
switch (item.type) {
|
|
2862
|
-
case "AzureSearch":
|
|
2863
|
-
return azureAISearchIndexSerializer(item);
|
|
2864
|
-
case "ManagedAzureSearch":
|
|
2865
|
-
return managedAzureAISearchIndexSerializer(item);
|
|
2866
|
-
case "CosmosDBNoSqlVectorStore":
|
|
2867
|
-
return cosmosDBIndexSerializer(item);
|
|
2868
|
-
default:
|
|
2869
|
-
return indexSerializer(item);
|
|
2870
|
-
}
|
|
2871
|
-
}
|
|
2872
|
-
export function indexUnionDeserializer(item) {
|
|
2873
|
-
switch (item.type) {
|
|
2874
|
-
case "AzureSearch":
|
|
2875
|
-
return azureAISearchIndexDeserializer(item);
|
|
2876
|
-
case "ManagedAzureSearch":
|
|
2877
|
-
return managedAzureAISearchIndexDeserializer(item);
|
|
2878
|
-
case "CosmosDBNoSqlVectorStore":
|
|
2879
|
-
return cosmosDBIndexDeserializer(item);
|
|
2880
|
-
default:
|
|
2881
|
-
return indexDeserializer(item);
|
|
2882
|
-
}
|
|
2883
|
-
}
|
|
2884
|
-
export function azureAISearchIndexSerializer(item) {
|
|
2885
|
-
return {
|
|
2886
|
-
type: item["type"],
|
|
2887
|
-
description: item["description"],
|
|
2888
|
-
tags: item["tags"],
|
|
2889
|
-
connectionName: item["connectionName"],
|
|
2890
|
-
indexName: item["indexName"],
|
|
2891
|
-
fieldMapping: !item["fieldMapping"]
|
|
2892
|
-
? item["fieldMapping"]
|
|
2893
|
-
: fieldMappingSerializer(item["fieldMapping"]),
|
|
2894
|
-
};
|
|
2895
|
-
}
|
|
2896
|
-
export function azureAISearchIndexDeserializer(item) {
|
|
2897
|
-
return {
|
|
2898
|
-
type: item["type"],
|
|
2899
|
-
id: item["id"],
|
|
2900
|
-
name: item["name"],
|
|
2901
|
-
version: item["version"],
|
|
2902
|
-
description: item["description"],
|
|
2903
|
-
tags: item["tags"],
|
|
2904
|
-
connectionName: item["connectionName"],
|
|
2905
|
-
indexName: item["indexName"],
|
|
2906
|
-
fieldMapping: !item["fieldMapping"]
|
|
2907
|
-
? item["fieldMapping"]
|
|
2908
|
-
: fieldMappingDeserializer(item["fieldMapping"]),
|
|
2909
|
-
};
|
|
2910
|
-
}
|
|
2911
|
-
export function fieldMappingSerializer(item) {
|
|
2912
|
-
return {
|
|
2913
|
-
contentFields: item["contentFields"].map((p) => {
|
|
2914
|
-
return p;
|
|
2915
|
-
}),
|
|
2916
|
-
filepathField: item["filepathField"],
|
|
2917
|
-
titleField: item["titleField"],
|
|
2918
|
-
urlField: item["urlField"],
|
|
2919
|
-
vectorFields: !item["vectorFields"]
|
|
2920
|
-
? item["vectorFields"]
|
|
2921
|
-
: item["vectorFields"].map((p) => {
|
|
2922
|
-
return p;
|
|
2923
|
-
}),
|
|
2924
|
-
metadataFields: !item["metadataFields"]
|
|
2925
|
-
? item["metadataFields"]
|
|
2926
|
-
: item["metadataFields"].map((p) => {
|
|
2927
|
-
return p;
|
|
2928
|
-
}),
|
|
2929
|
-
};
|
|
2930
|
-
}
|
|
2931
|
-
export function fieldMappingDeserializer(item) {
|
|
2932
|
-
return {
|
|
2933
|
-
contentFields: item["contentFields"].map((p) => {
|
|
2934
|
-
return p;
|
|
2935
|
-
}),
|
|
2936
|
-
filepathField: item["filepathField"],
|
|
2937
|
-
titleField: item["titleField"],
|
|
2938
|
-
urlField: item["urlField"],
|
|
2939
|
-
vectorFields: !item["vectorFields"]
|
|
2940
|
-
? item["vectorFields"]
|
|
2941
|
-
: item["vectorFields"].map((p) => {
|
|
2942
|
-
return p;
|
|
2943
|
-
}),
|
|
2944
|
-
metadataFields: !item["metadataFields"]
|
|
2945
|
-
? item["metadataFields"]
|
|
2946
|
-
: item["metadataFields"].map((p) => {
|
|
2947
|
-
return p;
|
|
2948
|
-
}),
|
|
2949
|
-
};
|
|
2950
|
-
}
|
|
2951
|
-
export function managedAzureAISearchIndexSerializer(item) {
|
|
2952
|
-
return {
|
|
2953
|
-
type: item["type"],
|
|
2954
|
-
description: item["description"],
|
|
2955
|
-
tags: item["tags"],
|
|
2956
|
-
vectorStoreId: item["vectorStoreId"],
|
|
2957
|
-
};
|
|
2958
|
-
}
|
|
2959
|
-
export function managedAzureAISearchIndexDeserializer(item) {
|
|
2960
|
-
return {
|
|
2961
|
-
type: item["type"],
|
|
2962
|
-
id: item["id"],
|
|
2963
|
-
name: item["name"],
|
|
2964
|
-
version: item["version"],
|
|
2965
|
-
description: item["description"],
|
|
2966
|
-
tags: item["tags"],
|
|
2967
|
-
vectorStoreId: item["vectorStoreId"],
|
|
2968
|
-
};
|
|
2969
|
-
}
|
|
2970
|
-
export function cosmosDBIndexSerializer(item) {
|
|
2971
|
-
return {
|
|
2972
|
-
type: item["type"],
|
|
2973
|
-
description: item["description"],
|
|
2974
|
-
tags: item["tags"],
|
|
2975
|
-
connectionName: item["connectionName"],
|
|
2976
|
-
databaseName: item["databaseName"],
|
|
2977
|
-
containerName: item["containerName"],
|
|
2978
|
-
embeddingConfiguration: embeddingConfigurationSerializer(item["embeddingConfiguration"]),
|
|
2979
|
-
fieldMapping: fieldMappingSerializer(item["fieldMapping"]),
|
|
2980
|
-
};
|
|
2981
|
-
}
|
|
2982
|
-
export function cosmosDBIndexDeserializer(item) {
|
|
2983
|
-
return {
|
|
2984
|
-
type: item["type"],
|
|
2985
|
-
id: item["id"],
|
|
2986
|
-
name: item["name"],
|
|
2987
|
-
version: item["version"],
|
|
2988
|
-
description: item["description"],
|
|
2989
|
-
tags: item["tags"],
|
|
2990
|
-
connectionName: item["connectionName"],
|
|
2991
|
-
databaseName: item["databaseName"],
|
|
2992
|
-
containerName: item["containerName"],
|
|
2993
|
-
embeddingConfiguration: embeddingConfigurationDeserializer(item["embeddingConfiguration"]),
|
|
2994
|
-
fieldMapping: fieldMappingDeserializer(item["fieldMapping"]),
|
|
2995
|
-
};
|
|
2996
|
-
}
|
|
2997
|
-
export function embeddingConfigurationSerializer(item) {
|
|
2998
|
-
return {
|
|
2999
|
-
modelDeploymentName: item["modelDeploymentName"],
|
|
3000
|
-
embeddingField: item["embeddingField"],
|
|
3001
|
-
};
|
|
3002
|
-
}
|
|
3003
|
-
export function embeddingConfigurationDeserializer(item) {
|
|
3004
|
-
return {
|
|
3005
|
-
modelDeploymentName: item["modelDeploymentName"],
|
|
3006
|
-
embeddingField: item["embeddingField"],
|
|
3007
|
-
};
|
|
3008
|
-
}
|
|
3009
2230
|
export function deploymentDeserializer(item) {
|
|
3010
2231
|
return {
|
|
3011
2232
|
type: item["type"],
|
|
@@ -3014,236 +2235,201 @@ export function deploymentDeserializer(item) {
|
|
|
3014
2235
|
}
|
|
3015
2236
|
export function deploymentUnionDeserializer(item) {
|
|
3016
2237
|
switch (item.type) {
|
|
3017
|
-
case "ModelDeployment":
|
|
3018
|
-
return modelDeploymentDeserializer(item);
|
|
3019
|
-
default:
|
|
3020
|
-
return deploymentDeserializer(item);
|
|
3021
|
-
}
|
|
3022
|
-
}
|
|
3023
|
-
export function modelDeploymentDeserializer(item) {
|
|
3024
|
-
return {
|
|
3025
|
-
type: item["type"],
|
|
3026
|
-
name: item["name"],
|
|
3027
|
-
modelName: item["modelName"],
|
|
3028
|
-
modelVersion: item["modelVersion"],
|
|
3029
|
-
modelPublisher: item["modelPublisher"],
|
|
3030
|
-
capabilities: item["capabilities"],
|
|
3031
|
-
sku: modelDeploymentSkuDeserializer(item["sku"]),
|
|
3032
|
-
connectionName: item["connectionName"],
|
|
3033
|
-
};
|
|
3034
|
-
}
|
|
3035
|
-
export function modelDeploymentSkuDeserializer(item) {
|
|
3036
|
-
return {
|
|
3037
|
-
capacity: item["capacity"],
|
|
3038
|
-
family: item["family"],
|
|
3039
|
-
name: item["name"],
|
|
3040
|
-
size: item["size"],
|
|
3041
|
-
tier: item["tier"],
|
|
3042
|
-
};
|
|
3043
|
-
}
|
|
3044
|
-
export function _pagedDeploymentDeserializer(item) {
|
|
3045
|
-
return {
|
|
3046
|
-
value: deploymentUnionArrayDeserializer(item["value"]),
|
|
3047
|
-
nextLink: item["nextLink"],
|
|
3048
|
-
};
|
|
3049
|
-
}
|
|
3050
|
-
export function deploymentUnionArrayDeserializer(result) {
|
|
3051
|
-
return result.map((item) => {
|
|
3052
|
-
return deploymentUnionDeserializer(item);
|
|
3053
|
-
});
|
|
3054
|
-
}
|
|
3055
|
-
export function redTeamSerializer(item) {
|
|
3056
|
-
return {
|
|
3057
|
-
displayName: item["displayName"],
|
|
3058
|
-
numTurns: item["numTurns"],
|
|
3059
|
-
attackStrategies: !item["attackStrategies"]
|
|
3060
|
-
? item["attackStrategies"]
|
|
3061
|
-
: item["attackStrategies"].map((p) => {
|
|
3062
|
-
return p;
|
|
3063
|
-
}),
|
|
3064
|
-
simulationOnly: item["simulationOnly"],
|
|
3065
|
-
riskCategories: !item["riskCategories"]
|
|
3066
|
-
? item["riskCategories"]
|
|
3067
|
-
: item["riskCategories"].map((p) => {
|
|
3068
|
-
return p;
|
|
3069
|
-
}),
|
|
3070
|
-
applicationScenario: item["applicationScenario"],
|
|
3071
|
-
tags: item["tags"],
|
|
3072
|
-
properties: item["properties"],
|
|
3073
|
-
target: targetConfigUnionSerializer(item["target"]),
|
|
3074
|
-
};
|
|
3075
|
-
}
|
|
3076
|
-
export function redTeamDeserializer(item) {
|
|
3077
|
-
return {
|
|
3078
|
-
name: item["id"],
|
|
3079
|
-
displayName: item["displayName"],
|
|
3080
|
-
numTurns: item["numTurns"],
|
|
3081
|
-
attackStrategies: !item["attackStrategies"]
|
|
3082
|
-
? item["attackStrategies"]
|
|
3083
|
-
: item["attackStrategies"].map((p) => {
|
|
3084
|
-
return p;
|
|
3085
|
-
}),
|
|
3086
|
-
simulationOnly: item["simulationOnly"],
|
|
3087
|
-
riskCategories: !item["riskCategories"]
|
|
3088
|
-
? item["riskCategories"]
|
|
3089
|
-
: item["riskCategories"].map((p) => {
|
|
3090
|
-
return p;
|
|
3091
|
-
}),
|
|
3092
|
-
applicationScenario: item["applicationScenario"],
|
|
3093
|
-
tags: item["tags"],
|
|
3094
|
-
properties: item["properties"],
|
|
3095
|
-
status: item["status"],
|
|
3096
|
-
target: targetConfigUnionDeserializer(item["target"]),
|
|
3097
|
-
};
|
|
3098
|
-
}
|
|
3099
|
-
export function targetConfigSerializer(item) {
|
|
3100
|
-
return { type: item["type"] };
|
|
3101
|
-
}
|
|
3102
|
-
export function targetConfigDeserializer(item) {
|
|
3103
|
-
return {
|
|
3104
|
-
type: item["type"],
|
|
3105
|
-
};
|
|
3106
|
-
}
|
|
3107
|
-
export function targetConfigUnionSerializer(item) {
|
|
3108
|
-
switch (item.type) {
|
|
3109
|
-
case "AzureOpenAIModel":
|
|
3110
|
-
return azureOpenAIModelConfigurationSerializer(item);
|
|
3111
|
-
default:
|
|
3112
|
-
return targetConfigSerializer(item);
|
|
3113
|
-
}
|
|
3114
|
-
}
|
|
3115
|
-
export function targetConfigUnionDeserializer(item) {
|
|
3116
|
-
switch (item.type) {
|
|
3117
|
-
case "AzureOpenAIModel":
|
|
3118
|
-
return azureOpenAIModelConfigurationDeserializer(item);
|
|
2238
|
+
case "ModelDeployment":
|
|
2239
|
+
return modelDeploymentDeserializer(item);
|
|
3119
2240
|
default:
|
|
3120
|
-
return
|
|
2241
|
+
return deploymentDeserializer(item);
|
|
3121
2242
|
}
|
|
3122
2243
|
}
|
|
3123
|
-
export function
|
|
2244
|
+
export function modelDeploymentDeserializer(item) {
|
|
3124
2245
|
return {
|
|
3125
2246
|
type: item["type"],
|
|
3126
|
-
|
|
2247
|
+
name: item["name"],
|
|
2248
|
+
modelName: item["modelName"],
|
|
2249
|
+
modelVersion: item["modelVersion"],
|
|
2250
|
+
modelPublisher: item["modelPublisher"],
|
|
2251
|
+
capabilities: item["capabilities"],
|
|
2252
|
+
sku: modelDeploymentSkuDeserializer(item["sku"]),
|
|
2253
|
+
connectionName: item["connectionName"],
|
|
3127
2254
|
};
|
|
3128
2255
|
}
|
|
3129
|
-
export function
|
|
2256
|
+
export function modelDeploymentSkuDeserializer(item) {
|
|
3130
2257
|
return {
|
|
3131
|
-
|
|
3132
|
-
|
|
2258
|
+
capacity: item["capacity"],
|
|
2259
|
+
family: item["family"],
|
|
2260
|
+
name: item["name"],
|
|
2261
|
+
size: item["size"],
|
|
2262
|
+
tier: item["tier"],
|
|
3133
2263
|
};
|
|
3134
2264
|
}
|
|
3135
|
-
export function
|
|
2265
|
+
export function _pagedDeploymentDeserializer(item) {
|
|
3136
2266
|
return {
|
|
3137
|
-
value:
|
|
2267
|
+
value: deploymentUnionArrayDeserializer(item["value"]),
|
|
3138
2268
|
nextLink: item["nextLink"],
|
|
3139
2269
|
};
|
|
3140
2270
|
}
|
|
3141
|
-
export function
|
|
3142
|
-
return result.map((item) => {
|
|
3143
|
-
return redTeamSerializer(item);
|
|
3144
|
-
});
|
|
3145
|
-
}
|
|
3146
|
-
export function redTeamArrayDeserializer(result) {
|
|
2271
|
+
export function deploymentUnionArrayDeserializer(result) {
|
|
3147
2272
|
return result.map((item) => {
|
|
3148
|
-
return
|
|
2273
|
+
return deploymentUnionDeserializer(item);
|
|
3149
2274
|
});
|
|
3150
2275
|
}
|
|
3151
|
-
export function
|
|
2276
|
+
export function _pagedIndexDeserializer(item) {
|
|
3152
2277
|
return {
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
action: evaluationRuleActionUnionSerializer(item["action"]),
|
|
3156
|
-
filter: !item["filter"] ? item["filter"] : evaluationRuleFilterSerializer(item["filter"]),
|
|
3157
|
-
eventType: item["eventType"],
|
|
3158
|
-
enabled: item["enabled"],
|
|
2278
|
+
value: indexUnionArrayDeserializer(item["value"]),
|
|
2279
|
+
nextLink: item["nextLink"],
|
|
3159
2280
|
};
|
|
3160
2281
|
}
|
|
3161
|
-
export function
|
|
3162
|
-
return {
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
description: item["description"],
|
|
3166
|
-
action: evaluationRuleActionUnionDeserializer(item["action"]),
|
|
3167
|
-
filter: !item["filter"] ? item["filter"] : evaluationRuleFilterDeserializer(item["filter"]),
|
|
3168
|
-
eventType: item["eventType"],
|
|
3169
|
-
enabled: item["enabled"],
|
|
3170
|
-
systemData: item["systemData"],
|
|
3171
|
-
};
|
|
2282
|
+
export function indexUnionArraySerializer(result) {
|
|
2283
|
+
return result.map((item) => {
|
|
2284
|
+
return indexUnionSerializer(item);
|
|
2285
|
+
});
|
|
3172
2286
|
}
|
|
3173
|
-
export function
|
|
3174
|
-
return
|
|
2287
|
+
export function indexUnionArrayDeserializer(result) {
|
|
2288
|
+
return result.map((item) => {
|
|
2289
|
+
return indexUnionDeserializer(item);
|
|
2290
|
+
});
|
|
3175
2291
|
}
|
|
3176
|
-
export function
|
|
2292
|
+
export function indexSerializer(item) {
|
|
2293
|
+
return { type: item["type"], description: item["description"], tags: item["tags"] };
|
|
2294
|
+
}
|
|
2295
|
+
export function indexDeserializer(item) {
|
|
3177
2296
|
return {
|
|
3178
2297
|
type: item["type"],
|
|
2298
|
+
id: item["id"],
|
|
2299
|
+
name: item["name"],
|
|
2300
|
+
version: item["version"],
|
|
2301
|
+
description: item["description"],
|
|
2302
|
+
tags: item["tags"],
|
|
3179
2303
|
};
|
|
3180
2304
|
}
|
|
3181
|
-
export function
|
|
2305
|
+
export function indexUnionSerializer(item) {
|
|
3182
2306
|
switch (item.type) {
|
|
3183
|
-
case "
|
|
3184
|
-
return
|
|
3185
|
-
case "
|
|
3186
|
-
return
|
|
2307
|
+
case "AzureSearch":
|
|
2308
|
+
return azureAISearchIndexSerializer(item);
|
|
2309
|
+
case "ManagedAzureSearch":
|
|
2310
|
+
return managedAzureAISearchIndexSerializer(item);
|
|
2311
|
+
case "CosmosDBNoSqlVectorStore":
|
|
2312
|
+
return cosmosDBIndexSerializer(item);
|
|
3187
2313
|
default:
|
|
3188
|
-
return
|
|
2314
|
+
return indexSerializer(item);
|
|
3189
2315
|
}
|
|
3190
2316
|
}
|
|
3191
|
-
export function
|
|
2317
|
+
export function indexUnionDeserializer(item) {
|
|
3192
2318
|
switch (item.type) {
|
|
3193
|
-
case "
|
|
3194
|
-
return
|
|
3195
|
-
case "
|
|
3196
|
-
return
|
|
2319
|
+
case "AzureSearch":
|
|
2320
|
+
return azureAISearchIndexDeserializer(item);
|
|
2321
|
+
case "ManagedAzureSearch":
|
|
2322
|
+
return managedAzureAISearchIndexDeserializer(item);
|
|
2323
|
+
case "CosmosDBNoSqlVectorStore":
|
|
2324
|
+
return cosmosDBIndexDeserializer(item);
|
|
3197
2325
|
default:
|
|
3198
|
-
return
|
|
2326
|
+
return indexDeserializer(item);
|
|
3199
2327
|
}
|
|
3200
2328
|
}
|
|
3201
|
-
export function
|
|
2329
|
+
export function azureAISearchIndexSerializer(item) {
|
|
3202
2330
|
return {
|
|
3203
2331
|
type: item["type"],
|
|
3204
|
-
|
|
3205
|
-
|
|
2332
|
+
description: item["description"],
|
|
2333
|
+
tags: item["tags"],
|
|
2334
|
+
connectionName: item["connectionName"],
|
|
2335
|
+
indexName: item["indexName"],
|
|
2336
|
+
fieldMapping: !item["fieldMapping"]
|
|
2337
|
+
? item["fieldMapping"]
|
|
2338
|
+
: fieldMappingSerializer(item["fieldMapping"]),
|
|
3206
2339
|
};
|
|
3207
2340
|
}
|
|
3208
|
-
export function
|
|
2341
|
+
export function azureAISearchIndexDeserializer(item) {
|
|
3209
2342
|
return {
|
|
3210
2343
|
type: item["type"],
|
|
3211
|
-
|
|
3212
|
-
|
|
2344
|
+
id: item["id"],
|
|
2345
|
+
name: item["name"],
|
|
2346
|
+
version: item["version"],
|
|
2347
|
+
description: item["description"],
|
|
2348
|
+
tags: item["tags"],
|
|
2349
|
+
connectionName: item["connectionName"],
|
|
2350
|
+
indexName: item["indexName"],
|
|
2351
|
+
fieldMapping: !item["fieldMapping"]
|
|
2352
|
+
? item["fieldMapping"]
|
|
2353
|
+
: fieldMappingDeserializer(item["fieldMapping"]),
|
|
3213
2354
|
};
|
|
3214
2355
|
}
|
|
3215
|
-
export function
|
|
3216
|
-
return {
|
|
2356
|
+
export function fieldMappingSerializer(item) {
|
|
2357
|
+
return {
|
|
2358
|
+
contentFields: item["contentFields"],
|
|
2359
|
+
filepathField: item["filepathField"],
|
|
2360
|
+
titleField: item["titleField"],
|
|
2361
|
+
urlField: item["urlField"],
|
|
2362
|
+
vectorFields: item["vectorFields"],
|
|
2363
|
+
metadataFields: item["metadataFields"],
|
|
2364
|
+
};
|
|
2365
|
+
}
|
|
2366
|
+
export function fieldMappingDeserializer(item) {
|
|
2367
|
+
return {
|
|
2368
|
+
contentFields: item["contentFields"],
|
|
2369
|
+
filepathField: item["filepathField"],
|
|
2370
|
+
titleField: item["titleField"],
|
|
2371
|
+
urlField: item["urlField"],
|
|
2372
|
+
vectorFields: item["vectorFields"],
|
|
2373
|
+
metadataFields: item["metadataFields"],
|
|
2374
|
+
};
|
|
3217
2375
|
}
|
|
3218
|
-
export function
|
|
2376
|
+
export function managedAzureAISearchIndexSerializer(item) {
|
|
3219
2377
|
return {
|
|
3220
2378
|
type: item["type"],
|
|
3221
|
-
|
|
2379
|
+
description: item["description"],
|
|
2380
|
+
tags: item["tags"],
|
|
2381
|
+
vectorStoreId: item["vectorStoreId"],
|
|
3222
2382
|
};
|
|
3223
2383
|
}
|
|
3224
|
-
export function
|
|
3225
|
-
return {
|
|
2384
|
+
export function managedAzureAISearchIndexDeserializer(item) {
|
|
2385
|
+
return {
|
|
2386
|
+
type: item["type"],
|
|
2387
|
+
id: item["id"],
|
|
2388
|
+
name: item["name"],
|
|
2389
|
+
version: item["version"],
|
|
2390
|
+
description: item["description"],
|
|
2391
|
+
tags: item["tags"],
|
|
2392
|
+
vectorStoreId: item["vectorStoreId"],
|
|
2393
|
+
};
|
|
3226
2394
|
}
|
|
3227
|
-
export function
|
|
2395
|
+
export function cosmosDBIndexSerializer(item) {
|
|
3228
2396
|
return {
|
|
3229
|
-
|
|
2397
|
+
type: item["type"],
|
|
2398
|
+
description: item["description"],
|
|
2399
|
+
tags: item["tags"],
|
|
2400
|
+
connectionName: item["connectionName"],
|
|
2401
|
+
databaseName: item["databaseName"],
|
|
2402
|
+
containerName: item["containerName"],
|
|
2403
|
+
embeddingConfiguration: embeddingConfigurationSerializer(item["embeddingConfiguration"]),
|
|
2404
|
+
fieldMapping: fieldMappingSerializer(item["fieldMapping"]),
|
|
3230
2405
|
};
|
|
3231
2406
|
}
|
|
3232
|
-
export function
|
|
2407
|
+
export function cosmosDBIndexDeserializer(item) {
|
|
3233
2408
|
return {
|
|
3234
|
-
|
|
3235
|
-
|
|
2409
|
+
type: item["type"],
|
|
2410
|
+
id: item["id"],
|
|
2411
|
+
name: item["name"],
|
|
2412
|
+
version: item["version"],
|
|
2413
|
+
description: item["description"],
|
|
2414
|
+
tags: item["tags"],
|
|
2415
|
+
connectionName: item["connectionName"],
|
|
2416
|
+
databaseName: item["databaseName"],
|
|
2417
|
+
containerName: item["containerName"],
|
|
2418
|
+
embeddingConfiguration: embeddingConfigurationDeserializer(item["embeddingConfiguration"]),
|
|
2419
|
+
fieldMapping: fieldMappingDeserializer(item["fieldMapping"]),
|
|
3236
2420
|
};
|
|
3237
2421
|
}
|
|
3238
|
-
export function
|
|
3239
|
-
return
|
|
3240
|
-
|
|
3241
|
-
|
|
2422
|
+
export function embeddingConfigurationSerializer(item) {
|
|
2423
|
+
return {
|
|
2424
|
+
modelDeploymentName: item["modelDeploymentName"],
|
|
2425
|
+
embeddingField: item["embeddingField"],
|
|
2426
|
+
};
|
|
3242
2427
|
}
|
|
3243
|
-
export function
|
|
3244
|
-
return
|
|
3245
|
-
|
|
3246
|
-
|
|
2428
|
+
export function embeddingConfigurationDeserializer(item) {
|
|
2429
|
+
return {
|
|
2430
|
+
modelDeploymentName: item["modelDeploymentName"],
|
|
2431
|
+
embeddingField: item["embeddingField"],
|
|
2432
|
+
};
|
|
3247
2433
|
}
|
|
3248
2434
|
export function evaluationTaxonomySerializer(item) {
|
|
3249
2435
|
return {
|
|
@@ -3297,19 +2483,77 @@ export function evaluationTaxonomyInputUnionDeserializer(item) {
|
|
|
3297
2483
|
export function agentTaxonomyInputSerializer(item) {
|
|
3298
2484
|
return {
|
|
3299
2485
|
type: item["type"],
|
|
3300
|
-
target:
|
|
3301
|
-
riskCategories: item["riskCategories"]
|
|
3302
|
-
return p;
|
|
3303
|
-
}),
|
|
2486
|
+
target: targetUnionSerializer(item["target"]),
|
|
2487
|
+
riskCategories: item["riskCategories"],
|
|
3304
2488
|
};
|
|
3305
2489
|
}
|
|
3306
2490
|
export function agentTaxonomyInputDeserializer(item) {
|
|
3307
2491
|
return {
|
|
3308
2492
|
type: item["type"],
|
|
3309
|
-
target:
|
|
3310
|
-
riskCategories: item["riskCategories"]
|
|
3311
|
-
|
|
3312
|
-
|
|
2493
|
+
target: targetUnionDeserializer(item["target"]),
|
|
2494
|
+
riskCategories: item["riskCategories"],
|
|
2495
|
+
};
|
|
2496
|
+
}
|
|
2497
|
+
export function targetSerializer(item) {
|
|
2498
|
+
return { type: item["type"] };
|
|
2499
|
+
}
|
|
2500
|
+
export function targetDeserializer(item) {
|
|
2501
|
+
return {
|
|
2502
|
+
type: item["type"],
|
|
2503
|
+
};
|
|
2504
|
+
}
|
|
2505
|
+
export function targetUnionSerializer(item) {
|
|
2506
|
+
switch (item.type) {
|
|
2507
|
+
case "azure_ai_model":
|
|
2508
|
+
return azureAIModelTargetSerializer(item);
|
|
2509
|
+
case "azure_ai_agent":
|
|
2510
|
+
return azureAIAgentTargetSerializer(item);
|
|
2511
|
+
default:
|
|
2512
|
+
return targetSerializer(item);
|
|
2513
|
+
}
|
|
2514
|
+
}
|
|
2515
|
+
export function targetUnionDeserializer(item) {
|
|
2516
|
+
switch (item.type) {
|
|
2517
|
+
case "azure_ai_model":
|
|
2518
|
+
return azureAIModelTargetDeserializer(item);
|
|
2519
|
+
case "azure_ai_agent":
|
|
2520
|
+
return azureAIAgentTargetDeserializer(item);
|
|
2521
|
+
default:
|
|
2522
|
+
return targetDeserializer(item);
|
|
2523
|
+
}
|
|
2524
|
+
}
|
|
2525
|
+
export function azureAIModelTargetSerializer(item) {
|
|
2526
|
+
return {
|
|
2527
|
+
type: item["type"],
|
|
2528
|
+
model: item["model"],
|
|
2529
|
+
sampling_params: !item["sampling_params"]
|
|
2530
|
+
? item["sampling_params"]
|
|
2531
|
+
: modelSamplingParamsSerializer(item["sampling_params"]),
|
|
2532
|
+
};
|
|
2533
|
+
}
|
|
2534
|
+
export function azureAIModelTargetDeserializer(item) {
|
|
2535
|
+
return {
|
|
2536
|
+
type: item["type"],
|
|
2537
|
+
model: item["model"],
|
|
2538
|
+
sampling_params: !item["sampling_params"]
|
|
2539
|
+
? item["sampling_params"]
|
|
2540
|
+
: modelSamplingParamsDeserializer(item["sampling_params"]),
|
|
2541
|
+
};
|
|
2542
|
+
}
|
|
2543
|
+
export function modelSamplingParamsSerializer(item) {
|
|
2544
|
+
return {
|
|
2545
|
+
temperature: item["temperature"],
|
|
2546
|
+
top_p: item["top_p"],
|
|
2547
|
+
seed: item["seed"],
|
|
2548
|
+
max_completion_tokens: item["max_completion_tokens"],
|
|
2549
|
+
};
|
|
2550
|
+
}
|
|
2551
|
+
export function modelSamplingParamsDeserializer(item) {
|
|
2552
|
+
return {
|
|
2553
|
+
temperature: item["temperature"],
|
|
2554
|
+
top_p: item["top_p"],
|
|
2555
|
+
seed: item["seed"],
|
|
2556
|
+
max_completion_tokens: item["max_completion_tokens"],
|
|
3313
2557
|
};
|
|
3314
2558
|
}
|
|
3315
2559
|
export function azureAIAgentTargetSerializer(item) {
|
|
@@ -3402,37 +2646,13 @@ export function taxonomySubCategorySerializer(item) {
|
|
|
3402
2646
|
}
|
|
3403
2647
|
export function taxonomySubCategoryDeserializer(item) {
|
|
3404
2648
|
return {
|
|
3405
|
-
id: item["id"],
|
|
3406
|
-
name: item["name"],
|
|
3407
|
-
description: item["description"],
|
|
3408
|
-
enabled: item["enabled"],
|
|
3409
|
-
properties: item["properties"],
|
|
3410
|
-
};
|
|
3411
|
-
}
|
|
3412
|
-
export function targetSerializer(item) {
|
|
3413
|
-
return { type: item["type"] };
|
|
3414
|
-
}
|
|
3415
|
-
export function targetDeserializer(item) {
|
|
3416
|
-
return {
|
|
3417
|
-
type: item["type"],
|
|
2649
|
+
id: item["id"],
|
|
2650
|
+
name: item["name"],
|
|
2651
|
+
description: item["description"],
|
|
2652
|
+
enabled: item["enabled"],
|
|
2653
|
+
properties: item["properties"],
|
|
3418
2654
|
};
|
|
3419
2655
|
}
|
|
3420
|
-
export function targetUnionSerializer(item) {
|
|
3421
|
-
switch (item.type) {
|
|
3422
|
-
case "azure_ai_agent":
|
|
3423
|
-
return azureAIAgentTargetSerializer(item);
|
|
3424
|
-
default:
|
|
3425
|
-
return targetSerializer(item);
|
|
3426
|
-
}
|
|
3427
|
-
}
|
|
3428
|
-
export function targetUnionDeserializer(item) {
|
|
3429
|
-
switch (item.type) {
|
|
3430
|
-
case "azure_ai_agent":
|
|
3431
|
-
return azureAIAgentTargetDeserializer(item);
|
|
3432
|
-
default:
|
|
3433
|
-
return targetDeserializer(item);
|
|
3434
|
-
}
|
|
3435
|
-
}
|
|
3436
2656
|
export function _pagedEvaluationTaxonomyDeserializer(item) {
|
|
3437
2657
|
return {
|
|
3438
2658
|
value: evaluationTaxonomyArrayDeserializer(item["value"]),
|
|
@@ -3470,9 +2690,7 @@ export function evaluatorVersionSerializer(item) {
|
|
|
3470
2690
|
display_name: item["display_name"],
|
|
3471
2691
|
metadata: item["metadata"],
|
|
3472
2692
|
evaluator_type: item["evaluator_type"],
|
|
3473
|
-
categories: item["categories"]
|
|
3474
|
-
return p;
|
|
3475
|
-
}),
|
|
2693
|
+
categories: item["categories"],
|
|
3476
2694
|
definition: evaluatorDefinitionUnionSerializer(item["definition"]),
|
|
3477
2695
|
description: item["description"],
|
|
3478
2696
|
tags: item["tags"],
|
|
@@ -3483,9 +2701,7 @@ export function evaluatorVersionDeserializer(item) {
|
|
|
3483
2701
|
display_name: item["display_name"],
|
|
3484
2702
|
metadata: item["metadata"],
|
|
3485
2703
|
evaluator_type: item["evaluator_type"],
|
|
3486
|
-
categories: item["categories"]
|
|
3487
|
-
return p;
|
|
3488
|
-
}),
|
|
2704
|
+
categories: item["categories"],
|
|
3489
2705
|
definition: evaluatorDefinitionUnionDeserializer(item["definition"]),
|
|
3490
2706
|
created_by: item["created_by"],
|
|
3491
2707
|
created_at: item["created_at"],
|
|
@@ -3640,11 +2856,11 @@ export function insightRequestDeserializer(item) {
|
|
|
3640
2856
|
export function insightRequestUnionSerializer(item) {
|
|
3641
2857
|
switch (item.type) {
|
|
3642
2858
|
case "EvaluationRunClusterInsight":
|
|
3643
|
-
return
|
|
2859
|
+
return evaluationRunClusterInsightRequestSerializer(item);
|
|
3644
2860
|
case "AgentClusterInsight":
|
|
3645
|
-
return
|
|
2861
|
+
return agentClusterInsightRequestSerializer(item);
|
|
3646
2862
|
case "EvaluationComparison":
|
|
3647
|
-
return
|
|
2863
|
+
return evaluationComparisonInsightRequestSerializer(item);
|
|
3648
2864
|
default:
|
|
3649
2865
|
return insightRequestSerializer(item);
|
|
3650
2866
|
}
|
|
@@ -3652,34 +2868,30 @@ export function insightRequestUnionSerializer(item) {
|
|
|
3652
2868
|
export function insightRequestUnionDeserializer(item) {
|
|
3653
2869
|
switch (item.type) {
|
|
3654
2870
|
case "EvaluationRunClusterInsight":
|
|
3655
|
-
return
|
|
2871
|
+
return evaluationRunClusterInsightRequestDeserializer(item);
|
|
3656
2872
|
case "AgentClusterInsight":
|
|
3657
|
-
return
|
|
2873
|
+
return agentClusterInsightRequestDeserializer(item);
|
|
3658
2874
|
case "EvaluationComparison":
|
|
3659
|
-
return
|
|
2875
|
+
return evaluationComparisonInsightRequestDeserializer(item);
|
|
3660
2876
|
default:
|
|
3661
2877
|
return insightRequestDeserializer(item);
|
|
3662
2878
|
}
|
|
3663
2879
|
}
|
|
3664
|
-
export function
|
|
2880
|
+
export function evaluationRunClusterInsightRequestSerializer(item) {
|
|
3665
2881
|
return {
|
|
3666
2882
|
type: item["type"],
|
|
3667
2883
|
evalId: item["evalId"],
|
|
3668
|
-
runIds: item["runIds"]
|
|
3669
|
-
return p;
|
|
3670
|
-
}),
|
|
2884
|
+
runIds: item["runIds"],
|
|
3671
2885
|
modelConfiguration: !item["modelConfiguration"]
|
|
3672
2886
|
? item["modelConfiguration"]
|
|
3673
2887
|
: insightModelConfigurationSerializer(item["modelConfiguration"]),
|
|
3674
2888
|
};
|
|
3675
2889
|
}
|
|
3676
|
-
export function
|
|
2890
|
+
export function evaluationRunClusterInsightRequestDeserializer(item) {
|
|
3677
2891
|
return {
|
|
3678
2892
|
type: item["type"],
|
|
3679
2893
|
evalId: item["evalId"],
|
|
3680
|
-
runIds: item["runIds"]
|
|
3681
|
-
return p;
|
|
3682
|
-
}),
|
|
2894
|
+
runIds: item["runIds"],
|
|
3683
2895
|
modelConfiguration: !item["modelConfiguration"]
|
|
3684
2896
|
? item["modelConfiguration"]
|
|
3685
2897
|
: insightModelConfigurationDeserializer(item["modelConfiguration"]),
|
|
@@ -3693,7 +2905,7 @@ export function insightModelConfigurationDeserializer(item) {
|
|
|
3693
2905
|
modelDeploymentName: item["modelDeploymentName"],
|
|
3694
2906
|
};
|
|
3695
2907
|
}
|
|
3696
|
-
export function
|
|
2908
|
+
export function agentClusterInsightRequestSerializer(item) {
|
|
3697
2909
|
return {
|
|
3698
2910
|
type: item["type"],
|
|
3699
2911
|
agentName: item["agentName"],
|
|
@@ -3702,7 +2914,7 @@ export function agentClusterInsightsRequestSerializer(item) {
|
|
|
3702
2914
|
: insightModelConfigurationSerializer(item["modelConfiguration"]),
|
|
3703
2915
|
};
|
|
3704
2916
|
}
|
|
3705
|
-
export function
|
|
2917
|
+
export function agentClusterInsightRequestDeserializer(item) {
|
|
3706
2918
|
return {
|
|
3707
2919
|
type: item["type"],
|
|
3708
2920
|
agentName: item["agentName"],
|
|
@@ -3711,24 +2923,20 @@ export function agentClusterInsightsRequestDeserializer(item) {
|
|
|
3711
2923
|
: insightModelConfigurationDeserializer(item["modelConfiguration"]),
|
|
3712
2924
|
};
|
|
3713
2925
|
}
|
|
3714
|
-
export function
|
|
2926
|
+
export function evaluationComparisonInsightRequestSerializer(item) {
|
|
3715
2927
|
return {
|
|
3716
2928
|
type: item["type"],
|
|
3717
2929
|
evalId: item["evalId"],
|
|
3718
2930
|
baselineRunId: item["baselineRunId"],
|
|
3719
|
-
treatmentRunIds: item["treatmentRunIds"]
|
|
3720
|
-
return p;
|
|
3721
|
-
}),
|
|
2931
|
+
treatmentRunIds: item["treatmentRunIds"],
|
|
3722
2932
|
};
|
|
3723
2933
|
}
|
|
3724
|
-
export function
|
|
2934
|
+
export function evaluationComparisonInsightRequestDeserializer(item) {
|
|
3725
2935
|
return {
|
|
3726
2936
|
type: item["type"],
|
|
3727
2937
|
evalId: item["evalId"],
|
|
3728
2938
|
baselineRunId: item["baselineRunId"],
|
|
3729
|
-
treatmentRunIds: item["treatmentRunIds"]
|
|
3730
|
-
return p;
|
|
3731
|
-
}),
|
|
2939
|
+
treatmentRunIds: item["treatmentRunIds"],
|
|
3732
2940
|
};
|
|
3733
2941
|
}
|
|
3734
2942
|
export function insightResultDeserializer(item) {
|
|
@@ -3739,7 +2947,7 @@ export function insightResultDeserializer(item) {
|
|
|
3739
2947
|
export function insightResultUnionDeserializer(item) {
|
|
3740
2948
|
switch (item.type) {
|
|
3741
2949
|
case "EvaluationComparison":
|
|
3742
|
-
return
|
|
2950
|
+
return evaluationComparisonInsightResultDeserializer(item);
|
|
3743
2951
|
case "EvaluationRunClusterInsight":
|
|
3744
2952
|
return evaluationRunClusterInsightResultDeserializer(item);
|
|
3745
2953
|
case "AgentClusterInsight":
|
|
@@ -3748,173 +2956,450 @@ export function insightResultUnionDeserializer(item) {
|
|
|
3748
2956
|
return insightResultDeserializer(item);
|
|
3749
2957
|
}
|
|
3750
2958
|
}
|
|
3751
|
-
export function
|
|
2959
|
+
export function evaluationComparisonInsightResultDeserializer(item) {
|
|
2960
|
+
return {
|
|
2961
|
+
type: item["type"],
|
|
2962
|
+
comparisons: evalRunResultComparisonArrayDeserializer(item["comparisons"]),
|
|
2963
|
+
method: item["method"],
|
|
2964
|
+
};
|
|
2965
|
+
}
|
|
2966
|
+
export function evalRunResultComparisonArrayDeserializer(result) {
|
|
2967
|
+
return result.map((item) => {
|
|
2968
|
+
return evalRunResultComparisonDeserializer(item);
|
|
2969
|
+
});
|
|
2970
|
+
}
|
|
2971
|
+
export function evalRunResultComparisonDeserializer(item) {
|
|
2972
|
+
return {
|
|
2973
|
+
testingCriteria: item["testingCriteria"],
|
|
2974
|
+
metric: item["metric"],
|
|
2975
|
+
evaluator: item["evaluator"],
|
|
2976
|
+
baselineRunSummary: evalRunResultSummaryDeserializer(item["baselineRunSummary"]),
|
|
2977
|
+
compareItems: evalRunResultCompareItemArrayDeserializer(item["compareItems"]),
|
|
2978
|
+
};
|
|
2979
|
+
}
|
|
2980
|
+
export function evalRunResultSummaryDeserializer(item) {
|
|
2981
|
+
return {
|
|
2982
|
+
runId: item["runId"],
|
|
2983
|
+
sampleCount: item["sampleCount"],
|
|
2984
|
+
average: item["average"],
|
|
2985
|
+
standardDeviation: item["standardDeviation"],
|
|
2986
|
+
};
|
|
2987
|
+
}
|
|
2988
|
+
export function evalRunResultCompareItemArrayDeserializer(result) {
|
|
2989
|
+
return result.map((item) => {
|
|
2990
|
+
return evalRunResultCompareItemDeserializer(item);
|
|
2991
|
+
});
|
|
2992
|
+
}
|
|
2993
|
+
export function evalRunResultCompareItemDeserializer(item) {
|
|
2994
|
+
return {
|
|
2995
|
+
treatmentRunId: item["treatmentRunId"],
|
|
2996
|
+
treatmentRunSummary: evalRunResultSummaryDeserializer(item["treatmentRunSummary"]),
|
|
2997
|
+
deltaEstimate: item["deltaEstimate"],
|
|
2998
|
+
pValue: item["pValue"],
|
|
2999
|
+
treatmentEffect: item["treatmentEffect"],
|
|
3000
|
+
};
|
|
3001
|
+
}
|
|
3002
|
+
export function evaluationRunClusterInsightResultDeserializer(item) {
|
|
3003
|
+
return {
|
|
3004
|
+
type: item["type"],
|
|
3005
|
+
clusterInsight: clusterInsightResultDeserializer(item["clusterInsight"]),
|
|
3006
|
+
};
|
|
3007
|
+
}
|
|
3008
|
+
export function clusterInsightResultDeserializer(item) {
|
|
3009
|
+
return {
|
|
3010
|
+
summary: insightSummaryDeserializer(item["summary"]),
|
|
3011
|
+
clusters: insightClusterArrayDeserializer(item["clusters"]),
|
|
3012
|
+
coordinates: !item["coordinates"]
|
|
3013
|
+
? item["coordinates"]
|
|
3014
|
+
: chartCoordinateRecordDeserializer(item["coordinates"]),
|
|
3015
|
+
};
|
|
3016
|
+
}
|
|
3017
|
+
export function insightSummaryDeserializer(item) {
|
|
3018
|
+
return {
|
|
3019
|
+
sampleCount: item["sampleCount"],
|
|
3020
|
+
uniqueSubclusterCount: item["uniqueSubclusterCount"],
|
|
3021
|
+
uniqueClusterCount: item["uniqueClusterCount"],
|
|
3022
|
+
method: item["method"],
|
|
3023
|
+
usage: clusterTokenUsageDeserializer(item["usage"]),
|
|
3024
|
+
};
|
|
3025
|
+
}
|
|
3026
|
+
export function clusterTokenUsageDeserializer(item) {
|
|
3027
|
+
return {
|
|
3028
|
+
inputTokenUsage: item["inputTokenUsage"],
|
|
3029
|
+
outputTokenUsage: item["outputTokenUsage"],
|
|
3030
|
+
totalTokenUsage: item["totalTokenUsage"],
|
|
3031
|
+
};
|
|
3032
|
+
}
|
|
3033
|
+
export function insightClusterArrayDeserializer(result) {
|
|
3034
|
+
return result.map((item) => {
|
|
3035
|
+
return insightClusterDeserializer(item);
|
|
3036
|
+
});
|
|
3037
|
+
}
|
|
3038
|
+
export function insightClusterDeserializer(item) {
|
|
3039
|
+
return {
|
|
3040
|
+
id: item["id"],
|
|
3041
|
+
label: item["label"],
|
|
3042
|
+
suggestion: item["suggestion"],
|
|
3043
|
+
suggestionTitle: item["suggestionTitle"],
|
|
3044
|
+
description: item["description"],
|
|
3045
|
+
weight: item["weight"],
|
|
3046
|
+
subClusters: !item["subClusters"]
|
|
3047
|
+
? item["subClusters"]
|
|
3048
|
+
: insightClusterArrayDeserializer(item["subClusters"]),
|
|
3049
|
+
samples: !item["samples"]
|
|
3050
|
+
? item["samples"]
|
|
3051
|
+
: insightSampleUnionArrayDeserializer(item["samples"]),
|
|
3052
|
+
};
|
|
3053
|
+
}
|
|
3054
|
+
export function insightSampleUnionArrayDeserializer(result) {
|
|
3055
|
+
return result.map((item) => {
|
|
3056
|
+
return insightSampleUnionDeserializer(item);
|
|
3057
|
+
});
|
|
3058
|
+
}
|
|
3059
|
+
export function insightSampleDeserializer(item) {
|
|
3060
|
+
return {
|
|
3061
|
+
id: item["id"],
|
|
3062
|
+
type: item["type"],
|
|
3063
|
+
features: item["features"],
|
|
3064
|
+
correlationInfo: item["correlationInfo"],
|
|
3065
|
+
};
|
|
3066
|
+
}
|
|
3067
|
+
export function insightSampleUnionDeserializer(item) {
|
|
3068
|
+
switch (item.type) {
|
|
3069
|
+
case "EvaluationResultSample":
|
|
3070
|
+
return evaluationResultSampleDeserializer(item);
|
|
3071
|
+
default:
|
|
3072
|
+
return insightSampleDeserializer(item);
|
|
3073
|
+
}
|
|
3074
|
+
}
|
|
3075
|
+
export function evaluationResultSampleDeserializer(item) {
|
|
3076
|
+
return {
|
|
3077
|
+
id: item["id"],
|
|
3078
|
+
type: item["type"],
|
|
3079
|
+
features: item["features"],
|
|
3080
|
+
correlationInfo: item["correlationInfo"],
|
|
3081
|
+
evaluationResult: evalResultDeserializer(item["evaluationResult"]),
|
|
3082
|
+
};
|
|
3083
|
+
}
|
|
3084
|
+
export function evalResultDeserializer(item) {
|
|
3085
|
+
return {
|
|
3086
|
+
name: item["name"],
|
|
3087
|
+
type: item["type"],
|
|
3088
|
+
score: item["score"],
|
|
3089
|
+
passed: item["passed"],
|
|
3090
|
+
};
|
|
3091
|
+
}
|
|
3092
|
+
export function chartCoordinateRecordDeserializer(item) {
|
|
3093
|
+
const result = {};
|
|
3094
|
+
Object.keys(item).forEach((key) => {
|
|
3095
|
+
result[key] = !item[key] ? item[key] : chartCoordinateDeserializer(item[key]);
|
|
3096
|
+
});
|
|
3097
|
+
return result;
|
|
3098
|
+
}
|
|
3099
|
+
export function chartCoordinateDeserializer(item) {
|
|
3100
|
+
return {
|
|
3101
|
+
x: item["x"],
|
|
3102
|
+
y: item["y"],
|
|
3103
|
+
size: item["size"],
|
|
3104
|
+
};
|
|
3105
|
+
}
|
|
3106
|
+
export function agentClusterInsightResultDeserializer(item) {
|
|
3107
|
+
return {
|
|
3108
|
+
type: item["type"],
|
|
3109
|
+
clusterInsight: clusterInsightResultDeserializer(item["clusterInsight"]),
|
|
3110
|
+
};
|
|
3111
|
+
}
|
|
3112
|
+
export function _pagedInsightDeserializer(item) {
|
|
3113
|
+
return {
|
|
3114
|
+
value: insightArrayDeserializer(item["value"]),
|
|
3115
|
+
nextLink: item["nextLink"],
|
|
3116
|
+
};
|
|
3117
|
+
}
|
|
3118
|
+
export function insightArraySerializer(result) {
|
|
3119
|
+
return result.map((item) => {
|
|
3120
|
+
return insightSerializer(item);
|
|
3121
|
+
});
|
|
3122
|
+
}
|
|
3123
|
+
export function insightArrayDeserializer(result) {
|
|
3124
|
+
return result.map((item) => {
|
|
3125
|
+
return insightDeserializer(item);
|
|
3126
|
+
});
|
|
3127
|
+
}
|
|
3128
|
+
export function memoryStoreDefinitionSerializer(item) {
|
|
3129
|
+
return { kind: item["kind"] };
|
|
3130
|
+
}
|
|
3131
|
+
export function memoryStoreDefinitionDeserializer(item) {
|
|
3132
|
+
return {
|
|
3133
|
+
kind: item["kind"],
|
|
3134
|
+
};
|
|
3135
|
+
}
|
|
3136
|
+
export function memoryStoreDefinitionUnionSerializer(item) {
|
|
3137
|
+
switch (item.kind) {
|
|
3138
|
+
case "default":
|
|
3139
|
+
return memoryStoreDefaultDefinitionSerializer(item);
|
|
3140
|
+
default:
|
|
3141
|
+
return memoryStoreDefinitionSerializer(item);
|
|
3142
|
+
}
|
|
3143
|
+
}
|
|
3144
|
+
export function memoryStoreDefinitionUnionDeserializer(item) {
|
|
3145
|
+
switch (item.kind) {
|
|
3146
|
+
case "default":
|
|
3147
|
+
return memoryStoreDefaultDefinitionDeserializer(item);
|
|
3148
|
+
default:
|
|
3149
|
+
return memoryStoreDefinitionDeserializer(item);
|
|
3150
|
+
}
|
|
3151
|
+
}
|
|
3152
|
+
export function memoryStoreDefaultDefinitionSerializer(item) {
|
|
3153
|
+
return {
|
|
3154
|
+
kind: item["kind"],
|
|
3155
|
+
chat_model: item["chat_model"],
|
|
3156
|
+
embedding_model: item["embedding_model"],
|
|
3157
|
+
options: !item["options"]
|
|
3158
|
+
? item["options"]
|
|
3159
|
+
: memoryStoreDefaultOptionsSerializer(item["options"]),
|
|
3160
|
+
};
|
|
3161
|
+
}
|
|
3162
|
+
export function memoryStoreDefaultDefinitionDeserializer(item) {
|
|
3163
|
+
return {
|
|
3164
|
+
kind: item["kind"],
|
|
3165
|
+
chat_model: item["chat_model"],
|
|
3166
|
+
embedding_model: item["embedding_model"],
|
|
3167
|
+
options: !item["options"]
|
|
3168
|
+
? item["options"]
|
|
3169
|
+
: memoryStoreDefaultOptionsDeserializer(item["options"]),
|
|
3170
|
+
};
|
|
3171
|
+
}
|
|
3172
|
+
export function memoryStoreDefaultOptionsSerializer(item) {
|
|
3173
|
+
return {
|
|
3174
|
+
user_profile_enabled: item["user_profile_enabled"],
|
|
3175
|
+
user_profile_details: item["user_profile_details"],
|
|
3176
|
+
chat_summary_enabled: item["chat_summary_enabled"],
|
|
3177
|
+
};
|
|
3178
|
+
}
|
|
3179
|
+
export function memoryStoreDefaultOptionsDeserializer(item) {
|
|
3180
|
+
return {
|
|
3181
|
+
user_profile_enabled: item["user_profile_enabled"],
|
|
3182
|
+
user_profile_details: item["user_profile_details"],
|
|
3183
|
+
chat_summary_enabled: item["chat_summary_enabled"],
|
|
3184
|
+
};
|
|
3185
|
+
}
|
|
3186
|
+
export function memoryStoreDeserializer(item) {
|
|
3187
|
+
return {
|
|
3188
|
+
object: item["object"],
|
|
3189
|
+
id: item["id"],
|
|
3190
|
+
created_at: new Date(item["created_at"] * 1000),
|
|
3191
|
+
updated_at: new Date(item["updated_at"] * 1000),
|
|
3192
|
+
name: item["name"],
|
|
3193
|
+
description: item["description"],
|
|
3194
|
+
metadata: item["metadata"],
|
|
3195
|
+
definition: memoryStoreDefinitionUnionDeserializer(item["definition"]),
|
|
3196
|
+
};
|
|
3197
|
+
}
|
|
3198
|
+
export function _agentsPagedResultMemoryStoreObjectDeserializer(item) {
|
|
3752
3199
|
return {
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3200
|
+
data: memoryStoreArrayDeserializer(item["data"]),
|
|
3201
|
+
first_id: item["first_id"],
|
|
3202
|
+
last_id: item["last_id"],
|
|
3203
|
+
has_more: item["has_more"],
|
|
3756
3204
|
};
|
|
3757
3205
|
}
|
|
3758
|
-
export function
|
|
3206
|
+
export function memoryStoreArrayDeserializer(result) {
|
|
3759
3207
|
return result.map((item) => {
|
|
3760
|
-
return
|
|
3208
|
+
return memoryStoreDeserializer(item);
|
|
3761
3209
|
});
|
|
3762
3210
|
}
|
|
3763
|
-
export function
|
|
3211
|
+
export function deleteMemoryStoreResponseDeserializer(item) {
|
|
3764
3212
|
return {
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
baselineRunSummary: evalRunResultSummaryDeserializer(item["baselineRunSummary"]),
|
|
3769
|
-
compareItems: evalRunResultCompareItemArrayDeserializer(item["compareItems"]),
|
|
3213
|
+
object: item["object"],
|
|
3214
|
+
name: item["name"],
|
|
3215
|
+
deleted: item["deleted"],
|
|
3770
3216
|
};
|
|
3771
3217
|
}
|
|
3772
|
-
export function
|
|
3218
|
+
export function memoryStoreSearchResponseDeserializer(item) {
|
|
3773
3219
|
return {
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
standardDeviation: item["standardDeviation"],
|
|
3220
|
+
search_id: item["search_id"],
|
|
3221
|
+
memories: memorySearchItemArrayDeserializer(item["memories"]),
|
|
3222
|
+
usage: memoryStoreOperationUsageDeserializer(item["usage"]),
|
|
3778
3223
|
};
|
|
3779
3224
|
}
|
|
3780
|
-
export function
|
|
3225
|
+
export function memorySearchItemArrayDeserializer(result) {
|
|
3781
3226
|
return result.map((item) => {
|
|
3782
|
-
return
|
|
3227
|
+
return memorySearchItemDeserializer(item);
|
|
3783
3228
|
});
|
|
3784
3229
|
}
|
|
3785
|
-
export function
|
|
3230
|
+
export function memorySearchItemDeserializer(item) {
|
|
3786
3231
|
return {
|
|
3787
|
-
|
|
3788
|
-
treatmentRunSummary: evalRunResultSummaryDeserializer(item["treatmentRunSummary"]),
|
|
3789
|
-
deltaEstimate: item["deltaEstimate"],
|
|
3790
|
-
pValue: item["pValue"],
|
|
3791
|
-
treatmentEffect: item["treatmentEffect"],
|
|
3232
|
+
memory_item: memoryItemUnionDeserializer(item["memory_item"]),
|
|
3792
3233
|
};
|
|
3793
3234
|
}
|
|
3794
|
-
export function
|
|
3235
|
+
export function memoryItemDeserializer(item) {
|
|
3795
3236
|
return {
|
|
3796
|
-
|
|
3797
|
-
|
|
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"],
|
|
3798
3242
|
};
|
|
3799
3243
|
}
|
|
3800
|
-
export function
|
|
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);
|
|
3250
|
+
default:
|
|
3251
|
+
return memoryItemDeserializer(item);
|
|
3252
|
+
}
|
|
3253
|
+
}
|
|
3254
|
+
export function userProfileMemoryItemDeserializer(item) {
|
|
3801
3255
|
return {
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3256
|
+
memory_id: item["memory_id"],
|
|
3257
|
+
updated_at: new Date(item["updated_at"] * 1000),
|
|
3258
|
+
scope: item["scope"],
|
|
3259
|
+
content: item["content"],
|
|
3260
|
+
kind: item["kind"],
|
|
3807
3261
|
};
|
|
3808
3262
|
}
|
|
3809
|
-
export function
|
|
3263
|
+
export function chatSummaryMemoryItemDeserializer(item) {
|
|
3810
3264
|
return {
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3265
|
+
memory_id: item["memory_id"],
|
|
3266
|
+
updated_at: new Date(item["updated_at"] * 1000),
|
|
3267
|
+
scope: item["scope"],
|
|
3268
|
+
content: item["content"],
|
|
3269
|
+
kind: item["kind"],
|
|
3816
3270
|
};
|
|
3817
3271
|
}
|
|
3818
|
-
export function
|
|
3272
|
+
export function memoryStoreOperationUsageDeserializer(item) {
|
|
3819
3273
|
return {
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3274
|
+
embedding_tokens: item["embedding_tokens"],
|
|
3275
|
+
input_tokens: item["input_tokens"],
|
|
3276
|
+
input_tokens_details: responseUsageInputTokensDetailsDeserializer(item["input_tokens_details"]),
|
|
3277
|
+
output_tokens: item["output_tokens"],
|
|
3278
|
+
output_tokens_details: responseUsageOutputTokensDetailsDeserializer(item["output_tokens_details"]),
|
|
3279
|
+
total_tokens: item["total_tokens"],
|
|
3823
3280
|
};
|
|
3824
3281
|
}
|
|
3825
|
-
export function
|
|
3826
|
-
return
|
|
3827
|
-
|
|
3828
|
-
}
|
|
3282
|
+
export function responseUsageInputTokensDetailsDeserializer(item) {
|
|
3283
|
+
return {
|
|
3284
|
+
cached_tokens: item["cached_tokens"],
|
|
3285
|
+
};
|
|
3829
3286
|
}
|
|
3830
|
-
export function
|
|
3287
|
+
export function responseUsageOutputTokensDetailsDeserializer(item) {
|
|
3831
3288
|
return {
|
|
3832
|
-
|
|
3833
|
-
label: item["label"],
|
|
3834
|
-
suggestion: item["suggestion"],
|
|
3835
|
-
suggestionTitle: item["suggestionTitle"],
|
|
3836
|
-
description: item["description"],
|
|
3837
|
-
weight: item["weight"],
|
|
3838
|
-
subClusters: !item["subClusters"]
|
|
3839
|
-
? item["subClusters"]
|
|
3840
|
-
: insightClusterArrayDeserializer(item["subClusters"]),
|
|
3841
|
-
samples: !item["samples"]
|
|
3842
|
-
? item["samples"]
|
|
3843
|
-
: insightSampleUnionArrayDeserializer(item["samples"]),
|
|
3289
|
+
reasoning_tokens: item["reasoning_tokens"],
|
|
3844
3290
|
};
|
|
3845
3291
|
}
|
|
3846
|
-
export function
|
|
3292
|
+
export function memoryStoreUpdateResponseDeserializer(item) {
|
|
3293
|
+
return {
|
|
3294
|
+
update_id: item["update_id"],
|
|
3295
|
+
status: item["status"],
|
|
3296
|
+
superseded_by: item["superseded_by"],
|
|
3297
|
+
result: !item["result"]
|
|
3298
|
+
? item["result"]
|
|
3299
|
+
: memoryStoreUpdateCompletedResultDeserializer(item["result"]),
|
|
3300
|
+
error: !item["error"] ? item["error"] : errorDeserializer(item["error"]),
|
|
3301
|
+
};
|
|
3302
|
+
}
|
|
3303
|
+
export function memoryStoreUpdateCompletedResultDeserializer(item) {
|
|
3304
|
+
return {
|
|
3305
|
+
memory_operations: memoryOperationArrayDeserializer(item["memory_operations"]),
|
|
3306
|
+
usage: memoryStoreOperationUsageDeserializer(item["usage"]),
|
|
3307
|
+
};
|
|
3308
|
+
}
|
|
3309
|
+
export function memoryOperationArrayDeserializer(result) {
|
|
3847
3310
|
return result.map((item) => {
|
|
3848
|
-
return
|
|
3311
|
+
return memoryOperationDeserializer(item);
|
|
3849
3312
|
});
|
|
3850
3313
|
}
|
|
3851
|
-
export function
|
|
3314
|
+
export function memoryOperationDeserializer(item) {
|
|
3852
3315
|
return {
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
features: item["features"],
|
|
3856
|
-
correlationInfo: item["correlationInfo"],
|
|
3316
|
+
kind: item["kind"],
|
|
3317
|
+
memory_item: memoryItemUnionDeserializer(item["memory_item"]),
|
|
3857
3318
|
};
|
|
3858
3319
|
}
|
|
3859
|
-
export function
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
}
|
|
3320
|
+
export function memoryStoreDeleteScopeResponseDeserializer(item) {
|
|
3321
|
+
return {
|
|
3322
|
+
object: item["object"],
|
|
3323
|
+
name: item["name"],
|
|
3324
|
+
scope: item["scope"],
|
|
3325
|
+
deleted: item["deleted"],
|
|
3326
|
+
};
|
|
3866
3327
|
}
|
|
3867
|
-
export function
|
|
3328
|
+
export function redTeamSerializer(item) {
|
|
3868
3329
|
return {
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3330
|
+
displayName: item["displayName"],
|
|
3331
|
+
numTurns: item["numTurns"],
|
|
3332
|
+
attackStrategies: item["attackStrategies"],
|
|
3333
|
+
simulationOnly: item["simulationOnly"],
|
|
3334
|
+
riskCategories: item["riskCategories"],
|
|
3335
|
+
applicationScenario: item["applicationScenario"],
|
|
3336
|
+
tags: item["tags"],
|
|
3337
|
+
properties: item["properties"],
|
|
3338
|
+
target: item["target"] ? targetConfigUnionSerializer(item["target"]) : undefined,
|
|
3874
3339
|
};
|
|
3875
3340
|
}
|
|
3876
|
-
export function
|
|
3341
|
+
export function redTeamDeserializer(item) {
|
|
3877
3342
|
return {
|
|
3878
|
-
name: item["
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3343
|
+
name: item["id"],
|
|
3344
|
+
displayName: item["displayName"],
|
|
3345
|
+
numTurns: item["numTurns"],
|
|
3346
|
+
attackStrategies: item["attackStrategies"],
|
|
3347
|
+
simulationOnly: item["simulationOnly"],
|
|
3348
|
+
riskCategories: item["riskCategories"],
|
|
3349
|
+
applicationScenario: item["applicationScenario"],
|
|
3350
|
+
tags: item["tags"],
|
|
3351
|
+
properties: item["properties"],
|
|
3352
|
+
status: item["status"],
|
|
3353
|
+
target: item["target"] ? targetConfigUnionDeserializer(item["target"]) : undefined,
|
|
3882
3354
|
};
|
|
3883
3355
|
}
|
|
3884
|
-
export function
|
|
3885
|
-
|
|
3886
|
-
Object.keys(item).map((key) => {
|
|
3887
|
-
result[key] = !item[key] ? item[key] : chartCoordinateDeserializer(item[key]);
|
|
3888
|
-
});
|
|
3889
|
-
return result;
|
|
3356
|
+
export function targetConfigSerializer(item) {
|
|
3357
|
+
return { type: item["type"] };
|
|
3890
3358
|
}
|
|
3891
|
-
export function
|
|
3359
|
+
export function targetConfigDeserializer(item) {
|
|
3892
3360
|
return {
|
|
3893
|
-
|
|
3894
|
-
y: item["y"],
|
|
3895
|
-
size: item["size"],
|
|
3361
|
+
type: item["type"],
|
|
3896
3362
|
};
|
|
3897
3363
|
}
|
|
3898
|
-
export function
|
|
3364
|
+
export function targetConfigUnionSerializer(item) {
|
|
3365
|
+
switch (item.type) {
|
|
3366
|
+
case "AzureOpenAIModel":
|
|
3367
|
+
return azureOpenAIModelConfigurationSerializer(item);
|
|
3368
|
+
default:
|
|
3369
|
+
return targetConfigSerializer(item);
|
|
3370
|
+
}
|
|
3371
|
+
}
|
|
3372
|
+
export function targetConfigUnionDeserializer(item) {
|
|
3373
|
+
switch (item.type) {
|
|
3374
|
+
case "AzureOpenAIModel":
|
|
3375
|
+
return azureOpenAIModelConfigurationDeserializer(item);
|
|
3376
|
+
default:
|
|
3377
|
+
return targetConfigDeserializer(item);
|
|
3378
|
+
}
|
|
3379
|
+
}
|
|
3380
|
+
export function azureOpenAIModelConfigurationSerializer(item) {
|
|
3381
|
+
return { type: item["type"], modelDeploymentName: item["modelDeploymentName"] };
|
|
3382
|
+
}
|
|
3383
|
+
export function azureOpenAIModelConfigurationDeserializer(item) {
|
|
3899
3384
|
return {
|
|
3900
3385
|
type: item["type"],
|
|
3901
|
-
|
|
3386
|
+
modelDeploymentName: item["modelDeploymentName"],
|
|
3902
3387
|
};
|
|
3903
3388
|
}
|
|
3904
|
-
export function
|
|
3389
|
+
export function _pagedRedTeamDeserializer(item) {
|
|
3905
3390
|
return {
|
|
3906
|
-
value:
|
|
3391
|
+
value: redTeamArrayDeserializer(item["value"]),
|
|
3907
3392
|
nextLink: item["nextLink"],
|
|
3908
3393
|
};
|
|
3909
3394
|
}
|
|
3910
|
-
export function
|
|
3395
|
+
export function redTeamArraySerializer(result) {
|
|
3911
3396
|
return result.map((item) => {
|
|
3912
|
-
return
|
|
3397
|
+
return redTeamSerializer(item);
|
|
3913
3398
|
});
|
|
3914
3399
|
}
|
|
3915
|
-
export function
|
|
3400
|
+
export function redTeamArrayDeserializer(result) {
|
|
3916
3401
|
return result.map((item) => {
|
|
3917
|
-
return
|
|
3402
|
+
return redTeamDeserializer(item);
|
|
3918
3403
|
});
|
|
3919
3404
|
}
|
|
3920
3405
|
export function scheduleSerializer(item) {
|
|
@@ -4059,57 +3544,41 @@ export function hourlyRecurrenceScheduleDeserializer(item) {
|
|
|
4059
3544
|
export function dailyRecurrenceScheduleSerializer(item) {
|
|
4060
3545
|
return {
|
|
4061
3546
|
type: item["type"],
|
|
4062
|
-
hours: item["hours"]
|
|
4063
|
-
return p;
|
|
4064
|
-
}),
|
|
3547
|
+
hours: item["hours"],
|
|
4065
3548
|
};
|
|
4066
3549
|
}
|
|
4067
3550
|
export function dailyRecurrenceScheduleDeserializer(item) {
|
|
4068
3551
|
return {
|
|
4069
3552
|
type: item["type"],
|
|
4070
|
-
hours: item["hours"]
|
|
4071
|
-
return p;
|
|
4072
|
-
}),
|
|
3553
|
+
hours: item["hours"],
|
|
4073
3554
|
};
|
|
4074
3555
|
}
|
|
4075
3556
|
export function weeklyRecurrenceScheduleSerializer(item) {
|
|
4076
3557
|
return {
|
|
4077
3558
|
type: item["type"],
|
|
4078
|
-
daysOfWeek: item["daysOfWeek"]
|
|
4079
|
-
return p;
|
|
4080
|
-
}),
|
|
3559
|
+
daysOfWeek: item["daysOfWeek"],
|
|
4081
3560
|
};
|
|
4082
3561
|
}
|
|
4083
3562
|
export function weeklyRecurrenceScheduleDeserializer(item) {
|
|
4084
3563
|
return {
|
|
4085
3564
|
type: item["type"],
|
|
4086
|
-
daysOfWeek: item["daysOfWeek"]
|
|
4087
|
-
return p;
|
|
4088
|
-
}),
|
|
3565
|
+
daysOfWeek: item["daysOfWeek"],
|
|
4089
3566
|
};
|
|
4090
3567
|
}
|
|
4091
3568
|
export function monthlyRecurrenceScheduleSerializer(item) {
|
|
4092
3569
|
return {
|
|
4093
3570
|
type: item["type"],
|
|
4094
|
-
daysOfMonth: item["daysOfMonth"]
|
|
4095
|
-
return p;
|
|
4096
|
-
}),
|
|
3571
|
+
daysOfMonth: item["daysOfMonth"],
|
|
4097
3572
|
};
|
|
4098
3573
|
}
|
|
4099
3574
|
export function monthlyRecurrenceScheduleDeserializer(item) {
|
|
4100
3575
|
return {
|
|
4101
3576
|
type: item["type"],
|
|
4102
|
-
daysOfMonth: item["daysOfMonth"]
|
|
4103
|
-
return p;
|
|
4104
|
-
}),
|
|
3577
|
+
daysOfMonth: item["daysOfMonth"],
|
|
4105
3578
|
};
|
|
4106
3579
|
}
|
|
4107
3580
|
export function oneTimeTriggerSerializer(item) {
|
|
4108
|
-
return {
|
|
4109
|
-
type: item["type"],
|
|
4110
|
-
triggerAt: item["triggerAt"],
|
|
4111
|
-
timeZone: item["timeZone"],
|
|
4112
|
-
};
|
|
3581
|
+
return { type: item["type"], triggerAt: item["triggerAt"], timeZone: item["timeZone"] };
|
|
4113
3582
|
}
|
|
4114
3583
|
export function oneTimeTriggerDeserializer(item) {
|
|
4115
3584
|
return {
|
|
@@ -4209,7 +3678,7 @@ export function scheduleRunDeserializer(item) {
|
|
|
4209
3678
|
properties: item["properties"],
|
|
4210
3679
|
};
|
|
4211
3680
|
}
|
|
4212
|
-
export function
|
|
3681
|
+
export function _pagedScheduleRunDeserializer(item) {
|
|
4213
3682
|
return {
|
|
4214
3683
|
value: scheduleRunArrayDeserializer(item["value"]),
|
|
4215
3684
|
nextLink: item["nextLink"],
|
|
@@ -4220,33 +3689,22 @@ export function scheduleRunArrayDeserializer(result) {
|
|
|
4220
3689
|
return scheduleRunDeserializer(item);
|
|
4221
3690
|
});
|
|
4222
3691
|
}
|
|
4223
|
-
export function
|
|
4224
|
-
return
|
|
4225
|
-
return toolUnionSerializer(item);
|
|
4226
|
-
});
|
|
4227
|
-
}
|
|
4228
|
-
export function toolUnionArrayDeserializer_1(result) {
|
|
4229
|
-
return result.map((item) => {
|
|
4230
|
-
return toolUnionDeserializer(item);
|
|
4231
|
-
});
|
|
3692
|
+
export function _createAgentRequestFoundryFeaturesSerializer(item) {
|
|
3693
|
+
return item;
|
|
4232
3694
|
}
|
|
4233
|
-
export function
|
|
4234
|
-
return
|
|
4235
|
-
type: item["type"],
|
|
4236
|
-
name: item["name"],
|
|
4237
|
-
version: item["version"],
|
|
4238
|
-
};
|
|
3695
|
+
export function _updateAgentRequestFoundryFeaturesSerializer(item) {
|
|
3696
|
+
return item;
|
|
4239
3697
|
}
|
|
4240
|
-
export function
|
|
4241
|
-
return
|
|
3698
|
+
export function _createAgentVersionRequestFoundryFeaturesSerializer(item) {
|
|
3699
|
+
return item;
|
|
4242
3700
|
}
|
|
4243
3701
|
export function _listVersionsRequestTypeSerializer(item) {
|
|
4244
3702
|
return item;
|
|
4245
3703
|
}
|
|
4246
|
-
/**
|
|
3704
|
+
/** Microsoft Foundry API versions */
|
|
4247
3705
|
export var KnownApiVersions;
|
|
4248
3706
|
(function (KnownApiVersions) {
|
|
4249
|
-
/**
|
|
4250
|
-
KnownApiVersions["
|
|
3707
|
+
/** Microsoft Foundry API version v1. */
|
|
3708
|
+
KnownApiVersions["v1"] = "v1";
|
|
4251
3709
|
})(KnownApiVersions || (KnownApiVersions = {}));
|
|
4252
3710
|
//# sourceMappingURL=models.js.map
|