@azure/ai-projects 2.2.0 → 2.3.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 +180 -37
- package/dist/browser/aiProjectClient.d.ts +5 -2
- package/dist/browser/aiProjectClient.d.ts.map +1 -1
- package/dist/browser/aiProjectClient.js +13 -8
- package/dist/browser/aiProjectClient.js.map +1 -1
- 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 +147 -18
- package/dist/browser/api/agents/operations.d.ts.map +1 -1
- package/dist/browser/api/agents/operations.js +679 -42
- package/dist/browser/api/agents/operations.js.map +1 -1
- package/dist/browser/api/agents/options.d.ts +109 -3
- 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/aiProjectContext.d.ts +9 -0
- package/dist/browser/api/aiProjectContext.d.ts.map +1 -1
- package/dist/browser/api/aiProjectContext.js +1 -1
- package/dist/browser/api/aiProjectContext.js.map +1 -1
- package/dist/browser/api/beta/agents/index.d.ts +2 -2
- package/dist/browser/api/beta/agents/index.d.ts.map +1 -1
- package/dist/browser/api/beta/agents/index.js +1 -1
- package/dist/browser/api/beta/agents/index.js.map +1 -1
- package/dist/browser/api/beta/agents/operations.d.ts +8 -139
- package/dist/browser/api/beta/agents/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/agents/operations.js +30 -750
- package/dist/browser/api/beta/agents/operations.js.map +1 -1
- package/dist/browser/api/beta/agents/options.d.ts +6 -200
- package/dist/browser/api/beta/agents/options.d.ts.map +1 -1
- package/dist/browser/api/beta/agents/options.js.map +1 -1
- package/dist/browser/api/beta/datasets/operations.d.ts +4 -4
- package/dist/browser/api/beta/datasets/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/datasets/operations.js +19 -9
- package/dist/browser/api/beta/datasets/operations.js.map +1 -1
- package/dist/browser/api/beta/evaluationTaxonomies/operations.d.ts +4 -4
- package/dist/browser/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/evaluationTaxonomies/operations.js +4 -13
- package/dist/browser/api/beta/evaluationTaxonomies/operations.js.map +1 -1
- package/dist/browser/api/beta/evaluationTaxonomies/options.d.ts +0 -6
- package/dist/browser/api/beta/evaluationTaxonomies/options.d.ts.map +1 -1
- package/dist/browser/api/beta/evaluationTaxonomies/options.js.map +1 -1
- package/dist/browser/api/beta/evaluators/operations.d.ts +14 -9
- package/dist/browser/api/beta/evaluators/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/evaluators/operations.js +35 -16
- package/dist/browser/api/beta/evaluators/operations.js.map +1 -1
- package/dist/browser/api/beta/insights/operations.d.ts +3 -3
- package/dist/browser/api/beta/insights/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/insights/operations.js +13 -13
- package/dist/browser/api/beta/insights/operations.js.map +1 -1
- package/dist/browser/api/beta/insights/options.d.ts +0 -4
- package/dist/browser/api/beta/insights/options.d.ts.map +1 -1
- package/dist/browser/api/beta/insights/options.js.map +1 -1
- package/dist/browser/api/beta/memoryStores/operations.d.ts +17 -14
- package/dist/browser/api/beta/memoryStores/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/memoryStores/operations.js +59 -28
- package/dist/browser/api/beta/memoryStores/operations.js.map +1 -1
- package/dist/browser/api/beta/models/operations.d.ts +6 -6
- package/dist/browser/api/beta/models/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/models/operations.js +8 -8
- package/dist/browser/api/beta/models/operations.js.map +1 -1
- package/dist/browser/api/beta/redTeams/operations.d.ts +3 -3
- package/dist/browser/api/beta/redTeams/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/redTeams/operations.js +6 -10
- package/dist/browser/api/beta/redTeams/operations.js.map +1 -1
- package/dist/browser/api/beta/redTeams/options.d.ts +0 -4
- package/dist/browser/api/beta/redTeams/options.d.ts.map +1 -1
- package/dist/browser/api/beta/redTeams/options.js.map +1 -1
- package/dist/browser/api/beta/routines/operations.d.ts +8 -8
- package/dist/browser/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/routines/operations.js +55 -44
- package/dist/browser/api/beta/routines/operations.js.map +1 -1
- package/dist/browser/api/beta/schedules/operations.d.ts +6 -6
- package/dist/browser/api/beta/schedules/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/schedules/operations.js +9 -22
- package/dist/browser/api/beta/schedules/operations.js.map +1 -1
- package/dist/browser/api/beta/schedules/options.d.ts +0 -10
- package/dist/browser/api/beta/schedules/options.d.ts.map +1 -1
- package/dist/browser/api/beta/schedules/options.js.map +1 -1
- package/dist/browser/api/beta/skills/operations.d.ts +24 -24
- package/dist/browser/api/beta/skills/operations.d.ts.map +1 -1
- package/dist/browser/api/beta/skills/operations.js +154 -132
- package/dist/browser/api/beta/skills/operations.js.map +1 -1
- package/dist/browser/api/beta/skills/options.d.ts +6 -6
- package/dist/browser/api/beta/skills/options.d.ts.map +1 -1
- package/dist/browser/api/beta/skills/options.js.map +1 -1
- package/dist/browser/api/connections/options.d.ts +2 -2
- package/dist/browser/api/connections/options.d.ts.map +1 -1
- package/dist/browser/api/connections/options.js.map +1 -1
- package/dist/browser/api/deployments/operations.d.ts +1 -1
- package/dist/browser/api/deployments/operations.d.ts.map +1 -1
- package/dist/browser/api/deployments/operations.js +1 -1
- package/dist/browser/api/deployments/operations.js.map +1 -1
- package/dist/browser/api/evaluationRules/operations.d.ts +4 -4
- package/dist/browser/api/evaluationRules/operations.d.ts.map +1 -1
- package/dist/browser/api/evaluationRules/operations.js +4 -4
- package/dist/browser/api/evaluationRules/operations.js.map +1 -1
- package/dist/browser/api/toolboxes/index.d.ts +3 -0
- package/dist/browser/api/toolboxes/index.d.ts.map +1 -0
- package/dist/browser/api/toolboxes/index.js.map +1 -0
- package/dist/browser/api/{beta/toolboxes → toolboxes}/operations.d.ts +21 -21
- package/dist/browser/api/toolboxes/operations.d.ts.map +1 -0
- package/dist/browser/api/{beta/toolboxes → toolboxes}/operations.js +44 -62
- package/dist/browser/api/toolboxes/operations.js.map +1 -0
- package/dist/browser/api/{beta/toolboxes → toolboxes}/options.d.ts +5 -5
- package/dist/browser/api/toolboxes/options.d.ts.map +1 -0
- package/dist/browser/api/toolboxes/options.js.map +1 -0
- package/dist/browser/classic/agents/index.d.ts +102 -3
- package/dist/browser/classic/agents/index.d.ts.map +1 -1
- package/dist/browser/classic/agents/index.js +25 -10
- package/dist/browser/classic/agents/index.js.map +1 -1
- package/dist/browser/classic/beta/agents/index.d.ts +6 -103
- package/dist/browser/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/agents/index.js +2 -21
- package/dist/browser/classic/beta/agents/index.js.map +1 -1
- package/dist/browser/classic/beta/datasets/index.d.ts +4 -4
- package/dist/browser/classic/beta/datasets/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/datasets/index.js.map +1 -1
- package/dist/browser/classic/beta/evaluationTaxonomies/index.d.ts +4 -4
- package/dist/browser/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/evaluationTaxonomies/index.js.map +1 -1
- package/dist/browser/classic/beta/evaluators/index.d.ts +14 -9
- package/dist/browser/classic/beta/evaluators/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/evaluators/index.js.map +1 -1
- package/dist/browser/classic/beta/index.d.ts +0 -3
- package/dist/browser/classic/beta/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/index.js +0 -3
- package/dist/browser/classic/beta/index.js.map +1 -1
- package/dist/browser/classic/beta/insights/index.d.ts +3 -3
- package/dist/browser/classic/beta/insights/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/insights/index.js.map +1 -1
- package/dist/browser/classic/beta/memoryStores/index.d.ts +17 -14
- package/dist/browser/classic/beta/memoryStores/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/memoryStores/index.js.map +1 -1
- package/dist/browser/classic/beta/models/index.d.ts +4 -4
- package/dist/browser/classic/beta/models/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/models/index.js +1 -1
- package/dist/browser/classic/beta/models/index.js.map +1 -1
- package/dist/browser/classic/beta/redTeams/index.d.ts +3 -3
- package/dist/browser/classic/beta/redTeams/index.d.ts.map +1 -1
- package/dist/browser/classic/beta/redTeams/index.js.map +1 -1
- package/dist/browser/classic/beta/routines/index.d.ts +8 -8
- 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/classic/deployments/index.d.ts +1 -1
- package/dist/browser/classic/deployments/index.d.ts.map +1 -1
- package/dist/browser/classic/deployments/index.js.map +1 -1
- package/dist/browser/classic/index.d.ts +1 -1
- package/dist/browser/classic/index.d.ts.map +1 -1
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/classic/toolboxes/index.d.ts +25 -0
- package/dist/browser/classic/toolboxes/index.d.ts.map +1 -0
- package/dist/{esm/classic/beta → browser/classic}/toolboxes/index.js +4 -4
- package/dist/browser/classic/toolboxes/index.js.map +1 -0
- 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 +11 -7
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +1 -0
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -1
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +648 -654
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +953 -584
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/overwriteOpenAIClient.d.ts +2 -1
- package/dist/browser/overwriteOpenAIClient.d.ts.map +1 -1
- package/dist/browser/overwriteOpenAIClient.js +48 -4
- package/dist/browser/overwriteOpenAIClient.js.map +1 -1
- package/dist/browser/static-helpers/multipartHelpers.d.ts +2 -1
- package/dist/browser/static-helpers/multipartHelpers.d.ts.map +1 -1
- package/dist/browser/static-helpers/multipartHelpers.js.map +1 -1
- package/dist/browser/static-helpers/platform-types-browser.d.mts +6 -0
- package/dist/browser/static-helpers/platform-types-browser.d.mts.map +1 -0
- package/dist/browser/static-helpers/platform-types-browser.mjs +4 -0
- package/dist/browser/static-helpers/platform-types-browser.mjs.map +1 -0
- package/dist/browser/static-helpers/platform-types.d.ts +6 -0
- package/dist/browser/static-helpers/platform-types.d.ts.map +1 -0
- package/dist/browser/static-helpers/platform-types.js +4 -0
- package/dist/browser/static-helpers/platform-types.js.map +1 -0
- package/dist/browser/static-helpers/serialization/get-binary-stream-response.d.ts +2 -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.map +1 -1
- package/dist/browser/static-helpers/serialization/serialize-record.js +2 -2
- package/dist/browser/static-helpers/serialization/serialize-record.js.map +1 -1
- package/dist/browser/static-helpers/urlTemplate.js +7 -7
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
- package/dist/browser/tracing/attributes.d.ts +62 -0
- package/dist/browser/tracing/attributes.d.ts.map +1 -0
- package/dist/browser/tracing/attributes.js +230 -0
- package/dist/browser/tracing/attributes.js.map +1 -0
- package/dist/browser/tracing/configuration.d.ts +60 -0
- package/dist/browser/tracing/configuration.d.ts.map +1 -0
- package/dist/browser/tracing/configuration.js +67 -0
- package/dist/browser/tracing/configuration.js.map +1 -0
- package/dist/browser/tracing/constants.d.ts +55 -0
- package/dist/browser/tracing/constants.d.ts.map +1 -0
- package/dist/browser/tracing/constants.js +75 -0
- package/dist/browser/tracing/constants.js.map +1 -0
- package/dist/browser/tracing/formatters.d.ts +11 -0
- package/dist/browser/tracing/formatters.d.ts.map +1 -0
- package/dist/browser/tracing/formatters.js +251 -0
- package/dist/browser/tracing/formatters.js.map +1 -0
- package/dist/browser/tracing/metrics.d.ts +22 -0
- package/dist/browser/tracing/metrics.d.ts.map +1 -0
- package/dist/browser/tracing/metrics.js +77 -0
- package/dist/browser/tracing/metrics.js.map +1 -0
- package/dist/browser/tracing/responseTracing.d.ts +4 -0
- package/dist/browser/tracing/responseTracing.d.ts.map +1 -0
- package/dist/browser/tracing/responseTracing.js +223 -0
- package/dist/browser/tracing/responseTracing.js.map +1 -0
- package/dist/browser/tracing/tracingClient.d.ts +22 -0
- package/dist/browser/tracing/tracingClient.d.ts.map +1 -0
- package/dist/browser/tracing/tracingClient.js +37 -0
- package/dist/browser/tracing/tracingClient.js.map +1 -0
- package/dist/browser/tracing/tracingFetch.d.ts +14 -0
- package/dist/browser/tracing/tracingFetch.d.ts.map +1 -0
- package/dist/browser/tracing/tracingFetch.js +30 -0
- package/dist/browser/tracing/tracingFetch.js.map +1 -0
- package/dist/commonjs/aiProjectClient.d.ts +5 -2
- package/dist/commonjs/aiProjectClient.d.ts.map +1 -1
- package/dist/commonjs/aiProjectClient.js +11 -6
- package/dist/commonjs/aiProjectClient.js.map +2 -2
- 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 +32 -2
- package/dist/commonjs/api/agents/index.js.map +2 -2
- package/dist/commonjs/api/agents/operations.d.ts +147 -18
- package/dist/commonjs/api/agents/operations.d.ts.map +1 -1
- package/dist/commonjs/api/agents/operations.js +796 -51
- package/dist/commonjs/api/agents/operations.js.map +2 -2
- package/dist/commonjs/api/agents/options.d.ts +109 -3
- 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/aiProjectContext.d.ts +9 -0
- package/dist/commonjs/api/aiProjectContext.d.ts.map +1 -1
- package/dist/commonjs/api/aiProjectContext.js +1 -1
- package/dist/commonjs/api/aiProjectContext.js.map +2 -2
- package/dist/commonjs/api/beta/agents/index.d.ts +2 -2
- package/dist/commonjs/api/beta/agents/index.d.ts.map +1 -1
- package/dist/commonjs/api/beta/agents/index.js +2 -40
- package/dist/commonjs/api/beta/agents/index.js.map +2 -2
- package/dist/commonjs/api/beta/agents/operations.d.ts +8 -139
- package/dist/commonjs/api/beta/agents/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/agents/operations.js +29 -888
- package/dist/commonjs/api/beta/agents/operations.js.map +2 -2
- package/dist/commonjs/api/beta/agents/options.d.ts +6 -200
- package/dist/commonjs/api/beta/agents/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/agents/options.js.map +1 -1
- package/dist/commonjs/api/beta/datasets/operations.d.ts +4 -4
- package/dist/commonjs/api/beta/datasets/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/datasets/operations.js +15 -5
- package/dist/commonjs/api/beta/datasets/operations.js.map +2 -2
- package/dist/commonjs/api/beta/evaluationTaxonomies/operations.d.ts +4 -4
- package/dist/commonjs/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/evaluationTaxonomies/operations.js +0 -3
- package/dist/commonjs/api/beta/evaluationTaxonomies/operations.js.map +2 -2
- package/dist/commonjs/api/beta/evaluationTaxonomies/options.d.ts +0 -6
- package/dist/commonjs/api/beta/evaluationTaxonomies/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/evaluationTaxonomies/options.js.map +1 -1
- package/dist/commonjs/api/beta/evaluators/operations.d.ts +14 -9
- package/dist/commonjs/api/beta/evaluators/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/evaluators/operations.js +21 -7
- package/dist/commonjs/api/beta/evaluators/operations.js.map +2 -2
- package/dist/commonjs/api/beta/insights/operations.d.ts +3 -3
- package/dist/commonjs/api/beta/insights/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/insights/operations.js +10 -6
- package/dist/commonjs/api/beta/insights/operations.js.map +2 -2
- package/dist/commonjs/api/beta/insights/options.d.ts +0 -4
- package/dist/commonjs/api/beta/insights/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/insights/options.js.map +1 -1
- package/dist/commonjs/api/beta/memoryStores/operations.d.ts +17 -14
- package/dist/commonjs/api/beta/memoryStores/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/memoryStores/operations.js +42 -14
- package/dist/commonjs/api/beta/memoryStores/operations.js.map +2 -2
- package/dist/commonjs/api/beta/models/operations.d.ts +6 -6
- package/dist/commonjs/api/beta/models/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/models/operations.js +4 -4
- package/dist/commonjs/api/beta/models/operations.js.map +2 -2
- package/dist/commonjs/api/beta/redTeams/operations.d.ts +3 -3
- package/dist/commonjs/api/beta/redTeams/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/redTeams/operations.js +3 -3
- package/dist/commonjs/api/beta/redTeams/operations.js.map +2 -2
- package/dist/commonjs/api/beta/redTeams/options.d.ts +0 -4
- package/dist/commonjs/api/beta/redTeams/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/redTeams/options.js.map +1 -1
- package/dist/commonjs/api/beta/routines/operations.d.ts +8 -8
- package/dist/commonjs/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/routines/operations.js +47 -20
- package/dist/commonjs/api/beta/routines/operations.js.map +2 -2
- package/dist/commonjs/api/beta/schedules/operations.d.ts +6 -6
- package/dist/commonjs/api/beta/schedules/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/schedules/operations.js +3 -6
- package/dist/commonjs/api/beta/schedules/operations.js.map +2 -2
- package/dist/commonjs/api/beta/schedules/options.d.ts +0 -10
- package/dist/commonjs/api/beta/schedules/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/schedules/options.js.map +1 -1
- package/dist/commonjs/api/beta/skills/operations.d.ts +24 -24
- package/dist/commonjs/api/beta/skills/operations.d.ts.map +1 -1
- package/dist/commonjs/api/beta/skills/operations.js +159 -137
- package/dist/commonjs/api/beta/skills/operations.js.map +2 -2
- package/dist/commonjs/api/beta/skills/options.d.ts +6 -6
- package/dist/commonjs/api/beta/skills/options.d.ts.map +1 -1
- package/dist/commonjs/api/beta/skills/options.js.map +1 -1
- package/dist/commonjs/api/connections/options.d.ts +2 -2
- package/dist/commonjs/api/connections/options.d.ts.map +1 -1
- package/dist/commonjs/api/connections/options.js.map +1 -1
- package/dist/commonjs/api/deployments/operations.d.ts +1 -1
- package/dist/commonjs/api/deployments/operations.d.ts.map +1 -1
- package/dist/commonjs/api/deployments/operations.js.map +1 -1
- package/dist/commonjs/api/evaluationRules/operations.d.ts +4 -4
- package/dist/commonjs/api/evaluationRules/operations.d.ts.map +1 -1
- package/dist/commonjs/api/evaluationRules/operations.js.map +1 -1
- package/dist/commonjs/api/toolboxes/index.d.ts +3 -0
- package/dist/commonjs/api/toolboxes/index.d.ts.map +1 -0
- package/dist/commonjs/api/{beta/toolboxes → toolboxes}/index.js.map +2 -2
- package/dist/{esm/api/beta → commonjs/api}/toolboxes/operations.d.ts +21 -21
- package/dist/commonjs/api/toolboxes/operations.d.ts.map +1 -0
- package/dist/commonjs/api/{beta/toolboxes → toolboxes}/operations.js +36 -54
- package/dist/commonjs/api/toolboxes/operations.js.map +7 -0
- package/dist/{react-native/api/beta → commonjs/api}/toolboxes/options.d.ts +5 -5
- package/dist/commonjs/api/toolboxes/options.d.ts.map +1 -0
- package/dist/commonjs/api/toolboxes/options.js.map +7 -0
- package/dist/commonjs/classic/agents/index.d.ts +102 -3
- package/dist/commonjs/classic/agents/index.d.ts.map +1 -1
- package/dist/commonjs/classic/agents/index.js +30 -9
- package/dist/commonjs/classic/agents/index.js.map +2 -2
- package/dist/commonjs/classic/beta/agents/index.d.ts +6 -103
- package/dist/commonjs/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/agents/index.js +1 -20
- package/dist/commonjs/classic/beta/agents/index.js.map +2 -2
- package/dist/commonjs/classic/beta/datasets/index.d.ts +4 -4
- package/dist/commonjs/classic/beta/datasets/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/datasets/index.js.map +1 -1
- package/dist/commonjs/classic/beta/evaluationTaxonomies/index.d.ts +4 -4
- package/dist/commonjs/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/evaluationTaxonomies/index.js.map +1 -1
- package/dist/commonjs/classic/beta/evaluators/index.d.ts +14 -9
- package/dist/commonjs/classic/beta/evaluators/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/evaluators/index.js.map +2 -2
- package/dist/commonjs/classic/beta/index.d.ts +0 -3
- package/dist/commonjs/classic/beta/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/index.js +0 -3
- package/dist/commonjs/classic/beta/index.js.map +2 -2
- package/dist/commonjs/classic/beta/insights/index.d.ts +3 -3
- package/dist/commonjs/classic/beta/insights/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/insights/index.js.map +1 -1
- package/dist/commonjs/classic/beta/memoryStores/index.d.ts +17 -14
- package/dist/commonjs/classic/beta/memoryStores/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/memoryStores/index.js.map +2 -2
- package/dist/commonjs/classic/beta/models/index.d.ts +4 -4
- package/dist/commonjs/classic/beta/models/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/models/index.js +1 -1
- package/dist/commonjs/classic/beta/models/index.js.map +2 -2
- package/dist/commonjs/classic/beta/redTeams/index.d.ts +3 -3
- package/dist/commonjs/classic/beta/redTeams/index.d.ts.map +1 -1
- package/dist/commonjs/classic/beta/redTeams/index.js.map +1 -1
- package/dist/commonjs/classic/beta/routines/index.d.ts +8 -8
- 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/classic/deployments/index.d.ts +1 -1
- package/dist/commonjs/classic/deployments/index.d.ts.map +1 -1
- package/dist/commonjs/classic/deployments/index.js.map +1 -1
- package/dist/commonjs/classic/index.d.ts +1 -1
- package/dist/commonjs/classic/index.d.ts.map +1 -1
- package/dist/commonjs/classic/index.js.map +1 -1
- package/dist/commonjs/classic/toolboxes/index.d.ts +25 -0
- package/dist/commonjs/classic/toolboxes/index.d.ts.map +1 -0
- package/dist/commonjs/classic/{beta/toolboxes → toolboxes}/index.js +6 -6
- package/dist/commonjs/classic/toolboxes/index.js.map +7 -0
- 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 +11 -7
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +5 -2
- package/dist/commonjs/index.js.map +3 -3
- package/dist/commonjs/models/index.d.ts +1 -1
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +648 -654
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +1014 -587
- package/dist/commonjs/models/models.js.map +2 -2
- package/dist/commonjs/overwriteOpenAIClient.d.ts +2 -1
- package/dist/commonjs/overwriteOpenAIClient.d.ts.map +1 -1
- package/dist/commonjs/overwriteOpenAIClient.js +58 -4
- package/dist/commonjs/overwriteOpenAIClient.js.map +2 -2
- package/dist/commonjs/static-helpers/multipartHelpers.d.ts +2 -1
- package/dist/commonjs/static-helpers/multipartHelpers.d.ts.map +1 -1
- package/dist/commonjs/static-helpers/multipartHelpers.js.map +2 -2
- package/dist/commonjs/static-helpers/platform-types.d.ts +8 -0
- package/dist/commonjs/static-helpers/platform-types.d.ts.map +1 -0
- package/dist/commonjs/static-helpers/platform-types.js +16 -0
- package/dist/commonjs/static-helpers/platform-types.js.map +7 -0
- package/dist/commonjs/static-helpers/serialization/get-binary-stream-response.d.ts +2 -1
- 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.map +2 -2
- package/dist/commonjs/static-helpers/serialization/serialize-record.js +2 -2
- package/dist/commonjs/static-helpers/serialization/serialize-record.js.map +2 -2
- package/dist/commonjs/static-helpers/urlTemplate.js +7 -7
- package/dist/commonjs/static-helpers/urlTemplate.js.map +2 -2
- package/dist/commonjs/tracing/attributes.d.ts +62 -0
- package/dist/commonjs/tracing/attributes.d.ts.map +1 -0
- package/dist/commonjs/tracing/attributes.js +226 -0
- package/dist/commonjs/tracing/attributes.js.map +7 -0
- package/dist/commonjs/tracing/configuration.d.ts +60 -0
- package/dist/commonjs/tracing/configuration.d.ts.map +1 -0
- package/dist/commonjs/tracing/configuration.js +68 -0
- package/dist/commonjs/tracing/configuration.js.map +7 -0
- package/dist/commonjs/tracing/constants.d.ts +55 -0
- package/dist/commonjs/tracing/constants.d.ts.map +1 -0
- package/dist/commonjs/tracing/constants.js +177 -0
- package/dist/commonjs/tracing/constants.js.map +7 -0
- package/dist/commonjs/tracing/formatters.d.ts +11 -0
- package/dist/commonjs/tracing/formatters.d.ts.map +1 -0
- package/dist/commonjs/tracing/formatters.js +213 -0
- package/dist/commonjs/tracing/formatters.js.map +7 -0
- package/dist/commonjs/tracing/metrics.d.ts +22 -0
- package/dist/commonjs/tracing/metrics.d.ts.map +1 -0
- package/dist/commonjs/tracing/metrics.js +86 -0
- package/dist/commonjs/tracing/metrics.js.map +7 -0
- package/dist/commonjs/tracing/responseTracing.d.ts +4 -0
- package/dist/commonjs/tracing/responseTracing.d.ts.map +1 -0
- package/dist/commonjs/tracing/responseTracing.js +267 -0
- package/dist/commonjs/tracing/responseTracing.js.map +7 -0
- package/dist/commonjs/tracing/tracingClient.d.ts +22 -0
- package/dist/commonjs/tracing/tracingClient.d.ts.map +1 -0
- package/dist/commonjs/tracing/tracingClient.js +51 -0
- package/dist/commonjs/tracing/tracingClient.js.map +7 -0
- package/dist/commonjs/tracing/tracingFetch.d.ts +14 -0
- package/dist/commonjs/tracing/tracingFetch.d.ts.map +1 -0
- package/dist/commonjs/tracing/tracingFetch.js +45 -0
- package/dist/commonjs/tracing/tracingFetch.js.map +7 -0
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/aiProjectClient.d.ts +5 -2
- package/dist/esm/aiProjectClient.d.ts.map +1 -1
- package/dist/esm/aiProjectClient.js +13 -8
- package/dist/esm/aiProjectClient.js.map +1 -1
- 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 +147 -18
- package/dist/esm/api/agents/operations.d.ts.map +1 -1
- package/dist/esm/api/agents/operations.js +679 -42
- package/dist/esm/api/agents/operations.js.map +1 -1
- package/dist/esm/api/agents/options.d.ts +109 -3
- 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/aiProjectContext.d.ts +9 -0
- package/dist/esm/api/aiProjectContext.d.ts.map +1 -1
- package/dist/esm/api/aiProjectContext.js +1 -1
- package/dist/esm/api/aiProjectContext.js.map +1 -1
- package/dist/esm/api/beta/agents/index.d.ts +2 -2
- package/dist/esm/api/beta/agents/index.d.ts.map +1 -1
- package/dist/esm/api/beta/agents/index.js +1 -1
- package/dist/esm/api/beta/agents/index.js.map +1 -1
- package/dist/esm/api/beta/agents/operations.d.ts +8 -139
- package/dist/esm/api/beta/agents/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/agents/operations.js +30 -750
- package/dist/esm/api/beta/agents/operations.js.map +1 -1
- package/dist/esm/api/beta/agents/options.d.ts +6 -200
- package/dist/esm/api/beta/agents/options.d.ts.map +1 -1
- package/dist/esm/api/beta/agents/options.js.map +1 -1
- package/dist/esm/api/beta/datasets/operations.d.ts +4 -4
- package/dist/esm/api/beta/datasets/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/datasets/operations.js +19 -9
- package/dist/esm/api/beta/datasets/operations.js.map +1 -1
- package/dist/esm/api/beta/evaluationTaxonomies/operations.d.ts +4 -4
- package/dist/esm/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/evaluationTaxonomies/operations.js +4 -13
- package/dist/esm/api/beta/evaluationTaxonomies/operations.js.map +1 -1
- package/dist/esm/api/beta/evaluationTaxonomies/options.d.ts +0 -6
- package/dist/esm/api/beta/evaluationTaxonomies/options.d.ts.map +1 -1
- package/dist/esm/api/beta/evaluationTaxonomies/options.js.map +1 -1
- package/dist/esm/api/beta/evaluators/operations.d.ts +14 -9
- package/dist/esm/api/beta/evaluators/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/evaluators/operations.js +35 -16
- package/dist/esm/api/beta/evaluators/operations.js.map +1 -1
- package/dist/esm/api/beta/insights/operations.d.ts +3 -3
- package/dist/esm/api/beta/insights/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/insights/operations.js +13 -13
- package/dist/esm/api/beta/insights/operations.js.map +1 -1
- package/dist/esm/api/beta/insights/options.d.ts +0 -4
- package/dist/esm/api/beta/insights/options.d.ts.map +1 -1
- package/dist/esm/api/beta/insights/options.js.map +1 -1
- package/dist/esm/api/beta/memoryStores/operations.d.ts +17 -14
- package/dist/esm/api/beta/memoryStores/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/memoryStores/operations.js +59 -28
- package/dist/esm/api/beta/memoryStores/operations.js.map +1 -1
- package/dist/esm/api/beta/models/operations.d.ts +6 -6
- package/dist/esm/api/beta/models/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/models/operations.js +8 -8
- package/dist/esm/api/beta/models/operations.js.map +1 -1
- package/dist/esm/api/beta/redTeams/operations.d.ts +3 -3
- package/dist/esm/api/beta/redTeams/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/redTeams/operations.js +6 -10
- package/dist/esm/api/beta/redTeams/operations.js.map +1 -1
- package/dist/esm/api/beta/redTeams/options.d.ts +0 -4
- package/dist/esm/api/beta/redTeams/options.d.ts.map +1 -1
- package/dist/esm/api/beta/redTeams/options.js.map +1 -1
- package/dist/esm/api/beta/routines/operations.d.ts +8 -8
- package/dist/esm/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/routines/operations.js +55 -44
- package/dist/esm/api/beta/routines/operations.js.map +1 -1
- package/dist/esm/api/beta/schedules/operations.d.ts +6 -6
- package/dist/esm/api/beta/schedules/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/schedules/operations.js +9 -22
- package/dist/esm/api/beta/schedules/operations.js.map +1 -1
- package/dist/esm/api/beta/schedules/options.d.ts +0 -10
- package/dist/esm/api/beta/schedules/options.d.ts.map +1 -1
- package/dist/esm/api/beta/schedules/options.js.map +1 -1
- package/dist/esm/api/beta/skills/operations.d.ts +24 -24
- package/dist/esm/api/beta/skills/operations.d.ts.map +1 -1
- package/dist/esm/api/beta/skills/operations.js +154 -132
- package/dist/esm/api/beta/skills/operations.js.map +1 -1
- package/dist/esm/api/beta/skills/options.d.ts +6 -6
- package/dist/esm/api/beta/skills/options.d.ts.map +1 -1
- package/dist/esm/api/beta/skills/options.js.map +1 -1
- package/dist/esm/api/connections/options.d.ts +2 -2
- package/dist/esm/api/connections/options.d.ts.map +1 -1
- package/dist/esm/api/connections/options.js.map +1 -1
- package/dist/esm/api/deployments/operations.d.ts +1 -1
- package/dist/esm/api/deployments/operations.d.ts.map +1 -1
- package/dist/esm/api/deployments/operations.js +1 -1
- package/dist/esm/api/deployments/operations.js.map +1 -1
- package/dist/esm/api/evaluationRules/operations.d.ts +4 -4
- package/dist/esm/api/evaluationRules/operations.d.ts.map +1 -1
- package/dist/esm/api/evaluationRules/operations.js +4 -4
- package/dist/esm/api/evaluationRules/operations.js.map +1 -1
- package/dist/esm/api/toolboxes/index.d.ts +3 -0
- package/dist/esm/api/toolboxes/index.d.ts.map +1 -0
- package/dist/esm/api/toolboxes/index.js.map +1 -0
- package/dist/{commonjs/api/beta → esm/api}/toolboxes/operations.d.ts +21 -21
- package/dist/esm/api/toolboxes/operations.d.ts.map +1 -0
- package/dist/{react-native/api/beta → esm/api}/toolboxes/operations.js +44 -62
- package/dist/esm/api/toolboxes/operations.js.map +1 -0
- package/dist/{commonjs/api/beta → esm/api}/toolboxes/options.d.ts +5 -5
- package/dist/esm/api/toolboxes/options.d.ts.map +1 -0
- package/dist/esm/api/toolboxes/options.js.map +1 -0
- package/dist/esm/classic/agents/index.d.ts +102 -3
- package/dist/esm/classic/agents/index.d.ts.map +1 -1
- package/dist/esm/classic/agents/index.js +25 -10
- package/dist/esm/classic/agents/index.js.map +1 -1
- package/dist/esm/classic/beta/agents/index.d.ts +6 -103
- package/dist/esm/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/agents/index.js +2 -21
- package/dist/esm/classic/beta/agents/index.js.map +1 -1
- package/dist/esm/classic/beta/datasets/index.d.ts +4 -4
- package/dist/esm/classic/beta/datasets/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/datasets/index.js.map +1 -1
- package/dist/esm/classic/beta/evaluationTaxonomies/index.d.ts +4 -4
- package/dist/esm/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/evaluationTaxonomies/index.js.map +1 -1
- package/dist/esm/classic/beta/evaluators/index.d.ts +14 -9
- package/dist/esm/classic/beta/evaluators/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/evaluators/index.js.map +1 -1
- package/dist/esm/classic/beta/index.d.ts +0 -3
- package/dist/esm/classic/beta/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/index.js +0 -3
- package/dist/esm/classic/beta/index.js.map +1 -1
- package/dist/esm/classic/beta/insights/index.d.ts +3 -3
- package/dist/esm/classic/beta/insights/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/insights/index.js.map +1 -1
- package/dist/esm/classic/beta/memoryStores/index.d.ts +17 -14
- package/dist/esm/classic/beta/memoryStores/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/memoryStores/index.js.map +1 -1
- package/dist/esm/classic/beta/models/index.d.ts +4 -4
- package/dist/esm/classic/beta/models/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/models/index.js +1 -1
- package/dist/esm/classic/beta/models/index.js.map +1 -1
- package/dist/esm/classic/beta/redTeams/index.d.ts +3 -3
- package/dist/esm/classic/beta/redTeams/index.d.ts.map +1 -1
- package/dist/esm/classic/beta/redTeams/index.js.map +1 -1
- package/dist/esm/classic/beta/routines/index.d.ts +8 -8
- 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/classic/deployments/index.d.ts +1 -1
- package/dist/esm/classic/deployments/index.d.ts.map +1 -1
- package/dist/esm/classic/deployments/index.js.map +1 -1
- package/dist/esm/classic/index.d.ts +1 -1
- package/dist/esm/classic/index.d.ts.map +1 -1
- package/dist/esm/classic/index.js.map +1 -1
- package/dist/esm/classic/toolboxes/index.d.ts +25 -0
- package/dist/esm/classic/toolboxes/index.d.ts.map +1 -0
- package/dist/{browser/classic/beta → esm/classic}/toolboxes/index.js +4 -4
- package/dist/esm/classic/toolboxes/index.js.map +1 -0
- 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 +11 -7
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +648 -654
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +953 -584
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/overwriteOpenAIClient.d.ts +2 -1
- package/dist/esm/overwriteOpenAIClient.d.ts.map +1 -1
- package/dist/esm/overwriteOpenAIClient.js +48 -4
- package/dist/esm/overwriteOpenAIClient.js.map +1 -1
- package/dist/esm/static-helpers/multipartHelpers.d.ts +2 -1
- package/dist/esm/static-helpers/multipartHelpers.d.ts.map +1 -1
- package/dist/esm/static-helpers/multipartHelpers.js.map +1 -1
- package/dist/esm/static-helpers/platform-types.d.ts +8 -0
- package/dist/esm/static-helpers/platform-types.d.ts.map +1 -0
- package/dist/esm/static-helpers/platform-types.js +4 -0
- package/dist/esm/static-helpers/platform-types.js.map +1 -0
- package/dist/esm/static-helpers/serialization/get-binary-stream-response.d.ts +2 -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.map +1 -1
- package/dist/esm/static-helpers/serialization/serialize-record.js +2 -2
- package/dist/esm/static-helpers/serialization/serialize-record.js.map +1 -1
- package/dist/esm/static-helpers/urlTemplate.js +7 -7
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
- package/dist/esm/tracing/attributes.d.ts +62 -0
- package/dist/esm/tracing/attributes.d.ts.map +1 -0
- package/dist/esm/tracing/attributes.js +230 -0
- package/dist/esm/tracing/attributes.js.map +1 -0
- package/dist/esm/tracing/configuration.d.ts +60 -0
- package/dist/esm/tracing/configuration.d.ts.map +1 -0
- package/dist/esm/tracing/configuration.js +67 -0
- package/dist/esm/tracing/configuration.js.map +1 -0
- package/dist/esm/tracing/constants.d.ts +55 -0
- package/dist/esm/tracing/constants.d.ts.map +1 -0
- package/dist/esm/tracing/constants.js +75 -0
- package/dist/esm/tracing/constants.js.map +1 -0
- package/dist/esm/tracing/formatters.d.ts +11 -0
- package/dist/esm/tracing/formatters.d.ts.map +1 -0
- package/dist/esm/tracing/formatters.js +251 -0
- package/dist/esm/tracing/formatters.js.map +1 -0
- package/dist/esm/tracing/metrics.d.ts +22 -0
- package/dist/esm/tracing/metrics.d.ts.map +1 -0
- package/dist/esm/tracing/metrics.js +77 -0
- package/dist/esm/tracing/metrics.js.map +1 -0
- package/dist/esm/tracing/responseTracing.d.ts +4 -0
- package/dist/esm/tracing/responseTracing.d.ts.map +1 -0
- package/dist/esm/tracing/responseTracing.js +223 -0
- package/dist/esm/tracing/responseTracing.js.map +1 -0
- package/dist/esm/tracing/tracingClient.d.ts +22 -0
- package/dist/esm/tracing/tracingClient.d.ts.map +1 -0
- package/dist/esm/tracing/tracingClient.js +37 -0
- package/dist/esm/tracing/tracingClient.js.map +1 -0
- package/dist/esm/tracing/tracingFetch.d.ts +14 -0
- package/dist/esm/tracing/tracingFetch.d.ts.map +1 -0
- package/dist/esm/tracing/tracingFetch.js +30 -0
- package/dist/esm/tracing/tracingFetch.js.map +1 -0
- package/dist/react-native/aiProjectClient.d.ts +5 -2
- package/dist/react-native/aiProjectClient.d.ts.map +1 -1
- package/dist/react-native/aiProjectClient.js +13 -8
- package/dist/react-native/aiProjectClient.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 +147 -18
- package/dist/react-native/api/agents/operations.d.ts.map +1 -1
- package/dist/react-native/api/agents/operations.js +679 -42
- package/dist/react-native/api/agents/operations.js.map +1 -1
- package/dist/react-native/api/agents/options.d.ts +109 -3
- 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/aiProjectContext.d.ts +9 -0
- package/dist/react-native/api/aiProjectContext.d.ts.map +1 -1
- package/dist/react-native/api/aiProjectContext.js +1 -1
- package/dist/react-native/api/aiProjectContext.js.map +1 -1
- package/dist/react-native/api/beta/agents/index.d.ts +2 -2
- package/dist/react-native/api/beta/agents/index.d.ts.map +1 -1
- package/dist/react-native/api/beta/agents/index.js +1 -1
- package/dist/react-native/api/beta/agents/index.js.map +1 -1
- package/dist/react-native/api/beta/agents/operations.d.ts +8 -139
- package/dist/react-native/api/beta/agents/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/agents/operations.js +30 -750
- package/dist/react-native/api/beta/agents/operations.js.map +1 -1
- package/dist/react-native/api/beta/agents/options.d.ts +6 -200
- package/dist/react-native/api/beta/agents/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/agents/options.js.map +1 -1
- package/dist/react-native/api/beta/datasets/operations.d.ts +4 -4
- package/dist/react-native/api/beta/datasets/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/datasets/operations.js +19 -9
- package/dist/react-native/api/beta/datasets/operations.js.map +1 -1
- package/dist/react-native/api/beta/evaluationTaxonomies/operations.d.ts +4 -4
- package/dist/react-native/api/beta/evaluationTaxonomies/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/evaluationTaxonomies/operations.js +4 -13
- package/dist/react-native/api/beta/evaluationTaxonomies/operations.js.map +1 -1
- package/dist/react-native/api/beta/evaluationTaxonomies/options.d.ts +0 -6
- package/dist/react-native/api/beta/evaluationTaxonomies/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/evaluationTaxonomies/options.js.map +1 -1
- package/dist/react-native/api/beta/evaluators/operations.d.ts +14 -9
- package/dist/react-native/api/beta/evaluators/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/evaluators/operations.js +35 -16
- package/dist/react-native/api/beta/evaluators/operations.js.map +1 -1
- package/dist/react-native/api/beta/insights/operations.d.ts +3 -3
- package/dist/react-native/api/beta/insights/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/insights/operations.js +13 -13
- package/dist/react-native/api/beta/insights/operations.js.map +1 -1
- package/dist/react-native/api/beta/insights/options.d.ts +0 -4
- package/dist/react-native/api/beta/insights/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/insights/options.js.map +1 -1
- package/dist/react-native/api/beta/memoryStores/operations.d.ts +17 -14
- package/dist/react-native/api/beta/memoryStores/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/memoryStores/operations.js +59 -28
- package/dist/react-native/api/beta/memoryStores/operations.js.map +1 -1
- package/dist/react-native/api/beta/models/operations.d.ts +6 -6
- package/dist/react-native/api/beta/models/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/models/operations.js +8 -8
- package/dist/react-native/api/beta/models/operations.js.map +1 -1
- package/dist/react-native/api/beta/redTeams/operations.d.ts +3 -3
- package/dist/react-native/api/beta/redTeams/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/redTeams/operations.js +6 -10
- package/dist/react-native/api/beta/redTeams/operations.js.map +1 -1
- package/dist/react-native/api/beta/redTeams/options.d.ts +0 -4
- package/dist/react-native/api/beta/redTeams/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/redTeams/options.js.map +1 -1
- package/dist/react-native/api/beta/routines/operations.d.ts +8 -8
- package/dist/react-native/api/beta/routines/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/routines/operations.js +55 -44
- package/dist/react-native/api/beta/routines/operations.js.map +1 -1
- package/dist/react-native/api/beta/schedules/operations.d.ts +6 -6
- package/dist/react-native/api/beta/schedules/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/schedules/operations.js +9 -22
- package/dist/react-native/api/beta/schedules/operations.js.map +1 -1
- package/dist/react-native/api/beta/schedules/options.d.ts +0 -10
- package/dist/react-native/api/beta/schedules/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/schedules/options.js.map +1 -1
- package/dist/react-native/api/beta/skills/operations.d.ts +24 -24
- package/dist/react-native/api/beta/skills/operations.d.ts.map +1 -1
- package/dist/react-native/api/beta/skills/operations.js +154 -132
- package/dist/react-native/api/beta/skills/operations.js.map +1 -1
- package/dist/react-native/api/beta/skills/options.d.ts +6 -6
- package/dist/react-native/api/beta/skills/options.d.ts.map +1 -1
- package/dist/react-native/api/beta/skills/options.js.map +1 -1
- package/dist/react-native/api/connections/options.d.ts +2 -2
- package/dist/react-native/api/connections/options.d.ts.map +1 -1
- package/dist/react-native/api/connections/options.js.map +1 -1
- package/dist/react-native/api/deployments/operations.d.ts +1 -1
- package/dist/react-native/api/deployments/operations.d.ts.map +1 -1
- package/dist/react-native/api/deployments/operations.js +1 -1
- package/dist/react-native/api/deployments/operations.js.map +1 -1
- package/dist/react-native/api/evaluationRules/operations.d.ts +4 -4
- package/dist/react-native/api/evaluationRules/operations.d.ts.map +1 -1
- package/dist/react-native/api/evaluationRules/operations.js +4 -4
- package/dist/react-native/api/evaluationRules/operations.js.map +1 -1
- package/dist/react-native/api/toolboxes/index.d.ts +3 -0
- package/dist/react-native/api/toolboxes/index.d.ts.map +1 -0
- package/dist/react-native/api/toolboxes/index.js.map +1 -0
- package/dist/react-native/api/{beta/toolboxes → toolboxes}/operations.d.ts +21 -21
- package/dist/react-native/api/toolboxes/operations.d.ts.map +1 -0
- package/dist/{esm/api/beta → react-native/api}/toolboxes/operations.js +44 -62
- package/dist/react-native/api/toolboxes/operations.js.map +1 -0
- package/dist/{esm/api/beta → react-native/api}/toolboxes/options.d.ts +5 -5
- package/dist/react-native/api/toolboxes/options.d.ts.map +1 -0
- package/dist/react-native/api/toolboxes/options.js.map +1 -0
- package/dist/react-native/classic/agents/index.d.ts +102 -3
- package/dist/react-native/classic/agents/index.d.ts.map +1 -1
- package/dist/react-native/classic/agents/index.js +25 -10
- package/dist/react-native/classic/agents/index.js.map +1 -1
- package/dist/react-native/classic/beta/agents/index.d.ts +6 -103
- package/dist/react-native/classic/beta/agents/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/agents/index.js +2 -21
- package/dist/react-native/classic/beta/agents/index.js.map +1 -1
- package/dist/react-native/classic/beta/datasets/index.d.ts +4 -4
- package/dist/react-native/classic/beta/datasets/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/datasets/index.js.map +1 -1
- package/dist/react-native/classic/beta/evaluationTaxonomies/index.d.ts +4 -4
- package/dist/react-native/classic/beta/evaluationTaxonomies/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/evaluationTaxonomies/index.js.map +1 -1
- package/dist/react-native/classic/beta/evaluators/index.d.ts +14 -9
- package/dist/react-native/classic/beta/evaluators/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/evaluators/index.js.map +1 -1
- package/dist/react-native/classic/beta/index.d.ts +0 -3
- package/dist/react-native/classic/beta/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/index.js +0 -3
- package/dist/react-native/classic/beta/index.js.map +1 -1
- package/dist/react-native/classic/beta/insights/index.d.ts +3 -3
- package/dist/react-native/classic/beta/insights/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/insights/index.js.map +1 -1
- package/dist/react-native/classic/beta/memoryStores/index.d.ts +17 -14
- package/dist/react-native/classic/beta/memoryStores/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/memoryStores/index.js.map +1 -1
- package/dist/react-native/classic/beta/models/index.d.ts +4 -4
- package/dist/react-native/classic/beta/models/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/models/index.js +1 -1
- package/dist/react-native/classic/beta/models/index.js.map +1 -1
- package/dist/react-native/classic/beta/redTeams/index.d.ts +3 -3
- package/dist/react-native/classic/beta/redTeams/index.d.ts.map +1 -1
- package/dist/react-native/classic/beta/redTeams/index.js.map +1 -1
- package/dist/react-native/classic/beta/routines/index.d.ts +8 -8
- 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/classic/deployments/index.d.ts +1 -1
- package/dist/react-native/classic/deployments/index.d.ts.map +1 -1
- package/dist/react-native/classic/deployments/index.js.map +1 -1
- package/dist/react-native/classic/index.d.ts +1 -1
- package/dist/react-native/classic/index.d.ts.map +1 -1
- package/dist/react-native/classic/index.js.map +1 -1
- package/dist/react-native/classic/toolboxes/index.d.ts +25 -0
- package/dist/react-native/classic/toolboxes/index.d.ts.map +1 -0
- package/dist/react-native/classic/{beta/toolboxes → toolboxes}/index.js +4 -4
- package/dist/react-native/classic/toolboxes/index.js.map +1 -0
- 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 +11 -7
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +1 -0
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1 -1
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +648 -654
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +953 -584
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/overwriteOpenAIClient.d.ts +2 -1
- package/dist/react-native/overwriteOpenAIClient.d.ts.map +1 -1
- package/dist/react-native/overwriteOpenAIClient.js +48 -4
- package/dist/react-native/overwriteOpenAIClient.js.map +1 -1
- package/dist/react-native/static-helpers/multipartHelpers.d.ts +2 -1
- package/dist/react-native/static-helpers/multipartHelpers.d.ts.map +1 -1
- package/dist/react-native/static-helpers/multipartHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/platform-types-browser.d.mts +6 -0
- package/dist/react-native/static-helpers/platform-types-browser.d.mts.map +1 -0
- package/dist/react-native/static-helpers/platform-types-browser.mjs +4 -0
- package/dist/react-native/static-helpers/platform-types-browser.mjs.map +1 -0
- package/dist/react-native/static-helpers/platform-types.d.ts +6 -0
- package/dist/react-native/static-helpers/platform-types.d.ts.map +1 -0
- package/dist/react-native/static-helpers/platform-types.js +4 -0
- package/dist/react-native/static-helpers/platform-types.js.map +1 -0
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response-browser.d.mts +13 -0
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response-browser.d.mts.map +1 -0
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response-browser.mjs +17 -0
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response-browser.mjs.map +1 -0
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response.d.ts +1 -11
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response.d.ts.map +1 -1
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response.js +1 -14
- package/dist/react-native/static-helpers/serialization/get-binary-stream-response.js.map +1 -1
- package/dist/react-native/static-helpers/serialization/serialize-record.js +2 -2
- package/dist/react-native/static-helpers/serialization/serialize-record.js.map +1 -1
- package/dist/react-native/static-helpers/urlTemplate.js +7 -7
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -1
- package/dist/react-native/tracing/attributes.d.ts +62 -0
- package/dist/react-native/tracing/attributes.d.ts.map +1 -0
- package/dist/react-native/tracing/attributes.js +230 -0
- package/dist/react-native/tracing/attributes.js.map +1 -0
- package/dist/react-native/tracing/configuration.d.ts +60 -0
- package/dist/react-native/tracing/configuration.d.ts.map +1 -0
- package/dist/react-native/tracing/configuration.js +67 -0
- package/dist/react-native/tracing/configuration.js.map +1 -0
- package/dist/react-native/tracing/constants.d.ts +55 -0
- package/dist/react-native/tracing/constants.d.ts.map +1 -0
- package/dist/react-native/tracing/constants.js +75 -0
- package/dist/react-native/tracing/constants.js.map +1 -0
- package/dist/react-native/tracing/formatters.d.ts +11 -0
- package/dist/react-native/tracing/formatters.d.ts.map +1 -0
- package/dist/react-native/tracing/formatters.js +251 -0
- package/dist/react-native/tracing/formatters.js.map +1 -0
- package/dist/react-native/tracing/metrics.d.ts +22 -0
- package/dist/react-native/tracing/metrics.d.ts.map +1 -0
- package/dist/react-native/tracing/metrics.js +77 -0
- package/dist/react-native/tracing/metrics.js.map +1 -0
- package/dist/react-native/tracing/responseTracing.d.ts +4 -0
- package/dist/react-native/tracing/responseTracing.d.ts.map +1 -0
- package/dist/react-native/tracing/responseTracing.js +223 -0
- package/dist/react-native/tracing/responseTracing.js.map +1 -0
- package/dist/react-native/tracing/tracingClient.d.ts +22 -0
- package/dist/react-native/tracing/tracingClient.d.ts.map +1 -0
- package/dist/react-native/tracing/tracingClient.js +37 -0
- package/dist/react-native/tracing/tracingClient.js.map +1 -0
- package/dist/react-native/tracing/tracingFetch.d.ts +14 -0
- package/dist/react-native/tracing/tracingFetch.d.ts.map +1 -0
- package/dist/react-native/tracing/tracingFetch.js +30 -0
- package/dist/react-native/tracing/tracingFetch.js.map +1 -0
- package/package.json +9 -7
- package/dist/browser/api/beta/toolboxes/index.d.ts +0 -3
- package/dist/browser/api/beta/toolboxes/index.d.ts.map +0 -1
- package/dist/browser/api/beta/toolboxes/index.js.map +0 -1
- package/dist/browser/api/beta/toolboxes/operations.d.ts.map +0 -1
- package/dist/browser/api/beta/toolboxes/operations.js.map +0 -1
- package/dist/browser/api/beta/toolboxes/options.d.ts.map +0 -1
- package/dist/browser/api/beta/toolboxes/options.js.map +0 -1
- package/dist/browser/classic/beta/toolboxes/index.d.ts +0 -25
- package/dist/browser/classic/beta/toolboxes/index.d.ts.map +0 -1
- package/dist/browser/classic/beta/toolboxes/index.js.map +0 -1
- package/dist/commonjs/api/beta/toolboxes/index.d.ts +0 -3
- package/dist/commonjs/api/beta/toolboxes/index.d.ts.map +0 -1
- package/dist/commonjs/api/beta/toolboxes/operations.d.ts.map +0 -1
- package/dist/commonjs/api/beta/toolboxes/operations.js.map +0 -7
- package/dist/commonjs/api/beta/toolboxes/options.d.ts.map +0 -1
- package/dist/commonjs/api/beta/toolboxes/options.js.map +0 -7
- package/dist/commonjs/classic/beta/toolboxes/index.d.ts +0 -25
- package/dist/commonjs/classic/beta/toolboxes/index.d.ts.map +0 -1
- package/dist/commonjs/classic/beta/toolboxes/index.js.map +0 -7
- package/dist/esm/api/beta/toolboxes/index.d.ts +0 -3
- package/dist/esm/api/beta/toolboxes/index.d.ts.map +0 -1
- package/dist/esm/api/beta/toolboxes/index.js.map +0 -1
- package/dist/esm/api/beta/toolboxes/operations.d.ts.map +0 -1
- package/dist/esm/api/beta/toolboxes/operations.js.map +0 -1
- package/dist/esm/api/beta/toolboxes/options.d.ts.map +0 -1
- package/dist/esm/api/beta/toolboxes/options.js.map +0 -1
- package/dist/esm/classic/beta/toolboxes/index.d.ts +0 -25
- package/dist/esm/classic/beta/toolboxes/index.d.ts.map +0 -1
- package/dist/esm/classic/beta/toolboxes/index.js.map +0 -1
- package/dist/react-native/api/beta/toolboxes/index.d.ts +0 -3
- package/dist/react-native/api/beta/toolboxes/index.d.ts.map +0 -1
- package/dist/react-native/api/beta/toolboxes/index.js.map +0 -1
- package/dist/react-native/api/beta/toolboxes/operations.d.ts.map +0 -1
- package/dist/react-native/api/beta/toolboxes/operations.js.map +0 -1
- package/dist/react-native/api/beta/toolboxes/options.d.ts.map +0 -1
- package/dist/react-native/api/beta/toolboxes/options.js.map +0 -1
- package/dist/react-native/classic/beta/toolboxes/index.d.ts +0 -25
- package/dist/react-native/classic/beta/toolboxes/index.d.ts.map +0 -1
- package/dist/react-native/classic/beta/toolboxes/index.js.map +0 -1
- /package/dist/browser/api/{beta/toolboxes → toolboxes}/index.js +0 -0
- /package/dist/browser/api/{beta/toolboxes → toolboxes}/options.js +0 -0
- /package/dist/commonjs/api/{beta/toolboxes → toolboxes}/index.js +0 -0
- /package/dist/commonjs/api/{beta/toolboxes → toolboxes}/options.js +0 -0
- /package/dist/esm/api/{beta/toolboxes → toolboxes}/index.js +0 -0
- /package/dist/esm/api/{beta/toolboxes → toolboxes}/options.js +0 -0
- /package/dist/react-native/api/{beta/toolboxes → toolboxes}/index.js +0 -0
- /package/dist/react-native/api/{beta/toolboxes → toolboxes}/options.js +0 -0
|
@@ -7,6 +7,7 @@ export function agentDeserializer(item) {
|
|
|
7
7
|
object: item["object"],
|
|
8
8
|
id: item["id"],
|
|
9
9
|
name: item["name"],
|
|
10
|
+
state: item["state"],
|
|
10
11
|
versions: _agentVersionsDeserializer(item["versions"]),
|
|
11
12
|
agent_endpoint: !item["agent_endpoint"]
|
|
12
13
|
? item["agent_endpoint"]
|
|
@@ -41,6 +42,7 @@ export function agentVersionDeserializer(item) {
|
|
|
41
42
|
description: item["description"],
|
|
42
43
|
created_at: new Date(item["created_at"] * 1000),
|
|
43
44
|
definition: agentDefinitionUnionDeserializer(item["definition"]),
|
|
45
|
+
draft: item["draft"],
|
|
44
46
|
instance_identity: !item["instance_identity"]
|
|
45
47
|
? item["instance_identity"]
|
|
46
48
|
: agentIdentityDeserializer(item["instance_identity"]),
|
|
@@ -107,7 +109,6 @@ export function hostedAgentDefinitionSerializer(item) {
|
|
|
107
109
|
return {
|
|
108
110
|
kind: item["kind"],
|
|
109
111
|
rai_config: !item["rai_config"] ? item["rai_config"] : raiConfigSerializer(item["rai_config"]),
|
|
110
|
-
tools: !item["tools"] ? item["tools"] : toolUnionArraySerializer(item["tools"]),
|
|
111
112
|
cpu: item["cpu"],
|
|
112
113
|
memory: item["memory"],
|
|
113
114
|
environment_variables: item["environment_variables"],
|
|
@@ -131,12 +132,9 @@ export function hostedAgentDefinitionDeserializer(item) {
|
|
|
131
132
|
rai_config: !item["rai_config"]
|
|
132
133
|
? item["rai_config"]
|
|
133
134
|
: raiConfigDeserializer(item["rai_config"]),
|
|
134
|
-
tools: !item["tools"] ? item["tools"] : toolUnionArrayDeserializer(item["tools"]),
|
|
135
135
|
cpu: item["cpu"],
|
|
136
136
|
memory: item["memory"],
|
|
137
|
-
environment_variables:
|
|
138
|
-
? item["environment_variables"]
|
|
139
|
-
: Object.fromEntries(Object.entries(item["environment_variables"]).map(([k, p]) => [k, p])),
|
|
137
|
+
environment_variables: item["environment_variables"],
|
|
140
138
|
container_configuration: !item["container_configuration"]
|
|
141
139
|
? item["container_configuration"]
|
|
142
140
|
: containerConfigurationDeserializer(item["container_configuration"]),
|
|
@@ -197,20 +195,18 @@ export function toolUnionSerializer(item) {
|
|
|
197
195
|
return fabricIQPreviewToolSerializer(item);
|
|
198
196
|
case "memory_search_preview":
|
|
199
197
|
return memorySearchPreviewToolSerializer(item);
|
|
200
|
-
case "toolbox_search_preview":
|
|
201
|
-
return toolboxSearchPreviewToolSerializer(item);
|
|
202
198
|
case "code_interpreter":
|
|
203
199
|
return codeInterpreterToolSerializer(item);
|
|
204
|
-
case "function":
|
|
205
|
-
return functionToolSerializer(item);
|
|
206
200
|
case "file_search":
|
|
207
201
|
return fileSearchToolSerializer(item);
|
|
208
|
-
case "computer_use_preview":
|
|
209
|
-
return computerUsePreviewToolSerializer(item);
|
|
210
202
|
case "web_search":
|
|
211
203
|
return webSearchToolSerializer(item);
|
|
212
204
|
case "mcp":
|
|
213
205
|
return mcpToolSerializer(item);
|
|
206
|
+
case "function":
|
|
207
|
+
return functionToolSerializer(item);
|
|
208
|
+
case "computer_use_preview":
|
|
209
|
+
return computerUsePreviewToolSerializer(item);
|
|
214
210
|
case "image_generation":
|
|
215
211
|
return imageGenToolSerializer(item);
|
|
216
212
|
case "local_shell":
|
|
@@ -234,7 +230,7 @@ export function toolUnionSerializer(item) {
|
|
|
234
230
|
}
|
|
235
231
|
}
|
|
236
232
|
export function toolUnionDeserializer(item) {
|
|
237
|
-
switch (item
|
|
233
|
+
switch (item["type"]) {
|
|
238
234
|
case "bing_grounding":
|
|
239
235
|
return bingGroundingToolDeserializer(item);
|
|
240
236
|
case "fabric_dataagent_preview":
|
|
@@ -261,20 +257,18 @@ export function toolUnionDeserializer(item) {
|
|
|
261
257
|
return fabricIQPreviewToolDeserializer(item);
|
|
262
258
|
case "memory_search_preview":
|
|
263
259
|
return memorySearchPreviewToolDeserializer(item);
|
|
264
|
-
case "toolbox_search_preview":
|
|
265
|
-
return toolboxSearchPreviewToolDeserializer(item);
|
|
266
260
|
case "code_interpreter":
|
|
267
261
|
return codeInterpreterToolDeserializer(item);
|
|
268
|
-
case "function":
|
|
269
|
-
return functionToolDeserializer(item);
|
|
270
262
|
case "file_search":
|
|
271
263
|
return fileSearchToolDeserializer(item);
|
|
272
|
-
case "computer_use_preview":
|
|
273
|
-
return computerUsePreviewToolDeserializer(item);
|
|
274
264
|
case "web_search":
|
|
275
265
|
return webSearchToolDeserializer(item);
|
|
276
266
|
case "mcp":
|
|
277
267
|
return mcpToolDeserializer(item);
|
|
268
|
+
case "function":
|
|
269
|
+
return functionToolDeserializer(item);
|
|
270
|
+
case "computer_use_preview":
|
|
271
|
+
return computerUsePreviewToolDeserializer(item);
|
|
278
272
|
case "image_generation":
|
|
279
273
|
return imageGenToolDeserializer(item);
|
|
280
274
|
case "local_shell":
|
|
@@ -383,22 +377,12 @@ export function bingGroundingSearchConfigurationDeserializer(item) {
|
|
|
383
377
|
export function microsoftFabricPreviewToolSerializer(item) {
|
|
384
378
|
return {
|
|
385
379
|
type: item["type"],
|
|
386
|
-
name: item["name"],
|
|
387
|
-
description: item["description"],
|
|
388
|
-
tool_configs: !item["tool_configs"]
|
|
389
|
-
? item["tool_configs"]
|
|
390
|
-
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
391
380
|
fabric_dataagent_preview: fabricDataAgentToolParametersSerializer(item["fabric_dataagent_preview"]),
|
|
392
381
|
};
|
|
393
382
|
}
|
|
394
383
|
export function microsoftFabricPreviewToolDeserializer(item) {
|
|
395
384
|
return {
|
|
396
385
|
type: item["type"],
|
|
397
|
-
name: item["name"],
|
|
398
|
-
description: item["description"],
|
|
399
|
-
tool_configs: !item["tool_configs"]
|
|
400
|
-
? item["tool_configs"]
|
|
401
|
-
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
402
386
|
fabric_dataagent_preview: fabricDataAgentToolParametersDeserializer(item["fabric_dataagent_preview"]),
|
|
403
387
|
};
|
|
404
388
|
}
|
|
@@ -437,22 +421,12 @@ export function toolProjectConnectionDeserializer(item) {
|
|
|
437
421
|
export function sharepointPreviewToolSerializer(item) {
|
|
438
422
|
return {
|
|
439
423
|
type: item["type"],
|
|
440
|
-
name: item["name"],
|
|
441
|
-
description: item["description"],
|
|
442
|
-
tool_configs: !item["tool_configs"]
|
|
443
|
-
? item["tool_configs"]
|
|
444
|
-
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
445
424
|
sharepoint_grounding_preview: sharepointGroundingToolParametersSerializer(item["sharepoint_grounding_preview"]),
|
|
446
425
|
};
|
|
447
426
|
}
|
|
448
427
|
export function sharepointPreviewToolDeserializer(item) {
|
|
449
428
|
return {
|
|
450
429
|
type: item["type"],
|
|
451
|
-
name: item["name"],
|
|
452
|
-
description: item["description"],
|
|
453
|
-
tool_configs: !item["tool_configs"]
|
|
454
|
-
? item["tool_configs"]
|
|
455
|
-
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
456
430
|
sharepoint_grounding_preview: sharepointGroundingToolParametersDeserializer(item["sharepoint_grounding_preview"]),
|
|
457
431
|
};
|
|
458
432
|
}
|
|
@@ -533,19 +507,19 @@ export function aiSearchIndexResourceDeserializer(item) {
|
|
|
533
507
|
export function openApiToolSerializer(item) {
|
|
534
508
|
return {
|
|
535
509
|
type: item["type"],
|
|
536
|
-
openapi: openApiFunctionDefinitionSerializer(item["openapi"]),
|
|
537
510
|
tool_configs: !item["tool_configs"]
|
|
538
511
|
? item["tool_configs"]
|
|
539
512
|
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
513
|
+
openapi: openApiFunctionDefinitionSerializer(item["openapi"]),
|
|
540
514
|
};
|
|
541
515
|
}
|
|
542
516
|
export function openApiToolDeserializer(item) {
|
|
543
517
|
return {
|
|
544
518
|
type: item["type"],
|
|
545
|
-
openapi: openApiFunctionDefinitionDeserializer(item["openapi"]),
|
|
546
519
|
tool_configs: !item["tool_configs"]
|
|
547
520
|
? item["tool_configs"]
|
|
548
521
|
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
522
|
+
openapi: openApiFunctionDefinitionDeserializer(item["openapi"]),
|
|
549
523
|
};
|
|
550
524
|
}
|
|
551
525
|
export function openApiFunctionDefinitionSerializer(item) {
|
|
@@ -594,7 +568,7 @@ export function openApiAuthDetailsUnionSerializer(item) {
|
|
|
594
568
|
}
|
|
595
569
|
}
|
|
596
570
|
export function openApiAuthDetailsUnionDeserializer(item) {
|
|
597
|
-
switch (item
|
|
571
|
+
switch (item["type"]) {
|
|
598
572
|
case "anonymous":
|
|
599
573
|
return openApiAnonymousAuthDetailsDeserializer(item);
|
|
600
574
|
case "project_connection":
|
|
@@ -668,22 +642,12 @@ export function _openApiFunctionDefinitionFunctionDeserializer(item) {
|
|
|
668
642
|
export function bingCustomSearchPreviewToolSerializer(item) {
|
|
669
643
|
return {
|
|
670
644
|
type: item["type"],
|
|
671
|
-
name: item["name"],
|
|
672
|
-
description: item["description"],
|
|
673
|
-
tool_configs: !item["tool_configs"]
|
|
674
|
-
? item["tool_configs"]
|
|
675
|
-
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
676
645
|
bing_custom_search_preview: bingCustomSearchToolParametersSerializer(item["bing_custom_search_preview"]),
|
|
677
646
|
};
|
|
678
647
|
}
|
|
679
648
|
export function bingCustomSearchPreviewToolDeserializer(item) {
|
|
680
649
|
return {
|
|
681
650
|
type: item["type"],
|
|
682
|
-
name: item["name"],
|
|
683
|
-
description: item["description"],
|
|
684
|
-
tool_configs: !item["tool_configs"]
|
|
685
|
-
? item["tool_configs"]
|
|
686
|
-
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
687
651
|
bing_custom_search_preview: bingCustomSearchToolParametersDeserializer(item["bing_custom_search_preview"]),
|
|
688
652
|
};
|
|
689
653
|
}
|
|
@@ -730,22 +694,12 @@ export function bingCustomSearchConfigurationDeserializer(item) {
|
|
|
730
694
|
export function browserAutomationPreviewToolSerializer(item) {
|
|
731
695
|
return {
|
|
732
696
|
type: item["type"],
|
|
733
|
-
name: item["name"],
|
|
734
|
-
description: item["description"],
|
|
735
|
-
tool_configs: !item["tool_configs"]
|
|
736
|
-
? item["tool_configs"]
|
|
737
|
-
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
738
697
|
browser_automation_preview: browserAutomationToolParametersSerializer(item["browser_automation_preview"]),
|
|
739
698
|
};
|
|
740
699
|
}
|
|
741
700
|
export function browserAutomationPreviewToolDeserializer(item) {
|
|
742
701
|
return {
|
|
743
702
|
type: item["type"],
|
|
744
|
-
name: item["name"],
|
|
745
|
-
description: item["description"],
|
|
746
|
-
tool_configs: !item["tool_configs"]
|
|
747
|
-
? item["tool_configs"]
|
|
748
|
-
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
749
703
|
browser_automation_preview: browserAutomationToolParametersDeserializer(item["browser_automation_preview"]),
|
|
750
704
|
};
|
|
751
705
|
}
|
|
@@ -768,19 +722,19 @@ export function browserAutomationToolConnectionParametersDeserializer(item) {
|
|
|
768
722
|
export function azureFunctionToolSerializer(item) {
|
|
769
723
|
return {
|
|
770
724
|
type: item["type"],
|
|
771
|
-
azure_function: azureFunctionDefinitionSerializer(item["azure_function"]),
|
|
772
725
|
tool_configs: !item["tool_configs"]
|
|
773
726
|
? item["tool_configs"]
|
|
774
727
|
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
728
|
+
azure_function: azureFunctionDefinitionSerializer(item["azure_function"]),
|
|
775
729
|
};
|
|
776
730
|
}
|
|
777
731
|
export function azureFunctionToolDeserializer(item) {
|
|
778
732
|
return {
|
|
779
733
|
type: item["type"],
|
|
780
|
-
azure_function: azureFunctionDefinitionDeserializer(item["azure_function"]),
|
|
781
734
|
tool_configs: !item["tool_configs"]
|
|
782
735
|
? item["tool_configs"]
|
|
783
736
|
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
737
|
+
azure_function: azureFunctionDefinitionDeserializer(item["azure_function"]),
|
|
784
738
|
};
|
|
785
739
|
}
|
|
786
740
|
export function azureFunctionDefinitionSerializer(item) {
|
|
@@ -869,49 +823,31 @@ export function structuredOutputDefinitionDeserializer(item) {
|
|
|
869
823
|
export function a2APreviewToolSerializer(item) {
|
|
870
824
|
return {
|
|
871
825
|
type: item["type"],
|
|
872
|
-
name: item["name"],
|
|
873
|
-
description: item["description"],
|
|
874
|
-
tool_configs: !item["tool_configs"]
|
|
875
|
-
? item["tool_configs"]
|
|
876
|
-
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
877
826
|
base_url: item["base_url"],
|
|
878
827
|
agent_card_path: item["agent_card_path"],
|
|
879
828
|
project_connection_id: item["project_connection_id"],
|
|
829
|
+
send_credentials_for_agent_card: item["send_credentials_for_agent_card"],
|
|
880
830
|
};
|
|
881
831
|
}
|
|
882
832
|
export function a2APreviewToolDeserializer(item) {
|
|
883
833
|
return {
|
|
884
834
|
type: item["type"],
|
|
885
|
-
name: item["name"],
|
|
886
|
-
description: item["description"],
|
|
887
|
-
tool_configs: !item["tool_configs"]
|
|
888
|
-
? item["tool_configs"]
|
|
889
|
-
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
890
835
|
base_url: item["base_url"],
|
|
891
836
|
agent_card_path: item["agent_card_path"],
|
|
892
837
|
project_connection_id: item["project_connection_id"],
|
|
838
|
+
send_credentials_for_agent_card: item["send_credentials_for_agent_card"],
|
|
893
839
|
};
|
|
894
840
|
}
|
|
895
841
|
export function workIQPreviewToolSerializer(item) {
|
|
896
842
|
return {
|
|
897
843
|
type: item["type"],
|
|
898
844
|
project_connection_id: item["project_connection_id"],
|
|
899
|
-
name: item["name"],
|
|
900
|
-
description: item["description"],
|
|
901
|
-
tool_configs: !item["tool_configs"]
|
|
902
|
-
? item["tool_configs"]
|
|
903
|
-
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
904
845
|
};
|
|
905
846
|
}
|
|
906
847
|
export function workIQPreviewToolDeserializer(item) {
|
|
907
848
|
return {
|
|
908
849
|
type: item["type"],
|
|
909
850
|
project_connection_id: item["project_connection_id"],
|
|
910
|
-
name: item["name"],
|
|
911
|
-
description: item["description"],
|
|
912
|
-
tool_configs: !item["tool_configs"]
|
|
913
|
-
? item["tool_configs"]
|
|
914
|
-
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
915
851
|
};
|
|
916
852
|
}
|
|
917
853
|
export function fabricIQPreviewToolSerializer(item) {
|
|
@@ -923,11 +859,6 @@ export function fabricIQPreviewToolSerializer(item) {
|
|
|
923
859
|
require_approval: !item["require_approval"]
|
|
924
860
|
? item["require_approval"]
|
|
925
861
|
: _fabricIQPreviewToolRequireApprovalSerializer(item["require_approval"]),
|
|
926
|
-
name: item["name"],
|
|
927
|
-
description: item["description"],
|
|
928
|
-
tool_configs: !item["tool_configs"]
|
|
929
|
-
? item["tool_configs"]
|
|
930
|
-
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
931
862
|
};
|
|
932
863
|
}
|
|
933
864
|
export function fabricIQPreviewToolDeserializer(item) {
|
|
@@ -939,11 +870,6 @@ export function fabricIQPreviewToolDeserializer(item) {
|
|
|
939
870
|
require_approval: !item["require_approval"]
|
|
940
871
|
? item["require_approval"]
|
|
941
872
|
: _fabricIQPreviewToolRequireApprovalDeserializer(item["require_approval"]),
|
|
942
|
-
name: item["name"],
|
|
943
|
-
description: item["description"],
|
|
944
|
-
tool_configs: !item["tool_configs"]
|
|
945
|
-
? item["tool_configs"]
|
|
946
|
-
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
947
873
|
};
|
|
948
874
|
}
|
|
949
875
|
export function _fabricIQPreviewToolRequireApprovalSerializer(item) {
|
|
@@ -987,11 +913,6 @@ export function mcpToolFilterDeserializer(item) {
|
|
|
987
913
|
export function memorySearchPreviewToolSerializer(item) {
|
|
988
914
|
return {
|
|
989
915
|
type: item["type"],
|
|
990
|
-
name: item["name"],
|
|
991
|
-
description: item["description"],
|
|
992
|
-
tool_configs: !item["tool_configs"]
|
|
993
|
-
? item["tool_configs"]
|
|
994
|
-
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
995
916
|
memory_store_name: item["memory_store_name"],
|
|
996
917
|
scope: item["scope"],
|
|
997
918
|
search_options: !item["search_options"]
|
|
@@ -1003,11 +924,6 @@ export function memorySearchPreviewToolSerializer(item) {
|
|
|
1003
924
|
export function memorySearchPreviewToolDeserializer(item) {
|
|
1004
925
|
return {
|
|
1005
926
|
type: item["type"],
|
|
1006
|
-
name: item["name"],
|
|
1007
|
-
description: item["description"],
|
|
1008
|
-
tool_configs: !item["tool_configs"]
|
|
1009
|
-
? item["tool_configs"]
|
|
1010
|
-
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
1011
927
|
memory_store_name: item["memory_store_name"],
|
|
1012
928
|
scope: item["scope"],
|
|
1013
929
|
search_options: !item["search_options"]
|
|
@@ -1024,26 +940,6 @@ export function memorySearchOptionsDeserializer(item) {
|
|
|
1024
940
|
max_memories: item["max_memories"],
|
|
1025
941
|
};
|
|
1026
942
|
}
|
|
1027
|
-
export function toolboxSearchPreviewToolSerializer(item) {
|
|
1028
|
-
return {
|
|
1029
|
-
type: item["type"],
|
|
1030
|
-
name: item["name"],
|
|
1031
|
-
description: item["description"],
|
|
1032
|
-
tool_configs: !item["tool_configs"]
|
|
1033
|
-
? item["tool_configs"]
|
|
1034
|
-
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
1035
|
-
};
|
|
1036
|
-
}
|
|
1037
|
-
export function toolboxSearchPreviewToolDeserializer(item) {
|
|
1038
|
-
return {
|
|
1039
|
-
type: item["type"],
|
|
1040
|
-
name: item["name"],
|
|
1041
|
-
description: item["description"],
|
|
1042
|
-
tool_configs: !item["tool_configs"]
|
|
1043
|
-
? item["tool_configs"]
|
|
1044
|
-
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
1045
|
-
};
|
|
1046
|
-
}
|
|
1047
943
|
export function codeInterpreterToolSerializer(item) {
|
|
1048
944
|
return {
|
|
1049
945
|
type: item["type"],
|
|
@@ -1425,6 +1321,7 @@ export function mcpToolSerializer(item) {
|
|
|
1425
1321
|
server_label: item["server_label"],
|
|
1426
1322
|
server_url: item["server_url"],
|
|
1427
1323
|
connector_id: item["connector_id"],
|
|
1324
|
+
tunnel_id: item["tunnel_id"],
|
|
1428
1325
|
authorization: item["authorization"],
|
|
1429
1326
|
server_description: item["server_description"],
|
|
1430
1327
|
headers: item["headers"],
|
|
@@ -1447,6 +1344,7 @@ export function mcpToolDeserializer(item) {
|
|
|
1447
1344
|
server_label: item["server_label"],
|
|
1448
1345
|
server_url: item["server_url"],
|
|
1449
1346
|
connector_id: item["connector_id"],
|
|
1347
|
+
tunnel_id: item["tunnel_id"],
|
|
1450
1348
|
authorization: item["authorization"],
|
|
1451
1349
|
server_description: item["server_description"],
|
|
1452
1350
|
headers: item["headers"],
|
|
@@ -1784,7 +1682,7 @@ export function customToolParamFormatUnionSerializer(item) {
|
|
|
1784
1682
|
}
|
|
1785
1683
|
}
|
|
1786
1684
|
export function customToolParamFormatUnionDeserializer(item) {
|
|
1787
|
-
switch (item
|
|
1685
|
+
switch (item["type"]) {
|
|
1788
1686
|
case "text":
|
|
1789
1687
|
return customTextFormatParamDeserializer(item);
|
|
1790
1688
|
case "grammar":
|
|
@@ -2159,6 +2057,7 @@ export function reasoningSerializer(item) {
|
|
|
2159
2057
|
return {
|
|
2160
2058
|
effort: item["effort"],
|
|
2161
2059
|
summary: item["summary"],
|
|
2060
|
+
context: item["context"],
|
|
2162
2061
|
generate_summary: item["generate_summary"],
|
|
2163
2062
|
};
|
|
2164
2063
|
}
|
|
@@ -2166,6 +2065,7 @@ export function reasoningDeserializer(item) {
|
|
|
2166
2065
|
return {
|
|
2167
2066
|
effort: item["effort"],
|
|
2168
2067
|
summary: item["summary"],
|
|
2068
|
+
context: item["context"],
|
|
2169
2069
|
generate_summary: item["generate_summary"],
|
|
2170
2070
|
};
|
|
2171
2071
|
}
|
|
@@ -2264,9 +2164,7 @@ export function toolChoiceAllowedDeserializer(item) {
|
|
|
2264
2164
|
return {
|
|
2265
2165
|
type: item["type"],
|
|
2266
2166
|
mode: item["mode"],
|
|
2267
|
-
tools: item["tools"]
|
|
2268
|
-
return Object.fromEntries(Object.entries(p).map(([k1, p1]) => [k1, p1]));
|
|
2269
|
-
}),
|
|
2167
|
+
tools: item["tools"],
|
|
2270
2168
|
};
|
|
2271
2169
|
}
|
|
2272
2170
|
export function toolChoiceFunctionSerializer(item) {
|
|
@@ -2433,7 +2331,7 @@ export function textResponseFormatJsonSchemaDeserializer(item) {
|
|
|
2433
2331
|
type: item["type"],
|
|
2434
2332
|
description: item["description"],
|
|
2435
2333
|
name: item["name"],
|
|
2436
|
-
schema:
|
|
2334
|
+
schema: item["schema"],
|
|
2437
2335
|
strict: item["strict"],
|
|
2438
2336
|
};
|
|
2439
2337
|
}
|
|
@@ -2479,9 +2377,7 @@ export function structuredInputDefinitionDeserializer(item) {
|
|
|
2479
2377
|
return {
|
|
2480
2378
|
description: item["description"],
|
|
2481
2379
|
default_value: item["default_value"],
|
|
2482
|
-
schema:
|
|
2483
|
-
? item["schema"]
|
|
2484
|
-
: Object.fromEntries(Object.entries(item["schema"]).map(([k, p]) => [k, p])),
|
|
2380
|
+
schema: item["schema"],
|
|
2485
2381
|
required: item["required"],
|
|
2486
2382
|
};
|
|
2487
2383
|
}
|
|
@@ -2561,11 +2457,9 @@ export function agentEndpointConfigSerializer(item) {
|
|
|
2561
2457
|
version_selector: !item["version_selector"]
|
|
2562
2458
|
? item["version_selector"]
|
|
2563
2459
|
: versionSelectorSerializer(item["version_selector"]),
|
|
2564
|
-
|
|
2565
|
-
? item["
|
|
2566
|
-
: item["
|
|
2567
|
-
return p;
|
|
2568
|
-
}),
|
|
2460
|
+
protocol_configuration: !item["protocol_configuration"]
|
|
2461
|
+
? item["protocol_configuration"]
|
|
2462
|
+
: protocolConfigurationSerializer(item["protocol_configuration"]),
|
|
2569
2463
|
authorization_schemes: !item["authorization_schemes"]
|
|
2570
2464
|
? item["authorization_schemes"]
|
|
2571
2465
|
: agentEndpointAuthorizationSchemeUnionArraySerializer(item["authorization_schemes"]),
|
|
@@ -2576,11 +2470,9 @@ export function agentEndpointConfigDeserializer(item) {
|
|
|
2576
2470
|
version_selector: !item["version_selector"]
|
|
2577
2471
|
? item["version_selector"]
|
|
2578
2472
|
: versionSelectorDeserializer(item["version_selector"]),
|
|
2579
|
-
|
|
2580
|
-
? item["
|
|
2581
|
-
: item["
|
|
2582
|
-
return p;
|
|
2583
|
-
}),
|
|
2473
|
+
protocol_configuration: !item["protocol_configuration"]
|
|
2474
|
+
? item["protocol_configuration"]
|
|
2475
|
+
: protocolConfigurationDeserializer(item["protocol_configuration"]),
|
|
2584
2476
|
authorization_schemes: !item["authorization_schemes"]
|
|
2585
2477
|
? item["authorization_schemes"]
|
|
2586
2478
|
: agentEndpointAuthorizationSchemeUnionArrayDeserializer(item["authorization_schemes"]),
|
|
@@ -2645,6 +2537,80 @@ export function fixedRatioVersionSelectionRuleDeserializer(item) {
|
|
|
2645
2537
|
traffic_percentage: item["traffic_percentage"],
|
|
2646
2538
|
};
|
|
2647
2539
|
}
|
|
2540
|
+
export function protocolConfigurationSerializer(item) {
|
|
2541
|
+
return {
|
|
2542
|
+
activity: !item["activity"]
|
|
2543
|
+
? item["activity"]
|
|
2544
|
+
: activityProtocolConfigurationSerializer(item["activity"]),
|
|
2545
|
+
responses: !item["responses"]
|
|
2546
|
+
? item["responses"]
|
|
2547
|
+
: responsesProtocolConfigurationSerializer(item["responses"]),
|
|
2548
|
+
a2a: !item["a2a"] ? item["a2a"] : a2AProtocolConfigurationSerializer(item["a2a"]),
|
|
2549
|
+
mcp: !item["mcp"] ? item["mcp"] : mcpProtocolConfigurationSerializer(item["mcp"]),
|
|
2550
|
+
invocations: !item["invocations"]
|
|
2551
|
+
? item["invocations"]
|
|
2552
|
+
: invocationsProtocolConfigurationSerializer(item["invocations"]),
|
|
2553
|
+
invocations_ws: !item["invocations_ws"]
|
|
2554
|
+
? item["invocations_ws"]
|
|
2555
|
+
: invocationsWsProtocolConfigurationSerializer(item["invocations_ws"]),
|
|
2556
|
+
};
|
|
2557
|
+
}
|
|
2558
|
+
export function protocolConfigurationDeserializer(item) {
|
|
2559
|
+
return {
|
|
2560
|
+
activity: !item["activity"]
|
|
2561
|
+
? item["activity"]
|
|
2562
|
+
: activityProtocolConfigurationDeserializer(item["activity"]),
|
|
2563
|
+
responses: !item["responses"]
|
|
2564
|
+
? item["responses"]
|
|
2565
|
+
: responsesProtocolConfigurationDeserializer(item["responses"]),
|
|
2566
|
+
a2a: !item["a2a"] ? item["a2a"] : a2AProtocolConfigurationDeserializer(item["a2a"]),
|
|
2567
|
+
mcp: !item["mcp"] ? item["mcp"] : mcpProtocolConfigurationDeserializer(item["mcp"]),
|
|
2568
|
+
invocations: !item["invocations"]
|
|
2569
|
+
? item["invocations"]
|
|
2570
|
+
: invocationsProtocolConfigurationDeserializer(item["invocations"]),
|
|
2571
|
+
invocations_ws: !item["invocations_ws"]
|
|
2572
|
+
? item["invocations_ws"]
|
|
2573
|
+
: invocationsWsProtocolConfigurationDeserializer(item["invocations_ws"]),
|
|
2574
|
+
};
|
|
2575
|
+
}
|
|
2576
|
+
export function activityProtocolConfigurationSerializer(item) {
|
|
2577
|
+
return { enable_m365_public_endpoint: item["enable_m365_public_endpoint"] };
|
|
2578
|
+
}
|
|
2579
|
+
export function activityProtocolConfigurationDeserializer(item) {
|
|
2580
|
+
return {
|
|
2581
|
+
enable_m365_public_endpoint: item["enable_m365_public_endpoint"],
|
|
2582
|
+
};
|
|
2583
|
+
}
|
|
2584
|
+
export function responsesProtocolConfigurationSerializer(_item) {
|
|
2585
|
+
return {};
|
|
2586
|
+
}
|
|
2587
|
+
export function responsesProtocolConfigurationDeserializer(item) {
|
|
2588
|
+
return item;
|
|
2589
|
+
}
|
|
2590
|
+
export function a2AProtocolConfigurationSerializer(_item) {
|
|
2591
|
+
return {};
|
|
2592
|
+
}
|
|
2593
|
+
export function a2AProtocolConfigurationDeserializer(item) {
|
|
2594
|
+
return item;
|
|
2595
|
+
}
|
|
2596
|
+
export function mcpProtocolConfigurationSerializer(_item) {
|
|
2597
|
+
return {};
|
|
2598
|
+
}
|
|
2599
|
+
export function mcpProtocolConfigurationDeserializer(item) {
|
|
2600
|
+
return item;
|
|
2601
|
+
}
|
|
2602
|
+
export function invocationsProtocolConfigurationSerializer(_item) {
|
|
2603
|
+
return {};
|
|
2604
|
+
}
|
|
2605
|
+
export function invocationsProtocolConfigurationDeserializer(item) {
|
|
2606
|
+
return item;
|
|
2607
|
+
}
|
|
2608
|
+
export function invocationsWsProtocolConfigurationSerializer(_item) {
|
|
2609
|
+
return {};
|
|
2610
|
+
}
|
|
2611
|
+
export function invocationsWsProtocolConfigurationDeserializer(item) {
|
|
2612
|
+
return item;
|
|
2613
|
+
}
|
|
2648
2614
|
export function agentEndpointAuthorizationSchemeUnionArraySerializer(result) {
|
|
2649
2615
|
return result.map((item) => {
|
|
2650
2616
|
return agentEndpointAuthorizationSchemeUnionSerializer(item);
|
|
@@ -2671,6 +2637,8 @@ export function agentEndpointAuthorizationSchemeUnionSerializer(item) {
|
|
|
2671
2637
|
return botServiceAuthorizationSchemeSerializer(item);
|
|
2672
2638
|
case "BotServiceRbac":
|
|
2673
2639
|
return botServiceRbacAuthorizationSchemeSerializer(item);
|
|
2640
|
+
case "BotServiceTenant":
|
|
2641
|
+
return botServiceTenantAuthorizationSchemeSerializer(item);
|
|
2674
2642
|
default:
|
|
2675
2643
|
return agentEndpointAuthorizationSchemeSerializer(item);
|
|
2676
2644
|
}
|
|
@@ -2683,6 +2651,8 @@ export function agentEndpointAuthorizationSchemeUnionDeserializer(item) {
|
|
|
2683
2651
|
return botServiceAuthorizationSchemeDeserializer(item);
|
|
2684
2652
|
case "BotServiceRbac":
|
|
2685
2653
|
return botServiceRbacAuthorizationSchemeDeserializer(item);
|
|
2654
|
+
case "BotServiceTenant":
|
|
2655
|
+
return botServiceTenantAuthorizationSchemeDeserializer(item);
|
|
2686
2656
|
default:
|
|
2687
2657
|
return agentEndpointAuthorizationSchemeDeserializer(item);
|
|
2688
2658
|
}
|
|
@@ -2690,61 +2660,11 @@ export function agentEndpointAuthorizationSchemeUnionDeserializer(item) {
|
|
|
2690
2660
|
export function entraAuthorizationSchemeSerializer(item) {
|
|
2691
2661
|
return {
|
|
2692
2662
|
type: item["type"],
|
|
2693
|
-
isolation_key_source: !item["isolation_key_source"]
|
|
2694
|
-
? item["isolation_key_source"]
|
|
2695
|
-
: isolationKeySourceUnionSerializer(item["isolation_key_source"]),
|
|
2696
2663
|
};
|
|
2697
2664
|
}
|
|
2698
2665
|
export function entraAuthorizationSchemeDeserializer(item) {
|
|
2699
2666
|
return {
|
|
2700
2667
|
type: item["type"],
|
|
2701
|
-
isolation_key_source: !item["isolation_key_source"]
|
|
2702
|
-
? item["isolation_key_source"]
|
|
2703
|
-
: isolationKeySourceUnionDeserializer(item["isolation_key_source"]),
|
|
2704
|
-
};
|
|
2705
|
-
}
|
|
2706
|
-
export function isolationKeySourceSerializer(item) {
|
|
2707
|
-
return { kind: item["kind"] };
|
|
2708
|
-
}
|
|
2709
|
-
export function isolationKeySourceDeserializer(item) {
|
|
2710
|
-
return {
|
|
2711
|
-
kind: item["kind"],
|
|
2712
|
-
};
|
|
2713
|
-
}
|
|
2714
|
-
export function isolationKeySourceUnionSerializer(item) {
|
|
2715
|
-
switch (item.kind) {
|
|
2716
|
-
case "Entra":
|
|
2717
|
-
return entraIsolationKeySourceSerializer(item);
|
|
2718
|
-
case "Header":
|
|
2719
|
-
return headerIsolationKeySourceSerializer(item);
|
|
2720
|
-
default:
|
|
2721
|
-
return isolationKeySourceSerializer(item);
|
|
2722
|
-
}
|
|
2723
|
-
}
|
|
2724
|
-
export function isolationKeySourceUnionDeserializer(item) {
|
|
2725
|
-
switch (item["kind"]) {
|
|
2726
|
-
case "Entra":
|
|
2727
|
-
return entraIsolationKeySourceDeserializer(item);
|
|
2728
|
-
case "Header":
|
|
2729
|
-
return headerIsolationKeySourceDeserializer(item);
|
|
2730
|
-
default:
|
|
2731
|
-
return isolationKeySourceDeserializer(item);
|
|
2732
|
-
}
|
|
2733
|
-
}
|
|
2734
|
-
export function entraIsolationKeySourceSerializer(item) {
|
|
2735
|
-
return { kind: item["kind"] };
|
|
2736
|
-
}
|
|
2737
|
-
export function entraIsolationKeySourceDeserializer(item) {
|
|
2738
|
-
return {
|
|
2739
|
-
kind: item["kind"],
|
|
2740
|
-
};
|
|
2741
|
-
}
|
|
2742
|
-
export function headerIsolationKeySourceSerializer(item) {
|
|
2743
|
-
return { kind: item["kind"] };
|
|
2744
|
-
}
|
|
2745
|
-
export function headerIsolationKeySourceDeserializer(item) {
|
|
2746
|
-
return {
|
|
2747
|
-
kind: item["kind"],
|
|
2748
2668
|
};
|
|
2749
2669
|
}
|
|
2750
2670
|
export function botServiceAuthorizationSchemeSerializer(item) {
|
|
@@ -2763,6 +2683,14 @@ export function botServiceRbacAuthorizationSchemeDeserializer(item) {
|
|
|
2763
2683
|
type: item["type"],
|
|
2764
2684
|
};
|
|
2765
2685
|
}
|
|
2686
|
+
export function botServiceTenantAuthorizationSchemeSerializer(item) {
|
|
2687
|
+
return { type: item["type"] };
|
|
2688
|
+
}
|
|
2689
|
+
export function botServiceTenantAuthorizationSchemeDeserializer(item) {
|
|
2690
|
+
return {
|
|
2691
|
+
type: item["type"],
|
|
2692
|
+
};
|
|
2693
|
+
}
|
|
2766
2694
|
export function agentCardSerializer(item) {
|
|
2767
2695
|
return {
|
|
2768
2696
|
version: item["version"],
|
|
@@ -2924,7 +2852,7 @@ export function evaluationRuleActionUnionSerializer(item) {
|
|
|
2924
2852
|
}
|
|
2925
2853
|
}
|
|
2926
2854
|
export function evaluationRuleActionUnionDeserializer(item) {
|
|
2927
|
-
switch (item
|
|
2855
|
+
switch (item["type"]) {
|
|
2928
2856
|
case "continuousEvaluation":
|
|
2929
2857
|
return continuousEvaluationRuleActionDeserializer(item);
|
|
2930
2858
|
case "humanEvaluationPreview":
|
|
@@ -2934,13 +2862,19 @@ export function evaluationRuleActionUnionDeserializer(item) {
|
|
|
2934
2862
|
}
|
|
2935
2863
|
}
|
|
2936
2864
|
export function continuousEvaluationRuleActionSerializer(item) {
|
|
2937
|
-
return {
|
|
2865
|
+
return {
|
|
2866
|
+
type: item["type"],
|
|
2867
|
+
evalId: item["evalId"],
|
|
2868
|
+
maxHourlyRuns: item["maxHourlyRuns"],
|
|
2869
|
+
samplingRate: item["samplingRate"],
|
|
2870
|
+
};
|
|
2938
2871
|
}
|
|
2939
2872
|
export function continuousEvaluationRuleActionDeserializer(item) {
|
|
2940
2873
|
return {
|
|
2941
2874
|
type: item["type"],
|
|
2942
2875
|
evalId: item["evalId"],
|
|
2943
2876
|
maxHourlyRuns: item["maxHourlyRuns"],
|
|
2877
|
+
samplingRate: item["samplingRate"],
|
|
2944
2878
|
};
|
|
2945
2879
|
}
|
|
2946
2880
|
export function humanEvaluationPreviewRuleActionSerializer(item) {
|
|
@@ -2993,7 +2927,7 @@ export function baseCredentialsDeserializer(item) {
|
|
|
2993
2927
|
};
|
|
2994
2928
|
}
|
|
2995
2929
|
export function baseCredentialsUnionDeserializer(item) {
|
|
2996
|
-
switch (item
|
|
2930
|
+
switch (item["type"]) {
|
|
2997
2931
|
case "ApiKey":
|
|
2998
2932
|
return apiKeyCredentialsDeserializer(item);
|
|
2999
2933
|
case "AAD":
|
|
@@ -3103,7 +3037,7 @@ export function datasetVersionUnionSerializer(item) {
|
|
|
3103
3037
|
}
|
|
3104
3038
|
}
|
|
3105
3039
|
export function datasetVersionUnionDeserializer(item) {
|
|
3106
|
-
switch (item
|
|
3040
|
+
switch (item["type"]) {
|
|
3107
3041
|
case "uri_file":
|
|
3108
3042
|
return fileDatasetVersionDeserializer(item);
|
|
3109
3043
|
case "uri_folder":
|
|
@@ -3196,7 +3130,7 @@ export function deploymentDeserializer(item) {
|
|
|
3196
3130
|
};
|
|
3197
3131
|
}
|
|
3198
3132
|
export function deploymentUnionDeserializer(item) {
|
|
3199
|
-
switch (item
|
|
3133
|
+
switch (item["type"]) {
|
|
3200
3134
|
case "ModelDeployment":
|
|
3201
3135
|
return modelDeploymentDeserializer(item);
|
|
3202
3136
|
default:
|
|
@@ -3277,7 +3211,7 @@ export function indexUnionSerializer(item) {
|
|
|
3277
3211
|
}
|
|
3278
3212
|
}
|
|
3279
3213
|
export function indexUnionDeserializer(item) {
|
|
3280
|
-
switch (item
|
|
3214
|
+
switch (item["type"]) {
|
|
3281
3215
|
case "AzureSearch":
|
|
3282
3216
|
return azureAISearchIndexDeserializer(item);
|
|
3283
3217
|
case "ManagedAzureSearch":
|
|
@@ -3496,276 +3430,542 @@ export function sessionDirectoryEntryDeserializer(item) {
|
|
|
3496
3430
|
modified_time: new Date(item["modified_time"] * 1000),
|
|
3497
3431
|
};
|
|
3498
3432
|
}
|
|
3499
|
-
export function
|
|
3500
|
-
return {
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
validation_dataset_reference: !item["validation_dataset_reference"]
|
|
3504
|
-
? item["validation_dataset_reference"]
|
|
3505
|
-
: datasetRefSerializer(item["validation_dataset_reference"]),
|
|
3506
|
-
evaluators: !item["evaluators"]
|
|
3507
|
-
? item["evaluators"]
|
|
3508
|
-
: item["evaluators"].map((p) => {
|
|
3509
|
-
return p;
|
|
3510
|
-
}),
|
|
3511
|
-
options: !item["options"] ? item["options"] : optimizationOptionsSerializer(item["options"]),
|
|
3512
|
-
};
|
|
3513
|
-
}
|
|
3514
|
-
export function optimizationJobInputsDeserializer(item) {
|
|
3515
|
-
return {
|
|
3516
|
-
agent: agentIdentifierDeserializer(item["agent"]),
|
|
3517
|
-
train_dataset_reference: datasetRefDeserializer(item["train_dataset_reference"]),
|
|
3518
|
-
validation_dataset_reference: !item["validation_dataset_reference"]
|
|
3519
|
-
? item["validation_dataset_reference"]
|
|
3520
|
-
: datasetRefDeserializer(item["validation_dataset_reference"]),
|
|
3521
|
-
evaluators: !item["evaluators"]
|
|
3522
|
-
? item["evaluators"]
|
|
3523
|
-
: item["evaluators"].map((p) => {
|
|
3524
|
-
return p;
|
|
3525
|
-
}),
|
|
3526
|
-
options: !item["options"] ? item["options"] : optimizationOptionsDeserializer(item["options"]),
|
|
3527
|
-
};
|
|
3433
|
+
export function toolboxToolUnionArraySerializer(result) {
|
|
3434
|
+
return result.map((item) => {
|
|
3435
|
+
return toolboxToolUnionSerializer(item);
|
|
3436
|
+
});
|
|
3528
3437
|
}
|
|
3529
|
-
export function
|
|
3530
|
-
return
|
|
3438
|
+
export function toolboxToolUnionArrayDeserializer(result) {
|
|
3439
|
+
return result.map((item) => {
|
|
3440
|
+
return toolboxToolUnionDeserializer(item);
|
|
3441
|
+
});
|
|
3531
3442
|
}
|
|
3532
|
-
export function
|
|
3443
|
+
export function toolboxToolSerializer(item) {
|
|
3533
3444
|
return {
|
|
3534
|
-
|
|
3535
|
-
|
|
3445
|
+
type: item["type"],
|
|
3446
|
+
name: item["name"],
|
|
3447
|
+
description: item["description"],
|
|
3448
|
+
tool_configs: !item["tool_configs"]
|
|
3449
|
+
? item["tool_configs"]
|
|
3450
|
+
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
3536
3451
|
};
|
|
3537
3452
|
}
|
|
3538
|
-
export function
|
|
3539
|
-
return { name: item["name"], version: item["version"] };
|
|
3540
|
-
}
|
|
3541
|
-
export function datasetRefDeserializer(item) {
|
|
3453
|
+
export function toolboxToolDeserializer(item) {
|
|
3542
3454
|
return {
|
|
3455
|
+
type: item["type"],
|
|
3543
3456
|
name: item["name"],
|
|
3544
|
-
|
|
3457
|
+
description: item["description"],
|
|
3458
|
+
tool_configs: !item["tool_configs"]
|
|
3459
|
+
? item["tool_configs"]
|
|
3460
|
+
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
3545
3461
|
};
|
|
3546
3462
|
}
|
|
3547
|
-
export function
|
|
3463
|
+
export function toolboxToolUnionSerializer(item) {
|
|
3464
|
+
switch (item.type) {
|
|
3465
|
+
case "code_interpreter":
|
|
3466
|
+
return codeInterpreterToolboxToolSerializer(item);
|
|
3467
|
+
case "file_search":
|
|
3468
|
+
return fileSearchToolboxToolSerializer(item);
|
|
3469
|
+
case "web_search":
|
|
3470
|
+
return webSearchToolboxToolSerializer(item);
|
|
3471
|
+
case "mcp":
|
|
3472
|
+
return mcpToolboxToolSerializer(item);
|
|
3473
|
+
case "azure_ai_search":
|
|
3474
|
+
return azureAISearchToolboxToolSerializer(item);
|
|
3475
|
+
case "openapi":
|
|
3476
|
+
return openApiToolboxToolSerializer(item);
|
|
3477
|
+
case "a2a_preview":
|
|
3478
|
+
return a2APreviewToolboxToolSerializer(item);
|
|
3479
|
+
case "browser_automation_preview":
|
|
3480
|
+
return browserAutomationPreviewToolboxToolSerializer(item);
|
|
3481
|
+
case "reminder_preview":
|
|
3482
|
+
return reminderPreviewToolboxToolSerializer(item);
|
|
3483
|
+
case "work_iq_preview":
|
|
3484
|
+
return workIQPreviewToolboxToolSerializer(item);
|
|
3485
|
+
case "fabric_iq_preview":
|
|
3486
|
+
return fabricIQPreviewToolboxToolSerializer(item);
|
|
3487
|
+
case "toolbox_search_preview":
|
|
3488
|
+
return toolboxSearchPreviewToolboxToolSerializer(item);
|
|
3489
|
+
default:
|
|
3490
|
+
return toolboxToolSerializer(item);
|
|
3491
|
+
}
|
|
3492
|
+
}
|
|
3493
|
+
export function toolboxToolUnionDeserializer(item) {
|
|
3494
|
+
switch (item["type"]) {
|
|
3495
|
+
case "code_interpreter":
|
|
3496
|
+
return codeInterpreterToolboxToolDeserializer(item);
|
|
3497
|
+
case "file_search":
|
|
3498
|
+
return fileSearchToolboxToolDeserializer(item);
|
|
3499
|
+
case "web_search":
|
|
3500
|
+
return webSearchToolboxToolDeserializer(item);
|
|
3501
|
+
case "mcp":
|
|
3502
|
+
return mcpToolboxToolDeserializer(item);
|
|
3503
|
+
case "azure_ai_search":
|
|
3504
|
+
return azureAISearchToolboxToolDeserializer(item);
|
|
3505
|
+
case "openapi":
|
|
3506
|
+
return openApiToolboxToolDeserializer(item);
|
|
3507
|
+
case "a2a_preview":
|
|
3508
|
+
return a2APreviewToolboxToolDeserializer(item);
|
|
3509
|
+
case "browser_automation_preview":
|
|
3510
|
+
return browserAutomationPreviewToolboxToolDeserializer(item);
|
|
3511
|
+
case "reminder_preview":
|
|
3512
|
+
return reminderPreviewToolboxToolDeserializer(item);
|
|
3513
|
+
case "work_iq_preview":
|
|
3514
|
+
return workIQPreviewToolboxToolDeserializer(item);
|
|
3515
|
+
case "fabric_iq_preview":
|
|
3516
|
+
return fabricIQPreviewToolboxToolDeserializer(item);
|
|
3517
|
+
case "toolbox_search_preview":
|
|
3518
|
+
return toolboxSearchPreviewToolboxToolDeserializer(item);
|
|
3519
|
+
default:
|
|
3520
|
+
return toolboxToolDeserializer(item);
|
|
3521
|
+
}
|
|
3522
|
+
}
|
|
3523
|
+
export function codeInterpreterToolboxToolSerializer(item) {
|
|
3548
3524
|
return {
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3525
|
+
type: item["type"],
|
|
3526
|
+
name: item["name"],
|
|
3527
|
+
description: item["description"],
|
|
3528
|
+
tool_configs: !item["tool_configs"]
|
|
3529
|
+
? item["tool_configs"]
|
|
3530
|
+
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
3531
|
+
container: !item["container"]
|
|
3532
|
+
? item["container"]
|
|
3533
|
+
: _codeInterpreterToolContainerSerializer(item["container"]),
|
|
3554
3534
|
};
|
|
3555
3535
|
}
|
|
3556
|
-
export function
|
|
3536
|
+
export function codeInterpreterToolboxToolDeserializer(item) {
|
|
3557
3537
|
return {
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3538
|
+
type: item["type"],
|
|
3539
|
+
name: item["name"],
|
|
3540
|
+
description: item["description"],
|
|
3541
|
+
tool_configs: !item["tool_configs"]
|
|
3542
|
+
? item["tool_configs"]
|
|
3543
|
+
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
3544
|
+
container: !item["container"]
|
|
3545
|
+
? item["container"]
|
|
3546
|
+
: _codeInterpreterToolContainerDeserializer(item["container"]),
|
|
3565
3547
|
};
|
|
3566
3548
|
}
|
|
3567
|
-
export function
|
|
3549
|
+
export function fileSearchToolboxToolSerializer(item) {
|
|
3568
3550
|
return {
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
? item["
|
|
3578
|
-
:
|
|
3579
|
-
|
|
3551
|
+
type: item["type"],
|
|
3552
|
+
name: item["name"],
|
|
3553
|
+
description: item["description"],
|
|
3554
|
+
tool_configs: !item["tool_configs"]
|
|
3555
|
+
? item["tool_configs"]
|
|
3556
|
+
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
3557
|
+
max_num_results: item["max_num_results"],
|
|
3558
|
+
ranking_options: !item["ranking_options"]
|
|
3559
|
+
? item["ranking_options"]
|
|
3560
|
+
: rankingOptionsSerializer(item["ranking_options"]),
|
|
3561
|
+
filters: !item["filters"] ? item["filters"] : filtersSerializer(item["filters"]),
|
|
3562
|
+
vector_store_ids: !item["vector_store_ids"]
|
|
3563
|
+
? item["vector_store_ids"]
|
|
3564
|
+
: item["vector_store_ids"].map((p) => {
|
|
3565
|
+
return p;
|
|
3566
|
+
}),
|
|
3580
3567
|
};
|
|
3581
3568
|
}
|
|
3582
|
-
export function
|
|
3569
|
+
export function fileSearchToolboxToolDeserializer(item) {
|
|
3583
3570
|
return {
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3571
|
+
type: item["type"],
|
|
3572
|
+
name: item["name"],
|
|
3573
|
+
description: item["description"],
|
|
3574
|
+
tool_configs: !item["tool_configs"]
|
|
3575
|
+
? item["tool_configs"]
|
|
3576
|
+
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
3577
|
+
max_num_results: item["max_num_results"],
|
|
3578
|
+
ranking_options: !item["ranking_options"]
|
|
3579
|
+
? item["ranking_options"]
|
|
3580
|
+
: rankingOptionsDeserializer(item["ranking_options"]),
|
|
3581
|
+
filters: !item["filters"] ? item["filters"] : filtersDeserializer(item["filters"]),
|
|
3582
|
+
vector_store_ids: !item["vector_store_ids"]
|
|
3583
|
+
? item["vector_store_ids"]
|
|
3584
|
+
: item["vector_store_ids"].map((p) => {
|
|
3595
3585
|
return p;
|
|
3596
3586
|
}),
|
|
3597
|
-
all_target_attributes_failed: item["all_target_attributes_failed"],
|
|
3598
3587
|
};
|
|
3599
3588
|
}
|
|
3600
|
-
export function
|
|
3589
|
+
export function webSearchToolboxToolSerializer(item) {
|
|
3601
3590
|
return {
|
|
3602
|
-
|
|
3591
|
+
type: item["type"],
|
|
3603
3592
|
name: item["name"],
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
? item["
|
|
3615
|
-
:
|
|
3593
|
+
description: item["description"],
|
|
3594
|
+
tool_configs: !item["tool_configs"]
|
|
3595
|
+
? item["tool_configs"]
|
|
3596
|
+
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
3597
|
+
filters: !item["filters"] ? item["filters"] : webSearchToolFiltersSerializer(item["filters"]),
|
|
3598
|
+
user_location: !item["user_location"]
|
|
3599
|
+
? item["user_location"]
|
|
3600
|
+
: webSearchApproximateLocationSerializer(item["user_location"]),
|
|
3601
|
+
search_context_size: item["search_context_size"],
|
|
3602
|
+
custom_search_configuration: !item["custom_search_configuration"]
|
|
3603
|
+
? item["custom_search_configuration"]
|
|
3604
|
+
: webSearchConfigurationSerializer(item["custom_search_configuration"]),
|
|
3605
|
+
};
|
|
3606
|
+
}
|
|
3607
|
+
export function webSearchToolboxToolDeserializer(item) {
|
|
3608
|
+
return {
|
|
3609
|
+
type: item["type"],
|
|
3610
|
+
name: item["name"],
|
|
3611
|
+
description: item["description"],
|
|
3612
|
+
tool_configs: !item["tool_configs"]
|
|
3613
|
+
? item["tool_configs"]
|
|
3614
|
+
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
3615
|
+
filters: !item["filters"] ? item["filters"] : webSearchToolFiltersDeserializer(item["filters"]),
|
|
3616
|
+
user_location: !item["user_location"]
|
|
3617
|
+
? item["user_location"]
|
|
3618
|
+
: webSearchApproximateLocationDeserializer(item["user_location"]),
|
|
3619
|
+
search_context_size: item["search_context_size"],
|
|
3620
|
+
custom_search_configuration: !item["custom_search_configuration"]
|
|
3621
|
+
? item["custom_search_configuration"]
|
|
3622
|
+
: webSearchConfigurationDeserializer(item["custom_search_configuration"]),
|
|
3623
|
+
};
|
|
3624
|
+
}
|
|
3625
|
+
export function mcpToolboxToolSerializer(item) {
|
|
3626
|
+
return {
|
|
3627
|
+
type: item["type"],
|
|
3628
|
+
name: item["name"],
|
|
3629
|
+
description: item["description"],
|
|
3630
|
+
tool_configs: !item["tool_configs"]
|
|
3631
|
+
? item["tool_configs"]
|
|
3632
|
+
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
3633
|
+
server_label: item["server_label"],
|
|
3634
|
+
server_url: item["server_url"],
|
|
3635
|
+
connector_id: item["connector_id"],
|
|
3636
|
+
tunnel_id: item["tunnel_id"],
|
|
3637
|
+
authorization: item["authorization"],
|
|
3638
|
+
server_description: item["server_description"],
|
|
3639
|
+
headers: item["headers"],
|
|
3640
|
+
allowed_tools: !item["allowed_tools"]
|
|
3641
|
+
? item["allowed_tools"]
|
|
3642
|
+
: _mcpToolAllowedToolsSerializer(item["allowed_tools"]),
|
|
3643
|
+
require_approval: !item["require_approval"]
|
|
3644
|
+
? item["require_approval"]
|
|
3645
|
+
: _mcpToolRequireApprovalSerializer(item["require_approval"]),
|
|
3646
|
+
defer_loading: item["defer_loading"],
|
|
3647
|
+
project_connection_id: item["project_connection_id"],
|
|
3648
|
+
};
|
|
3649
|
+
}
|
|
3650
|
+
export function mcpToolboxToolDeserializer(item) {
|
|
3651
|
+
return {
|
|
3652
|
+
type: item["type"],
|
|
3653
|
+
name: item["name"],
|
|
3654
|
+
description: item["description"],
|
|
3655
|
+
tool_configs: !item["tool_configs"]
|
|
3656
|
+
? item["tool_configs"]
|
|
3657
|
+
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
3658
|
+
server_label: item["server_label"],
|
|
3659
|
+
server_url: item["server_url"],
|
|
3660
|
+
connector_id: item["connector_id"],
|
|
3661
|
+
tunnel_id: item["tunnel_id"],
|
|
3662
|
+
authorization: item["authorization"],
|
|
3663
|
+
server_description: item["server_description"],
|
|
3664
|
+
headers: !item["headers"]
|
|
3665
|
+
? item["headers"]
|
|
3666
|
+
: Object.fromEntries(Object.entries(item["headers"]).map(([k1, p1]) => [k1, p1])),
|
|
3667
|
+
allowed_tools: !item["allowed_tools"]
|
|
3668
|
+
? item["allowed_tools"]
|
|
3669
|
+
: _mcpToolAllowedToolsDeserializer(item["allowed_tools"]),
|
|
3670
|
+
require_approval: !item["require_approval"]
|
|
3671
|
+
? item["require_approval"]
|
|
3672
|
+
: _mcpToolRequireApprovalDeserializer(item["require_approval"]),
|
|
3673
|
+
defer_loading: item["defer_loading"],
|
|
3674
|
+
project_connection_id: item["project_connection_id"],
|
|
3675
|
+
};
|
|
3676
|
+
}
|
|
3677
|
+
export function azureAISearchToolboxToolSerializer(item) {
|
|
3678
|
+
return {
|
|
3679
|
+
type: item["type"],
|
|
3680
|
+
name: item["name"],
|
|
3681
|
+
description: item["description"],
|
|
3682
|
+
tool_configs: !item["tool_configs"]
|
|
3683
|
+
? item["tool_configs"]
|
|
3684
|
+
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
3685
|
+
azure_ai_search: azureAISearchToolResourceSerializer(item["azure_ai_search"]),
|
|
3616
3686
|
};
|
|
3617
3687
|
}
|
|
3618
|
-
export function
|
|
3688
|
+
export function azureAISearchToolboxToolDeserializer(item) {
|
|
3689
|
+
return {
|
|
3690
|
+
type: item["type"],
|
|
3691
|
+
name: item["name"],
|
|
3692
|
+
description: item["description"],
|
|
3693
|
+
tool_configs: !item["tool_configs"]
|
|
3694
|
+
? item["tool_configs"]
|
|
3695
|
+
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
3696
|
+
azure_ai_search: azureAISearchToolResourceDeserializer(item["azure_ai_search"]),
|
|
3697
|
+
};
|
|
3698
|
+
}
|
|
3699
|
+
export function openApiToolboxToolSerializer(item) {
|
|
3700
|
+
return {
|
|
3701
|
+
type: item["type"],
|
|
3702
|
+
name: item["name"],
|
|
3703
|
+
description: item["description"],
|
|
3704
|
+
tool_configs: !item["tool_configs"]
|
|
3705
|
+
? item["tool_configs"]
|
|
3706
|
+
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
3707
|
+
openapi: openApiFunctionDefinitionSerializer(item["openapi"]),
|
|
3708
|
+
};
|
|
3709
|
+
}
|
|
3710
|
+
export function openApiToolboxToolDeserializer(item) {
|
|
3711
|
+
return {
|
|
3712
|
+
type: item["type"],
|
|
3713
|
+
name: item["name"],
|
|
3714
|
+
description: item["description"],
|
|
3715
|
+
tool_configs: !item["tool_configs"]
|
|
3716
|
+
? item["tool_configs"]
|
|
3717
|
+
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
3718
|
+
openapi: openApiFunctionDefinitionDeserializer(item["openapi"]),
|
|
3719
|
+
};
|
|
3720
|
+
}
|
|
3721
|
+
export function a2APreviewToolboxToolSerializer(item) {
|
|
3722
|
+
return {
|
|
3723
|
+
type: item["type"],
|
|
3724
|
+
name: item["name"],
|
|
3725
|
+
description: item["description"],
|
|
3726
|
+
tool_configs: !item["tool_configs"]
|
|
3727
|
+
? item["tool_configs"]
|
|
3728
|
+
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
3729
|
+
base_url: item["base_url"],
|
|
3730
|
+
agent_card_path: item["agent_card_path"],
|
|
3731
|
+
project_connection_id: item["project_connection_id"],
|
|
3732
|
+
send_credentials_for_agent_card: item["send_credentials_for_agent_card"],
|
|
3733
|
+
};
|
|
3734
|
+
}
|
|
3735
|
+
export function a2APreviewToolboxToolDeserializer(item) {
|
|
3736
|
+
return {
|
|
3737
|
+
type: item["type"],
|
|
3738
|
+
name: item["name"],
|
|
3739
|
+
description: item["description"],
|
|
3740
|
+
tool_configs: !item["tool_configs"]
|
|
3741
|
+
? item["tool_configs"]
|
|
3742
|
+
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
3743
|
+
base_url: item["base_url"],
|
|
3744
|
+
agent_card_path: item["agent_card_path"],
|
|
3745
|
+
project_connection_id: item["project_connection_id"],
|
|
3746
|
+
send_credentials_for_agent_card: item["send_credentials_for_agent_card"],
|
|
3747
|
+
};
|
|
3748
|
+
}
|
|
3749
|
+
export function browserAutomationPreviewToolboxToolSerializer(item) {
|
|
3750
|
+
return {
|
|
3751
|
+
type: item["type"],
|
|
3752
|
+
name: item["name"],
|
|
3753
|
+
description: item["description"],
|
|
3754
|
+
tool_configs: !item["tool_configs"]
|
|
3755
|
+
? item["tool_configs"]
|
|
3756
|
+
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
3757
|
+
browser_automation_preview: browserAutomationToolParametersSerializer(item["browser_automation_preview"]),
|
|
3758
|
+
};
|
|
3759
|
+
}
|
|
3760
|
+
export function browserAutomationPreviewToolboxToolDeserializer(item) {
|
|
3761
|
+
return {
|
|
3762
|
+
type: item["type"],
|
|
3763
|
+
name: item["name"],
|
|
3764
|
+
description: item["description"],
|
|
3765
|
+
tool_configs: !item["tool_configs"]
|
|
3766
|
+
? item["tool_configs"]
|
|
3767
|
+
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
3768
|
+
browser_automation_preview: browserAutomationToolParametersDeserializer(item["browser_automation_preview"]),
|
|
3769
|
+
};
|
|
3770
|
+
}
|
|
3771
|
+
export function reminderPreviewToolboxToolSerializer(item) {
|
|
3772
|
+
return {
|
|
3773
|
+
type: item["type"],
|
|
3774
|
+
name: item["name"],
|
|
3775
|
+
description: item["description"],
|
|
3776
|
+
tool_configs: !item["tool_configs"]
|
|
3777
|
+
? item["tool_configs"]
|
|
3778
|
+
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
3779
|
+
};
|
|
3780
|
+
}
|
|
3781
|
+
export function reminderPreviewToolboxToolDeserializer(item) {
|
|
3782
|
+
return {
|
|
3783
|
+
type: item["type"],
|
|
3784
|
+
name: item["name"],
|
|
3785
|
+
description: item["description"],
|
|
3786
|
+
tool_configs: !item["tool_configs"]
|
|
3787
|
+
? item["tool_configs"]
|
|
3788
|
+
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
3789
|
+
};
|
|
3790
|
+
}
|
|
3791
|
+
export function workIQPreviewToolboxToolSerializer(item) {
|
|
3792
|
+
return {
|
|
3793
|
+
type: item["type"],
|
|
3794
|
+
name: item["name"],
|
|
3795
|
+
description: item["description"],
|
|
3796
|
+
tool_configs: !item["tool_configs"]
|
|
3797
|
+
? item["tool_configs"]
|
|
3798
|
+
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
3799
|
+
project_connection_id: item["project_connection_id"],
|
|
3800
|
+
};
|
|
3801
|
+
}
|
|
3802
|
+
export function workIQPreviewToolboxToolDeserializer(item) {
|
|
3803
|
+
return {
|
|
3804
|
+
type: item["type"],
|
|
3805
|
+
name: item["name"],
|
|
3806
|
+
description: item["description"],
|
|
3807
|
+
tool_configs: !item["tool_configs"]
|
|
3808
|
+
? item["tool_configs"]
|
|
3809
|
+
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
3810
|
+
project_connection_id: item["project_connection_id"],
|
|
3811
|
+
};
|
|
3812
|
+
}
|
|
3813
|
+
export function fabricIQPreviewToolboxToolSerializer(item) {
|
|
3814
|
+
return {
|
|
3815
|
+
type: item["type"],
|
|
3816
|
+
name: item["name"],
|
|
3817
|
+
description: item["description"],
|
|
3818
|
+
tool_configs: !item["tool_configs"]
|
|
3819
|
+
? item["tool_configs"]
|
|
3820
|
+
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
3821
|
+
project_connection_id: item["project_connection_id"],
|
|
3822
|
+
server_label: item["server_label"],
|
|
3823
|
+
server_url: item["server_url"],
|
|
3824
|
+
require_approval: !item["require_approval"]
|
|
3825
|
+
? item["require_approval"]
|
|
3826
|
+
: _fabricIQPreviewToolRequireApprovalSerializer(item["require_approval"]),
|
|
3827
|
+
};
|
|
3828
|
+
}
|
|
3829
|
+
export function fabricIQPreviewToolboxToolDeserializer(item) {
|
|
3830
|
+
return {
|
|
3831
|
+
type: item["type"],
|
|
3832
|
+
name: item["name"],
|
|
3833
|
+
description: item["description"],
|
|
3834
|
+
tool_configs: !item["tool_configs"]
|
|
3835
|
+
? item["tool_configs"]
|
|
3836
|
+
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
3837
|
+
project_connection_id: item["project_connection_id"],
|
|
3838
|
+
server_label: item["server_label"],
|
|
3839
|
+
server_url: item["server_url"],
|
|
3840
|
+
require_approval: !item["require_approval"]
|
|
3841
|
+
? item["require_approval"]
|
|
3842
|
+
: _fabricIQPreviewToolRequireApprovalDeserializer(item["require_approval"]),
|
|
3843
|
+
};
|
|
3844
|
+
}
|
|
3845
|
+
export function toolboxSearchPreviewToolboxToolSerializer(item) {
|
|
3846
|
+
return {
|
|
3847
|
+
type: item["type"],
|
|
3848
|
+
name: item["name"],
|
|
3849
|
+
description: item["description"],
|
|
3850
|
+
tool_configs: !item["tool_configs"]
|
|
3851
|
+
? item["tool_configs"]
|
|
3852
|
+
: toolConfigRecordSerializer(item["tool_configs"]),
|
|
3853
|
+
};
|
|
3854
|
+
}
|
|
3855
|
+
export function toolboxSearchPreviewToolboxToolDeserializer(item) {
|
|
3856
|
+
return {
|
|
3857
|
+
type: item["type"],
|
|
3858
|
+
name: item["name"],
|
|
3859
|
+
description: item["description"],
|
|
3860
|
+
tool_configs: !item["tool_configs"]
|
|
3861
|
+
? item["tool_configs"]
|
|
3862
|
+
: toolConfigRecordDeserializer(item["tool_configs"]),
|
|
3863
|
+
};
|
|
3864
|
+
}
|
|
3865
|
+
export function toolboxSkillUnionArraySerializer(result) {
|
|
3866
|
+
return result.map((item) => {
|
|
3867
|
+
return toolboxSkillUnionSerializer(item);
|
|
3868
|
+
});
|
|
3869
|
+
}
|
|
3870
|
+
export function toolboxSkillUnionArrayDeserializer(result) {
|
|
3871
|
+
return result.map((item) => {
|
|
3872
|
+
return toolboxSkillUnionDeserializer(item);
|
|
3873
|
+
});
|
|
3874
|
+
}
|
|
3875
|
+
export function toolboxSkillSerializer(item) {
|
|
3876
|
+
return { type: item["type"] };
|
|
3877
|
+
}
|
|
3878
|
+
export function toolboxSkillDeserializer(item) {
|
|
3879
|
+
return {
|
|
3880
|
+
type: item["type"],
|
|
3881
|
+
};
|
|
3882
|
+
}
|
|
3883
|
+
export function toolboxSkillUnionSerializer(item) {
|
|
3884
|
+
switch (item.type) {
|
|
3885
|
+
case "skill_reference":
|
|
3886
|
+
return toolboxSkillReferenceSerializer(item);
|
|
3887
|
+
default:
|
|
3888
|
+
return toolboxSkillSerializer(item);
|
|
3889
|
+
}
|
|
3890
|
+
}
|
|
3891
|
+
export function toolboxSkillUnionDeserializer(item) {
|
|
3892
|
+
switch (item["type"]) {
|
|
3893
|
+
case "skill_reference":
|
|
3894
|
+
return toolboxSkillReferenceDeserializer(item);
|
|
3895
|
+
default:
|
|
3896
|
+
return toolboxSkillDeserializer(item);
|
|
3897
|
+
}
|
|
3898
|
+
}
|
|
3899
|
+
export function toolboxSkillReferenceSerializer(item) {
|
|
3900
|
+
return { type: item["type"], name: item["name"], version: item["version"] };
|
|
3901
|
+
}
|
|
3902
|
+
export function toolboxSkillReferenceDeserializer(item) {
|
|
3619
3903
|
return {
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
system_prompt: item["system_prompt"],
|
|
3624
|
-
skills: !item["skills"]
|
|
3625
|
-
? item["skills"]
|
|
3626
|
-
: item["skills"].map((p) => {
|
|
3627
|
-
return Object.fromEntries(Object.entries(p).map(([k1, p1]) => [k1, p1]));
|
|
3628
|
-
}),
|
|
3629
|
-
tools: !item["tools"]
|
|
3630
|
-
? item["tools"]
|
|
3631
|
-
: item["tools"].map((p) => {
|
|
3632
|
-
return Object.fromEntries(Object.entries(p).map(([k1, p1]) => [k1, p1]));
|
|
3633
|
-
}),
|
|
3904
|
+
type: item["type"],
|
|
3905
|
+
name: item["name"],
|
|
3906
|
+
version: item["version"],
|
|
3634
3907
|
};
|
|
3635
3908
|
}
|
|
3636
|
-
export function
|
|
3637
|
-
return result.map((item) => {
|
|
3638
|
-
return optimizationTaskResultDeserializer(item);
|
|
3639
|
-
});
|
|
3640
|
-
}
|
|
3641
|
-
export function optimizationTaskResultDeserializer(item) {
|
|
3909
|
+
export function toolboxPoliciesSerializer(item) {
|
|
3642
3910
|
return {
|
|
3643
|
-
|
|
3644
|
-
query: item["query"],
|
|
3645
|
-
scores: Object.fromEntries(Object.entries(item["scores"]).map(([k, p]) => [k, p])),
|
|
3646
|
-
composite_score: item["composite_score"],
|
|
3647
|
-
tokens: item["tokens"],
|
|
3648
|
-
duration_seconds: item["duration_seconds"],
|
|
3649
|
-
passed: item["passed"],
|
|
3650
|
-
error_message: item["error_message"],
|
|
3651
|
-
rationales: !item["rationales"]
|
|
3652
|
-
? item["rationales"]
|
|
3653
|
-
: Object.fromEntries(Object.entries(item["rationales"]).map(([k, p]) => [k, p])),
|
|
3654
|
-
response: item["response"],
|
|
3655
|
-
run_id: item["run_id"],
|
|
3911
|
+
rai_config: !item["rai_config"] ? item["rai_config"] : raiConfigSerializer(item["rai_config"]),
|
|
3656
3912
|
};
|
|
3657
3913
|
}
|
|
3658
|
-
export function
|
|
3914
|
+
export function toolboxPoliciesDeserializer(item) {
|
|
3659
3915
|
return {
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3916
|
+
rai_config: !item["rai_config"]
|
|
3917
|
+
? item["rai_config"]
|
|
3918
|
+
: raiConfigDeserializer(item["rai_config"]),
|
|
3663
3919
|
};
|
|
3664
3920
|
}
|
|
3665
|
-
export function
|
|
3666
|
-
return result.map((item) => {
|
|
3667
|
-
return optimizationCandidateDeserializer(item);
|
|
3668
|
-
});
|
|
3669
|
-
}
|
|
3670
|
-
export function optimizationJobProgressDeserializer(item) {
|
|
3921
|
+
export function toolboxVersionObjectDeserializer(item) {
|
|
3671
3922
|
return {
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3923
|
+
metadata: !item["metadata"]
|
|
3924
|
+
? item["metadata"]
|
|
3925
|
+
: Object.fromEntries(Object.entries(item["metadata"]).map(([k1, p1]) => [k1, p1])),
|
|
3926
|
+
id: item["id"],
|
|
3927
|
+
name: item["name"],
|
|
3928
|
+
version: item["version"],
|
|
3929
|
+
description: item["description"],
|
|
3930
|
+
created_at: new Date(item["created_at"] * 1000),
|
|
3931
|
+
tools: toolboxToolUnionArrayDeserializer(item["tools"]),
|
|
3932
|
+
skills: !item["skills"] ? item["skills"] : toolboxSkillUnionArrayDeserializer(item["skills"]),
|
|
3933
|
+
policies: !item["policies"] ? item["policies"] : toolboxPoliciesDeserializer(item["policies"]),
|
|
3675
3934
|
};
|
|
3676
3935
|
}
|
|
3677
|
-
export function
|
|
3936
|
+
export function toolboxObjectDeserializer(item) {
|
|
3678
3937
|
return {
|
|
3938
|
+
id: item["id"],
|
|
3679
3939
|
name: item["name"],
|
|
3680
|
-
|
|
3681
|
-
task_count: item["task_count"],
|
|
3682
|
-
is_inline: item["is_inline"],
|
|
3940
|
+
default_version: item["default_version"],
|
|
3683
3941
|
};
|
|
3684
3942
|
}
|
|
3685
|
-
export function
|
|
3943
|
+
export function _agentsPagedResultToolboxObjectDeserializer(item) {
|
|
3686
3944
|
return {
|
|
3687
|
-
data:
|
|
3945
|
+
data: toolboxObjectArrayDeserializer(item["data"]),
|
|
3688
3946
|
first_id: item["first_id"],
|
|
3689
3947
|
last_id: item["last_id"],
|
|
3690
3948
|
has_more: item["has_more"],
|
|
3691
3949
|
};
|
|
3692
3950
|
}
|
|
3693
|
-
export function
|
|
3951
|
+
export function toolboxObjectArrayDeserializer(result) {
|
|
3694
3952
|
return result.map((item) => {
|
|
3695
|
-
return
|
|
3953
|
+
return toolboxObjectDeserializer(item);
|
|
3696
3954
|
});
|
|
3697
3955
|
}
|
|
3698
|
-
export function
|
|
3956
|
+
export function _agentsPagedResultToolboxVersionObjectDeserializer(item) {
|
|
3699
3957
|
return {
|
|
3700
|
-
data:
|
|
3958
|
+
data: toolboxVersionObjectArrayDeserializer(item["data"]),
|
|
3701
3959
|
first_id: item["first_id"],
|
|
3702
3960
|
last_id: item["last_id"],
|
|
3703
3961
|
has_more: item["has_more"],
|
|
3704
3962
|
};
|
|
3705
3963
|
}
|
|
3706
|
-
export function
|
|
3707
|
-
return {
|
|
3708
|
-
candidate_id: item["candidate_id"],
|
|
3709
|
-
job_id: item["job_id"],
|
|
3710
|
-
candidate_name: item["candidate_name"],
|
|
3711
|
-
status: item["status"],
|
|
3712
|
-
score: item["score"],
|
|
3713
|
-
has_results: item["has_results"],
|
|
3714
|
-
created_at: new Date(item["created_at"] * 1000),
|
|
3715
|
-
updated_at: new Date(item["updated_at"] * 1000),
|
|
3716
|
-
promotion: !item["promotion"]
|
|
3717
|
-
? item["promotion"]
|
|
3718
|
-
: promotionInfoDeserializer(item["promotion"]),
|
|
3719
|
-
files: candidateFileInfoArrayDeserializer(item["files"]),
|
|
3720
|
-
};
|
|
3721
|
-
}
|
|
3722
|
-
export function candidateFileInfoArrayDeserializer(result) {
|
|
3964
|
+
export function toolboxVersionObjectArrayDeserializer(result) {
|
|
3723
3965
|
return result.map((item) => {
|
|
3724
|
-
return
|
|
3966
|
+
return toolboxVersionObjectDeserializer(item);
|
|
3725
3967
|
});
|
|
3726
3968
|
}
|
|
3727
|
-
export function candidateFileInfoDeserializer(item) {
|
|
3728
|
-
return {
|
|
3729
|
-
path: item["path"],
|
|
3730
|
-
type: item["type"],
|
|
3731
|
-
size_bytes: item["size_bytes"],
|
|
3732
|
-
};
|
|
3733
|
-
}
|
|
3734
|
-
export function candidateDeployConfigDeserializer(item) {
|
|
3735
|
-
return {
|
|
3736
|
-
instructions: item["instructions"],
|
|
3737
|
-
model: item["model"],
|
|
3738
|
-
temperature: item["temperature"],
|
|
3739
|
-
skills: !item["skills"]
|
|
3740
|
-
? item["skills"]
|
|
3741
|
-
: item["skills"].map((p) => {
|
|
3742
|
-
return Object.fromEntries(Object.entries(p).map(([k1, p1]) => [k1, p1]));
|
|
3743
|
-
}),
|
|
3744
|
-
tools: !item["tools"]
|
|
3745
|
-
? item["tools"]
|
|
3746
|
-
: item["tools"].map((p) => {
|
|
3747
|
-
return Object.fromEntries(Object.entries(p).map(([k1, p1]) => [k1, p1]));
|
|
3748
|
-
}),
|
|
3749
|
-
};
|
|
3750
|
-
}
|
|
3751
|
-
export function candidateResultsDeserializer(item) {
|
|
3752
|
-
return {
|
|
3753
|
-
candidate_id: item["candidate_id"],
|
|
3754
|
-
results: optimizationTaskResultArrayDeserializer(item["results"]),
|
|
3755
|
-
};
|
|
3756
|
-
}
|
|
3757
|
-
export function promoteCandidateRequestSerializer(item) {
|
|
3758
|
-
return { agent_name: item["agent_name"], agent_version: item["agent_version"] };
|
|
3759
|
-
}
|
|
3760
|
-
export function promoteCandidateResponseDeserializer(item) {
|
|
3761
|
-
return {
|
|
3762
|
-
candidate_id: item["candidate_id"],
|
|
3763
|
-
status: item["status"],
|
|
3764
|
-
promoted_at: new Date(item["promoted_at"] * 1000),
|
|
3765
|
-
agent_name: item["agent_name"],
|
|
3766
|
-
agent_version: item["agent_version"],
|
|
3767
|
-
};
|
|
3768
|
-
}
|
|
3769
3969
|
export function evaluationTaxonomySerializer(item) {
|
|
3770
3970
|
return {
|
|
3771
3971
|
description: item["description"],
|
|
@@ -3808,7 +4008,7 @@ export function evaluationTaxonomyInputUnionSerializer(item) {
|
|
|
3808
4008
|
}
|
|
3809
4009
|
}
|
|
3810
4010
|
export function evaluationTaxonomyInputUnionDeserializer(item) {
|
|
3811
|
-
switch (item
|
|
4011
|
+
switch (item["type"]) {
|
|
3812
4012
|
case "agent":
|
|
3813
4013
|
return agentTaxonomyInputDeserializer(item);
|
|
3814
4014
|
default:
|
|
@@ -3848,7 +4048,7 @@ export function evaluationTargetUnionSerializer(item) {
|
|
|
3848
4048
|
}
|
|
3849
4049
|
}
|
|
3850
4050
|
export function evaluationTargetUnionDeserializer(item) {
|
|
3851
|
-
switch (item
|
|
4051
|
+
switch (item["type"]) {
|
|
3852
4052
|
case "azure_ai_model":
|
|
3853
4053
|
return azureAIModelTargetDeserializer(item);
|
|
3854
4054
|
case "azure_ai_agent":
|
|
@@ -4028,6 +4228,7 @@ export function evaluatorVersionSerializer(item) {
|
|
|
4028
4228
|
metadata: item["metadata"],
|
|
4029
4229
|
evaluator_type: item["evaluator_type"],
|
|
4030
4230
|
categories: item["categories"],
|
|
4231
|
+
supported_evaluation_levels: item["supported_evaluation_levels"],
|
|
4031
4232
|
definition: evaluatorDefinitionUnionSerializer(item["definition"]),
|
|
4032
4233
|
description: item["description"],
|
|
4033
4234
|
tags: item["tags"],
|
|
@@ -4039,6 +4240,7 @@ export function evaluatorVersionDeserializer(item) {
|
|
|
4039
4240
|
metadata: item["metadata"],
|
|
4040
4241
|
evaluator_type: item["evaluator_type"],
|
|
4041
4242
|
categories: item["categories"],
|
|
4243
|
+
supported_evaluation_levels: item["supported_evaluation_levels"],
|
|
4042
4244
|
definition: evaluatorDefinitionUnionDeserializer(item["definition"]),
|
|
4043
4245
|
generation_artifacts: !item["generation_artifacts"]
|
|
4044
4246
|
? item["generation_artifacts"]
|
|
@@ -4079,18 +4281,22 @@ export function evaluatorDefinitionUnionSerializer(item) {
|
|
|
4079
4281
|
return promptBasedEvaluatorDefinitionSerializer(item);
|
|
4080
4282
|
case "rubric":
|
|
4081
4283
|
return rubricBasedEvaluatorDefinitionSerializer(item);
|
|
4284
|
+
case "endpoint":
|
|
4285
|
+
return endpointBasedEvaluatorDefinitionSerializer(item);
|
|
4082
4286
|
default:
|
|
4083
4287
|
return evaluatorDefinitionSerializer(item);
|
|
4084
4288
|
}
|
|
4085
4289
|
}
|
|
4086
4290
|
export function evaluatorDefinitionUnionDeserializer(item) {
|
|
4087
|
-
switch (item
|
|
4291
|
+
switch (item["type"]) {
|
|
4088
4292
|
case "code":
|
|
4089
4293
|
return codeBasedEvaluatorDefinitionDeserializer(item);
|
|
4090
4294
|
case "prompt":
|
|
4091
4295
|
return promptBasedEvaluatorDefinitionDeserializer(item);
|
|
4092
4296
|
case "rubric":
|
|
4093
4297
|
return rubricBasedEvaluatorDefinitionDeserializer(item);
|
|
4298
|
+
case "endpoint":
|
|
4299
|
+
return endpointBasedEvaluatorDefinitionDeserializer(item);
|
|
4094
4300
|
default:
|
|
4095
4301
|
return evaluatorDefinitionDeserializer(item);
|
|
4096
4302
|
}
|
|
@@ -4188,12 +4394,8 @@ export function rubricBasedEvaluatorDefinitionSerializer(item) {
|
|
|
4188
4394
|
export function rubricBasedEvaluatorDefinitionDeserializer(item) {
|
|
4189
4395
|
return {
|
|
4190
4396
|
type: item["type"],
|
|
4191
|
-
init_parameters:
|
|
4192
|
-
|
|
4193
|
-
: Object.fromEntries(Object.entries(item["init_parameters"]).map(([k, p]) => [k, p])),
|
|
4194
|
-
data_schema: !item["data_schema"]
|
|
4195
|
-
? item["data_schema"]
|
|
4196
|
-
: Object.fromEntries(Object.entries(item["data_schema"]).map(([k, p]) => [k, p])),
|
|
4397
|
+
init_parameters: item["init_parameters"],
|
|
4398
|
+
data_schema: item["data_schema"],
|
|
4197
4399
|
metrics: !item["metrics"]
|
|
4198
4400
|
? item["metrics"]
|
|
4199
4401
|
: evaluatorMetricRecordDeserializer(item["metrics"]),
|
|
@@ -4227,6 +4429,30 @@ export function dimensionDeserializer(item) {
|
|
|
4227
4429
|
always_applicable: item["always_applicable"],
|
|
4228
4430
|
};
|
|
4229
4431
|
}
|
|
4432
|
+
export function endpointBasedEvaluatorDefinitionSerializer(item) {
|
|
4433
|
+
return {
|
|
4434
|
+
type: item["type"],
|
|
4435
|
+
init_parameters: item["init_parameters"],
|
|
4436
|
+
data_schema: item["data_schema"],
|
|
4437
|
+
metrics: !item["metrics"] ? item["metrics"] : evaluatorMetricRecordSerializer(item["metrics"]),
|
|
4438
|
+
connection_name: item["connection_name"],
|
|
4439
|
+
};
|
|
4440
|
+
}
|
|
4441
|
+
export function endpointBasedEvaluatorDefinitionDeserializer(item) {
|
|
4442
|
+
return {
|
|
4443
|
+
type: item["type"],
|
|
4444
|
+
init_parameters: !item["init_parameters"]
|
|
4445
|
+
? item["init_parameters"]
|
|
4446
|
+
: Object.fromEntries(Object.entries(item["init_parameters"]).map(([k, p]) => [k, p])),
|
|
4447
|
+
data_schema: !item["data_schema"]
|
|
4448
|
+
? item["data_schema"]
|
|
4449
|
+
: Object.fromEntries(Object.entries(item["data_schema"]).map(([k, p]) => [k, p])),
|
|
4450
|
+
metrics: !item["metrics"]
|
|
4451
|
+
? item["metrics"]
|
|
4452
|
+
: evaluatorMetricRecordDeserializer(item["metrics"]),
|
|
4453
|
+
connection_name: item["connection_name"],
|
|
4454
|
+
};
|
|
4455
|
+
}
|
|
4230
4456
|
export function evaluatorGenerationArtifactsDeserializer(item) {
|
|
4231
4457
|
return {
|
|
4232
4458
|
dataset: datasetReferenceDeserializer(item["dataset"]),
|
|
@@ -4543,7 +4769,7 @@ export function insightResultDeserializer(item) {
|
|
|
4543
4769
|
};
|
|
4544
4770
|
}
|
|
4545
4771
|
export function insightResultUnionDeserializer(item) {
|
|
4546
|
-
switch (item
|
|
4772
|
+
switch (item["type"]) {
|
|
4547
4773
|
case "EvaluationComparison":
|
|
4548
4774
|
return evaluationComparisonInsightResultDeserializer(item);
|
|
4549
4775
|
case "EvaluationRunClusterInsight":
|
|
@@ -4663,7 +4889,7 @@ export function insightSampleDeserializer(item) {
|
|
|
4663
4889
|
};
|
|
4664
4890
|
}
|
|
4665
4891
|
export function insightSampleUnionDeserializer(item) {
|
|
4666
|
-
switch (item
|
|
4892
|
+
switch (item["type"]) {
|
|
4667
4893
|
case "EvaluationResultSample":
|
|
4668
4894
|
return evaluationResultSampleDeserializer(item);
|
|
4669
4895
|
default:
|
|
@@ -4740,7 +4966,7 @@ export function memoryStoreDefinitionUnionSerializer(item) {
|
|
|
4740
4966
|
}
|
|
4741
4967
|
}
|
|
4742
4968
|
export function memoryStoreDefinitionUnionDeserializer(item) {
|
|
4743
|
-
switch (item
|
|
4969
|
+
switch (item["kind"]) {
|
|
4744
4970
|
case "default":
|
|
4745
4971
|
return memoryStoreDefaultDefinitionDeserializer(item);
|
|
4746
4972
|
default:
|
|
@@ -4844,7 +5070,7 @@ export function memoryItemDeserializer(item) {
|
|
|
4844
5070
|
};
|
|
4845
5071
|
}
|
|
4846
5072
|
export function memoryItemUnionDeserializer(item) {
|
|
4847
|
-
switch (item
|
|
5073
|
+
switch (item["kind"]) {
|
|
4848
5074
|
case "user_profile":
|
|
4849
5075
|
return userProfileMemoryItemDeserializer(item);
|
|
4850
5076
|
case "chat_summary":
|
|
@@ -4987,9 +5213,6 @@ export function modelVersionSerializer(item) {
|
|
|
4987
5213
|
}
|
|
4988
5214
|
export function modelVersionDeserializer(item) {
|
|
4989
5215
|
return {
|
|
4990
|
-
systemData: !item["systemData"]
|
|
4991
|
-
? item["systemData"]
|
|
4992
|
-
: systemDataV3Deserializer(item["systemData"]),
|
|
4993
5216
|
blobUri: item["blobUri"],
|
|
4994
5217
|
weightType: item["weightType"],
|
|
4995
5218
|
baseModel: item["baseModel"],
|
|
@@ -5007,19 +5230,7 @@ export function modelVersionDeserializer(item) {
|
|
|
5007
5230
|
name: item["name"],
|
|
5008
5231
|
version: item["version"],
|
|
5009
5232
|
description: item["description"],
|
|
5010
|
-
tags:
|
|
5011
|
-
? item["tags"]
|
|
5012
|
-
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
5013
|
-
};
|
|
5014
|
-
}
|
|
5015
|
-
export function systemDataV3Deserializer(item) {
|
|
5016
|
-
return {
|
|
5017
|
-
createdAt: !item["createdAt"] ? item["createdAt"] : new Date(item["createdAt"] * 1000),
|
|
5018
|
-
createdBy: item["createdBy"],
|
|
5019
|
-
createdByType: item["createdByType"],
|
|
5020
|
-
lastModifiedAt: !item["lastModifiedAt"]
|
|
5021
|
-
? item["lastModifiedAt"]
|
|
5022
|
-
: new Date(item["lastModifiedAt"] * 1000),
|
|
5233
|
+
tags: item["tags"],
|
|
5023
5234
|
};
|
|
5024
5235
|
}
|
|
5025
5236
|
export function modelSourceDataSerializer(item) {
|
|
@@ -5148,7 +5359,7 @@ export function redTeamTargetConfigUnionSerializer(item) {
|
|
|
5148
5359
|
}
|
|
5149
5360
|
}
|
|
5150
5361
|
export function redTeamTargetConfigUnionDeserializer(item) {
|
|
5151
|
-
switch (item
|
|
5362
|
+
switch (item["type"]) {
|
|
5152
5363
|
case "AzureOpenAIModel":
|
|
5153
5364
|
return azureOpenAIModelConfigurationDeserializer(item);
|
|
5154
5365
|
default:
|
|
@@ -5284,7 +5495,7 @@ export function customRoutineTriggerDeserializer(item) {
|
|
|
5284
5495
|
type: item["type"],
|
|
5285
5496
|
provider: item["provider"],
|
|
5286
5497
|
event_name: item["event_name"],
|
|
5287
|
-
parameters:
|
|
5498
|
+
parameters: item["parameters"],
|
|
5288
5499
|
};
|
|
5289
5500
|
}
|
|
5290
5501
|
export function routineActionSerializer(item) {
|
|
@@ -5393,10 +5604,13 @@ export function routineRunArrayDeserializer(result) {
|
|
|
5393
5604
|
export function routineRunDeserializer(item) {
|
|
5394
5605
|
return {
|
|
5395
5606
|
id: item["id"],
|
|
5396
|
-
status: item["status"],
|
|
5607
|
+
status: !item["status"] ? item["status"] : routineRunStatusDeserializer(item["status"]),
|
|
5397
5608
|
phase: item["phase"],
|
|
5398
5609
|
trigger_type: item["trigger_type"],
|
|
5399
5610
|
trigger_name: item["trigger_name"],
|
|
5611
|
+
trigger_event_payload: !item["trigger_event_payload"]
|
|
5612
|
+
? item["trigger_event_payload"]
|
|
5613
|
+
: Object.fromEntries(Object.entries(item["trigger_event_payload"]).map(([k, p]) => [k, p])),
|
|
5400
5614
|
attempt_source: item["attempt_source"],
|
|
5401
5615
|
action_type: item["action_type"],
|
|
5402
5616
|
agent_id: item["agent_id"],
|
|
@@ -5420,6 +5634,9 @@ export function routineRunDeserializer(item) {
|
|
|
5420
5634
|
error_message: item["error_message"],
|
|
5421
5635
|
};
|
|
5422
5636
|
}
|
|
5637
|
+
export function routineRunStatusDeserializer(item) {
|
|
5638
|
+
return item;
|
|
5639
|
+
}
|
|
5423
5640
|
export function routineDispatchPayloadSerializer(item) {
|
|
5424
5641
|
return { type: item["type"] };
|
|
5425
5642
|
}
|
|
@@ -5492,7 +5709,7 @@ export function triggerUnionSerializer(item) {
|
|
|
5492
5709
|
}
|
|
5493
5710
|
}
|
|
5494
5711
|
export function triggerUnionDeserializer(item) {
|
|
5495
|
-
switch (item
|
|
5712
|
+
switch (item["type"]) {
|
|
5496
5713
|
case "Cron":
|
|
5497
5714
|
return cronTriggerDeserializer(item);
|
|
5498
5715
|
case "Recurrence":
|
|
@@ -5564,7 +5781,7 @@ export function recurrenceScheduleUnionSerializer(item) {
|
|
|
5564
5781
|
}
|
|
5565
5782
|
}
|
|
5566
5783
|
export function recurrenceScheduleUnionDeserializer(item) {
|
|
5567
|
-
switch (item
|
|
5784
|
+
switch (item["type"]) {
|
|
5568
5785
|
case "Hourly":
|
|
5569
5786
|
return hourlyRecurrenceScheduleDeserializer(item);
|
|
5570
5787
|
case "Daily":
|
|
@@ -5651,7 +5868,7 @@ export function scheduleTaskUnionSerializer(item) {
|
|
|
5651
5868
|
}
|
|
5652
5869
|
}
|
|
5653
5870
|
export function scheduleTaskUnionDeserializer(item) {
|
|
5654
|
-
switch (item
|
|
5871
|
+
switch (item["type"]) {
|
|
5655
5872
|
case "Evaluation":
|
|
5656
5873
|
return evaluationScheduleTaskDeserializer(item);
|
|
5657
5874
|
case "Insight":
|
|
@@ -5673,162 +5890,58 @@ export function evaluationScheduleTaskDeserializer(item) {
|
|
|
5673
5890
|
type: item["type"],
|
|
5674
5891
|
configuration: item["configuration"],
|
|
5675
5892
|
evalId: item["evalId"],
|
|
5676
|
-
evalRun: item["evalRun"],
|
|
5677
|
-
};
|
|
5678
|
-
}
|
|
5679
|
-
export function insightScheduleTaskSerializer(item) {
|
|
5680
|
-
return {
|
|
5681
|
-
type: item["type"],
|
|
5682
|
-
configuration: item["configuration"],
|
|
5683
|
-
insight: insightSerializer(item["insight"]),
|
|
5684
|
-
};
|
|
5685
|
-
}
|
|
5686
|
-
export function insightScheduleTaskDeserializer(item) {
|
|
5687
|
-
return {
|
|
5688
|
-
type: item["type"],
|
|
5689
|
-
configuration: item["configuration"],
|
|
5690
|
-
insight: insightDeserializer(item["insight"]),
|
|
5691
|
-
};
|
|
5692
|
-
}
|
|
5693
|
-
export function _pagedScheduleDeserializer(item) {
|
|
5694
|
-
return {
|
|
5695
|
-
value: scheduleArrayDeserializer(item["value"]),
|
|
5696
|
-
nextLink: item["nextLink"],
|
|
5697
|
-
};
|
|
5698
|
-
}
|
|
5699
|
-
export function scheduleArraySerializer(result) {
|
|
5700
|
-
return result.map((item) => {
|
|
5701
|
-
return scheduleSerializer(item);
|
|
5702
|
-
});
|
|
5703
|
-
}
|
|
5704
|
-
export function scheduleArrayDeserializer(result) {
|
|
5705
|
-
return result.map((item) => {
|
|
5706
|
-
return scheduleDeserializer(item);
|
|
5707
|
-
});
|
|
5708
|
-
}
|
|
5709
|
-
export function scheduleRunDeserializer(item) {
|
|
5710
|
-
return {
|
|
5711
|
-
runId: item["id"],
|
|
5712
|
-
scheduleId: item["scheduleId"],
|
|
5713
|
-
success: item["success"],
|
|
5714
|
-
triggerTime: item["triggerTime"],
|
|
5715
|
-
error: item["error"],
|
|
5716
|
-
properties: item["properties"],
|
|
5717
|
-
};
|
|
5718
|
-
}
|
|
5719
|
-
export function _pagedScheduleRunDeserializer(item) {
|
|
5720
|
-
return {
|
|
5721
|
-
value: scheduleRunArrayDeserializer(item["value"]),
|
|
5722
|
-
nextLink: item["nextLink"],
|
|
5723
|
-
};
|
|
5724
|
-
}
|
|
5725
|
-
export function scheduleRunArrayDeserializer(result) {
|
|
5726
|
-
return result.map((item) => {
|
|
5727
|
-
return scheduleRunDeserializer(item);
|
|
5728
|
-
});
|
|
5729
|
-
}
|
|
5730
|
-
export function toolboxSkillUnionArraySerializer(result) {
|
|
5731
|
-
return result.map((item) => {
|
|
5732
|
-
return toolboxSkillUnionSerializer(item);
|
|
5733
|
-
});
|
|
5734
|
-
}
|
|
5735
|
-
export function toolboxSkillUnionArrayDeserializer(result) {
|
|
5736
|
-
return result.map((item) => {
|
|
5737
|
-
return toolboxSkillUnionDeserializer(item);
|
|
5738
|
-
});
|
|
5739
|
-
}
|
|
5740
|
-
export function toolboxSkillSerializer(item) {
|
|
5741
|
-
return { type: item["type"] };
|
|
5742
|
-
}
|
|
5743
|
-
export function toolboxSkillDeserializer(item) {
|
|
5744
|
-
return {
|
|
5745
|
-
type: item["type"],
|
|
5746
|
-
};
|
|
5747
|
-
}
|
|
5748
|
-
export function toolboxSkillUnionSerializer(item) {
|
|
5749
|
-
switch (item.type) {
|
|
5750
|
-
case "skill_reference":
|
|
5751
|
-
return toolboxSkillReferenceSerializer(item);
|
|
5752
|
-
default:
|
|
5753
|
-
return toolboxSkillSerializer(item);
|
|
5754
|
-
}
|
|
5755
|
-
}
|
|
5756
|
-
export function toolboxSkillUnionDeserializer(item) {
|
|
5757
|
-
switch (item["type"]) {
|
|
5758
|
-
case "skill_reference":
|
|
5759
|
-
return toolboxSkillReferenceDeserializer(item);
|
|
5760
|
-
default:
|
|
5761
|
-
return toolboxSkillDeserializer(item);
|
|
5762
|
-
}
|
|
5763
|
-
}
|
|
5764
|
-
export function toolboxSkillReferenceSerializer(item) {
|
|
5765
|
-
return { type: item["type"], name: item["name"], version: item["version"] };
|
|
5766
|
-
}
|
|
5767
|
-
export function toolboxSkillReferenceDeserializer(item) {
|
|
5768
|
-
return {
|
|
5769
|
-
type: item["type"],
|
|
5770
|
-
name: item["name"],
|
|
5771
|
-
version: item["version"],
|
|
5772
|
-
};
|
|
5773
|
-
}
|
|
5774
|
-
export function toolboxPoliciesSerializer(item) {
|
|
5775
|
-
return {
|
|
5776
|
-
rai_config: !item["rai_config"] ? item["rai_config"] : raiConfigSerializer(item["rai_config"]),
|
|
5893
|
+
evalRun: item["evalRun"],
|
|
5777
5894
|
};
|
|
5778
5895
|
}
|
|
5779
|
-
export function
|
|
5896
|
+
export function insightScheduleTaskSerializer(item) {
|
|
5780
5897
|
return {
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5898
|
+
type: item["type"],
|
|
5899
|
+
configuration: item["configuration"],
|
|
5900
|
+
insight: insightSerializer(item["insight"]),
|
|
5784
5901
|
};
|
|
5785
5902
|
}
|
|
5786
|
-
export function
|
|
5903
|
+
export function insightScheduleTaskDeserializer(item) {
|
|
5787
5904
|
return {
|
|
5788
|
-
|
|
5789
|
-
|
|
5790
|
-
|
|
5791
|
-
id: item["id"],
|
|
5792
|
-
name: item["name"],
|
|
5793
|
-
version: item["version"],
|
|
5794
|
-
description: item["description"],
|
|
5795
|
-
created_at: new Date(item["created_at"] * 1000),
|
|
5796
|
-
tools: toolUnionArrayDeserializer(item["tools"]),
|
|
5797
|
-
skills: !item["skills"] ? item["skills"] : toolboxSkillUnionArrayDeserializer(item["skills"]),
|
|
5798
|
-
policies: !item["policies"] ? item["policies"] : toolboxPoliciesDeserializer(item["policies"]),
|
|
5905
|
+
type: item["type"],
|
|
5906
|
+
configuration: item["configuration"],
|
|
5907
|
+
insight: insightDeserializer(item["insight"]),
|
|
5799
5908
|
};
|
|
5800
5909
|
}
|
|
5801
|
-
export function
|
|
5910
|
+
export function _pagedScheduleDeserializer(item) {
|
|
5802
5911
|
return {
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
default_version: item["default_version"],
|
|
5912
|
+
value: scheduleArrayDeserializer(item["value"]),
|
|
5913
|
+
nextLink: item["nextLink"],
|
|
5806
5914
|
};
|
|
5807
5915
|
}
|
|
5808
|
-
export function
|
|
5809
|
-
return {
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
last_id: item["last_id"],
|
|
5813
|
-
has_more: item["has_more"],
|
|
5814
|
-
};
|
|
5916
|
+
export function scheduleArraySerializer(result) {
|
|
5917
|
+
return result.map((item) => {
|
|
5918
|
+
return scheduleSerializer(item);
|
|
5919
|
+
});
|
|
5815
5920
|
}
|
|
5816
|
-
export function
|
|
5921
|
+
export function scheduleArrayDeserializer(result) {
|
|
5817
5922
|
return result.map((item) => {
|
|
5818
|
-
return
|
|
5923
|
+
return scheduleDeserializer(item);
|
|
5819
5924
|
});
|
|
5820
5925
|
}
|
|
5821
|
-
export function
|
|
5926
|
+
export function scheduleRunDeserializer(item) {
|
|
5822
5927
|
return {
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
|
|
5928
|
+
runId: item["id"],
|
|
5929
|
+
scheduleId: item["scheduleId"],
|
|
5930
|
+
success: item["success"],
|
|
5931
|
+
triggerTime: item["triggerTime"],
|
|
5932
|
+
error: item["error"],
|
|
5933
|
+
properties: item["properties"],
|
|
5827
5934
|
};
|
|
5828
5935
|
}
|
|
5829
|
-
export function
|
|
5936
|
+
export function _pagedScheduleRunDeserializer(item) {
|
|
5937
|
+
return {
|
|
5938
|
+
value: scheduleRunArrayDeserializer(item["value"]),
|
|
5939
|
+
nextLink: item["nextLink"],
|
|
5940
|
+
};
|
|
5941
|
+
}
|
|
5942
|
+
export function scheduleRunArrayDeserializer(result) {
|
|
5830
5943
|
return result.map((item) => {
|
|
5831
|
-
return
|
|
5944
|
+
return scheduleRunDeserializer(item);
|
|
5832
5945
|
});
|
|
5833
5946
|
}
|
|
5834
5947
|
export function skillDeserializer(item) {
|
|
@@ -6186,9 +6299,7 @@ export function dataGenerationJobOutputOptionsDeserializer(item) {
|
|
|
6186
6299
|
return {
|
|
6187
6300
|
name: item["name"],
|
|
6188
6301
|
description: item["description"],
|
|
6189
|
-
tags:
|
|
6190
|
-
? item["tags"]
|
|
6191
|
-
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
6302
|
+
tags: item["tags"],
|
|
6192
6303
|
};
|
|
6193
6304
|
}
|
|
6194
6305
|
export function dataGenerationJobResultDeserializer(item) {
|
|
@@ -6236,9 +6347,7 @@ export function datasetDataGenerationJobOutputDeserializer(item) {
|
|
|
6236
6347
|
name: item["name"],
|
|
6237
6348
|
version: item["version"],
|
|
6238
6349
|
description: item["description"],
|
|
6239
|
-
tags:
|
|
6240
|
-
? item["tags"]
|
|
6241
|
-
: Object.fromEntries(Object.entries(item["tags"]).map(([k, p]) => [k, p])),
|
|
6350
|
+
tags: item["tags"],
|
|
6242
6351
|
};
|
|
6243
6352
|
}
|
|
6244
6353
|
export function dataGenerationTokenUsageDeserializer(item) {
|
|
@@ -6266,6 +6375,266 @@ export function dataGenerationJobArrayDeserializer(result) {
|
|
|
6266
6375
|
return dataGenerationJobDeserializer(item);
|
|
6267
6376
|
});
|
|
6268
6377
|
}
|
|
6378
|
+
export function optimizationJobSerializer(item) {
|
|
6379
|
+
return {
|
|
6380
|
+
inputs: !item["inputs"] ? item["inputs"] : optimizationJobInputsSerializer(item["inputs"]),
|
|
6381
|
+
};
|
|
6382
|
+
}
|
|
6383
|
+
export function optimizationJobDeserializer(item) {
|
|
6384
|
+
return {
|
|
6385
|
+
id: item["id"],
|
|
6386
|
+
inputs: !item["inputs"] ? item["inputs"] : optimizationJobInputsDeserializer(item["inputs"]),
|
|
6387
|
+
result: !item["result"] ? item["result"] : optimizationJobResultDeserializer(item["result"]),
|
|
6388
|
+
status: item["status"],
|
|
6389
|
+
error: !item["error"] ? item["error"] : apiErrorDeserializer(item["error"]),
|
|
6390
|
+
created_at: new Date(item["created_at"] * 1000),
|
|
6391
|
+
updated_at: new Date(item["updated_at"] * 1000),
|
|
6392
|
+
progress: !item["progress"]
|
|
6393
|
+
? item["progress"]
|
|
6394
|
+
: optimizationJobProgressDeserializer(item["progress"]),
|
|
6395
|
+
warnings: !item["warnings"]
|
|
6396
|
+
? item["warnings"]
|
|
6397
|
+
: item["warnings"].map((p) => {
|
|
6398
|
+
return p;
|
|
6399
|
+
}),
|
|
6400
|
+
};
|
|
6401
|
+
}
|
|
6402
|
+
export function optimizationJobInputsSerializer(item) {
|
|
6403
|
+
return {
|
|
6404
|
+
agent: optimizationAgentIdentifierSerializer(item["agent"]),
|
|
6405
|
+
train_dataset: optimizationDatasetInputUnionSerializer(item["train_dataset"]),
|
|
6406
|
+
validation_dataset: !item["validation_dataset"]
|
|
6407
|
+
? item["validation_dataset"]
|
|
6408
|
+
: optimizationDatasetInputUnionSerializer(item["validation_dataset"]),
|
|
6409
|
+
evaluators: optimizationEvaluatorRefArraySerializer(item["evaluators"]),
|
|
6410
|
+
options: !item["options"] ? item["options"] : optimizationOptionsSerializer(item["options"]),
|
|
6411
|
+
};
|
|
6412
|
+
}
|
|
6413
|
+
export function optimizationJobInputsDeserializer(item) {
|
|
6414
|
+
return {
|
|
6415
|
+
agent: optimizationAgentIdentifierDeserializer(item["agent"]),
|
|
6416
|
+
train_dataset: optimizationDatasetInputUnionDeserializer(item["train_dataset"]),
|
|
6417
|
+
validation_dataset: !item["validation_dataset"]
|
|
6418
|
+
? item["validation_dataset"]
|
|
6419
|
+
: optimizationDatasetInputUnionDeserializer(item["validation_dataset"]),
|
|
6420
|
+
evaluators: optimizationEvaluatorRefArrayDeserializer(item["evaluators"]),
|
|
6421
|
+
options: !item["options"] ? item["options"] : optimizationOptionsDeserializer(item["options"]),
|
|
6422
|
+
};
|
|
6423
|
+
}
|
|
6424
|
+
export function optimizationAgentIdentifierSerializer(item) {
|
|
6425
|
+
return { agent_name: item["agent_name"], agent_version: item["agent_version"] };
|
|
6426
|
+
}
|
|
6427
|
+
export function optimizationAgentIdentifierDeserializer(item) {
|
|
6428
|
+
return {
|
|
6429
|
+
agent_name: item["agent_name"],
|
|
6430
|
+
agent_version: item["agent_version"],
|
|
6431
|
+
};
|
|
6432
|
+
}
|
|
6433
|
+
export function optimizationDatasetInputSerializer(item) {
|
|
6434
|
+
return { type: item["type"] };
|
|
6435
|
+
}
|
|
6436
|
+
export function optimizationDatasetInputDeserializer(item) {
|
|
6437
|
+
return {
|
|
6438
|
+
type: item["type"],
|
|
6439
|
+
};
|
|
6440
|
+
}
|
|
6441
|
+
export function optimizationDatasetInputUnionSerializer(item) {
|
|
6442
|
+
switch (item.type) {
|
|
6443
|
+
case "inline":
|
|
6444
|
+
return optimizationInlineDatasetInputSerializer(item);
|
|
6445
|
+
case "reference":
|
|
6446
|
+
return optimizationReferenceDatasetInputSerializer(item);
|
|
6447
|
+
default:
|
|
6448
|
+
return optimizationDatasetInputSerializer(item);
|
|
6449
|
+
}
|
|
6450
|
+
}
|
|
6451
|
+
export function optimizationDatasetInputUnionDeserializer(item) {
|
|
6452
|
+
switch (item["type"]) {
|
|
6453
|
+
case "inline":
|
|
6454
|
+
return optimizationInlineDatasetInputDeserializer(item);
|
|
6455
|
+
case "reference":
|
|
6456
|
+
return optimizationReferenceDatasetInputDeserializer(item);
|
|
6457
|
+
default:
|
|
6458
|
+
return optimizationDatasetInputDeserializer(item);
|
|
6459
|
+
}
|
|
6460
|
+
}
|
|
6461
|
+
export function optimizationInlineDatasetInputSerializer(item) {
|
|
6462
|
+
return { type: item["type"], items: optimizationDatasetItemArraySerializer(item["items"]) };
|
|
6463
|
+
}
|
|
6464
|
+
export function optimizationInlineDatasetInputDeserializer(item) {
|
|
6465
|
+
return {
|
|
6466
|
+
type: item["type"],
|
|
6467
|
+
items: optimizationDatasetItemArrayDeserializer(item["items"]),
|
|
6468
|
+
};
|
|
6469
|
+
}
|
|
6470
|
+
export function optimizationDatasetItemArraySerializer(result) {
|
|
6471
|
+
return result.map((item) => {
|
|
6472
|
+
return optimizationDatasetItemSerializer(item);
|
|
6473
|
+
});
|
|
6474
|
+
}
|
|
6475
|
+
export function optimizationDatasetItemArrayDeserializer(result) {
|
|
6476
|
+
return result.map((item) => {
|
|
6477
|
+
return optimizationDatasetItemDeserializer(item);
|
|
6478
|
+
});
|
|
6479
|
+
}
|
|
6480
|
+
export function optimizationDatasetItemSerializer(item) {
|
|
6481
|
+
return {
|
|
6482
|
+
query: item["query"],
|
|
6483
|
+
ground_truth: item["ground_truth"],
|
|
6484
|
+
desired_num_turns: item["desired_num_turns"],
|
|
6485
|
+
criteria: !item["criteria"]
|
|
6486
|
+
? item["criteria"]
|
|
6487
|
+
: optimizationDatasetCriterionArraySerializer(item["criteria"]),
|
|
6488
|
+
};
|
|
6489
|
+
}
|
|
6490
|
+
export function optimizationDatasetItemDeserializer(item) {
|
|
6491
|
+
return {
|
|
6492
|
+
query: item["query"],
|
|
6493
|
+
ground_truth: item["ground_truth"],
|
|
6494
|
+
desired_num_turns: item["desired_num_turns"],
|
|
6495
|
+
criteria: !item["criteria"]
|
|
6496
|
+
? item["criteria"]
|
|
6497
|
+
: optimizationDatasetCriterionArrayDeserializer(item["criteria"]),
|
|
6498
|
+
};
|
|
6499
|
+
}
|
|
6500
|
+
export function optimizationDatasetCriterionArraySerializer(result) {
|
|
6501
|
+
return result.map((item) => {
|
|
6502
|
+
return optimizationDatasetCriterionSerializer(item);
|
|
6503
|
+
});
|
|
6504
|
+
}
|
|
6505
|
+
export function optimizationDatasetCriterionArrayDeserializer(result) {
|
|
6506
|
+
return result.map((item) => {
|
|
6507
|
+
return optimizationDatasetCriterionDeserializer(item);
|
|
6508
|
+
});
|
|
6509
|
+
}
|
|
6510
|
+
export function optimizationDatasetCriterionSerializer(item) {
|
|
6511
|
+
return { name: item["name"], instruction: item["instruction"] };
|
|
6512
|
+
}
|
|
6513
|
+
export function optimizationDatasetCriterionDeserializer(item) {
|
|
6514
|
+
return {
|
|
6515
|
+
name: item["name"],
|
|
6516
|
+
instruction: item["instruction"],
|
|
6517
|
+
};
|
|
6518
|
+
}
|
|
6519
|
+
export function optimizationReferenceDatasetInputSerializer(item) {
|
|
6520
|
+
return { type: item["type"], name: item["name"], version: item["version"] };
|
|
6521
|
+
}
|
|
6522
|
+
export function optimizationReferenceDatasetInputDeserializer(item) {
|
|
6523
|
+
return {
|
|
6524
|
+
type: item["type"],
|
|
6525
|
+
name: item["name"],
|
|
6526
|
+
version: item["version"],
|
|
6527
|
+
};
|
|
6528
|
+
}
|
|
6529
|
+
export function optimizationEvaluatorRefArraySerializer(result) {
|
|
6530
|
+
return result.map((item) => {
|
|
6531
|
+
return optimizationEvaluatorRefSerializer(item);
|
|
6532
|
+
});
|
|
6533
|
+
}
|
|
6534
|
+
export function optimizationEvaluatorRefArrayDeserializer(result) {
|
|
6535
|
+
return result.map((item) => {
|
|
6536
|
+
return optimizationEvaluatorRefDeserializer(item);
|
|
6537
|
+
});
|
|
6538
|
+
}
|
|
6539
|
+
export function optimizationEvaluatorRefSerializer(item) {
|
|
6540
|
+
return { name: item["name"], version: item["version"] };
|
|
6541
|
+
}
|
|
6542
|
+
export function optimizationEvaluatorRefDeserializer(item) {
|
|
6543
|
+
return {
|
|
6544
|
+
name: item["name"],
|
|
6545
|
+
version: item["version"],
|
|
6546
|
+
};
|
|
6547
|
+
}
|
|
6548
|
+
export function optimizationOptionsSerializer(item) {
|
|
6549
|
+
return {
|
|
6550
|
+
max_candidates: item["max_candidates"],
|
|
6551
|
+
optimization_config: item["optimization_config"],
|
|
6552
|
+
eval_model: item["eval_model"],
|
|
6553
|
+
optimization_model: item["optimization_model"],
|
|
6554
|
+
evaluation_level: item["evaluation_level"],
|
|
6555
|
+
};
|
|
6556
|
+
}
|
|
6557
|
+
export function optimizationOptionsDeserializer(item) {
|
|
6558
|
+
return {
|
|
6559
|
+
max_candidates: item["max_candidates"],
|
|
6560
|
+
optimization_config: !item["optimization_config"]
|
|
6561
|
+
? item["optimization_config"]
|
|
6562
|
+
: Object.fromEntries(Object.entries(item["optimization_config"]).map(([k, p]) => [k, p])),
|
|
6563
|
+
eval_model: item["eval_model"],
|
|
6564
|
+
optimization_model: item["optimization_model"],
|
|
6565
|
+
evaluation_level: item["evaluation_level"],
|
|
6566
|
+
};
|
|
6567
|
+
}
|
|
6568
|
+
export function optimizationJobResultDeserializer(item) {
|
|
6569
|
+
return {
|
|
6570
|
+
baseline: item["baseline"],
|
|
6571
|
+
best: item["best"],
|
|
6572
|
+
candidates: !item["candidates"]
|
|
6573
|
+
? item["candidates"]
|
|
6574
|
+
: optimizationCandidateArrayDeserializer(item["candidates"]),
|
|
6575
|
+
};
|
|
6576
|
+
}
|
|
6577
|
+
export function optimizationCandidateArrayDeserializer(result) {
|
|
6578
|
+
return result.map((item) => {
|
|
6579
|
+
return optimizationCandidateDeserializer(item);
|
|
6580
|
+
});
|
|
6581
|
+
}
|
|
6582
|
+
export function optimizationCandidateDeserializer(item) {
|
|
6583
|
+
return {
|
|
6584
|
+
candidate_id: item["candidate_id"],
|
|
6585
|
+
name: item["name"],
|
|
6586
|
+
mutations: !item["mutations"]
|
|
6587
|
+
? item["mutations"]
|
|
6588
|
+
: Object.fromEntries(Object.entries(item["mutations"]).map(([k, p]) => [k, p])),
|
|
6589
|
+
avg_score: item["avg_score"],
|
|
6590
|
+
avg_tokens: item["avg_tokens"],
|
|
6591
|
+
eval_id: item["eval_id"],
|
|
6592
|
+
eval_run_id: item["eval_run_id"],
|
|
6593
|
+
promotion: !item["promotion"]
|
|
6594
|
+
? item["promotion"]
|
|
6595
|
+
: promotionInfoDeserializer(item["promotion"]),
|
|
6596
|
+
};
|
|
6597
|
+
}
|
|
6598
|
+
export function promotionInfoDeserializer(item) {
|
|
6599
|
+
return {
|
|
6600
|
+
promoted_at: new Date(item["promoted_at"] * 1000),
|
|
6601
|
+
agent_name: item["agent_name"],
|
|
6602
|
+
agent_version: item["agent_version"],
|
|
6603
|
+
};
|
|
6604
|
+
}
|
|
6605
|
+
export function optimizationJobProgressDeserializer(item) {
|
|
6606
|
+
return {
|
|
6607
|
+
candidates_completed: item["candidates_completed"],
|
|
6608
|
+
best_score: item["best_score"],
|
|
6609
|
+
elapsed_seconds: item["elapsed_seconds"],
|
|
6610
|
+
};
|
|
6611
|
+
}
|
|
6612
|
+
export function _agentsPagedResultOptimizationJobListItemDeserializer(item) {
|
|
6613
|
+
return {
|
|
6614
|
+
data: optimizationJobListItemArrayDeserializer(item["data"]),
|
|
6615
|
+
first_id: item["first_id"],
|
|
6616
|
+
last_id: item["last_id"],
|
|
6617
|
+
has_more: item["has_more"],
|
|
6618
|
+
};
|
|
6619
|
+
}
|
|
6620
|
+
export function optimizationJobListItemArrayDeserializer(result) {
|
|
6621
|
+
return result.map((item) => {
|
|
6622
|
+
return optimizationJobListItemDeserializer(item);
|
|
6623
|
+
});
|
|
6624
|
+
}
|
|
6625
|
+
export function optimizationJobListItemDeserializer(item) {
|
|
6626
|
+
return {
|
|
6627
|
+
id: item["id"],
|
|
6628
|
+
status: item["status"],
|
|
6629
|
+
error: !item["error"] ? item["error"] : apiErrorDeserializer(item["error"]),
|
|
6630
|
+
created_at: new Date(item["created_at"] * 1000),
|
|
6631
|
+
updated_at: new Date(item["updated_at"] * 1000),
|
|
6632
|
+
progress: !item["progress"]
|
|
6633
|
+
? item["progress"]
|
|
6634
|
+
: optimizationJobProgressDeserializer(item["progress"]),
|
|
6635
|
+
agent: !item["agent"] ? item["agent"] : optimizationAgentIdentifierDeserializer(item["agent"]),
|
|
6636
|
+
};
|
|
6637
|
+
}
|
|
6269
6638
|
export function updateToolboxRequestSerializer(item) {
|
|
6270
6639
|
return { default_version: item["default_version"] };
|
|
6271
6640
|
}
|