@azure/ai-projects 2.0.1 → 2.1.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 +92 -6
- package/dist/browser/aiProjectClient.d.ts +8 -4
- package/dist/browser/aiProjectClient.d.ts.map +1 -1
- package/dist/browser/aiProjectClient.js +39 -7
- package/dist/browser/aiProjectClient.js.map +1 -1
- package/dist/browser/api/agents/operations.d.ts.map +1 -1
- package/dist/browser/api/agents/operations.js +33 -18
- package/dist/browser/api/agents/operations.js.map +1 -1
- package/dist/browser/api/agents/options.d.ts +11 -1
- 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/beta/agents/index.d.ts +3 -0
- package/dist/browser/api/beta/agents/index.d.ts.map +1 -0
- package/dist/browser/api/beta/agents/index.js +4 -0
- package/dist/browser/api/beta/agents/index.js.map +1 -0
- package/dist/browser/api/beta/agents/operations.d.ts +58 -0
- package/dist/browser/api/beta/agents/operations.d.ts.map +1 -0
- package/dist/browser/api/beta/agents/operations.js +340 -0
- package/dist/browser/api/beta/agents/operations.js.map +1 -0
- package/dist/browser/api/beta/agents/options.d.ts +78 -0
- package/dist/browser/api/beta/agents/options.d.ts.map +1 -0
- package/dist/browser/api/beta/agents/options.js +4 -0
- package/dist/browser/api/beta/agents/options.js.map +1 -0
- package/dist/browser/api/beta/evaluators/index.d.ts +2 -2
- package/dist/browser/api/beta/evaluators/index.d.ts.map +1 -1
- package/dist/browser/api/beta/evaluators/index.js +1 -1
- package/dist/browser/api/beta/evaluators/index.js.map +1 -1
- package/dist/browser/api/beta/evaluators/operations.d.ts +5 -5
- package/dist/browser/api/beta/evaluators/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/evaluators/operations.js +5 -5
- package/dist/browser/api/beta/evaluators/operations.js.map +1 -1
- package/dist/browser/api/beta/evaluators/options.d.ts +1 -1
- package/dist/browser/api/beta/evaluators/options.d.ts.map +1 -1
- package/dist/browser/api/beta/evaluators/options.js.map +1 -1
- package/dist/browser/api/beta/insights/operations.d.ts +2 -2
- package/dist/browser/api/beta/insights/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/insights/operations.js +15 -9
- package/dist/browser/api/beta/insights/operations.js.map +1 -1
- package/dist/browser/api/beta/memoryStores/options.d.ts +2 -2
- package/dist/browser/api/beta/memoryStores/options.d.ts.map +1 -1
- package/dist/browser/api/beta/memoryStores/options.js +1 -0
- package/dist/browser/api/beta/memoryStores/options.js.map +1 -1
- package/dist/browser/api/beta/schedules/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/schedules/operations.js +4 -2
- package/dist/browser/api/beta/schedules/operations.js.map +1 -1
- package/dist/browser/api/beta/skills/index.d.ts +3 -0
- package/dist/browser/api/beta/skills/index.d.ts.map +1 -0
- package/dist/browser/api/beta/skills/index.js +4 -0
- package/dist/browser/api/beta/skills/index.js.map +1 -0
- package/dist/browser/api/beta/skills/operations.d.ts +34 -0
- package/dist/browser/api/beta/skills/operations.d.ts.map +1 -0
- package/dist/browser/api/beta/skills/operations.js +245 -0
- package/dist/browser/api/beta/skills/operations.js.map +1 -0
- package/dist/browser/api/beta/skills/options.d.ts +72 -0
- package/dist/browser/api/beta/skills/options.d.ts.map +1 -0
- package/dist/browser/api/beta/skills/options.js +4 -0
- package/dist/browser/api/beta/skills/options.js.map +1 -0
- package/dist/browser/api/beta/toolboxes/index.d.ts +3 -0
- package/dist/browser/api/beta/toolboxes/index.d.ts.map +1 -0
- package/dist/browser/api/beta/toolboxes/index.js +4 -0
- package/dist/browser/api/beta/toolboxes/index.js.map +1 -0
- package/dist/browser/api/beta/toolboxes/operations.d.ts +38 -0
- package/dist/browser/api/beta/toolboxes/operations.d.ts.map +1 -0
- package/dist/browser/api/beta/toolboxes/operations.js +273 -0
- package/dist/browser/api/beta/toolboxes/operations.js.map +1 -0
- package/dist/browser/api/beta/toolboxes/options.d.ts +77 -0
- package/dist/browser/api/beta/toolboxes/options.d.ts.map +1 -0
- package/dist/browser/api/beta/toolboxes/options.js +4 -0
- package/dist/browser/api/beta/toolboxes/options.js.map +1 -0
- package/dist/browser/api/datasets/operations.d.ts.map +1 -1
- package/dist/browser/api/datasets/operations.js +9 -8
- package/dist/browser/api/datasets/operations.js.map +1 -1
- package/dist/browser/api/evaluationRules/operations.d.ts.map +1 -1
- package/dist/browser/api/evaluationRules/operations.js +5 -24
- package/dist/browser/api/evaluationRules/operations.js.map +1 -1
- package/dist/browser/api/evaluationRules/options.d.ts +0 -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 +1 -1
- package/dist/browser/api/index.d.ts.map +1 -1
- package/dist/browser/api/index.js.map +1 -1
- package/dist/browser/api/telemetry/operations.d.ts +1 -1
- package/dist/browser/api/telemetry/operations.d.ts.map +1 -1
- package/dist/browser/api/telemetry/operations.js.map +1 -1
- package/dist/browser/azureAgent.interface.d.ts +25 -0
- package/dist/browser/azureAgent.interface.d.ts.map +1 -0
- package/dist/browser/azureAgent.interface.js +4 -0
- package/dist/browser/azureAgent.interface.js.map +1 -0
- package/dist/browser/classic/beta/agents/index.d.ts +43 -0
- package/dist/browser/classic/beta/agents/index.d.ts.map +1 -0
- package/dist/browser/classic/beta/agents/index.js +22 -0
- package/dist/browser/classic/beta/agents/index.js.map +1 -0
- package/dist/browser/classic/beta/evaluators/index.d.ts +2 -2
- package/dist/browser/classic/beta/evaluators/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/evaluators/index.js +2 -2
- package/dist/browser/classic/beta/evaluators/index.js.map +1 -1
- package/dist/browser/classic/beta/index.d.ts +10 -1
- package/dist/browser/classic/beta/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/index.js +10 -1
- package/dist/browser/classic/beta/index.js.map +1 -1
- package/dist/browser/classic/beta/insights/index.d.ts +1 -1
- package/dist/browser/classic/beta/insights/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/insights/index.js +1 -1
- package/dist/browser/classic/beta/insights/index.js.map +1 -1
- package/dist/browser/classic/beta/skills/index.d.ts +23 -0
- package/dist/browser/classic/beta/skills/index.d.ts.map +1 -0
- package/dist/browser/classic/beta/skills/index.js +20 -0
- package/dist/browser/classic/beta/skills/index.js.map +1 -0
- package/dist/browser/classic/beta/toolboxes/index.d.ts +25 -0
- package/dist/browser/classic/beta/toolboxes/index.d.ts.map +1 -0
- package/dist/browser/classic/beta/toolboxes/index.js +21 -0
- package/dist/browser/classic/beta/toolboxes/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +3 -0
- package/dist/browser/classic/index.d.ts.map +1 -1
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/classic/telemetry/index.d.ts +1 -1
- package/dist/browser/classic/telemetry/index.d.ts.map +1 -1
- package/dist/browser/classic/telemetry/index.js.map +1 -1
- package/dist/browser/constants.d.ts +1 -1
- package/dist/browser/constants.js +1 -1
- package/dist/browser/constants.js.map +1 -1
- package/dist/browser/deprecate.interface.d.ts +13 -0
- package/dist/browser/deprecate.interface.d.ts.map +1 -0
- package/dist/browser/deprecate.interface.js +4 -0
- package/dist/browser/deprecate.interface.js.map +1 -0
- package/dist/browser/index.d.ts +9 -3
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +1 -0
- 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.map +1 -1
- package/dist/browser/models/models.d.ts +704 -157
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +931 -176
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/static-helpers/serialization/get-binary-stream-response.d.ts +12 -0
- package/dist/browser/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -0
- package/dist/browser/static-helpers/serialization/get-binary-stream-response.js +17 -0
- package/dist/browser/static-helpers/serialization/get-binary-stream-response.js.map +1 -0
- package/dist/commonjs/aiProjectClient.d.ts +8 -4
- package/dist/commonjs/aiProjectClient.d.ts.map +1 -1
- package/dist/commonjs/aiProjectClient.js +37 -5
- package/dist/commonjs/aiProjectClient.js.map +3 -3
- package/dist/commonjs/api/agents/index.js +1 -0
- package/dist/commonjs/api/agents/index.js.map +1 -1
- package/dist/commonjs/api/agents/operations.d.ts.map +1 -1
- package/dist/commonjs/api/agents/operations.js +26 -20
- package/dist/commonjs/api/agents/operations.js.map +3 -3
- package/dist/commonjs/api/agents/options.d.ts +11 -1
- package/dist/commonjs/api/agents/options.d.ts.map +1 -1
- package/dist/commonjs/api/agents/options.js +1 -0
- package/dist/commonjs/api/agents/options.js.map +2 -2
- package/dist/commonjs/api/aiProjectContext.js +1 -0
- package/dist/commonjs/api/aiProjectContext.js.map +1 -1
- package/dist/commonjs/api/beta/agents/index.d.ts +3 -0
- package/dist/commonjs/api/beta/agents/index.d.ts.map +1 -0
- package/dist/commonjs/api/beta/agents/index.js +44 -0
- package/dist/commonjs/api/beta/agents/index.js.map +7 -0
- package/dist/commonjs/api/beta/agents/operations.d.ts +58 -0
- package/dist/commonjs/api/beta/agents/operations.d.ts.map +1 -0
- package/dist/commonjs/api/beta/agents/operations.js +442 -0
- package/dist/commonjs/api/beta/agents/operations.js.map +7 -0
- package/dist/commonjs/api/beta/agents/options.d.ts +78 -0
- package/dist/commonjs/api/beta/agents/options.d.ts.map +1 -0
- package/dist/commonjs/api/beta/agents/options.js +16 -0
- package/dist/commonjs/api/beta/agents/options.js.map +7 -0
- package/dist/commonjs/api/beta/evaluationTaxonomies/index.js +1 -0
- package/dist/commonjs/api/beta/evaluationTaxonomies/index.js.map +1 -1
- package/dist/commonjs/api/beta/evaluationTaxonomies/operations.js +1 -0
- package/dist/commonjs/api/beta/evaluationTaxonomies/operations.js.map +1 -1
- package/dist/commonjs/api/beta/evaluationTaxonomies/options.js +1 -0
- package/dist/commonjs/api/beta/evaluationTaxonomies/options.js.map +1 -1
- package/dist/commonjs/api/beta/evaluators/index.d.ts +2 -2
- package/dist/commonjs/api/beta/evaluators/index.d.ts.map +1 -1
- package/dist/commonjs/api/beta/evaluators/index.js +3 -2
- package/dist/commonjs/api/beta/evaluators/index.js.map +2 -2
- package/dist/commonjs/api/beta/evaluators/operations.d.ts +5 -5
- package/dist/commonjs/api/beta/evaluators/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/evaluators/operations.js +12 -11
- package/dist/commonjs/api/beta/evaluators/operations.js.map +3 -3
- package/dist/commonjs/api/beta/evaluators/options.d.ts +1 -1
- package/dist/commonjs/api/beta/evaluators/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/evaluators/options.js +1 -0
- package/dist/commonjs/api/beta/evaluators/options.js.map +2 -2
- package/dist/commonjs/api/beta/insights/index.js +1 -0
- package/dist/commonjs/api/beta/insights/index.js.map +1 -1
- package/dist/commonjs/api/beta/insights/operations.d.ts +2 -2
- package/dist/commonjs/api/beta/insights/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/insights/operations.js +16 -9
- package/dist/commonjs/api/beta/insights/operations.js.map +3 -3
- package/dist/commonjs/api/beta/insights/options.js +1 -0
- package/dist/commonjs/api/beta/insights/options.js.map +1 -1
- package/dist/commonjs/api/beta/memoryStores/index.js +1 -0
- package/dist/commonjs/api/beta/memoryStores/index.js.map +1 -1
- package/dist/commonjs/api/beta/memoryStores/operations.js +1 -0
- package/dist/commonjs/api/beta/memoryStores/operations.js.map +1 -1
- package/dist/commonjs/api/beta/memoryStores/options.d.ts +2 -2
- package/dist/commonjs/api/beta/memoryStores/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/memoryStores/options.js +1 -0
- package/dist/commonjs/api/beta/memoryStores/options.js.map +2 -2
- package/dist/commonjs/api/beta/redTeams/index.js +1 -0
- package/dist/commonjs/api/beta/redTeams/index.js.map +1 -1
- package/dist/commonjs/api/beta/redTeams/operations.js +1 -0
- package/dist/commonjs/api/beta/redTeams/operations.js.map +1 -1
- package/dist/commonjs/api/beta/redTeams/options.js +1 -0
- package/dist/commonjs/api/beta/redTeams/options.js.map +1 -1
- package/dist/commonjs/api/beta/schedules/index.js +1 -0
- package/dist/commonjs/api/beta/schedules/index.js.map +1 -1
- package/dist/commonjs/api/beta/schedules/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/schedules/operations.js +6 -3
- package/dist/commonjs/api/beta/schedules/operations.js.map +3 -3
- package/dist/commonjs/api/beta/schedules/options.js +1 -0
- package/dist/commonjs/api/beta/schedules/options.js.map +1 -1
- package/dist/commonjs/api/beta/skills/index.d.ts +3 -0
- package/dist/commonjs/api/beta/skills/index.d.ts.map +1 -0
- package/dist/commonjs/api/beta/skills/index.js +40 -0
- package/dist/commonjs/api/beta/skills/index.js.map +7 -0
- package/dist/commonjs/api/beta/skills/operations.d.ts +34 -0
- package/dist/commonjs/api/beta/skills/operations.d.ts.map +1 -0
- package/dist/commonjs/api/beta/skills/operations.js +336 -0
- package/dist/commonjs/api/beta/skills/operations.js.map +7 -0
- package/dist/commonjs/api/beta/skills/options.d.ts +72 -0
- package/dist/commonjs/api/beta/skills/options.d.ts.map +1 -0
- package/dist/commonjs/api/beta/skills/options.js +16 -0
- package/dist/commonjs/api/beta/skills/options.js.map +7 -0
- package/dist/commonjs/api/beta/toolboxes/index.d.ts +3 -0
- package/dist/commonjs/api/beta/toolboxes/index.d.ts.map +1 -0
- package/dist/commonjs/api/beta/toolboxes/index.js +42 -0
- package/dist/commonjs/api/beta/toolboxes/index.js.map +7 -0
- package/dist/commonjs/api/beta/toolboxes/operations.d.ts +38 -0
- package/dist/commonjs/api/beta/toolboxes/operations.d.ts.map +1 -0
- package/dist/commonjs/api/beta/toolboxes/operations.js +377 -0
- package/dist/commonjs/api/beta/toolboxes/operations.js.map +7 -0
- package/dist/commonjs/api/beta/toolboxes/options.d.ts +77 -0
- package/dist/commonjs/api/beta/toolboxes/options.d.ts.map +1 -0
- package/dist/commonjs/api/beta/toolboxes/options.js +16 -0
- package/dist/commonjs/api/beta/toolboxes/options.js.map +7 -0
- package/dist/commonjs/api/connections/index.js +1 -0
- package/dist/commonjs/api/connections/index.js.map +1 -1
- package/dist/commonjs/api/connections/operations.js +1 -0
- package/dist/commonjs/api/connections/operations.js.map +1 -1
- package/dist/commonjs/api/connections/options.js +1 -0
- package/dist/commonjs/api/connections/options.js.map +1 -1
- package/dist/commonjs/api/datasets/index.js +1 -0
- package/dist/commonjs/api/datasets/index.js.map +1 -1
- package/dist/commonjs/api/datasets/operations.d.ts.map +1 -1
- package/dist/commonjs/api/datasets/operations.js +10 -8
- package/dist/commonjs/api/datasets/operations.js.map +3 -3
- package/dist/commonjs/api/datasets/options.js +1 -0
- package/dist/commonjs/api/datasets/options.js.map +1 -1
- package/dist/commonjs/api/deployments/index.js +1 -0
- package/dist/commonjs/api/deployments/index.js.map +1 -1
- package/dist/commonjs/api/deployments/operations.js +1 -0
- package/dist/commonjs/api/deployments/operations.js.map +1 -1
- package/dist/commonjs/api/deployments/options.js +1 -0
- package/dist/commonjs/api/deployments/options.js.map +1 -1
- package/dist/commonjs/api/evaluationRules/index.js +1 -0
- package/dist/commonjs/api/evaluationRules/index.js.map +1 -1
- package/dist/commonjs/api/evaluationRules/operations.d.ts.map +1 -1
- package/dist/commonjs/api/evaluationRules/operations.js +6 -14
- package/dist/commonjs/api/evaluationRules/operations.js.map +3 -3
- package/dist/commonjs/api/evaluationRules/options.d.ts +0 -8
- package/dist/commonjs/api/evaluationRules/options.d.ts.map +1 -1
- package/dist/commonjs/api/evaluationRules/options.js +1 -0
- package/dist/commonjs/api/evaluationRules/options.js.map +2 -2
- package/dist/commonjs/api/index.d.ts +1 -1
- package/dist/commonjs/api/index.d.ts.map +1 -1
- package/dist/commonjs/api/index.js +1 -0
- package/dist/commonjs/api/index.js.map +2 -2
- package/dist/commonjs/api/indexes/index.js +1 -0
- package/dist/commonjs/api/indexes/index.js.map +1 -1
- package/dist/commonjs/api/indexes/operations.js +1 -0
- package/dist/commonjs/api/indexes/operations.js.map +1 -1
- package/dist/commonjs/api/indexes/options.js +1 -0
- package/dist/commonjs/api/indexes/options.js.map +1 -1
- package/dist/commonjs/api/telemetry/index.js +1 -0
- package/dist/commonjs/api/telemetry/index.js.map +1 -1
- package/dist/commonjs/api/telemetry/operations.d.ts +1 -1
- package/dist/commonjs/api/telemetry/operations.d.ts.map +1 -1
- package/dist/commonjs/api/telemetry/operations.js +1 -0
- package/dist/commonjs/api/telemetry/operations.js.map +2 -2
- package/dist/commonjs/azureAgent.interface.d.ts +25 -0
- package/dist/commonjs/azureAgent.interface.d.ts.map +1 -0
- package/dist/commonjs/azureAgent.interface.js +16 -0
- package/dist/commonjs/azureAgent.interface.js.map +7 -0
- package/dist/commonjs/classic/agents/index.js +1 -0
- package/dist/commonjs/classic/agents/index.js.map +1 -1
- package/dist/commonjs/classic/beta/agents/index.d.ts +43 -0
- package/dist/commonjs/classic/beta/agents/index.d.ts.map +1 -0
- package/dist/commonjs/classic/beta/agents/index.js +46 -0
- package/dist/commonjs/classic/beta/agents/index.js.map +7 -0
- package/dist/commonjs/classic/beta/evaluationTaxonomies/index.js +1 -0
- package/dist/commonjs/classic/beta/evaluationTaxonomies/index.js.map +1 -1
- package/dist/commonjs/classic/beta/evaluators/index.d.ts +2 -2
- package/dist/commonjs/classic/beta/evaluators/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/evaluators/index.js +2 -1
- package/dist/commonjs/classic/beta/evaluators/index.js.map +3 -3
- package/dist/commonjs/classic/beta/index.d.ts +10 -1
- package/dist/commonjs/classic/beta/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/index.js +12 -2
- package/dist/commonjs/classic/beta/index.js.map +3 -3
- package/dist/commonjs/classic/beta/insights/index.d.ts +1 -1
- package/dist/commonjs/classic/beta/insights/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/insights/index.js +2 -1
- package/dist/commonjs/classic/beta/insights/index.js.map +3 -3
- package/dist/commonjs/classic/beta/memoryStores/index.js +1 -0
- package/dist/commonjs/classic/beta/memoryStores/index.js.map +1 -1
- package/dist/commonjs/classic/beta/redTeams/index.js +1 -0
- package/dist/commonjs/classic/beta/redTeams/index.js.map +1 -1
- package/dist/commonjs/classic/beta/schedules/index.js +1 -0
- package/dist/commonjs/classic/beta/schedules/index.js.map +1 -1
- package/dist/commonjs/classic/beta/skills/index.d.ts +23 -0
- package/dist/commonjs/classic/beta/skills/index.d.ts.map +1 -0
- package/dist/commonjs/classic/beta/skills/index.js +44 -0
- package/dist/commonjs/classic/beta/skills/index.js.map +7 -0
- package/dist/commonjs/classic/beta/toolboxes/index.d.ts +25 -0
- package/dist/commonjs/classic/beta/toolboxes/index.d.ts.map +1 -0
- package/dist/commonjs/classic/beta/toolboxes/index.js +45 -0
- package/dist/commonjs/classic/beta/toolboxes/index.js.map +7 -0
- package/dist/commonjs/classic/connections/index.js +1 -0
- package/dist/commonjs/classic/connections/index.js.map +1 -1
- package/dist/commonjs/classic/datasets/index.js +1 -0
- package/dist/commonjs/classic/datasets/index.js.map +1 -1
- package/dist/commonjs/classic/deployments/index.js +1 -0
- package/dist/commonjs/classic/deployments/index.js.map +1 -1
- package/dist/commonjs/classic/evaluationRules/index.js +1 -0
- package/dist/commonjs/classic/evaluationRules/index.js.map +1 -1
- package/dist/commonjs/classic/index.d.ts +3 -0
- package/dist/commonjs/classic/index.d.ts.map +1 -1
- package/dist/commonjs/classic/index.js +1 -0
- package/dist/commonjs/classic/index.js.map +2 -2
- package/dist/commonjs/classic/indexes/index.js +1 -0
- package/dist/commonjs/classic/indexes/index.js.map +1 -1
- package/dist/commonjs/classic/telemetry/index.d.ts +1 -1
- package/dist/commonjs/classic/telemetry/index.d.ts.map +1 -1
- package/dist/commonjs/classic/telemetry/index.js +1 -0
- package/dist/commonjs/classic/telemetry/index.js.map +2 -2
- package/dist/commonjs/constants.d.ts +1 -1
- package/dist/commonjs/constants.js +2 -1
- package/dist/commonjs/constants.js.map +2 -2
- package/dist/commonjs/deprecate.interface.d.ts +13 -0
- package/dist/commonjs/deprecate.interface.d.ts.map +1 -0
- package/dist/commonjs/deprecate.interface.js +16 -0
- package/dist/commonjs/deprecate.interface.js.map +7 -0
- package/dist/commonjs/getCustomFetch.js +1 -0
- package/dist/commonjs/getCustomFetch.js.map +1 -1
- package/dist/commonjs/index.d.ts +9 -3
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +6 -2
- package/dist/commonjs/index.js.map +3 -3
- package/dist/commonjs/logger.js +1 -0
- package/dist/commonjs/logger.js.map +1 -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 +1 -0
- package/dist/commonjs/models/index.js.map +2 -2
- package/dist/commonjs/models/models.d.ts +704 -157
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +1085 -207
- package/dist/commonjs/models/models.js.map +3 -3
- package/dist/commonjs/overwriteOpenAIClient.js +1 -0
- package/dist/commonjs/overwriteOpenAIClient.js.map +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js +1 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js +1 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/commonjs/static-helpers/serialization/get-binary-stream-response.d.ts +12 -0
- package/dist/commonjs/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/serialization/get-binary-stream-response.js +35 -0
- package/dist/commonjs/static-helpers/serialization/get-binary-stream-response.js.map +7 -0
- package/dist/commonjs/static-helpers/serialization/serialize-record.js +1 -0
- package/dist/commonjs/static-helpers/serialization/serialize-record.js.map +1 -1
- package/dist/commonjs/static-helpers/urlTemplate.js +1 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/commonjs/util.js +1 -0
- package/dist/commonjs/util.js.map +1 -1
- package/dist/esm/aiProjectClient.d.ts +8 -4
- package/dist/esm/aiProjectClient.d.ts.map +1 -1
- package/dist/esm/aiProjectClient.js +151 -94
- package/dist/esm/aiProjectClient.js.map +1 -7
- package/dist/esm/api/agents/index.js +4 -28
- package/dist/esm/api/agents/index.js.map +1 -7
- package/dist/esm/api/agents/operations.d.ts.map +1 -1
- package/dist/esm/api/agents/operations.js +390 -473
- package/dist/esm/api/agents/operations.js.map +1 -7
- package/dist/esm/api/agents/options.d.ts +11 -1
- package/dist/esm/api/agents/options.d.ts.map +1 -1
- package/dist/esm/api/agents/options.js +4 -0
- package/dist/esm/api/agents/options.js.map +1 -7
- package/dist/esm/api/aiProjectContext.js +21 -19
- package/dist/esm/api/aiProjectContext.js.map +1 -7
- package/dist/esm/api/beta/agents/index.d.ts +3 -0
- package/dist/esm/api/beta/agents/index.d.ts.map +1 -0
- package/dist/esm/api/beta/agents/index.js +4 -0
- package/dist/esm/api/beta/agents/index.js.map +1 -0
- package/dist/esm/api/beta/agents/operations.d.ts +58 -0
- package/dist/esm/api/beta/agents/operations.d.ts.map +1 -0
- package/dist/esm/api/beta/agents/operations.js +340 -0
- package/dist/esm/api/beta/agents/operations.js.map +1 -0
- package/dist/esm/api/beta/agents/options.d.ts +78 -0
- package/dist/esm/api/beta/agents/options.d.ts.map +1 -0
- package/dist/esm/api/beta/agents/options.js +4 -0
- package/dist/esm/api/beta/agents/options.js.map +1 -0
- package/dist/esm/api/beta/evaluationTaxonomies/index.js +4 -8
- package/dist/esm/api/beta/evaluationTaxonomies/index.js.map +1 -7
- package/dist/esm/api/beta/evaluationTaxonomies/operations.js +150 -183
- package/dist/esm/api/beta/evaluationTaxonomies/operations.js.map +1 -7
- package/dist/esm/api/beta/evaluationTaxonomies/options.js +4 -0
- package/dist/esm/api/beta/evaluationTaxonomies/options.js.map +1 -7
- package/dist/esm/api/beta/evaluators/index.d.ts +2 -2
- package/dist/esm/api/beta/evaluators/index.d.ts.map +1 -1
- package/dist/esm/api/beta/evaluators/index.js +4 -16
- package/dist/esm/api/beta/evaluators/index.js.map +1 -7
- package/dist/esm/api/beta/evaluators/operations.d.ts +5 -5
- package/dist/esm/api/beta/evaluators/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/evaluators/operations.js +192 -243
- package/dist/esm/api/beta/evaluators/operations.js.map +1 -7
- package/dist/esm/api/beta/evaluators/options.d.ts +1 -1
- package/dist/esm/api/beta/evaluators/options.d.ts.map +1 -1
- package/dist/esm/api/beta/evaluators/options.js +4 -0
- package/dist/esm/api/beta/evaluators/options.js.map +1 -7
- package/dist/esm/api/beta/insights/index.js +4 -6
- package/dist/esm/api/beta/insights/index.js.map +1 -7
- package/dist/esm/api/beta/insights/operations.d.ts +2 -2
- package/dist/esm/api/beta/insights/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/insights/operations.js +115 -126
- package/dist/esm/api/beta/insights/operations.js.map +1 -7
- package/dist/esm/api/beta/insights/options.js +4 -0
- package/dist/esm/api/beta/insights/options.js.map +1 -7
- package/dist/esm/api/beta/memoryStores/index.js +4 -22
- package/dist/esm/api/beta/memoryStores/index.js.map +1 -7
- package/dist/esm/api/beta/memoryStores/operations.js +305 -374
- package/dist/esm/api/beta/memoryStores/operations.js.map +1 -7
- package/dist/esm/api/beta/memoryStores/options.d.ts +2 -2
- package/dist/esm/api/beta/memoryStores/options.d.ts.map +1 -1
- package/dist/esm/api/beta/memoryStores/options.js +5 -0
- package/dist/esm/api/beta/memoryStores/options.js.map +1 -7
- package/dist/esm/api/beta/redTeams/index.js +4 -6
- package/dist/esm/api/beta/redTeams/index.js.map +1 -7
- package/dist/esm/api/beta/redTeams/operations.js +95 -119
- package/dist/esm/api/beta/redTeams/operations.js.map +1 -7
- package/dist/esm/api/beta/redTeams/options.js +4 -0
- package/dist/esm/api/beta/redTeams/options.js.map +1 -7
- package/dist/esm/api/beta/schedules/index.js +4 -9
- package/dist/esm/api/beta/schedules/index.js.map +1 -7
- package/dist/esm/api/beta/schedules/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/schedules/operations.js +206 -248
- package/dist/esm/api/beta/schedules/operations.js.map +1 -7
- package/dist/esm/api/beta/schedules/options.js +4 -0
- package/dist/esm/api/beta/schedules/options.js.map +1 -7
- package/dist/esm/api/beta/skills/index.d.ts +3 -0
- package/dist/esm/api/beta/skills/index.d.ts.map +1 -0
- package/dist/esm/api/beta/skills/index.js +4 -0
- package/dist/esm/api/beta/skills/index.js.map +1 -0
- package/dist/esm/api/beta/skills/operations.d.ts +34 -0
- package/dist/esm/api/beta/skills/operations.d.ts.map +1 -0
- package/dist/esm/api/beta/skills/operations.js +245 -0
- package/dist/esm/api/beta/skills/operations.js.map +1 -0
- package/dist/esm/api/beta/skills/options.d.ts +72 -0
- package/dist/esm/api/beta/skills/options.d.ts.map +1 -0
- package/dist/esm/api/beta/skills/options.js +4 -0
- package/dist/esm/api/beta/skills/options.js.map +1 -0
- package/dist/esm/api/beta/toolboxes/index.d.ts +3 -0
- package/dist/esm/api/beta/toolboxes/index.d.ts.map +1 -0
- package/dist/esm/api/beta/toolboxes/index.js +4 -0
- package/dist/esm/api/beta/toolboxes/index.js.map +1 -0
- package/dist/esm/api/beta/toolboxes/operations.d.ts +38 -0
- package/dist/esm/api/beta/toolboxes/operations.d.ts.map +1 -0
- package/dist/esm/api/beta/toolboxes/operations.js +273 -0
- package/dist/esm/api/beta/toolboxes/operations.js.map +1 -0
- package/dist/esm/api/beta/toolboxes/options.d.ts +77 -0
- package/dist/esm/api/beta/toolboxes/options.d.ts.map +1 -0
- package/dist/esm/api/beta/toolboxes/options.js +4 -0
- package/dist/esm/api/beta/toolboxes/options.js.map +1 -0
- package/dist/esm/api/connections/index.js +4 -6
- package/dist/esm/api/connections/index.js.map +1 -7
- package/dist/esm/api/connections/operations.js +109 -116
- package/dist/esm/api/connections/operations.js.map +1 -7
- package/dist/esm/api/connections/options.js +4 -0
- package/dist/esm/api/connections/options.js.map +1 -7
- package/dist/esm/api/datasets/index.js +4 -18
- package/dist/esm/api/datasets/index.js.map +1 -7
- package/dist/esm/api/datasets/operations.d.ts.map +1 -1
- package/dist/esm/api/datasets/operations.js +288 -355
- package/dist/esm/api/datasets/operations.js.map +1 -7
- package/dist/esm/api/datasets/options.js +4 -0
- package/dist/esm/api/datasets/options.js.map +1 -7
- package/dist/esm/api/deployments/index.js +4 -5
- package/dist/esm/api/deployments/index.js.map +1 -7
- package/dist/esm/api/deployments/operations.js +57 -70
- package/dist/esm/api/deployments/operations.js.map +1 -7
- package/dist/esm/api/deployments/options.js +4 -0
- package/dist/esm/api/deployments/options.js.map +1 -7
- package/dist/esm/api/evaluationRules/index.js +4 -7
- package/dist/esm/api/evaluationRules/index.js.map +1 -7
- package/dist/esm/api/evaluationRules/operations.d.ts.map +1 -1
- package/dist/esm/api/evaluationRules/operations.js +102 -144
- package/dist/esm/api/evaluationRules/operations.js.map +1 -7
- package/dist/esm/api/evaluationRules/options.d.ts +0 -8
- package/dist/esm/api/evaluationRules/options.d.ts.map +1 -1
- package/dist/esm/api/evaluationRules/options.js +4 -0
- package/dist/esm/api/evaluationRules/options.js.map +1 -7
- package/dist/esm/api/index.d.ts +1 -1
- 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 +1 -7
- package/dist/esm/api/indexes/index.js +4 -8
- package/dist/esm/api/indexes/index.js.map +1 -7
- package/dist/esm/api/indexes/operations.js +116 -161
- package/dist/esm/api/indexes/operations.js.map +1 -7
- package/dist/esm/api/indexes/options.js +4 -0
- package/dist/esm/api/indexes/options.js.map +1 -7
- package/dist/esm/api/telemetry/index.js +4 -4
- package/dist/esm/api/telemetry/index.js.map +1 -7
- package/dist/esm/api/telemetry/operations.d.ts +1 -1
- package/dist/esm/api/telemetry/operations.d.ts.map +1 -1
- package/dist/esm/api/telemetry/operations.js +53 -46
- package/dist/esm/api/telemetry/operations.js.map +1 -7
- package/dist/esm/azureAgent.interface.d.ts +25 -0
- package/dist/esm/azureAgent.interface.d.ts.map +1 -0
- package/dist/esm/azureAgent.interface.js +4 -0
- package/dist/esm/azureAgent.interface.js.map +1 -0
- package/dist/esm/classic/agents/index.js +40 -80
- package/dist/esm/classic/agents/index.js.map +1 -7
- package/dist/esm/classic/beta/agents/index.d.ts +43 -0
- package/dist/esm/classic/beta/agents/index.d.ts.map +1 -0
- package/dist/esm/classic/beta/agents/index.js +22 -0
- package/dist/esm/classic/beta/agents/index.js.map +1 -0
- package/dist/esm/classic/beta/evaluationTaxonomies/index.js +15 -21
- package/dist/esm/classic/beta/evaluationTaxonomies/index.js.map +1 -7
- package/dist/esm/classic/beta/evaluators/index.d.ts +2 -2
- package/dist/esm/classic/beta/evaluators/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/evaluators/index.js +16 -23
- package/dist/esm/classic/beta/evaluators/index.js.map +1 -7
- package/dist/esm/classic/beta/index.d.ts +10 -1
- package/dist/esm/classic/beta/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/index.js +27 -18
- package/dist/esm/classic/beta/index.js.map +1 -7
- package/dist/esm/classic/beta/insights/index.d.ts +1 -1
- package/dist/esm/classic/beta/insights/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/insights/index.js +12 -12
- package/dist/esm/classic/beta/insights/index.js.map +1 -7
- package/dist/esm/classic/beta/memoryStores/index.js +19 -29
- package/dist/esm/classic/beta/memoryStores/index.js.map +1 -7
- package/dist/esm/classic/beta/redTeams/index.js +12 -12
- package/dist/esm/classic/beta/redTeams/index.js.map +1 -7
- package/dist/esm/classic/beta/schedules/index.js +16 -23
- package/dist/esm/classic/beta/schedules/index.js.map +1 -7
- package/dist/esm/classic/beta/skills/index.d.ts +23 -0
- package/dist/esm/classic/beta/skills/index.d.ts.map +1 -0
- package/dist/esm/classic/beta/skills/index.js +20 -0
- package/dist/esm/classic/beta/skills/index.js.map +1 -0
- package/dist/esm/classic/beta/toolboxes/index.d.ts +25 -0
- package/dist/esm/classic/beta/toolboxes/index.d.ts.map +1 -0
- package/dist/esm/classic/beta/toolboxes/index.js +21 -0
- package/dist/esm/classic/beta/toolboxes/index.js.map +1 -0
- package/dist/esm/classic/connections/index.js +13 -13
- package/dist/esm/classic/connections/index.js.map +1 -7
- package/dist/esm/classic/datasets/index.js +19 -29
- package/dist/esm/classic/datasets/index.js.map +1 -7
- package/dist/esm/classic/deployments/index.js +11 -11
- package/dist/esm/classic/deployments/index.js.map +1 -7
- package/dist/esm/classic/evaluationRules/index.js +13 -13
- package/dist/esm/classic/evaluationRules/index.js.map +1 -7
- package/dist/esm/classic/index.d.ts +3 -0
- package/dist/esm/classic/index.d.ts.map +1 -1
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -7
- package/dist/esm/classic/indexes/index.js +14 -14
- package/dist/esm/classic/indexes/index.js.map +1 -7
- package/dist/esm/classic/telemetry/index.d.ts +1 -1
- package/dist/esm/classic/telemetry/index.d.ts.map +1 -1
- package/dist/esm/classic/telemetry/index.js +7 -9
- package/dist/esm/classic/telemetry/index.js.map +1 -7
- package/dist/esm/constants.d.ts +1 -1
- package/dist/esm/constants.js +11 -6
- package/dist/esm/constants.js.map +1 -7
- package/dist/esm/deprecate.interface.d.ts +13 -0
- package/dist/esm/deprecate.interface.d.ts.map +1 -0
- package/dist/esm/deprecate.interface.js +4 -0
- package/dist/esm/deprecate.interface.js.map +1 -0
- package/dist/esm/getCustomFetch.js +40 -33
- package/dist/esm/getCustomFetch.js.map +1 -7
- package/dist/esm/index.d.ts +9 -3
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +5 -4
- package/dist/esm/index.js.map +1 -7
- package/dist/esm/logger.js +4 -4
- package/dist/esm/logger.js.map +1 -7
- 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 +4 -0
- package/dist/esm/models/index.js.map +1 -7
- package/dist/esm/models/models.d.ts +704 -157
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +4464 -4160
- package/dist/esm/models/models.js.map +1 -7
- package/dist/esm/overwriteOpenAIClient.js +13 -13
- package/dist/esm/overwriteOpenAIClient.js.map +1 -7
- package/dist/esm/static-helpers/pagingHelpers.js +123 -99
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -7
- package/dist/esm/static-helpers/pollingHelpers.js +98 -75
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -7
- package/dist/esm/static-helpers/serialization/get-binary-stream-response.d.ts +12 -0
- package/dist/esm/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -0
- package/dist/esm/static-helpers/serialization/get-binary-stream-response.js +17 -0
- package/dist/esm/static-helpers/serialization/get-binary-stream-response.js.map +1 -0
- package/dist/esm/static-helpers/serialization/serialize-record.js +18 -16
- package/dist/esm/static-helpers/serialization/serialize-record.js.map +1 -7
- package/dist/esm/static-helpers/urlTemplate.js +169 -142
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -7
- package/dist/esm/util.js +84 -63
- package/dist/esm/util.js.map +1 -7
- package/dist/react-native/aiProjectClient.d.ts +8 -4
- package/dist/react-native/aiProjectClient.d.ts.map +1 -1
- package/dist/react-native/aiProjectClient.js +39 -7
- package/dist/react-native/aiProjectClient.js.map +1 -1
- package/dist/react-native/api/agents/operations.d.ts.map +1 -1
- package/dist/react-native/api/agents/operations.js +33 -18
- package/dist/react-native/api/agents/operations.js.map +1 -1
- package/dist/react-native/api/agents/options.d.ts +11 -1
- 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/beta/agents/index.d.ts +3 -0
- package/dist/react-native/api/beta/agents/index.d.ts.map +1 -0
- package/dist/react-native/api/beta/agents/index.js +4 -0
- package/dist/react-native/api/beta/agents/index.js.map +1 -0
- package/dist/react-native/api/beta/agents/operations.d.ts +58 -0
- package/dist/react-native/api/beta/agents/operations.d.ts.map +1 -0
- package/dist/react-native/api/beta/agents/operations.js +340 -0
- package/dist/react-native/api/beta/agents/operations.js.map +1 -0
- package/dist/react-native/api/beta/agents/options.d.ts +78 -0
- package/dist/react-native/api/beta/agents/options.d.ts.map +1 -0
- package/dist/react-native/api/beta/agents/options.js +4 -0
- package/dist/react-native/api/beta/agents/options.js.map +1 -0
- package/dist/react-native/api/beta/evaluators/index.d.ts +2 -2
- package/dist/react-native/api/beta/evaluators/index.d.ts.map +1 -1
- package/dist/react-native/api/beta/evaluators/index.js +1 -1
- package/dist/react-native/api/beta/evaluators/index.js.map +1 -1
- package/dist/react-native/api/beta/evaluators/operations.d.ts +5 -5
- package/dist/react-native/api/beta/evaluators/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/evaluators/operations.js +5 -5
- package/dist/react-native/api/beta/evaluators/operations.js.map +1 -1
- package/dist/react-native/api/beta/evaluators/options.d.ts +1 -1
- package/dist/react-native/api/beta/evaluators/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/evaluators/options.js.map +1 -1
- package/dist/react-native/api/beta/insights/operations.d.ts +2 -2
- package/dist/react-native/api/beta/insights/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/insights/operations.js +15 -9
- package/dist/react-native/api/beta/insights/operations.js.map +1 -1
- package/dist/react-native/api/beta/memoryStores/options.d.ts +2 -2
- package/dist/react-native/api/beta/memoryStores/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/memoryStores/options.js +1 -0
- package/dist/react-native/api/beta/memoryStores/options.js.map +1 -1
- package/dist/react-native/api/beta/schedules/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/schedules/operations.js +4 -2
- package/dist/react-native/api/beta/schedules/operations.js.map +1 -1
- package/dist/react-native/api/beta/skills/index.d.ts +3 -0
- package/dist/react-native/api/beta/skills/index.d.ts.map +1 -0
- package/dist/react-native/api/beta/skills/index.js +4 -0
- package/dist/react-native/api/beta/skills/index.js.map +1 -0
- package/dist/react-native/api/beta/skills/operations.d.ts +34 -0
- package/dist/react-native/api/beta/skills/operations.d.ts.map +1 -0
- package/dist/react-native/api/beta/skills/operations.js +245 -0
- package/dist/react-native/api/beta/skills/operations.js.map +1 -0
- package/dist/react-native/api/beta/skills/options.d.ts +72 -0
- package/dist/react-native/api/beta/skills/options.d.ts.map +1 -0
- package/dist/react-native/api/beta/skills/options.js +4 -0
- package/dist/react-native/api/beta/skills/options.js.map +1 -0
- package/dist/react-native/api/beta/toolboxes/index.d.ts +3 -0
- package/dist/react-native/api/beta/toolboxes/index.d.ts.map +1 -0
- package/dist/react-native/api/beta/toolboxes/index.js +4 -0
- package/dist/react-native/api/beta/toolboxes/index.js.map +1 -0
- package/dist/react-native/api/beta/toolboxes/operations.d.ts +38 -0
- package/dist/react-native/api/beta/toolboxes/operations.d.ts.map +1 -0
- package/dist/react-native/api/beta/toolboxes/operations.js +273 -0
- package/dist/react-native/api/beta/toolboxes/operations.js.map +1 -0
- package/dist/react-native/api/beta/toolboxes/options.d.ts +77 -0
- package/dist/react-native/api/beta/toolboxes/options.d.ts.map +1 -0
- package/dist/react-native/api/beta/toolboxes/options.js +4 -0
- package/dist/react-native/api/beta/toolboxes/options.js.map +1 -0
- package/dist/react-native/api/datasets/operations.d.ts.map +1 -1
- package/dist/react-native/api/datasets/operations.js +9 -8
- package/dist/react-native/api/datasets/operations.js.map +1 -1
- package/dist/react-native/api/evaluationRules/operations.d.ts.map +1 -1
- package/dist/react-native/api/evaluationRules/operations.js +5 -24
- package/dist/react-native/api/evaluationRules/operations.js.map +1 -1
- package/dist/react-native/api/evaluationRules/options.d.ts +0 -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 +1 -1
- 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/telemetry/operations.d.ts +1 -1
- package/dist/react-native/api/telemetry/operations.d.ts.map +1 -1
- package/dist/react-native/api/telemetry/operations.js.map +1 -1
- package/dist/react-native/azureAgent.interface.d.ts +25 -0
- package/dist/react-native/azureAgent.interface.d.ts.map +1 -0
- package/dist/react-native/azureAgent.interface.js +4 -0
- package/dist/react-native/azureAgent.interface.js.map +1 -0
- package/dist/react-native/classic/beta/agents/index.d.ts +43 -0
- package/dist/react-native/classic/beta/agents/index.d.ts.map +1 -0
- package/dist/react-native/classic/beta/agents/index.js +22 -0
- package/dist/react-native/classic/beta/agents/index.js.map +1 -0
- package/dist/react-native/classic/beta/evaluators/index.d.ts +2 -2
- package/dist/react-native/classic/beta/evaluators/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/evaluators/index.js +2 -2
- package/dist/react-native/classic/beta/evaluators/index.js.map +1 -1
- package/dist/react-native/classic/beta/index.d.ts +10 -1
- package/dist/react-native/classic/beta/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/index.js +10 -1
- package/dist/react-native/classic/beta/index.js.map +1 -1
- package/dist/react-native/classic/beta/insights/index.d.ts +1 -1
- package/dist/react-native/classic/beta/insights/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/insights/index.js +1 -1
- package/dist/react-native/classic/beta/insights/index.js.map +1 -1
- package/dist/react-native/classic/beta/skills/index.d.ts +23 -0
- package/dist/react-native/classic/beta/skills/index.d.ts.map +1 -0
- package/dist/react-native/classic/beta/skills/index.js +20 -0
- package/dist/react-native/classic/beta/skills/index.js.map +1 -0
- package/dist/react-native/classic/beta/toolboxes/index.d.ts +25 -0
- package/dist/react-native/classic/beta/toolboxes/index.d.ts.map +1 -0
- package/dist/react-native/classic/beta/toolboxes/index.js +21 -0
- package/dist/react-native/classic/beta/toolboxes/index.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +3 -0
- 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/telemetry/index.d.ts +1 -1
- package/dist/react-native/classic/telemetry/index.d.ts.map +1 -1
- 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.js +1 -1
- package/dist/react-native/constants.js.map +1 -1
- package/dist/react-native/deprecate.interface.d.ts +13 -0
- package/dist/react-native/deprecate.interface.d.ts.map +1 -0
- package/dist/react-native/deprecate.interface.js +4 -0
- package/dist/react-native/deprecate.interface.js.map +1 -0
- package/dist/react-native/index.d.ts +9 -3
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +1 -0
- 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.map +1 -1
- package/dist/react-native/models/models.d.ts +704 -157
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +931 -176
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response.d.ts +12 -0
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -0
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response.js +17 -0
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response.js.map +1 -0
- package/package.json +11 -10
|
@@ -7,6 +7,21 @@ export function agentDeserializer(item) {
|
|
|
7
7
|
id: item["id"],
|
|
8
8
|
name: item["name"],
|
|
9
9
|
versions: _agentVersionsDeserializer(item["versions"]),
|
|
10
|
+
agent_endpoint: !item["agent_endpoint"]
|
|
11
|
+
? item["agent_endpoint"]
|
|
12
|
+
: agentEndpointDeserializer(item["agent_endpoint"]),
|
|
13
|
+
instance_identity: !item["instance_identity"]
|
|
14
|
+
? item["instance_identity"]
|
|
15
|
+
: agentIdentityDeserializer(item["instance_identity"]),
|
|
16
|
+
blueprint: !item["blueprint"]
|
|
17
|
+
? item["blueprint"]
|
|
18
|
+
: agentIdentityDeserializer(item["blueprint"]),
|
|
19
|
+
blueprint_reference: !item["blueprint_reference"]
|
|
20
|
+
? item["blueprint_reference"]
|
|
21
|
+
: agentBlueprintReferenceUnionDeserializer(item["blueprint_reference"]),
|
|
22
|
+
agent_card: !item["agent_card"]
|
|
23
|
+
? item["agent_card"]
|
|
24
|
+
: agentCardDeserializer(item["agent_card"]),
|
|
10
25
|
};
|
|
11
26
|
}
|
|
12
27
|
export function _agentVersionsDeserializer(item) {
|
|
@@ -21,9 +36,20 @@ export function agentVersionDeserializer(item) {
|
|
|
21
36
|
id: item["id"],
|
|
22
37
|
name: item["name"],
|
|
23
38
|
version: item["version"],
|
|
39
|
+
status: item["status"],
|
|
24
40
|
description: item["description"],
|
|
25
41
|
created_at: new Date(item["created_at"] * 1000),
|
|
26
42
|
definition: agentDefinitionUnionDeserializer(item["definition"]),
|
|
43
|
+
instance_identity: !item["instance_identity"]
|
|
44
|
+
? item["instance_identity"]
|
|
45
|
+
: agentIdentityDeserializer(item["instance_identity"]),
|
|
46
|
+
blueprint: !item["blueprint"]
|
|
47
|
+
? item["blueprint"]
|
|
48
|
+
: agentIdentityDeserializer(item["blueprint"]),
|
|
49
|
+
blueprint_reference: !item["blueprint_reference"]
|
|
50
|
+
? item["blueprint_reference"]
|
|
51
|
+
: agentBlueprintReferenceUnionDeserializer(item["blueprint_reference"]),
|
|
52
|
+
agent_guid: item["agent_guid"],
|
|
27
53
|
};
|
|
28
54
|
}
|
|
29
55
|
export function agentDefinitionSerializer(item) {
|
|
@@ -42,24 +68,24 @@ export function agentDefinitionDeserializer(item) {
|
|
|
42
68
|
}
|
|
43
69
|
export function agentDefinitionUnionSerializer(item) {
|
|
44
70
|
switch (item.kind) {
|
|
71
|
+
case "hosted":
|
|
72
|
+
return hostedAgentDefinitionSerializer(item);
|
|
45
73
|
case "prompt":
|
|
46
74
|
return promptAgentDefinitionSerializer(item);
|
|
47
75
|
case "workflow":
|
|
48
76
|
return workflowAgentDefinitionSerializer(item);
|
|
49
|
-
case "hosted":
|
|
50
|
-
return hostedAgentDefinitionSerializer(item);
|
|
51
77
|
default:
|
|
52
78
|
return agentDefinitionSerializer(item);
|
|
53
79
|
}
|
|
54
80
|
}
|
|
55
81
|
export function agentDefinitionUnionDeserializer(item) {
|
|
56
|
-
switch (item
|
|
82
|
+
switch (item["kind"]) {
|
|
83
|
+
case "hosted":
|
|
84
|
+
return hostedAgentDefinitionDeserializer(item);
|
|
57
85
|
case "prompt":
|
|
58
86
|
return promptAgentDefinitionDeserializer(item);
|
|
59
87
|
case "workflow":
|
|
60
88
|
return workflowAgentDefinitionDeserializer(item);
|
|
61
|
-
case "hosted":
|
|
62
|
-
return hostedAgentDefinitionDeserializer(item);
|
|
63
89
|
default:
|
|
64
90
|
return agentDefinitionDeserializer(item);
|
|
65
91
|
}
|
|
@@ -72,58 +98,54 @@ export function raiConfigDeserializer(item) {
|
|
|
72
98
|
rai_policy_name: item["rai_policy_name"],
|
|
73
99
|
};
|
|
74
100
|
}
|
|
75
|
-
export function
|
|
101
|
+
export function hostedAgentDefinitionSerializer(item) {
|
|
76
102
|
return {
|
|
77
103
|
kind: item["kind"],
|
|
78
104
|
rai_config: !item["rai_config"] ? item["rai_config"] : raiConfigSerializer(item["rai_config"]),
|
|
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
105
|
tools: !item["tools"] ? item["tools"] : toolUnionArraySerializer(item["tools"]),
|
|
85
|
-
|
|
86
|
-
? item["
|
|
87
|
-
:
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
106
|
+
container_protocol_versions: !item["container_protocol_versions"]
|
|
107
|
+
? item["container_protocol_versions"]
|
|
108
|
+
: protocolVersionRecordArraySerializer(item["container_protocol_versions"]),
|
|
109
|
+
cpu: item["cpu"],
|
|
110
|
+
memory: item["memory"],
|
|
111
|
+
environment_variables: item["environment_variables"],
|
|
112
|
+
image: item["image"],
|
|
113
|
+
container_configuration: !item["container_configuration"]
|
|
114
|
+
? item["container_configuration"]
|
|
115
|
+
: containerConfigurationSerializer(item["container_configuration"]),
|
|
116
|
+
protocol_versions: !item["protocol_versions"]
|
|
117
|
+
? item["protocol_versions"]
|
|
118
|
+
: protocolVersionRecordArraySerializer(item["protocol_versions"]),
|
|
119
|
+
code_configuration: !item["code_configuration"]
|
|
120
|
+
? item["code_configuration"]
|
|
121
|
+
: codeConfigurationSerializer(item["code_configuration"]),
|
|
92
122
|
};
|
|
93
123
|
}
|
|
94
|
-
export function
|
|
124
|
+
export function hostedAgentDefinitionDeserializer(item) {
|
|
95
125
|
return {
|
|
96
126
|
kind: item["kind"],
|
|
97
127
|
rai_config: !item["rai_config"]
|
|
98
128
|
? item["rai_config"]
|
|
99
129
|
: raiConfigDeserializer(item["rai_config"]),
|
|
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
130
|
tools: !item["tools"] ? item["tools"] : toolUnionArrayDeserializer(item["tools"]),
|
|
106
|
-
|
|
107
|
-
? item["
|
|
108
|
-
:
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
effort: item["effort"],
|
|
125
|
-
summary: item["summary"],
|
|
126
|
-
generate_summary: item["generate_summary"],
|
|
131
|
+
container_protocol_versions: !item["container_protocol_versions"]
|
|
132
|
+
? item["container_protocol_versions"]
|
|
133
|
+
: protocolVersionRecordArrayDeserializer(item["container_protocol_versions"]),
|
|
134
|
+
cpu: item["cpu"],
|
|
135
|
+
memory: item["memory"],
|
|
136
|
+
environment_variables: !item["environment_variables"]
|
|
137
|
+
? item["environment_variables"]
|
|
138
|
+
: Object.fromEntries(Object.entries(item["environment_variables"]).map(([k, p]) => [k, p])),
|
|
139
|
+
image: item["image"],
|
|
140
|
+
container_configuration: !item["container_configuration"]
|
|
141
|
+
? item["container_configuration"]
|
|
142
|
+
: containerConfigurationDeserializer(item["container_configuration"]),
|
|
143
|
+
protocol_versions: !item["protocol_versions"]
|
|
144
|
+
? item["protocol_versions"]
|
|
145
|
+
: protocolVersionRecordArrayDeserializer(item["protocol_versions"]),
|
|
146
|
+
code_configuration: !item["code_configuration"]
|
|
147
|
+
? item["code_configuration"]
|
|
148
|
+
: codeConfigurationDeserializer(item["code_configuration"]),
|
|
127
149
|
};
|
|
128
150
|
}
|
|
129
151
|
export function toolUnionArraySerializer(result) {
|
|
@@ -166,6 +188,8 @@ export function toolUnionSerializer(item) {
|
|
|
166
188
|
return captureStructuredOutputsToolSerializer(item);
|
|
167
189
|
case "a2a_preview":
|
|
168
190
|
return a2APreviewToolSerializer(item);
|
|
191
|
+
case "work_iq_preview":
|
|
192
|
+
return workIQPreviewToolSerializer(item);
|
|
169
193
|
case "memory_search_preview":
|
|
170
194
|
return memorySearchPreviewToolSerializer(item);
|
|
171
195
|
case "code_interpreter":
|
|
@@ -192,6 +216,12 @@ export function toolUnionSerializer(item) {
|
|
|
192
216
|
return webSearchPreviewToolSerializer(item);
|
|
193
217
|
case "apply_patch":
|
|
194
218
|
return applyPatchToolParamSerializer(item);
|
|
219
|
+
case "computer":
|
|
220
|
+
return computerToolSerializer(item);
|
|
221
|
+
case "namespace":
|
|
222
|
+
return namespaceToolParamSerializer(item);
|
|
223
|
+
case "tool_search":
|
|
224
|
+
return toolSearchToolParamSerializer(item);
|
|
195
225
|
default:
|
|
196
226
|
return toolSerializer(item);
|
|
197
227
|
}
|
|
@@ -218,6 +248,8 @@ export function toolUnionDeserializer(item) {
|
|
|
218
248
|
return captureStructuredOutputsToolDeserializer(item);
|
|
219
249
|
case "a2a_preview":
|
|
220
250
|
return a2APreviewToolDeserializer(item);
|
|
251
|
+
case "work_iq_preview":
|
|
252
|
+
return workIQPreviewToolDeserializer(item);
|
|
221
253
|
case "memory_search_preview":
|
|
222
254
|
return memorySearchPreviewToolDeserializer(item);
|
|
223
255
|
case "code_interpreter":
|
|
@@ -244,6 +276,12 @@ export function toolUnionDeserializer(item) {
|
|
|
244
276
|
return webSearchPreviewToolDeserializer(item);
|
|
245
277
|
case "apply_patch":
|
|
246
278
|
return applyPatchToolParamDeserializer(item);
|
|
279
|
+
case "computer":
|
|
280
|
+
return computerToolDeserializer(item);
|
|
281
|
+
case "namespace":
|
|
282
|
+
return namespaceToolParamDeserializer(item);
|
|
283
|
+
case "tool_search":
|
|
284
|
+
return toolSearchToolParamDeserializer(item);
|
|
247
285
|
default:
|
|
248
286
|
return toolDeserializer(item);
|
|
249
287
|
}
|
|
@@ -682,11 +720,18 @@ export function azureFunctionStorageQueueDeserializer(item) {
|
|
|
682
720
|
};
|
|
683
721
|
}
|
|
684
722
|
export function captureStructuredOutputsToolSerializer(item) {
|
|
685
|
-
return {
|
|
723
|
+
return {
|
|
724
|
+
type: item["type"],
|
|
725
|
+
name: item["name"],
|
|
726
|
+
description: item["description"],
|
|
727
|
+
outputs: structuredOutputDefinitionSerializer(item["outputs"]),
|
|
728
|
+
};
|
|
686
729
|
}
|
|
687
730
|
export function captureStructuredOutputsToolDeserializer(item) {
|
|
688
731
|
return {
|
|
689
732
|
type: item["type"],
|
|
733
|
+
name: item["name"],
|
|
734
|
+
description: item["description"],
|
|
690
735
|
outputs: structuredOutputDefinitionDeserializer(item["outputs"]),
|
|
691
736
|
};
|
|
692
737
|
}
|
|
@@ -722,6 +767,30 @@ export function a2APreviewToolDeserializer(item) {
|
|
|
722
767
|
project_connection_id: item["project_connection_id"],
|
|
723
768
|
};
|
|
724
769
|
}
|
|
770
|
+
export function workIQPreviewToolSerializer(item) {
|
|
771
|
+
return {
|
|
772
|
+
type: item["type"],
|
|
773
|
+
name: item["name"],
|
|
774
|
+
description: item["description"],
|
|
775
|
+
work_iq_preview: workIQPreviewToolParametersSerializer(item["work_iq_preview"]),
|
|
776
|
+
};
|
|
777
|
+
}
|
|
778
|
+
export function workIQPreviewToolDeserializer(item) {
|
|
779
|
+
return {
|
|
780
|
+
type: item["type"],
|
|
781
|
+
name: item["name"],
|
|
782
|
+
description: item["description"],
|
|
783
|
+
work_iq_preview: workIQPreviewToolParametersDeserializer(item["work_iq_preview"]),
|
|
784
|
+
};
|
|
785
|
+
}
|
|
786
|
+
export function workIQPreviewToolParametersSerializer(item) {
|
|
787
|
+
return { project_connection_id: item["project_connection_id"] };
|
|
788
|
+
}
|
|
789
|
+
export function workIQPreviewToolParametersDeserializer(item) {
|
|
790
|
+
return {
|
|
791
|
+
project_connection_id: item["project_connection_id"],
|
|
792
|
+
};
|
|
793
|
+
}
|
|
725
794
|
export function memorySearchPreviewToolSerializer(item) {
|
|
726
795
|
return {
|
|
727
796
|
type: item["type"],
|
|
@@ -755,6 +824,8 @@ export function memorySearchOptionsDeserializer(item) {
|
|
|
755
824
|
export function codeInterpreterToolSerializer(item) {
|
|
756
825
|
return {
|
|
757
826
|
type: item["type"],
|
|
827
|
+
name: item["name"],
|
|
828
|
+
description: item["description"],
|
|
758
829
|
container: !item["container"]
|
|
759
830
|
? item["container"]
|
|
760
831
|
: _codeInterpreterToolContainerSerializer(item["container"]),
|
|
@@ -763,6 +834,8 @@ export function codeInterpreterToolSerializer(item) {
|
|
|
763
834
|
export function codeInterpreterToolDeserializer(item) {
|
|
764
835
|
return {
|
|
765
836
|
type: item["type"],
|
|
837
|
+
name: item["name"],
|
|
838
|
+
description: item["description"],
|
|
766
839
|
container: !item["container"]
|
|
767
840
|
? item["container"]
|
|
768
841
|
: _codeInterpreterToolContainerDeserializer(item["container"]),
|
|
@@ -883,6 +956,7 @@ export function functionToolSerializer(item) {
|
|
|
883
956
|
description: item["description"],
|
|
884
957
|
parameters: item["parameters"],
|
|
885
958
|
strict: item["strict"],
|
|
959
|
+
defer_loading: item["defer_loading"],
|
|
886
960
|
};
|
|
887
961
|
}
|
|
888
962
|
export function functionToolDeserializer(item) {
|
|
@@ -892,6 +966,7 @@ export function functionToolDeserializer(item) {
|
|
|
892
966
|
description: item["description"],
|
|
893
967
|
parameters: item["parameters"],
|
|
894
968
|
strict: item["strict"],
|
|
969
|
+
defer_loading: item["defer_loading"],
|
|
895
970
|
};
|
|
896
971
|
}
|
|
897
972
|
export function fileSearchToolSerializer(item) {
|
|
@@ -903,6 +978,8 @@ export function fileSearchToolSerializer(item) {
|
|
|
903
978
|
? item["ranking_options"]
|
|
904
979
|
: rankingOptionsSerializer(item["ranking_options"]),
|
|
905
980
|
filters: !item["filters"] ? item["filters"] : filtersSerializer(item["filters"]),
|
|
981
|
+
name: item["name"],
|
|
982
|
+
description: item["description"],
|
|
906
983
|
};
|
|
907
984
|
}
|
|
908
985
|
export function fileSearchToolDeserializer(item) {
|
|
@@ -914,6 +991,8 @@ export function fileSearchToolDeserializer(item) {
|
|
|
914
991
|
? item["ranking_options"]
|
|
915
992
|
: rankingOptionsDeserializer(item["ranking_options"]),
|
|
916
993
|
filters: !item["filters"] ? item["filters"] : filtersDeserializer(item["filters"]),
|
|
994
|
+
name: item["name"],
|
|
995
|
+
description: item["description"],
|
|
917
996
|
};
|
|
918
997
|
}
|
|
919
998
|
export function rankingOptionsSerializer(item) {
|
|
@@ -1034,6 +1113,8 @@ export function webSearchToolSerializer(item) {
|
|
|
1034
1113
|
? item["user_location"]
|
|
1035
1114
|
: webSearchApproximateLocationSerializer(item["user_location"]),
|
|
1036
1115
|
search_context_size: item["search_context_size"],
|
|
1116
|
+
name: item["name"],
|
|
1117
|
+
description: item["description"],
|
|
1037
1118
|
custom_search_configuration: !item["custom_search_configuration"]
|
|
1038
1119
|
? item["custom_search_configuration"]
|
|
1039
1120
|
: webSearchConfigurationSerializer(item["custom_search_configuration"]),
|
|
@@ -1047,6 +1128,8 @@ export function webSearchToolDeserializer(item) {
|
|
|
1047
1128
|
? item["user_location"]
|
|
1048
1129
|
: webSearchApproximateLocationDeserializer(item["user_location"]),
|
|
1049
1130
|
search_context_size: item["search_context_size"],
|
|
1131
|
+
name: item["name"],
|
|
1132
|
+
description: item["description"],
|
|
1050
1133
|
custom_search_configuration: !item["custom_search_configuration"]
|
|
1051
1134
|
? item["custom_search_configuration"]
|
|
1052
1135
|
: webSearchConfigurationDeserializer(item["custom_search_configuration"]),
|
|
@@ -1107,6 +1190,7 @@ export function mcpToolSerializer(item) {
|
|
|
1107
1190
|
require_approval: !item["require_approval"]
|
|
1108
1191
|
? item["require_approval"]
|
|
1109
1192
|
: _mcpToolRequireApprovalSerializer(item["require_approval"]),
|
|
1193
|
+
defer_loading: item["defer_loading"],
|
|
1110
1194
|
project_connection_id: item["project_connection_id"],
|
|
1111
1195
|
};
|
|
1112
1196
|
}
|
|
@@ -1125,6 +1209,7 @@ export function mcpToolDeserializer(item) {
|
|
|
1125
1209
|
require_approval: !item["require_approval"]
|
|
1126
1210
|
? item["require_approval"]
|
|
1127
1211
|
: _mcpToolRequireApprovalDeserializer(item["require_approval"]),
|
|
1212
|
+
defer_loading: item["defer_loading"],
|
|
1128
1213
|
project_connection_id: item["project_connection_id"],
|
|
1129
1214
|
};
|
|
1130
1215
|
}
|
|
@@ -1179,6 +1264,9 @@ export function imageGenToolSerializer(item) {
|
|
|
1179
1264
|
? item["input_image_mask"]
|
|
1180
1265
|
: imageGenToolInputImageMaskSerializer(item["input_image_mask"]),
|
|
1181
1266
|
partial_images: item["partial_images"],
|
|
1267
|
+
action: item["action"],
|
|
1268
|
+
name: item["name"],
|
|
1269
|
+
description: item["description"],
|
|
1182
1270
|
};
|
|
1183
1271
|
}
|
|
1184
1272
|
export function imageGenToolDeserializer(item) {
|
|
@@ -1196,6 +1284,9 @@ export function imageGenToolDeserializer(item) {
|
|
|
1196
1284
|
? item["input_image_mask"]
|
|
1197
1285
|
: imageGenToolInputImageMaskDeserializer(item["input_image_mask"]),
|
|
1198
1286
|
partial_images: item["partial_images"],
|
|
1287
|
+
action: item["action"],
|
|
1288
|
+
name: item["name"],
|
|
1289
|
+
description: item["description"],
|
|
1199
1290
|
};
|
|
1200
1291
|
}
|
|
1201
1292
|
export function imageGenToolInputImageMaskSerializer(item) {
|
|
@@ -1208,11 +1299,13 @@ export function imageGenToolInputImageMaskDeserializer(item) {
|
|
|
1208
1299
|
};
|
|
1209
1300
|
}
|
|
1210
1301
|
export function localShellToolParamSerializer(item) {
|
|
1211
|
-
return { type: item["type"] };
|
|
1302
|
+
return { type: item["type"], name: item["name"], description: item["description"] };
|
|
1212
1303
|
}
|
|
1213
1304
|
export function localShellToolParamDeserializer(item) {
|
|
1214
1305
|
return {
|
|
1215
1306
|
type: item["type"],
|
|
1307
|
+
name: item["name"],
|
|
1308
|
+
description: item["description"],
|
|
1216
1309
|
};
|
|
1217
1310
|
}
|
|
1218
1311
|
export function functionShellToolParamSerializer(item) {
|
|
@@ -1221,6 +1314,8 @@ export function functionShellToolParamSerializer(item) {
|
|
|
1221
1314
|
environment: !item["environment"]
|
|
1222
1315
|
? item["environment"]
|
|
1223
1316
|
: functionShellToolParamEnvironmentUnionSerializer(item["environment"]),
|
|
1317
|
+
name: item["name"],
|
|
1318
|
+
description: item["description"],
|
|
1224
1319
|
};
|
|
1225
1320
|
}
|
|
1226
1321
|
export function functionShellToolParamDeserializer(item) {
|
|
@@ -1229,6 +1324,8 @@ export function functionShellToolParamDeserializer(item) {
|
|
|
1229
1324
|
environment: !item["environment"]
|
|
1230
1325
|
? item["environment"]
|
|
1231
1326
|
: functionShellToolParamEnvironmentUnionDeserializer(item["environment"]),
|
|
1327
|
+
name: item["name"],
|
|
1328
|
+
description: item["description"],
|
|
1232
1329
|
};
|
|
1233
1330
|
}
|
|
1234
1331
|
export function functionShellToolParamEnvironmentSerializer(item) {
|
|
@@ -1406,6 +1503,7 @@ export function customToolParamSerializer(item) {
|
|
|
1406
1503
|
name: item["name"],
|
|
1407
1504
|
description: item["description"],
|
|
1408
1505
|
format: !item["format"] ? item["format"] : customToolParamFormatUnionSerializer(item["format"]),
|
|
1506
|
+
defer_loading: item["defer_loading"],
|
|
1409
1507
|
};
|
|
1410
1508
|
}
|
|
1411
1509
|
export function customToolParamDeserializer(item) {
|
|
@@ -1416,6 +1514,7 @@ export function customToolParamDeserializer(item) {
|
|
|
1416
1514
|
format: !item["format"]
|
|
1417
1515
|
? item["format"]
|
|
1418
1516
|
: customToolParamFormatUnionDeserializer(item["format"]),
|
|
1517
|
+
defer_loading: item["defer_loading"],
|
|
1419
1518
|
};
|
|
1420
1519
|
}
|
|
1421
1520
|
export function customToolParamFormatSerializer(item) {
|
|
@@ -1471,6 +1570,11 @@ export function webSearchPreviewToolSerializer(item) {
|
|
|
1471
1570
|
? item["user_location"]
|
|
1472
1571
|
: approximateLocationSerializer(item["user_location"]),
|
|
1473
1572
|
search_context_size: item["search_context_size"],
|
|
1573
|
+
search_content_types: !item["search_content_types"]
|
|
1574
|
+
? item["search_content_types"]
|
|
1575
|
+
: item["search_content_types"].map((p) => {
|
|
1576
|
+
return p;
|
|
1577
|
+
}),
|
|
1474
1578
|
};
|
|
1475
1579
|
}
|
|
1476
1580
|
export function webSearchPreviewToolDeserializer(item) {
|
|
@@ -1480,6 +1584,11 @@ export function webSearchPreviewToolDeserializer(item) {
|
|
|
1480
1584
|
? item["user_location"]
|
|
1481
1585
|
: approximateLocationDeserializer(item["user_location"]),
|
|
1482
1586
|
search_context_size: item["search_context_size"],
|
|
1587
|
+
search_content_types: !item["search_content_types"]
|
|
1588
|
+
? item["search_content_types"]
|
|
1589
|
+
: item["search_content_types"].map((p) => {
|
|
1590
|
+
return p;
|
|
1591
|
+
}),
|
|
1483
1592
|
};
|
|
1484
1593
|
}
|
|
1485
1594
|
export function approximateLocationSerializer(item) {
|
|
@@ -1508,6 +1617,193 @@ export function applyPatchToolParamDeserializer(item) {
|
|
|
1508
1617
|
type: item["type"],
|
|
1509
1618
|
};
|
|
1510
1619
|
}
|
|
1620
|
+
export function computerToolSerializer(item) {
|
|
1621
|
+
return { type: item["type"] };
|
|
1622
|
+
}
|
|
1623
|
+
export function computerToolDeserializer(item) {
|
|
1624
|
+
return {
|
|
1625
|
+
type: item["type"],
|
|
1626
|
+
};
|
|
1627
|
+
}
|
|
1628
|
+
export function namespaceToolParamSerializer(item) {
|
|
1629
|
+
return {
|
|
1630
|
+
type: item["type"],
|
|
1631
|
+
name: item["name"],
|
|
1632
|
+
description: item["description"],
|
|
1633
|
+
tools: _namespaceToolParamToolArraySerializer(item["tools"]),
|
|
1634
|
+
};
|
|
1635
|
+
}
|
|
1636
|
+
export function namespaceToolParamDeserializer(item) {
|
|
1637
|
+
return {
|
|
1638
|
+
type: item["type"],
|
|
1639
|
+
name: item["name"],
|
|
1640
|
+
description: item["description"],
|
|
1641
|
+
tools: _namespaceToolParamToolArrayDeserializer(item["tools"]),
|
|
1642
|
+
};
|
|
1643
|
+
}
|
|
1644
|
+
export function _namespaceToolParamToolArraySerializer(result) {
|
|
1645
|
+
return result.map((item) => {
|
|
1646
|
+
return _namespaceToolParamToolSerializer(item);
|
|
1647
|
+
});
|
|
1648
|
+
}
|
|
1649
|
+
export function _namespaceToolParamToolArrayDeserializer(result) {
|
|
1650
|
+
return result.map((item) => {
|
|
1651
|
+
return _namespaceToolParamToolDeserializer(item);
|
|
1652
|
+
});
|
|
1653
|
+
}
|
|
1654
|
+
export function _namespaceToolParamToolSerializer(item) {
|
|
1655
|
+
return item;
|
|
1656
|
+
}
|
|
1657
|
+
export function _namespaceToolParamToolDeserializer(item) {
|
|
1658
|
+
return item;
|
|
1659
|
+
}
|
|
1660
|
+
export function functionToolParamSerializer(item) {
|
|
1661
|
+
return {
|
|
1662
|
+
name: item["name"],
|
|
1663
|
+
description: item["description"],
|
|
1664
|
+
parameters: !item["parameters"]
|
|
1665
|
+
? item["parameters"]
|
|
1666
|
+
: emptyModelParamSerializer(item["parameters"]),
|
|
1667
|
+
strict: item["strict"],
|
|
1668
|
+
type: item["type"],
|
|
1669
|
+
defer_loading: item["defer_loading"],
|
|
1670
|
+
};
|
|
1671
|
+
}
|
|
1672
|
+
export function functionToolParamDeserializer(item) {
|
|
1673
|
+
return {
|
|
1674
|
+
name: item["name"],
|
|
1675
|
+
description: item["description"],
|
|
1676
|
+
parameters: !item["parameters"]
|
|
1677
|
+
? item["parameters"]
|
|
1678
|
+
: emptyModelParamDeserializer(item["parameters"]),
|
|
1679
|
+
strict: item["strict"],
|
|
1680
|
+
type: item["type"],
|
|
1681
|
+
defer_loading: item["defer_loading"],
|
|
1682
|
+
};
|
|
1683
|
+
}
|
|
1684
|
+
export function emptyModelParamSerializer(_item) {
|
|
1685
|
+
return {};
|
|
1686
|
+
}
|
|
1687
|
+
export function emptyModelParamDeserializer(item) {
|
|
1688
|
+
return item;
|
|
1689
|
+
}
|
|
1690
|
+
export function toolSearchToolParamSerializer(item) {
|
|
1691
|
+
return {
|
|
1692
|
+
type: item["type"],
|
|
1693
|
+
execution: item["execution"],
|
|
1694
|
+
description: item["description"],
|
|
1695
|
+
parameters: !item["parameters"]
|
|
1696
|
+
? item["parameters"]
|
|
1697
|
+
: emptyModelParamSerializer(item["parameters"]),
|
|
1698
|
+
};
|
|
1699
|
+
}
|
|
1700
|
+
export function toolSearchToolParamDeserializer(item) {
|
|
1701
|
+
return {
|
|
1702
|
+
type: item["type"],
|
|
1703
|
+
execution: item["execution"],
|
|
1704
|
+
description: item["description"],
|
|
1705
|
+
parameters: !item["parameters"]
|
|
1706
|
+
? item["parameters"]
|
|
1707
|
+
: emptyModelParamDeserializer(item["parameters"]),
|
|
1708
|
+
};
|
|
1709
|
+
}
|
|
1710
|
+
export function protocolVersionRecordArraySerializer(result) {
|
|
1711
|
+
return result.map((item) => {
|
|
1712
|
+
return protocolVersionRecordSerializer(item);
|
|
1713
|
+
});
|
|
1714
|
+
}
|
|
1715
|
+
export function protocolVersionRecordArrayDeserializer(result) {
|
|
1716
|
+
return result.map((item) => {
|
|
1717
|
+
return protocolVersionRecordDeserializer(item);
|
|
1718
|
+
});
|
|
1719
|
+
}
|
|
1720
|
+
export function protocolVersionRecordSerializer(item) {
|
|
1721
|
+
return { protocol: item["protocol"], version: item["version"] };
|
|
1722
|
+
}
|
|
1723
|
+
export function protocolVersionRecordDeserializer(item) {
|
|
1724
|
+
return {
|
|
1725
|
+
protocol: item["protocol"],
|
|
1726
|
+
version: item["version"],
|
|
1727
|
+
};
|
|
1728
|
+
}
|
|
1729
|
+
export function containerConfigurationSerializer(item) {
|
|
1730
|
+
return { image: item["image"] };
|
|
1731
|
+
}
|
|
1732
|
+
export function containerConfigurationDeserializer(item) {
|
|
1733
|
+
return {
|
|
1734
|
+
image: item["image"],
|
|
1735
|
+
};
|
|
1736
|
+
}
|
|
1737
|
+
export function codeConfigurationSerializer(item) {
|
|
1738
|
+
return {
|
|
1739
|
+
runtime: item["runtime"],
|
|
1740
|
+
entry_point: item["entry_point"].map((p) => {
|
|
1741
|
+
return p;
|
|
1742
|
+
}),
|
|
1743
|
+
};
|
|
1744
|
+
}
|
|
1745
|
+
export function codeConfigurationDeserializer(item) {
|
|
1746
|
+
return {
|
|
1747
|
+
runtime: item["runtime"],
|
|
1748
|
+
entry_point: item["entry_point"].map((p) => {
|
|
1749
|
+
return p;
|
|
1750
|
+
}),
|
|
1751
|
+
};
|
|
1752
|
+
}
|
|
1753
|
+
export function promptAgentDefinitionSerializer(item) {
|
|
1754
|
+
return {
|
|
1755
|
+
kind: item["kind"],
|
|
1756
|
+
rai_config: !item["rai_config"] ? item["rai_config"] : raiConfigSerializer(item["rai_config"]),
|
|
1757
|
+
model: item["model"],
|
|
1758
|
+
instructions: item["instructions"],
|
|
1759
|
+
temperature: item["temperature"],
|
|
1760
|
+
top_p: item["top_p"],
|
|
1761
|
+
reasoning: !item["reasoning"] ? item["reasoning"] : reasoningSerializer(item["reasoning"]),
|
|
1762
|
+
tools: !item["tools"] ? item["tools"] : toolUnionArraySerializer(item["tools"]),
|
|
1763
|
+
tool_choice: !item["tool_choice"]
|
|
1764
|
+
? item["tool_choice"]
|
|
1765
|
+
: _promptAgentDefinitionToolChoiceSerializer(item["tool_choice"]),
|
|
1766
|
+
text: !item["text"] ? item["text"] : promptAgentDefinitionTextOptionsSerializer(item["text"]),
|
|
1767
|
+
structured_inputs: !item["structured_inputs"]
|
|
1768
|
+
? item["structured_inputs"]
|
|
1769
|
+
: structuredInputDefinitionRecordSerializer(item["structured_inputs"]),
|
|
1770
|
+
};
|
|
1771
|
+
}
|
|
1772
|
+
export function promptAgentDefinitionDeserializer(item) {
|
|
1773
|
+
return {
|
|
1774
|
+
kind: item["kind"],
|
|
1775
|
+
rai_config: !item["rai_config"]
|
|
1776
|
+
? item["rai_config"]
|
|
1777
|
+
: raiConfigDeserializer(item["rai_config"]),
|
|
1778
|
+
model: item["model"],
|
|
1779
|
+
instructions: item["instructions"],
|
|
1780
|
+
temperature: item["temperature"],
|
|
1781
|
+
top_p: item["top_p"],
|
|
1782
|
+
reasoning: !item["reasoning"] ? item["reasoning"] : reasoningDeserializer(item["reasoning"]),
|
|
1783
|
+
tools: !item["tools"] ? item["tools"] : toolUnionArrayDeserializer(item["tools"]),
|
|
1784
|
+
tool_choice: !item["tool_choice"]
|
|
1785
|
+
? item["tool_choice"]
|
|
1786
|
+
: _promptAgentDefinitionToolChoiceDeserializer(item["tool_choice"]),
|
|
1787
|
+
text: !item["text"] ? item["text"] : promptAgentDefinitionTextOptionsDeserializer(item["text"]),
|
|
1788
|
+
structured_inputs: !item["structured_inputs"]
|
|
1789
|
+
? item["structured_inputs"]
|
|
1790
|
+
: structuredInputDefinitionRecordDeserializer(item["structured_inputs"]),
|
|
1791
|
+
};
|
|
1792
|
+
}
|
|
1793
|
+
export function reasoningSerializer(item) {
|
|
1794
|
+
return {
|
|
1795
|
+
effort: item["effort"],
|
|
1796
|
+
summary: item["summary"],
|
|
1797
|
+
generate_summary: item["generate_summary"],
|
|
1798
|
+
};
|
|
1799
|
+
}
|
|
1800
|
+
export function reasoningDeserializer(item) {
|
|
1801
|
+
return {
|
|
1802
|
+
effort: item["effort"],
|
|
1803
|
+
summary: item["summary"],
|
|
1804
|
+
generate_summary: item["generate_summary"],
|
|
1805
|
+
};
|
|
1806
|
+
}
|
|
1511
1807
|
export function _promptAgentDefinitionToolChoiceSerializer(item) {
|
|
1512
1808
|
return item;
|
|
1513
1809
|
}
|
|
@@ -1548,12 +1844,16 @@ export function toolChoiceParamUnionSerializer(item) {
|
|
|
1548
1844
|
return toolChoiceImageGenerationSerializer(item);
|
|
1549
1845
|
case "code_interpreter":
|
|
1550
1846
|
return toolChoiceCodeInterpreterSerializer(item);
|
|
1847
|
+
case "computer":
|
|
1848
|
+
return toolChoiceComputerSerializer(item);
|
|
1849
|
+
case "computer_use":
|
|
1850
|
+
return toolChoiceComputerUseSerializer(item);
|
|
1551
1851
|
default:
|
|
1552
1852
|
return toolChoiceParamSerializer(item);
|
|
1553
1853
|
}
|
|
1554
1854
|
}
|
|
1555
1855
|
export function toolChoiceParamUnionDeserializer(item) {
|
|
1556
|
-
switch (item
|
|
1856
|
+
switch (item["type"]) {
|
|
1557
1857
|
case "allowed_tools":
|
|
1558
1858
|
return toolChoiceAllowedDeserializer(item);
|
|
1559
1859
|
case "function":
|
|
@@ -1578,6 +1878,10 @@ export function toolChoiceParamUnionDeserializer(item) {
|
|
|
1578
1878
|
return toolChoiceImageGenerationDeserializer(item);
|
|
1579
1879
|
case "code_interpreter":
|
|
1580
1880
|
return toolChoiceCodeInterpreterDeserializer(item);
|
|
1881
|
+
case "computer":
|
|
1882
|
+
return toolChoiceComputerDeserializer(item);
|
|
1883
|
+
case "computer_use":
|
|
1884
|
+
return toolChoiceComputerUseDeserializer(item);
|
|
1581
1885
|
default:
|
|
1582
1886
|
return toolChoiceParamDeserializer(item);
|
|
1583
1887
|
}
|
|
@@ -1586,14 +1890,18 @@ export function toolChoiceAllowedSerializer(item) {
|
|
|
1586
1890
|
return {
|
|
1587
1891
|
type: item["type"],
|
|
1588
1892
|
mode: item["mode"],
|
|
1589
|
-
tools: item["tools"]
|
|
1893
|
+
tools: item["tools"].map((p) => {
|
|
1894
|
+
return p;
|
|
1895
|
+
}),
|
|
1590
1896
|
};
|
|
1591
1897
|
}
|
|
1592
1898
|
export function toolChoiceAllowedDeserializer(item) {
|
|
1593
1899
|
return {
|
|
1594
1900
|
type: item["type"],
|
|
1595
1901
|
mode: item["mode"],
|
|
1596
|
-
tools: item["tools"]
|
|
1902
|
+
tools: item["tools"].map((p) => {
|
|
1903
|
+
return Object.fromEntries(Object.entries(p).map(([k1, p1]) => [k1, p1]));
|
|
1904
|
+
}),
|
|
1597
1905
|
};
|
|
1598
1906
|
}
|
|
1599
1907
|
export function toolChoiceFunctionSerializer(item) {
|
|
@@ -1680,183 +1988,458 @@ export function toolChoiceImageGenerationDeserializer(item) {
|
|
|
1680
1988
|
type: item["type"],
|
|
1681
1989
|
};
|
|
1682
1990
|
}
|
|
1683
|
-
export function toolChoiceCodeInterpreterSerializer(item) {
|
|
1684
|
-
return { type: item["type"] };
|
|
1685
|
-
}
|
|
1686
|
-
export function toolChoiceCodeInterpreterDeserializer(item) {
|
|
1991
|
+
export function toolChoiceCodeInterpreterSerializer(item) {
|
|
1992
|
+
return { type: item["type"] };
|
|
1993
|
+
}
|
|
1994
|
+
export function toolChoiceCodeInterpreterDeserializer(item) {
|
|
1995
|
+
return {
|
|
1996
|
+
type: item["type"],
|
|
1997
|
+
};
|
|
1998
|
+
}
|
|
1999
|
+
export function toolChoiceComputerSerializer(item) {
|
|
2000
|
+
return { type: item["type"] };
|
|
2001
|
+
}
|
|
2002
|
+
export function toolChoiceComputerDeserializer(item) {
|
|
2003
|
+
return {
|
|
2004
|
+
type: item["type"],
|
|
2005
|
+
};
|
|
2006
|
+
}
|
|
2007
|
+
export function toolChoiceComputerUseSerializer(item) {
|
|
2008
|
+
return { type: item["type"] };
|
|
2009
|
+
}
|
|
2010
|
+
export function toolChoiceComputerUseDeserializer(item) {
|
|
2011
|
+
return {
|
|
2012
|
+
type: item["type"],
|
|
2013
|
+
};
|
|
2014
|
+
}
|
|
2015
|
+
export function promptAgentDefinitionTextOptionsSerializer(item) {
|
|
2016
|
+
return {
|
|
2017
|
+
format: !item["format"] ? item["format"] : textResponseFormatUnionSerializer(item["format"]),
|
|
2018
|
+
};
|
|
2019
|
+
}
|
|
2020
|
+
export function promptAgentDefinitionTextOptionsDeserializer(item) {
|
|
2021
|
+
return {
|
|
2022
|
+
format: !item["format"] ? item["format"] : textResponseFormatUnionDeserializer(item["format"]),
|
|
2023
|
+
};
|
|
2024
|
+
}
|
|
2025
|
+
export function textResponseFormatSerializer(item) {
|
|
2026
|
+
return { type: item["type"] };
|
|
2027
|
+
}
|
|
2028
|
+
export function textResponseFormatDeserializer(item) {
|
|
2029
|
+
return {
|
|
2030
|
+
type: item["type"],
|
|
2031
|
+
};
|
|
2032
|
+
}
|
|
2033
|
+
export function textResponseFormatUnionSerializer(item) {
|
|
2034
|
+
switch (item.type) {
|
|
2035
|
+
case "json_schema":
|
|
2036
|
+
return textResponseFormatJsonSchemaSerializer(item);
|
|
2037
|
+
case "text":
|
|
2038
|
+
return textResponseFormatTextSerializer(item);
|
|
2039
|
+
case "json_object":
|
|
2040
|
+
return textResponseFormatJsonObjectSerializer(item);
|
|
2041
|
+
default:
|
|
2042
|
+
return textResponseFormatSerializer(item);
|
|
2043
|
+
}
|
|
2044
|
+
}
|
|
2045
|
+
export function textResponseFormatUnionDeserializer(item) {
|
|
2046
|
+
switch (item["type"]) {
|
|
2047
|
+
case "json_schema":
|
|
2048
|
+
return textResponseFormatJsonSchemaDeserializer(item);
|
|
2049
|
+
case "text":
|
|
2050
|
+
return textResponseFormatTextDeserializer(item);
|
|
2051
|
+
case "json_object":
|
|
2052
|
+
return textResponseFormatJsonObjectDeserializer(item);
|
|
2053
|
+
default:
|
|
2054
|
+
return textResponseFormatDeserializer(item);
|
|
2055
|
+
}
|
|
2056
|
+
}
|
|
2057
|
+
export function textResponseFormatJsonSchemaSerializer(item) {
|
|
2058
|
+
return {
|
|
2059
|
+
type: item["type"],
|
|
2060
|
+
description: item["description"],
|
|
2061
|
+
name: item["name"],
|
|
2062
|
+
schema: item["schema"],
|
|
2063
|
+
strict: item["strict"],
|
|
2064
|
+
};
|
|
2065
|
+
}
|
|
2066
|
+
export function textResponseFormatJsonSchemaDeserializer(item) {
|
|
2067
|
+
return {
|
|
2068
|
+
type: item["type"],
|
|
2069
|
+
description: item["description"],
|
|
2070
|
+
name: item["name"],
|
|
2071
|
+
schema: Object.fromEntries(Object.entries(item["schema"]).map(([k, p]) => [k, p])),
|
|
2072
|
+
strict: item["strict"],
|
|
2073
|
+
};
|
|
2074
|
+
}
|
|
2075
|
+
export function textResponseFormatTextSerializer(item) {
|
|
2076
|
+
return { type: item["type"] };
|
|
2077
|
+
}
|
|
2078
|
+
export function textResponseFormatTextDeserializer(item) {
|
|
2079
|
+
return {
|
|
2080
|
+
type: item["type"],
|
|
2081
|
+
};
|
|
2082
|
+
}
|
|
2083
|
+
export function textResponseFormatJsonObjectSerializer(item) {
|
|
2084
|
+
return { type: item["type"] };
|
|
2085
|
+
}
|
|
2086
|
+
export function textResponseFormatJsonObjectDeserializer(item) {
|
|
2087
|
+
return {
|
|
2088
|
+
type: item["type"],
|
|
2089
|
+
};
|
|
2090
|
+
}
|
|
2091
|
+
export function structuredInputDefinitionRecordSerializer(item) {
|
|
2092
|
+
const result = {};
|
|
2093
|
+
Object.keys(item).map((key) => {
|
|
2094
|
+
result[key] = !item[key] ? item[key] : structuredInputDefinitionSerializer(item[key]);
|
|
2095
|
+
});
|
|
2096
|
+
return result;
|
|
2097
|
+
}
|
|
2098
|
+
export function structuredInputDefinitionRecordDeserializer(item) {
|
|
2099
|
+
const result = {};
|
|
2100
|
+
Object.keys(item).map((key) => {
|
|
2101
|
+
result[key] = !item[key] ? item[key] : structuredInputDefinitionDeserializer(item[key]);
|
|
2102
|
+
});
|
|
2103
|
+
return result;
|
|
2104
|
+
}
|
|
2105
|
+
export function structuredInputDefinitionSerializer(item) {
|
|
2106
|
+
return {
|
|
2107
|
+
description: item["description"],
|
|
2108
|
+
default_value: item["default_value"],
|
|
2109
|
+
schema: item["schema"],
|
|
2110
|
+
required: item["required"],
|
|
2111
|
+
};
|
|
2112
|
+
}
|
|
2113
|
+
export function structuredInputDefinitionDeserializer(item) {
|
|
2114
|
+
return {
|
|
2115
|
+
description: item["description"],
|
|
2116
|
+
default_value: item["default_value"],
|
|
2117
|
+
schema: !item["schema"]
|
|
2118
|
+
? item["schema"]
|
|
2119
|
+
: Object.fromEntries(Object.entries(item["schema"]).map(([k, p]) => [k, p])),
|
|
2120
|
+
required: item["required"],
|
|
2121
|
+
};
|
|
2122
|
+
}
|
|
2123
|
+
export function workflowAgentDefinitionSerializer(item) {
|
|
2124
|
+
return {
|
|
2125
|
+
kind: item["kind"],
|
|
2126
|
+
rai_config: !item["rai_config"] ? item["rai_config"] : raiConfigSerializer(item["rai_config"]),
|
|
2127
|
+
workflow: item["workflow"],
|
|
2128
|
+
};
|
|
2129
|
+
}
|
|
2130
|
+
export function workflowAgentDefinitionDeserializer(item) {
|
|
2131
|
+
return {
|
|
2132
|
+
kind: item["kind"],
|
|
2133
|
+
rai_config: !item["rai_config"]
|
|
2134
|
+
? item["rai_config"]
|
|
2135
|
+
: raiConfigDeserializer(item["rai_config"]),
|
|
2136
|
+
workflow: item["workflow"],
|
|
2137
|
+
};
|
|
2138
|
+
}
|
|
2139
|
+
export function agentIdentityDeserializer(item) {
|
|
2140
|
+
return {
|
|
2141
|
+
principal_id: item["principal_id"],
|
|
2142
|
+
client_id: item["client_id"],
|
|
2143
|
+
};
|
|
2144
|
+
}
|
|
2145
|
+
export function agentBlueprintReferenceSerializer(item) {
|
|
2146
|
+
return { type: item["type"] };
|
|
2147
|
+
}
|
|
2148
|
+
export function agentBlueprintReferenceDeserializer(item) {
|
|
2149
|
+
return {
|
|
2150
|
+
type: item["type"],
|
|
2151
|
+
};
|
|
2152
|
+
}
|
|
2153
|
+
export function agentBlueprintReferenceUnionSerializer(item) {
|
|
2154
|
+
switch (item.type) {
|
|
2155
|
+
case "ManagedAgentIdentityBlueprint":
|
|
2156
|
+
return managedAgentIdentityBlueprintReferenceSerializer(item);
|
|
2157
|
+
default:
|
|
2158
|
+
return agentBlueprintReferenceSerializer(item);
|
|
2159
|
+
}
|
|
2160
|
+
}
|
|
2161
|
+
export function agentBlueprintReferenceUnionDeserializer(item) {
|
|
2162
|
+
switch (item["type"]) {
|
|
2163
|
+
case "ManagedAgentIdentityBlueprint":
|
|
2164
|
+
return managedAgentIdentityBlueprintReferenceDeserializer(item);
|
|
2165
|
+
default:
|
|
2166
|
+
return agentBlueprintReferenceDeserializer(item);
|
|
2167
|
+
}
|
|
2168
|
+
}
|
|
2169
|
+
export function managedAgentIdentityBlueprintReferenceSerializer(item) {
|
|
2170
|
+
return { type: item["type"], blueprint_id: item["blueprint_id"] };
|
|
2171
|
+
}
|
|
2172
|
+
export function managedAgentIdentityBlueprintReferenceDeserializer(item) {
|
|
2173
|
+
return {
|
|
2174
|
+
type: item["type"],
|
|
2175
|
+
blueprint_id: item["blueprint_id"],
|
|
2176
|
+
};
|
|
2177
|
+
}
|
|
2178
|
+
export function agentEndpointSerializer(item) {
|
|
2179
|
+
return {
|
|
2180
|
+
version_selector: !item["version_selector"]
|
|
2181
|
+
? item["version_selector"]
|
|
2182
|
+
: versionSelectorSerializer(item["version_selector"]),
|
|
2183
|
+
protocols: !item["protocols"]
|
|
2184
|
+
? item["protocols"]
|
|
2185
|
+
: item["protocols"].map((p) => {
|
|
2186
|
+
return p;
|
|
2187
|
+
}),
|
|
2188
|
+
authorization_schemes: !item["authorization_schemes"]
|
|
2189
|
+
? item["authorization_schemes"]
|
|
2190
|
+
: agentEndpointAuthorizationSchemeUnionArraySerializer(item["authorization_schemes"]),
|
|
2191
|
+
};
|
|
2192
|
+
}
|
|
2193
|
+
export function agentEndpointDeserializer(item) {
|
|
2194
|
+
return {
|
|
2195
|
+
version_selector: !item["version_selector"]
|
|
2196
|
+
? item["version_selector"]
|
|
2197
|
+
: versionSelectorDeserializer(item["version_selector"]),
|
|
2198
|
+
protocols: !item["protocols"]
|
|
2199
|
+
? item["protocols"]
|
|
2200
|
+
: item["protocols"].map((p) => {
|
|
2201
|
+
return p;
|
|
2202
|
+
}),
|
|
2203
|
+
authorization_schemes: !item["authorization_schemes"]
|
|
2204
|
+
? item["authorization_schemes"]
|
|
2205
|
+
: agentEndpointAuthorizationSchemeUnionArrayDeserializer(item["authorization_schemes"]),
|
|
2206
|
+
};
|
|
2207
|
+
}
|
|
2208
|
+
export function versionSelectorSerializer(item) {
|
|
2209
|
+
return {
|
|
2210
|
+
version_selection_rules: versionSelectionRuleUnionArraySerializer(item["version_selection_rules"]),
|
|
2211
|
+
};
|
|
2212
|
+
}
|
|
2213
|
+
export function versionSelectorDeserializer(item) {
|
|
2214
|
+
return {
|
|
2215
|
+
version_selection_rules: versionSelectionRuleUnionArrayDeserializer(item["version_selection_rules"]),
|
|
2216
|
+
};
|
|
2217
|
+
}
|
|
2218
|
+
export function versionSelectionRuleUnionArraySerializer(result) {
|
|
2219
|
+
return result.map((item) => {
|
|
2220
|
+
return versionSelectionRuleUnionSerializer(item);
|
|
2221
|
+
});
|
|
2222
|
+
}
|
|
2223
|
+
export function versionSelectionRuleUnionArrayDeserializer(result) {
|
|
2224
|
+
return result.map((item) => {
|
|
2225
|
+
return versionSelectionRuleUnionDeserializer(item);
|
|
2226
|
+
});
|
|
2227
|
+
}
|
|
2228
|
+
export function versionSelectionRuleSerializer(item) {
|
|
2229
|
+
return { type: item["type"], agent_version: item["agent_version"] };
|
|
2230
|
+
}
|
|
2231
|
+
export function versionSelectionRuleDeserializer(item) {
|
|
2232
|
+
return {
|
|
2233
|
+
type: item["type"],
|
|
2234
|
+
agent_version: item["agent_version"],
|
|
2235
|
+
};
|
|
2236
|
+
}
|
|
2237
|
+
export function versionSelectionRuleUnionSerializer(item) {
|
|
2238
|
+
switch (item.type) {
|
|
2239
|
+
case "FixedRatio":
|
|
2240
|
+
return fixedRatioVersionSelectionRuleSerializer(item);
|
|
2241
|
+
default:
|
|
2242
|
+
return versionSelectionRuleSerializer(item);
|
|
2243
|
+
}
|
|
2244
|
+
}
|
|
2245
|
+
export function versionSelectionRuleUnionDeserializer(item) {
|
|
2246
|
+
switch (item["type"]) {
|
|
2247
|
+
case "FixedRatio":
|
|
2248
|
+
return fixedRatioVersionSelectionRuleDeserializer(item);
|
|
2249
|
+
default:
|
|
2250
|
+
return versionSelectionRuleDeserializer(item);
|
|
2251
|
+
}
|
|
2252
|
+
}
|
|
2253
|
+
export function fixedRatioVersionSelectionRuleSerializer(item) {
|
|
2254
|
+
return {
|
|
2255
|
+
type: item["type"],
|
|
2256
|
+
agent_version: item["agent_version"],
|
|
2257
|
+
traffic_percentage: item["traffic_percentage"],
|
|
2258
|
+
};
|
|
2259
|
+
}
|
|
2260
|
+
export function fixedRatioVersionSelectionRuleDeserializer(item) {
|
|
1687
2261
|
return {
|
|
1688
2262
|
type: item["type"],
|
|
2263
|
+
agent_version: item["agent_version"],
|
|
2264
|
+
traffic_percentage: item["traffic_percentage"],
|
|
1689
2265
|
};
|
|
1690
2266
|
}
|
|
1691
|
-
export function
|
|
1692
|
-
return {
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
: textResponseFormatConfigurationUnionSerializer(item["format"]),
|
|
1696
|
-
};
|
|
2267
|
+
export function agentEndpointAuthorizationSchemeUnionArraySerializer(result) {
|
|
2268
|
+
return result.map((item) => {
|
|
2269
|
+
return agentEndpointAuthorizationSchemeUnionSerializer(item);
|
|
2270
|
+
});
|
|
1697
2271
|
}
|
|
1698
|
-
export function
|
|
1699
|
-
return {
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
: textResponseFormatConfigurationUnionDeserializer(item["format"]),
|
|
1703
|
-
};
|
|
2272
|
+
export function agentEndpointAuthorizationSchemeUnionArrayDeserializer(result) {
|
|
2273
|
+
return result.map((item) => {
|
|
2274
|
+
return agentEndpointAuthorizationSchemeUnionDeserializer(item);
|
|
2275
|
+
});
|
|
1704
2276
|
}
|
|
1705
|
-
export function
|
|
2277
|
+
export function agentEndpointAuthorizationSchemeSerializer(item) {
|
|
1706
2278
|
return { type: item["type"] };
|
|
1707
2279
|
}
|
|
1708
|
-
export function
|
|
2280
|
+
export function agentEndpointAuthorizationSchemeDeserializer(item) {
|
|
1709
2281
|
return {
|
|
1710
2282
|
type: item["type"],
|
|
1711
2283
|
};
|
|
1712
2284
|
}
|
|
1713
|
-
export function
|
|
2285
|
+
export function agentEndpointAuthorizationSchemeUnionSerializer(item) {
|
|
1714
2286
|
switch (item.type) {
|
|
1715
|
-
case "
|
|
1716
|
-
return
|
|
1717
|
-
case "
|
|
1718
|
-
return
|
|
1719
|
-
case "
|
|
1720
|
-
return
|
|
2287
|
+
case "Entra":
|
|
2288
|
+
return entraAuthorizationSchemeSerializer(item);
|
|
2289
|
+
case "BotService":
|
|
2290
|
+
return botServiceAuthorizationSchemeSerializer(item);
|
|
2291
|
+
case "BotServiceRbac":
|
|
2292
|
+
return botServiceRbacAuthorizationSchemeSerializer(item);
|
|
1721
2293
|
default:
|
|
1722
|
-
return
|
|
2294
|
+
return agentEndpointAuthorizationSchemeSerializer(item);
|
|
1723
2295
|
}
|
|
1724
2296
|
}
|
|
1725
|
-
export function
|
|
1726
|
-
switch (item
|
|
1727
|
-
case "
|
|
1728
|
-
return
|
|
1729
|
-
case "
|
|
1730
|
-
return
|
|
1731
|
-
case "
|
|
1732
|
-
return
|
|
2297
|
+
export function agentEndpointAuthorizationSchemeUnionDeserializer(item) {
|
|
2298
|
+
switch (item["type"]) {
|
|
2299
|
+
case "Entra":
|
|
2300
|
+
return entraAuthorizationSchemeDeserializer(item);
|
|
2301
|
+
case "BotService":
|
|
2302
|
+
return botServiceAuthorizationSchemeDeserializer(item);
|
|
2303
|
+
case "BotServiceRbac":
|
|
2304
|
+
return botServiceRbacAuthorizationSchemeDeserializer(item);
|
|
1733
2305
|
default:
|
|
1734
|
-
return
|
|
2306
|
+
return agentEndpointAuthorizationSchemeDeserializer(item);
|
|
1735
2307
|
}
|
|
1736
2308
|
}
|
|
1737
|
-
export function
|
|
2309
|
+
export function entraAuthorizationSchemeSerializer(item) {
|
|
1738
2310
|
return {
|
|
1739
2311
|
type: item["type"],
|
|
1740
|
-
|
|
1741
|
-
name: item["name"],
|
|
1742
|
-
schema: item["schema"],
|
|
1743
|
-
strict: item["strict"],
|
|
2312
|
+
isolation_key_source: isolationKeySourceUnionSerializer(item["isolation_key_source"]),
|
|
1744
2313
|
};
|
|
1745
2314
|
}
|
|
1746
|
-
export function
|
|
2315
|
+
export function entraAuthorizationSchemeDeserializer(item) {
|
|
1747
2316
|
return {
|
|
1748
2317
|
type: item["type"],
|
|
1749
|
-
|
|
1750
|
-
name: item["name"],
|
|
1751
|
-
schema: item["schema"],
|
|
1752
|
-
strict: item["strict"],
|
|
2318
|
+
isolation_key_source: isolationKeySourceUnionDeserializer(item["isolation_key_source"]),
|
|
1753
2319
|
};
|
|
1754
2320
|
}
|
|
1755
|
-
export function
|
|
1756
|
-
return {
|
|
2321
|
+
export function isolationKeySourceSerializer(item) {
|
|
2322
|
+
return { kind: item["kind"] };
|
|
1757
2323
|
}
|
|
1758
|
-
export function
|
|
2324
|
+
export function isolationKeySourceDeserializer(item) {
|
|
1759
2325
|
return {
|
|
1760
|
-
|
|
2326
|
+
kind: item["kind"],
|
|
1761
2327
|
};
|
|
1762
2328
|
}
|
|
1763
|
-
export function
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
2329
|
+
export function isolationKeySourceUnionSerializer(item) {
|
|
2330
|
+
switch (item.kind) {
|
|
2331
|
+
case "Entra":
|
|
2332
|
+
return entraIsolationKeySourceSerializer(item);
|
|
2333
|
+
case "Header":
|
|
2334
|
+
return headerIsolationKeySourceSerializer(item);
|
|
2335
|
+
default:
|
|
2336
|
+
return isolationKeySourceSerializer(item);
|
|
2337
|
+
}
|
|
1770
2338
|
}
|
|
1771
|
-
export function
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
2339
|
+
export function isolationKeySourceUnionDeserializer(item) {
|
|
2340
|
+
switch (item["kind"]) {
|
|
2341
|
+
case "Entra":
|
|
2342
|
+
return entraIsolationKeySourceDeserializer(item);
|
|
2343
|
+
case "Header":
|
|
2344
|
+
return headerIsolationKeySourceDeserializer(item);
|
|
2345
|
+
default:
|
|
2346
|
+
return isolationKeySourceDeserializer(item);
|
|
2347
|
+
}
|
|
1777
2348
|
}
|
|
1778
|
-
export function
|
|
1779
|
-
|
|
1780
|
-
Object.keys(item).map((key) => {
|
|
1781
|
-
result[key] = !item[key] ? item[key] : structuredInputDefinitionDeserializer(item[key]);
|
|
1782
|
-
});
|
|
1783
|
-
return result;
|
|
2349
|
+
export function entraIsolationKeySourceSerializer(item) {
|
|
2350
|
+
return { kind: item["kind"] };
|
|
1784
2351
|
}
|
|
1785
|
-
export function
|
|
2352
|
+
export function entraIsolationKeySourceDeserializer(item) {
|
|
1786
2353
|
return {
|
|
1787
|
-
|
|
1788
|
-
default_value: item["default_value"],
|
|
1789
|
-
schema: item["schema"],
|
|
1790
|
-
required: item["required"],
|
|
2354
|
+
kind: item["kind"],
|
|
1791
2355
|
};
|
|
1792
2356
|
}
|
|
1793
|
-
export function
|
|
2357
|
+
export function headerIsolationKeySourceSerializer(item) {
|
|
1794
2358
|
return {
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
required: item["required"],
|
|
2359
|
+
kind: item["kind"],
|
|
2360
|
+
user_isolation_key: item["user_isolation_key"],
|
|
2361
|
+
chat_isolation_key: item["chat_isolation_key"],
|
|
1799
2362
|
};
|
|
1800
2363
|
}
|
|
1801
|
-
export function
|
|
2364
|
+
export function headerIsolationKeySourceDeserializer(item) {
|
|
1802
2365
|
return {
|
|
1803
2366
|
kind: item["kind"],
|
|
1804
|
-
|
|
1805
|
-
|
|
2367
|
+
user_isolation_key: item["user_isolation_key"],
|
|
2368
|
+
chat_isolation_key: item["chat_isolation_key"],
|
|
1806
2369
|
};
|
|
1807
2370
|
}
|
|
1808
|
-
export function
|
|
2371
|
+
export function botServiceAuthorizationSchemeSerializer(item) {
|
|
2372
|
+
return { type: item["type"] };
|
|
2373
|
+
}
|
|
2374
|
+
export function botServiceAuthorizationSchemeDeserializer(item) {
|
|
1809
2375
|
return {
|
|
1810
|
-
|
|
1811
|
-
rai_config: !item["rai_config"]
|
|
1812
|
-
? item["rai_config"]
|
|
1813
|
-
: raiConfigDeserializer(item["rai_config"]),
|
|
1814
|
-
workflow: item["workflow"],
|
|
2376
|
+
type: item["type"],
|
|
1815
2377
|
};
|
|
1816
2378
|
}
|
|
1817
|
-
export function
|
|
2379
|
+
export function botServiceRbacAuthorizationSchemeSerializer(item) {
|
|
2380
|
+
return { type: item["type"] };
|
|
2381
|
+
}
|
|
2382
|
+
export function botServiceRbacAuthorizationSchemeDeserializer(item) {
|
|
1818
2383
|
return {
|
|
1819
|
-
|
|
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"],
|
|
2384
|
+
type: item["type"],
|
|
1827
2385
|
};
|
|
1828
2386
|
}
|
|
1829
|
-
export function
|
|
2387
|
+
export function agentCardSerializer(item) {
|
|
1830
2388
|
return {
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
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"],
|
|
2389
|
+
version: item["version"],
|
|
2390
|
+
description: item["description"],
|
|
2391
|
+
skills: agentCardSkillArraySerializer(item["skills"]),
|
|
1841
2392
|
};
|
|
1842
2393
|
}
|
|
1843
|
-
export function
|
|
2394
|
+
export function agentCardDeserializer(item) {
|
|
2395
|
+
return {
|
|
2396
|
+
version: item["version"],
|
|
2397
|
+
description: item["description"],
|
|
2398
|
+
skills: agentCardSkillArrayDeserializer(item["skills"]),
|
|
2399
|
+
};
|
|
2400
|
+
}
|
|
2401
|
+
export function agentCardSkillArraySerializer(result) {
|
|
1844
2402
|
return result.map((item) => {
|
|
1845
|
-
return
|
|
2403
|
+
return agentCardSkillSerializer(item);
|
|
1846
2404
|
});
|
|
1847
2405
|
}
|
|
1848
|
-
export function
|
|
2406
|
+
export function agentCardSkillArrayDeserializer(result) {
|
|
1849
2407
|
return result.map((item) => {
|
|
1850
|
-
return
|
|
2408
|
+
return agentCardSkillDeserializer(item);
|
|
1851
2409
|
});
|
|
1852
2410
|
}
|
|
1853
|
-
export function
|
|
1854
|
-
return {
|
|
2411
|
+
export function agentCardSkillSerializer(item) {
|
|
2412
|
+
return {
|
|
2413
|
+
id: item["id"],
|
|
2414
|
+
name: item["name"],
|
|
2415
|
+
description: item["description"],
|
|
2416
|
+
tags: !item["tags"]
|
|
2417
|
+
? item["tags"]
|
|
2418
|
+
: item["tags"].map((p) => {
|
|
2419
|
+
return p;
|
|
2420
|
+
}),
|
|
2421
|
+
examples: !item["examples"]
|
|
2422
|
+
? item["examples"]
|
|
2423
|
+
: item["examples"].map((p) => {
|
|
2424
|
+
return p;
|
|
2425
|
+
}),
|
|
2426
|
+
};
|
|
1855
2427
|
}
|
|
1856
|
-
export function
|
|
2428
|
+
export function agentCardSkillDeserializer(item) {
|
|
1857
2429
|
return {
|
|
1858
|
-
|
|
1859
|
-
|
|
2430
|
+
id: item["id"],
|
|
2431
|
+
name: item["name"],
|
|
2432
|
+
description: item["description"],
|
|
2433
|
+
tags: !item["tags"]
|
|
2434
|
+
? item["tags"]
|
|
2435
|
+
: item["tags"].map((p) => {
|
|
2436
|
+
return p;
|
|
2437
|
+
}),
|
|
2438
|
+
examples: !item["examples"]
|
|
2439
|
+
? item["examples"]
|
|
2440
|
+
: item["examples"].map((p) => {
|
|
2441
|
+
return p;
|
|
2442
|
+
}),
|
|
1860
2443
|
};
|
|
1861
2444
|
}
|
|
1862
2445
|
export function apiErrorResponseDeserializer(item) {
|
|
@@ -2431,6 +3014,87 @@ export function embeddingConfigurationDeserializer(item) {
|
|
|
2431
3014
|
embeddingField: item["embeddingField"],
|
|
2432
3015
|
};
|
|
2433
3016
|
}
|
|
3017
|
+
export function versionIndicatorSerializer(item) {
|
|
3018
|
+
return { type: item["type"] };
|
|
3019
|
+
}
|
|
3020
|
+
export function versionIndicatorDeserializer(item) {
|
|
3021
|
+
return {
|
|
3022
|
+
type: item["type"],
|
|
3023
|
+
};
|
|
3024
|
+
}
|
|
3025
|
+
export function versionIndicatorUnionSerializer(item) {
|
|
3026
|
+
switch (item.type) {
|
|
3027
|
+
case "version_ref":
|
|
3028
|
+
return versionRefIndicatorSerializer(item);
|
|
3029
|
+
default:
|
|
3030
|
+
return versionIndicatorSerializer(item);
|
|
3031
|
+
}
|
|
3032
|
+
}
|
|
3033
|
+
export function versionIndicatorUnionDeserializer(item) {
|
|
3034
|
+
switch (item["type"]) {
|
|
3035
|
+
case "version_ref":
|
|
3036
|
+
return versionRefIndicatorDeserializer(item);
|
|
3037
|
+
default:
|
|
3038
|
+
return versionIndicatorDeserializer(item);
|
|
3039
|
+
}
|
|
3040
|
+
}
|
|
3041
|
+
export function versionRefIndicatorSerializer(item) {
|
|
3042
|
+
return { type: item["type"], agent_version: item["agent_version"] };
|
|
3043
|
+
}
|
|
3044
|
+
export function versionRefIndicatorDeserializer(item) {
|
|
3045
|
+
return {
|
|
3046
|
+
type: item["type"],
|
|
3047
|
+
agent_version: item["agent_version"],
|
|
3048
|
+
};
|
|
3049
|
+
}
|
|
3050
|
+
export function agentSessionResourceDeserializer(item) {
|
|
3051
|
+
return {
|
|
3052
|
+
agent_session_id: item["agent_session_id"],
|
|
3053
|
+
version_indicator: versionIndicatorUnionDeserializer(item["version_indicator"]),
|
|
3054
|
+
status: item["status"],
|
|
3055
|
+
created_at: new Date(item["created_at"] * 1000),
|
|
3056
|
+
last_accessed_at: new Date(item["last_accessed_at"] * 1000),
|
|
3057
|
+
expires_at: new Date(item["expires_at"] * 1000),
|
|
3058
|
+
};
|
|
3059
|
+
}
|
|
3060
|
+
export function _agentsPagedResultAgentSessionResourceDeserializer(item) {
|
|
3061
|
+
return {
|
|
3062
|
+
data: agentSessionResourceArrayDeserializer(item["data"]),
|
|
3063
|
+
first_id: item["first_id"],
|
|
3064
|
+
last_id: item["last_id"],
|
|
3065
|
+
has_more: item["has_more"],
|
|
3066
|
+
};
|
|
3067
|
+
}
|
|
3068
|
+
export function agentSessionResourceArrayDeserializer(result) {
|
|
3069
|
+
return result.map((item) => {
|
|
3070
|
+
return agentSessionResourceDeserializer(item);
|
|
3071
|
+
});
|
|
3072
|
+
}
|
|
3073
|
+
export function sessionFileWriteResponseDeserializer(item) {
|
|
3074
|
+
return {
|
|
3075
|
+
path: item["path"],
|
|
3076
|
+
bytes_written: item["bytes_written"],
|
|
3077
|
+
};
|
|
3078
|
+
}
|
|
3079
|
+
export function sessionDirectoryListResponseDeserializer(item) {
|
|
3080
|
+
return {
|
|
3081
|
+
path: item["path"],
|
|
3082
|
+
entries: sessionDirectoryEntryArrayDeserializer(item["entries"]),
|
|
3083
|
+
};
|
|
3084
|
+
}
|
|
3085
|
+
export function sessionDirectoryEntryArrayDeserializer(result) {
|
|
3086
|
+
return result.map((item) => {
|
|
3087
|
+
return sessionDirectoryEntryDeserializer(item);
|
|
3088
|
+
});
|
|
3089
|
+
}
|
|
3090
|
+
export function sessionDirectoryEntryDeserializer(item) {
|
|
3091
|
+
return {
|
|
3092
|
+
name: item["name"],
|
|
3093
|
+
size: item["size"],
|
|
3094
|
+
is_directory: item["is_directory"],
|
|
3095
|
+
modified_time: new Date(item["modified_time"]),
|
|
3096
|
+
};
|
|
3097
|
+
}
|
|
2434
3098
|
export function evaluationTaxonomySerializer(item) {
|
|
2435
3099
|
return {
|
|
2436
3100
|
description: item["description"],
|
|
@@ -2771,6 +3435,7 @@ export function evaluatorMetricSerializer(item) {
|
|
|
2771
3435
|
desirable_direction: item["desirable_direction"],
|
|
2772
3436
|
min_value: item["min_value"],
|
|
2773
3437
|
max_value: item["max_value"],
|
|
3438
|
+
threshold: item["threshold"],
|
|
2774
3439
|
is_primary: item["is_primary"],
|
|
2775
3440
|
};
|
|
2776
3441
|
}
|
|
@@ -2780,6 +3445,7 @@ export function evaluatorMetricDeserializer(item) {
|
|
|
2780
3445
|
desirable_direction: item["desirable_direction"],
|
|
2781
3446
|
min_value: item["min_value"],
|
|
2782
3447
|
max_value: item["max_value"],
|
|
3448
|
+
threshold: item["threshold"],
|
|
2783
3449
|
is_primary: item["is_primary"],
|
|
2784
3450
|
};
|
|
2785
3451
|
}
|
|
@@ -2790,6 +3456,9 @@ export function codeBasedEvaluatorDefinitionSerializer(item) {
|
|
|
2790
3456
|
data_schema: item["data_schema"],
|
|
2791
3457
|
metrics: !item["metrics"] ? item["metrics"] : evaluatorMetricRecordSerializer(item["metrics"]),
|
|
2792
3458
|
code_text: item["code_text"],
|
|
3459
|
+
entry_point: item["entry_point"],
|
|
3460
|
+
image_tag: item["image_tag"],
|
|
3461
|
+
blob_uri: item["blob_uri"],
|
|
2793
3462
|
};
|
|
2794
3463
|
}
|
|
2795
3464
|
export function codeBasedEvaluatorDefinitionDeserializer(item) {
|
|
@@ -2801,6 +3470,9 @@ export function codeBasedEvaluatorDefinitionDeserializer(item) {
|
|
|
2801
3470
|
? item["metrics"]
|
|
2802
3471
|
: evaluatorMetricRecordDeserializer(item["metrics"]),
|
|
2803
3472
|
code_text: item["code_text"],
|
|
3473
|
+
entry_point: item["entry_point"],
|
|
3474
|
+
image_tag: item["image_tag"],
|
|
3475
|
+
blob_uri: item["blob_uri"],
|
|
2804
3476
|
};
|
|
2805
3477
|
}
|
|
2806
3478
|
export function promptBasedEvaluatorDefinitionSerializer(item) {
|
|
@@ -2831,7 +3503,7 @@ export function insightSerializer(item) {
|
|
|
2831
3503
|
}
|
|
2832
3504
|
export function insightDeserializer(item) {
|
|
2833
3505
|
return {
|
|
2834
|
-
|
|
3506
|
+
insight_id: item["id"],
|
|
2835
3507
|
metadata: insightsMetadataDeserializer(item["metadata"]),
|
|
2836
3508
|
state: item["state"],
|
|
2837
3509
|
displayName: item["displayName"],
|
|
@@ -3415,7 +4087,7 @@ export function scheduleSerializer(item) {
|
|
|
3415
4087
|
}
|
|
3416
4088
|
export function scheduleDeserializer(item) {
|
|
3417
4089
|
return {
|
|
3418
|
-
|
|
4090
|
+
schedule_id: item["id"],
|
|
3419
4091
|
displayName: item["displayName"],
|
|
3420
4092
|
description: item["description"],
|
|
3421
4093
|
enabled: item["enabled"],
|
|
@@ -3632,8 +4304,8 @@ export function evaluationScheduleTaskDeserializer(item) {
|
|
|
3632
4304
|
evalRun: _evaluationScheduleTaskEvalRunDeserializer(item["evalRun"]),
|
|
3633
4305
|
};
|
|
3634
4306
|
}
|
|
3635
|
-
export function _evaluationScheduleTaskEvalRunSerializer(
|
|
3636
|
-
return
|
|
4307
|
+
export function _evaluationScheduleTaskEvalRunSerializer(_item) {
|
|
4308
|
+
return {};
|
|
3637
4309
|
}
|
|
3638
4310
|
export function _evaluationScheduleTaskEvalRunDeserializer(item) {
|
|
3639
4311
|
return item;
|
|
@@ -3689,14 +4361,97 @@ export function scheduleRunArrayDeserializer(result) {
|
|
|
3689
4361
|
return scheduleRunDeserializer(item);
|
|
3690
4362
|
});
|
|
3691
4363
|
}
|
|
3692
|
-
export function
|
|
3693
|
-
return
|
|
4364
|
+
export function toolboxPoliciesSerializer(item) {
|
|
4365
|
+
return {
|
|
4366
|
+
rai_config: !item["rai_config"] ? item["rai_config"] : raiConfigSerializer(item["rai_config"]),
|
|
4367
|
+
};
|
|
3694
4368
|
}
|
|
3695
|
-
export function
|
|
3696
|
-
return
|
|
4369
|
+
export function toolboxPoliciesDeserializer(item) {
|
|
4370
|
+
return {
|
|
4371
|
+
rai_config: !item["rai_config"]
|
|
4372
|
+
? item["rai_config"]
|
|
4373
|
+
: raiConfigDeserializer(item["rai_config"]),
|
|
4374
|
+
};
|
|
3697
4375
|
}
|
|
3698
|
-
export function
|
|
3699
|
-
return
|
|
4376
|
+
export function toolboxVersionObjectDeserializer(item) {
|
|
4377
|
+
return {
|
|
4378
|
+
metadata: !item["metadata"]
|
|
4379
|
+
? item["metadata"]
|
|
4380
|
+
: Object.fromEntries(Object.entries(item["metadata"]).map(([k1, p1]) => [k1, p1])),
|
|
4381
|
+
id: item["id"],
|
|
4382
|
+
name: item["name"],
|
|
4383
|
+
version: item["version"],
|
|
4384
|
+
description: item["description"],
|
|
4385
|
+
created_at: new Date(item["created_at"] * 1000),
|
|
4386
|
+
tools: toolUnionArrayDeserializer(item["tools"]),
|
|
4387
|
+
policies: !item["policies"] ? item["policies"] : toolboxPoliciesDeserializer(item["policies"]),
|
|
4388
|
+
};
|
|
4389
|
+
}
|
|
4390
|
+
export function toolboxObjectDeserializer(item) {
|
|
4391
|
+
return {
|
|
4392
|
+
id: item["id"],
|
|
4393
|
+
name: item["name"],
|
|
4394
|
+
default_version: item["default_version"],
|
|
4395
|
+
};
|
|
4396
|
+
}
|
|
4397
|
+
export function _agentsPagedResultToolboxObjectDeserializer(item) {
|
|
4398
|
+
return {
|
|
4399
|
+
data: toolboxObjectArrayDeserializer(item["data"]),
|
|
4400
|
+
first_id: item["first_id"],
|
|
4401
|
+
last_id: item["last_id"],
|
|
4402
|
+
has_more: item["has_more"],
|
|
4403
|
+
};
|
|
4404
|
+
}
|
|
4405
|
+
export function toolboxObjectArrayDeserializer(result) {
|
|
4406
|
+
return result.map((item) => {
|
|
4407
|
+
return toolboxObjectDeserializer(item);
|
|
4408
|
+
});
|
|
4409
|
+
}
|
|
4410
|
+
export function _agentsPagedResultToolboxVersionObjectDeserializer(item) {
|
|
4411
|
+
return {
|
|
4412
|
+
data: toolboxVersionObjectArrayDeserializer(item["data"]),
|
|
4413
|
+
first_id: item["first_id"],
|
|
4414
|
+
last_id: item["last_id"],
|
|
4415
|
+
has_more: item["has_more"],
|
|
4416
|
+
};
|
|
4417
|
+
}
|
|
4418
|
+
export function toolboxVersionObjectArrayDeserializer(result) {
|
|
4419
|
+
return result.map((item) => {
|
|
4420
|
+
return toolboxVersionObjectDeserializer(item);
|
|
4421
|
+
});
|
|
4422
|
+
}
|
|
4423
|
+
export function skillObjectDeserializer(item) {
|
|
4424
|
+
return {
|
|
4425
|
+
skill_id: item["skill_id"],
|
|
4426
|
+
has_blob: item["has_blob"],
|
|
4427
|
+
name: item["name"],
|
|
4428
|
+
description: item["description"],
|
|
4429
|
+
metadata: !item["metadata"]
|
|
4430
|
+
? item["metadata"]
|
|
4431
|
+
: Object.fromEntries(Object.entries(item["metadata"]).map(([k, p]) => [k, p])),
|
|
4432
|
+
};
|
|
4433
|
+
}
|
|
4434
|
+
export function _agentsPagedResultSkillObjectDeserializer(item) {
|
|
4435
|
+
return {
|
|
4436
|
+
data: skillObjectArrayDeserializer(item),
|
|
4437
|
+
first_id: item["first_id"],
|
|
4438
|
+
last_id: item["last_id"],
|
|
4439
|
+
has_more: item["has_more"],
|
|
4440
|
+
};
|
|
4441
|
+
}
|
|
4442
|
+
export function skillObjectArrayDeserializer(result) {
|
|
4443
|
+
return result.map((item) => {
|
|
4444
|
+
return skillObjectDeserializer(item);
|
|
4445
|
+
});
|
|
4446
|
+
}
|
|
4447
|
+
export function deleteSkillResponseDeserializer(item) {
|
|
4448
|
+
return {
|
|
4449
|
+
name: item["name"],
|
|
4450
|
+
deleted: item["deleted"],
|
|
4451
|
+
};
|
|
4452
|
+
}
|
|
4453
|
+
export function updateToolboxRequestSerializer(item) {
|
|
4454
|
+
return { default_version: item["default_version"] };
|
|
3700
4455
|
}
|
|
3701
4456
|
export function _listVersionsRequestTypeSerializer(item) {
|
|
3702
4457
|
return item;
|