@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["../../../../../src/classic/beta/schedules/index.ts"],
|
|
4
4
|
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AIProjectContext } from \"../../../api/aiProjectContext.js\";\nimport {\n listRuns,\n getRun,\n createOrUpdate,\n list,\n get,\n $delete,\n} from \"../../../api/beta/schedules/operations.js\";\nimport type {\n BetaSchedulesListRunsOptionalParams,\n BetaSchedulesGetRunOptionalParams,\n BetaSchedulesCreateOrUpdateOptionalParams,\n BetaSchedulesListOptionalParams,\n BetaSchedulesGetOptionalParams,\n BetaSchedulesDeleteOptionalParams,\n} from \"../../../api/beta/schedules/options.js\";\nimport type { Schedule, ScheduleRun } from \"../../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\n\n/** Interface representing a BetaSchedules operations. */\nexport interface BetaSchedulesOperations {\n /** List all schedule runs. */\n listRuns: (\n id: string,\n options?: BetaSchedulesListRunsOptionalParams,\n ) => PagedAsyncIterableIterator<ScheduleRun>;\n /** Get a schedule run by id. */\n getRun: (\n scheduleId: string,\n runId: string,\n options?: BetaSchedulesGetRunOptionalParams,\n ) => Promise<ScheduleRun>;\n /** Create or update operation template. */\n createOrUpdate: (\n id: string,\n schedule: Schedule,\n options?: BetaSchedulesCreateOrUpdateOptionalParams,\n ) => Promise<Schedule>;\n /** List all schedules. */\n list: (options?: BetaSchedulesListOptionalParams) => PagedAsyncIterableIterator<Schedule>;\n /** Get a schedule by id. */\n get: (id: string, options?: BetaSchedulesGetOptionalParams) => Promise<Schedule>;\n /** Delete a schedule. */\n delete: (id: string, options?: BetaSchedulesDeleteOptionalParams) => Promise<void>;\n}\n\nfunction _getBetaSchedules(context: AIProjectContext) {\n return {\n listRuns: (id: string, options?: BetaSchedulesListRunsOptionalParams) =>\n listRuns(context, id, options),\n getRun: (scheduleId: string, runId: string, options?: BetaSchedulesGetRunOptionalParams) =>\n getRun(context, scheduleId, runId, options),\n createOrUpdate: (\n id: string,\n schedule: Schedule,\n options?: BetaSchedulesCreateOrUpdateOptionalParams,\n ) => createOrUpdate(context, id, schedule, options),\n list: (options?: BetaSchedulesListOptionalParams) => list(context, options),\n get: (id: string, options?: BetaSchedulesGetOptionalParams) => get(context, id, options),\n delete: (id: string, options?: BetaSchedulesDeleteOptionalParams) =>\n $delete(context, id, options),\n };\n}\n\nexport function _getBetaSchedulesOperations(context: AIProjectContext): BetaSchedulesOperations {\n return {\n ..._getBetaSchedules(context),\n };\n}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAOO;AAuCP,SAAS,kBAAkB,SAA2B;AACpD,SAAO;AAAA,IACL,UAAU,CAAC,IAAY,gBACrB,4BAAS,SAAS,IAAI,OAAO;AAAA,IAC/B,QAAQ,CAAC,YAAoB,OAAe,gBAC1C,0BAAO,SAAS,YAAY,OAAO,OAAO;AAAA,IAC5C,gBAAgB,CACd,IACA,UACA,gBACG,kCAAe,SAAS,IAAI,UAAU,OAAO;AAAA,IAClD,MAAM,CAAC,gBAA8C,wBAAK,SAAS,OAAO;AAAA,IAC1E,KAAK,CAAC,IAAY,gBAA6C,uBAAI,SAAS,IAAI,OAAO;AAAA,IACvF,QAAQ,CAAC,IAAY,gBACnB,2BAAQ,SAAS,IAAI,OAAO;AAAA,EAChC;AACF;AAEO,SAAS,4BAA4B,SAAoD;AAC9F,SAAO;AAAA,IACL,GAAG,kBAAkB,OAAO;AAAA,EAC9B;AACF;",
|
|
6
6
|
"names": []
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { AIProjectContext } from "../../../api/aiProjectContext.js";
|
|
2
|
+
import type { BetaSkillsDeleteOptionalParams, BetaSkillsUpdateOptionalParams, BetaSkillsListOptionalParams, BetaSkillsDownloadOptionalParams, BetaSkillsGetOptionalParams, CreateFromPackageOptionalParams, BetaSkillsCreateOptionalParams } from "../../../api/beta/skills/options.js";
|
|
3
|
+
import type { SkillObject, DeleteSkillResponse, BetaSkillsDownloadResponse } from "../../../models/models.js";
|
|
4
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
5
|
+
/** Interface representing a BetaSkills operations. */
|
|
6
|
+
export interface BetaSkillsOperations {
|
|
7
|
+
/** Deletes a skill. */
|
|
8
|
+
delete: (skillName: string, options?: BetaSkillsDeleteOptionalParams) => Promise<DeleteSkillResponse>;
|
|
9
|
+
/** Updates an existing skill. */
|
|
10
|
+
update: (skillName: string, options?: BetaSkillsUpdateOptionalParams) => Promise<SkillObject>;
|
|
11
|
+
/** Returns the list of all skills. */
|
|
12
|
+
list: (options?: BetaSkillsListOptionalParams) => PagedAsyncIterableIterator<SkillObject>;
|
|
13
|
+
/** Downloads a skill package. */
|
|
14
|
+
download: (skillName: string, options?: BetaSkillsDownloadOptionalParams) => Promise<BetaSkillsDownloadResponse>;
|
|
15
|
+
/** Retrieves a skill. */
|
|
16
|
+
get: (skillName: string, options?: BetaSkillsGetOptionalParams) => Promise<SkillObject>;
|
|
17
|
+
/** Creates a skill from a zip package. */
|
|
18
|
+
createFromPackage: (body: Uint8Array, options?: CreateFromPackageOptionalParams) => Promise<SkillObject>;
|
|
19
|
+
/** Creates a skill. */
|
|
20
|
+
create: (name: string, options?: BetaSkillsCreateOptionalParams) => Promise<SkillObject>;
|
|
21
|
+
}
|
|
22
|
+
export declare function _getBetaSkillsOperations(context: AIProjectContext): BetaSkillsOperations;
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/classic/beta/skills/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAUzE,OAAO,KAAK,EACV,8BAA8B,EAC9B,8BAA8B,EAC9B,4BAA4B,EAC5B,gCAAgC,EAChC,2BAA2B,EAC3B,+BAA+B,EAC/B,8BAA8B,EAC/B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EACV,WAAW,EACX,mBAAmB,EACnB,0BAA0B,EAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAErE,sDAAsD;AACtD,MAAM,WAAW,oBAAoB;IACnC,uBAAuB;IACvB,MAAM,EAAE,CACN,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,8BAA8B,KACrC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAClC,iCAAiC;IACjC,MAAM,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,8BAA8B,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC;IAC9F,sCAAsC;IACtC,IAAI,EAAE,CAAC,OAAO,CAAC,EAAE,4BAA4B,KAAK,0BAA0B,CAAC,WAAW,CAAC,CAAC;IAC1F,iCAAiC;IACjC,QAAQ,EAAE,CACR,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,gCAAgC,KACvC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACzC,yBAAyB;IACzB,GAAG,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,2BAA2B,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC;IACxF,0CAA0C;IAC1C,iBAAiB,EAAE,CACjB,IAAI,EAAE,UAAU,EAChB,OAAO,CAAC,EAAE,+BAA+B,KACtC,OAAO,CAAC,WAAW,CAAC,CAAC;IAC1B,uBAAuB;IACvB,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,8BAA8B,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC;CAC1F;AAoBD,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,gBAAgB,GAAG,oBAAoB,CAIxF"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var skills_exports = {};
|
|
19
|
+
__export(skills_exports, {
|
|
20
|
+
_getBetaSkillsOperations: () => _getBetaSkillsOperations
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(skills_exports);
|
|
23
|
+
var import_operations = require("../../../api/beta/skills/operations.js");
|
|
24
|
+
function _getBetaSkills(context) {
|
|
25
|
+
return {
|
|
26
|
+
delete: (skillName, options) => (0, import_operations.$delete)(context, skillName, options),
|
|
27
|
+
update: (skillName, options) => (0, import_operations.update)(context, skillName, options),
|
|
28
|
+
list: (options) => (0, import_operations.list)(context, options),
|
|
29
|
+
download: (skillName, options) => (0, import_operations.download)(context, skillName, options),
|
|
30
|
+
get: (skillName, options) => (0, import_operations.get)(context, skillName, options),
|
|
31
|
+
createFromPackage: (body, options) => (0, import_operations.createFromPackage)(context, body, options),
|
|
32
|
+
create: (name, options) => (0, import_operations.create)(context, name, options)
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
function _getBetaSkillsOperations(context) {
|
|
36
|
+
return {
|
|
37
|
+
..._getBetaSkills(context)
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
41
|
+
0 && (module.exports = {
|
|
42
|
+
_getBetaSkillsOperations
|
|
43
|
+
});
|
|
44
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../src/classic/beta/skills/index.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AIProjectContext } from \"../../../api/aiProjectContext.js\";\nimport {\n $delete,\n update,\n list,\n download,\n get,\n createFromPackage,\n create,\n} from \"../../../api/beta/skills/operations.js\";\nimport type {\n BetaSkillsDeleteOptionalParams,\n BetaSkillsUpdateOptionalParams,\n BetaSkillsListOptionalParams,\n BetaSkillsDownloadOptionalParams,\n BetaSkillsGetOptionalParams,\n CreateFromPackageOptionalParams,\n BetaSkillsCreateOptionalParams,\n} from \"../../../api/beta/skills/options.js\";\nimport type {\n SkillObject,\n DeleteSkillResponse,\n BetaSkillsDownloadResponse,\n} from \"../../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\n\n/** Interface representing a BetaSkills operations. */\nexport interface BetaSkillsOperations {\n /** Deletes a skill. */\n delete: (\n skillName: string,\n options?: BetaSkillsDeleteOptionalParams,\n ) => Promise<DeleteSkillResponse>;\n /** Updates an existing skill. */\n update: (skillName: string, options?: BetaSkillsUpdateOptionalParams) => Promise<SkillObject>;\n /** Returns the list of all skills. */\n list: (options?: BetaSkillsListOptionalParams) => PagedAsyncIterableIterator<SkillObject>;\n /** Downloads a skill package. */\n download: (\n skillName: string,\n options?: BetaSkillsDownloadOptionalParams,\n ) => Promise<BetaSkillsDownloadResponse>;\n /** Retrieves a skill. */\n get: (skillName: string, options?: BetaSkillsGetOptionalParams) => Promise<SkillObject>;\n /** Creates a skill from a zip package. */\n createFromPackage: (\n body: Uint8Array,\n options?: CreateFromPackageOptionalParams,\n ) => Promise<SkillObject>;\n /** Creates a skill. */\n create: (name: string, options?: BetaSkillsCreateOptionalParams) => Promise<SkillObject>;\n}\n\nfunction _getBetaSkills(context: AIProjectContext) {\n return {\n delete: (skillName: string, options?: BetaSkillsDeleteOptionalParams) =>\n $delete(context, skillName, options),\n update: (skillName: string, options?: BetaSkillsUpdateOptionalParams) =>\n update(context, skillName, options),\n list: (options?: BetaSkillsListOptionalParams) => list(context, options),\n download: (skillName: string, options?: BetaSkillsDownloadOptionalParams) =>\n download(context, skillName, options),\n get: (skillName: string, options?: BetaSkillsGetOptionalParams) =>\n get(context, skillName, options),\n createFromPackage: (body: Uint8Array, options?: CreateFromPackageOptionalParams) =>\n createFromPackage(context, body, options),\n create: (name: string, options?: BetaSkillsCreateOptionalParams) =>\n create(context, name, options),\n };\n}\n\nexport function _getBetaSkillsOperations(context: AIProjectContext): BetaSkillsOperations {\n return {\n ..._getBetaSkills(context),\n };\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAQO;AA4CP,SAAS,eAAe,SAA2B;AACjD,SAAO;AAAA,IACL,QAAQ,CAAC,WAAmB,gBAC1B,2BAAQ,SAAS,WAAW,OAAO;AAAA,IACrC,QAAQ,CAAC,WAAmB,gBAC1B,0BAAO,SAAS,WAAW,OAAO;AAAA,IACpC,MAAM,CAAC,gBAA2C,wBAAK,SAAS,OAAO;AAAA,IACvE,UAAU,CAAC,WAAmB,gBAC5B,4BAAS,SAAS,WAAW,OAAO;AAAA,IACtC,KAAK,CAAC,WAAmB,gBACvB,uBAAI,SAAS,WAAW,OAAO;AAAA,IACjC,mBAAmB,CAAC,MAAkB,gBACpC,qCAAkB,SAAS,MAAM,OAAO;AAAA,IAC1C,QAAQ,CAAC,MAAc,gBACrB,0BAAO,SAAS,MAAM,OAAO;AAAA,EACjC;AACF;AAEO,SAAS,yBAAyB,SAAiD;AACxF,SAAO;AAAA,IACL,GAAG,eAAe,OAAO;AAAA,EAC3B;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { AIProjectContext } from "../../../api/aiProjectContext.js";
|
|
2
|
+
import type { BetaToolboxesDeleteVersionOptionalParams, BetaToolboxesDeleteOptionalParams, BetaToolboxesUpdateOptionalParams, BetaToolboxesGetVersionOptionalParams, BetaToolboxesListVersionsOptionalParams, BetaToolboxesListOptionalParams, BetaToolboxesGetOptionalParams, BetaToolboxesCreateVersionOptionalParams } from "../../../api/beta/toolboxes/options.js";
|
|
3
|
+
import type { ToolUnion, ToolboxVersionObject, ToolboxObject } from "../../../models/models.js";
|
|
4
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
5
|
+
/** Interface representing a BetaToolboxes operations. */
|
|
6
|
+
export interface BetaToolboxesOperations {
|
|
7
|
+
/** Delete a specific version of a toolbox. */
|
|
8
|
+
deleteVersion: (toolboxName: string, version: string, options?: BetaToolboxesDeleteVersionOptionalParams) => Promise<void>;
|
|
9
|
+
/** Delete a toolbox and all its versions. */
|
|
10
|
+
delete: (toolboxName: string, options?: BetaToolboxesDeleteOptionalParams) => Promise<void>;
|
|
11
|
+
/** Update a toolbox to point to a specific version. */
|
|
12
|
+
update: (toolboxName: string, defaultVersion: string, options?: BetaToolboxesUpdateOptionalParams) => Promise<ToolboxObject>;
|
|
13
|
+
/** Retrieve a specific version of a toolbox. */
|
|
14
|
+
getVersion: (toolboxName: string, version: string, options?: BetaToolboxesGetVersionOptionalParams) => Promise<ToolboxVersionObject>;
|
|
15
|
+
/** List all versions of a toolbox. */
|
|
16
|
+
listVersions: (toolboxName: string, options?: BetaToolboxesListVersionsOptionalParams) => PagedAsyncIterableIterator<ToolboxVersionObject>;
|
|
17
|
+
/** List all toolboxes. */
|
|
18
|
+
list: (options?: BetaToolboxesListOptionalParams) => PagedAsyncIterableIterator<ToolboxObject>;
|
|
19
|
+
/** Retrieve a toolbox. */
|
|
20
|
+
get: (toolboxName: string, options?: BetaToolboxesGetOptionalParams) => Promise<ToolboxObject>;
|
|
21
|
+
/** Create a new version of a toolbox. If the toolbox does not exist, it will be created. */
|
|
22
|
+
createVersion: (toolboxName: string, tools: ToolUnion[], options?: BetaToolboxesCreateVersionOptionalParams) => Promise<ToolboxVersionObject>;
|
|
23
|
+
}
|
|
24
|
+
export declare function _getBetaToolboxesOperations(context: AIProjectContext): BetaToolboxesOperations;
|
|
25
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/classic/beta/toolboxes/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAWzE,OAAO,KAAK,EACV,wCAAwC,EACxC,iCAAiC,EACjC,iCAAiC,EACjC,qCAAqC,EACrC,uCAAuC,EACvC,+BAA+B,EAC/B,8BAA8B,EAC9B,wCAAwC,EACzC,MAAM,wCAAwC,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAChG,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAErE,yDAAyD;AACzD,MAAM,WAAW,uBAAuB;IACtC,8CAA8C;IAC9C,aAAa,EAAE,CACb,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,wCAAwC,KAC/C,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,6CAA6C;IAC7C,MAAM,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,iCAAiC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5F,uDAAuD;IACvD,MAAM,EAAE,CACN,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,iCAAiC,KACxC,OAAO,CAAC,aAAa,CAAC,CAAC;IAC5B,gDAAgD;IAChD,UAAU,EAAE,CACV,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,qCAAqC,KAC5C,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACnC,sCAAsC;IACtC,YAAY,EAAE,CACZ,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,uCAAuC,KAC9C,0BAA0B,CAAC,oBAAoB,CAAC,CAAC;IACtD,0BAA0B;IAC1B,IAAI,EAAE,CAAC,OAAO,CAAC,EAAE,+BAA+B,KAAK,0BAA0B,CAAC,aAAa,CAAC,CAAC;IAC/F,0BAA0B;IAC1B,GAAG,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,8BAA8B,KAAK,OAAO,CAAC,aAAa,CAAC,CAAC;IAC/F,4FAA4F;IAC5F,aAAa,EAAE,CACb,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,SAAS,EAAE,EAClB,OAAO,CAAC,EAAE,wCAAwC,KAC/C,OAAO,CAAC,oBAAoB,CAAC,CAAC;CACpC;AAkCD,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,gBAAgB,GAAG,uBAAuB,CAI9F"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var toolboxes_exports = {};
|
|
19
|
+
__export(toolboxes_exports, {
|
|
20
|
+
_getBetaToolboxesOperations: () => _getBetaToolboxesOperations
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(toolboxes_exports);
|
|
23
|
+
var import_operations = require("../../../api/beta/toolboxes/operations.js");
|
|
24
|
+
function _getBetaToolboxes(context) {
|
|
25
|
+
return {
|
|
26
|
+
deleteVersion: (toolboxName, version, options) => (0, import_operations.deleteVersion)(context, toolboxName, version, options),
|
|
27
|
+
delete: (toolboxName, options) => (0, import_operations.$delete)(context, toolboxName, options),
|
|
28
|
+
update: (toolboxName, defaultVersion, options) => (0, import_operations.update)(context, toolboxName, defaultVersion, options),
|
|
29
|
+
getVersion: (toolboxName, version, options) => (0, import_operations.getVersion)(context, toolboxName, version, options),
|
|
30
|
+
listVersions: (toolboxName, options) => (0, import_operations.listVersions)(context, toolboxName, options),
|
|
31
|
+
list: (options) => (0, import_operations.list)(context, options),
|
|
32
|
+
get: (toolboxName, options) => (0, import_operations.get)(context, toolboxName, options),
|
|
33
|
+
createVersion: (toolboxName, tools, options) => (0, import_operations.createVersion)(context, toolboxName, tools, options)
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
function _getBetaToolboxesOperations(context) {
|
|
37
|
+
return {
|
|
38
|
+
..._getBetaToolboxes(context)
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
42
|
+
0 && (module.exports = {
|
|
43
|
+
_getBetaToolboxesOperations
|
|
44
|
+
});
|
|
45
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../src/classic/beta/toolboxes/index.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AIProjectContext } from \"../../../api/aiProjectContext.js\";\nimport {\n deleteVersion,\n $delete,\n update,\n getVersion,\n listVersions,\n list,\n get,\n createVersion,\n} from \"../../../api/beta/toolboxes/operations.js\";\nimport type {\n BetaToolboxesDeleteVersionOptionalParams,\n BetaToolboxesDeleteOptionalParams,\n BetaToolboxesUpdateOptionalParams,\n BetaToolboxesGetVersionOptionalParams,\n BetaToolboxesListVersionsOptionalParams,\n BetaToolboxesListOptionalParams,\n BetaToolboxesGetOptionalParams,\n BetaToolboxesCreateVersionOptionalParams,\n} from \"../../../api/beta/toolboxes/options.js\";\nimport type { ToolUnion, ToolboxVersionObject, ToolboxObject } from \"../../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\n\n/** Interface representing a BetaToolboxes operations. */\nexport interface BetaToolboxesOperations {\n /** Delete a specific version of a toolbox. */\n deleteVersion: (\n toolboxName: string,\n version: string,\n options?: BetaToolboxesDeleteVersionOptionalParams,\n ) => Promise<void>;\n /** Delete a toolbox and all its versions. */\n delete: (toolboxName: string, options?: BetaToolboxesDeleteOptionalParams) => Promise<void>;\n /** Update a toolbox to point to a specific version. */\n update: (\n toolboxName: string,\n defaultVersion: string,\n options?: BetaToolboxesUpdateOptionalParams,\n ) => Promise<ToolboxObject>;\n /** Retrieve a specific version of a toolbox. */\n getVersion: (\n toolboxName: string,\n version: string,\n options?: BetaToolboxesGetVersionOptionalParams,\n ) => Promise<ToolboxVersionObject>;\n /** List all versions of a toolbox. */\n listVersions: (\n toolboxName: string,\n options?: BetaToolboxesListVersionsOptionalParams,\n ) => PagedAsyncIterableIterator<ToolboxVersionObject>;\n /** List all toolboxes. */\n list: (options?: BetaToolboxesListOptionalParams) => PagedAsyncIterableIterator<ToolboxObject>;\n /** Retrieve a toolbox. */\n get: (toolboxName: string, options?: BetaToolboxesGetOptionalParams) => Promise<ToolboxObject>;\n /** Create a new version of a toolbox. If the toolbox does not exist, it will be created. */\n createVersion: (\n toolboxName: string,\n tools: ToolUnion[],\n options?: BetaToolboxesCreateVersionOptionalParams,\n ) => Promise<ToolboxVersionObject>;\n}\n\nfunction _getBetaToolboxes(context: AIProjectContext) {\n return {\n deleteVersion: (\n toolboxName: string,\n version: string,\n options?: BetaToolboxesDeleteVersionOptionalParams,\n ) => deleteVersion(context, toolboxName, version, options),\n delete: (toolboxName: string, options?: BetaToolboxesDeleteOptionalParams) =>\n $delete(context, toolboxName, options),\n update: (\n toolboxName: string,\n defaultVersion: string,\n options?: BetaToolboxesUpdateOptionalParams,\n ) => update(context, toolboxName, defaultVersion, options),\n getVersion: (\n toolboxName: string,\n version: string,\n options?: BetaToolboxesGetVersionOptionalParams,\n ) => getVersion(context, toolboxName, version, options),\n listVersions: (toolboxName: string, options?: BetaToolboxesListVersionsOptionalParams) =>\n listVersions(context, toolboxName, options),\n list: (options?: BetaToolboxesListOptionalParams) => list(context, options),\n get: (toolboxName: string, options?: BetaToolboxesGetOptionalParams) =>\n get(context, toolboxName, options),\n createVersion: (\n toolboxName: string,\n tools: ToolUnion[],\n options?: BetaToolboxesCreateVersionOptionalParams,\n ) => createVersion(context, toolboxName, tools, options),\n };\n}\n\nexport function _getBetaToolboxesOperations(context: AIProjectContext): BetaToolboxesOperations {\n return {\n ..._getBetaToolboxes(context),\n };\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBASO;AAqDP,SAAS,kBAAkB,SAA2B;AACpD,SAAO;AAAA,IACL,eAAe,CACb,aACA,SACA,gBACG,iCAAc,SAAS,aAAa,SAAS,OAAO;AAAA,IACzD,QAAQ,CAAC,aAAqB,gBAC5B,2BAAQ,SAAS,aAAa,OAAO;AAAA,IACvC,QAAQ,CACN,aACA,gBACA,gBACG,0BAAO,SAAS,aAAa,gBAAgB,OAAO;AAAA,IACzD,YAAY,CACV,aACA,SACA,gBACG,8BAAW,SAAS,aAAa,SAAS,OAAO;AAAA,IACtD,cAAc,CAAC,aAAqB,gBAClC,gCAAa,SAAS,aAAa,OAAO;AAAA,IAC5C,MAAM,CAAC,gBAA8C,wBAAK,SAAS,OAAO;AAAA,IAC1E,KAAK,CAAC,aAAqB,gBACzB,uBAAI,SAAS,aAAa,OAAO;AAAA,IACnC,eAAe,CACb,aACA,OACA,gBACG,iCAAc,SAAS,aAAa,OAAO,OAAO;AAAA,EACzD;AACF;AAEO,SAAS,4BAA4B,SAAoD;AAC9F,SAAO;AAAA,IACL,GAAG,kBAAkB,OAAO;AAAA,EAC9B;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["../../../../src/classic/connections/index.ts"],
|
|
4
4
|
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AIProjectContext } from \"../../api/aiProjectContext.js\";\nimport { list, getWithCredentials, get, getDefault } from \"../../api/connections/operations.js\";\nimport type {\n ConnectionsListOptionalParams,\n ConnectionsGetWithCredentialsOptionalParams,\n ConnectionsGetOptionalParams,\n ConnectionsGetDefaultOptionalParams,\n} from \"../../api/connections/options.js\";\nimport type { Connection, ConnectionType } from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\n\n/** Interface representing a Connections operations. */\nexport interface ConnectionsOperations {\n /** List all connections in the project, without populating connection credentials */\n list: (options?: ConnectionsListOptionalParams) => PagedAsyncIterableIterator<Connection>;\n /** Get a connection by name, with its connection credentials */\n getWithCredentials: (\n name: string,\n options?: ConnectionsGetWithCredentialsOptionalParams,\n ) => Promise<Connection>;\n /** Get a connection by name, without populating connection credentials */\n get: (name: string, options?: ConnectionsGetOptionalParams) => Promise<Connection>;\n /** Get the default connection for the project */\n getDefault: (\n connectionType: ConnectionType,\n options?: ConnectionsGetDefaultOptionalParams,\n ) => Promise<Connection>;\n}\n\nfunction _getConnections(context: AIProjectContext) {\n return {\n list: (options?: ConnectionsListOptionalParams) => list(context, options),\n getWithCredentials: (name: string, options?: ConnectionsGetWithCredentialsOptionalParams) =>\n getWithCredentials(context, name, options),\n get: (name: string, options?: ConnectionsGetOptionalParams) => get(context, name, options),\n getDefault: (connectionType: ConnectionType, options?: ConnectionsGetDefaultOptionalParams) =>\n getDefault(context, connectionType, options),\n };\n}\n\nexport function _getConnectionsOperations(context: AIProjectContext): ConnectionsOperations {\n return {\n ..._getConnections(context),\n };\n}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAA0D;AA4B1D,SAAS,gBAAgB,SAA2B;AAClD,SAAO;AAAA,IACL,MAAM,CAAC,gBAA4C,wBAAK,SAAS,OAAO;AAAA,IACxE,oBAAoB,CAAC,MAAc,gBACjC,sCAAmB,SAAS,MAAM,OAAO;AAAA,IAC3C,KAAK,CAAC,MAAc,gBAA2C,uBAAI,SAAS,MAAM,OAAO;AAAA,IACzF,YAAY,CAAC,gBAAgC,gBAC3C,8BAAW,SAAS,gBAAgB,OAAO;AAAA,EAC/C;AACF;AAEO,SAAS,0BAA0B,SAAkD;AAC1F,SAAO;AAAA,IACL,GAAG,gBAAgB,OAAO;AAAA,EAC5B;AACF;",
|
|
6
6
|
"names": []
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["../../../../src/classic/datasets/index.ts"],
|
|
4
4
|
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n AIProjectClientOptionalParams,\n AIProjectContext,\n} from \"../../api/aiProjectContext.js\";\nimport {\n getCredentials,\n pendingUpload,\n createOrUpdate,\n $delete,\n get,\n list,\n listVersions,\n uploadFile,\n uploadFolder,\n} from \"../../api/datasets/operations.js\";\nimport type {\n DatasetsGetCredentialsOptionalParams,\n DatasetsPendingUploadOptionalParams,\n DatasetsCreateOrUpdateOptionalParams,\n DatasetsDeleteOptionalParams,\n DatasetsGetOptionalParams,\n DatasetsListOptionalParams,\n DatasetsListVersionsOptionalParams,\n} from \"../../api/datasets/options.js\";\nimport type {\n DatasetVersionUnion,\n PendingUploadRequest,\n PendingUploadResponse,\n DatasetCredential,\n} from \"../../models/models.js\";\nimport type { DatasetUploadOptions } from \"../../api/index.js\";\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\n\n/** Interface representing a Datasets operations. */\nexport interface DatasetsOperations {\n /** Get the SAS credential to access the storage account associated with a Dataset version. */\n getCredentials: (\n name: string,\n version: string,\n options?: DatasetsGetCredentialsOptionalParams,\n ) => Promise<DatasetCredential>;\n /** Start a new or get an existing pending upload of a dataset for a specific version. */\n pendingUpload: (\n name: string,\n version: string,\n pendingUploadRequest: PendingUploadRequest,\n options?: DatasetsPendingUploadOptionalParams,\n ) => Promise<PendingUploadResponse>;\n /** Create a new or update an existing DatasetVersion with the given version id */\n createOrUpdate: (\n name: string,\n version: string,\n datasetVersion: DatasetVersionUnion,\n options?: DatasetsCreateOrUpdateOptionalParams,\n ) => Promise<DatasetVersionUnion>;\n /** Delete the specific version of the DatasetVersion. The service returns 204 No Content if the DatasetVersion was deleted successfully or if the DatasetVersion does not exist. */\n delete: (name: string, version: string, options?: DatasetsDeleteOptionalParams) => Promise<void>;\n /** Get the specific version of the DatasetVersion. The service returns 404 Not Found error if the DatasetVersion does not exist. */\n get: (\n name: string,\n version: string,\n options?: DatasetsGetOptionalParams,\n ) => Promise<DatasetVersionUnion>;\n /** List the latest version of each DatasetVersion */\n list: (options?: DatasetsListOptionalParams) => PagedAsyncIterableIterator<DatasetVersionUnion>;\n /** List all versions of the given DatasetVersion */\n listVersions: (\n name: string,\n options?: DatasetsListVersionsOptionalParams,\n ) => PagedAsyncIterableIterator<DatasetVersionUnion>;\n /** Upload a file to the DatasetVersion */\n uploadFile: (\n name: string,\n version: string,\n filePath: string,\n options?: DatasetUploadOptions,\n ) => Promise<DatasetVersionUnion>;\n /** Upload a folder to the DatasetVersion */\n uploadFolder: (\n name: string,\n version: string,\n folderPath: string,\n options?: DatasetUploadOptions,\n ) => Promise<DatasetVersionUnion>;\n}\n\nfunction _getDatasets(\n context: AIProjectContext,\n projectOptions: AIProjectClientOptionalParams = {},\n) {\n return {\n getCredentials: (\n name: string,\n version: string,\n options?: DatasetsGetCredentialsOptionalParams,\n ) => getCredentials(context, name, version, options),\n pendingUpload: (\n name: string,\n version: string,\n pendingUploadRequest: PendingUploadRequest,\n options?: DatasetsPendingUploadOptionalParams,\n ) => pendingUpload(context, name, version, pendingUploadRequest, options),\n createOrUpdate: (\n name: string,\n version: string,\n datasetVersion: DatasetVersionUnion,\n options?: DatasetsCreateOrUpdateOptionalParams,\n ) => createOrUpdate(context, name, version, datasetVersion, options),\n delete: (name: string, version: string, options?: DatasetsDeleteOptionalParams) =>\n $delete(context, name, version, options),\n get: (name: string, version: string, options?: DatasetsGetOptionalParams) =>\n get(context, name, version, options),\n list: (options?: DatasetsListOptionalParams) => list(context, options),\n listVersions: (name: string, options?: DatasetsListVersionsOptionalParams) =>\n listVersions(context, name, options),\n uploadFile: (name: string, version: string, filePath: string, options?: DatasetUploadOptions) =>\n uploadFile(context, name, version, filePath, { ...options, projectOptions }),\n uploadFolder: (\n name: string,\n version: string,\n folderPath: string,\n options?: DatasetUploadOptions,\n ) => uploadFolder(context, name, version, folderPath, { ...options, projectOptions }),\n };\n}\n\nexport function _getDatasetsOperations(\n context: AIProjectContext,\n projectOptions: AIProjectClientOptionalParams = {},\n): DatasetsOperations {\n return {\n ..._getDatasets(context, projectOptions),\n };\n}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA,wBAUO;AAwEP,SAAS,aACP,SACA,iBAAgD,CAAC,GACjD;AACA,SAAO;AAAA,IACL,gBAAgB,CACd,MACA,SACA,gBACG,kCAAe,SAAS,MAAM,SAAS,OAAO;AAAA,IACnD,eAAe,CACb,MACA,SACA,sBACA,gBACG,iCAAc,SAAS,MAAM,SAAS,sBAAsB,OAAO;AAAA,IACxE,gBAAgB,CACd,MACA,SACA,gBACA,gBACG,kCAAe,SAAS,MAAM,SAAS,gBAAgB,OAAO;AAAA,IACnE,QAAQ,CAAC,MAAc,SAAiB,gBACtC,2BAAQ,SAAS,MAAM,SAAS,OAAO;AAAA,IACzC,KAAK,CAAC,MAAc,SAAiB,gBACnC,uBAAI,SAAS,MAAM,SAAS,OAAO;AAAA,IACrC,MAAM,CAAC,gBAAyC,wBAAK,SAAS,OAAO;AAAA,IACrE,cAAc,CAAC,MAAc,gBAC3B,gCAAa,SAAS,MAAM,OAAO;AAAA,IACrC,YAAY,CAAC,MAAc,SAAiB,UAAkB,gBAC5D,8BAAW,SAAS,MAAM,SAAS,UAAU,EAAE,GAAG,SAAS,eAAe,CAAC;AAAA,IAC7E,cAAc,CACZ,MACA,SACA,YACA,gBACG,gCAAa,SAAS,MAAM,SAAS,YAAY,EAAE,GAAG,SAAS,eAAe,CAAC;AAAA,EACtF;AACF;AAEO,SAAS,uBACd,SACA,iBAAgD,CAAC,GAC7B;AACpB,SAAO;AAAA,IACL,GAAG,aAAa,SAAS,cAAc;AAAA,EACzC;AACF;",
|
|
6
6
|
"names": []
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["../../../../src/classic/deployments/index.ts"],
|
|
4
4
|
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AIProjectContext } from \"../../api/aiProjectContext.js\";\nimport { list, get } from \"../../api/deployments/operations.js\";\nimport type {\n DeploymentsListOptionalParams,\n DeploymentsGetOptionalParams,\n} from \"../../api/deployments/options.js\";\nimport type { DeploymentUnion } from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\n\n/** Interface representing a Deployments operations. */\nexport interface DeploymentsOperations {\n /** List all deployed models in the project */\n list: (options?: DeploymentsListOptionalParams) => PagedAsyncIterableIterator<DeploymentUnion>;\n /** Get a deployed model. */\n get: (name: string, options?: DeploymentsGetOptionalParams) => Promise<DeploymentUnion>;\n}\n\nfunction _getDeployments(context: AIProjectContext) {\n return {\n list: (options?: DeploymentsListOptionalParams) => list(context, options),\n get: (name: string, options?: DeploymentsGetOptionalParams) => get(context, name, options),\n };\n}\n\nexport function _getDeploymentsOperations(context: AIProjectContext): DeploymentsOperations {\n return {\n ..._getDeployments(context),\n };\n}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAA0B;AAgB1B,SAAS,gBAAgB,SAA2B;AAClD,SAAO;AAAA,IACL,MAAM,CAAC,gBAA4C,wBAAK,SAAS,OAAO;AAAA,IACxE,KAAK,CAAC,MAAc,gBAA2C,uBAAI,SAAS,MAAM,OAAO;AAAA,EAC3F;AACF;AAEO,SAAS,0BAA0B,SAAkD;AAC1F,SAAO;AAAA,IACL,GAAG,gBAAgB,OAAO;AAAA,EAC5B;AACF;",
|
|
6
6
|
"names": []
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["../../../../src/classic/evaluationRules/index.ts"],
|
|
4
4
|
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AIProjectContext } from \"../../api/aiProjectContext.js\";\nimport { list, createOrUpdate, $delete, get } from \"../../api/evaluationRules/operations.js\";\nimport type {\n EvaluationRulesListOptionalParams,\n EvaluationRulesCreateOrUpdateOptionalParams,\n EvaluationRulesDeleteOptionalParams,\n EvaluationRulesGetOptionalParams,\n} from \"../../api/evaluationRules/options.js\";\nimport type { EvaluationRule } from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\n\n/** Interface representing a EvaluationRules operations. */\nexport interface EvaluationRulesOperations {\n /** List all evaluation rules. */\n list: (options?: EvaluationRulesListOptionalParams) => PagedAsyncIterableIterator<EvaluationRule>;\n /** Create or update an evaluation rule. */\n createOrUpdate: (\n id: string,\n evaluationRule: EvaluationRule,\n options?: EvaluationRulesCreateOrUpdateOptionalParams,\n ) => Promise<EvaluationRule>;\n /** Delete an evaluation rule. */\n delete: (id: string, options?: EvaluationRulesDeleteOptionalParams) => Promise<void>;\n /** Get an evaluation rule. */\n get: (id: string, options?: EvaluationRulesGetOptionalParams) => Promise<EvaluationRule>;\n}\n\nfunction _getEvaluationRules(context: AIProjectContext) {\n return {\n list: (options?: EvaluationRulesListOptionalParams) => list(context, options),\n createOrUpdate: (\n id: string,\n evaluationRule: EvaluationRule,\n options?: EvaluationRulesCreateOrUpdateOptionalParams,\n ) => createOrUpdate(context, id, evaluationRule, options),\n delete: (id: string, options?: EvaluationRulesDeleteOptionalParams) =>\n $delete(context, id, options),\n get: (id: string, options?: EvaluationRulesGetOptionalParams) => get(context, id, options),\n };\n}\n\nexport function _getEvaluationRulesOperations(\n context: AIProjectContext,\n): EvaluationRulesOperations {\n return {\n ..._getEvaluationRules(context),\n };\n}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAAmD;AA0BnD,SAAS,oBAAoB,SAA2B;AACtD,SAAO;AAAA,IACL,MAAM,CAAC,gBAAgD,wBAAK,SAAS,OAAO;AAAA,IAC5E,gBAAgB,CACd,IACA,gBACA,gBACG,kCAAe,SAAS,IAAI,gBAAgB,OAAO;AAAA,IACxD,QAAQ,CAAC,IAAY,gBACnB,2BAAQ,SAAS,IAAI,OAAO;AAAA,IAC9B,KAAK,CAAC,IAAY,gBAA+C,uBAAI,SAAS,IAAI,OAAO;AAAA,EAC3F;AACF;AAEO,SAAS,8BACd,SAC2B;AAC3B,SAAO;AAAA,IACL,GAAG,oBAAoB,OAAO;AAAA,EAChC;AACF;",
|
|
6
6
|
"names": []
|
|
@@ -5,11 +5,14 @@ export type { DatasetsOperations } from "./datasets/index.js";
|
|
|
5
5
|
export type { DeploymentsOperations } from "./deployments/index.js";
|
|
6
6
|
export type { EvaluationRulesOperations } from "./evaluationRules/index.js";
|
|
7
7
|
export type { IndexesOperations } from "./indexes/index.js";
|
|
8
|
+
export type { BetaAgentsOperations } from "./beta/agents/index.js";
|
|
8
9
|
export type { BetaEvaluationTaxonomiesOperations } from "./beta/evaluationTaxonomies/index.js";
|
|
9
10
|
export type { BetaEvaluatorsOperations } from "./beta/evaluators/index.js";
|
|
10
11
|
export type { BetaInsightsOperations } from "./beta/insights/index.js";
|
|
11
12
|
export type { BetaMemoryStoresOperations } from "./beta/memoryStores/index.js";
|
|
12
13
|
export type { BetaRedTeamsOperations } from "./beta/redTeams/index.js";
|
|
13
14
|
export type { BetaSchedulesOperations } from "./beta/schedules/index.js";
|
|
15
|
+
export type { BetaSkillsOperations } from "./beta/skills/index.js";
|
|
16
|
+
export type { BetaToolboxesOperations } from "./beta/toolboxes/index.js";
|
|
14
17
|
export type { TelemetryOperations } from "./telemetry/index.js";
|
|
15
18
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/classic/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AACpE,YAAY,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,YAAY,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AACpE,YAAY,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAC5E,YAAY,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,YAAY,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAC/F,YAAY,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,YAAY,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,YAAY,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,YAAY,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,YAAY,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,YAAY,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/classic/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AACpE,YAAY,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,YAAY,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AACpE,YAAY,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAC5E,YAAY,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,YAAY,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,YAAY,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAC/F,YAAY,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,YAAY,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,YAAY,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,YAAY,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,YAAY,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,YAAY,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,YAAY,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,YAAY,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type { AgentsOperations } from \"./agents/index.js\";\nexport type { BetaOperations } from \"./beta/index.js\";\nexport type { ConnectionsOperations } from \"./connections/index.js\";\nexport type { DatasetsOperations } from \"./datasets/index.js\";\nexport type { DeploymentsOperations } from \"./deployments/index.js\";\nexport type { EvaluationRulesOperations } from \"./evaluationRules/index.js\";\nexport type { IndexesOperations } from \"./indexes/index.js\";\nexport type { BetaEvaluationTaxonomiesOperations } from \"./beta/evaluationTaxonomies/index.js\";\nexport type { BetaEvaluatorsOperations } from \"./beta/evaluators/index.js\";\nexport type { BetaInsightsOperations } from \"./beta/insights/index.js\";\nexport type { BetaMemoryStoresOperations } from \"./beta/memoryStores/index.js\";\nexport type { BetaRedTeamsOperations } from \"./beta/redTeams/index.js\";\nexport type { BetaSchedulesOperations } from \"./beta/schedules/index.js\";\nexport type { TelemetryOperations } from \"./telemetry/index.js\";\n"],
|
|
3
|
+
"sources": ["../../../src/classic/index.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type { AgentsOperations } from \"./agents/index.js\";\nexport type { BetaOperations } from \"./beta/index.js\";\nexport type { ConnectionsOperations } from \"./connections/index.js\";\nexport type { DatasetsOperations } from \"./datasets/index.js\";\nexport type { DeploymentsOperations } from \"./deployments/index.js\";\nexport type { EvaluationRulesOperations } from \"./evaluationRules/index.js\";\nexport type { IndexesOperations } from \"./indexes/index.js\";\nexport type { BetaAgentsOperations } from \"./beta/agents/index.js\";\nexport type { BetaEvaluationTaxonomiesOperations } from \"./beta/evaluationTaxonomies/index.js\";\nexport type { BetaEvaluatorsOperations } from \"./beta/evaluators/index.js\";\nexport type { BetaInsightsOperations } from \"./beta/insights/index.js\";\nexport type { BetaMemoryStoresOperations } from \"./beta/memoryStores/index.js\";\nexport type { BetaRedTeamsOperations } from \"./beta/redTeams/index.js\";\nexport type { BetaSchedulesOperations } from \"./beta/schedules/index.js\";\nexport type { BetaSkillsOperations } from \"./beta/skills/index.js\";\nexport type { BetaToolboxesOperations } from \"./beta/toolboxes/index.js\";\nexport type { TelemetryOperations } from \"./telemetry/index.js\";\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["../../../../src/classic/indexes/index.ts"],
|
|
4
4
|
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AIProjectContext } from \"../../api/aiProjectContext.js\";\nimport { createOrUpdate, $delete, get, list, listVersions } from \"../../api/indexes/operations.js\";\nimport type {\n IndexesCreateOrUpdateOptionalParams,\n IndexesDeleteOptionalParams,\n IndexesGetOptionalParams,\n IndexesListOptionalParams,\n IndexesListVersionsOptionalParams,\n} from \"../../api/indexes/options.js\";\nimport type { IndexUnion } from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\n\n/** Interface representing a Indexes operations. */\nexport interface IndexesOperations {\n /** Create a new or update an existing Index with the given version id */\n createOrUpdate: (\n name: string,\n version: string,\n index: IndexUnion,\n options?: IndexesCreateOrUpdateOptionalParams,\n ) => Promise<IndexUnion>;\n /** Delete the specific version of the Index. The service returns 204 No Content if the Index was deleted successfully or if the Index does not exist. */\n delete: (name: string, version: string, options?: IndexesDeleteOptionalParams) => Promise<void>;\n /** Get the specific version of the Index. The service returns 404 Not Found error if the Index does not exist. */\n get: (name: string, version: string, options?: IndexesGetOptionalParams) => Promise<IndexUnion>;\n /** List the latest version of each Index */\n list: (options?: IndexesListOptionalParams) => PagedAsyncIterableIterator<IndexUnion>;\n /** List all versions of the given Index */\n listVersions: (\n name: string,\n options?: IndexesListVersionsOptionalParams,\n ) => PagedAsyncIterableIterator<IndexUnion>;\n}\n\nfunction _getIndexes(context: AIProjectContext) {\n return {\n createOrUpdate: (\n name: string,\n version: string,\n index: IndexUnion,\n options?: IndexesCreateOrUpdateOptionalParams,\n ) => createOrUpdate(context, name, index, version, options),\n delete: (name: string, version: string, options?: IndexesDeleteOptionalParams) =>\n $delete(context, name, version, options),\n get: (name: string, version: string, options?: IndexesGetOptionalParams) =>\n get(context, name, version, options),\n list: (options?: IndexesListOptionalParams) => list(context, options),\n listVersions: (name: string, options?: IndexesListVersionsOptionalParams) =>\n listVersions(context, name, options),\n };\n}\n\nexport function _getIndexesOperations(context: AIProjectContext): IndexesOperations {\n return {\n ..._getIndexes(context),\n };\n}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAAiE;AAiCjE,SAAS,YAAY,SAA2B;AAC9C,SAAO;AAAA,IACL,gBAAgB,CACd,MACA,SACA,OACA,gBACG,kCAAe,SAAS,MAAM,OAAO,SAAS,OAAO;AAAA,IAC1D,QAAQ,CAAC,MAAc,SAAiB,gBACtC,2BAAQ,SAAS,MAAM,SAAS,OAAO;AAAA,IACzC,KAAK,CAAC,MAAc,SAAiB,gBACnC,uBAAI,SAAS,MAAM,SAAS,OAAO;AAAA,IACrC,MAAM,CAAC,gBAAwC,wBAAK,SAAS,OAAO;AAAA,IACpE,cAAc,CAAC,MAAc,gBAC3B,gCAAa,SAAS,MAAM,OAAO;AAAA,EACvC;AACF;AAEO,SAAS,sBAAsB,SAA8C;AAClF,SAAO;AAAA,IACL,GAAG,YAAY,OAAO;AAAA,EACxB;AACF;",
|
|
6
6
|
"names": []
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OperationOptions } from "@azure-rest/core-client";
|
|
1
|
+
import type { OperationOptions } from "@azure-rest/core-client";
|
|
2
2
|
import type { ConnectionsOperations } from "../connections/index.js";
|
|
3
3
|
/** Interface representing telemetry operations */
|
|
4
4
|
export interface TelemetryOperations {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/telemetry/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/telemetry/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE,kDAAkD;AAClD,MAAM,WAAW,mBAAmB;IAClC,uCAAuC;IACvC,sCAAsC,EAAE,CAAC,OAAO,CAAC,EAAE,gBAAgB,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;CACzF;AASD,wBAAgB,uBAAuB,CAAC,WAAW,EAAE,qBAAqB,GAAG,mBAAmB,CAE/F"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\nimport { OperationOptions } from \"@azure-rest/core-client\";\nimport { createTelemetryOperations } from \"../../api/telemetry/operations.js\";\nimport type { ConnectionsOperations } from \"../connections/index.js\";\n\n/** Interface representing telemetry operations */\nexport interface TelemetryOperations {\n /** Get appInsight connection string */\n getApplicationInsightsConnectionString: (options?: OperationOptions) => Promise<string>;\n}\n\nfunction _getTelemetry(connections: ConnectionsOperations): TelemetryOperations {\n const telemetryOperations = createTelemetryOperations(connections);\n return {\n getApplicationInsightsConnectionString: (options?: OperationOptions) =>\n telemetryOperations.getApplicationInsightsConnectionString(options),\n };\n}\nexport function _getTelemetryOperations(connections: ConnectionsOperations): TelemetryOperations {\n return _getTelemetry(connections);\n}\n"],
|
|
3
|
+
"sources": ["../../../../src/classic/telemetry/index.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\nimport type { OperationOptions } from \"@azure-rest/core-client\";\nimport { createTelemetryOperations } from \"../../api/telemetry/operations.js\";\nimport type { ConnectionsOperations } from \"../connections/index.js\";\n\n/** Interface representing telemetry operations */\nexport interface TelemetryOperations {\n /** Get appInsight connection string */\n getApplicationInsightsConnectionString: (options?: OperationOptions) => Promise<string>;\n}\n\nfunction _getTelemetry(connections: ConnectionsOperations): TelemetryOperations {\n const telemetryOperations = createTelemetryOperations(connections);\n return {\n getApplicationInsightsConnectionString: (options?: OperationOptions) =>\n telemetryOperations.getApplicationInsightsConnectionString(options),\n };\n}\nexport function _getTelemetryOperations(connections: ConnectionsOperations): TelemetryOperations {\n return _getTelemetry(connections);\n}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,wBAA0C;AAS1C,SAAS,cAAc,aAAyD;AAC9E,QAAM,0BAAsB,6CAA0B,WAAW;AACjE,SAAO;AAAA,IACL,wCAAwC,CAAC,YACvC,oBAAoB,uCAAuC,OAAO;AAAA,EACtE;AACF;AACO,SAAS,wBAAwB,aAAyD;AAC/F,SAAO,cAAc,WAAW;AAClC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -21,10 +21,11 @@ __export(constants_exports, {
|
|
|
21
21
|
SDK_VERSION: () => SDK_VERSION
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(constants_exports);
|
|
24
|
-
const SDK_VERSION = `2.0.
|
|
24
|
+
const SDK_VERSION = `2.0.2`;
|
|
25
25
|
const PACKAGE_NAME = "@azure/ai-projects";
|
|
26
26
|
// Annotate the CommonJS export names for ESM import in node:
|
|
27
27
|
0 && (module.exports = {
|
|
28
28
|
PACKAGE_NAME,
|
|
29
29
|
SDK_VERSION
|
|
30
30
|
});
|
|
31
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * Current version of the `@azure/ai-projects` package.\n */\nexport const SDK_VERSION = `2.0.
|
|
3
|
+
"sources": ["../../src/constants.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * Current version of the `@azure/ai-projects` package.\n */\nexport const SDK_VERSION = `2.0.2`;\n\n/**\n * The package name of the `@azure/ai-projects` package.\n */\nexport const PACKAGE_NAME = \"@azure/ai-projects\";\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMO,MAAM,cAAc;AAKpB,MAAM,eAAe;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { TextResponseFormat, TextResponseFormatText, TextResponseFormatJsonObject, TextResponseFormatUnion } from "./models/index.js";
|
|
2
|
+
/** @deprecated Use `TextResponseFormat` instead. */
|
|
3
|
+
export interface TextResponseFormatConfiguration extends TextResponseFormat {
|
|
4
|
+
}
|
|
5
|
+
/** @deprecated Use `TextResponseFormatText` instead. */
|
|
6
|
+
export interface TextResponseFormatConfigurationResponseFormatText extends TextResponseFormatText {
|
|
7
|
+
}
|
|
8
|
+
/** @deprecated Use `TextResponseFormatJsonObject` instead. */
|
|
9
|
+
export interface TextResponseFormatConfigurationResponseFormatJsonObject extends TextResponseFormatJsonObject {
|
|
10
|
+
}
|
|
11
|
+
/** @deprecated Use `TextResponseFormatUnion` instead. */
|
|
12
|
+
export type TextResponseFormatConfigurationUnion = TextResponseFormatUnion;
|
|
13
|
+
//# sourceMappingURL=deprecate.interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deprecate.interface.d.ts","sourceRoot":"","sources":["../../src/deprecate.interface.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,kBAAkB,EAClB,sBAAsB,EACtB,4BAA4B,EAC5B,uBAAuB,EACxB,MAAM,mBAAmB,CAAC;AAE3B,oDAAoD;AACpD,MAAM,WAAW,+BAAgC,SAAQ,kBAAkB;CAAG;AAC9E,wDAAwD;AACxD,MAAM,WAAW,iDAAkD,SAAQ,sBAAsB;CAAG;AACpG,8DAA8D;AAC9D,MAAM,WAAW,uDAAwD,SAAQ,4BAA4B;CAAG;AAChH,yDAAyD;AACzD,MAAM,MAAM,oCAAoC,GAAG,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
+
}
|
|
11
|
+
return to;
|
|
12
|
+
};
|
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
14
|
+
var deprecate_interface_exports = {};
|
|
15
|
+
module.exports = __toCommonJS(deprecate_interface_exports);
|
|
16
|
+
//# sourceMappingURL=deprecate.interface.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/deprecate.interface.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n TextResponseFormat,\n TextResponseFormatText,\n TextResponseFormatJsonObject,\n TextResponseFormatUnion,\n} from \"./models/index.js\";\n\n/** @deprecated Use `TextResponseFormat` instead. */\nexport interface TextResponseFormatConfiguration extends TextResponseFormat {}\n/** @deprecated Use `TextResponseFormatText` instead. */\nexport interface TextResponseFormatConfigurationResponseFormatText extends TextResponseFormatText {}\n/** @deprecated Use `TextResponseFormatJsonObject` instead. */\nexport interface TextResponseFormatConfigurationResponseFormatJsonObject extends TextResponseFormatJsonObject {}\n/** @deprecated Use `TextResponseFormatUnion` instead. */\nexport type TextResponseFormatConfigurationUnion = TextResponseFormatUnion;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["../../src/getCustomFetch.ts"],
|
|
4
4
|
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type OpenAI from \"openai\";\nimport type { Pipeline, HttpClient, HttpMethods } from \"@azure/core-rest-pipeline\";\nimport {\n createDefaultHttpClient,\n createPipelineRequest,\n createHttpHeaders,\n} from \"@azure/core-rest-pipeline\";\nimport { Readable } from \"node:stream\";\nimport type { ReadableStream as WebReadableStream } from \"node:stream/web\";\n\ntype FetchFn = NonNullable<NonNullable<ConstructorParameters<typeof OpenAI>[0]>[\"fetch\"]>;\n\n/**\n * A custom `fetch` implementation that forwards requests to an Azure Core Pipeline.\n * This allows us to send traffic to the test proxy for recording and playback.\n * @param pipeline - The pipeline to use\n * @param customHttpClient - The http client to make requests with\n * @returns A fetch-compatible function.\n */\nexport function getCustomFetch(pipeline: Pipeline, customHttpClient?: HttpClient): FetchFn {\n return async function (resource, options): Promise<Response> {\n const fetchRequest = new Request(resource, options);\n const rawHeaders: Record<string, string> = {};\n for (const [key, value] of fetchRequest.headers) {\n rawHeaders[key] = value;\n }\n const httpClient = customHttpClient ?? createDefaultHttpClient();\n const requestBody = fetchRequest.body\n ? Readable.fromWeb(fetchRequest.body as WebReadableStream<Uint8Array>)\n : undefined;\n const request = createPipelineRequest({\n url: fetchRequest.url,\n body: requestBody,\n headers: createHttpHeaders(rawHeaders),\n method: fetchRequest.method as HttpMethods,\n abortSignal: fetchRequest.signal,\n streamResponseStatusCodes: new Set([Number.POSITIVE_INFINITY]),\n });\n const response = await pipeline.sendRequest(httpClient, request);\n const body = response.readableStreamBody\n ? (Readable.toWeb(Readable.from(response.readableStreamBody)) as ReadableStream<Uint8Array>)\n : null;\n const fetchResponse = new Response(body, {\n status: response.status,\n headers: response.headers.toJSON({ preserveCase: true }),\n });\n return fetchResponse;\n };\n}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,gCAIO;AACP,yBAAyB;AAYlB,SAAS,eAAe,UAAoB,kBAAwC;AACzF,SAAO,eAAgB,UAAU,SAA4B;AAC3D,UAAM,eAAe,IAAI,QAAQ,UAAU,OAAO;AAClD,UAAM,aAAqC,CAAC;AAC5C,eAAW,CAAC,KAAK,KAAK,KAAK,aAAa,SAAS;AAC/C,iBAAW,GAAG,IAAI;AAAA,IACpB;AACA,UAAM,aAAa,wBAAoB,mDAAwB;AAC/D,UAAM,cAAc,aAAa,OAC7B,4BAAS,QAAQ,aAAa,IAAqC,IACnE;AACJ,UAAM,cAAU,iDAAsB;AAAA,MACpC,KAAK,aAAa;AAAA,MAClB,MAAM;AAAA,MACN,aAAS,6CAAkB,UAAU;AAAA,MACrC,QAAQ,aAAa;AAAA,MACrB,aAAa,aAAa;AAAA,MAC1B,2BAA2B,oBAAI,IAAI,CAAC,OAAO,iBAAiB,CAAC;AAAA,IAC/D,CAAC;AACD,UAAM,WAAW,MAAM,SAAS,YAAY,YAAY,OAAO;AAC/D,UAAM,OAAO,SAAS,qBACjB,4BAAS,MAAM,4BAAS,KAAK,SAAS,kBAAkB,CAAC,IAC1D;AACJ,UAAM,gBAAgB,IAAI,SAAS,MAAM;AAAA,MACvC,QAAQ,SAAS;AAAA,MACjB,SAAS,SAAS,QAAQ,OAAO,EAAE,cAAc,KAAK,CAAC;AAAA,IACzD,CAAC;AACD,WAAO;AAAA,EACT;AACF;",
|
|
6
6
|
"names": []
|
package/dist/commonjs/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { PageSettings, PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
2
|
import type { ContinuablePage } from "./static-helpers/pagingHelpers.js";
|
|
3
|
+
export { RestError } from "@azure/core-rest-pipeline";
|
|
3
4
|
export { AIProjectClient } from "./aiProjectClient.js";
|
|
4
|
-
export type { Agent, AgentVersion, AgentDefinition, AgentDefinitionUnion, AgentKind, RaiConfig,
|
|
5
|
+
export type { Agent, AgentVersion, AgentDefinition, AgentDefinitionUnion, AgentKind, RaiConfig, HostedAgentDefinition, Tool, ToolUnion, ToolType, BingGroundingTool, BingGroundingSearchToolParameters, BingGroundingSearchConfiguration, MicrosoftFabricPreviewTool, FabricDataAgentToolParameters, ToolProjectConnection, SharepointPreviewTool, SharepointGroundingToolParameters, AzureAISearchTool, AzureAISearchToolResource, AISearchIndexResource, AzureAISearchQueryType, OpenApiTool, OpenApiFunctionDefinition, OpenApiAuthDetails, OpenApiAuthDetailsUnion, OpenApiAuthType, OpenApiAnonymousAuthDetails, OpenApiProjectConnectionAuthDetails, OpenApiProjectConnectionSecurityScheme, OpenApiManagedAuthDetails, OpenApiManagedSecurityScheme, BingCustomSearchPreviewTool, BingCustomSearchToolParameters, BingCustomSearchConfiguration, BrowserAutomationPreviewTool, BrowserAutomationToolParameters, BrowserAutomationToolConnectionParameters, AzureFunctionTool, AzureFunctionDefinition, AzureFunctionBinding, AzureFunctionStorageQueue, CaptureStructuredOutputsTool, StructuredOutputDefinition, A2APreviewTool, WorkIQPreviewTool, WorkIQPreviewToolParameters, MemorySearchPreviewTool, MemorySearchOptions, CodeInterpreterTool, AutoCodeInterpreterToolParam, ContainerMemoryLimit, ContainerNetworkPolicyParam, ContainerNetworkPolicyParamUnion, ContainerNetworkPolicyParamType, ContainerNetworkPolicyDisabledParam, ContainerNetworkPolicyAllowlistParam, ContainerNetworkPolicyDomainSecretParam, FunctionTool, FileSearchTool, RankingOptions, RankerVersionType, HybridSearchOptions, Filters, ComparisonFilter, ComparisonFilterValueItems, CompoundFilter, ComputerUsePreviewTool, ComputerEnvironment, WebSearchTool, WebSearchToolFilters, WebSearchApproximateLocation, WebSearchConfiguration, MCPTool, MCPToolFilter, MCPToolRequireApproval, ImageGenTool, InputFidelity, ImageGenToolInputImageMask, ImageGenAction, LocalShellToolParam, FunctionShellToolParam, FunctionShellToolParamEnvironment, FunctionShellToolParamEnvironmentUnion, FunctionShellToolParamEnvironmentType, FunctionShellToolParamEnvironmentLocalEnvironmentParam, LocalSkillParam, FunctionShellToolParamEnvironmentContainerReferenceParam, ContainerAutoParam, ContainerSkill, ContainerSkillUnion, ContainerSkillType, SkillReferenceParam, InlineSkillParam, InlineSkillSourceParam, CustomToolParam, CustomToolParamFormat, CustomToolParamFormatUnion, CustomToolParamFormatType, CustomTextFormatParam, CustomGrammarFormatParam, GrammarSyntax, WebSearchPreviewTool, ApproximateLocation, SearchContextSize, SearchContentType, ApplyPatchToolParam, ComputerTool, NamespaceToolParam, FunctionToolParam, EmptyModelParam, ToolSearchToolParam, ToolSearchExecutionType, ProtocolVersionRecord, AgentProtocol, ContainerConfiguration, CodeConfiguration, PromptAgentDefinition, Reasoning, ReasoningEffort, ToolChoiceParam, ToolChoiceParamUnion, ToolChoiceParamType, ToolChoiceAllowed, ToolChoiceFunction, ToolChoiceMCP, ToolChoiceCustom, SpecificApplyPatchParam, SpecificFunctionShellParam, ToolChoiceFileSearch, ToolChoiceWebSearchPreview, ToolChoiceComputerUsePreview, ToolChoiceWebSearchPreview20250311, ToolChoiceImageGeneration, ToolChoiceCodeInterpreter, ToolChoiceComputer, ToolChoiceComputerUse, PromptAgentDefinitionTextOptions, TextResponseFormat, TextResponseFormatUnion, TextResponseFormatConfigurationType, TextResponseFormatJsonSchema, TextResponseFormatText, TextResponseFormatJsonObject, StructuredInputDefinition, WorkflowAgentDefinition, AgentIdentity, AgentBlueprintReference, AgentBlueprintReferenceUnion, AgentBlueprintReferenceType, ManagedAgentIdentityBlueprintReference, AgentEndpoint, VersionSelector, VersionSelectionRule, VersionSelectionRuleUnion, VersionSelectorType, FixedRatioVersionSelectionRule, AgentEndpointProtocol, AgentEndpointAuthorizationScheme, AgentEndpointAuthorizationSchemeUnion, AgentEndpointAuthorizationSchemeType, EntraAuthorizationScheme, IsolationKeySource, IsolationKeySourceUnion, IsolationKeySourceKind, EntraIsolationKeySource, HeaderIsolationKeySource, BotServiceAuthorizationScheme, BotServiceRbacAuthorizationScheme, AgentCard, AgentCardSkill, ApiErrorResponse, ErrorModel, DeleteAgentResponse, DeleteAgentVersionResponse, EvaluationRule, EvaluationRuleAction, EvaluationRuleActionUnion, EvaluationRuleActionType, ContinuousEvaluationRuleAction, HumanEvaluationPreviewRuleAction, EvaluationRuleFilter, EvaluationRuleEventType, Connection, ConnectionType, BaseCredentials, BaseCredentialsUnion, CredentialType, ApiKeyCredentials, EntraIDCredentials, CustomCredential, SASTokenCredentials, NoAuthenticationCredentials, AgenticIdentityPreviewCredentials, DatasetVersion, DatasetVersionUnion, DatasetType, FileDatasetVersion, FolderDatasetVersion, PendingUploadRequest, PendingUploadResponse, BlobReference, SasCredential, DatasetCredential, Deployment, DeploymentUnion, DeploymentType, ModelDeployment, ModelDeploymentSku, Index, IndexUnion, IndexType, AzureAISearchIndex, FieldMapping, ManagedAzureAISearchIndex, CosmosDBIndex, EmbeddingConfiguration, VersionIndicator, VersionIndicatorUnion, VersionIndicatorType, VersionRefIndicator, AgentSessionResource, AgentSessionStatus, SessionFileWriteResponse, SessionDirectoryListResponse, SessionDirectoryEntry, EvaluationTaxonomy, EvaluationTaxonomyInput, EvaluationTaxonomyInputUnion, EvaluationTaxonomyInputType, AgentTaxonomyInput, Target, TargetUnion, AzureAIModelTarget, ModelSamplingParams, AzureAIAgentTarget, ToolDescription, RiskCategory, TaxonomyCategory, TaxonomySubCategory, EvaluatorVersion, EvaluatorType, EvaluatorCategory, EvaluatorDefinition, EvaluatorDefinitionUnion, EvaluatorDefinitionType, EvaluatorMetric, EvaluatorMetricType, EvaluatorMetricDirection, CodeBasedEvaluatorDefinition, PromptBasedEvaluatorDefinition, Insight, InsightsMetadata, OperationState, InsightRequest, InsightRequestUnion, InsightType, EvaluationRunClusterInsightRequest, InsightModelConfiguration, AgentClusterInsightRequest, EvaluationComparisonInsightRequest, InsightResult, InsightResultUnion, EvaluationComparisonInsightResult, EvalRunResultComparison, EvalRunResultSummary, EvalRunResultCompareItem, TreatmentEffectType, EvaluationRunClusterInsightResult, ClusterInsightResult, InsightSummary, ClusterTokenUsage, InsightCluster, InsightSample, InsightSampleUnion, SampleType, EvaluationResultSample, EvalResult, ChartCoordinate, AgentClusterInsightResult, MemoryStoreDefinition, MemoryStoreDefinitionUnion, MemoryStoreKind, MemoryStoreDefaultDefinition, MemoryStoreDefaultOptions, MemoryStore, DeleteMemoryStoreResponse, MemoryStoreSearchResponse, MemorySearchItem, MemoryItem, MemoryItemUnion, MemoryItemKind, UserProfileMemoryItem, ChatSummaryMemoryItem, MemoryStoreOperationUsage, ResponseUsageInputTokensDetails, ResponseUsageOutputTokensDetails, MemoryStoreUpdateResponse, MemoryStoreUpdateStatus, MemoryStoreUpdateCompletedResult, MemoryOperation, MemoryOperationKind, MemoryStoreDeleteScopeResponse, RedTeam, AttackStrategy, TargetConfig, TargetConfigUnion, AzureOpenAIModelConfiguration, Schedule, ScheduleProvisioningStatus, Trigger, TriggerUnion, TriggerType, CronTrigger, RecurrenceTrigger, RecurrenceSchedule, RecurrenceScheduleUnion, RecurrenceType, HourlyRecurrenceSchedule, DailyRecurrenceSchedule, WeeklyRecurrenceSchedule, DayOfWeek, MonthlyRecurrenceSchedule, OneTimeTrigger, ScheduleTask, ScheduleTaskUnion, ScheduleTaskType, EvaluationScheduleTask, InsightScheduleTask, ScheduleRun, ToolboxPolicies, ToolboxVersionObject, ToolboxObject, SkillObject, DeleteSkillResponse, UpdateToolboxRequest, AgentType, AgentDefinitionOptInKeys, PageOrder, FoundryFeaturesOptInKeys, PendingUploadType, MemoryStoreType, KnownApiVersions, BetaSkillsDownloadResponse, BetaAgentsDownloadSessionFileResponse, } from "./models/index.js";
|
|
5
6
|
export type { AIProjectClientOptionalParams, DatasetUploadOptions } from "./api/index.js";
|
|
6
7
|
export type { AgentsListVersionsOptionalParams, AgentsDeleteVersionOptionalParams, AgentsGetVersionOptionalParams, AgentsCreateAgentVersionFromManifestOptionalParams, AgentsCreateVersionOptionalParams, AgentsListOptionalParams, AgentsDeleteOptionalParams, AgentsUpdateAgentFromManifestOptionalParams, AgentsCreateAgentFromManifestOptionalParams, AgentsUpdateOptionalParams, AgentsCreateOptionalParams, AgentsGetOptionalParams, } from "./api/agents/index.js";
|
|
7
8
|
export type { ConnectionsListOptionalParams, ConnectionsGetWithCredentialsOptionalParams, ConnectionsGetOptionalParams, ConnectionsGetDefaultOptionalParams, } from "./api/connections/index.js";
|
|
@@ -9,12 +10,17 @@ export type { DatasetsGetCredentialsOptionalParams, DatasetsPendingUploadOptiona
|
|
|
9
10
|
export type { DeploymentsListOptionalParams, DeploymentsGetOptionalParams, } from "./api/deployments/index.js";
|
|
10
11
|
export type { EvaluationRulesListOptionalParams, EvaluationRulesCreateOrUpdateOptionalParams, EvaluationRulesDeleteOptionalParams, EvaluationRulesGetOptionalParams, } from "./api/evaluationRules/index.js";
|
|
11
12
|
export type { IndexesCreateOrUpdateOptionalParams, IndexesDeleteOptionalParams, IndexesGetOptionalParams, IndexesListOptionalParams, IndexesListVersionsOptionalParams, } from "./api/indexes/index.js";
|
|
13
|
+
export type { BetaAgentsDeleteSessionFileOptionalParams, BetaAgentsListSessionFilesOptionalParams, BetaAgentsDownloadSessionFileOptionalParams, BetaAgentsUploadSessionFileOptionalParams, BetaAgentsListSessionsOptionalParams, BetaAgentsDeleteSessionOptionalParams, BetaAgentsGetSessionOptionalParams, BetaAgentsCreateSessionOptionalParams, BetaAgentsPatchAgentObjectOptionalParams, } from "./api/beta/agents/index.js";
|
|
12
14
|
export type { BetaEvaluationTaxonomiesUpdateOptionalParams, BetaEvaluationTaxonomiesCreateOptionalParams, BetaEvaluationTaxonomiesDeleteOptionalParams, BetaEvaluationTaxonomiesListOptionalParams, BetaEvaluationTaxonomiesGetOptionalParams, } from "./api/beta/evaluationTaxonomies/index.js";
|
|
13
|
-
export type { BetaEvaluatorsUpdateVersionOptionalParams, BetaEvaluatorsCreateVersionOptionalParams, BetaEvaluatorsDeleteVersionOptionalParams, BetaEvaluatorsGetVersionOptionalParams,
|
|
15
|
+
export type { BetaEvaluatorsUpdateVersionOptionalParams, BetaEvaluatorsCreateVersionOptionalParams, BetaEvaluatorsDeleteVersionOptionalParams, BetaEvaluatorsGetVersionOptionalParams, BetaEvaluatorsListOptionalParams, BetaEvaluatorsListVersionsOptionalParams, } from "./api/beta/evaluators/index.js";
|
|
14
16
|
export type { BetaInsightsListOptionalParams, BetaInsightsGetOptionalParams, BetaInsightsGenerateOptionalParams, } from "./api/beta/insights/index.js";
|
|
15
17
|
export type { BetaMemoryStoresDeleteScopeOptionalParams, BetaMemoryStoresGetUpdateResultOptionalParams, BetaMemoryStoresUpdateMemoriesOptionalParams, BetaMemoryStoresSearchMemoriesOptionalParams, BetaMemoryStoresDeleteOptionalParams, BetaMemoryStoresListOptionalParams, BetaMemoryStoresGetOptionalParams, BetaMemoryStoresUpdateOptionalParams, BetaMemoryStoresCreateOptionalParams, } from "./api/beta/memoryStores/index.js";
|
|
16
18
|
export type { BetaRedTeamsCreateOptionalParams, BetaRedTeamsListOptionalParams, BetaRedTeamsGetOptionalParams, } from "./api/beta/redTeams/index.js";
|
|
17
19
|
export type { BetaSchedulesListRunsOptionalParams, BetaSchedulesGetRunOptionalParams, BetaSchedulesCreateOrUpdateOptionalParams, BetaSchedulesListOptionalParams, BetaSchedulesGetOptionalParams, BetaSchedulesDeleteOptionalParams, } from "./api/beta/schedules/index.js";
|
|
18
|
-
export type {
|
|
20
|
+
export type { BetaSkillsDeleteOptionalParams, BetaSkillsUpdateOptionalParams, BetaSkillsListOptionalParams, BetaSkillsDownloadOptionalParams, BetaSkillsGetOptionalParams, CreateFromPackageOptionalParams, BetaSkillsCreateOptionalParams, } from "./api/beta/skills/index.js";
|
|
21
|
+
export type { BetaToolboxesDeleteVersionOptionalParams, BetaToolboxesDeleteOptionalParams, BetaToolboxesUpdateOptionalParams, BetaToolboxesGetVersionOptionalParams, BetaToolboxesListVersionsOptionalParams, BetaToolboxesListOptionalParams, BetaToolboxesGetOptionalParams, BetaToolboxesCreateVersionOptionalParams, } from "./api/beta/toolboxes/index.js";
|
|
22
|
+
export type { AgentsOperations, BetaOperations, ConnectionsOperations, DatasetsOperations, DeploymentsOperations, EvaluationRulesOperations, IndexesOperations, BetaAgentsOperations, TelemetryOperations, BetaEvaluationTaxonomiesOperations, BetaEvaluatorsOperations, BetaInsightsOperations, BetaMemoryStoresOperations, BetaRedTeamsOperations, BetaSchedulesOperations, BetaSkillsOperations, BetaToolboxesOperations, } from "./classic/index.js";
|
|
19
23
|
export type { PageSettings, ContinuablePage, PagedAsyncIterableIterator };
|
|
24
|
+
export type { AzureAgentConfig, OpenAIClientOptionsWithAzureAgent, } from "./azureAgent.interface.js";
|
|
25
|
+
export type { TextResponseFormatConfiguration, TextResponseFormatConfigurationResponseFormatText, TextResponseFormatConfigurationResponseFormatJsonObject, TextResponseFormatConfigurationUnion, } from "./deprecate.interface.js";
|
|
20
26
|
//# sourceMappingURL=index.d.ts.map
|