@azure/ai-projects 2.5.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -2
- package/dist/browser/api/agents/index.d.ts +2 -2
- package/dist/browser/api/agents/index.d.ts.map +1 -1
- package/dist/browser/api/agents/index.js +1 -1
- package/dist/browser/api/agents/index.js.map +1 -1
- package/dist/browser/api/agents/operations.d.ts +23 -2
- package/dist/browser/api/agents/operations.d.ts.map +1 -1
- package/dist/browser/api/agents/operations.js +169 -3
- package/dist/browser/api/agents/operations.js.map +1 -1
- package/dist/browser/api/agents/options.d.ts +153 -2
- 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/agentInsightMonitors/index.d.ts +3 -0
- package/dist/browser/api/beta/agentInsightMonitors/index.d.ts.map +1 -0
- package/dist/browser/api/beta/agentInsightMonitors/index.js +4 -0
- package/dist/browser/api/beta/agentInsightMonitors/index.js.map +1 -0
- package/dist/browser/api/beta/agentInsightMonitors/operations.d.ts +59 -0
- package/dist/browser/api/beta/agentInsightMonitors/operations.d.ts.map +1 -0
- package/dist/browser/api/beta/agentInsightMonitors/operations.js +519 -0
- package/dist/browser/api/beta/agentInsightMonitors/operations.js.map +1 -0
- package/dist/browser/api/beta/agentInsightMonitors/options.d.ts +86 -0
- package/dist/browser/api/beta/agentInsightMonitors/options.d.ts.map +1 -0
- package/dist/browser/api/beta/agentInsightMonitors/options.js +4 -0
- package/dist/browser/api/beta/agentInsightMonitors/options.js.map +1 -0
- package/dist/browser/api/beta/datasets/operations.d.ts +1 -1
- package/dist/browser/api/beta/datasets/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/datasets/operations.js.map +1 -1
- package/dist/browser/api/beta/models/options.d.ts +1 -1
- package/dist/browser/api/beta/models/options.d.ts.map +1 -1
- package/dist/browser/api/beta/models/options.js.map +1 -1
- package/dist/browser/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/routines/operations.js +4 -1
- package/dist/browser/api/beta/routines/operations.js.map +1 -1
- package/dist/browser/api/beta/routines/options.d.ts +3 -1
- package/dist/browser/api/beta/routines/options.d.ts.map +1 -1
- package/dist/browser/api/beta/routines/options.js.map +1 -1
- package/dist/browser/classic/agents/index.d.ts +17 -2
- package/dist/browser/classic/agents/index.d.ts.map +1 -1
- package/dist/browser/classic/agents/index.js +4 -1
- package/dist/browser/classic/agents/index.js.map +1 -1
- package/dist/browser/classic/beta/agentInsightMonitors/index.d.ts +36 -0
- package/dist/browser/classic/beta/agentInsightMonitors/index.d.ts.map +1 -0
- package/dist/browser/classic/beta/agentInsightMonitors/index.js +26 -0
- package/dist/browser/classic/beta/agentInsightMonitors/index.js.map +1 -0
- package/dist/browser/classic/beta/index.d.ts +3 -0
- package/dist/browser/classic/beta/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/index.js +3 -0
- package/dist/browser/classic/beta/index.js.map +1 -1
- package/dist/browser/classic/beta/routines/index.d.ts +1 -1
- package/dist/browser/classic/beta/routines/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/routines/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/index.d.ts +7 -4
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +2 -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 +645 -8
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +640 -1
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/package.json +6 -1
- package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js +3 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts +20 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js +26 -12
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -1
- package/dist/browser/static-helpers/serialization/get-binary-stream-response.js +12 -0
- package/dist/browser/static-helpers/serialization/get-binary-stream-response.js.map +1 -1
- package/dist/browser/static-helpers/serialization/parse-json-object.d.ts +2 -0
- package/dist/browser/static-helpers/serialization/parse-json-object.d.ts.map +1 -0
- package/dist/browser/static-helpers/serialization/parse-json-object.js +14 -0
- package/dist/browser/static-helpers/serialization/parse-json-object.js.map +1 -0
- package/dist/browser/tracing/configuration.js +1 -1
- package/dist/browser/tracing/configuration.js.map +1 -1
- package/dist/commonjs/api/agents/index.d.ts +2 -2
- package/dist/commonjs/api/agents/index.d.ts.map +1 -1
- package/dist/commonjs/api/agents/index.js +6 -0
- package/dist/commonjs/api/agents/index.js.map +2 -2
- package/dist/commonjs/api/agents/operations.d.ts +23 -2
- package/dist/commonjs/api/agents/operations.d.ts.map +1 -1
- package/dist/commonjs/api/agents/operations.js +176 -4
- package/dist/commonjs/api/agents/operations.js.map +2 -2
- package/dist/commonjs/api/agents/options.d.ts +153 -2
- 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/agentInsightMonitors/index.d.ts +3 -0
- package/dist/commonjs/api/beta/agentInsightMonitors/index.d.ts.map +1 -0
- package/dist/commonjs/api/beta/agentInsightMonitors/index.js +52 -0
- package/dist/commonjs/api/beta/agentInsightMonitors/index.js.map +7 -0
- package/dist/commonjs/api/beta/agentInsightMonitors/operations.d.ts +59 -0
- package/dist/commonjs/api/beta/agentInsightMonitors/operations.d.ts.map +1 -0
- package/dist/commonjs/api/beta/agentInsightMonitors/operations.js +678 -0
- package/dist/commonjs/api/beta/agentInsightMonitors/operations.js.map +7 -0
- package/dist/commonjs/api/beta/agentInsightMonitors/options.d.ts +86 -0
- package/dist/commonjs/api/beta/agentInsightMonitors/options.d.ts.map +1 -0
- package/dist/commonjs/api/beta/agentInsightMonitors/options.js +16 -0
- package/dist/commonjs/api/beta/agentInsightMonitors/options.js.map +7 -0
- package/dist/commonjs/api/beta/datasets/operations.d.ts +1 -1
- package/dist/commonjs/api/beta/datasets/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/datasets/operations.js.map +1 -1
- package/dist/commonjs/api/beta/models/options.d.ts +1 -1
- package/dist/commonjs/api/beta/models/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/models/options.js.map +1 -1
- package/dist/commonjs/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/routines/operations.js +2 -1
- package/dist/commonjs/api/beta/routines/operations.js.map +2 -2
- package/dist/commonjs/api/beta/routines/options.d.ts +3 -1
- package/dist/commonjs/api/beta/routines/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/routines/options.js.map +1 -1
- package/dist/commonjs/classic/agents/index.d.ts +17 -2
- package/dist/commonjs/classic/agents/index.d.ts.map +1 -1
- package/dist/commonjs/classic/agents/index.js +3 -0
- package/dist/commonjs/classic/agents/index.js.map +2 -2
- package/dist/commonjs/classic/beta/agentInsightMonitors/index.d.ts +36 -0
- package/dist/commonjs/classic/beta/agentInsightMonitors/index.d.ts.map +1 -0
- package/dist/commonjs/classic/beta/agentInsightMonitors/index.js +50 -0
- package/dist/commonjs/classic/beta/agentInsightMonitors/index.js.map +7 -0
- package/dist/commonjs/classic/beta/index.d.ts +3 -0
- package/dist/commonjs/classic/beta/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/index.js +4 -1
- package/dist/commonjs/classic/beta/index.js.map +2 -2
- package/dist/commonjs/classic/beta/routines/index.d.ts +1 -1
- package/dist/commonjs/classic/beta/routines/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/routines/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/index.d.ts +7 -4
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js.map +2 -2
- package/dist/commonjs/models/index.d.ts +2 -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 +645 -8
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +717 -6
- package/dist/commonjs/models/models.js.map +2 -2
- package/dist/commonjs/package.json +6 -1
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js +3 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +2 -2
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +20 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js +29 -8
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +2 -2
- package/dist/commonjs/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -1
- package/dist/commonjs/static-helpers/serialization/get-binary-stream-response.js +15 -0
- package/dist/commonjs/static-helpers/serialization/get-binary-stream-response.js.map +2 -2
- package/dist/commonjs/static-helpers/serialization/parse-json-object.d.ts +2 -0
- package/dist/commonjs/static-helpers/serialization/parse-json-object.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/serialization/parse-json-object.js +35 -0
- package/dist/commonjs/static-helpers/serialization/parse-json-object.js.map +7 -0
- package/dist/commonjs/tracing/configuration.js +1 -1
- package/dist/commonjs/tracing/configuration.js.map +2 -2
- package/dist/esm/api/agents/index.d.ts +2 -2
- package/dist/esm/api/agents/index.d.ts.map +1 -1
- package/dist/esm/api/agents/index.js +1 -1
- package/dist/esm/api/agents/index.js.map +1 -1
- package/dist/esm/api/agents/operations.d.ts +23 -2
- package/dist/esm/api/agents/operations.d.ts.map +1 -1
- package/dist/esm/api/agents/operations.js +169 -3
- package/dist/esm/api/agents/operations.js.map +1 -1
- package/dist/esm/api/agents/options.d.ts +153 -2
- 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/agentInsightMonitors/index.d.ts +3 -0
- package/dist/esm/api/beta/agentInsightMonitors/index.d.ts.map +1 -0
- package/dist/esm/api/beta/agentInsightMonitors/index.js +4 -0
- package/dist/esm/api/beta/agentInsightMonitors/index.js.map +1 -0
- package/dist/esm/api/beta/agentInsightMonitors/operations.d.ts +59 -0
- package/dist/esm/api/beta/agentInsightMonitors/operations.d.ts.map +1 -0
- package/dist/esm/api/beta/agentInsightMonitors/operations.js +519 -0
- package/dist/esm/api/beta/agentInsightMonitors/operations.js.map +1 -0
- package/dist/esm/api/beta/agentInsightMonitors/options.d.ts +86 -0
- package/dist/esm/api/beta/agentInsightMonitors/options.d.ts.map +1 -0
- package/dist/esm/api/beta/agentInsightMonitors/options.js +4 -0
- package/dist/esm/api/beta/agentInsightMonitors/options.js.map +1 -0
- package/dist/esm/api/beta/datasets/operations.d.ts +1 -1
- package/dist/esm/api/beta/datasets/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/datasets/operations.js.map +1 -1
- package/dist/esm/api/beta/models/options.d.ts +1 -1
- package/dist/esm/api/beta/models/options.d.ts.map +1 -1
- package/dist/esm/api/beta/models/options.js.map +1 -1
- package/dist/esm/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/routines/operations.js +4 -1
- package/dist/esm/api/beta/routines/operations.js.map +1 -1
- package/dist/esm/api/beta/routines/options.d.ts +3 -1
- package/dist/esm/api/beta/routines/options.d.ts.map +1 -1
- package/dist/esm/api/beta/routines/options.js.map +1 -1
- package/dist/esm/classic/agents/index.d.ts +17 -2
- package/dist/esm/classic/agents/index.d.ts.map +1 -1
- package/dist/esm/classic/agents/index.js +4 -1
- package/dist/esm/classic/agents/index.js.map +1 -1
- package/dist/esm/classic/beta/agentInsightMonitors/index.d.ts +36 -0
- package/dist/esm/classic/beta/agentInsightMonitors/index.d.ts.map +1 -0
- package/dist/esm/classic/beta/agentInsightMonitors/index.js +26 -0
- package/dist/esm/classic/beta/agentInsightMonitors/index.js.map +1 -0
- package/dist/esm/classic/beta/index.d.ts +3 -0
- package/dist/esm/classic/beta/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/index.js +3 -0
- package/dist/esm/classic/beta/index.js.map +1 -1
- package/dist/esm/classic/beta/routines/index.d.ts +1 -1
- package/dist/esm/classic/beta/routines/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/routines/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/index.d.ts +7 -4
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +2 -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 +645 -8
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +640 -1
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/package.json +6 -1
- package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/esm/static-helpers/pagingHelpers.js +3 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts +20 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.js +26 -12
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -1
- package/dist/esm/static-helpers/serialization/get-binary-stream-response.js +15 -0
- package/dist/esm/static-helpers/serialization/get-binary-stream-response.js.map +1 -1
- package/dist/esm/static-helpers/serialization/parse-json-object.d.ts +2 -0
- package/dist/esm/static-helpers/serialization/parse-json-object.d.ts.map +1 -0
- package/dist/esm/static-helpers/serialization/parse-json-object.js +14 -0
- package/dist/esm/static-helpers/serialization/parse-json-object.js.map +1 -0
- package/dist/esm/tracing/configuration.js +1 -1
- package/dist/esm/tracing/configuration.js.map +1 -1
- package/dist/react-native/api/agents/index.d.ts +2 -2
- package/dist/react-native/api/agents/index.d.ts.map +1 -1
- package/dist/react-native/api/agents/index.js +1 -1
- package/dist/react-native/api/agents/index.js.map +1 -1
- package/dist/react-native/api/agents/operations.d.ts +23 -2
- package/dist/react-native/api/agents/operations.d.ts.map +1 -1
- package/dist/react-native/api/agents/operations.js +169 -3
- package/dist/react-native/api/agents/operations.js.map +1 -1
- package/dist/react-native/api/agents/options.d.ts +153 -2
- 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/agentInsightMonitors/index.d.ts +3 -0
- package/dist/react-native/api/beta/agentInsightMonitors/index.d.ts.map +1 -0
- package/dist/react-native/api/beta/agentInsightMonitors/index.js +4 -0
- package/dist/react-native/api/beta/agentInsightMonitors/index.js.map +1 -0
- package/dist/react-native/api/beta/agentInsightMonitors/operations.d.ts +59 -0
- package/dist/react-native/api/beta/agentInsightMonitors/operations.d.ts.map +1 -0
- package/dist/react-native/api/beta/agentInsightMonitors/operations.js +519 -0
- package/dist/react-native/api/beta/agentInsightMonitors/operations.js.map +1 -0
- package/dist/react-native/api/beta/agentInsightMonitors/options.d.ts +86 -0
- package/dist/react-native/api/beta/agentInsightMonitors/options.d.ts.map +1 -0
- package/dist/react-native/api/beta/agentInsightMonitors/options.js +4 -0
- package/dist/react-native/api/beta/agentInsightMonitors/options.js.map +1 -0
- package/dist/react-native/api/beta/datasets/operations.d.ts +1 -1
- package/dist/react-native/api/beta/datasets/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/datasets/operations.js.map +1 -1
- package/dist/react-native/api/beta/models/options.d.ts +1 -1
- package/dist/react-native/api/beta/models/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/models/options.js.map +1 -1
- package/dist/react-native/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/routines/operations.js +4 -1
- package/dist/react-native/api/beta/routines/operations.js.map +1 -1
- package/dist/react-native/api/beta/routines/options.d.ts +3 -1
- package/dist/react-native/api/beta/routines/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/routines/options.js.map +1 -1
- package/dist/react-native/classic/agents/index.d.ts +17 -2
- package/dist/react-native/classic/agents/index.d.ts.map +1 -1
- package/dist/react-native/classic/agents/index.js +4 -1
- package/dist/react-native/classic/agents/index.js.map +1 -1
- package/dist/react-native/classic/beta/agentInsightMonitors/index.d.ts +36 -0
- package/dist/react-native/classic/beta/agentInsightMonitors/index.d.ts.map +1 -0
- package/dist/react-native/classic/beta/agentInsightMonitors/index.js +26 -0
- package/dist/react-native/classic/beta/agentInsightMonitors/index.js.map +1 -0
- package/dist/react-native/classic/beta/index.d.ts +3 -0
- package/dist/react-native/classic/beta/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/index.js +3 -0
- package/dist/react-native/classic/beta/index.js.map +1 -1
- package/dist/react-native/classic/beta/routines/index.d.ts +1 -1
- package/dist/react-native/classic/beta/routines/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/routines/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/index.d.ts +7 -4
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +2 -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 +645 -8
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +640 -1
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/package.json +6 -1
- package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -1
- package/dist/react-native/static-helpers/pagingHelpers.js +3 -0
- package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.d.ts +20 -0
- package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -1
- package/dist/react-native/static-helpers/pollingHelpers.js +26 -12
- package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response-browser.d.mts.map +1 -1
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response-browser.mjs +12 -0
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response-browser.mjs.map +1 -1
- package/dist/react-native/static-helpers/serialization/parse-json-object.d.ts +2 -0
- package/dist/react-native/static-helpers/serialization/parse-json-object.d.ts.map +1 -0
- package/dist/react-native/static-helpers/serialization/parse-json-object.js +14 -0
- package/dist/react-native/static-helpers/serialization/parse-json-object.js.map +1 -0
- package/dist/react-native/tracing/configuration.js +1 -1
- package/dist/react-native/tracing/configuration.js.map +1 -1
- package/package.json +10 -9
|
@@ -13,6 +13,7 @@ export function agentDeserializer(item) {
|
|
|
13
13
|
agent_endpoint: !item["agent_endpoint"]
|
|
14
14
|
? item["agent_endpoint"]
|
|
15
15
|
: agentEndpointConfigDeserializer(item["agent_endpoint"]),
|
|
16
|
+
digital_worker_type: item["digital_worker_type"],
|
|
16
17
|
instance_identity: !item["instance_identity"]
|
|
17
18
|
? item["instance_identity"]
|
|
18
19
|
: agentIdentityDeserializer(item["instance_identity"]),
|
|
@@ -99,11 +100,78 @@ export function agentDefinitionUnionDeserializer(item) {
|
|
|
99
100
|
}
|
|
100
101
|
}
|
|
101
102
|
export function raiConfigSerializer(item) {
|
|
102
|
-
return {
|
|
103
|
+
return {
|
|
104
|
+
rai_policy_name: item["rai_policy_name"],
|
|
105
|
+
invocations_moderation: !item["invocations_moderation"]
|
|
106
|
+
? item["invocations_moderation"]
|
|
107
|
+
: raiInvocationModerationSerializer(item["invocations_moderation"]),
|
|
108
|
+
};
|
|
103
109
|
}
|
|
104
110
|
export function raiConfigDeserializer(item) {
|
|
105
111
|
return {
|
|
106
112
|
rai_policy_name: item["rai_policy_name"],
|
|
113
|
+
invocations_moderation: !item["invocations_moderation"]
|
|
114
|
+
? item["invocations_moderation"]
|
|
115
|
+
: raiInvocationModerationDeserializer(item["invocations_moderation"]),
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
export function raiInvocationModerationSerializer(item) {
|
|
119
|
+
return {
|
|
120
|
+
input_content_type: item["input_content_type"],
|
|
121
|
+
output_content_type: item["output_content_type"],
|
|
122
|
+
response_mode: item["response_mode"],
|
|
123
|
+
input_paths: !item["input_paths"]
|
|
124
|
+
? item["input_paths"]
|
|
125
|
+
: item["input_paths"].map((p) => {
|
|
126
|
+
return p;
|
|
127
|
+
}),
|
|
128
|
+
output_paths: !item["output_paths"]
|
|
129
|
+
? item["output_paths"]
|
|
130
|
+
: item["output_paths"].map((p) => {
|
|
131
|
+
return p;
|
|
132
|
+
}),
|
|
133
|
+
stream_selectors: !item["stream_selectors"]
|
|
134
|
+
? item["stream_selectors"]
|
|
135
|
+
: raiSseTextSelectorArraySerializer(item["stream_selectors"]),
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
export function raiInvocationModerationDeserializer(item) {
|
|
139
|
+
return {
|
|
140
|
+
input_content_type: item["input_content_type"],
|
|
141
|
+
output_content_type: item["output_content_type"],
|
|
142
|
+
response_mode: item["response_mode"],
|
|
143
|
+
input_paths: !item["input_paths"]
|
|
144
|
+
? item["input_paths"]
|
|
145
|
+
: item["input_paths"].map((p) => {
|
|
146
|
+
return p;
|
|
147
|
+
}),
|
|
148
|
+
output_paths: !item["output_paths"]
|
|
149
|
+
? item["output_paths"]
|
|
150
|
+
: item["output_paths"].map((p) => {
|
|
151
|
+
return p;
|
|
152
|
+
}),
|
|
153
|
+
stream_selectors: !item["stream_selectors"]
|
|
154
|
+
? item["stream_selectors"]
|
|
155
|
+
: raiSseTextSelectorArrayDeserializer(item["stream_selectors"]),
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
export function raiSseTextSelectorArraySerializer(result) {
|
|
159
|
+
return result.map((item) => {
|
|
160
|
+
return raiSseTextSelectorSerializer(item);
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
export function raiSseTextSelectorArrayDeserializer(result) {
|
|
164
|
+
return result.map((item) => {
|
|
165
|
+
return raiSseTextSelectorDeserializer(item);
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
export function raiSseTextSelectorSerializer(item) {
|
|
169
|
+
return { event_type: item["event_type"], text_field: item["text_field"] };
|
|
170
|
+
}
|
|
171
|
+
export function raiSseTextSelectorDeserializer(item) {
|
|
172
|
+
return {
|
|
173
|
+
event_type: item["event_type"],
|
|
174
|
+
text_field: item["text_field"],
|
|
107
175
|
};
|
|
108
176
|
}
|
|
109
177
|
export function hostedAgentDefinitionSerializer(item) {
|
|
@@ -125,6 +193,9 @@ export function hostedAgentDefinitionSerializer(item) {
|
|
|
125
193
|
telemetry_config: !item["telemetry_config"]
|
|
126
194
|
? item["telemetry_config"]
|
|
127
195
|
: telemetryConfigSerializer(item["telemetry_config"]),
|
|
196
|
+
session_configuration: !item["session_configuration"]
|
|
197
|
+
? item["session_configuration"]
|
|
198
|
+
: sessionConfigurationSerializer(item["session_configuration"]),
|
|
128
199
|
};
|
|
129
200
|
}
|
|
130
201
|
export function hostedAgentDefinitionDeserializer(item) {
|
|
@@ -148,6 +219,9 @@ export function hostedAgentDefinitionDeserializer(item) {
|
|
|
148
219
|
telemetry_config: !item["telemetry_config"]
|
|
149
220
|
? item["telemetry_config"]
|
|
150
221
|
: telemetryConfigDeserializer(item["telemetry_config"]),
|
|
222
|
+
session_configuration: !item["session_configuration"]
|
|
223
|
+
? item["session_configuration"]
|
|
224
|
+
: sessionConfigurationDeserializer(item["session_configuration"]),
|
|
151
225
|
};
|
|
152
226
|
}
|
|
153
227
|
export function toolUnionArraySerializer(result) {
|
|
@@ -190,10 +264,14 @@ export function toolUnionSerializer(item) {
|
|
|
190
264
|
return captureStructuredOutputsToolSerializer(item);
|
|
191
265
|
case "a2a_preview":
|
|
192
266
|
return a2APreviewToolSerializer(item);
|
|
267
|
+
case "a2a":
|
|
268
|
+
return a2AToolSerializer(item);
|
|
193
269
|
case "work_iq_preview":
|
|
194
270
|
return workIQPreviewToolSerializer(item);
|
|
195
271
|
case "fabric_iq_preview":
|
|
196
272
|
return fabricIQPreviewToolSerializer(item);
|
|
273
|
+
case "web_iq_preview":
|
|
274
|
+
return webIQPreviewToolSerializer(item);
|
|
197
275
|
case "memory_search_preview":
|
|
198
276
|
return memorySearchPreviewToolSerializer(item);
|
|
199
277
|
case "code_interpreter":
|
|
@@ -254,10 +332,14 @@ export function toolUnionDeserializer(item) {
|
|
|
254
332
|
return captureStructuredOutputsToolDeserializer(item);
|
|
255
333
|
case "a2a_preview":
|
|
256
334
|
return a2APreviewToolDeserializer(item);
|
|
335
|
+
case "a2a":
|
|
336
|
+
return a2AToolDeserializer(item);
|
|
257
337
|
case "work_iq_preview":
|
|
258
338
|
return workIQPreviewToolDeserializer(item);
|
|
259
339
|
case "fabric_iq_preview":
|
|
260
340
|
return fabricIQPreviewToolDeserializer(item);
|
|
341
|
+
case "web_iq_preview":
|
|
342
|
+
return webIQPreviewToolDeserializer(item);
|
|
261
343
|
case "memory_search_preview":
|
|
262
344
|
return memorySearchPreviewToolDeserializer(item);
|
|
263
345
|
case "code_interpreter":
|
|
@@ -2569,6 +2651,7 @@ export function agentEndpointConfigDeserializer(item) {
|
|
|
2569
2651
|
authorization_schemes: !item["authorization_schemes"]
|
|
2570
2652
|
? item["authorization_schemes"]
|
|
2571
2653
|
: agentEndpointAuthorizationSchemeUnionArrayDeserializer(item["authorization_schemes"]),
|
|
2654
|
+
publish_approval_status: item["publish_approval_status"],
|
|
2572
2655
|
};
|
|
2573
2656
|
}
|
|
2574
2657
|
export function versionSelectorSerializer(item) {
|
|
@@ -2672,6 +2755,11 @@ export function activityProtocolConfigurationSerializer(item) {
|
|
|
2672
2755
|
export function activityProtocolConfigurationDeserializer(item) {
|
|
2673
2756
|
return {
|
|
2674
2757
|
enable_m365_public_endpoint: item["enable_m365_public_endpoint"],
|
|
2758
|
+
access_boundaries: !item["access_boundaries"]
|
|
2759
|
+
? item["access_boundaries"]
|
|
2760
|
+
: item["access_boundaries"].map((p) => {
|
|
2761
|
+
return p;
|
|
2762
|
+
}),
|
|
2675
2763
|
};
|
|
2676
2764
|
}
|
|
2677
2765
|
export function responsesProtocolConfigurationSerializer(_item) {
|
|
@@ -3495,6 +3583,44 @@ export function sessionLogEventDeserializer(item) {
|
|
|
3495
3583
|
data: item["data"],
|
|
3496
3584
|
};
|
|
3497
3585
|
}
|
|
3586
|
+
export function microsoft365PermissionScopesArraySerializer(result) {
|
|
3587
|
+
return result.map((item) => {
|
|
3588
|
+
return microsoft365PermissionScopesSerializer(item);
|
|
3589
|
+
});
|
|
3590
|
+
}
|
|
3591
|
+
export function microsoft365PermissionScopesSerializer(item) {
|
|
3592
|
+
return {
|
|
3593
|
+
resourceAppId: item["resourceAppId"],
|
|
3594
|
+
scopes: item["scopes"].map((p) => {
|
|
3595
|
+
return p;
|
|
3596
|
+
}),
|
|
3597
|
+
};
|
|
3598
|
+
}
|
|
3599
|
+
export function microsoft365PublishResponseDeserializer(item) {
|
|
3600
|
+
return {
|
|
3601
|
+
titleId: item["titleId"],
|
|
3602
|
+
teamsAppId: item["teamsAppId"],
|
|
3603
|
+
};
|
|
3604
|
+
}
|
|
3605
|
+
export function microsoft365PublishDefaultsDeserializer(item) {
|
|
3606
|
+
return {
|
|
3607
|
+
appPublishScope: item["appPublishScope"],
|
|
3608
|
+
agentName: item["agentName"],
|
|
3609
|
+
agentDisplayName: item["agentDisplayName"],
|
|
3610
|
+
appRegistrationClientId: item["appRegistrationClientId"],
|
|
3611
|
+
botServiceArmId: item["botServiceArmId"],
|
|
3612
|
+
appVersion: item["appVersion"],
|
|
3613
|
+
recommendedNextAppVersion: item["recommendedNextAppVersion"],
|
|
3614
|
+
titleId: item["titleId"],
|
|
3615
|
+
teamsAppId: item["teamsAppId"],
|
|
3616
|
+
shortDescription: item["shortDescription"],
|
|
3617
|
+
fullDescription: item["fullDescription"],
|
|
3618
|
+
developerName: item["developerName"],
|
|
3619
|
+
developerWebsiteUrl: item["developerWebsiteUrl"],
|
|
3620
|
+
privacyUrl: item["privacyUrl"],
|
|
3621
|
+
termsOfUseUrl: item["termsOfUseUrl"],
|
|
3622
|
+
};
|
|
3623
|
+
}
|
|
3498
3624
|
export function sessionFileWriteResponseDeserializer(item) {
|
|
3499
3625
|
return {
|
|
3500
3626
|
path: item["path"],
|
|
@@ -3561,12 +3687,16 @@ export function toolboxToolUnionSerializer(item) {
|
|
|
3561
3687
|
return fileSearchToolboxToolSerializer(item);
|
|
3562
3688
|
case "web_search":
|
|
3563
3689
|
return webSearchToolboxToolSerializer(item);
|
|
3690
|
+
case "shell":
|
|
3691
|
+
return shellToolboxToolSerializer(item);
|
|
3564
3692
|
case "mcp":
|
|
3565
3693
|
return mcpToolboxToolSerializer(item);
|
|
3566
3694
|
case "azure_ai_search":
|
|
3567
3695
|
return azureAISearchToolboxToolSerializer(item);
|
|
3568
3696
|
case "openapi":
|
|
3569
3697
|
return openApiToolboxToolSerializer(item);
|
|
3698
|
+
case "a2a":
|
|
3699
|
+
return a2AToolboxToolSerializer(item);
|
|
3570
3700
|
case "a2a_preview":
|
|
3571
3701
|
return a2APreviewToolboxToolSerializer(item);
|
|
3572
3702
|
case "browser_automation_preview":
|
|
@@ -3577,6 +3707,8 @@ export function toolboxToolUnionSerializer(item) {
|
|
|
3577
3707
|
return workIQPreviewToolboxToolSerializer(item);
|
|
3578
3708
|
case "fabric_iq_preview":
|
|
3579
3709
|
return fabricIQPreviewToolboxToolSerializer(item);
|
|
3710
|
+
case "web_iq_preview":
|
|
3711
|
+
return webIQPreviewToolboxToolSerializer(item);
|
|
3580
3712
|
case "toolbox_search_preview":
|
|
3581
3713
|
return toolboxSearchPreviewToolboxToolSerializer(item);
|
|
3582
3714
|
case "toolbox_search":
|
|
@@ -3593,12 +3725,16 @@ export function toolboxToolUnionDeserializer(item) {
|
|
|
3593
3725
|
return fileSearchToolboxToolDeserializer(item);
|
|
3594
3726
|
case "web_search":
|
|
3595
3727
|
return webSearchToolboxToolDeserializer(item);
|
|
3728
|
+
case "shell":
|
|
3729
|
+
return shellToolboxToolDeserializer(item);
|
|
3596
3730
|
case "mcp":
|
|
3597
3731
|
return mcpToolboxToolDeserializer(item);
|
|
3598
3732
|
case "azure_ai_search":
|
|
3599
3733
|
return azureAISearchToolboxToolDeserializer(item);
|
|
3600
3734
|
case "openapi":
|
|
3601
3735
|
return openApiToolboxToolDeserializer(item);
|
|
3736
|
+
case "a2a":
|
|
3737
|
+
return a2AToolboxToolDeserializer(item);
|
|
3602
3738
|
case "a2a_preview":
|
|
3603
3739
|
return a2APreviewToolboxToolDeserializer(item);
|
|
3604
3740
|
case "browser_automation_preview":
|
|
@@ -3609,6 +3745,8 @@ export function toolboxToolUnionDeserializer(item) {
|
|
|
3609
3745
|
return workIQPreviewToolboxToolDeserializer(item);
|
|
3610
3746
|
case "fabric_iq_preview":
|
|
3611
3747
|
return fabricIQPreviewToolboxToolDeserializer(item);
|
|
3748
|
+
case "web_iq_preview":
|
|
3749
|
+
return webIQPreviewToolboxToolDeserializer(item);
|
|
3612
3750
|
case "toolbox_search_preview":
|
|
3613
3751
|
return toolboxSearchPreviewToolboxToolDeserializer(item);
|
|
3614
3752
|
case "toolbox_search":
|
|
@@ -4103,6 +4241,114 @@ export function toolboxVersionObjectArrayDeserializer(result) {
|
|
|
4103
4241
|
return toolboxVersionObjectDeserializer(item);
|
|
4104
4242
|
});
|
|
4105
4243
|
}
|
|
4244
|
+
export function _agentsPagedResultAgentInsightRunDeserializer(item) {
|
|
4245
|
+
return {
|
|
4246
|
+
data: agentInsightRunArrayDeserializer(item["data"]),
|
|
4247
|
+
first_id: item["first_id"],
|
|
4248
|
+
last_id: item["last_id"],
|
|
4249
|
+
has_more: item["has_more"],
|
|
4250
|
+
};
|
|
4251
|
+
}
|
|
4252
|
+
export function agentInsightRunArrayDeserializer(result) {
|
|
4253
|
+
return result.map((item) => {
|
|
4254
|
+
return agentInsightRunDeserializer(item);
|
|
4255
|
+
});
|
|
4256
|
+
}
|
|
4257
|
+
export function _agentsPagedResultAgentInsightDeserializer(item) {
|
|
4258
|
+
return {
|
|
4259
|
+
data: agentInsightArrayDeserializer(item["data"]),
|
|
4260
|
+
first_id: item["first_id"],
|
|
4261
|
+
last_id: item["last_id"],
|
|
4262
|
+
has_more: item["has_more"],
|
|
4263
|
+
};
|
|
4264
|
+
}
|
|
4265
|
+
export function agentInsightArrayDeserializer(result) {
|
|
4266
|
+
return result.map((item) => {
|
|
4267
|
+
return agentInsightDeserializer(item);
|
|
4268
|
+
});
|
|
4269
|
+
}
|
|
4270
|
+
export function agentInsightDeserializer(item) {
|
|
4271
|
+
return {
|
|
4272
|
+
id: item["id"],
|
|
4273
|
+
monitor_id: item["monitor_id"],
|
|
4274
|
+
agent_name: item["agent_name"],
|
|
4275
|
+
agent_version: item["agent_version"],
|
|
4276
|
+
title: item["title"],
|
|
4277
|
+
severity: item["severity"],
|
|
4278
|
+
category: item["category"],
|
|
4279
|
+
status: item["status"],
|
|
4280
|
+
trace_count: item["trace_count"],
|
|
4281
|
+
created_at: new Date(item["created_at"] * 1000),
|
|
4282
|
+
updated_at: new Date(item["updated_at"] * 1000),
|
|
4283
|
+
description: item["description"],
|
|
4284
|
+
details: !item["details"] ? item["details"] : agentInsightDetailsDeserializer(item["details"]),
|
|
4285
|
+
};
|
|
4286
|
+
}
|
|
4287
|
+
export function agentInsightDetailsDeserializer(item) {
|
|
4288
|
+
return {
|
|
4289
|
+
highlighted_traces: agentInsightHighlightedTraceArrayDeserializer(item["highlighted_traces"]),
|
|
4290
|
+
linked_traces: agentInsightLinkedTraceArrayDeserializer(item["linked_traces"]),
|
|
4291
|
+
recommended_actions: agentInsightRecommendedActionDeserializer(item["recommended_actions"]),
|
|
4292
|
+
};
|
|
4293
|
+
}
|
|
4294
|
+
export function agentInsightHighlightedTraceArrayDeserializer(result) {
|
|
4295
|
+
return result.map((item) => {
|
|
4296
|
+
return agentInsightHighlightedTraceDeserializer(item);
|
|
4297
|
+
});
|
|
4298
|
+
}
|
|
4299
|
+
export function agentInsightHighlightedTraceDeserializer(item) {
|
|
4300
|
+
return {
|
|
4301
|
+
trace_id: item["trace_id"],
|
|
4302
|
+
summary: item["summary"],
|
|
4303
|
+
duration_ms: item["duration_ms"],
|
|
4304
|
+
total_tokens: item["total_tokens"],
|
|
4305
|
+
timestamp: new Date(item["timestamp"] * 1000),
|
|
4306
|
+
};
|
|
4307
|
+
}
|
|
4308
|
+
export function agentInsightLinkedTraceArrayDeserializer(result) {
|
|
4309
|
+
return result.map((item) => {
|
|
4310
|
+
return agentInsightLinkedTraceDeserializer(item);
|
|
4311
|
+
});
|
|
4312
|
+
}
|
|
4313
|
+
export function agentInsightLinkedTraceDeserializer(item) {
|
|
4314
|
+
return {
|
|
4315
|
+
trace_id: item["trace_id"],
|
|
4316
|
+
timestamp: new Date(item["timestamp"] * 1000),
|
|
4317
|
+
};
|
|
4318
|
+
}
|
|
4319
|
+
export function agentInsightRecommendedActionDeserializer(item) {
|
|
4320
|
+
return {
|
|
4321
|
+
proposed_fix: agentInsightProposedFixDeserializer(item["proposed_fix"]),
|
|
4322
|
+
};
|
|
4323
|
+
}
|
|
4324
|
+
export function agentInsightProposedFixDeserializer(item) {
|
|
4325
|
+
return {
|
|
4326
|
+
kind: item["kind"],
|
|
4327
|
+
text: item["text"],
|
|
4328
|
+
changes: !item["changes"]
|
|
4329
|
+
? item["changes"]
|
|
4330
|
+
: agentInsightProposedFixChangeArrayDeserializer(item["changes"]),
|
|
4331
|
+
};
|
|
4332
|
+
}
|
|
4333
|
+
export function agentInsightProposedFixChangeArrayDeserializer(result) {
|
|
4334
|
+
return result.map((item) => {
|
|
4335
|
+
return agentInsightProposedFixChangeDeserializer(item);
|
|
4336
|
+
});
|
|
4337
|
+
}
|
|
4338
|
+
export function agentInsightProposedFixChangeDeserializer(item) {
|
|
4339
|
+
return {
|
|
4340
|
+
path: item["path"],
|
|
4341
|
+
language: item["language"],
|
|
4342
|
+
diff: item["diff"],
|
|
4343
|
+
surface: item["surface"],
|
|
4344
|
+
target: item["target"],
|
|
4345
|
+
old_value: item["old_value"],
|
|
4346
|
+
new_value: item["new_value"],
|
|
4347
|
+
};
|
|
4348
|
+
}
|
|
4349
|
+
export function agentInsightUpdateSerializer(item) {
|
|
4350
|
+
return { status: item["status"] };
|
|
4351
|
+
}
|
|
4106
4352
|
export function evaluationTaxonomySerializer(item) {
|
|
4107
4353
|
return {
|
|
4108
4354
|
description: item["description"],
|
|
@@ -4768,6 +5014,151 @@ export function datasetEvaluatorGenerationJobSourceDeserializer(item) {
|
|
|
4768
5014
|
version: item["version"],
|
|
4769
5015
|
};
|
|
4770
5016
|
}
|
|
5017
|
+
export function _agentsPagedResultAgentInsightMonitorListItemDeserializer(item) {
|
|
5018
|
+
return {
|
|
5019
|
+
data: agentInsightMonitorListItemArrayDeserializer(item["data"]),
|
|
5020
|
+
first_id: item["first_id"],
|
|
5021
|
+
last_id: item["last_id"],
|
|
5022
|
+
has_more: item["has_more"],
|
|
5023
|
+
};
|
|
5024
|
+
}
|
|
5025
|
+
export function agentInsightMonitorListItemArrayDeserializer(result) {
|
|
5026
|
+
return result.map((item) => {
|
|
5027
|
+
return agentInsightMonitorListItemDeserializer(item);
|
|
5028
|
+
});
|
|
5029
|
+
}
|
|
5030
|
+
export function agentInsightMonitorListItemDeserializer(item) {
|
|
5031
|
+
return {
|
|
5032
|
+
id: item["id"],
|
|
5033
|
+
agent_name: item["agent_name"],
|
|
5034
|
+
enabled: item["enabled"],
|
|
5035
|
+
run_interval_hours: item["run_interval_hours"],
|
|
5036
|
+
model_deployment_name: item["model_deployment_name"],
|
|
5037
|
+
next_scheduled_run_at: !item["next_scheduled_run_at"]
|
|
5038
|
+
? item["next_scheduled_run_at"]
|
|
5039
|
+
: new Date(item["next_scheduled_run_at"] * 1000),
|
|
5040
|
+
estimated_cost: !item["estimated_cost"]
|
|
5041
|
+
? item["estimated_cost"]
|
|
5042
|
+
: agentInsightEstimatedCostDeserializer(item["estimated_cost"]),
|
|
5043
|
+
suspension: !item["suspension"]
|
|
5044
|
+
? item["suspension"]
|
|
5045
|
+
: agentInsightSuspensionDeserializer(item["suspension"]),
|
|
5046
|
+
updated_at: new Date(item["updated_at"] * 1000),
|
|
5047
|
+
};
|
|
5048
|
+
}
|
|
5049
|
+
export function agentInsightEstimatedCostDeserializer(item) {
|
|
5050
|
+
return {
|
|
5051
|
+
amount: item["amount"],
|
|
5052
|
+
currency: item["currency"],
|
|
5053
|
+
};
|
|
5054
|
+
}
|
|
5055
|
+
export function agentInsightSuspensionDeserializer(item) {
|
|
5056
|
+
return {
|
|
5057
|
+
code: item["code"],
|
|
5058
|
+
message: item["message"],
|
|
5059
|
+
occurred_at: new Date(item["occurred_at"] * 1000),
|
|
5060
|
+
details: !item["details"]
|
|
5061
|
+
? item["details"]
|
|
5062
|
+
: Object.fromEntries(Object.entries(item["details"]).map(([k, p]) => [k, p])),
|
|
5063
|
+
};
|
|
5064
|
+
}
|
|
5065
|
+
export function agentInsightMonitorCreateSerializer(item) {
|
|
5066
|
+
return {
|
|
5067
|
+
agent_name: item["agent_name"],
|
|
5068
|
+
enabled: item["enabled"],
|
|
5069
|
+
run_interval_hours: item["run_interval_hours"],
|
|
5070
|
+
model_deployment_name: item["model_deployment_name"],
|
|
5071
|
+
};
|
|
5072
|
+
}
|
|
5073
|
+
export function agentInsightMonitorDeserializer(item) {
|
|
5074
|
+
return {
|
|
5075
|
+
id: item["id"],
|
|
5076
|
+
agent_name: item["agent_name"],
|
|
5077
|
+
enabled: item["enabled"],
|
|
5078
|
+
run_interval_hours: item["run_interval_hours"],
|
|
5079
|
+
model_deployment_name: item["model_deployment_name"],
|
|
5080
|
+
next_scheduled_run_at: !item["next_scheduled_run_at"]
|
|
5081
|
+
? item["next_scheduled_run_at"]
|
|
5082
|
+
: new Date(item["next_scheduled_run_at"] * 1000),
|
|
5083
|
+
estimated_cost: !item["estimated_cost"]
|
|
5084
|
+
? item["estimated_cost"]
|
|
5085
|
+
: agentInsightEstimatedCostDeserializer(item["estimated_cost"]),
|
|
5086
|
+
suspension: !item["suspension"]
|
|
5087
|
+
? item["suspension"]
|
|
5088
|
+
: agentInsightSuspensionDeserializer(item["suspension"]),
|
|
5089
|
+
overview: !item["overview"]
|
|
5090
|
+
? item["overview"]
|
|
5091
|
+
: agentInsightsOverviewDeserializer(item["overview"]),
|
|
5092
|
+
updated_at: new Date(item["updated_at"] * 1000),
|
|
5093
|
+
};
|
|
5094
|
+
}
|
|
5095
|
+
export function agentInsightsOverviewDeserializer(item) {
|
|
5096
|
+
return {
|
|
5097
|
+
content: item["content"],
|
|
5098
|
+
source: item["source"],
|
|
5099
|
+
updated_at: new Date(item["updated_at"] * 1000),
|
|
5100
|
+
};
|
|
5101
|
+
}
|
|
5102
|
+
export function agentInsightMonitorUpdateSerializer(item) {
|
|
5103
|
+
return {
|
|
5104
|
+
enabled: item["enabled"],
|
|
5105
|
+
run_interval_hours: item["run_interval_hours"],
|
|
5106
|
+
model_deployment_name: item["model_deployment_name"],
|
|
5107
|
+
overview_override: !item["overview_override"]
|
|
5108
|
+
? item["overview_override"]
|
|
5109
|
+
: agentInsightsOverviewOverrideSerializer(item["overview_override"]),
|
|
5110
|
+
};
|
|
5111
|
+
}
|
|
5112
|
+
export function agentInsightsOverviewOverrideSerializer(item) {
|
|
5113
|
+
return { content: item["content"] };
|
|
5114
|
+
}
|
|
5115
|
+
export function agentInsightRunCreateSerializer(item) {
|
|
5116
|
+
return { lookback_hours: item["lookback_hours"] };
|
|
5117
|
+
}
|
|
5118
|
+
export function agentInsightRunCreateDeserializer(item) {
|
|
5119
|
+
return {
|
|
5120
|
+
lookback_hours: item["lookback_hours"],
|
|
5121
|
+
};
|
|
5122
|
+
}
|
|
5123
|
+
export function agentInsightRunDeserializer(item) {
|
|
5124
|
+
return {
|
|
5125
|
+
id: item["id"],
|
|
5126
|
+
inputs: !item["inputs"] ? item["inputs"] : agentInsightRunCreateDeserializer(item["inputs"]),
|
|
5127
|
+
result: !item["result"] ? item["result"] : agentInsightRunResultDeserializer(item["result"]),
|
|
5128
|
+
status: item["status"],
|
|
5129
|
+
error: !item["error"] ? item["error"] : apiErrorDeserializer(item["error"]),
|
|
5130
|
+
monitor_id: item["monitor_id"],
|
|
5131
|
+
agent_name: item["agent_name"],
|
|
5132
|
+
trigger: item["trigger"],
|
|
5133
|
+
created_at: new Date(item["created_at"] * 1000),
|
|
5134
|
+
updated_at: new Date(item["updated_at"] * 1000),
|
|
5135
|
+
window_start: new Date(item["window_start"] * 1000),
|
|
5136
|
+
window_end: new Date(item["window_end"] * 1000),
|
|
5137
|
+
started_at: !item["started_at"] ? item["started_at"] : new Date(item["started_at"] * 1000),
|
|
5138
|
+
completed_at: !item["completed_at"]
|
|
5139
|
+
? item["completed_at"]
|
|
5140
|
+
: new Date(item["completed_at"] * 1000),
|
|
5141
|
+
model_deployment_name: item["model_deployment_name"],
|
|
5142
|
+
};
|
|
5143
|
+
}
|
|
5144
|
+
export function agentInsightRunResultDeserializer(item) {
|
|
5145
|
+
return {
|
|
5146
|
+
traces_in_window: item["traces_in_window"],
|
|
5147
|
+
traces_analyzed: item["traces_analyzed"],
|
|
5148
|
+
insights_created: item["insights_created"],
|
|
5149
|
+
insights_updated: item["insights_updated"],
|
|
5150
|
+
insights_reopened: item["insights_reopened"],
|
|
5151
|
+
token_usage: agentInsightTokenUsageDeserializer(item["token_usage"]),
|
|
5152
|
+
};
|
|
5153
|
+
}
|
|
5154
|
+
export function agentInsightTokenUsageDeserializer(item) {
|
|
5155
|
+
return {
|
|
5156
|
+
input_tokens: item["input_tokens"],
|
|
5157
|
+
output_tokens: item["output_tokens"],
|
|
5158
|
+
cached_tokens: item["cached_tokens"],
|
|
5159
|
+
total_tokens: item["total_tokens"],
|
|
5160
|
+
};
|
|
5161
|
+
}
|
|
4771
5162
|
export function evaluatorGenerationTokenUsageDeserializer(item) {
|
|
4772
5163
|
return {
|
|
4773
5164
|
input_tokens: item["input_tokens"],
|
|
@@ -5723,6 +6114,9 @@ export function invokeAgentInvocationsApiRoutineActionDeserializer(item) {
|
|
|
5723
6114
|
session_id: item["session_id"],
|
|
5724
6115
|
};
|
|
5725
6116
|
}
|
|
6117
|
+
export function routineAuthorizationSerializer(item) {
|
|
6118
|
+
return { identity: item["identity"] };
|
|
6119
|
+
}
|
|
5726
6120
|
export function routineDeserializer(item) {
|
|
5727
6121
|
return {
|
|
5728
6122
|
name: item["name"],
|
|
@@ -6886,4 +7280,249 @@ export function specificProgrammaticToolCallingParamDeserializer(item) {
|
|
|
6886
7280
|
export function specificProgrammaticToolCallingParamSerializer(item) {
|
|
6887
7281
|
return { type: item["type"] };
|
|
6888
7282
|
}
|
|
7283
|
+
export function sessionConfigurationSerializer(item) {
|
|
7284
|
+
return { idle_timeout_seconds: item["idle_timeout_seconds"] };
|
|
7285
|
+
}
|
|
7286
|
+
export function sessionConfigurationDeserializer(item) {
|
|
7287
|
+
return {
|
|
7288
|
+
idle_timeout_seconds: item["idle_timeout_seconds"],
|
|
7289
|
+
};
|
|
7290
|
+
}
|
|
7291
|
+
export function a2AToolSerializer(item) {
|
|
7292
|
+
return {
|
|
7293
|
+
type: item["type"],
|
|
7294
|
+
base_url: item["base_url"],
|
|
7295
|
+
agent_card_path: item["agent_card_path"],
|
|
7296
|
+
project_connection_id: item["project_connection_id"],
|
|
7297
|
+
send_credentials_for_agent_card: item["send_credentials_for_agent_card"],
|
|
7298
|
+
a2a_version: item["a2a_version"],
|
|
7299
|
+
};
|
|
7300
|
+
}
|
|
7301
|
+
export function a2AToolDeserializer(item) {
|
|
7302
|
+
return {
|
|
7303
|
+
type: item["type"],
|
|
7304
|
+
base_url: item["base_url"],
|
|
7305
|
+
agent_card_path: item["agent_card_path"],
|
|
7306
|
+
project_connection_id: item["project_connection_id"],
|
|
7307
|
+
send_credentials_for_agent_card: item["send_credentials_for_agent_card"],
|
|
7308
|
+
a2a_version: item["a2a_version"],
|
|
7309
|
+
};
|
|
7310
|
+
}
|
|
7311
|
+
export function webIQPreviewToolSerializer(item) {
|
|
7312
|
+
return {
|
|
7313
|
+
type: item["type"],
|
|
7314
|
+
project_connection_id: item["project_connection_id"],
|
|
7315
|
+
server_label: item["server_label"],
|
|
7316
|
+
require_approval: !item["require_approval"]
|
|
7317
|
+
? item["require_approval"]
|
|
7318
|
+
: _webIQPreviewToolRequireApprovalSerializer(item["require_approval"]),
|
|
7319
|
+
};
|
|
7320
|
+
}
|
|
7321
|
+
export function webIQPreviewToolDeserializer(item) {
|
|
7322
|
+
return {
|
|
7323
|
+
type: item["type"],
|
|
7324
|
+
project_connection_id: item["project_connection_id"],
|
|
7325
|
+
server_label: item["server_label"],
|
|
7326
|
+
require_approval: !item["require_approval"]
|
|
7327
|
+
? item["require_approval"]
|
|
7328
|
+
: _webIQPreviewToolRequireApprovalDeserializer(item["require_approval"]),
|
|
7329
|
+
};
|
|
7330
|
+
}
|
|
7331
|
+
export function _webIQPreviewToolRequireApprovalSerializer(item) {
|
|
7332
|
+
return item;
|
|
7333
|
+
}
|
|
7334
|
+
export function _webIQPreviewToolRequireApprovalDeserializer(item) {
|
|
7335
|
+
return item;
|
|
7336
|
+
}
|
|
7337
|
+
export function shellToolboxToolSerializer(item) {
|
|
7338
|
+
return {
|
|
7339
|
+
type: item["type"],
|
|
7340
|
+
name: item["name"],
|
|
7341
|
+
description: item["description"],
|
|
7342
|
+
tool_configs: !item["tool_configs"]
|
|
7343
|
+
? item["tool_configs"]
|
|
7344
|
+
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
7345
|
+
allowed_callers: !item["allowed_callers"]
|
|
7346
|
+
? item["allowed_callers"]
|
|
7347
|
+
: item["allowed_callers"].map((p) => {
|
|
7348
|
+
return p;
|
|
7349
|
+
}),
|
|
7350
|
+
environment: toolboxShellEnvironmentUnionSerializer(item["environment"]),
|
|
7351
|
+
};
|
|
7352
|
+
}
|
|
7353
|
+
export function shellToolboxToolDeserializer(item) {
|
|
7354
|
+
return {
|
|
7355
|
+
type: item["type"],
|
|
7356
|
+
name: item["name"],
|
|
7357
|
+
description: item["description"],
|
|
7358
|
+
tool_configs: !item["tool_configs"]
|
|
7359
|
+
? item["tool_configs"]
|
|
7360
|
+
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
7361
|
+
allowed_callers: !item["allowed_callers"]
|
|
7362
|
+
? item["allowed_callers"]
|
|
7363
|
+
: item["allowed_callers"].map((p1) => {
|
|
7364
|
+
return p1;
|
|
7365
|
+
}),
|
|
7366
|
+
environment: toolboxShellEnvironmentUnionDeserializer(item["environment"]),
|
|
7367
|
+
};
|
|
7368
|
+
}
|
|
7369
|
+
export function toolboxShellEnvironmentSerializer(item) {
|
|
7370
|
+
return { type: item["type"] };
|
|
7371
|
+
}
|
|
7372
|
+
export function toolboxShellEnvironmentDeserializer(item) {
|
|
7373
|
+
return {
|
|
7374
|
+
type: item["type"],
|
|
7375
|
+
};
|
|
7376
|
+
}
|
|
7377
|
+
export function toolboxShellEnvironmentUnionSerializer(item) {
|
|
7378
|
+
switch (item.type) {
|
|
7379
|
+
case "container_auto":
|
|
7380
|
+
return toolboxShellContainerAutoEnvironmentSerializer(item);
|
|
7381
|
+
case "container_reference":
|
|
7382
|
+
return toolboxShellContainerReferenceEnvironmentSerializer(item);
|
|
7383
|
+
default:
|
|
7384
|
+
return toolboxShellEnvironmentSerializer(item);
|
|
7385
|
+
}
|
|
7386
|
+
}
|
|
7387
|
+
export function toolboxShellEnvironmentUnionDeserializer(item) {
|
|
7388
|
+
switch (item["type"]) {
|
|
7389
|
+
case "container_auto":
|
|
7390
|
+
return toolboxShellContainerAutoEnvironmentDeserializer(item);
|
|
7391
|
+
case "container_reference":
|
|
7392
|
+
return toolboxShellContainerReferenceEnvironmentDeserializer(item);
|
|
7393
|
+
default:
|
|
7394
|
+
return toolboxShellEnvironmentDeserializer(item);
|
|
7395
|
+
}
|
|
7396
|
+
}
|
|
7397
|
+
export function toolboxShellContainerAutoEnvironmentSerializer(item) {
|
|
7398
|
+
return {
|
|
7399
|
+
type: item["type"],
|
|
7400
|
+
file_ids: !item["file_ids"]
|
|
7401
|
+
? item["file_ids"]
|
|
7402
|
+
: item["file_ids"].map((p) => {
|
|
7403
|
+
return p;
|
|
7404
|
+
}),
|
|
7405
|
+
memory_limit: item["memory_limit"],
|
|
7406
|
+
skills: !item["skills"] ? item["skills"] : containerSkillUnionArraySerializer(item["skills"]),
|
|
7407
|
+
network_policy: !item["network_policy"]
|
|
7408
|
+
? item["network_policy"]
|
|
7409
|
+
: toolboxShellNetworkPolicyUnionSerializer(item["network_policy"]),
|
|
7410
|
+
};
|
|
7411
|
+
}
|
|
7412
|
+
export function toolboxShellContainerAutoEnvironmentDeserializer(item) {
|
|
7413
|
+
return {
|
|
7414
|
+
type: item["type"],
|
|
7415
|
+
file_ids: !item["file_ids"]
|
|
7416
|
+
? item["file_ids"]
|
|
7417
|
+
: item["file_ids"].map((p) => {
|
|
7418
|
+
return p;
|
|
7419
|
+
}),
|
|
7420
|
+
memory_limit: item["memory_limit"],
|
|
7421
|
+
skills: !item["skills"] ? item["skills"] : containerSkillUnionArrayDeserializer(item["skills"]),
|
|
7422
|
+
network_policy: !item["network_policy"]
|
|
7423
|
+
? item["network_policy"]
|
|
7424
|
+
: toolboxShellNetworkPolicyUnionDeserializer(item["network_policy"]),
|
|
7425
|
+
};
|
|
7426
|
+
}
|
|
7427
|
+
export function toolboxShellNetworkPolicySerializer(item) {
|
|
7428
|
+
return { type: item["type"] };
|
|
7429
|
+
}
|
|
7430
|
+
export function toolboxShellNetworkPolicyDeserializer(item) {
|
|
7431
|
+
return {
|
|
7432
|
+
type: item["type"],
|
|
7433
|
+
};
|
|
7434
|
+
}
|
|
7435
|
+
export function toolboxShellNetworkPolicyUnionSerializer(item) {
|
|
7436
|
+
switch (item.type) {
|
|
7437
|
+
case "disabled":
|
|
7438
|
+
return toolboxShellNetworkPolicyDisabledSerializer(item);
|
|
7439
|
+
default:
|
|
7440
|
+
return toolboxShellNetworkPolicySerializer(item);
|
|
7441
|
+
}
|
|
7442
|
+
}
|
|
7443
|
+
export function toolboxShellNetworkPolicyUnionDeserializer(item) {
|
|
7444
|
+
switch (item["type"]) {
|
|
7445
|
+
case "disabled":
|
|
7446
|
+
return toolboxShellNetworkPolicyDisabledDeserializer(item);
|
|
7447
|
+
default:
|
|
7448
|
+
return toolboxShellNetworkPolicyDeserializer(item);
|
|
7449
|
+
}
|
|
7450
|
+
}
|
|
7451
|
+
export function toolboxShellNetworkPolicyDisabledSerializer(item) {
|
|
7452
|
+
return { type: item["type"] };
|
|
7453
|
+
}
|
|
7454
|
+
export function toolboxShellNetworkPolicyDisabledDeserializer(item) {
|
|
7455
|
+
return {
|
|
7456
|
+
type: item["type"],
|
|
7457
|
+
};
|
|
7458
|
+
}
|
|
7459
|
+
export function toolboxShellContainerReferenceEnvironmentSerializer(item) {
|
|
7460
|
+
return { type: item["type"], container_id: item["container_id"] };
|
|
7461
|
+
}
|
|
7462
|
+
export function toolboxShellContainerReferenceEnvironmentDeserializer(item) {
|
|
7463
|
+
return {
|
|
7464
|
+
type: item["type"],
|
|
7465
|
+
container_id: item["container_id"],
|
|
7466
|
+
};
|
|
7467
|
+
}
|
|
7468
|
+
export function a2AToolboxToolSerializer(item) {
|
|
7469
|
+
return {
|
|
7470
|
+
type: item["type"],
|
|
7471
|
+
name: item["name"],
|
|
7472
|
+
description: item["description"],
|
|
7473
|
+
tool_configs: !item["tool_configs"]
|
|
7474
|
+
? item["tool_configs"]
|
|
7475
|
+
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
7476
|
+
base_url: item["base_url"],
|
|
7477
|
+
agent_card_path: item["agent_card_path"],
|
|
7478
|
+
project_connection_id: item["project_connection_id"],
|
|
7479
|
+
send_credentials_for_agent_card: item["send_credentials_for_agent_card"],
|
|
7480
|
+
a2a_version: item["a2a_version"],
|
|
7481
|
+
};
|
|
7482
|
+
}
|
|
7483
|
+
export function a2AToolboxToolDeserializer(item) {
|
|
7484
|
+
return {
|
|
7485
|
+
type: item["type"],
|
|
7486
|
+
name: item["name"],
|
|
7487
|
+
description: item["description"],
|
|
7488
|
+
tool_configs: !item["tool_configs"]
|
|
7489
|
+
? item["tool_configs"]
|
|
7490
|
+
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
7491
|
+
base_url: item["base_url"],
|
|
7492
|
+
agent_card_path: item["agent_card_path"],
|
|
7493
|
+
project_connection_id: item["project_connection_id"],
|
|
7494
|
+
send_credentials_for_agent_card: item["send_credentials_for_agent_card"],
|
|
7495
|
+
a2a_version: item["a2a_version"],
|
|
7496
|
+
};
|
|
7497
|
+
}
|
|
7498
|
+
export function webIQPreviewToolboxToolSerializer(item) {
|
|
7499
|
+
return {
|
|
7500
|
+
type: item["type"],
|
|
7501
|
+
name: item["name"],
|
|
7502
|
+
description: item["description"],
|
|
7503
|
+
tool_configs: !item["tool_configs"]
|
|
7504
|
+
? item["tool_configs"]
|
|
7505
|
+
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
7506
|
+
project_connection_id: item["project_connection_id"],
|
|
7507
|
+
server_label: item["server_label"],
|
|
7508
|
+
require_approval: !item["require_approval"]
|
|
7509
|
+
? item["require_approval"]
|
|
7510
|
+
: _webIQPreviewToolRequireApprovalSerializer(item["require_approval"]),
|
|
7511
|
+
};
|
|
7512
|
+
}
|
|
7513
|
+
export function webIQPreviewToolboxToolDeserializer(item) {
|
|
7514
|
+
return {
|
|
7515
|
+
type: item["type"],
|
|
7516
|
+
name: item["name"],
|
|
7517
|
+
description: item["description"],
|
|
7518
|
+
tool_configs: !item["tool_configs"]
|
|
7519
|
+
? item["tool_configs"]
|
|
7520
|
+
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
7521
|
+
project_connection_id: item["project_connection_id"],
|
|
7522
|
+
server_label: item["server_label"],
|
|
7523
|
+
require_approval: !item["require_approval"]
|
|
7524
|
+
? item["require_approval"]
|
|
7525
|
+
: _webIQPreviewToolRequireApprovalDeserializer(item["require_approval"]),
|
|
7526
|
+
};
|
|
7527
|
+
}
|
|
6889
7528
|
//# sourceMappingURL=models.js.map
|