@azure/ai-projects 2.4.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 +23 -4
- 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 +178 -58
- 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/agents/operations.d.ts +10 -10
- package/dist/browser/api/beta/agents/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/agents/operations.js +6 -6
- package/dist/browser/api/beta/agents/operations.js.map +1 -1
- 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 +3 -3
- package/dist/browser/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/routines/operations.js +24 -23
- package/dist/browser/api/beta/routines/operations.js.map +1 -1
- package/dist/browser/api/beta/routines/options.d.ts +23 -15
- 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/agents/index.d.ts +5 -5
- package/dist/browser/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/agents/index.js.map +1 -1
- 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 +822 -102
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +885 -82
- 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/agentTracing.d.ts +16 -0
- package/dist/browser/tracing/agentTracing.d.ts.map +1 -0
- package/dist/browser/tracing/agentTracing.js +61 -0
- package/dist/browser/tracing/agentTracing.js.map +1 -0
- package/dist/browser/tracing/configuration.d.ts.map +1 -1
- package/dist/browser/tracing/configuration.js +8 -5
- 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 +185 -67
- 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/agents/operations.d.ts +10 -10
- package/dist/commonjs/api/beta/agents/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/agents/operations.js +5 -5
- package/dist/commonjs/api/beta/agents/operations.js.map +2 -2
- 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 +3 -3
- package/dist/commonjs/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/routines/operations.js +23 -24
- package/dist/commonjs/api/beta/routines/operations.js.map +2 -2
- package/dist/commonjs/api/beta/routines/options.d.ts +23 -15
- 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/agents/index.d.ts +5 -5
- package/dist/commonjs/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/agents/index.js.map +1 -1
- 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 +822 -102
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +1028 -171
- 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/agentTracing.d.ts +16 -0
- package/dist/commonjs/tracing/agentTracing.d.ts.map +1 -0
- package/dist/commonjs/tracing/agentTracing.js +74 -0
- package/dist/commonjs/tracing/agentTracing.js.map +7 -0
- package/dist/commonjs/tracing/configuration.d.ts.map +1 -1
- package/dist/commonjs/tracing/configuration.js +14 -4
- 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 +178 -58
- 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/agents/operations.d.ts +10 -10
- package/dist/esm/api/beta/agents/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/agents/operations.js +6 -6
- package/dist/esm/api/beta/agents/operations.js.map +1 -1
- 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 +3 -3
- package/dist/esm/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/routines/operations.js +24 -23
- package/dist/esm/api/beta/routines/operations.js.map +1 -1
- package/dist/esm/api/beta/routines/options.d.ts +23 -15
- 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/agents/index.d.ts +5 -5
- package/dist/esm/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/agents/index.js.map +1 -1
- 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 +822 -102
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +885 -82
- 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/agentTracing.d.ts +16 -0
- package/dist/esm/tracing/agentTracing.d.ts.map +1 -0
- package/dist/esm/tracing/agentTracing.js +61 -0
- package/dist/esm/tracing/agentTracing.js.map +1 -0
- package/dist/esm/tracing/configuration.d.ts.map +1 -1
- package/dist/esm/tracing/configuration.js +8 -5
- 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 +178 -58
- 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/agents/operations.d.ts +10 -10
- package/dist/react-native/api/beta/agents/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/agents/operations.js +6 -6
- package/dist/react-native/api/beta/agents/operations.js.map +1 -1
- 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 +3 -3
- package/dist/react-native/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/routines/operations.js +24 -23
- package/dist/react-native/api/beta/routines/operations.js.map +1 -1
- package/dist/react-native/api/beta/routines/options.d.ts +23 -15
- 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/agents/index.d.ts +5 -5
- package/dist/react-native/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/agents/index.js.map +1 -1
- 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 +822 -102
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +885 -82
- 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/agentTracing.d.ts +16 -0
- package/dist/react-native/tracing/agentTracing.d.ts.map +1 -0
- package/dist/react-native/tracing/agentTracing.js +61 -0
- package/dist/react-native/tracing/agentTracing.js.map +1 -0
- package/dist/react-native/tracing/configuration.d.ts.map +1 -1
- package/dist/react-native/tracing/configuration.js +8 -5
- 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":
|
|
@@ -208,6 +286,8 @@ export function toolUnionSerializer(item) {
|
|
|
208
286
|
return functionToolSerializer(item);
|
|
209
287
|
case "computer_use_preview":
|
|
210
288
|
return computerUsePreviewToolSerializer(item);
|
|
289
|
+
case "programmatic_tool_calling":
|
|
290
|
+
return programmaticToolCallingParamSerializer(item);
|
|
211
291
|
case "image_generation":
|
|
212
292
|
return imageGenToolSerializer(item);
|
|
213
293
|
case "local_shell":
|
|
@@ -252,10 +332,14 @@ export function toolUnionDeserializer(item) {
|
|
|
252
332
|
return captureStructuredOutputsToolDeserializer(item);
|
|
253
333
|
case "a2a_preview":
|
|
254
334
|
return a2APreviewToolDeserializer(item);
|
|
335
|
+
case "a2a":
|
|
336
|
+
return a2AToolDeserializer(item);
|
|
255
337
|
case "work_iq_preview":
|
|
256
338
|
return workIQPreviewToolDeserializer(item);
|
|
257
339
|
case "fabric_iq_preview":
|
|
258
340
|
return fabricIQPreviewToolDeserializer(item);
|
|
341
|
+
case "web_iq_preview":
|
|
342
|
+
return webIQPreviewToolDeserializer(item);
|
|
259
343
|
case "memory_search_preview":
|
|
260
344
|
return memorySearchPreviewToolDeserializer(item);
|
|
261
345
|
case "code_interpreter":
|
|
@@ -270,6 +354,8 @@ export function toolUnionDeserializer(item) {
|
|
|
270
354
|
return functionToolDeserializer(item);
|
|
271
355
|
case "computer_use_preview":
|
|
272
356
|
return computerUsePreviewToolDeserializer(item);
|
|
357
|
+
case "programmatic_tool_calling":
|
|
358
|
+
return programmaticToolCallingParamDeserializer(item);
|
|
273
359
|
case "image_generation":
|
|
274
360
|
return imageGenToolDeserializer(item);
|
|
275
361
|
case "local_shell":
|
|
@@ -944,6 +1030,11 @@ export function memorySearchOptionsDeserializer(item) {
|
|
|
944
1030
|
export function codeInterpreterToolSerializer(item) {
|
|
945
1031
|
return {
|
|
946
1032
|
type: item["type"],
|
|
1033
|
+
allowed_callers: !item["allowed_callers"]
|
|
1034
|
+
? item["allowed_callers"]
|
|
1035
|
+
: item["allowed_callers"].map((p) => {
|
|
1036
|
+
return p;
|
|
1037
|
+
}),
|
|
947
1038
|
name: item["name"],
|
|
948
1039
|
description: item["description"],
|
|
949
1040
|
tool_configs: !item["tool_configs"]
|
|
@@ -957,6 +1048,11 @@ export function codeInterpreterToolSerializer(item) {
|
|
|
957
1048
|
export function codeInterpreterToolDeserializer(item) {
|
|
958
1049
|
return {
|
|
959
1050
|
type: item["type"],
|
|
1051
|
+
allowed_callers: !item["allowed_callers"]
|
|
1052
|
+
? item["allowed_callers"]
|
|
1053
|
+
: item["allowed_callers"].map((p1) => {
|
|
1054
|
+
return p1;
|
|
1055
|
+
}),
|
|
960
1056
|
name: item["name"],
|
|
961
1057
|
description: item["description"],
|
|
962
1058
|
tool_configs: !item["tool_configs"]
|
|
@@ -1081,8 +1177,14 @@ export function functionToolSerializer(item) {
|
|
|
1081
1177
|
name: item["name"],
|
|
1082
1178
|
description: item["description"],
|
|
1083
1179
|
parameters: item["parameters"],
|
|
1180
|
+
output_schema: item["output_schema"],
|
|
1084
1181
|
strict: item["strict"],
|
|
1085
1182
|
defer_loading: item["defer_loading"],
|
|
1183
|
+
allowed_callers: !item["allowed_callers"]
|
|
1184
|
+
? item["allowed_callers"]
|
|
1185
|
+
: item["allowed_callers"].map((p) => {
|
|
1186
|
+
return p;
|
|
1187
|
+
}),
|
|
1086
1188
|
};
|
|
1087
1189
|
}
|
|
1088
1190
|
export function functionToolDeserializer(item) {
|
|
@@ -1091,8 +1193,16 @@ export function functionToolDeserializer(item) {
|
|
|
1091
1193
|
name: item["name"],
|
|
1092
1194
|
description: item["description"],
|
|
1093
1195
|
parameters: item["parameters"],
|
|
1196
|
+
output_schema: !item["output_schema"]
|
|
1197
|
+
? item["output_schema"]
|
|
1198
|
+
: Object.fromEntries(Object.entries(item["output_schema"]).map(([k1, p1]) => [k1, p1])),
|
|
1094
1199
|
strict: item["strict"],
|
|
1095
1200
|
defer_loading: item["defer_loading"],
|
|
1201
|
+
allowed_callers: !item["allowed_callers"]
|
|
1202
|
+
? item["allowed_callers"]
|
|
1203
|
+
: item["allowed_callers"].map((p1) => {
|
|
1204
|
+
return p1;
|
|
1205
|
+
}),
|
|
1096
1206
|
};
|
|
1097
1207
|
}
|
|
1098
1208
|
export function fileSearchToolSerializer(item) {
|
|
@@ -1329,6 +1439,11 @@ export function mcpToolSerializer(item) {
|
|
|
1329
1439
|
allowed_tools: !item["allowed_tools"]
|
|
1330
1440
|
? item["allowed_tools"]
|
|
1331
1441
|
: _mcpToolAllowedToolsSerializer(item["allowed_tools"]),
|
|
1442
|
+
allowed_callers: !item["allowed_callers"]
|
|
1443
|
+
? item["allowed_callers"]
|
|
1444
|
+
: item["allowed_callers"].map((p) => {
|
|
1445
|
+
return p;
|
|
1446
|
+
}),
|
|
1332
1447
|
require_approval: !item["require_approval"]
|
|
1333
1448
|
? item["require_approval"]
|
|
1334
1449
|
: _mcpToolRequireApprovalSerializer(item["require_approval"]),
|
|
@@ -1352,6 +1467,11 @@ export function mcpToolDeserializer(item) {
|
|
|
1352
1467
|
allowed_tools: !item["allowed_tools"]
|
|
1353
1468
|
? item["allowed_tools"]
|
|
1354
1469
|
: _mcpToolAllowedToolsDeserializer(item["allowed_tools"]),
|
|
1470
|
+
allowed_callers: !item["allowed_callers"]
|
|
1471
|
+
? item["allowed_callers"]
|
|
1472
|
+
: item["allowed_callers"].map((p1) => {
|
|
1473
|
+
return p1;
|
|
1474
|
+
}),
|
|
1355
1475
|
require_approval: !item["require_approval"]
|
|
1356
1476
|
? item["require_approval"]
|
|
1357
1477
|
: _mcpToolRequireApprovalDeserializer(item["require_approval"]),
|
|
@@ -1455,6 +1575,11 @@ export function functionShellToolParamSerializer(item) {
|
|
|
1455
1575
|
environment: !item["environment"]
|
|
1456
1576
|
? item["environment"]
|
|
1457
1577
|
: functionShellToolParamEnvironmentUnionSerializer(item["environment"]),
|
|
1578
|
+
allowed_callers: !item["allowed_callers"]
|
|
1579
|
+
? item["allowed_callers"]
|
|
1580
|
+
: item["allowed_callers"].map((p) => {
|
|
1581
|
+
return p;
|
|
1582
|
+
}),
|
|
1458
1583
|
name: item["name"],
|
|
1459
1584
|
description: item["description"],
|
|
1460
1585
|
tool_configs: !item["tool_configs"]
|
|
@@ -1468,6 +1593,11 @@ export function functionShellToolParamDeserializer(item) {
|
|
|
1468
1593
|
environment: !item["environment"]
|
|
1469
1594
|
? item["environment"]
|
|
1470
1595
|
: functionShellToolParamEnvironmentUnionDeserializer(item["environment"]),
|
|
1596
|
+
allowed_callers: !item["allowed_callers"]
|
|
1597
|
+
? item["allowed_callers"]
|
|
1598
|
+
: item["allowed_callers"].map((p1) => {
|
|
1599
|
+
return p1;
|
|
1600
|
+
}),
|
|
1471
1601
|
name: item["name"],
|
|
1472
1602
|
description: item["description"],
|
|
1473
1603
|
tool_configs: !item["tool_configs"]
|
|
@@ -1651,6 +1781,11 @@ export function customToolParamSerializer(item) {
|
|
|
1651
1781
|
description: item["description"],
|
|
1652
1782
|
format: !item["format"] ? item["format"] : customToolParamFormatUnionSerializer(item["format"]),
|
|
1653
1783
|
defer_loading: item["defer_loading"],
|
|
1784
|
+
allowed_callers: !item["allowed_callers"]
|
|
1785
|
+
? item["allowed_callers"]
|
|
1786
|
+
: item["allowed_callers"].map((p) => {
|
|
1787
|
+
return p;
|
|
1788
|
+
}),
|
|
1654
1789
|
};
|
|
1655
1790
|
}
|
|
1656
1791
|
export function customToolParamDeserializer(item) {
|
|
@@ -1662,6 +1797,11 @@ export function customToolParamDeserializer(item) {
|
|
|
1662
1797
|
? item["format"]
|
|
1663
1798
|
: customToolParamFormatUnionDeserializer(item["format"]),
|
|
1664
1799
|
defer_loading: item["defer_loading"],
|
|
1800
|
+
allowed_callers: !item["allowed_callers"]
|
|
1801
|
+
? item["allowed_callers"]
|
|
1802
|
+
: item["allowed_callers"].map((p1) => {
|
|
1803
|
+
return p1;
|
|
1804
|
+
}),
|
|
1665
1805
|
};
|
|
1666
1806
|
}
|
|
1667
1807
|
export function customToolParamFormatSerializer(item) {
|
|
@@ -1757,11 +1897,23 @@ export function approximateLocationDeserializer(item) {
|
|
|
1757
1897
|
};
|
|
1758
1898
|
}
|
|
1759
1899
|
export function applyPatchToolParamSerializer(item) {
|
|
1760
|
-
return {
|
|
1900
|
+
return {
|
|
1901
|
+
type: item["type"],
|
|
1902
|
+
allowed_callers: !item["allowed_callers"]
|
|
1903
|
+
? item["allowed_callers"]
|
|
1904
|
+
: item["allowed_callers"].map((p) => {
|
|
1905
|
+
return p;
|
|
1906
|
+
}),
|
|
1907
|
+
};
|
|
1761
1908
|
}
|
|
1762
1909
|
export function applyPatchToolParamDeserializer(item) {
|
|
1763
1910
|
return {
|
|
1764
1911
|
type: item["type"],
|
|
1912
|
+
allowed_callers: !item["allowed_callers"]
|
|
1913
|
+
? item["allowed_callers"]
|
|
1914
|
+
: item["allowed_callers"].map((p1) => {
|
|
1915
|
+
return p1;
|
|
1916
|
+
}),
|
|
1765
1917
|
};
|
|
1766
1918
|
}
|
|
1767
1919
|
export function computerToolSerializer(item) {
|
|
@@ -1813,7 +1965,13 @@ export function functionToolParamSerializer(item) {
|
|
|
1813
1965
|
: emptyModelParamSerializer(item["parameters"]),
|
|
1814
1966
|
strict: item["strict"],
|
|
1815
1967
|
type: item["type"],
|
|
1968
|
+
output_schema: item["output_schema"],
|
|
1816
1969
|
defer_loading: item["defer_loading"],
|
|
1970
|
+
allowed_callers: !item["allowed_callers"]
|
|
1971
|
+
? item["allowed_callers"]
|
|
1972
|
+
: item["allowed_callers"].map((p) => {
|
|
1973
|
+
return p;
|
|
1974
|
+
}),
|
|
1817
1975
|
};
|
|
1818
1976
|
}
|
|
1819
1977
|
export function functionToolParamDeserializer(item) {
|
|
@@ -1825,7 +1983,15 @@ export function functionToolParamDeserializer(item) {
|
|
|
1825
1983
|
: emptyModelParamDeserializer(item["parameters"]),
|
|
1826
1984
|
strict: item["strict"],
|
|
1827
1985
|
type: item["type"],
|
|
1986
|
+
output_schema: !item["output_schema"]
|
|
1987
|
+
? item["output_schema"]
|
|
1988
|
+
: Object.fromEntries(Object.entries(item["output_schema"]).map(([k1, p1]) => [k1, p1])),
|
|
1828
1989
|
defer_loading: item["defer_loading"],
|
|
1990
|
+
allowed_callers: !item["allowed_callers"]
|
|
1991
|
+
? item["allowed_callers"]
|
|
1992
|
+
: item["allowed_callers"].map((p1) => {
|
|
1993
|
+
return p1;
|
|
1994
|
+
}),
|
|
1829
1995
|
};
|
|
1830
1996
|
}
|
|
1831
1997
|
export function emptyModelParamSerializer(_item) {
|
|
@@ -1855,11 +2021,12 @@ export function toolSearchToolParamDeserializer(item) {
|
|
|
1855
2021
|
};
|
|
1856
2022
|
}
|
|
1857
2023
|
export function containerConfigurationSerializer(item) {
|
|
1858
|
-
return { image: item["image"] };
|
|
2024
|
+
return { image: item["image"], registry_connection_id: item["registry_connection_id"] };
|
|
1859
2025
|
}
|
|
1860
2026
|
export function containerConfigurationDeserializer(item) {
|
|
1861
2027
|
return {
|
|
1862
2028
|
image: item["image"],
|
|
2029
|
+
registry_connection_id: item["registry_connection_id"],
|
|
1863
2030
|
};
|
|
1864
2031
|
}
|
|
1865
2032
|
export function protocolVersionRecordArraySerializer(result) {
|
|
@@ -2056,6 +2223,7 @@ export function promptAgentDefinitionDeserializer(item) {
|
|
|
2056
2223
|
}
|
|
2057
2224
|
export function reasoningSerializer(item) {
|
|
2058
2225
|
return {
|
|
2226
|
+
mode: !item["mode"] ? item["mode"] : reasoningModeEnumSerializer(item["mode"]),
|
|
2059
2227
|
effort: item["effort"],
|
|
2060
2228
|
summary: item["summary"],
|
|
2061
2229
|
context: item["context"],
|
|
@@ -2064,6 +2232,7 @@ export function reasoningSerializer(item) {
|
|
|
2064
2232
|
}
|
|
2065
2233
|
export function reasoningDeserializer(item) {
|
|
2066
2234
|
return {
|
|
2235
|
+
mode: !item["mode"] ? item["mode"] : reasoningModeEnumDeserializer(item["mode"]),
|
|
2067
2236
|
effort: item["effort"],
|
|
2068
2237
|
summary: item["summary"],
|
|
2069
2238
|
context: item["context"],
|
|
@@ -2094,6 +2263,8 @@ export function toolChoiceParamUnionSerializer(item) {
|
|
|
2094
2263
|
return toolChoiceMCPSerializer(item);
|
|
2095
2264
|
case "custom":
|
|
2096
2265
|
return toolChoiceCustomSerializer(item);
|
|
2266
|
+
case "programmatic_tool_calling":
|
|
2267
|
+
return specificProgrammaticToolCallingParamSerializer(item);
|
|
2097
2268
|
case "apply_patch":
|
|
2098
2269
|
return specificApplyPatchParamSerializer(item);
|
|
2099
2270
|
case "shell":
|
|
@@ -2128,6 +2299,8 @@ export function toolChoiceParamUnionDeserializer(item) {
|
|
|
2128
2299
|
return toolChoiceMCPDeserializer(item);
|
|
2129
2300
|
case "custom":
|
|
2130
2301
|
return toolChoiceCustomDeserializer(item);
|
|
2302
|
+
case "programmatic_tool_calling":
|
|
2303
|
+
return specificProgrammaticToolCallingParamDeserializer(item);
|
|
2131
2304
|
case "apply_patch":
|
|
2132
2305
|
return specificApplyPatchParamDeserializer(item);
|
|
2133
2306
|
case "shell":
|
|
@@ -2478,6 +2651,7 @@ export function agentEndpointConfigDeserializer(item) {
|
|
|
2478
2651
|
authorization_schemes: !item["authorization_schemes"]
|
|
2479
2652
|
? item["authorization_schemes"]
|
|
2480
2653
|
: agentEndpointAuthorizationSchemeUnionArrayDeserializer(item["authorization_schemes"]),
|
|
2654
|
+
publish_approval_status: item["publish_approval_status"],
|
|
2481
2655
|
};
|
|
2482
2656
|
}
|
|
2483
2657
|
export function versionSelectorSerializer(item) {
|
|
@@ -2581,6 +2755,11 @@ export function activityProtocolConfigurationSerializer(item) {
|
|
|
2581
2755
|
export function activityProtocolConfigurationDeserializer(item) {
|
|
2582
2756
|
return {
|
|
2583
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
|
+
}),
|
|
2584
2763
|
};
|
|
2585
2764
|
}
|
|
2586
2765
|
export function responsesProtocolConfigurationSerializer(_item) {
|
|
@@ -3404,6 +3583,44 @@ export function sessionLogEventDeserializer(item) {
|
|
|
3404
3583
|
data: item["data"],
|
|
3405
3584
|
};
|
|
3406
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
|
+
}
|
|
3407
3624
|
export function sessionFileWriteResponseDeserializer(item) {
|
|
3408
3625
|
return {
|
|
3409
3626
|
path: item["path"],
|
|
@@ -3470,12 +3687,16 @@ export function toolboxToolUnionSerializer(item) {
|
|
|
3470
3687
|
return fileSearchToolboxToolSerializer(item);
|
|
3471
3688
|
case "web_search":
|
|
3472
3689
|
return webSearchToolboxToolSerializer(item);
|
|
3690
|
+
case "shell":
|
|
3691
|
+
return shellToolboxToolSerializer(item);
|
|
3473
3692
|
case "mcp":
|
|
3474
3693
|
return mcpToolboxToolSerializer(item);
|
|
3475
3694
|
case "azure_ai_search":
|
|
3476
3695
|
return azureAISearchToolboxToolSerializer(item);
|
|
3477
3696
|
case "openapi":
|
|
3478
3697
|
return openApiToolboxToolSerializer(item);
|
|
3698
|
+
case "a2a":
|
|
3699
|
+
return a2AToolboxToolSerializer(item);
|
|
3479
3700
|
case "a2a_preview":
|
|
3480
3701
|
return a2APreviewToolboxToolSerializer(item);
|
|
3481
3702
|
case "browser_automation_preview":
|
|
@@ -3486,6 +3707,8 @@ export function toolboxToolUnionSerializer(item) {
|
|
|
3486
3707
|
return workIQPreviewToolboxToolSerializer(item);
|
|
3487
3708
|
case "fabric_iq_preview":
|
|
3488
3709
|
return fabricIQPreviewToolboxToolSerializer(item);
|
|
3710
|
+
case "web_iq_preview":
|
|
3711
|
+
return webIQPreviewToolboxToolSerializer(item);
|
|
3489
3712
|
case "toolbox_search_preview":
|
|
3490
3713
|
return toolboxSearchPreviewToolboxToolSerializer(item);
|
|
3491
3714
|
case "toolbox_search":
|
|
@@ -3502,12 +3725,16 @@ export function toolboxToolUnionDeserializer(item) {
|
|
|
3502
3725
|
return fileSearchToolboxToolDeserializer(item);
|
|
3503
3726
|
case "web_search":
|
|
3504
3727
|
return webSearchToolboxToolDeserializer(item);
|
|
3728
|
+
case "shell":
|
|
3729
|
+
return shellToolboxToolDeserializer(item);
|
|
3505
3730
|
case "mcp":
|
|
3506
3731
|
return mcpToolboxToolDeserializer(item);
|
|
3507
3732
|
case "azure_ai_search":
|
|
3508
3733
|
return azureAISearchToolboxToolDeserializer(item);
|
|
3509
3734
|
case "openapi":
|
|
3510
3735
|
return openApiToolboxToolDeserializer(item);
|
|
3736
|
+
case "a2a":
|
|
3737
|
+
return a2AToolboxToolDeserializer(item);
|
|
3511
3738
|
case "a2a_preview":
|
|
3512
3739
|
return a2APreviewToolboxToolDeserializer(item);
|
|
3513
3740
|
case "browser_automation_preview":
|
|
@@ -3518,6 +3745,8 @@ export function toolboxToolUnionDeserializer(item) {
|
|
|
3518
3745
|
return workIQPreviewToolboxToolDeserializer(item);
|
|
3519
3746
|
case "fabric_iq_preview":
|
|
3520
3747
|
return fabricIQPreviewToolboxToolDeserializer(item);
|
|
3748
|
+
case "web_iq_preview":
|
|
3749
|
+
return webIQPreviewToolboxToolDeserializer(item);
|
|
3521
3750
|
case "toolbox_search_preview":
|
|
3522
3751
|
return toolboxSearchPreviewToolboxToolDeserializer(item);
|
|
3523
3752
|
case "toolbox_search":
|
|
@@ -3534,6 +3763,11 @@ export function codeInterpreterToolboxToolSerializer(item) {
|
|
|
3534
3763
|
tool_configs: !item["tool_configs"]
|
|
3535
3764
|
? item["tool_configs"]
|
|
3536
3765
|
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
3766
|
+
allowed_callers: !item["allowed_callers"]
|
|
3767
|
+
? item["allowed_callers"]
|
|
3768
|
+
: item["allowed_callers"].map((p) => {
|
|
3769
|
+
return p;
|
|
3770
|
+
}),
|
|
3537
3771
|
container: !item["container"]
|
|
3538
3772
|
? item["container"]
|
|
3539
3773
|
: _codeInterpreterToolContainerSerializer(item["container"]),
|
|
@@ -3547,6 +3781,11 @@ export function codeInterpreterToolboxToolDeserializer(item) {
|
|
|
3547
3781
|
tool_configs: !item["tool_configs"]
|
|
3548
3782
|
? item["tool_configs"]
|
|
3549
3783
|
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
3784
|
+
allowed_callers: !item["allowed_callers"]
|
|
3785
|
+
? item["allowed_callers"]
|
|
3786
|
+
: item["allowed_callers"].map((p1) => {
|
|
3787
|
+
return p1;
|
|
3788
|
+
}),
|
|
3550
3789
|
container: !item["container"]
|
|
3551
3790
|
? item["container"]
|
|
3552
3791
|
: _codeInterpreterToolContainerDeserializer(item["container"]),
|
|
@@ -3646,6 +3885,11 @@ export function mcpToolboxToolSerializer(item) {
|
|
|
3646
3885
|
allowed_tools: !item["allowed_tools"]
|
|
3647
3886
|
? item["allowed_tools"]
|
|
3648
3887
|
: _mcpToolAllowedToolsSerializer(item["allowed_tools"]),
|
|
3888
|
+
allowed_callers: !item["allowed_callers"]
|
|
3889
|
+
? item["allowed_callers"]
|
|
3890
|
+
: item["allowed_callers"].map((p) => {
|
|
3891
|
+
return p;
|
|
3892
|
+
}),
|
|
3649
3893
|
require_approval: !item["require_approval"]
|
|
3650
3894
|
? item["require_approval"]
|
|
3651
3895
|
: _mcpToolRequireApprovalSerializer(item["require_approval"]),
|
|
@@ -3673,6 +3917,11 @@ export function mcpToolboxToolDeserializer(item) {
|
|
|
3673
3917
|
allowed_tools: !item["allowed_tools"]
|
|
3674
3918
|
? item["allowed_tools"]
|
|
3675
3919
|
: _mcpToolAllowedToolsDeserializer(item["allowed_tools"]),
|
|
3920
|
+
allowed_callers: !item["allowed_callers"]
|
|
3921
|
+
? item["allowed_callers"]
|
|
3922
|
+
: item["allowed_callers"].map((p1) => {
|
|
3923
|
+
return p1;
|
|
3924
|
+
}),
|
|
3676
3925
|
require_approval: !item["require_approval"]
|
|
3677
3926
|
? item["require_approval"]
|
|
3678
3927
|
: _mcpToolRequireApprovalDeserializer(item["require_approval"]),
|
|
@@ -3992,6 +4241,114 @@ export function toolboxVersionObjectArrayDeserializer(result) {
|
|
|
3992
4241
|
return toolboxVersionObjectDeserializer(item);
|
|
3993
4242
|
});
|
|
3994
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
|
+
}
|
|
3995
4352
|
export function evaluationTaxonomySerializer(item) {
|
|
3996
4353
|
return {
|
|
3997
4354
|
description: item["description"],
|
|
@@ -4657,6 +5014,151 @@ export function datasetEvaluatorGenerationJobSourceDeserializer(item) {
|
|
|
4657
5014
|
version: item["version"],
|
|
4658
5015
|
};
|
|
4659
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
|
+
}
|
|
4660
5162
|
export function evaluatorGenerationTokenUsageDeserializer(item) {
|
|
4661
5163
|
return {
|
|
4662
5164
|
input_tokens: item["input_tokens"],
|
|
@@ -5170,6 +5672,7 @@ export function memoryStoreOperationUsageDeserializer(item) {
|
|
|
5170
5672
|
export function responseUsageInputTokensDetailsDeserializer(item) {
|
|
5171
5673
|
return {
|
|
5172
5674
|
cached_tokens: item["cached_tokens"],
|
|
5675
|
+
cache_write_tokens: item["cache_write_tokens"],
|
|
5173
5676
|
};
|
|
5174
5677
|
}
|
|
5175
5678
|
export function responseUsageOutputTokensDetailsDeserializer(item) {
|
|
@@ -5611,6 +6114,9 @@ export function invokeAgentInvocationsApiRoutineActionDeserializer(item) {
|
|
|
5611
6114
|
session_id: item["session_id"],
|
|
5612
6115
|
};
|
|
5613
6116
|
}
|
|
6117
|
+
export function routineAuthorizationSerializer(item) {
|
|
6118
|
+
return { identity: item["identity"] };
|
|
6119
|
+
}
|
|
5614
6120
|
export function routineDeserializer(item) {
|
|
5615
6121
|
return {
|
|
5616
6122
|
name: item["name"],
|
|
@@ -5624,12 +6130,10 @@ export function routineDeserializer(item) {
|
|
|
5624
6130
|
updated_at: !item["updated_at"] ? item["updated_at"] : new Date(item["updated_at"] * 1000),
|
|
5625
6131
|
};
|
|
5626
6132
|
}
|
|
5627
|
-
export function
|
|
6133
|
+
export function _pagedResultWithNextLinkRoutineDeserializer(item) {
|
|
5628
6134
|
return {
|
|
5629
6135
|
data: routineArrayDeserializer(item["data"]),
|
|
5630
|
-
|
|
5631
|
-
last_id: item["last_id"],
|
|
5632
|
-
has_more: item["has_more"],
|
|
6136
|
+
next_link: item["next_link"],
|
|
5633
6137
|
};
|
|
5634
6138
|
}
|
|
5635
6139
|
export function routineArrayDeserializer(result) {
|
|
@@ -5637,12 +6141,10 @@ export function routineArrayDeserializer(result) {
|
|
|
5637
6141
|
return routineDeserializer(item);
|
|
5638
6142
|
});
|
|
5639
6143
|
}
|
|
5640
|
-
export function
|
|
6144
|
+
export function _pagedResultWithNextLinkRoutineRunDeserializer(item) {
|
|
5641
6145
|
return {
|
|
5642
6146
|
data: routineRunArrayDeserializer(item["data"]),
|
|
5643
|
-
|
|
5644
|
-
last_id: item["last_id"],
|
|
5645
|
-
has_more: item["has_more"],
|
|
6147
|
+
next_link: item["next_link"],
|
|
5646
6148
|
};
|
|
5647
6149
|
}
|
|
5648
6150
|
export function routineRunArrayDeserializer(result) {
|
|
@@ -6245,6 +6747,8 @@ export function dataGenerationJobOptionsUnionSerializer(item) {
|
|
|
6245
6747
|
return simpleQnADataGenerationJobOptionsSerializer(item);
|
|
6246
6748
|
case "traces":
|
|
6247
6749
|
return tracesDataGenerationJobOptionsSerializer(item);
|
|
6750
|
+
case "simulation_seed":
|
|
6751
|
+
return simulationSeedDataGenerationJobOptionsSerializer(item);
|
|
6248
6752
|
case "task_generation":
|
|
6249
6753
|
return taskGenerationDataGenerationJobOptionsSerializer(item);
|
|
6250
6754
|
case "tool_use":
|
|
@@ -6259,6 +6763,8 @@ export function dataGenerationJobOptionsUnionDeserializer(item) {
|
|
|
6259
6763
|
return simpleQnADataGenerationJobOptionsDeserializer(item);
|
|
6260
6764
|
case "traces":
|
|
6261
6765
|
return tracesDataGenerationJobOptionsDeserializer(item);
|
|
6766
|
+
case "simulation_seed":
|
|
6767
|
+
return simulationSeedDataGenerationJobOptionsDeserializer(item);
|
|
6262
6768
|
case "task_generation":
|
|
6263
6769
|
return taskGenerationDataGenerationJobOptionsDeserializer(item);
|
|
6264
6770
|
case "tool_use":
|
|
@@ -6313,9 +6819,31 @@ export function tracesDataGenerationJobOptionsSerializer(item) {
|
|
|
6313
6819
|
model_options: !item["model_options"]
|
|
6314
6820
|
? item["model_options"]
|
|
6315
6821
|
: dataGenerationModelOptionsSerializer(item["model_options"]),
|
|
6822
|
+
redact_private_content: item["redact_private_content"],
|
|
6316
6823
|
};
|
|
6317
6824
|
}
|
|
6318
6825
|
export function tracesDataGenerationJobOptionsDeserializer(item) {
|
|
6826
|
+
return {
|
|
6827
|
+
type: item["type"],
|
|
6828
|
+
max_samples: item["max_samples"],
|
|
6829
|
+
train_split: item["train_split"],
|
|
6830
|
+
model_options: !item["model_options"]
|
|
6831
|
+
? item["model_options"]
|
|
6832
|
+
: dataGenerationModelOptionsDeserializer(item["model_options"]),
|
|
6833
|
+
redact_private_content: item["redact_private_content"],
|
|
6834
|
+
};
|
|
6835
|
+
}
|
|
6836
|
+
export function simulationSeedDataGenerationJobOptionsSerializer(item) {
|
|
6837
|
+
return {
|
|
6838
|
+
type: item["type"],
|
|
6839
|
+
max_samples: item["max_samples"],
|
|
6840
|
+
train_split: item["train_split"],
|
|
6841
|
+
model_options: !item["model_options"]
|
|
6842
|
+
? item["model_options"]
|
|
6843
|
+
: dataGenerationModelOptionsSerializer(item["model_options"]),
|
|
6844
|
+
};
|
|
6845
|
+
}
|
|
6846
|
+
export function simulationSeedDataGenerationJobOptionsDeserializer(item) {
|
|
6319
6847
|
return {
|
|
6320
6848
|
type: item["type"],
|
|
6321
6849
|
max_samples: item["max_samples"],
|
|
@@ -6448,23 +6976,27 @@ export function dataGenerationJobArrayDeserializer(result) {
|
|
|
6448
6976
|
return dataGenerationJobDeserializer(item);
|
|
6449
6977
|
});
|
|
6450
6978
|
}
|
|
6451
|
-
export function
|
|
6979
|
+
export function agentOptimizationJobSerializer(item) {
|
|
6452
6980
|
return {
|
|
6453
|
-
inputs: !item["inputs"] ? item["inputs"] :
|
|
6981
|
+
inputs: !item["inputs"] ? item["inputs"] : agentOptimizationJobInputsSerializer(item["inputs"]),
|
|
6454
6982
|
};
|
|
6455
6983
|
}
|
|
6456
|
-
export function
|
|
6984
|
+
export function agentOptimizationJobDeserializer(item) {
|
|
6457
6985
|
return {
|
|
6458
6986
|
id: item["id"],
|
|
6459
|
-
inputs: !item["inputs"]
|
|
6460
|
-
|
|
6987
|
+
inputs: !item["inputs"]
|
|
6988
|
+
? item["inputs"]
|
|
6989
|
+
: agentOptimizationJobInputsDeserializer(item["inputs"]),
|
|
6990
|
+
result: !item["result"]
|
|
6991
|
+
? item["result"]
|
|
6992
|
+
: agentOptimizationJobResultDeserializer(item["result"]),
|
|
6461
6993
|
status: item["status"],
|
|
6462
6994
|
error: !item["error"] ? item["error"] : apiErrorDeserializer(item["error"]),
|
|
6463
6995
|
created_at: new Date(item["created_at"] * 1000),
|
|
6464
6996
|
updated_at: new Date(item["updated_at"] * 1000),
|
|
6465
6997
|
progress: !item["progress"]
|
|
6466
6998
|
? item["progress"]
|
|
6467
|
-
:
|
|
6999
|
+
: agentOptimizationJobProgressDeserializer(item["progress"]),
|
|
6468
7000
|
warnings: !item["warnings"]
|
|
6469
7001
|
? item["warnings"]
|
|
6470
7002
|
: item["warnings"].map((p) => {
|
|
@@ -6472,153 +7004,157 @@ export function optimizationJobDeserializer(item) {
|
|
|
6472
7004
|
}),
|
|
6473
7005
|
};
|
|
6474
7006
|
}
|
|
6475
|
-
export function
|
|
7007
|
+
export function agentOptimizationJobInputsSerializer(item) {
|
|
6476
7008
|
return {
|
|
6477
|
-
agent:
|
|
6478
|
-
train_dataset:
|
|
7009
|
+
agent: optimizedAgentIdentifierSerializer(item["agent"]),
|
|
7010
|
+
train_dataset: agentOptimizationDatasetInputUnionSerializer(item["train_dataset"]),
|
|
6479
7011
|
validation_dataset: !item["validation_dataset"]
|
|
6480
7012
|
? item["validation_dataset"]
|
|
6481
|
-
:
|
|
6482
|
-
evaluators:
|
|
6483
|
-
options: !item["options"]
|
|
7013
|
+
: agentOptimizationDatasetInputUnionSerializer(item["validation_dataset"]),
|
|
7014
|
+
evaluators: agentOptimizationEvaluatorRefArraySerializer(item["evaluators"]),
|
|
7015
|
+
options: !item["options"]
|
|
7016
|
+
? item["options"]
|
|
7017
|
+
: agentOptimizationOptionsSerializer(item["options"]),
|
|
6484
7018
|
};
|
|
6485
7019
|
}
|
|
6486
|
-
export function
|
|
7020
|
+
export function agentOptimizationJobInputsDeserializer(item) {
|
|
6487
7021
|
return {
|
|
6488
|
-
agent:
|
|
6489
|
-
train_dataset:
|
|
7022
|
+
agent: optimizedAgentIdentifierDeserializer(item["agent"]),
|
|
7023
|
+
train_dataset: agentOptimizationDatasetInputUnionDeserializer(item["train_dataset"]),
|
|
6490
7024
|
validation_dataset: !item["validation_dataset"]
|
|
6491
7025
|
? item["validation_dataset"]
|
|
6492
|
-
:
|
|
6493
|
-
evaluators:
|
|
6494
|
-
options: !item["options"]
|
|
7026
|
+
: agentOptimizationDatasetInputUnionDeserializer(item["validation_dataset"]),
|
|
7027
|
+
evaluators: agentOptimizationEvaluatorRefArrayDeserializer(item["evaluators"]),
|
|
7028
|
+
options: !item["options"]
|
|
7029
|
+
? item["options"]
|
|
7030
|
+
: agentOptimizationOptionsDeserializer(item["options"]),
|
|
6495
7031
|
};
|
|
6496
7032
|
}
|
|
6497
|
-
export function
|
|
7033
|
+
export function optimizedAgentIdentifierSerializer(item) {
|
|
6498
7034
|
return { agent_name: item["agent_name"], agent_version: item["agent_version"] };
|
|
6499
7035
|
}
|
|
6500
|
-
export function
|
|
7036
|
+
export function optimizedAgentIdentifierDeserializer(item) {
|
|
6501
7037
|
return {
|
|
6502
7038
|
agent_name: item["agent_name"],
|
|
6503
7039
|
agent_version: item["agent_version"],
|
|
6504
7040
|
};
|
|
6505
7041
|
}
|
|
6506
|
-
export function
|
|
7042
|
+
export function agentOptimizationDatasetInputSerializer(item) {
|
|
6507
7043
|
return { type: item["type"] };
|
|
6508
7044
|
}
|
|
6509
|
-
export function
|
|
7045
|
+
export function agentOptimizationDatasetInputDeserializer(item) {
|
|
6510
7046
|
return {
|
|
6511
7047
|
type: item["type"],
|
|
6512
7048
|
};
|
|
6513
7049
|
}
|
|
6514
|
-
export function
|
|
7050
|
+
export function agentOptimizationDatasetInputUnionSerializer(item) {
|
|
6515
7051
|
switch (item.type) {
|
|
6516
7052
|
case "inline":
|
|
6517
|
-
return
|
|
7053
|
+
return agentOptimizationInlineDatasetInputSerializer(item);
|
|
6518
7054
|
case "reference":
|
|
6519
|
-
return
|
|
7055
|
+
return agentOptimizationReferenceDatasetInputSerializer(item);
|
|
6520
7056
|
default:
|
|
6521
|
-
return
|
|
7057
|
+
return agentOptimizationDatasetInputSerializer(item);
|
|
6522
7058
|
}
|
|
6523
7059
|
}
|
|
6524
|
-
export function
|
|
7060
|
+
export function agentOptimizationDatasetInputUnionDeserializer(item) {
|
|
6525
7061
|
switch (item["type"]) {
|
|
6526
7062
|
case "inline":
|
|
6527
|
-
return
|
|
7063
|
+
return agentOptimizationInlineDatasetInputDeserializer(item);
|
|
6528
7064
|
case "reference":
|
|
6529
|
-
return
|
|
7065
|
+
return agentOptimizationReferenceDatasetInputDeserializer(item);
|
|
6530
7066
|
default:
|
|
6531
|
-
return
|
|
7067
|
+
return agentOptimizationDatasetInputDeserializer(item);
|
|
6532
7068
|
}
|
|
6533
7069
|
}
|
|
6534
|
-
export function
|
|
6535
|
-
return { type: item["type"], items:
|
|
7070
|
+
export function agentOptimizationInlineDatasetInputSerializer(item) {
|
|
7071
|
+
return { type: item["type"], items: agentOptimizationDatasetItemArraySerializer(item["items"]) };
|
|
6536
7072
|
}
|
|
6537
|
-
export function
|
|
7073
|
+
export function agentOptimizationInlineDatasetInputDeserializer(item) {
|
|
6538
7074
|
return {
|
|
6539
7075
|
type: item["type"],
|
|
6540
|
-
items:
|
|
7076
|
+
items: agentOptimizationDatasetItemArrayDeserializer(item["items"]),
|
|
6541
7077
|
};
|
|
6542
7078
|
}
|
|
6543
|
-
export function
|
|
7079
|
+
export function agentOptimizationDatasetItemArraySerializer(result) {
|
|
6544
7080
|
return result.map((item) => {
|
|
6545
|
-
return
|
|
7081
|
+
return agentOptimizationDatasetItemSerializer(item);
|
|
6546
7082
|
});
|
|
6547
7083
|
}
|
|
6548
|
-
export function
|
|
7084
|
+
export function agentOptimizationDatasetItemArrayDeserializer(result) {
|
|
6549
7085
|
return result.map((item) => {
|
|
6550
|
-
return
|
|
7086
|
+
return agentOptimizationDatasetItemDeserializer(item);
|
|
6551
7087
|
});
|
|
6552
7088
|
}
|
|
6553
|
-
export function
|
|
7089
|
+
export function agentOptimizationDatasetItemSerializer(item) {
|
|
6554
7090
|
return {
|
|
6555
7091
|
query: item["query"],
|
|
6556
7092
|
ground_truth: item["ground_truth"],
|
|
6557
7093
|
desired_num_turns: item["desired_num_turns"],
|
|
6558
7094
|
criteria: !item["criteria"]
|
|
6559
7095
|
? item["criteria"]
|
|
6560
|
-
:
|
|
7096
|
+
: agentOptimizationDatasetCriterionArraySerializer(item["criteria"]),
|
|
6561
7097
|
};
|
|
6562
7098
|
}
|
|
6563
|
-
export function
|
|
7099
|
+
export function agentOptimizationDatasetItemDeserializer(item) {
|
|
6564
7100
|
return {
|
|
6565
7101
|
query: item["query"],
|
|
6566
7102
|
ground_truth: item["ground_truth"],
|
|
6567
7103
|
desired_num_turns: item["desired_num_turns"],
|
|
6568
7104
|
criteria: !item["criteria"]
|
|
6569
7105
|
? item["criteria"]
|
|
6570
|
-
:
|
|
7106
|
+
: agentOptimizationDatasetCriterionArrayDeserializer(item["criteria"]),
|
|
6571
7107
|
};
|
|
6572
7108
|
}
|
|
6573
|
-
export function
|
|
7109
|
+
export function agentOptimizationDatasetCriterionArraySerializer(result) {
|
|
6574
7110
|
return result.map((item) => {
|
|
6575
|
-
return
|
|
7111
|
+
return agentOptimizationDatasetCriterionSerializer(item);
|
|
6576
7112
|
});
|
|
6577
7113
|
}
|
|
6578
|
-
export function
|
|
7114
|
+
export function agentOptimizationDatasetCriterionArrayDeserializer(result) {
|
|
6579
7115
|
return result.map((item) => {
|
|
6580
|
-
return
|
|
7116
|
+
return agentOptimizationDatasetCriterionDeserializer(item);
|
|
6581
7117
|
});
|
|
6582
7118
|
}
|
|
6583
|
-
export function
|
|
7119
|
+
export function agentOptimizationDatasetCriterionSerializer(item) {
|
|
6584
7120
|
return { name: item["name"], instruction: item["instruction"] };
|
|
6585
7121
|
}
|
|
6586
|
-
export function
|
|
7122
|
+
export function agentOptimizationDatasetCriterionDeserializer(item) {
|
|
6587
7123
|
return {
|
|
6588
7124
|
name: item["name"],
|
|
6589
7125
|
instruction: item["instruction"],
|
|
6590
7126
|
};
|
|
6591
7127
|
}
|
|
6592
|
-
export function
|
|
7128
|
+
export function agentOptimizationReferenceDatasetInputSerializer(item) {
|
|
6593
7129
|
return { type: item["type"], name: item["name"], version: item["version"] };
|
|
6594
7130
|
}
|
|
6595
|
-
export function
|
|
7131
|
+
export function agentOptimizationReferenceDatasetInputDeserializer(item) {
|
|
6596
7132
|
return {
|
|
6597
7133
|
type: item["type"],
|
|
6598
7134
|
name: item["name"],
|
|
6599
7135
|
version: item["version"],
|
|
6600
7136
|
};
|
|
6601
7137
|
}
|
|
6602
|
-
export function
|
|
7138
|
+
export function agentOptimizationEvaluatorRefArraySerializer(result) {
|
|
6603
7139
|
return result.map((item) => {
|
|
6604
|
-
return
|
|
7140
|
+
return agentOptimizationEvaluatorRefSerializer(item);
|
|
6605
7141
|
});
|
|
6606
7142
|
}
|
|
6607
|
-
export function
|
|
7143
|
+
export function agentOptimizationEvaluatorRefArrayDeserializer(result) {
|
|
6608
7144
|
return result.map((item) => {
|
|
6609
|
-
return
|
|
7145
|
+
return agentOptimizationEvaluatorRefDeserializer(item);
|
|
6610
7146
|
});
|
|
6611
7147
|
}
|
|
6612
|
-
export function
|
|
7148
|
+
export function agentOptimizationEvaluatorRefSerializer(item) {
|
|
6613
7149
|
return { name: item["name"], version: item["version"] };
|
|
6614
7150
|
}
|
|
6615
|
-
export function
|
|
7151
|
+
export function agentOptimizationEvaluatorRefDeserializer(item) {
|
|
6616
7152
|
return {
|
|
6617
7153
|
name: item["name"],
|
|
6618
7154
|
version: item["version"],
|
|
6619
7155
|
};
|
|
6620
7156
|
}
|
|
6621
|
-
export function
|
|
7157
|
+
export function agentOptimizationOptionsSerializer(item) {
|
|
6622
7158
|
return {
|
|
6623
7159
|
max_candidates: item["max_candidates"],
|
|
6624
7160
|
optimization_config: item["optimization_config"],
|
|
@@ -6628,7 +7164,7 @@ export function optimizationOptionsSerializer(item) {
|
|
|
6628
7164
|
max_stalls: item["max_stalls"],
|
|
6629
7165
|
};
|
|
6630
7166
|
}
|
|
6631
|
-
export function
|
|
7167
|
+
export function agentOptimizationOptionsDeserializer(item) {
|
|
6632
7168
|
return {
|
|
6633
7169
|
max_candidates: item["max_candidates"],
|
|
6634
7170
|
optimization_config: !item["optimization_config"]
|
|
@@ -6640,21 +7176,21 @@ export function optimizationOptionsDeserializer(item) {
|
|
|
6640
7176
|
max_stalls: item["max_stalls"],
|
|
6641
7177
|
};
|
|
6642
7178
|
}
|
|
6643
|
-
export function
|
|
7179
|
+
export function agentOptimizationJobResultDeserializer(item) {
|
|
6644
7180
|
return {
|
|
6645
7181
|
baseline: item["baseline"],
|
|
6646
7182
|
best: item["best"],
|
|
6647
7183
|
candidates: !item["candidates"]
|
|
6648
7184
|
? item["candidates"]
|
|
6649
|
-
:
|
|
7185
|
+
: agentOptimizationCandidateArrayDeserializer(item["candidates"]),
|
|
6650
7186
|
};
|
|
6651
7187
|
}
|
|
6652
|
-
export function
|
|
7188
|
+
export function agentOptimizationCandidateArrayDeserializer(result) {
|
|
6653
7189
|
return result.map((item) => {
|
|
6654
|
-
return
|
|
7190
|
+
return agentOptimizationCandidateDeserializer(item);
|
|
6655
7191
|
});
|
|
6656
7192
|
}
|
|
6657
|
-
export function
|
|
7193
|
+
export function agentOptimizationCandidateDeserializer(item) {
|
|
6658
7194
|
return {
|
|
6659
7195
|
candidate_id: item["candidate_id"],
|
|
6660
7196
|
name: item["name"],
|
|
@@ -6677,27 +7213,27 @@ export function promotionInfoDeserializer(item) {
|
|
|
6677
7213
|
agent_version: item["agent_version"],
|
|
6678
7214
|
};
|
|
6679
7215
|
}
|
|
6680
|
-
export function
|
|
7216
|
+
export function agentOptimizationJobProgressDeserializer(item) {
|
|
6681
7217
|
return {
|
|
6682
7218
|
candidates_completed: item["candidates_completed"],
|
|
6683
7219
|
best_score: item["best_score"],
|
|
6684
7220
|
elapsed_seconds: item["elapsed_seconds"],
|
|
6685
7221
|
};
|
|
6686
7222
|
}
|
|
6687
|
-
export function
|
|
7223
|
+
export function _agentsPagedResultAgentOptimizationJobListItemDeserializer(item) {
|
|
6688
7224
|
return {
|
|
6689
|
-
data:
|
|
7225
|
+
data: agentOptimizationJobListItemArrayDeserializer(item["data"]),
|
|
6690
7226
|
first_id: item["first_id"],
|
|
6691
7227
|
last_id: item["last_id"],
|
|
6692
7228
|
has_more: item["has_more"],
|
|
6693
7229
|
};
|
|
6694
7230
|
}
|
|
6695
|
-
export function
|
|
7231
|
+
export function agentOptimizationJobListItemArrayDeserializer(result) {
|
|
6696
7232
|
return result.map((item) => {
|
|
6697
|
-
return
|
|
7233
|
+
return agentOptimizationJobListItemDeserializer(item);
|
|
6698
7234
|
});
|
|
6699
7235
|
}
|
|
6700
|
-
export function
|
|
7236
|
+
export function agentOptimizationJobListItemDeserializer(item) {
|
|
6701
7237
|
return {
|
|
6702
7238
|
id: item["id"],
|
|
6703
7239
|
status: item["status"],
|
|
@@ -6706,8 +7242,8 @@ export function optimizationJobListItemDeserializer(item) {
|
|
|
6706
7242
|
updated_at: new Date(item["updated_at"] * 1000),
|
|
6707
7243
|
progress: !item["progress"]
|
|
6708
7244
|
? item["progress"]
|
|
6709
|
-
:
|
|
6710
|
-
agent: !item["agent"] ? item["agent"] :
|
|
7245
|
+
: agentOptimizationJobProgressDeserializer(item["progress"]),
|
|
7246
|
+
agent: !item["agent"] ? item["agent"] : optimizedAgentIdentifierDeserializer(item["agent"]),
|
|
6711
7247
|
};
|
|
6712
7248
|
}
|
|
6713
7249
|
export function updateToolboxRequestSerializer(item) {
|
|
@@ -6722,4 +7258,271 @@ export var KnownApiVersions;
|
|
|
6722
7258
|
/** Microsoft Foundry API version v1. */
|
|
6723
7259
|
KnownApiVersions["v1"] = "v1";
|
|
6724
7260
|
})(KnownApiVersions || (KnownApiVersions = {}));
|
|
7261
|
+
export function programmaticToolCallingParamDeserializer(item) {
|
|
7262
|
+
return {
|
|
7263
|
+
type: item["type"],
|
|
7264
|
+
};
|
|
7265
|
+
}
|
|
7266
|
+
export function programmaticToolCallingParamSerializer(item) {
|
|
7267
|
+
return { type: item["type"] };
|
|
7268
|
+
}
|
|
7269
|
+
export function reasoningModeEnumDeserializer(item) {
|
|
7270
|
+
return item;
|
|
7271
|
+
}
|
|
7272
|
+
export function reasoningModeEnumSerializer(item) {
|
|
7273
|
+
return item;
|
|
7274
|
+
}
|
|
7275
|
+
export function specificProgrammaticToolCallingParamDeserializer(item) {
|
|
7276
|
+
return {
|
|
7277
|
+
type: item["type"],
|
|
7278
|
+
};
|
|
7279
|
+
}
|
|
7280
|
+
export function specificProgrammaticToolCallingParamSerializer(item) {
|
|
7281
|
+
return { type: item["type"] };
|
|
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
|
+
}
|
|
6725
7528
|
//# sourceMappingURL=models.js.map
|