@azure/ai-projects 2.0.2 → 2.1.1
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 +87 -1
- 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 +43 -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 +342 -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/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/memoryStores/operations.js +2 -0
- package/dist/browser/api/beta/memoryStores/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 +247 -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 +277 -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/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 +932 -177
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.d.ts +2 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js +15 -1
- package/dist/browser/static-helpers/pagingHelpers.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 +36 -5
- package/dist/commonjs/aiProjectClient.js.map +2 -2
- package/dist/commonjs/api/agents/operations.d.ts.map +1 -1
- package/dist/commonjs/api/agents/operations.js +35 -20
- package/dist/commonjs/api/agents/operations.js.map +2 -2
- 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.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 +444 -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/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 +2 -2
- package/dist/commonjs/api/beta/evaluators/index.js.map +1 -1
- package/dist/commonjs/api/beta/evaluators/operations.d.ts +5 -5
- package/dist/commonjs/api/beta/evaluators/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/evaluators/operations.js +11 -11
- package/dist/commonjs/api/beta/evaluators/operations.js.map +2 -2
- 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.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 +15 -9
- package/dist/commonjs/api/beta/insights/operations.js.map +2 -2
- package/dist/commonjs/api/beta/memoryStores/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/memoryStores/operations.js +3 -1
- package/dist/commonjs/api/beta/memoryStores/operations.js.map +2 -2
- 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.map +1 -1
- package/dist/commonjs/api/beta/schedules/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/schedules/operations.js +5 -3
- package/dist/commonjs/api/beta/schedules/operations.js.map +2 -2
- 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 +338 -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 +381 -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/evaluationRules/operations.d.ts.map +1 -1
- package/dist/commonjs/api/evaluationRules/operations.js +5 -14
- package/dist/commonjs/api/evaluationRules/operations.js.map +2 -2
- 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.map +1 -1
- 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.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.map +1 -1
- 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/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/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 +1 -1
- package/dist/commonjs/classic/beta/evaluators/index.js.map +2 -2
- 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 +11 -2
- package/dist/commonjs/classic/beta/index.js.map +2 -2
- 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 +1 -1
- package/dist/commonjs/classic/beta/insights/index.js.map +2 -2
- 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/index.d.ts +3 -0
- package/dist/commonjs/classic/index.d.ts.map +1 -1
- package/dist/commonjs/classic/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.map +1 -1
- package/dist/commonjs/constants.d.ts +1 -1
- package/dist/commonjs/constants.js +1 -1
- package/dist/commonjs/constants.js.map +1 -1
- 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/index.d.ts +9 -3
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +5 -2
- package/dist/commonjs/index.js.map +2 -2
- 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.map +1 -1
- 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 +1080 -203
- package/dist/commonjs/models/models.js.map +2 -2
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +2 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js +15 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +2 -2
- 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/tsdoc-metadata.json +1 -1
- package/dist/esm/aiProjectClient.d.ts +8 -4
- package/dist/esm/aiProjectClient.d.ts.map +1 -1
- package/dist/esm/aiProjectClient.js +39 -7
- package/dist/esm/aiProjectClient.js.map +1 -1
- package/dist/esm/api/agents/operations.d.ts.map +1 -1
- package/dist/esm/api/agents/operations.js +43 -18
- package/dist/esm/api/agents/operations.js.map +1 -1
- 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.map +1 -1
- 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 +342 -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/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 +1 -1
- package/dist/esm/api/beta/evaluators/index.js.map +1 -1
- package/dist/esm/api/beta/evaluators/operations.d.ts +5 -5
- package/dist/esm/api/beta/evaluators/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/evaluators/operations.js +5 -5
- package/dist/esm/api/beta/evaluators/operations.js.map +1 -1
- 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.map +1 -1
- 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 +15 -9
- package/dist/esm/api/beta/insights/operations.js.map +1 -1
- package/dist/esm/api/beta/memoryStores/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/memoryStores/operations.js +2 -0
- package/dist/esm/api/beta/memoryStores/operations.js.map +1 -1
- 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 +1 -0
- package/dist/esm/api/beta/memoryStores/options.js.map +1 -1
- package/dist/esm/api/beta/schedules/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/schedules/operations.js +4 -2
- package/dist/esm/api/beta/schedules/operations.js.map +1 -1
- 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 +247 -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 +277 -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/evaluationRules/operations.d.ts.map +1 -1
- package/dist/esm/api/evaluationRules/operations.js +5 -24
- package/dist/esm/api/evaluationRules/operations.js.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- 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/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/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 +2 -2
- package/dist/esm/classic/beta/evaluators/index.js.map +1 -1
- 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 +10 -1
- package/dist/esm/classic/beta/index.js.map +1 -1
- 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 +1 -1
- package/dist/esm/classic/beta/insights/index.js.map +1 -1
- 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/index.d.ts +3 -0
- package/dist/esm/classic/index.d.ts.map +1 -1
- package/dist/esm/classic/index.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/constants.d.ts +1 -1
- package/dist/esm/constants.js +1 -1
- package/dist/esm/constants.js.map +1 -1
- 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/index.d.ts +9 -3
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js.map +1 -1
- 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 +932 -177
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/static-helpers/pagingHelpers.d.ts +2 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/esm/static-helpers/pagingHelpers.js +15 -1
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
- 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/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 +43 -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 +342 -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/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/memoryStores/operations.js +2 -0
- package/dist/react-native/api/beta/memoryStores/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 +247 -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 +277 -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/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 +932 -177
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts +2 -0
- package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/react-native/static-helpers/pagingHelpers.js +15 -1
- package/dist/react-native/static-helpers/pagingHelpers.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 +10 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/api/beta/memoryStores/options.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { MemorySearchOptions, PageOrder } from \"../../../models/models.js\";\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface BetaMemoryStoresDeleteScopeOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface BetaMemoryStoresGetUpdateResultOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface BetaMemoryStoresUpdateMemoriesOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A list of messages to store in memory, each one represented as an object with `role`, `content` and `type` keys. Similar to how OpenAI defines input items in Responses operations. Only messages with `type` equals `message` are currently processed. Others are ignored. */\n items?: Record<string, unknown>[];\n /** The unique ID of the previous update request, enabling incremental memory updates from where the last operation left off. */\n previousUpdateId?: string;\n /**\n * Timeout period before processing the memory update in seconds.\n * If a new update request is received during this period, it will cancel the current request and reset the timeout.\n * Set to 0 to immediately trigger the update without delay.\n * Defaults to 300 (5 minutes).\n */\n updateDelayInSecs?: number;\n}\n\n/** Optional parameters. */\nexport interface BetaMemoryStoresSearchMemoriesOptionalParams extends OperationOptions {\n /**
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n/* eslint-disable tsdoc/syntax */\n\nimport type { MemorySearchOptions, PageOrder } from \"../../../models/models.js\";\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface BetaMemoryStoresDeleteScopeOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface BetaMemoryStoresGetUpdateResultOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface BetaMemoryStoresUpdateMemoriesOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A list of messages to store in memory, each one represented as an object with `role`, `content` and `type` keys. Similar to how OpenAI defines input items in Responses operations. Example of an item: {\"role\": \"user\", \"type\": \"message\", \"content\": \"my user message\"}. Only messages with `type` equals `message` are currently processed. Others are ignored. */\n items?: Record<string, unknown>[];\n /** The unique ID of the previous update request, enabling incremental memory updates from where the last operation left off. */\n previousUpdateId?: string;\n /**\n * Timeout period before processing the memory update in seconds.\n * If a new update request is received during this period, it will cancel the current request and reset the timeout.\n * Set to 0 to immediately trigger the update without delay.\n * Defaults to 300 (5 minutes).\n */\n updateDelayInSecs?: number;\n}\n\n/** Optional parameters. */\nexport interface BetaMemoryStoresSearchMemoriesOptionalParams extends OperationOptions {\n /** A list of messages used to extract relevant memories, each one represented as an object with `role`, `content` and `type` keys. Similar to how OpenAI defines input items in Responses operations. Example of an item: {\"role\": \"user\", \"type\": \"message\", \"content\": \"my user message\"}. Only messages with `type` equals `message` are currently processed. Others are ignored. */\n items?: Record<string, unknown>[];\n /** The unique ID of the previous search request, enabling incremental memory search from where the last operation left off. */\n previousSearchId?: string;\n /** Memory search options. */\n options?: MemorySearchOptions;\n}\n\n/** Optional parameters. */\nexport interface BetaMemoryStoresDeleteOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface BetaMemoryStoresListOptionalParams extends OperationOptions {\n /**\n * A limit on the number of objects to be returned. Limit can range between 1 and 100, and the\n * default is 20.\n */\n limit?: number;\n /**\n * Sort order by the `created_at` timestamp of the objects. `asc` for ascending order and`desc`\n * for descending order.\n */\n order?: PageOrder;\n /**\n * A cursor for use in pagination. `after` is an object ID that defines your place in the list.\n * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your\n * subsequent call can include after=obj_foo in order to fetch the next page of the list.\n */\n after?: string;\n /**\n * A cursor for use in pagination. `before` is an object ID that defines your place in the list.\n * For instance, if you make a list request and receive 100 objects, ending with obj_foo, your\n * subsequent call can include before=obj_foo in order to fetch the previous page of the list.\n */\n before?: string;\n}\n\n/** Optional parameters. */\nexport interface BetaMemoryStoresGetOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface BetaMemoryStoresUpdateOptionalParams extends OperationOptions {\n /** A human-readable description of the memory store. */\n description?: string;\n /** Arbitrary key-value metadata to associate with the memory store. */\n metadata?: Record<string, string>;\n}\n\n/** Optional parameters. */\nexport interface BetaMemoryStoresCreateOptionalParams extends OperationOptions {\n /** A human-readable description of the memory store. */\n description?: string;\n /** Arbitrary key-value metadata to associate with the memory store. */\n metadata?: Record<string, string>;\n}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../../src/api/beta/schedules/operations.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,IAAI,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,KAAK,EACV,QAAQ,EACR,cAAc,EACd,WAAW,EACX,iBAAiB,EAClB,MAAM,2BAA2B,CAAC;AASnC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAGrE,OAAO,KAAK,EACV,mCAAmC,EACnC,iCAAiC,EACjC,yCAAyC,EACzC,+BAA+B,EAC/B,8BAA8B,EAC9B,iCAAiC,EAClC,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGvF,wBAAgB,aAAa,CAC3B,OAAO,EAAE,MAAM,EACf,EAAE,EAAE,MAAM,EACV,OAAO,GAAE,mCAA4D,GACpE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../../src/api/beta/schedules/operations.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,IAAI,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,KAAK,EACV,QAAQ,EACR,cAAc,EACd,WAAW,EACX,iBAAiB,EAClB,MAAM,2BAA2B,CAAC;AASnC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAGrE,OAAO,KAAK,EACV,mCAAmC,EACnC,iCAAiC,EACjC,yCAAyC,EACzC,+BAA+B,EAC/B,8BAA8B,EAC9B,iCAAiC,EAClC,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGv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AwBlB;AAED,wBAAsB,gBAAgB,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,cAAc,CAAC,CAO7F;AAED,0BAA0B;AAC1B,wBAAgB,IAAI,CAClB,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,+BAAwD,GAChE,0BAA0B,CAAC,QAAQ,CAAC,CAiBtC;AAED,wBAAgB,QAAQ,CACtB,OAAO,EAAE,MAAM,EACf,EAAE,EAAE,MAAM,EACV,OAAO,GAAE,8BAAuD,GAC/D,gBAAgB,CAuBlB;AAED,wBAAsB,eAAe,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAOtF;AAED,4BAA4B;AAC5B,wBAAsB,GAAG,CACvB,OAAO,EAAE,MAAM,EACf,EAAE,EAAE,MAAM,EACV,OAAO,GAAE,8BAAuD,GAC/D,OAAO,CAAC,QAAQ,CAAC,CAGnB;AAED,wBAAgB,YAAY,CAC1B,OAAO,EAAE,MAAM,EACf,EAAE,EAAE,MAAM,EACV,OAAO,GAAE,iCAA0D,GAClE,gBAAgB,CAsBlB;AAED,wBAAsB,mBAAmB,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,CAOtF;AAED,yBAAyB;AACzB,wBAAsB,OAAO,CAC3B,OAAO,EAAE,MAAM,EACf,EAAE,EAAE,MAAM,EACV,OAAO,GAAE,iCAA0D,GAClE,OAAO,CAAC,IAAI,CAAC,CAGf"}
|
|
@@ -44,10 +44,12 @@ var import_core_client = require("@azure-rest/core-client");
|
|
|
44
44
|
function _listRunsSend(context, id, options = { requestOptions: {} }) {
|
|
45
45
|
const foundryFeatures = "Schedules=V1Preview";
|
|
46
46
|
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
47
|
-
"/schedules/{id}/runs{?api-version}",
|
|
47
|
+
"/schedules/{id}/runs{?api-version,type,enabled}",
|
|
48
48
|
{
|
|
49
49
|
id,
|
|
50
|
-
"api-version": context.apiVersion
|
|
50
|
+
"api-version": context.apiVersion,
|
|
51
|
+
type: options?.scheduleType,
|
|
52
|
+
enabled: options?.enabled
|
|
51
53
|
},
|
|
52
54
|
{
|
|
53
55
|
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
@@ -137,7 +139,7 @@ function _createOrUpdateSend(context, id, schedule, options = { requestOptions:
|
|
|
137
139
|
);
|
|
138
140
|
return context.path(path).put({
|
|
139
141
|
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
140
|
-
contentType: "application/
|
|
142
|
+
contentType: "application/json",
|
|
141
143
|
headers: {
|
|
142
144
|
"foundry-features": foundryFeatures,
|
|
143
145
|
...options?.clientRequestId !== void 0 ? { "x-ms-client-request-id": options?.clientRequestId } : {},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/api/beta/schedules/operations.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AIProjectContext as Client } from \"../../index.js\";\nimport type {\n Schedule,\n _PagedSchedule,\n ScheduleRun,\n _PagedScheduleRun,\n} from \"../../../models/models.js\";\nimport {\n apiErrorResponseDeserializer,\n scheduleSerializer,\n scheduleDeserializer,\n _pagedScheduleDeserializer,\n scheduleRunDeserializer,\n _pagedScheduleRunDeserializer,\n} from \"../../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { buildPagedAsyncIterator } from \"../../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../../static-helpers/urlTemplate.js\";\nimport type {\n BetaSchedulesListRunsOptionalParams,\n BetaSchedulesGetRunOptionalParams,\n BetaSchedulesCreateOrUpdateOptionalParams,\n BetaSchedulesListOptionalParams,\n BetaSchedulesGetOptionalParams,\n BetaSchedulesDeleteOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _listRunsSend(\n context: Client,\n id: string,\n options: BetaSchedulesListRunsOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Schedules=V1Preview\";\n const path = expandUrlTemplate(\n \"/schedules/{id}/runs{?api-version}\",\n {\n id: id,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": foundryFeatures,\n ...(options?.clientRequestId !== undefined\n ? { \"x-ms-client-request-id\": options?.clientRequestId }\n : {}),\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listRunsDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PagedScheduleRun> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _pagedScheduleRunDeserializer(result.body);\n}\n\n/** List all schedule runs. */\nexport function listRuns(\n context: Client,\n id: string,\n options: BetaSchedulesListRunsOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<ScheduleRun> {\n return buildPagedAsyncIterator(\n context,\n () => _listRunsSend(context, id, options),\n _listRunsDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion,\n nextPageRequestOptions: {\n headers: {\n \"foundry-features\": \"Schedules=V1Preview\",\n },\n },\n },\n );\n}\n\nexport function _getRunSend(\n context: Client,\n scheduleId: string,\n runId: string,\n options: BetaSchedulesGetRunOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Schedules=V1Preview\";\n const path = expandUrlTemplate(\n \"/schedules/{schedule_id}/runs/{run_id}{?api-version}\",\n {\n schedule_id: scheduleId,\n run_id: runId,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": foundryFeatures,\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getRunDeserialize(result: PathUncheckedResponse): Promise<ScheduleRun> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = apiErrorResponseDeserializer(result.body);\n throw error;\n }\n\n return scheduleRunDeserializer(result.body);\n}\n\n/** Get a schedule run by id. */\nexport async function getRun(\n context: Client,\n scheduleId: string,\n runId: string,\n options: BetaSchedulesGetRunOptionalParams = { requestOptions: {} },\n): Promise<ScheduleRun> {\n const result = await _getRunSend(context, scheduleId, runId, options);\n return _getRunDeserialize(result);\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n id: string,\n schedule: Schedule,\n options: BetaSchedulesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Schedules=V1Preview\";\n const path = expandUrlTemplate(\n \"/schedules/{id}{?api-version}\",\n {\n id: id,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/merge-patch+json\",\n headers: {\n \"foundry-features\": foundryFeatures,\n ...(options?.clientRequestId !== undefined\n ? { \"x-ms-client-request-id\": options?.clientRequestId }\n : {}),\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: scheduleSerializer(schedule),\n });\n}\n\nexport async function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<Schedule> {\n const expectedStatuses = [\"201\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return scheduleDeserializer(result.body);\n}\n\n/** Create or update operation template. */\nexport async function createOrUpdate(\n context: Client,\n id: string,\n schedule: Schedule,\n options: BetaSchedulesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): Promise<Schedule> {\n const result = await _createOrUpdateSend(context, id, schedule, options);\n return _createOrUpdateDeserialize(result);\n}\n\nexport function _listSend(\n context: Client,\n options: BetaSchedulesListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Schedules=V1Preview\";\n const path = expandUrlTemplate(\n \"/schedules{?api-version,type,enabled}\",\n {\n \"api-version\": context.apiVersion,\n type: options?.scheduleType,\n enabled: options?.enabled,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": foundryFeatures,\n ...(options?.clientRequestId !== undefined\n ? { \"x-ms-client-request-id\": options?.clientRequestId }\n : {}),\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listDeserialize(result: PathUncheckedResponse): Promise<_PagedSchedule> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _pagedScheduleDeserializer(result.body);\n}\n\n/** List all schedules. */\nexport function list(\n context: Client,\n options: BetaSchedulesListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Schedule> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, options),\n _listDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion,\n nextPageRequestOptions: {\n headers: {\n \"foundry-features\": \"Schedules=V1Preview\",\n },\n },\n },\n );\n}\n\nexport function _getSend(\n context: Client,\n id: string,\n options: BetaSchedulesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Schedules=V1Preview\";\n const path = expandUrlTemplate(\n \"/schedules/{id}{?api-version}\",\n {\n id: id,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": foundryFeatures,\n ...(options?.clientRequestId !== undefined\n ? { \"x-ms-client-request-id\": options?.clientRequestId }\n : {}),\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<Schedule> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return scheduleDeserializer(result.body);\n}\n\n/** Get a schedule by id. */\nexport async function get(\n context: Client,\n id: string,\n options: BetaSchedulesGetOptionalParams = { requestOptions: {} },\n): Promise<Schedule> {\n const result = await _getSend(context, id, options);\n return _getDeserialize(result);\n}\n\nexport function _$deleteSend(\n context: Client,\n id: string,\n options: BetaSchedulesDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Schedules=V1Preview\";\n const path = expandUrlTemplate(\n \"/schedules/{id}{?api-version}\",\n {\n id: id,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": foundryFeatures,\n ...(options?.clientRequestId !== undefined\n ? { \"x-ms-client-request-id\": options?.clientRequestId }\n : {}),\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"204\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** Delete a schedule. */\nexport async function $delete(\n context: Client,\n id: string,\n options: BetaSchedulesDeleteOptionalParams = { requestOptions: {} },\n): Promise<void> {\n const result = await _$deleteSend(context, id, options);\n return _$deleteDeserialize(result);\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA,oBAOO;AAEP,2BAAwC;AACxC,yBAAkC;AAUlC,yBAAqE;AAE9D,SAAS,cACd,SACA,IACA,UAA+C,EAAE,gBAAgB,CAAC,EAAE,GAClD;AAClB,QAAM,kBAAkB;AACxB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE;AAAA,MACA,eAAe,QAAQ;AAAA,
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AIProjectContext as Client } from \"../../index.js\";\nimport type {\n Schedule,\n _PagedSchedule,\n ScheduleRun,\n _PagedScheduleRun,\n} from \"../../../models/models.js\";\nimport {\n apiErrorResponseDeserializer,\n scheduleSerializer,\n scheduleDeserializer,\n _pagedScheduleDeserializer,\n scheduleRunDeserializer,\n _pagedScheduleRunDeserializer,\n} from \"../../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { buildPagedAsyncIterator } from \"../../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../../static-helpers/urlTemplate.js\";\nimport type {\n BetaSchedulesListRunsOptionalParams,\n BetaSchedulesGetRunOptionalParams,\n BetaSchedulesCreateOrUpdateOptionalParams,\n BetaSchedulesListOptionalParams,\n BetaSchedulesGetOptionalParams,\n BetaSchedulesDeleteOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _listRunsSend(\n context: Client,\n id: string,\n options: BetaSchedulesListRunsOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Schedules=V1Preview\";\n const path = expandUrlTemplate(\n \"/schedules/{id}/runs{?api-version,type,enabled}\",\n {\n id: id,\n \"api-version\": context.apiVersion,\n type: options?.scheduleType,\n enabled: options?.enabled,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": foundryFeatures,\n ...(options?.clientRequestId !== undefined\n ? { \"x-ms-client-request-id\": options?.clientRequestId }\n : {}),\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listRunsDeserialize(\n result: PathUncheckedResponse,\n): Promise<_PagedScheduleRun> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _pagedScheduleRunDeserializer(result.body);\n}\n\n/** List all schedule runs. */\nexport function listRuns(\n context: Client,\n id: string,\n options: BetaSchedulesListRunsOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<ScheduleRun> {\n return buildPagedAsyncIterator(\n context,\n () => _listRunsSend(context, id, options),\n _listRunsDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion,\n nextPageRequestOptions: {\n headers: {\n \"foundry-features\": \"Schedules=V1Preview\",\n },\n },\n },\n );\n}\n\nexport function _getRunSend(\n context: Client,\n scheduleId: string,\n runId: string,\n options: BetaSchedulesGetRunOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Schedules=V1Preview\";\n const path = expandUrlTemplate(\n \"/schedules/{schedule_id}/runs/{run_id}{?api-version}\",\n {\n schedule_id: scheduleId,\n run_id: runId,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": foundryFeatures,\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getRunDeserialize(result: PathUncheckedResponse): Promise<ScheduleRun> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = apiErrorResponseDeserializer(result.body);\n throw error;\n }\n\n return scheduleRunDeserializer(result.body);\n}\n\n/** Get a schedule run by id. */\nexport async function getRun(\n context: Client,\n scheduleId: string,\n runId: string,\n options: BetaSchedulesGetRunOptionalParams = { requestOptions: {} },\n): Promise<ScheduleRun> {\n const result = await _getRunSend(context, scheduleId, runId, options);\n return _getRunDeserialize(result);\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n id: string,\n schedule: Schedule,\n options: BetaSchedulesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Schedules=V1Preview\";\n const path = expandUrlTemplate(\n \"/schedules/{id}{?api-version}\",\n {\n id: id,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n \"foundry-features\": foundryFeatures,\n ...(options?.clientRequestId !== undefined\n ? { \"x-ms-client-request-id\": options?.clientRequestId }\n : {}),\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: scheduleSerializer(schedule),\n });\n}\n\nexport async function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<Schedule> {\n const expectedStatuses = [\"201\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return scheduleDeserializer(result.body);\n}\n\n/** Create or update operation template. */\nexport async function createOrUpdate(\n context: Client,\n id: string,\n schedule: Schedule,\n options: BetaSchedulesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): Promise<Schedule> {\n const result = await _createOrUpdateSend(context, id, schedule, options);\n return _createOrUpdateDeserialize(result);\n}\n\nexport function _listSend(\n context: Client,\n options: BetaSchedulesListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Schedules=V1Preview\";\n const path = expandUrlTemplate(\n \"/schedules{?api-version,type,enabled}\",\n {\n \"api-version\": context.apiVersion,\n type: options?.scheduleType,\n enabled: options?.enabled,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": foundryFeatures,\n ...(options?.clientRequestId !== undefined\n ? { \"x-ms-client-request-id\": options?.clientRequestId }\n : {}),\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listDeserialize(result: PathUncheckedResponse): Promise<_PagedSchedule> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return _pagedScheduleDeserializer(result.body);\n}\n\n/** List all schedules. */\nexport function list(\n context: Client,\n options: BetaSchedulesListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Schedule> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, options),\n _listDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion,\n nextPageRequestOptions: {\n headers: {\n \"foundry-features\": \"Schedules=V1Preview\",\n },\n },\n },\n );\n}\n\nexport function _getSend(\n context: Client,\n id: string,\n options: BetaSchedulesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Schedules=V1Preview\";\n const path = expandUrlTemplate(\n \"/schedules/{id}{?api-version}\",\n {\n id: id,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": foundryFeatures,\n ...(options?.clientRequestId !== undefined\n ? { \"x-ms-client-request-id\": options?.clientRequestId }\n : {}),\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<Schedule> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return scheduleDeserializer(result.body);\n}\n\n/** Get a schedule by id. */\nexport async function get(\n context: Client,\n id: string,\n options: BetaSchedulesGetOptionalParams = { requestOptions: {} },\n): Promise<Schedule> {\n const result = await _getSend(context, id, options);\n return _getDeserialize(result);\n}\n\nexport function _$deleteSend(\n context: Client,\n id: string,\n options: BetaSchedulesDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Schedules=V1Preview\";\n const path = expandUrlTemplate(\n \"/schedules/{id}{?api-version}\",\n {\n id: id,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": foundryFeatures,\n ...(options?.clientRequestId !== undefined\n ? { \"x-ms-client-request-id\": options?.clientRequestId }\n : {}),\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"204\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** Delete a schedule. */\nexport async function $delete(\n context: Client,\n id: string,\n options: BetaSchedulesDeleteOptionalParams = { requestOptions: {} },\n): Promise<void> {\n const result = await _$deleteSend(context, id, options);\n return _$deleteDeserialize(result);\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA,oBAOO;AAEP,2BAAwC;AACxC,yBAAkC;AAUlC,yBAAqE;AAE9D,SAAS,cACd,SACA,IACA,UAA+C,EAAE,gBAAgB,CAAC,EAAE,GAClD;AAClB,QAAM,kBAAkB;AACxB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE;AAAA,MACA,eAAe,QAAQ;AAAA,MACvB,MAAM,SAAS;AAAA,MACf,SAAS,SAAS;AAAA,IACpB;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,S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,MACpB,GAAI,SAAS,oBAAoB,SAC7B,EAAE,0BAA0B,SAAS,gBAAgB,IACrD,CAAC;AAAA,MACL,GAAG,QAAQ,gBAAgB;AAAA,IAC7B;AAAA,EACF,CAAC;AACH;AAEA,eAAsB,oBAAoB,QAA8C;AACtF,QAAM,mBAAmB,CAAC,KAAK;AAC/B,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,cAAM,oCAAgB,MAAM;AAAA,EAC9B;AAEA;AACF;AAGA,eAAsB,QACpB,SACA,IACA,UAA6C,EAAE,gBAAgB,CAAC,EAAE,GACnD;AACf,QAAM,SAAS,MAAM,aAAa,SAAS,IAAI,OAAO;AACtD,SAAO,oBAAoB,MAAM;AACnC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { $delete, update, list, download, get, createFromPackage, create } from "./operations.js";
|
|
2
|
+
export type { BetaSkillsDeleteOptionalParams, BetaSkillsUpdateOptionalParams, BetaSkillsListOptionalParams, BetaSkillsDownloadOptionalParams, BetaSkillsGetOptionalParams, CreateFromPackageOptionalParams, BetaSkillsCreateOptionalParams, } from "./options.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/beta/skills/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAClG,YAAY,EACV,8BAA8B,EAC9B,8BAA8B,EAC9B,4BAA4B,EAC5B,gCAAgC,EAChC,2BAA2B,EAC3B,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
$delete: () => import_operations.$delete,
|
|
21
|
+
create: () => import_operations.create,
|
|
22
|
+
createFromPackage: () => import_operations.createFromPackage,
|
|
23
|
+
download: () => import_operations.download,
|
|
24
|
+
get: () => import_operations.get,
|
|
25
|
+
list: () => import_operations.list,
|
|
26
|
+
update: () => import_operations.update
|
|
27
|
+
});
|
|
28
|
+
module.exports = __toCommonJS(skills_exports);
|
|
29
|
+
var import_operations = require("./operations.js");
|
|
30
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
31
|
+
0 && (module.exports = {
|
|
32
|
+
$delete,
|
|
33
|
+
create,
|
|
34
|
+
createFromPackage,
|
|
35
|
+
download,
|
|
36
|
+
get,
|
|
37
|
+
list,
|
|
38
|
+
update
|
|
39
|
+
});
|
|
40
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../src/api/beta/skills/index.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { $delete, update, list, download, get, createFromPackage, create } from \"./operations.js\";\nexport type {\n BetaSkillsDeleteOptionalParams,\n BetaSkillsUpdateOptionalParams,\n BetaSkillsListOptionalParams,\n BetaSkillsDownloadOptionalParams,\n BetaSkillsGetOptionalParams,\n CreateFromPackageOptionalParams,\n BetaSkillsCreateOptionalParams,\n} from \"./options.js\";\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,wBAAgF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { AIProjectContext as Client } from "../../index.js";
|
|
2
|
+
import type { SkillObject, _AgentsPagedResultSkillObject, DeleteSkillResponse, BetaSkillsDownloadResponse } from "../../../models/models.js";
|
|
3
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
4
|
+
import type { BetaSkillsDeleteOptionalParams, BetaSkillsUpdateOptionalParams, BetaSkillsListOptionalParams, BetaSkillsDownloadOptionalParams, BetaSkillsGetOptionalParams, CreateFromPackageOptionalParams, BetaSkillsCreateOptionalParams } from "./options.js";
|
|
5
|
+
import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
export declare function _$deleteSend(context: Client, skillName: string, options?: BetaSkillsDeleteOptionalParams): StreamableMethod;
|
|
7
|
+
export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<DeleteSkillResponse>;
|
|
8
|
+
/** Deletes a skill. */
|
|
9
|
+
export declare function $delete(context: Client, skillName: string, options?: BetaSkillsDeleteOptionalParams): Promise<DeleteSkillResponse>;
|
|
10
|
+
export declare function _updateSend(context: Client, skillName: string, options?: BetaSkillsUpdateOptionalParams): StreamableMethod;
|
|
11
|
+
export declare function _updateDeserialize(result: PathUncheckedResponse): Promise<SkillObject>;
|
|
12
|
+
/** Updates an existing skill. */
|
|
13
|
+
export declare function update(context: Client, skillName: string, options?: BetaSkillsUpdateOptionalParams): Promise<SkillObject>;
|
|
14
|
+
export declare function _listSend(context: Client, options?: BetaSkillsListOptionalParams): StreamableMethod;
|
|
15
|
+
export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_AgentsPagedResultSkillObject>;
|
|
16
|
+
/** Returns the list of all skills. */
|
|
17
|
+
export declare function list(context: Client, options?: BetaSkillsListOptionalParams): PagedAsyncIterableIterator<SkillObject>;
|
|
18
|
+
export declare function _downloadSend(context: Client, skillName: string, options?: BetaSkillsDownloadOptionalParams): StreamableMethod;
|
|
19
|
+
export declare function _downloadDeserialize(result: PathUncheckedResponse & BetaSkillsDownloadResponse): Promise<BetaSkillsDownloadResponse>;
|
|
20
|
+
/** Downloads a skill package. */
|
|
21
|
+
export declare function download(context: Client, skillName: string, options?: BetaSkillsDownloadOptionalParams): Promise<BetaSkillsDownloadResponse>;
|
|
22
|
+
export declare function _getSend(context: Client, skillName: string, options?: BetaSkillsGetOptionalParams): StreamableMethod;
|
|
23
|
+
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<SkillObject>;
|
|
24
|
+
/** Retrieves a skill. */
|
|
25
|
+
export declare function get(context: Client, skillName: string, options?: BetaSkillsGetOptionalParams): Promise<SkillObject>;
|
|
26
|
+
export declare function _createFromPackageSend(context: Client, body: Uint8Array, options?: CreateFromPackageOptionalParams): StreamableMethod;
|
|
27
|
+
export declare function _createFromPackageDeserialize(result: PathUncheckedResponse): Promise<SkillObject>;
|
|
28
|
+
/** Creates a skill from a zip package. */
|
|
29
|
+
export declare function createFromPackage(context: Client, body: Uint8Array, options?: CreateFromPackageOptionalParams): Promise<SkillObject>;
|
|
30
|
+
export declare function _createSend(context: Client, name: string, options?: BetaSkillsCreateOptionalParams): StreamableMethod;
|
|
31
|
+
export declare function _createDeserialize(result: PathUncheckedResponse): Promise<SkillObject>;
|
|
32
|
+
/** Creates a skill. */
|
|
33
|
+
export declare function create(context: Client, name: string, options?: BetaSkillsCreateOptionalParams): Promise<SkillObject>;
|
|
34
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../../src/api/beta/skills/operations.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,IAAI,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,KAAK,EACV,WAAW,EACX,6BAA6B,EAC7B,mBAAmB,EACnB,0BAA0B,EAC3B,MAAM,2BAA2B,CAAC;AAOnC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAIrE,OAAO,KAAK,EACV,8BAA8B,EAC9B,8BAA8B,EAC9B,4BAA4B,EAC5B,gCAAgC,EAChC,2BAA2B,EAC3B,+BAA+B,EAC/B,8BAA8B,EAC/B,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGvF,wBAAgB,YAAY,CAC1B,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE,8BAAuD,GAC/D,gBAAgB,CAoBlB;AAED,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,mBAAmB,CAAC,CAU9B;AAED,uBAAuB;AACvB,wBAAsB,OAAO,CAC3B,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE,8BAAuD,GAC/D,OAAO,CAAC,mBAAmB,CAAC,CAG9B;AAED,wBAAgB,WAAW,CACzB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE,8BAAuD,GAC/D,gBAAgB,CA0BlB;AAED,wBAAsB,kBAAkB,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,WAAW,CAA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EAAE,UAAU,EAChB,OAAO,GAAE,+BAAwD,GAChE,gBAAgB,CAqBlB;AAED,wBAAsB,6BAA6B,CACjD,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,WAAW,CAAC,CAUtB;AAED,0CAA0C;AAC1C,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,UAAU,EAChB,OAAO,GAAE,+BAAwD,GAChE,OAAO,CAAC,WAAW,CAAC,CAGtB;AAED,wBAAgB,WAAW,CACzB,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,8BAAuD,GAC/D,gBAAgB,CA0BlB;AAED,wBAAsB,kBAAkB,CAAC,MAAM,EAAE,qBAAqB,GAAG,OAAO,CAAC,WAAW,CAAC,CAU5F;AAED,uBAAuB;AACvB,wBAAsB,MAAM,CAC1B,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,8BAAuD,GAC/D,OAAO,CAAC,WAAW,CAAC,CAGtB"}
|
|
@@ -0,0 +1,338 @@
|
|
|
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 operations_exports = {};
|
|
19
|
+
__export(operations_exports, {
|
|
20
|
+
$delete: () => $delete,
|
|
21
|
+
_$deleteDeserialize: () => _$deleteDeserialize,
|
|
22
|
+
_$deleteSend: () => _$deleteSend,
|
|
23
|
+
_createDeserialize: () => _createDeserialize,
|
|
24
|
+
_createFromPackageDeserialize: () => _createFromPackageDeserialize,
|
|
25
|
+
_createFromPackageSend: () => _createFromPackageSend,
|
|
26
|
+
_createSend: () => _createSend,
|
|
27
|
+
_downloadDeserialize: () => _downloadDeserialize,
|
|
28
|
+
_downloadSend: () => _downloadSend,
|
|
29
|
+
_getDeserialize: () => _getDeserialize,
|
|
30
|
+
_getSend: () => _getSend,
|
|
31
|
+
_listDeserialize: () => _listDeserialize,
|
|
32
|
+
_listSend: () => _listSend,
|
|
33
|
+
_updateDeserialize: () => _updateDeserialize,
|
|
34
|
+
_updateSend: () => _updateSend,
|
|
35
|
+
create: () => create,
|
|
36
|
+
createFromPackage: () => createFromPackage,
|
|
37
|
+
download: () => download,
|
|
38
|
+
get: () => get,
|
|
39
|
+
list: () => list,
|
|
40
|
+
update: () => update
|
|
41
|
+
});
|
|
42
|
+
module.exports = __toCommonJS(operations_exports);
|
|
43
|
+
var import_models = require("../../../models/models.js");
|
|
44
|
+
var import_pagingHelpers = require("../../../static-helpers/pagingHelpers.js");
|
|
45
|
+
var import_get_binary_stream_response = require("../../../static-helpers/serialization/get-binary-stream-response.js");
|
|
46
|
+
var import_urlTemplate = require("../../../static-helpers/urlTemplate.js");
|
|
47
|
+
var import_core_client = require("@azure-rest/core-client");
|
|
48
|
+
function _$deleteSend(context, skillName, options = { requestOptions: {} }) {
|
|
49
|
+
const foundryFeatures = "Skills=V1Preview";
|
|
50
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
51
|
+
"/skills/{skill_name}{?api-version}",
|
|
52
|
+
{
|
|
53
|
+
skill_name: skillName,
|
|
54
|
+
"api-version": context.apiVersion
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
58
|
+
}
|
|
59
|
+
);
|
|
60
|
+
return context.path(path).delete({
|
|
61
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
62
|
+
headers: {
|
|
63
|
+
"foundry-features": foundryFeatures,
|
|
64
|
+
accept: "application/json",
|
|
65
|
+
...options.requestOptions?.headers
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
async function _$deleteDeserialize(result) {
|
|
70
|
+
const expectedStatuses = ["200"];
|
|
71
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
72
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
73
|
+
error.details = (0, import_models.apiErrorResponseDeserializer)(result.body);
|
|
74
|
+
throw error;
|
|
75
|
+
}
|
|
76
|
+
return (0, import_models.deleteSkillResponseDeserializer)(result.body);
|
|
77
|
+
}
|
|
78
|
+
async function $delete(context, skillName, options = { requestOptions: {} }) {
|
|
79
|
+
const result = await _$deleteSend(context, skillName, options);
|
|
80
|
+
return _$deleteDeserialize(result);
|
|
81
|
+
}
|
|
82
|
+
function _updateSend(context, skillName, options = { requestOptions: {} }) {
|
|
83
|
+
const foundryFeatures = "Skills=V1Preview";
|
|
84
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
85
|
+
"/skills/{skill_name}{?api-version}",
|
|
86
|
+
{
|
|
87
|
+
skill_name: skillName,
|
|
88
|
+
"api-version": context.apiVersion
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
92
|
+
}
|
|
93
|
+
);
|
|
94
|
+
return context.path(path).post({
|
|
95
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
96
|
+
contentType: "application/json",
|
|
97
|
+
headers: {
|
|
98
|
+
"foundry-features": foundryFeatures,
|
|
99
|
+
accept: "application/json",
|
|
100
|
+
...options.requestOptions?.headers
|
|
101
|
+
},
|
|
102
|
+
body: {
|
|
103
|
+
description: options?.description,
|
|
104
|
+
instructions: options?.instructions,
|
|
105
|
+
metadata: options?.metadata
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
async function _updateDeserialize(result) {
|
|
110
|
+
const expectedStatuses = ["200"];
|
|
111
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
112
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
113
|
+
error.details = (0, import_models.apiErrorResponseDeserializer)(result.body);
|
|
114
|
+
throw error;
|
|
115
|
+
}
|
|
116
|
+
return (0, import_models.skillObjectDeserializer)(result.body);
|
|
117
|
+
}
|
|
118
|
+
async function update(context, skillName, options = { requestOptions: {} }) {
|
|
119
|
+
const result = await _updateSend(context, skillName, options);
|
|
120
|
+
return _updateDeserialize(result);
|
|
121
|
+
}
|
|
122
|
+
function _listSend(context, options = { requestOptions: {} }) {
|
|
123
|
+
const foundryFeatures = "Skills=V1Preview";
|
|
124
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
125
|
+
"/skills{?limit,order,after,before,api-version}",
|
|
126
|
+
{
|
|
127
|
+
limit: options?.limit,
|
|
128
|
+
order: options?.order,
|
|
129
|
+
after: options?.after,
|
|
130
|
+
before: options?.before,
|
|
131
|
+
"api-version": context.apiVersion
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
135
|
+
}
|
|
136
|
+
);
|
|
137
|
+
return context.path(path).get({
|
|
138
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
139
|
+
headers: {
|
|
140
|
+
"foundry-features": foundryFeatures,
|
|
141
|
+
accept: "application/json",
|
|
142
|
+
...options.requestOptions?.headers
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
async function _listDeserialize(result) {
|
|
147
|
+
const expectedStatuses = ["200"];
|
|
148
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
149
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
150
|
+
error.details = (0, import_models.apiErrorResponseDeserializer)(result.body);
|
|
151
|
+
throw error;
|
|
152
|
+
}
|
|
153
|
+
return (0, import_models._agentsPagedResultSkillObjectDeserializer)(result.body);
|
|
154
|
+
}
|
|
155
|
+
function list(context, options = { requestOptions: {} }) {
|
|
156
|
+
return (0, import_pagingHelpers.buildPagedAsyncIterator)(
|
|
157
|
+
context,
|
|
158
|
+
() => _listSend(context, options),
|
|
159
|
+
_listDeserialize,
|
|
160
|
+
["200"],
|
|
161
|
+
{
|
|
162
|
+
itemName: "data",
|
|
163
|
+
apiVersion: context.apiVersion,
|
|
164
|
+
nextPageRequestOptions: { headers: { "foundry-features": "Skills=V1Preview" } },
|
|
165
|
+
cursorFieldName: "last_id",
|
|
166
|
+
hasMoreFieldName: "has_more"
|
|
167
|
+
}
|
|
168
|
+
);
|
|
169
|
+
}
|
|
170
|
+
function _downloadSend(context, skillName, options = { requestOptions: {} }) {
|
|
171
|
+
const foundryFeatures = "Skills=V1Preview";
|
|
172
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
173
|
+
"/skills/{skill_name}:download{?api-version}",
|
|
174
|
+
{
|
|
175
|
+
skill_name: skillName,
|
|
176
|
+
"api-version": context.apiVersion
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
180
|
+
}
|
|
181
|
+
);
|
|
182
|
+
return context.path(path).get({
|
|
183
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
184
|
+
headers: {
|
|
185
|
+
"foundry-features": foundryFeatures,
|
|
186
|
+
accept: "application/zip",
|
|
187
|
+
...options.requestOptions?.headers
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
async function _downloadDeserialize(result) {
|
|
192
|
+
const expectedStatuses = ["200"];
|
|
193
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
194
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
195
|
+
error.details = (0, import_models.apiErrorResponseDeserializer)(result.body);
|
|
196
|
+
throw error;
|
|
197
|
+
}
|
|
198
|
+
return { blobBody: result.blobBody, readableStreamBody: result.readableStreamBody };
|
|
199
|
+
}
|
|
200
|
+
async function download(context, skillName, options = { requestOptions: {} }) {
|
|
201
|
+
const streamableMethod = _downloadSend(context, skillName, options);
|
|
202
|
+
const result = await (0, import_get_binary_stream_response.getBinaryStreamResponse)(streamableMethod);
|
|
203
|
+
return _downloadDeserialize(result);
|
|
204
|
+
}
|
|
205
|
+
function _getSend(context, skillName, options = { requestOptions: {} }) {
|
|
206
|
+
const foundryFeatures = "Skills=V1Preview";
|
|
207
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
208
|
+
"/skills/{skill_name}{?api-version}",
|
|
209
|
+
{
|
|
210
|
+
skill_name: skillName,
|
|
211
|
+
"api-version": context.apiVersion
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
215
|
+
}
|
|
216
|
+
);
|
|
217
|
+
return context.path(path).get({
|
|
218
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
219
|
+
headers: {
|
|
220
|
+
"foundry-features": foundryFeatures,
|
|
221
|
+
accept: "application/json",
|
|
222
|
+
...options.requestOptions?.headers
|
|
223
|
+
}
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
async function _getDeserialize(result) {
|
|
227
|
+
const expectedStatuses = ["200"];
|
|
228
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
229
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
230
|
+
error.details = (0, import_models.apiErrorResponseDeserializer)(result.body);
|
|
231
|
+
throw error;
|
|
232
|
+
}
|
|
233
|
+
return (0, import_models.skillObjectDeserializer)(result.body);
|
|
234
|
+
}
|
|
235
|
+
async function get(context, skillName, options = { requestOptions: {} }) {
|
|
236
|
+
const result = await _getSend(context, skillName, options);
|
|
237
|
+
return _getDeserialize(result);
|
|
238
|
+
}
|
|
239
|
+
function _createFromPackageSend(context, body, options = { requestOptions: {} }) {
|
|
240
|
+
const foundryFeatures = "Skills=V1Preview";
|
|
241
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
242
|
+
"/skills:import{?api-version}",
|
|
243
|
+
{
|
|
244
|
+
"api-version": context.apiVersion
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
248
|
+
}
|
|
249
|
+
);
|
|
250
|
+
return context.path(path).post({
|
|
251
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
252
|
+
contentType: "application/zip",
|
|
253
|
+
headers: {
|
|
254
|
+
"foundry-features": foundryFeatures,
|
|
255
|
+
accept: "application/json",
|
|
256
|
+
...options.requestOptions?.headers
|
|
257
|
+
},
|
|
258
|
+
body
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
async function _createFromPackageDeserialize(result) {
|
|
262
|
+
const expectedStatuses = ["201"];
|
|
263
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
264
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
265
|
+
error.details = (0, import_models.apiErrorResponseDeserializer)(result.body);
|
|
266
|
+
throw error;
|
|
267
|
+
}
|
|
268
|
+
return (0, import_models.skillObjectDeserializer)(result.body);
|
|
269
|
+
}
|
|
270
|
+
async function createFromPackage(context, body, options = { requestOptions: {} }) {
|
|
271
|
+
const result = await _createFromPackageSend(context, body, options);
|
|
272
|
+
return _createFromPackageDeserialize(result);
|
|
273
|
+
}
|
|
274
|
+
function _createSend(context, name, options = { requestOptions: {} }) {
|
|
275
|
+
const foundryFeatures = "Skills=V1Preview";
|
|
276
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
277
|
+
"/skills{?api-version}",
|
|
278
|
+
{
|
|
279
|
+
"api-version": context.apiVersion
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
283
|
+
}
|
|
284
|
+
);
|
|
285
|
+
return context.path(path).post({
|
|
286
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
287
|
+
contentType: "application/json",
|
|
288
|
+
headers: {
|
|
289
|
+
"foundry-features": foundryFeatures,
|
|
290
|
+
accept: "application/json",
|
|
291
|
+
...options.requestOptions?.headers
|
|
292
|
+
},
|
|
293
|
+
body: {
|
|
294
|
+
name,
|
|
295
|
+
description: options?.description,
|
|
296
|
+
instructions: options?.instructions,
|
|
297
|
+
metadata: options?.metadata
|
|
298
|
+
}
|
|
299
|
+
});
|
|
300
|
+
}
|
|
301
|
+
async function _createDeserialize(result) {
|
|
302
|
+
const expectedStatuses = ["201"];
|
|
303
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
304
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
305
|
+
error.details = (0, import_models.apiErrorResponseDeserializer)(result.body);
|
|
306
|
+
throw error;
|
|
307
|
+
}
|
|
308
|
+
return (0, import_models.skillObjectDeserializer)(result.body);
|
|
309
|
+
}
|
|
310
|
+
async function create(context, name, options = { requestOptions: {} }) {
|
|
311
|
+
const result = await _createSend(context, name, options);
|
|
312
|
+
return _createDeserialize(result);
|
|
313
|
+
}
|
|
314
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
315
|
+
0 && (module.exports = {
|
|
316
|
+
$delete,
|
|
317
|
+
_$deleteDeserialize,
|
|
318
|
+
_$deleteSend,
|
|
319
|
+
_createDeserialize,
|
|
320
|
+
_createFromPackageDeserialize,
|
|
321
|
+
_createFromPackageSend,
|
|
322
|
+
_createSend,
|
|
323
|
+
_downloadDeserialize,
|
|
324
|
+
_downloadSend,
|
|
325
|
+
_getDeserialize,
|
|
326
|
+
_getSend,
|
|
327
|
+
_listDeserialize,
|
|
328
|
+
_listSend,
|
|
329
|
+
_updateDeserialize,
|
|
330
|
+
_updateSend,
|
|
331
|
+
create,
|
|
332
|
+
createFromPackage,
|
|
333
|
+
download,
|
|
334
|
+
get,
|
|
335
|
+
list,
|
|
336
|
+
update
|
|
337
|
+
});
|
|
338
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../src/api/beta/skills/operations.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AIProjectContext as Client } from \"../../index.js\";\nimport type {\n SkillObject,\n _AgentsPagedResultSkillObject,\n DeleteSkillResponse,\n BetaSkillsDownloadResponse,\n} from \"../../../models/models.js\";\nimport {\n apiErrorResponseDeserializer,\n skillObjectDeserializer,\n _agentsPagedResultSkillObjectDeserializer,\n deleteSkillResponseDeserializer,\n} from \"../../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { buildPagedAsyncIterator } from \"../../../static-helpers/pagingHelpers.js\";\nimport { getBinaryStreamResponse } from \"../../../static-helpers/serialization/get-binary-stream-response.js\";\nimport { expandUrlTemplate } from \"../../../static-helpers/urlTemplate.js\";\nimport type {\n BetaSkillsDeleteOptionalParams,\n BetaSkillsUpdateOptionalParams,\n BetaSkillsListOptionalParams,\n BetaSkillsDownloadOptionalParams,\n BetaSkillsGetOptionalParams,\n CreateFromPackageOptionalParams,\n BetaSkillsCreateOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _$deleteSend(\n context: Client,\n skillName: string,\n options: BetaSkillsDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Skills=V1Preview\";\n const path = expandUrlTemplate(\n \"/skills/{skill_name}{?api-version}\",\n {\n skill_name: skillName,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": foundryFeatures,\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _$deleteDeserialize(\n result: PathUncheckedResponse,\n): Promise<DeleteSkillResponse> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = apiErrorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return deleteSkillResponseDeserializer(result.body);\n}\n\n/** Deletes a skill. */\nexport async function $delete(\n context: Client,\n skillName: string,\n options: BetaSkillsDeleteOptionalParams = { requestOptions: {} },\n): Promise<DeleteSkillResponse> {\n const result = await _$deleteSend(context, skillName, options);\n return _$deleteDeserialize(result);\n}\n\nexport function _updateSend(\n context: Client,\n skillName: string,\n options: BetaSkillsUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Skills=V1Preview\";\n const path = expandUrlTemplate(\n \"/skills/{skill_name}{?api-version}\",\n {\n skill_name: skillName,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n \"foundry-features\": foundryFeatures,\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: {\n description: options?.description,\n instructions: options?.instructions,\n metadata: options?.metadata,\n },\n });\n}\n\nexport async function _updateDeserialize(result: PathUncheckedResponse): Promise<SkillObject> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = apiErrorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return skillObjectDeserializer(result.body);\n}\n\n/** Updates an existing skill. */\nexport async function update(\n context: Client,\n skillName: string,\n options: BetaSkillsUpdateOptionalParams = { requestOptions: {} },\n): Promise<SkillObject> {\n const result = await _updateSend(context, skillName, options);\n return _updateDeserialize(result);\n}\n\nexport function _listSend(\n context: Client,\n options: BetaSkillsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Skills=V1Preview\";\n const path = expandUrlTemplate(\n \"/skills{?limit,order,after,before,api-version}\",\n {\n limit: options?.limit,\n order: options?.order,\n after: options?.after,\n before: options?.before,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": foundryFeatures,\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listDeserialize(\n result: PathUncheckedResponse,\n): Promise<_AgentsPagedResultSkillObject> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = apiErrorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return _agentsPagedResultSkillObjectDeserializer(result.body);\n}\n\n/** Returns the list of all skills. */\nexport function list(\n context: Client,\n options: BetaSkillsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<SkillObject> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, options),\n _listDeserialize,\n [\"200\"],\n {\n itemName: \"data\",\n apiVersion: context.apiVersion,\n nextPageRequestOptions: { headers: { \"foundry-features\": \"Skills=V1Preview\" } },\n cursorFieldName: \"last_id\",\n hasMoreFieldName: \"has_more\",\n },\n );\n}\n\nexport function _downloadSend(\n context: Client,\n skillName: string,\n options: BetaSkillsDownloadOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Skills=V1Preview\";\n const path = expandUrlTemplate(\n \"/skills/{skill_name}:download{?api-version}\",\n {\n skill_name: skillName,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": foundryFeatures,\n accept: \"application/zip\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _downloadDeserialize(\n result: PathUncheckedResponse & BetaSkillsDownloadResponse,\n): Promise<BetaSkillsDownloadResponse> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = apiErrorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return { blobBody: result.blobBody, readableStreamBody: result.readableStreamBody };\n}\n\n/** Downloads a skill package. */\nexport async function download(\n context: Client,\n skillName: string,\n options: BetaSkillsDownloadOptionalParams = { requestOptions: {} },\n): Promise<BetaSkillsDownloadResponse> {\n const streamableMethod = _downloadSend(context, skillName, options);\n const result = await getBinaryStreamResponse(streamableMethod);\n return _downloadDeserialize(result);\n}\n\nexport function _getSend(\n context: Client,\n skillName: string,\n options: BetaSkillsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Skills=V1Preview\";\n const path = expandUrlTemplate(\n \"/skills/{skill_name}{?api-version}\",\n {\n skill_name: skillName,\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n \"foundry-features\": foundryFeatures,\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<SkillObject> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = apiErrorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return skillObjectDeserializer(result.body);\n}\n\n/** Retrieves a skill. */\nexport async function get(\n context: Client,\n skillName: string,\n options: BetaSkillsGetOptionalParams = { requestOptions: {} },\n): Promise<SkillObject> {\n const result = await _getSend(context, skillName, options);\n return _getDeserialize(result);\n}\n\nexport function _createFromPackageSend(\n context: Client,\n body: Uint8Array,\n options: CreateFromPackageOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Skills=V1Preview\";\n const path = expandUrlTemplate(\n \"/skills:import{?api-version}\",\n {\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/zip\",\n headers: {\n \"foundry-features\": foundryFeatures,\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: body,\n });\n}\n\nexport async function _createFromPackageDeserialize(\n result: PathUncheckedResponse,\n): Promise<SkillObject> {\n const expectedStatuses = [\"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = apiErrorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return skillObjectDeserializer(result.body);\n}\n\n/** Creates a skill from a zip package. */\nexport async function createFromPackage(\n context: Client,\n body: Uint8Array,\n options: CreateFromPackageOptionalParams = { requestOptions: {} },\n): Promise<SkillObject> {\n const result = await _createFromPackageSend(context, body, options);\n return _createFromPackageDeserialize(result);\n}\n\nexport function _createSend(\n context: Client,\n name: string,\n options: BetaSkillsCreateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const foundryFeatures = \"Skills=V1Preview\";\n const path = expandUrlTemplate(\n \"/skills{?api-version}\",\n {\n \"api-version\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n \"foundry-features\": foundryFeatures,\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: {\n name: name,\n description: options?.description,\n instructions: options?.instructions,\n metadata: options?.metadata,\n },\n });\n}\n\nexport async function _createDeserialize(result: PathUncheckedResponse): Promise<SkillObject> {\n const expectedStatuses = [\"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = apiErrorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return skillObjectDeserializer(result.body);\n}\n\n/** Creates a skill. */\nexport async function create(\n context: Client,\n name: string,\n options: BetaSkillsCreateOptionalParams = { requestOptions: {} },\n): Promise<SkillObject> {\n const result = await _createSend(context, name, options);\n return _createDeserialize(result);\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA,oBAKO;AAEP,2BAAwC;AACxC,wCAAwC;AACxC,yBAAkC;AAWlC,yBAAqE;AAE9D,SAAS,aACd,SACA,WACA,UAA0C,EAAE,gBAAgB,CAAC,EAAE,GAC7C;AAClB,QAAM,kBAAkB;AACxB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,YAAY;AAAA,MACZ,eAAe,QAAQ;AAAA,IACzB;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,OAAO;AAAA,IAC/B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,SAAS;AAAA,MACP,oBAAoB;AAAA,MACpB,QAAQ;AAAA,MACR,GAAG,QAAQ,gBAAgB;AAAA,IAC7B;AAAA,EACF,CAAC;AACH;AAEA,eAAsB,oBACpB,QAC8B;AAC9B,QAAM,mBAAmB,CAAC,KAAK;AAC/B,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,UAAM,cAAU,4CAA6B,OAAO,IAAI;AAExD,UAAM;AAAA,EACR;AAEA,aAAO,+CAAgC,OAAO,IAAI;AACpD;AAGA,eAAsB,QACpB,SACA,WACA,UAA0C,EAAE,gBAAgB,CAAC,EAAE,GACjC;AAC9B,QAAM,S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