diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 88c2fe69b35c..87cd47a1d0ac 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -1135,9 +1135,6 @@ importers: '@rush-temp/purview-administration': specifier: file:./projects/purview-administration.tgz version: file:projects/purview-administration.tgz(@types/debug@4.1.12)(msw@2.7.2(@types/node@22.7.9)(typescript@5.7.3))(tsx@4.19.3)(vite@6.1.1(@types/node@22.7.9)(tsx@4.19.3)(yaml@2.7.0))(yaml@2.7.0) - '@rush-temp/purview-catalog': - specifier: file:./projects/purview-catalog.tgz - version: file:projects/purview-catalog.tgz(@types/debug@4.1.12)(msw@2.7.2(@types/node@22.7.9)(typescript@5.7.3))(tsx@4.19.3)(vite@6.1.1(@types/node@22.7.9)(tsx@4.19.3)(yaml@2.7.0))(yaml@2.7.0) '@rush-temp/purview-datamap': specifier: file:./projects/purview-datamap.tgz version: file:projects/purview-datamap.tgz(@types/debug@4.1.12)(msw@2.7.2(@types/node@22.7.9)(typescript@5.7.3))(tsx@4.19.3)(vite@6.1.1(@types/node@22.7.9)(tsx@4.19.3)(yaml@2.7.0))(yaml@2.7.0) @@ -3717,7 +3714,7 @@ packages: version: 0.0.0 '@rush-temp/data-tables@file:projects/data-tables.tgz': - resolution: {integrity: sha512-zldHiLq7jQaJcs6Q2OSlCYLyT1hwrRkSkXDzh/ZhNY5HISAIWHCHDbO+CVi1VCO1x6Ywk7bZpCht3JpApT1rgA==, tarball: file:projects/data-tables.tgz} + resolution: {integrity: sha512-ncHx4Y4NysoHyoasn8NqGNLlVqAZkQexYzEeBRkXvAMlNfiyM7CI2XvqzHWTHJ00gT1fUXBos/BlACrIor1Dnw==, tarball: file:projects/data-tables.tgz} version: 0.0.0 '@rush-temp/defender-easm@file:projects/defender-easm.tgz': @@ -4004,10 +4001,6 @@ packages: resolution: {integrity: sha512-sJnGYrisxfkOdG5jMzS3pzpdQLIy3Si35zykLbtDhzcbryjnil23kCF8FQvIN1NbssKa2uVuQDGLL6XnxIzzjQ==, tarball: file:projects/purview-administration.tgz} version: 0.0.0 - '@rush-temp/purview-catalog@file:projects/purview-catalog.tgz': - resolution: {integrity: sha512-2oWMgCH8s0r+H7dsaHfrRgjLZge6WDmIT0+PIFpngox1JIV6QlJ7fCxicc/67Ck6+BkbRbLe4YFKdLiNYinrVw==, tarball: file:projects/purview-catalog.tgz} - version: 0.0.0 - '@rush-temp/purview-datamap@file:projects/purview-datamap.tgz': resolution: {integrity: sha512-RJ78L/3egQyb4gbQKiG3t0N4BE1i1GUcoW/XOxYkxFyzyT4Y6EQMi1NoWgmS8k/TR0+TI188tkcJYS/mLdjq3g==, tarball: file:projects/purview-datamap.tgz} version: 0.0.0 @@ -4097,11 +4090,11 @@ packages: version: 0.0.0 '@rush-temp/template-dpg@file:projects/template-dpg.tgz': - resolution: {integrity: sha512-KaBGGhq/jozIu1ltIbRJzK9PaMoEMw55YLR3yE7GQE8129wI8mNRdteHhr9PM8PObVHrH5fUhaGRhFCa37tcpw==, tarball: file:projects/template-dpg.tgz} + resolution: {integrity: sha512-kkPKiKIz44Ih+QJ33/d6/cSJ1eKd/ySnlTNOY4OuxDuD95k6E6/nd26Qn717UZpq1AM0NFLgKi3yDI/TROIbsg==, tarball: file:projects/template-dpg.tgz} version: 0.0.0 '@rush-temp/template@file:projects/template.tgz': - resolution: {integrity: sha512-xfFUN0SVFOTY02MTJsAlGm+nmlqIaaOsw19seROVIH5gV6Mq1WZHLNkxEq8ugfQohOVWTWWE7gVrLSspR5/6GQ==, tarball: file:projects/template.tgz} + resolution: {integrity: sha512-Kb8eCK1QfJLNkvXjq0854unAAa7JZJENFiuUlVw8g6+yMNSO8q50Zk1SC+UmZb3CXzhQ6xtM+Pb1zxWgMEa+xw==, tarball: file:projects/template.tgz} version: 0.0.0 '@rush-temp/test-credential@file:projects/test-credential.tgz': @@ -4141,7 +4134,7 @@ packages: version: 0.0.0 '@rush-temp/web-pubsub-express@file:projects/web-pubsub-express.tgz': - resolution: {integrity: sha512-G4icH6doEf84vpOM4NKQ2FMimS4Py/kmg16pk6QJpOfb5c00A1XHw1HAzd0MDqCk/X7jXikO0PBaiYRwsZzifQ==, tarball: file:projects/web-pubsub-express.tgz} + resolution: {integrity: sha512-Ko4faQvWOMLzb5WkUzrtRFr1CuHglmTK1Ky/gZSdgGpN0MSzuTHHkIkv1yoN+annOEjIN4Z9yCGXExUOH4/D7g==, tarball: file:projects/web-pubsub-express.tgz} version: 0.0.0 '@rush-temp/web-pubsub@file:projects/web-pubsub.tgz': @@ -22396,42 +22389,6 @@ snapshots: - webdriverio - yaml - '@rush-temp/purview-catalog@file:projects/purview-catalog.tgz(@types/debug@4.1.12)(msw@2.7.2(@types/node@22.7.9)(typescript@5.7.3))(tsx@4.19.3)(vite@6.1.1(@types/node@22.7.9)(tsx@4.19.3)(yaml@2.7.0))(yaml@2.7.0)': - dependencies: - '@azure/core-lro': 2.7.2 - '@types/node': 18.19.76 - '@vitest/browser': 3.0.6(@types/node@18.19.76)(playwright@1.50.1)(typescript@5.7.3)(vite@6.1.1(@types/node@22.7.9)(tsx@4.19.3)(yaml@2.7.0))(vitest@3.0.6) - '@vitest/coverage-istanbul': 3.0.6(vitest@3.0.6) - dotenv: 16.4.7 - eslint: 9.21.0 - playwright: 1.50.1 - tslib: 2.8.1 - typescript: 5.7.3 - vitest: 3.0.6(@types/debug@4.1.12)(@types/node@18.19.76)(@vitest/browser@3.0.6)(msw@2.7.2(@types/node@22.7.9)(typescript@5.7.3))(tsx@4.19.3)(yaml@2.7.0) - transitivePeerDependencies: - - '@edge-runtime/vm' - - '@types/debug' - - '@vitest/ui' - - bufferutil - - happy-dom - - jiti - - jsdom - - less - - lightningcss - - msw - - safaridriver - - sass - - sass-embedded - - stylus - - sugarss - - supports-color - - terser - - tsx - - utf-8-validate - - vite - - webdriverio - - yaml - '@rush-temp/purview-datamap@file:projects/purview-datamap.tgz(@types/debug@4.1.12)(msw@2.7.2(@types/node@22.7.9)(typescript@5.7.3))(tsx@4.19.3)(vite@6.1.1(@types/node@22.7.9)(tsx@4.19.3)(yaml@2.7.0))(yaml@2.7.0)': dependencies: '@types/node': 18.19.76 diff --git a/rush.json b/rush.json index ea51b558f055..07cc2709de1f 100644 --- a/rush.json +++ b/rush.json @@ -290,11 +290,6 @@ "projectFolder": "sdk/purview/purview-administration-rest", "versionPolicyName": "client" }, - { - "packageName": "@azure-rest/purview-catalog", - "projectFolder": "sdk/purview/purview-catalog-rest", - "versionPolicyName": "client" - }, { "packageName": "@azure-rest/purview-datamap", "projectFolder": "sdk/purview/purview-datamap-rest", diff --git a/sdk/purview/ci.yml b/sdk/purview/ci.yml index ec18369d6f5d..793c97517621 100644 --- a/sdk/purview/ci.yml +++ b/sdk/purview/ci.yml @@ -32,8 +32,6 @@ extends: parameters: ServiceDirectory: purview Artifacts: - - name: azure-rest-purview-catalog - safeName: azurerestpurviewcatalog - name: azure-rest-purview-scanning safeName: azurerestpurviewscanning - name: azure-rest-purview-administration diff --git a/sdk/purview/purview-catalog-rest/CHANGELOG.md b/sdk/purview/purview-catalog-rest/CHANGELOG.md deleted file mode 100644 index 0248cb114780..000000000000 --- a/sdk/purview/purview-catalog-rest/CHANGELOG.md +++ /dev/null @@ -1,35 +0,0 @@ -# Release History - -## 1.0.0-beta.6 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes - -## 1.0.0-beta.5 (2022-06-02) - -### Features Added - -- Support Atlas 2.2 APIs - -### Bugs Fixed - -- Add missing query parameter `includeTermHierarchy` for update term API -- Add missing query parameter `excludeRelationshipTypes` for get term API - -## 1.0.0-beta.4 (2022-04-07) - -- Fix bug for listing entities by guids - -## 1.0.0-beta.3 (2021-10-15) - -- Refresh the package -- Add polling helper support - -## 1.0.0-beta.1 (2021-05-11) - -- First release of package, see README.md for details. diff --git a/sdk/purview/purview-catalog-rest/LICENSE b/sdk/purview/purview-catalog-rest/LICENSE deleted file mode 100644 index b2f52a2bad4e..000000000000 --- a/sdk/purview/purview-catalog-rest/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -Copyright (c) Microsoft Corporation. - -MIT License - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/sdk/purview/purview-catalog-rest/README.md b/sdk/purview/purview-catalog-rest/README.md deleted file mode 100644 index ab987b007dc2..000000000000 --- a/sdk/purview/purview-catalog-rest/README.md +++ /dev/null @@ -1,135 +0,0 @@ -# Azure Purview Catalog REST client library for JavaScript - -Azure Purview Catalog is a fully managed cloud service whose users can discover the data sources they need and understand the data sources they find. At the same time, Data Catalog helps organizations get more value from their existing investments. - -- Search for data using technical or business terms -- Browse associated technical, business, semantic, and operational metadata -- Identify the sensitivity level of data. - -**Please rely heavily on the [service's documentation][catalog_product_documentation] and our [REST client docs][rest_client] to use this library** - -Key links: - -- [Source code][source_code] -- [Package (NPM)][catalog_npm] -- [API reference documentation][catalog_ref_docs] -- [Product documentation][catalog_product_documentation] - -## Getting started - -### Currently supported environments - -- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule) - -### Prerequisites - -- You must have an [Azure subscription][azure_subscription] and a [Purview][purview_resource] to use this package. - -#### Create a Purview Resource - -Follow [these][purview_resource] instructions to create your Purview resource - -### Install the `@azure-rest/purview-catalog` package - -Install the Azure Purview Catalog client library for JavaScript with `npm`: - -```bash -npm install @azure-rest/purview-catalog -``` - -### Create and authenticate a `PurviewCatalog` - -To use an [Azure Active Directory (AAD) token credential][authenticate_with_token], -provide an instance of the desired credential type obtained from the -[@azure/identity][azure_identity_credentials] library. - -To authenticate with AAD, you must first `npm` install [`@azure/identity`][azure_identity_npm] and -[enable AAD authentication on your Purview resource][enable_aad] - -After setup, you can choose which type of [credential][azure_identity_credentials] from `@azure/identity` to use. -As an example, [DefaultAzureCredential][default_azure_credential] -can be used to authenticate the client: - -Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: -AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET - -Use the returned token credential to authenticate the client: - -```ts snippet:ReadmeSampleCreateClient_Node -import PurviewCatalog from "@azure-rest/purview-catalog"; -import { DefaultAzureCredential } from "@azure/identity"; - -const client = PurviewCatalog( - "https://.purview.azure.com", - new DefaultAzureCredential(), -); -``` - -## Key concepts - -### REST Client - -This client is one of our REST clients. We highly recommend you read how to use a REST client [here][rest_client]. - -## Examples - -The following section shows you how to initialize and authenticate your client, then get all of your type-defs. - -- [Get All Type Definitions](#get-all-type-definitions "Get All Type Definitions") - -```ts snippet:ReadmeSampleGetAllTypeDefs -import PurviewCatalog from "@azure-rest/purview-catalog"; -import { DefaultAzureCredential } from "@azure/identity"; - -const client = PurviewCatalog( - "https://.purview.azure.com", - new DefaultAzureCredential(), -); - -const dataSources = await client.path("/atlas/v2/types/typedefs").get(); - -if (dataSources.status !== "200") { - throw dataSources.body; -} - -for (const entityDef of dataSources.body.entityDefs) { - console.log(`Entity Definition Name: ${entityDef.name}`); -} -``` - -## Troubleshooting - -### Logging - -Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`: - -```ts snippet:SetLogLevel -import { setLogLevel } from "@azure/logger"; - -setLogLevel("info"); -``` - -For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger). - -## Next steps - -## Contributing - -If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. - -## Related projects - -- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js) - -[catalog_product_documentation]: https://azure.microsoft.com/services/purview/ -[rest_client]: https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md -[source_code]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-catalog-rest -[catalog_npm]: https://www.npmjs.com/org/azure-rest -[catalog_ref_docs]: https://azure.github.io/azure-sdk-for-js -[azure_subscription]: https://azure.microsoft.com/free/ -[purview_resource]: https://learn.microsoft.com/azure/purview/create-catalog-portal -[authenticate_with_token]: https://learn.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token -[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials -[azure_identity_npm]: https://www.npmjs.com/package/@azure/identity -[enable_aad]: https://learn.microsoft.com/azure/purview/create-catalog-portal#add-a-security-principal-to-a-data-plane-role -[default_azure_credential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential diff --git a/sdk/purview/purview-catalog-rest/api-extractor.json b/sdk/purview/purview-catalog-rest/api-extractor.json deleted file mode 100644 index 0863a4af9a8a..000000000000 --- a/sdk/purview/purview-catalog-rest/api-extractor.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "mainEntryPointFilePath": "dist/esm/index.d.ts", - "docModel": { - "enabled": true - }, - "apiReport": { - "enabled": true, - "reportFolder": "./review" - }, - "dtsRollup": { - "enabled": true, - "untrimmedFilePath": "", - "publicTrimmedFilePath": "dist/purview-catalog-rest.d.ts" - }, - "messages": { - "tsdocMessageReporting": { - "default": { - "logLevel": "none" - } - }, - "extractorMessageReporting": { - "ae-missing-release-tag": { - "logLevel": "none" - }, - "ae-unresolved-link": { - "logLevel": "none" - } - } - } -} diff --git a/sdk/purview/purview-catalog-rest/assets.json b/sdk/purview/purview-catalog-rest/assets.json deleted file mode 100644 index 15f7c86c0774..000000000000 --- a/sdk/purview/purview-catalog-rest/assets.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "AssetsRepo": "Azure/azure-sdk-assets", - "AssetsRepoPrefixPath": "js", - "TagPrefix": "js/purview/purview-catalog-rest", - "Tag": "js/purview/purview-catalog-rest_d24e6e64d9" -} diff --git a/sdk/purview/purview-catalog-rest/eslint.config.mjs b/sdk/purview/purview-catalog-rest/eslint.config.mjs deleted file mode 100644 index 48face69cf92..000000000000 --- a/sdk/purview/purview-catalog-rest/eslint.config.mjs +++ /dev/null @@ -1,10 +0,0 @@ -import azsdkEslint from "@azure/eslint-plugin-azure-sdk"; - -export default azsdkEslint.config([ - { - rules: { - "@azure/azure-sdk/ts-modules-only-named": "warn", - "tsdoc/syntax": "warn", - }, - }, -]); diff --git a/sdk/purview/purview-catalog-rest/package.json b/sdk/purview/purview-catalog-rest/package.json deleted file mode 100644 index 14cd79ce6284..000000000000 --- a/sdk/purview/purview-catalog-rest/package.json +++ /dev/null @@ -1,144 +0,0 @@ -{ - "name": "@azure-rest/purview-catalog", - "sdk-type": "client", - "author": "Microsoft Corporation", - "description": "An isomorphic rest level client library for the Azure Purview Catalog service.", - "version": "1.0.0-beta.6", - "keywords": [ - "node", - "azure", - "cloud", - "typescript", - "browser", - "isomorphic" - ], - "license": "MIT", - "main": "./dist/commonjs/index.js", - "module": "./dist/esm/index.js", - "types": "./dist/commonjs/index.d.ts", - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-catalog/README.md", - "repository": "github:Azure/azure-sdk-for-js", - "bugs": { - "url": "https://github.com/Azure/azure-sdk-for-js/issues" - }, - "files": [ - "dist/", - "README.md", - "LICENSE" - ], - "engines": { - "node": ">=18.0.0" - }, - "//metadata": { - "constantPaths": [ - { - "path": "swagger/README.md", - "prefix": "package-version" - } - ] - }, - "//sampleConfiguration": { - "productName": "Azure Purview Scanning rest", - "productSlugs": [ - "azure" - ], - "requiredResources": { - "Azure Cognitive Services instance": "https://learn.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account" - }, - "disableDocsMs": true, - "apiRefLink": "https://learn.microsoft.com/rest/api/purview/" - }, - "browser": "./dist/browser/index.js", - "scripts": { - "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", - "build:browser": "dev-tool run build-package && dev-tool run bundle", - "build:debug": "dev-tool run build-package && dev-tool run bundle && dev-tool run extract-api", - "build:node": "dev-tool run build-package && dev-tool run bundle", - "build:samples": "echo Obsolete.", - "build:test": "dev-tool run build-package && dev-tool run bundle", - "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", - "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", - "execute:samples": "dev-tool samples run samples-dev", - "extract-api": "dev-tool run vendored rimraf review && dev-tool run extract-api", - "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", - "generate:client": "autorest --typescript swagger/README.md && npm run format", - "integration-test": "npm run integration-test:node && npm run integration-test:browser", - "integration-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser", - "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'", - "lint": "eslint package.json api-extractor.json src test", - "lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]", - "pack": "npm pack 2>&1", - "test": "npm run clean && npm run build:test && npm run unit-test", - "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser", - "test:node": "npm run clean && npm run build:test && npm run unit-test:node", - "unit-test": "npm run unit-test:node && npm run unit-test:browser", - "unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser", - "unit-test:node": "dev-tool run test:vitest", - "update-snippets": "dev-tool run update-snippets" - }, - "sideEffects": false, - "autoPublish": false, - "dependencies": { - "@azure-rest/core-client": "^2.3.1", - "@azure/core-auth": "^1.9.0", - "@azure/core-lro": "^2.7.2", - "@azure/core-rest-pipeline": "^1.19.0", - "@azure/logger": "^1.1.4", - "tslib": "^2.8.1" - }, - "devDependencies": { - "@azure-tools/test-credential": "^2.0.0", - "@azure-tools/test-recorder": "^4.1.0", - "@azure-tools/test-utils-vitest": "^1.0.0", - "@azure/dev-tool": "^1.0.0", - "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/identity": "^4.7.0", - "@types/node": "^18.0.0", - "@vitest/browser": "^3.0.6", - "@vitest/coverage-istanbul": "^3.0.6", - "dotenv": "^16.0.0", - "eslint": "^9.9.0", - "playwright": "^1.50.1", - "typescript": "~5.7.2", - "vitest": "^3.0.6" - }, - "type": "module", - "tshy": { - "project": "./tsconfig.src.json", - "exports": { - "./package.json": "./package.json", - ".": "./src/index.ts" - }, - "dialects": [ - "esm", - "commonjs" - ], - "esmDialects": [ - "browser", - "react-native" - ], - "selfLink": false - }, - "exports": { - "./package.json": "./package.json", - ".": { - "browser": { - "types": "./dist/browser/index.d.ts", - "default": "./dist/browser/index.js" - }, - "react-native": { - "types": "./dist/react-native/index.d.ts", - "default": "./dist/react-native/index.js" - }, - "import": { - "types": "./dist/esm/index.d.ts", - "default": "./dist/esm/index.js" - }, - "require": { - "types": "./dist/commonjs/index.d.ts", - "default": "./dist/commonjs/index.js" - } - } - }, - "react-native": "./dist/react-native/index.js" -} diff --git a/sdk/purview/purview-catalog-rest/review/purview-catalog.api.md b/sdk/purview/purview-catalog-rest/review/purview-catalog.api.md deleted file mode 100644 index 5e32b8dd37ab..000000000000 --- a/sdk/purview/purview-catalog-rest/review/purview-catalog.api.md +++ /dev/null @@ -1,4596 +0,0 @@ -## API Report File for "@azure-rest/purview-catalog" - -> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). - -```ts - -import type { Client } from '@azure-rest/core-client'; -import type { ClientOptions } from '@azure-rest/core-client'; -import type { HttpResponse } from '@azure-rest/core-client'; -import type { LroEngineOptions } from '@azure/core-lro'; -import type { PollerLike } from '@azure/core-lro'; -import type { PollOperationState } from '@azure/core-lro'; -import type { RequestParameters } from '@azure-rest/core-client'; -import type { TokenCredential } from '@azure/core-auth'; - -// @public (undocumented) -export interface AtlasAttributeDef { - cardinality?: "SINGLE" | "LIST" | "SET"; - constraints?: Array; - defaultValue?: string; - description?: string; - includeInNotification?: boolean; - isIndexable?: boolean; - isOptional?: boolean; - isUnique?: boolean; - name?: string; - options?: Record; - typeName?: string; - valuesMaxCount?: number; - valuesMinCount?: number; -} - -// @public (undocumented) -export interface AtlasAttributeDefOutput { - cardinality?: "SINGLE" | "LIST" | "SET"; - constraints?: Array; - defaultValue?: string; - description?: string; - includeInNotification?: boolean; - isIndexable?: boolean; - isOptional?: boolean; - isUnique?: boolean; - name?: string; - options?: Record; - typeName?: string; - valuesMaxCount?: number; - valuesMinCount?: number; -} - -// @public (undocumented) -export interface AtlasBaseModelObject { - guid?: string; -} - -// @public (undocumented) -export interface AtlasBaseModelObjectOutput { - guid?: string; -} - -// @public (undocumented) -export interface AtlasBaseTypeDef { - category?: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE"; - createdBy?: string; - createTime?: number; - dateFormatter?: DateFormat; - description?: string; - guid?: string; - lastModifiedTS?: string; - name?: string; - options?: Record; - serviceType?: string; - typeVersion?: string; - updatedBy?: string; - updateTime?: number; - version?: number; -} - -// @public (undocumented) -export interface AtlasBaseTypeDefOutput { - category?: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE"; - createdBy?: string; - createTime?: number; - dateFormatter?: DateFormatOutput; - description?: string; - guid?: string; - lastModifiedTS?: string; - name?: string; - options?: Record; - serviceType?: string; - typeVersion?: string; - updatedBy?: string; - updateTime?: number; - version?: number; -} - -// @public (undocumented) -export interface AtlasBusinessMetadataDef extends AtlasStructDef { -} - -// @public (undocumented) -export interface AtlasBusinessMetadataDefOutput extends AtlasStructDefOutput { -} - -// @public (undocumented) -export interface AtlasClassification extends AtlasStruct { - entityGuid?: string; - entityStatus?: "ACTIVE" | "DELETED"; - removePropagationsOnEntityDelete?: boolean; - source?: string; - sourceDetails?: Record>; - validityPeriods?: Array; -} - -// @public (undocumented) -export interface AtlasClassificationDef extends AtlasStructDef { - entityTypes?: Array; - subTypes?: Array; - superTypes?: Array; -} - -// @public (undocumented) -export interface AtlasClassificationDefOutput extends AtlasStructDefOutput { - entityTypes?: Array; - subTypes?: Array; - superTypes?: Array; -} - -// @public (undocumented) -export interface AtlasClassificationOutput extends AtlasStructOutput { - entityGuid?: string; - entityStatus?: "ACTIVE" | "DELETED"; - removePropagationsOnEntityDelete?: boolean; - source?: string; - sourceDetails?: Record>; - validityPeriods?: Array; -} - -// @public (undocumented) -export interface AtlasClassificationsOutput extends PListOutput { -} - -// @public (undocumented) -export interface AtlasConstraintDef { - params?: Record>; - type?: string; -} - -// @public (undocumented) -export interface AtlasConstraintDefOutput { - params?: Record>; - type?: string; -} - -// @public (undocumented) -export interface AtlasEntitiesWithExtInfo extends AtlasEntityExtInfo { - entities?: Array; -} - -// @public (undocumented) -export interface AtlasEntitiesWithExtInfoOutput extends AtlasEntityExtInfoOutput { - entities?: Array; -} - -// @public (undocumented) -export interface AtlasEntity extends AtlasStruct { - businessAttributes?: Record>; - classifications?: Array; - contacts?: Record>; - createdBy?: string; - createTime?: number; - customAttributes?: Record; - guid?: string; - homeId?: string; - isIncomplete?: boolean; - labels?: Array; - meanings?: Array; - provenanceType?: number; - proxy?: boolean; - relationshipAttributes?: Record>; - source?: string; - sourceDetails?: Record>; - status?: "ACTIVE" | "DELETED"; - updatedBy?: string; - updateTime?: number; - version?: number; -} - -// @public (undocumented) -export interface AtlasEntityDef extends AtlasStructDef { - relationshipAttributeDefs?: Array; - subTypes?: Array; - superTypes?: Array; -} - -// @public (undocumented) -export interface AtlasEntityDefOutput extends AtlasStructDefOutput { - relationshipAttributeDefs?: Array; - subTypes?: Array; - superTypes?: Array; -} - -// @public (undocumented) -export interface AtlasEntityExtInfo { - referredEntities?: Record; -} - -// @public (undocumented) -export interface AtlasEntityExtInfoOutput { - referredEntities?: Record; -} - -// @public (undocumented) -export interface AtlasEntityHeader extends AtlasStruct { - classificationNames?: Array; - classifications?: Array; - displayText?: string; - guid?: string; - isIncomplete?: boolean; - labels?: Array; - meaningNames?: Array; - meanings?: Array; - status?: "ACTIVE" | "DELETED"; -} - -// @public (undocumented) -export interface AtlasEntityHeaderOutput extends AtlasStructOutput { - classificationNames?: Array; - classifications?: Array; - displayText?: string; - guid?: string; - isIncomplete?: boolean; - labels?: Array; - meaningNames?: Array; - meanings?: Array; - status?: "ACTIVE" | "DELETED"; -} - -// @public (undocumented) -export interface AtlasEntityHeaders { - guidHeaderMap?: Record; -} - -// @public (undocumented) -export interface AtlasEntityOutput extends AtlasStructOutput { - businessAttributes?: Record>; - classifications?: Array; - contacts?: Record>; - createdBy?: string; - createTime?: number; - customAttributes?: Record; - guid?: string; - homeId?: string; - isIncomplete?: boolean; - labels?: Array; - meanings?: Array; - provenanceType?: number; - proxy?: boolean; - relationshipAttributes?: Record>; - source?: string; - sourceDetails?: Record>; - status?: "ACTIVE" | "DELETED"; - updatedBy?: string; - updateTime?: number; - version?: number; -} - -// @public (undocumented) -export interface AtlasEntityWithExtInfo extends AtlasEntityExtInfo { - entity?: AtlasEntity; -} - -// @public (undocumented) -export interface AtlasEntityWithExtInfoOutput extends AtlasEntityExtInfoOutput { - entity?: AtlasEntityOutput; -} - -// @public (undocumented) -export interface AtlasEnumDef extends AtlasBaseTypeDef { - defaultValue?: string; - elementDefs?: Array; -} - -// @public (undocumented) -export interface AtlasEnumDefOutput extends AtlasBaseTypeDefOutput { - defaultValue?: string; - elementDefs?: Array; -} - -// @public (undocumented) -export interface AtlasEnumElementDef { - description?: string; - ordinal?: number; - value?: string; -} - -// @public (undocumented) -export interface AtlasEnumElementDefOutput { - description?: string; - ordinal?: number; - value?: string; -} - -// @public (undocumented) -export interface AtlasExtraTypeDef { - attributeDefs?: Array; - defaultValue?: string; - elementDefs?: Array; - endDef1?: AtlasRelationshipEndDef; - endDef2?: AtlasRelationshipEndDef; - entityTypes?: Array; - relationshipAttributeDefs?: Array; - relationshipCategory?: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION"; - relationshipLabel?: string; - subTypes?: Array; - superTypes?: Array; -} - -// @public (undocumented) -export interface AtlasExtraTypeDefOutput { - attributeDefs?: Array; - defaultValue?: string; - elementDefs?: Array; - endDef1?: AtlasRelationshipEndDefOutput; - endDef2?: AtlasRelationshipEndDefOutput; - entityTypes?: Array; - relationshipAttributeDefs?: Array; - relationshipCategory?: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION"; - relationshipLabel?: string; - subTypes?: Array; - superTypes?: Array; -} - -// @public (undocumented) -export interface AtlasGlossary extends AtlasGlossaryBaseObject { - categories?: Array; - language?: string; - terms?: Array; - usage?: string; -} - -// @public (undocumented) -export interface AtlasGlossaryBaseObject extends AtlasBaseModelObject { - classifications?: Array; - lastModifiedTS?: string; - longDescription?: string; - name?: string; - qualifiedName?: string; - shortDescription?: string; -} - -// @public (undocumented) -export interface AtlasGlossaryBaseObjectOutput extends AtlasBaseModelObjectOutput { - classifications?: Array; - lastModifiedTS?: string; - longDescription?: string; - name?: string; - qualifiedName?: string; - shortDescription?: string; -} - -// @public (undocumented) -export interface AtlasGlossaryCategory extends AtlasGlossaryBaseObject { - anchor?: AtlasGlossaryHeader; - childrenCategories?: Array; - parentCategory?: AtlasRelatedCategoryHeader; - terms?: Array; -} - -// @public (undocumented) -export interface AtlasGlossaryCategoryOutput extends AtlasGlossaryBaseObjectOutput { - anchor?: AtlasGlossaryHeaderOutput; - childrenCategories?: Array; - parentCategory?: AtlasRelatedCategoryHeaderOutput; - terms?: Array; -} - -// @public (undocumented) -export interface AtlasGlossaryExtInfo extends AtlasGlossary { - categoryInfo?: Record; - termInfo?: Record; -} - -// @public (undocumented) -export interface AtlasGlossaryExtInfoOutput extends AtlasGlossaryOutput { - categoryInfo?: Record; - termInfo?: Record; -} - -// @public (undocumented) -export interface AtlasGlossaryHeader { - displayText?: string; - glossaryGuid?: string; - relationGuid?: string; -} - -// @public (undocumented) -export interface AtlasGlossaryHeaderOutput { - displayText?: string; - glossaryGuid?: string; - relationGuid?: string; -} - -// @public (undocumented) -export interface AtlasGlossaryOutput extends AtlasGlossaryBaseObjectOutput { - categories?: Array; - language?: string; - terms?: Array; - usage?: string; -} - -// @public (undocumented) -export interface AtlasGlossaryTerm extends AtlasGlossaryBaseObject { - abbreviation?: string; - anchor?: AtlasGlossaryHeader; - antonyms?: Array; - assignedEntities?: Array; - attributes?: Record>>; - categories?: Array; - classifies?: Array; - contacts?: Record>; - createdBy?: string; - createTime?: number; - examples?: Array; - isA?: Array; - preferredTerms?: Array; - preferredToTerms?: Array; - replacedBy?: Array; - replacementTerms?: Array; - resources?: Array; - seeAlso?: Array; - status?: "Draft" | "Approved" | "Alert" | "Expired"; - synonyms?: Array; - // (undocumented) - templateName?: Array>; - translatedTerms?: Array; - translationTerms?: Array; - updatedBy?: string; - updateTime?: number; - usage?: string; - validValues?: Array; - validValuesFor?: Array; -} - -// @public (undocumented) -export interface AtlasGlossaryTermOutput extends AtlasGlossaryBaseObjectOutput { - abbreviation?: string; - anchor?: AtlasGlossaryHeaderOutput; - antonyms?: Array; - assignedEntities?: Array; - attributes?: Record>>; - categories?: Array; - classifies?: Array; - contacts?: Record>; - createdBy?: string; - createTime?: number; - examples?: Array; - isA?: Array; - preferredTerms?: Array; - preferredToTerms?: Array; - replacedBy?: Array; - replacementTerms?: Array; - resources?: Array; - seeAlso?: Array; - status?: "Draft" | "Approved" | "Alert" | "Expired"; - synonyms?: Array; - // (undocumented) - templateName?: Array>; - translatedTerms?: Array; - translationTerms?: Array; - updatedBy?: string; - updateTime?: number; - usage?: string; - validValues?: Array; - validValuesFor?: Array; -} - -// @public (undocumented) -export interface AtlasLineageInfoOutput { - baseEntityGuid?: string; - childrenCount?: number; - guidEntityMap?: Record; - includeParent?: boolean; - lineageDepth?: number; - lineageDirection?: "INPUT" | "OUTPUT" | "BOTH"; - lineageWidth?: number; - parentRelations?: Array; - relations?: Array; - widthCounts?: Record>>; -} - -// @public (undocumented) -export interface AtlasObjectId { - guid?: string; - typeName?: string; - uniqueAttributes?: Record>; -} - -// @public (undocumented) -export interface AtlasObjectIdOutput { - guid?: string; - typeName?: string; - uniqueAttributes?: Record>; -} - -// @public (undocumented) -export interface AtlasRelatedCategoryHeader { - categoryGuid?: string; - description?: string; - displayText?: string; - parentCategoryGuid?: string; - relationGuid?: string; -} - -// @public (undocumented) -export interface AtlasRelatedCategoryHeaderOutput { - categoryGuid?: string; - description?: string; - displayText?: string; - parentCategoryGuid?: string; - relationGuid?: string; -} - -// @public (undocumented) -export interface AtlasRelatedObjectId extends AtlasObjectId { - displayText?: string; - entityStatus?: "ACTIVE" | "DELETED"; - relationshipAttributes?: AtlasStruct; - relationshipGuid?: string; - relationshipStatus?: "ACTIVE" | "DELETED"; - // (undocumented) - relationshipType?: string; -} - -// @public (undocumented) -export interface AtlasRelatedObjectIdOutput extends AtlasObjectIdOutput { - displayText?: string; - entityStatus?: "ACTIVE" | "DELETED"; - relationshipAttributes?: AtlasStructOutput; - relationshipGuid?: string; - relationshipStatus?: "ACTIVE" | "DELETED"; - // (undocumented) - relationshipType?: string; -} - -// @public (undocumented) -export interface AtlasRelatedTermHeader { - description?: string; - displayText?: string; - expression?: string; - relationGuid?: string; - source?: string; - status?: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER"; - steward?: string; - termGuid?: string; -} - -// @public (undocumented) -export interface AtlasRelatedTermHeaderOutput { - description?: string; - displayText?: string; - expression?: string; - relationGuid?: string; - source?: string; - status?: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER"; - steward?: string; - termGuid?: string; -} - -// @public (undocumented) -export interface AtlasRelationship extends AtlasStruct { - createdBy?: string; - createTime?: number; - end1?: AtlasObjectId; - end2?: AtlasObjectId; - guid?: string; - homeId?: string; - label?: string; - provenanceType?: number; - status?: "ACTIVE" | "DELETED"; - updatedBy?: string; - updateTime?: number; - version?: number; -} - -// @public (undocumented) -export interface AtlasRelationshipAttributeDef extends AtlasAttributeDef { - isLegacyAttribute?: boolean; - relationshipTypeName?: string; -} - -// @public (undocumented) -export interface AtlasRelationshipAttributeDefOutput extends AtlasAttributeDefOutput { - isLegacyAttribute?: boolean; - relationshipTypeName?: string; -} - -// @public (undocumented) -export interface AtlasRelationshipDef extends AtlasStructDef { - endDef1?: AtlasRelationshipEndDef; - endDef2?: AtlasRelationshipEndDef; - relationshipCategory?: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION"; - relationshipLabel?: string; -} - -// @public (undocumented) -export interface AtlasRelationshipDefOutput extends AtlasStructDefOutput { - endDef1?: AtlasRelationshipEndDefOutput; - endDef2?: AtlasRelationshipEndDefOutput; - relationshipCategory?: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION"; - relationshipLabel?: string; -} - -// @public (undocumented) -export interface AtlasRelationshipEndDef { - cardinality?: "SINGLE" | "LIST" | "SET"; - description?: string; - isContainer?: boolean; - isLegacyAttribute?: boolean; - name?: string; - type?: string; -} - -// @public (undocumented) -export interface AtlasRelationshipEndDefOutput { - cardinality?: "SINGLE" | "LIST" | "SET"; - description?: string; - isContainer?: boolean; - isLegacyAttribute?: boolean; - name?: string; - type?: string; -} - -// @public (undocumented) -export interface AtlasRelationshipOutput extends AtlasStructOutput { - createdBy?: string; - createTime?: number; - end1?: AtlasObjectIdOutput; - end2?: AtlasObjectIdOutput; - guid?: string; - homeId?: string; - label?: string; - provenanceType?: number; - status?: "ACTIVE" | "DELETED"; - updatedBy?: string; - updateTime?: number; - version?: number; -} - -// @public (undocumented) -export interface AtlasRelationshipWithExtInfoOutput { - referredEntities?: Record; - relationship?: AtlasRelationshipOutput; -} - -// @public (undocumented) -export interface AtlasStruct { - attributes?: Record>; - lastModifiedTS?: string; - typeName?: string; -} - -// @public (undocumented) -export interface AtlasStructDef extends AtlasBaseTypeDef { - attributeDefs?: Array; -} - -// @public (undocumented) -export interface AtlasStructDefOutput extends AtlasBaseTypeDefOutput { - attributeDefs?: Array; -} - -// @public (undocumented) -export interface AtlasStructOutput { - attributes?: Record>; - lastModifiedTS?: string; - typeName?: string; -} - -// @public (undocumented) -export interface AtlasTermAssignmentHeader { - confidence?: number; - createdBy?: string; - description?: string; - displayText?: string; - expression?: string; - relationGuid?: string; - source?: string; - status?: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER"; - steward?: string; - termGuid?: string; -} - -// @public (undocumented) -export interface AtlasTermAssignmentHeaderOutput { - confidence?: number; - createdBy?: string; - description?: string; - displayText?: string; - expression?: string; - relationGuid?: string; - source?: string; - status?: "DISCOVERED" | "PROPOSED" | "IMPORTED" | "VALIDATED" | "DEPRECATED" | "OBSOLETE" | "OTHER"; - steward?: string; - termGuid?: string; -} - -// @public (undocumented) -export interface AtlasTermCategorizationHeader { - categoryGuid?: string; - description?: string; - displayText?: string; - relationGuid?: string; - status?: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER"; -} - -// @public (undocumented) -export interface AtlasTermCategorizationHeaderOutput { - categoryGuid?: string; - description?: string; - displayText?: string; - relationGuid?: string; - status?: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER"; -} - -// @public (undocumented) -export interface AtlasTypeDef extends AtlasBaseTypeDef, AtlasExtraTypeDef { -} - -// @public (undocumented) -export interface AtlasTypeDefHeaderOutput { - category?: "PRIMITIVE" | "OBJECT_ID_TYPE" | "ENUM" | "STRUCT" | "CLASSIFICATION" | "ENTITY" | "ARRAY" | "MAP" | "RELATIONSHIP" | "TERM_TEMPLATE"; - guid?: string; - name?: string; -} - -// @public (undocumented) -export interface AtlasTypeDefOutput extends AtlasBaseTypeDefOutput, AtlasExtraTypeDefOutput { -} - -// @public (undocumented) -export interface AtlasTypesDef { - businessMetadataDefs?: Array; - classificationDefs?: Array; - entityDefs?: Array; - enumDefs?: Array; - relationshipDefs?: Array; - structDefs?: Array; - termTemplateDefs?: Array; -} - -// @public (undocumented) -export interface AtlasTypesDefOutput { - businessMetadataDefs?: Array; - classificationDefs?: Array; - entityDefs?: Array; - enumDefs?: Array; - relationshipDefs?: Array; - structDefs?: Array; - termTemplateDefs?: Array; -} - -// @public (undocumented) -export interface AutoCompleteRequest { - filter?: Record; - keywords?: string; - limit?: number; -} - -// @public (undocumented) -export interface AutoCompleteResultOutput { - // (undocumented) - value?: Array; -} - -// @public (undocumented) -export interface AutoCompleteResultValueOutput { - queryPlusText?: string; - text?: string; -} - -// @public (undocumented) -export interface BrowseRequest { - entityType?: string; - limit?: number; - offset?: number; - path?: string; -} - -// @public (undocumented) -export interface BrowseResultOutput { - "@search.count"?: number; - // (undocumented) - value?: Array; -} - -// @public (undocumented) -export interface BrowseResultOwnerOutput { - contactType?: string; - displayName?: string; - id?: string; - mail?: string; -} - -// @public (undocumented) -export interface BrowseResultValueOutput { - entityType?: string; - id?: string; - isLeaf?: boolean; - name?: string; - owner?: Array; - path?: string; - qualifiedName?: string; -} - -// @public (undocumented) -export interface BulkImportResponseOutput { - failedImportInfoList?: Array; - successImportInfoList?: Array; -} - -// @public (undocumented) -export interface ClassificationAssociateRequest { - classification?: AtlasClassification; - entityGuids?: Array; -} - -// @public (undocumented) -export interface CollectionCreateOrUpdate { - post(options: CollectionCreateOrUpdateParameters): Promise; -} - -// @public -export interface CollectionCreateOrUpdate200Response extends HttpResponse { - // (undocumented) - body: EntityMutationResponseOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface CollectionCreateOrUpdateBodyParam { - body: AtlasEntityWithExtInfo; -} - -// @public (undocumented) -export interface CollectionCreateOrUpdateBulk { - post(options: CollectionCreateOrUpdateBulkParameters): Promise; -} - -// @public -export interface CollectionCreateOrUpdateBulk200Response extends HttpResponse { - // (undocumented) - body: EntityMutationResponseOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface CollectionCreateOrUpdateBulkBodyParam { - body: AtlasEntitiesWithExtInfo; -} - -// @public -export interface CollectionCreateOrUpdateBulkdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface CollectionCreateOrUpdateBulkMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type CollectionCreateOrUpdateBulkParameters = CollectionCreateOrUpdateBulkMediaTypesParam & CollectionCreateOrUpdateBulkBodyParam & RequestParameters; - -// @public -export interface CollectionCreateOrUpdatedefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface CollectionCreateOrUpdateMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type CollectionCreateOrUpdateParameters = CollectionCreateOrUpdateMediaTypesParam & CollectionCreateOrUpdateBodyParam & RequestParameters; - -// @public (undocumented) -export interface CollectionMoveEntitiesToCollection { - post(options: CollectionMoveEntitiesToCollectionParameters): Promise; -} - -// @public -export interface CollectionMoveEntitiesToCollection200Response extends HttpResponse { - // (undocumented) - body: EntityMutationResponseOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface CollectionMoveEntitiesToCollectionBodyParam { - body: MoveEntitiesRequest; -} - -// @public -export interface CollectionMoveEntitiesToCollectiondefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface CollectionMoveEntitiesToCollectionMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type CollectionMoveEntitiesToCollectionParameters = CollectionMoveEntitiesToCollectionMediaTypesParam & CollectionMoveEntitiesToCollectionBodyParam & RequestParameters; - -// @public (undocumented) -export interface ContactBasic { - id?: string; - info?: string; -} - -// @public (undocumented) -export interface ContactBasicOutput { - id?: string; - info?: string; -} - -// @public (undocumented) -export interface ContactSearchResultValueOutput { - contactType?: string; - id?: string; - info?: string; -} - -// @public (undocumented) -function createClient(Endpoint: string, credentials: TokenCredential, options?: ClientOptions): PurviewCatalogClient; -export default createClient; - -// @public (undocumented) -export interface DateFormat { - availableLocales?: Array; - // (undocumented) - calendar?: number; - dateInstance?: DateFormat; - dateTimeInstance?: DateFormat; - instance?: DateFormat; - lenient?: boolean; - numberFormat?: NumberFormat; - timeInstance?: DateFormat; - timeZone?: TimeZone; -} - -// @public (undocumented) -export interface DateFormatOutput { - availableLocales?: Array; - // (undocumented) - calendar?: number; - dateInstance?: DateFormatOutput; - dateTimeInstance?: DateFormatOutput; - instance?: DateFormatOutput; - lenient?: boolean; - numberFormat?: NumberFormatOutput; - timeInstance?: DateFormatOutput; - timeZone?: TimeZoneOutput; -} - -// @public (undocumented) -export interface DiscoveryAutoComplete { - post(options: DiscoveryAutoCompleteParameters): Promise; -} - -// @public -export interface DiscoveryAutoComplete200Response extends HttpResponse { - // (undocumented) - body: AutoCompleteResultOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface DiscoveryAutoCompleteBodyParam { - body: AutoCompleteRequest; -} - -// @public -export interface DiscoveryAutoCompletedefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface DiscoveryAutoCompleteMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type DiscoveryAutoCompleteParameters = DiscoveryAutoCompleteMediaTypesParam & DiscoveryAutoCompleteBodyParam & RequestParameters; - -// @public (undocumented) -export interface DiscoveryBrowse { - post(options: DiscoveryBrowseParameters): Promise; -} - -// @public -export interface DiscoveryBrowse200Response extends HttpResponse { - // (undocumented) - body: BrowseResultOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface DiscoveryBrowseBodyParam { - body: BrowseRequest; -} - -// @public -export interface DiscoveryBrowsedefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface DiscoveryBrowseMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type DiscoveryBrowseParameters = DiscoveryBrowseMediaTypesParam & DiscoveryBrowseBodyParam & RequestParameters; - -// @public (undocumented) -export interface DiscoveryQuery { - post(options: DiscoveryQueryParameters): Promise; -} - -// @public -export interface DiscoveryQuery200Response extends HttpResponse { - // (undocumented) - body: SearchResultOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface DiscoveryQueryBodyParam { - body: SearchRequest; -} - -// @public -export interface DiscoveryQuerydefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface DiscoveryQueryMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type DiscoveryQueryParameters = DiscoveryQueryMediaTypesParam & DiscoveryQueryBodyParam & RequestParameters; - -// @public (undocumented) -export interface DiscoverySuggest { - post(options: DiscoverySuggestParameters): Promise; -} - -// @public -export interface DiscoverySuggest200Response extends HttpResponse { - // (undocumented) - body: SuggestResultOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface DiscoverySuggestBodyParam { - body: SuggestRequest; -} - -// @public -export interface DiscoverySuggestdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface DiscoverySuggestMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type DiscoverySuggestParameters = DiscoverySuggestMediaTypesParam & DiscoverySuggestBodyParam & RequestParameters; - -// @public (undocumented) -export interface EntityAddClassification { - post(options: EntityAddClassificationParameters): Promise; -} - -// @public -export interface EntityAddClassification204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public (undocumented) -export interface EntityAddClassificationBodyParam { - body: ClassificationAssociateRequest; -} - -// @public -export interface EntityAddClassificationdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface EntityAddClassificationMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type EntityAddClassificationParameters = EntityAddClassificationMediaTypesParam & EntityAddClassificationBodyParam & RequestParameters; - -// @public -export interface EntityAddClassifications204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public (undocumented) -export interface EntityAddClassificationsBodyParam { - body: Array; -} - -// @public (undocumented) -export interface EntityAddClassificationsByUniqueAttribute { - post(options: EntityAddClassificationsByUniqueAttributeParameters): Promise; - put(options: EntityUpdateClassificationsByUniqueAttributeParameters): Promise; -} - -// @public -export interface EntityAddClassificationsByUniqueAttribute204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public (undocumented) -export interface EntityAddClassificationsByUniqueAttributeBodyParam { - body: Array; -} - -// @public -export interface EntityAddClassificationsByUniqueAttributedefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface EntityAddClassificationsByUniqueAttributeMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type EntityAddClassificationsByUniqueAttributeParameters = EntityAddClassificationsByUniqueAttributeQueryParam & EntityAddClassificationsByUniqueAttributeMediaTypesParam & EntityAddClassificationsByUniqueAttributeBodyParam & RequestParameters; - -// @public (undocumented) -export interface EntityAddClassificationsByUniqueAttributeQueryParam { - // (undocumented) - queryParameters?: EntityAddClassificationsByUniqueAttributeQueryParamProperties; -} - -// @public (undocumented) -export interface EntityAddClassificationsByUniqueAttributeQueryParamProperties { - "attr:qualifiedName"?: string; -} - -// @public -export interface EntityAddClassificationsdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface EntityAddClassificationsMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type EntityAddClassificationsParameters = EntityAddClassificationsMediaTypesParam & EntityAddClassificationsBodyParam & RequestParameters; - -// @public -export interface EntityAddLabel204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public (undocumented) -export interface EntityAddLabelBodyParam { - body?: Array; -} - -// @public (undocumented) -export interface EntityAddLabelMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type EntityAddLabelParameters = EntityAddLabelMediaTypesParam & EntityAddLabelBodyParam & RequestParameters; - -// @public -export interface EntityAddLabelsByUniqueAttribute204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public (undocumented) -export interface EntityAddLabelsByUniqueAttributeBodyParam { - body?: Array; -} - -// @public (undocumented) -export interface EntityAddLabelsByUniqueAttributeMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type EntityAddLabelsByUniqueAttributeParameters = EntityAddLabelsByUniqueAttributeQueryParam & EntityAddLabelsByUniqueAttributeMediaTypesParam & EntityAddLabelsByUniqueAttributeBodyParam & RequestParameters; - -// @public (undocumented) -export interface EntityAddLabelsByUniqueAttributeQueryParam { - // (undocumented) - queryParameters?: EntityAddLabelsByUniqueAttributeQueryParamProperties; -} - -// @public (undocumented) -export interface EntityAddLabelsByUniqueAttributeQueryParamProperties { - "attr:qualifiedName"?: string; -} - -// @public -export interface EntityAddOrUpdateBusinessMetadata204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public -export interface EntityAddOrUpdateBusinessMetadataAttributes204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public (undocumented) -export interface EntityAddOrUpdateBusinessMetadataAttributesBodyParam { - body?: Record>; -} - -// @public (undocumented) -export interface EntityAddOrUpdateBusinessMetadataAttributesMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type EntityAddOrUpdateBusinessMetadataAttributesParameters = EntityAddOrUpdateBusinessMetadataAttributesMediaTypesParam & EntityAddOrUpdateBusinessMetadataAttributesBodyParam & RequestParameters; - -// @public (undocumented) -export interface EntityAddOrUpdateBusinessMetadataBodyParam { - body?: Record>; -} - -// @public (undocumented) -export interface EntityAddOrUpdateBusinessMetadataMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type EntityAddOrUpdateBusinessMetadataParameters = EntityAddOrUpdateBusinessMetadataQueryParam & EntityAddOrUpdateBusinessMetadataMediaTypesParam & EntityAddOrUpdateBusinessMetadataBodyParam & RequestParameters; - -// @public (undocumented) -export interface EntityAddOrUpdateBusinessMetadataQueryParam { - // (undocumented) - queryParameters?: EntityAddOrUpdateBusinessMetadataQueryParamProperties; -} - -// @public (undocumented) -export interface EntityAddOrUpdateBusinessMetadataQueryParamProperties { - isOverwrite?: boolean; -} - -// @public (undocumented) -export interface EntityCreateOrUpdate { - post(options: EntityCreateOrUpdateParameters): Promise; -} - -// @public -export interface EntityCreateOrUpdate200Response extends HttpResponse { - // (undocumented) - body: EntityMutationResponseOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface EntityCreateOrUpdateBodyParam { - body: AtlasEntityWithExtInfo; -} - -// @public -export interface EntityCreateOrUpdatedefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public -export interface EntityCreateOrUpdateEntities200Response extends HttpResponse { - // (undocumented) - body: EntityMutationResponseOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface EntityCreateOrUpdateEntitiesBodyParam { - body: AtlasEntitiesWithExtInfo; -} - -// @public -export interface EntityCreateOrUpdateEntitiesdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface EntityCreateOrUpdateEntitiesMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type EntityCreateOrUpdateEntitiesParameters = EntityCreateOrUpdateEntitiesMediaTypesParam & EntityCreateOrUpdateEntitiesBodyParam & RequestParameters; - -// @public (undocumented) -export interface EntityCreateOrUpdateMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type EntityCreateOrUpdateParameters = EntityCreateOrUpdateMediaTypesParam & EntityCreateOrUpdateBodyParam & RequestParameters; - -// @public (undocumented) -export interface EntityDeleteBusinessMetadata { - delete(options?: EntityDeleteBusinessMetadataParameters): Promise; - post(options?: EntityAddOrUpdateBusinessMetadataParameters): Promise; -} - -// @public -export interface EntityDeleteBusinessMetadata204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public (undocumented) -export interface EntityDeleteBusinessMetadataAttributes { - delete(options?: EntityDeleteBusinessMetadataAttributesParameters): Promise; - post(options?: EntityAddOrUpdateBusinessMetadataAttributesParameters): Promise; -} - -// @public -export interface EntityDeleteBusinessMetadataAttributes204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public (undocumented) -export interface EntityDeleteBusinessMetadataAttributesBodyParam { - body?: Record>; -} - -// @public (undocumented) -export interface EntityDeleteBusinessMetadataAttributesMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type EntityDeleteBusinessMetadataAttributesParameters = EntityDeleteBusinessMetadataAttributesMediaTypesParam & EntityDeleteBusinessMetadataAttributesBodyParam & RequestParameters; - -// @public (undocumented) -export interface EntityDeleteBusinessMetadataBodyParam { - body?: Record>; -} - -// @public (undocumented) -export interface EntityDeleteBusinessMetadataMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type EntityDeleteBusinessMetadataParameters = EntityDeleteBusinessMetadataMediaTypesParam & EntityDeleteBusinessMetadataBodyParam & RequestParameters; - -// @public -export interface EntityDeleteByGuid200Response extends HttpResponse { - // (undocumented) - body: EntityMutationResponseOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface EntityDeleteByGuiddefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type EntityDeleteByGuidParameters = RequestParameters; - -// @public -export interface EntityDeleteByGuids200Response extends HttpResponse { - // (undocumented) - body: EntityMutationResponseOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface EntityDeleteByGuidsdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type EntityDeleteByGuidsParameters = EntityDeleteByGuidsQueryParam & RequestParameters; - -// @public (undocumented) -export interface EntityDeleteByGuidsQueryParam { - // (undocumented) - queryParameters: EntityDeleteByGuidsQueryParamProperties; -} - -// @public (undocumented) -export interface EntityDeleteByGuidsQueryParamProperties { - guid: Array; -} - -// @public -export interface EntityDeleteByUniqueAttribute200Response extends HttpResponse { - // (undocumented) - body: EntityMutationResponseOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface EntityDeleteByUniqueAttributedefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type EntityDeleteByUniqueAttributeParameters = EntityDeleteByUniqueAttributeQueryParam & RequestParameters; - -// @public (undocumented) -export interface EntityDeleteByUniqueAttributeQueryParam { - // (undocumented) - queryParameters?: EntityDeleteByUniqueAttributeQueryParamProperties; -} - -// @public (undocumented) -export interface EntityDeleteByUniqueAttributeQueryParamProperties { - "attr:qualifiedName"?: string; -} - -// @public -export interface EntityDeleteClassification204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public (undocumented) -export interface EntityDeleteClassificationByUniqueAttribute { - delete(options?: EntityDeleteClassificationByUniqueAttributeParameters): Promise; -} - -// @public -export interface EntityDeleteClassificationByUniqueAttribute204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public -export interface EntityDeleteClassificationByUniqueAttributedefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type EntityDeleteClassificationByUniqueAttributeParameters = EntityDeleteClassificationByUniqueAttributeQueryParam & RequestParameters; - -// @public (undocumented) -export interface EntityDeleteClassificationByUniqueAttributeQueryParam { - // (undocumented) - queryParameters?: EntityDeleteClassificationByUniqueAttributeQueryParamProperties; -} - -// @public (undocumented) -export interface EntityDeleteClassificationByUniqueAttributeQueryParamProperties { - "attr:qualifiedName"?: string; -} - -// @public -export interface EntityDeleteClassificationdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type EntityDeleteClassificationParameters = RequestParameters; - -// @public (undocumented) -export interface EntityDeleteLabels { - delete(options?: EntityDeleteLabelsParameters): Promise; - post(options?: EntitySetLabelsParameters): Promise; - put(options?: EntityAddLabelParameters): Promise; -} - -// @public -export interface EntityDeleteLabels204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public (undocumented) -export interface EntityDeleteLabelsBodyParam { - body?: Array; -} - -// @public (undocumented) -export interface EntityDeleteLabelsByUniqueAttribute { - delete(options?: EntityDeleteLabelsByUniqueAttributeParameters): Promise; - post(options?: EntitySetLabelsByUniqueAttributeParameters): Promise; - put(options?: EntityAddLabelsByUniqueAttributeParameters): Promise; -} - -// @public -export interface EntityDeleteLabelsByUniqueAttribute204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public (undocumented) -export interface EntityDeleteLabelsByUniqueAttributeBodyParam { - body?: Array; -} - -// @public (undocumented) -export interface EntityDeleteLabelsByUniqueAttributeMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type EntityDeleteLabelsByUniqueAttributeParameters = EntityDeleteLabelsByUniqueAttributeQueryParam & EntityDeleteLabelsByUniqueAttributeMediaTypesParam & EntityDeleteLabelsByUniqueAttributeBodyParam & RequestParameters; - -// @public (undocumented) -export interface EntityDeleteLabelsByUniqueAttributeQueryParam { - // (undocumented) - queryParameters?: EntityDeleteLabelsByUniqueAttributeQueryParamProperties; -} - -// @public (undocumented) -export interface EntityDeleteLabelsByUniqueAttributeQueryParamProperties { - "attr:qualifiedName"?: string; -} - -// @public (undocumented) -export interface EntityDeleteLabelsMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type EntityDeleteLabelsParameters = EntityDeleteLabelsMediaTypesParam & EntityDeleteLabelsBodyParam & RequestParameters; - -// @public (undocumented) -export interface EntityGetByGuid { - delete(options?: EntityDeleteByGuidParameters): Promise; - get(options?: EntityGetByGuidParameters): Promise; - put(options: EntityPartialUpdateEntityAttributeByGuidParameters): Promise; -} - -// @public -export interface EntityGetByGuid200Response extends HttpResponse { - // (undocumented) - body: AtlasEntityWithExtInfoOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface EntityGetByGuiddefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type EntityGetByGuidParameters = EntityGetByGuidQueryParam & RequestParameters; - -// @public (undocumented) -export interface EntityGetByGuidQueryParam { - // (undocumented) - queryParameters?: EntityGetByGuidQueryParamProperties; -} - -// @public (undocumented) -export interface EntityGetByGuidQueryParamProperties { - ignoreRelationships?: boolean; - minExtInfo?: boolean; -} - -// @public (undocumented) -export interface EntityGetByUniqueAttributes { - delete(options?: EntityDeleteByUniqueAttributeParameters): Promise; - get(options?: EntityGetByUniqueAttributesParameters): Promise; - put(options: EntityPartialUpdateEntityByUniqueAttributesParameters): Promise; -} - -// @public -export interface EntityGetByUniqueAttributes200Response extends HttpResponse { - // (undocumented) - body: AtlasEntityWithExtInfoOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface EntityGetByUniqueAttributesdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type EntityGetByUniqueAttributesParameters = EntityGetByUniqueAttributesQueryParam & RequestParameters; - -// @public (undocumented) -export interface EntityGetByUniqueAttributesQueryParam { - // (undocumented) - queryParameters?: EntityGetByUniqueAttributesQueryParamProperties; -} - -// @public (undocumented) -export interface EntityGetByUniqueAttributesQueryParamProperties { - "attr:qualifiedName"?: string; - ignoreRelationships?: boolean; - minExtInfo?: boolean; -} - -// @public (undocumented) -export interface EntityGetClassification { - delete(options?: EntityDeleteClassificationParameters): Promise; - get(options?: EntityGetClassificationParameters): Promise; -} - -// @public -export interface EntityGetClassification200Response extends HttpResponse { - // (undocumented) - body: AtlasClassificationOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface EntityGetClassificationdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type EntityGetClassificationParameters = RequestParameters; - -// @public (undocumented) -export interface EntityGetClassifications { - get(options?: EntityGetClassificationsParameters): Promise; - post(options: EntityAddClassificationsParameters): Promise; - put(options: EntityUpdateClassificationsParameters): Promise; -} - -// @public -export interface EntityGetClassifications200Response extends HttpResponse { - // (undocumented) - body: AtlasClassificationsOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface EntityGetClassificationsdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type EntityGetClassificationsParameters = RequestParameters; - -// @public (undocumented) -export interface EntityGetEntitiesByUniqueAttributes { - get(options?: EntityGetEntitiesByUniqueAttributesParameters): Promise; -} - -// @public -export interface EntityGetEntitiesByUniqueAttributes200Response extends HttpResponse { - // (undocumented) - body: AtlasEntitiesWithExtInfoOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface EntityGetEntitiesByUniqueAttributesdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type EntityGetEntitiesByUniqueAttributesParameters = EntityGetEntitiesByUniqueAttributesQueryParam & RequestParameters; - -// @public (undocumented) -export interface EntityGetEntitiesByUniqueAttributesQueryParam { - // (undocumented) - queryParameters?: EntityGetEntitiesByUniqueAttributesQueryParamProperties; -} - -// @public (undocumented) -export interface EntityGetEntitiesByUniqueAttributesQueryParamProperties { - "attr_N:qualifiedName"?: string; - ignoreRelationships?: boolean; - minExtInfo?: boolean; -} - -// @public (undocumented) -export interface EntityGetHeader { - get(options?: EntityGetHeaderParameters): Promise; -} - -// @public -export interface EntityGetHeader200Response extends HttpResponse { - // (undocumented) - body: AtlasEntityHeaderOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface EntityGetHeaderdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type EntityGetHeaderParameters = RequestParameters; - -// @public (undocumented) -export interface EntityGetSampleBusinessMetadataTemplate { - get(options?: EntityGetSampleBusinessMetadataTemplateParameters): Promise; -} - -// @public -export interface EntityGetSampleBusinessMetadataTemplate200Response extends HttpResponse { - body: Uint8Array; - // (undocumented) - status: "200"; -} - -// @public -export interface EntityGetSampleBusinessMetadataTemplate400Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "400"; -} - -// @public (undocumented) -export type EntityGetSampleBusinessMetadataTemplateParameters = RequestParameters; - -// @public (undocumented) -export interface EntityImportBusinessMetadata { - post(options?: EntityImportBusinessMetadataParameters): Promise; -} - -// @public -export interface EntityImportBusinessMetadata200Response extends HttpResponse { - // (undocumented) - body: BulkImportResponseOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface EntityImportBusinessMetadata400Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "400"; -} - -// @public -export interface EntityImportBusinessMetadata409Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "409"; -} - -// @public (undocumented) -export interface EntityImportBusinessMetadataBodyParam { - // (undocumented) - body?: EntityImportBusinessMetadataFormBody; -} - -// @public (undocumented) -export interface EntityImportBusinessMetadataFormBody { - uploadedInputStream?: string | Uint8Array; -} - -// @public (undocumented) -export interface EntityImportBusinessMetadataMediaTypesParam { - contentType?: "multipart/form-data"; -} - -// @public (undocumented) -export type EntityImportBusinessMetadataParameters = EntityImportBusinessMetadataMediaTypesParam & EntityImportBusinessMetadataBodyParam & RequestParameters; - -// @public (undocumented) -export interface EntityListByGuids { - delete(options: EntityDeleteByGuidsParameters): Promise; - get(options: EntityListByGuidsParameters): Promise; - post(options: EntityCreateOrUpdateEntitiesParameters): Promise; -} - -// @public -export interface EntityListByGuids200Response extends HttpResponse { - // (undocumented) - body: AtlasEntitiesWithExtInfoOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface EntityListByGuidsdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type EntityListByGuidsParameters = EntityListByGuidsQueryParam & RequestParameters; - -// @public (undocumented) -export interface EntityListByGuidsQueryParam { - // (undocumented) - queryParameters: EntityListByGuidsQueryParamProperties; -} - -// @public (undocumented) -export interface EntityListByGuidsQueryParamProperties { - excludeRelationshipTypes?: Array; - guid: Array; - ignoreRelationships?: boolean; - minExtInfo?: boolean; -} - -// @public (undocumented) -export interface EntityMutationResponseOutput { - guidAssignments?: Record; - mutatedEntities?: Record>; - partialUpdatedEntities?: Array; -} - -// @public -export interface EntityPartialUpdateEntityAttributeByGuid200Response extends HttpResponse { - // (undocumented) - body: EntityMutationResponseOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface EntityPartialUpdateEntityAttributeByGuidBodyParam { - body: Record; -} - -// @public -export interface EntityPartialUpdateEntityAttributeByGuiddefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface EntityPartialUpdateEntityAttributeByGuidMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type EntityPartialUpdateEntityAttributeByGuidParameters = EntityPartialUpdateEntityAttributeByGuidQueryParam & EntityPartialUpdateEntityAttributeByGuidMediaTypesParam & EntityPartialUpdateEntityAttributeByGuidBodyParam & RequestParameters; - -// @public (undocumented) -export interface EntityPartialUpdateEntityAttributeByGuidQueryParam { - // (undocumented) - queryParameters: EntityPartialUpdateEntityAttributeByGuidQueryParamProperties; -} - -// @public (undocumented) -export interface EntityPartialUpdateEntityAttributeByGuidQueryParamProperties { - name: string; -} - -// @public -export interface EntityPartialUpdateEntityByUniqueAttributes200Response extends HttpResponse { - // (undocumented) - body: EntityMutationResponseOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface EntityPartialUpdateEntityByUniqueAttributesBodyParam { - body: AtlasEntityWithExtInfo; -} - -// @public -export interface EntityPartialUpdateEntityByUniqueAttributesdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface EntityPartialUpdateEntityByUniqueAttributesMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type EntityPartialUpdateEntityByUniqueAttributesParameters = EntityPartialUpdateEntityByUniqueAttributesQueryParam & EntityPartialUpdateEntityByUniqueAttributesMediaTypesParam & EntityPartialUpdateEntityByUniqueAttributesBodyParam & RequestParameters; - -// @public (undocumented) -export interface EntityPartialUpdateEntityByUniqueAttributesQueryParam { - // (undocumented) - queryParameters?: EntityPartialUpdateEntityByUniqueAttributesQueryParamProperties; -} - -// @public (undocumented) -export interface EntityPartialUpdateEntityByUniqueAttributesQueryParamProperties { - "attr:qualifiedName"?: string; -} - -// @public (undocumented) -export interface EntitySetClassifications { - post(options: EntitySetClassificationsParameters): Promise; -} - -// @public -export interface EntitySetClassifications200Response extends HttpResponse { - // (undocumented) - body: Array; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface EntitySetClassificationsBodyParam { - body: AtlasEntityHeaders; -} - -// @public -export interface EntitySetClassificationsdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface EntitySetClassificationsMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type EntitySetClassificationsParameters = EntitySetClassificationsMediaTypesParam & EntitySetClassificationsBodyParam & RequestParameters; - -// @public -export interface EntitySetLabels204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public (undocumented) -export interface EntitySetLabelsBodyParam { - body?: Array; -} - -// @public -export interface EntitySetLabelsByUniqueAttribute204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public (undocumented) -export interface EntitySetLabelsByUniqueAttributeBodyParam { - body?: Array; -} - -// @public (undocumented) -export interface EntitySetLabelsByUniqueAttributeMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type EntitySetLabelsByUniqueAttributeParameters = EntitySetLabelsByUniqueAttributeQueryParam & EntitySetLabelsByUniqueAttributeMediaTypesParam & EntitySetLabelsByUniqueAttributeBodyParam & RequestParameters; - -// @public (undocumented) -export interface EntitySetLabelsByUniqueAttributeQueryParam { - // (undocumented) - queryParameters?: EntitySetLabelsByUniqueAttributeQueryParamProperties; -} - -// @public (undocumented) -export interface EntitySetLabelsByUniqueAttributeQueryParamProperties { - "attr:qualifiedName"?: string; -} - -// @public (undocumented) -export interface EntitySetLabelsMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type EntitySetLabelsParameters = EntitySetLabelsMediaTypesParam & EntitySetLabelsBodyParam & RequestParameters; - -// @public -export interface EntityUpdateClassifications204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public (undocumented) -export interface EntityUpdateClassificationsBodyParam { - body: Array; -} - -// @public -export interface EntityUpdateClassificationsByUniqueAttribute204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public (undocumented) -export interface EntityUpdateClassificationsByUniqueAttributeBodyParam { - body: Array; -} - -// @public -export interface EntityUpdateClassificationsByUniqueAttributedefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface EntityUpdateClassificationsByUniqueAttributeMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type EntityUpdateClassificationsByUniqueAttributeParameters = EntityUpdateClassificationsByUniqueAttributeQueryParam & EntityUpdateClassificationsByUniqueAttributeMediaTypesParam & EntityUpdateClassificationsByUniqueAttributeBodyParam & RequestParameters; - -// @public (undocumented) -export interface EntityUpdateClassificationsByUniqueAttributeQueryParam { - // (undocumented) - queryParameters?: EntityUpdateClassificationsByUniqueAttributeQueryParamProperties; -} - -// @public (undocumented) -export interface EntityUpdateClassificationsByUniqueAttributeQueryParamProperties { - "attr:qualifiedName"?: string; -} - -// @public -export interface EntityUpdateClassificationsdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface EntityUpdateClassificationsMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type EntityUpdateClassificationsParameters = EntityUpdateClassificationsMediaTypesParam & EntityUpdateClassificationsBodyParam & RequestParameters; - -// @public (undocumented) -export interface ErrorResponseOutput { - errorCode?: string; - errorMessage?: string; - requestId?: string; -} - -// @public -export function getLongRunningPoller(client: Client, initialResponse: TResult, options?: LroEngineOptions>): PollerLike, TResult>; - -// @public -export interface GlossaryAssignTermToEntities204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public (undocumented) -export interface GlossaryAssignTermToEntitiesBodyParam { - body: Array; -} - -// @public -export interface GlossaryAssignTermToEntitiesdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface GlossaryAssignTermToEntitiesMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type GlossaryAssignTermToEntitiesParameters = GlossaryAssignTermToEntitiesMediaTypesParam & GlossaryAssignTermToEntitiesBodyParam & RequestParameters; - -// @public -export interface GlossaryCreateGlossary200Response extends HttpResponse { - // (undocumented) - body: AtlasGlossaryOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface GlossaryCreateGlossaryBodyParam { - body: AtlasGlossary; -} - -// @public (undocumented) -export interface GlossaryCreateGlossaryCategories { - post(options: GlossaryCreateGlossaryCategoriesParameters): Promise; -} - -// @public -export interface GlossaryCreateGlossaryCategories200Response extends HttpResponse { - // (undocumented) - body: Array; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface GlossaryCreateGlossaryCategoriesBodyParam { - body: Array; -} - -// @public -export interface GlossaryCreateGlossaryCategoriesdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface GlossaryCreateGlossaryCategoriesMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type GlossaryCreateGlossaryCategoriesParameters = GlossaryCreateGlossaryCategoriesMediaTypesParam & GlossaryCreateGlossaryCategoriesBodyParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryCreateGlossaryCategory { - post(options: GlossaryCreateGlossaryCategoryParameters): Promise; -} - -// @public -export interface GlossaryCreateGlossaryCategory200Response extends HttpResponse { - // (undocumented) - body: AtlasGlossaryCategoryOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface GlossaryCreateGlossaryCategoryBodyParam { - body: AtlasGlossaryCategory; -} - -// @public -export interface GlossaryCreateGlossaryCategorydefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface GlossaryCreateGlossaryCategoryMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type GlossaryCreateGlossaryCategoryParameters = GlossaryCreateGlossaryCategoryMediaTypesParam & GlossaryCreateGlossaryCategoryBodyParam & RequestParameters; - -// @public -export interface GlossaryCreateGlossarydefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface GlossaryCreateGlossaryMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type GlossaryCreateGlossaryParameters = GlossaryCreateGlossaryMediaTypesParam & GlossaryCreateGlossaryBodyParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryCreateGlossaryTerm { - post(options: GlossaryCreateGlossaryTermParameters): Promise; -} - -// @public -export interface GlossaryCreateGlossaryTerm200Response extends HttpResponse { - // (undocumented) - body: AtlasGlossaryTermOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface GlossaryCreateGlossaryTermBodyParam { - body: AtlasGlossaryTerm; -} - -// @public -export interface GlossaryCreateGlossaryTermdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface GlossaryCreateGlossaryTermMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type GlossaryCreateGlossaryTermParameters = GlossaryCreateGlossaryTermQueryParam & GlossaryCreateGlossaryTermMediaTypesParam & GlossaryCreateGlossaryTermBodyParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryCreateGlossaryTermQueryParam { - // (undocumented) - queryParameters?: GlossaryCreateGlossaryTermQueryParamProperties; -} - -// @public (undocumented) -export interface GlossaryCreateGlossaryTermQueryParamProperties { - includeTermHierarchy?: boolean; -} - -// @public (undocumented) -export interface GlossaryCreateGlossaryTerms { - post(options: GlossaryCreateGlossaryTermsParameters): Promise; -} - -// @public -export interface GlossaryCreateGlossaryTerms200Response extends HttpResponse { - // (undocumented) - body: Array; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface GlossaryCreateGlossaryTermsBodyParam { - body: Array; -} - -// @public -export interface GlossaryCreateGlossaryTermsdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface GlossaryCreateGlossaryTermsMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type GlossaryCreateGlossaryTermsParameters = GlossaryCreateGlossaryTermsQueryParam & GlossaryCreateGlossaryTermsMediaTypesParam & GlossaryCreateGlossaryTermsBodyParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryCreateGlossaryTermsQueryParam { - // (undocumented) - queryParameters?: GlossaryCreateGlossaryTermsQueryParamProperties; -} - -// @public (undocumented) -export interface GlossaryCreateGlossaryTermsQueryParamProperties { - includeTermHierarchy?: boolean; -} - -// @public -export interface GlossaryDeleteGlossary204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public -export interface GlossaryDeleteGlossaryCategory204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public -export interface GlossaryDeleteGlossaryCategorydefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type GlossaryDeleteGlossaryCategoryParameters = RequestParameters; - -// @public -export interface GlossaryDeleteGlossarydefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type GlossaryDeleteGlossaryParameters = RequestParameters; - -// @public -export interface GlossaryDeleteGlossaryTerm204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public -export interface GlossaryDeleteGlossaryTermdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type GlossaryDeleteGlossaryTermParameters = RequestParameters; - -// @public -export interface GlossaryDeleteTermAssignmentFromEntities204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public (undocumented) -export interface GlossaryDeleteTermAssignmentFromEntitiesBodyParam { - body: Array; -} - -// @public -export interface GlossaryDeleteTermAssignmentFromEntitiesdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface GlossaryDeleteTermAssignmentFromEntitiesMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type GlossaryDeleteTermAssignmentFromEntitiesParameters = GlossaryDeleteTermAssignmentFromEntitiesMediaTypesParam & GlossaryDeleteTermAssignmentFromEntitiesBodyParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryExportGlossaryTermsAsCsv { - post(options: GlossaryExportGlossaryTermsAsCsvParameters): Promise; -} - -// @public -export interface GlossaryExportGlossaryTermsAsCsv200Response extends HttpResponse { - body: Uint8Array; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface GlossaryExportGlossaryTermsAsCsvBodyParam { - body: Array; -} - -// @public -export interface GlossaryExportGlossaryTermsAsCsvdefaultResponse extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface GlossaryExportGlossaryTermsAsCsvMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type GlossaryExportGlossaryTermsAsCsvParameters = GlossaryExportGlossaryTermsAsCsvQueryParam & GlossaryExportGlossaryTermsAsCsvMediaTypesParam & GlossaryExportGlossaryTermsAsCsvBodyParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryExportGlossaryTermsAsCsvQueryParam { - // (undocumented) - queryParameters?: GlossaryExportGlossaryTermsAsCsvQueryParamProperties; -} - -// @public (undocumented) -export interface GlossaryExportGlossaryTermsAsCsvQueryParamProperties { - includeTermHierarchy?: boolean; -} - -// @public (undocumented) -export interface GlossaryGetDetailedGlossary { - get(options?: GlossaryGetDetailedGlossaryParameters): Promise; -} - -// @public -export interface GlossaryGetDetailedGlossary200Response extends HttpResponse { - // (undocumented) - body: AtlasGlossaryExtInfoOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface GlossaryGetDetailedGlossarydefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type GlossaryGetDetailedGlossaryParameters = GlossaryGetDetailedGlossaryQueryParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryGetDetailedGlossaryQueryParam { - // (undocumented) - queryParameters?: GlossaryGetDetailedGlossaryQueryParamProperties; -} - -// @public (undocumented) -export interface GlossaryGetDetailedGlossaryQueryParamProperties { - includeTermHierarchy?: boolean; -} - -// @public (undocumented) -export interface GlossaryGetEntitiesAssignedWithTerm { - delete(options: GlossaryDeleteTermAssignmentFromEntitiesParameters): Promise; - get(options?: GlossaryGetEntitiesAssignedWithTermParameters): Promise; - post(options: GlossaryAssignTermToEntitiesParameters): Promise; - put(options: GlossaryRemoveTermAssignmentFromEntitiesParameters): Promise; -} - -// @public -export interface GlossaryGetEntitiesAssignedWithTerm200Response extends HttpResponse { - // (undocumented) - body: Array; - // (undocumented) - status: "200"; -} - -// @public -export interface GlossaryGetEntitiesAssignedWithTermdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type GlossaryGetEntitiesAssignedWithTermParameters = GlossaryGetEntitiesAssignedWithTermQueryParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryGetEntitiesAssignedWithTermQueryParam { - // (undocumented) - queryParameters?: GlossaryGetEntitiesAssignedWithTermQueryParamProperties; -} - -// @public (undocumented) -export interface GlossaryGetEntitiesAssignedWithTermQueryParamProperties { - limit?: number; - offset?: number; - sort?: string; -} - -// @public (undocumented) -export interface GlossaryGetGlossary { - delete(options?: GlossaryDeleteGlossaryParameters): Promise; - get(options?: GlossaryGetGlossaryParameters): Promise; - put(options: GlossaryUpdateGlossaryParameters): Promise; -} - -// @public -export interface GlossaryGetGlossary200Response extends HttpResponse { - // (undocumented) - body: AtlasGlossaryOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface GlossaryGetGlossaryCategory { - delete(options?: GlossaryDeleteGlossaryCategoryParameters): Promise; - get(options?: GlossaryGetGlossaryCategoryParameters): Promise; - put(options: GlossaryUpdateGlossaryCategoryParameters): Promise; -} - -// @public -export interface GlossaryGetGlossaryCategory200Response extends HttpResponse { - // (undocumented) - body: AtlasGlossaryCategoryOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface GlossaryGetGlossaryCategorydefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type GlossaryGetGlossaryCategoryParameters = RequestParameters; - -// @public -export interface GlossaryGetGlossarydefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type GlossaryGetGlossaryParameters = RequestParameters; - -// @public (undocumented) -export interface GlossaryGetGlossaryTerm { - delete(options?: GlossaryDeleteGlossaryTermParameters): Promise; - get(options?: GlossaryGetGlossaryTermParameters): Promise; - put(options: GlossaryUpdateGlossaryTermParameters): Promise; -} - -// @public -export interface GlossaryGetGlossaryTerm200Response extends HttpResponse { - // (undocumented) - body: AtlasGlossaryTermOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface GlossaryGetGlossaryTermdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type GlossaryGetGlossaryTermParameters = GlossaryGetGlossaryTermQueryParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryGetGlossaryTermQueryParam { - // (undocumented) - queryParameters?: GlossaryGetGlossaryTermQueryParamProperties; -} - -// @public (undocumented) -export interface GlossaryGetGlossaryTermQueryParamProperties { - excludeRelationshipTypes?: Array; - includeTermHierarchy?: boolean; -} - -// @public (undocumented) -export interface GlossaryGetImportCsvOperationStatus { - get(options?: GlossaryGetImportCsvOperationStatusParameters): Promise; -} - -// @public -export interface GlossaryGetImportCsvOperationStatus200Response extends HttpResponse { - // (undocumented) - body: ImportCSVOperationOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface GlossaryGetImportCsvOperationStatusdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type GlossaryGetImportCsvOperationStatusParameters = RequestParameters; - -// @public (undocumented) -export interface GlossaryImportGlossaryTermsViaCsv { - post(options: GlossaryImportGlossaryTermsViaCsvParameters): Promise; -} - -// @public -export interface GlossaryImportGlossaryTermsViaCsv202Response extends HttpResponse { - // (undocumented) - body: ImportCSVOperationOutput; - // (undocumented) - status: "202"; -} - -// @public (undocumented) -export interface GlossaryImportGlossaryTermsViaCsvBodyParam { - // (undocumented) - body: GlossaryImportGlossaryTermsViaCsvFormBody; -} - -// @public (undocumented) -export interface GlossaryImportGlossaryTermsViaCsvByGlossaryName { - post(options: GlossaryImportGlossaryTermsViaCsvByGlossaryNameParameters): Promise; -} - -// @public -export interface GlossaryImportGlossaryTermsViaCsvByGlossaryName202Response extends HttpResponse { - // (undocumented) - body: ImportCSVOperationOutput; - // (undocumented) - status: "202"; -} - -// @public (undocumented) -export interface GlossaryImportGlossaryTermsViaCsvByGlossaryNameBodyParam { - // (undocumented) - body: GlossaryImportGlossaryTermsViaCsvByGlossaryNameFormBody; -} - -// @public -export interface GlossaryImportGlossaryTermsViaCsvByGlossaryNamedefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface GlossaryImportGlossaryTermsViaCsvByGlossaryNameFormBody { - file: string | Uint8Array; -} - -// @public (undocumented) -export interface GlossaryImportGlossaryTermsViaCsvByGlossaryNameMediaTypesParam { - contentType?: "multipart/form-data"; -} - -// @public (undocumented) -export type GlossaryImportGlossaryTermsViaCsvByGlossaryNameParameters = GlossaryImportGlossaryTermsViaCsvByGlossaryNameQueryParam & GlossaryImportGlossaryTermsViaCsvByGlossaryNameMediaTypesParam & GlossaryImportGlossaryTermsViaCsvByGlossaryNameBodyParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryImportGlossaryTermsViaCsvByGlossaryNameQueryParam { - // (undocumented) - queryParameters?: GlossaryImportGlossaryTermsViaCsvByGlossaryNameQueryParamProperties; -} - -// @public (undocumented) -export interface GlossaryImportGlossaryTermsViaCsvByGlossaryNameQueryParamProperties { - includeTermHierarchy?: boolean; -} - -// @public -export interface GlossaryImportGlossaryTermsViaCsvdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface GlossaryImportGlossaryTermsViaCsvFormBody { - file: string | Uint8Array; -} - -// @public (undocumented) -export interface GlossaryImportGlossaryTermsViaCsvMediaTypesParam { - contentType?: "multipart/form-data"; -} - -// @public (undocumented) -export type GlossaryImportGlossaryTermsViaCsvParameters = GlossaryImportGlossaryTermsViaCsvQueryParam & GlossaryImportGlossaryTermsViaCsvMediaTypesParam & GlossaryImportGlossaryTermsViaCsvBodyParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryImportGlossaryTermsViaCsvQueryParam { - // (undocumented) - queryParameters?: GlossaryImportGlossaryTermsViaCsvQueryParamProperties; -} - -// @public (undocumented) -export interface GlossaryImportGlossaryTermsViaCsvQueryParamProperties { - includeTermHierarchy?: boolean; -} - -// @public (undocumented) -export interface GlossaryListCategoryTerms { - get(options?: GlossaryListCategoryTermsParameters): Promise; -} - -// @public -export interface GlossaryListCategoryTerms200Response extends HttpResponse { - // (undocumented) - body: Array; - // (undocumented) - status: "200"; -} - -// @public -export interface GlossaryListCategoryTermsdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type GlossaryListCategoryTermsParameters = GlossaryListCategoryTermsQueryParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryListCategoryTermsQueryParam { - // (undocumented) - queryParameters?: GlossaryListCategoryTermsQueryParamProperties; -} - -// @public (undocumented) -export interface GlossaryListCategoryTermsQueryParamProperties { - limit?: number; - offset?: number; - sort?: string; -} - -// @public (undocumented) -export interface GlossaryListGlossaries { - get(options?: GlossaryListGlossariesParameters): Promise; - post(options: GlossaryCreateGlossaryParameters): Promise; -} - -// @public -export interface GlossaryListGlossaries200Response extends HttpResponse { - // (undocumented) - body: Array; - // (undocumented) - status: "200"; -} - -// @public -export interface GlossaryListGlossariesdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type GlossaryListGlossariesParameters = GlossaryListGlossariesQueryParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryListGlossariesQueryParam { - // (undocumented) - queryParameters?: GlossaryListGlossariesQueryParamProperties; -} - -// @public (undocumented) -export interface GlossaryListGlossariesQueryParamProperties { - ignoreTermsAndCategories?: boolean; - limit?: number; - offset?: number; - sort?: string; -} - -// @public (undocumented) -export interface GlossaryListGlossaryCategories { - get(options?: GlossaryListGlossaryCategoriesParameters): Promise; -} - -// @public -export interface GlossaryListGlossaryCategories200Response extends HttpResponse { - // (undocumented) - body: Array; - // (undocumented) - status: "200"; -} - -// @public -export interface GlossaryListGlossaryCategoriesdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface GlossaryListGlossaryCategoriesHeaders { - get(options?: GlossaryListGlossaryCategoriesHeadersParameters): Promise; -} - -// @public -export interface GlossaryListGlossaryCategoriesHeaders200Response extends HttpResponse { - // (undocumented) - body: Array; - // (undocumented) - status: "200"; -} - -// @public -export interface GlossaryListGlossaryCategoriesHeadersdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type GlossaryListGlossaryCategoriesHeadersParameters = GlossaryListGlossaryCategoriesHeadersQueryParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryListGlossaryCategoriesHeadersQueryParam { - // (undocumented) - queryParameters?: GlossaryListGlossaryCategoriesHeadersQueryParamProperties; -} - -// @public (undocumented) -export interface GlossaryListGlossaryCategoriesHeadersQueryParamProperties { - limit?: number; - offset?: number; - sort?: string; -} - -// @public (undocumented) -export type GlossaryListGlossaryCategoriesParameters = GlossaryListGlossaryCategoriesQueryParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryListGlossaryCategoriesQueryParam { - // (undocumented) - queryParameters?: GlossaryListGlossaryCategoriesQueryParamProperties; -} - -// @public (undocumented) -export interface GlossaryListGlossaryCategoriesQueryParamProperties { - limit?: number; - offset?: number; - sort?: string; -} - -// @public (undocumented) -export interface GlossaryListGlossaryTermHeaders { - get(options?: GlossaryListGlossaryTermHeadersParameters): Promise; -} - -// @public -export interface GlossaryListGlossaryTermHeaders200Response extends HttpResponse { - // (undocumented) - body: Array; - // (undocumented) - status: "200"; -} - -// @public -export interface GlossaryListGlossaryTermHeadersdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type GlossaryListGlossaryTermHeadersParameters = GlossaryListGlossaryTermHeadersQueryParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryListGlossaryTermHeadersQueryParam { - // (undocumented) - queryParameters?: GlossaryListGlossaryTermHeadersQueryParamProperties; -} - -// @public (undocumented) -export interface GlossaryListGlossaryTermHeadersQueryParamProperties { - limit?: number; - offset?: number; - sort?: string; -} - -// @public (undocumented) -export interface GlossaryListGlossaryTerms { - get(options?: GlossaryListGlossaryTermsParameters): Promise; -} - -// @public -export interface GlossaryListGlossaryTerms200Response extends HttpResponse { - // (undocumented) - body: Array; - // (undocumented) - status: "200"; -} - -// @public -export interface GlossaryListGlossaryTermsdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type GlossaryListGlossaryTermsParameters = GlossaryListGlossaryTermsQueryParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryListGlossaryTermsQueryParam { - // (undocumented) - queryParameters?: GlossaryListGlossaryTermsQueryParamProperties; -} - -// @public (undocumented) -export interface GlossaryListGlossaryTermsQueryParamProperties { - includeTermHierarchy?: boolean; - limit?: number; - offset?: number; - sort?: string; -} - -// @public (undocumented) -export interface GlossaryListRelatedCategories { - get(options?: GlossaryListRelatedCategoriesParameters): Promise; -} - -// @public -export interface GlossaryListRelatedCategories200Response extends HttpResponse { - // (undocumented) - body: Record>; - // (undocumented) - status: "200"; -} - -// @public -export interface GlossaryListRelatedCategoriesdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type GlossaryListRelatedCategoriesParameters = GlossaryListRelatedCategoriesQueryParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryListRelatedCategoriesQueryParam { - // (undocumented) - queryParameters?: GlossaryListRelatedCategoriesQueryParamProperties; -} - -// @public (undocumented) -export interface GlossaryListRelatedCategoriesQueryParamProperties { - limit?: number; - offset?: number; - sort?: string; -} - -// @public (undocumented) -export interface GlossaryListRelatedTerms { - get(options?: GlossaryListRelatedTermsParameters): Promise; -} - -// @public -export interface GlossaryListRelatedTerms200Response extends HttpResponse { - // (undocumented) - body: Record>; - // (undocumented) - status: "200"; -} - -// @public -export interface GlossaryListRelatedTermsdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type GlossaryListRelatedTermsParameters = GlossaryListRelatedTermsQueryParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryListRelatedTermsQueryParam { - // (undocumented) - queryParameters?: GlossaryListRelatedTermsQueryParamProperties; -} - -// @public (undocumented) -export interface GlossaryListRelatedTermsQueryParamProperties { - limit?: number; - offset?: number; - sort?: string; -} - -// @public (undocumented) -export interface GlossaryListTermsByGlossaryName { - get(options?: GlossaryListTermsByGlossaryNameParameters): Promise; -} - -// @public -export interface GlossaryListTermsByGlossaryName200Response extends HttpResponse { - // (undocumented) - body: Array; - // (undocumented) - status: "200"; -} - -// @public -export interface GlossaryListTermsByGlossaryNamedefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type GlossaryListTermsByGlossaryNameParameters = GlossaryListTermsByGlossaryNameQueryParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryListTermsByGlossaryNameQueryParam { - // (undocumented) - queryParameters?: GlossaryListTermsByGlossaryNameQueryParamProperties; -} - -// @public (undocumented) -export interface GlossaryListTermsByGlossaryNameQueryParamProperties { - includeTermHierarchy?: boolean; - limit?: number; - offset?: number; -} - -// @public (undocumented) -export interface GlossaryPartialUpdateGlossary { - put(options: GlossaryPartialUpdateGlossaryParameters): Promise; -} - -// @public -export interface GlossaryPartialUpdateGlossary200Response extends HttpResponse { - // (undocumented) - body: AtlasGlossaryOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface GlossaryPartialUpdateGlossaryBodyParam { - body: Record; -} - -// @public (undocumented) -export interface GlossaryPartialUpdateGlossaryCategory { - put(options: GlossaryPartialUpdateGlossaryCategoryParameters): Promise; -} - -// @public -export interface GlossaryPartialUpdateGlossaryCategory200Response extends HttpResponse { - // (undocumented) - body: AtlasGlossaryCategoryOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface GlossaryPartialUpdateGlossaryCategoryBodyParam { - body: Record; -} - -// @public -export interface GlossaryPartialUpdateGlossaryCategorydefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface GlossaryPartialUpdateGlossaryCategoryMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type GlossaryPartialUpdateGlossaryCategoryParameters = GlossaryPartialUpdateGlossaryCategoryMediaTypesParam & GlossaryPartialUpdateGlossaryCategoryBodyParam & RequestParameters; - -// @public -export interface GlossaryPartialUpdateGlossarydefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface GlossaryPartialUpdateGlossaryMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type GlossaryPartialUpdateGlossaryParameters = GlossaryPartialUpdateGlossaryQueryParam & GlossaryPartialUpdateGlossaryMediaTypesParam & GlossaryPartialUpdateGlossaryBodyParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryPartialUpdateGlossaryQueryParam { - // (undocumented) - queryParameters?: GlossaryPartialUpdateGlossaryQueryParamProperties; -} - -// @public (undocumented) -export interface GlossaryPartialUpdateGlossaryQueryParamProperties { - includeTermHierarchy?: boolean; -} - -// @public (undocumented) -export interface GlossaryPartialUpdateGlossaryTerm { - put(options: GlossaryPartialUpdateGlossaryTermParameters): Promise; -} - -// @public -export interface GlossaryPartialUpdateGlossaryTerm200Response extends HttpResponse { - // (undocumented) - body: AtlasGlossaryTermOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface GlossaryPartialUpdateGlossaryTermBodyParam { - body: Record; -} - -// @public -export interface GlossaryPartialUpdateGlossaryTermdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface GlossaryPartialUpdateGlossaryTermMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type GlossaryPartialUpdateGlossaryTermParameters = GlossaryPartialUpdateGlossaryTermQueryParam & GlossaryPartialUpdateGlossaryTermMediaTypesParam & GlossaryPartialUpdateGlossaryTermBodyParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryPartialUpdateGlossaryTermQueryParam { - // (undocumented) - queryParameters?: GlossaryPartialUpdateGlossaryTermQueryParamProperties; -} - -// @public (undocumented) -export interface GlossaryPartialUpdateGlossaryTermQueryParamProperties { - includeTermHierarchy?: boolean; -} - -// @public -export interface GlossaryRemoveTermAssignmentFromEntities204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public (undocumented) -export interface GlossaryRemoveTermAssignmentFromEntitiesBodyParam { - body: Array; -} - -// @public -export interface GlossaryRemoveTermAssignmentFromEntitiesdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface GlossaryRemoveTermAssignmentFromEntitiesMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type GlossaryRemoveTermAssignmentFromEntitiesParameters = GlossaryRemoveTermAssignmentFromEntitiesMediaTypesParam & GlossaryRemoveTermAssignmentFromEntitiesBodyParam & RequestParameters; - -// @public -export interface GlossaryUpdateGlossary200Response extends HttpResponse { - // (undocumented) - body: AtlasGlossaryOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface GlossaryUpdateGlossaryBodyParam { - body: AtlasGlossary; -} - -// @public -export interface GlossaryUpdateGlossaryCategory200Response extends HttpResponse { - // (undocumented) - body: AtlasGlossaryCategoryOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface GlossaryUpdateGlossaryCategoryBodyParam { - body: AtlasGlossaryCategory; -} - -// @public -export interface GlossaryUpdateGlossaryCategorydefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface GlossaryUpdateGlossaryCategoryMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type GlossaryUpdateGlossaryCategoryParameters = GlossaryUpdateGlossaryCategoryMediaTypesParam & GlossaryUpdateGlossaryCategoryBodyParam & RequestParameters; - -// @public -export interface GlossaryUpdateGlossarydefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface GlossaryUpdateGlossaryMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type GlossaryUpdateGlossaryParameters = GlossaryUpdateGlossaryMediaTypesParam & GlossaryUpdateGlossaryBodyParam & RequestParameters; - -// @public -export interface GlossaryUpdateGlossaryTerm200Response extends HttpResponse { - // (undocumented) - body: AtlasGlossaryTermOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface GlossaryUpdateGlossaryTermBodyParam { - body: AtlasGlossaryTerm; -} - -// @public -export interface GlossaryUpdateGlossaryTermdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface GlossaryUpdateGlossaryTermMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type GlossaryUpdateGlossaryTermParameters = GlossaryUpdateGlossaryTermQueryParam & GlossaryUpdateGlossaryTermMediaTypesParam & GlossaryUpdateGlossaryTermBodyParam & RequestParameters; - -// @public (undocumented) -export interface GlossaryUpdateGlossaryTermQueryParam { - // (undocumented) - queryParameters?: GlossaryUpdateGlossaryTermQueryParamProperties; -} - -// @public (undocumented) -export interface GlossaryUpdateGlossaryTermQueryParamProperties { - includeTermHierarchy?: boolean; -} - -// @public (undocumented) -export interface ImportCSVOperationErrorOutput { - errorCode?: number; - errorMessage?: string; -} - -// @public (undocumented) -export interface ImportCSVOperationOutput { - createTime?: string; - // (undocumented) - error?: ImportCSVOperationErrorOutput; - id?: string; - lastUpdateTime?: string; - // (undocumented) - properties?: ImportCSVOperationPropertiesOutput; - status?: "NotStarted" | "Succeeded" | "Failed" | "Running"; -} - -// @public (undocumented) -export interface ImportCSVOperationPropertiesOutput { - importedTerms?: string; - totalTermsDetected?: string; -} - -// @public (undocumented) -export interface ImportInfoOutput { - childObjectName?: string; - importStatus?: "SUCCESS" | "FAILED"; - parentObjectName?: string; - remarks?: string; -} - -// @public (undocumented) -export interface LineageGetLineageByUniqueAttribute { - get(options: LineageGetLineageByUniqueAttributeParameters): Promise; -} - -// @public -export interface LineageGetLineageByUniqueAttribute200Response extends HttpResponse { - // (undocumented) - body: AtlasLineageInfoOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface LineageGetLineageByUniqueAttribute400Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "400"; -} - -// @public -export interface LineageGetLineageByUniqueAttribute404Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "404"; -} - -// @public (undocumented) -export type LineageGetLineageByUniqueAttributeParameters = LineageGetLineageByUniqueAttributeQueryParam & RequestParameters; - -// @public (undocumented) -export interface LineageGetLineageByUniqueAttributeQueryParam { - // (undocumented) - queryParameters: LineageGetLineageByUniqueAttributeQueryParamProperties; -} - -// @public (undocumented) -export interface LineageGetLineageByUniqueAttributeQueryParamProperties { - depth?: number; - direction: "BOTH" | "INPUT" | "OUTPUT"; - getDerivedLineage?: boolean; - includeParent?: boolean; - width?: number; -} - -// @public (undocumented) -export interface LineageGetLineageGraph { - get(options: LineageGetLineageGraphParameters): Promise; -} - -// @public -export interface LineageGetLineageGraph200Response extends HttpResponse { - // (undocumented) - body: AtlasLineageInfoOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface LineageGetLineageGraphdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type LineageGetLineageGraphParameters = LineageGetLineageGraphQueryParam & RequestParameters; - -// @public (undocumented) -export interface LineageGetLineageGraphQueryParam { - // (undocumented) - queryParameters: LineageGetLineageGraphQueryParamProperties; -} - -// @public (undocumented) -export interface LineageGetLineageGraphQueryParamProperties { - depth?: number; - direction: "BOTH" | "INPUT" | "OUTPUT"; - getDerivedLineage?: boolean; - includeParent?: boolean; - width?: number; -} - -// @public (undocumented) -export interface LineageNextPageLineage { - get(options: LineageNextPageLineageParameters): Promise; -} - -// @public -export interface LineageNextPageLineage200Response extends HttpResponse { - // (undocumented) - body: AtlasLineageInfoOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface LineageNextPageLineagedefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type LineageNextPageLineageParameters = LineageNextPageLineageQueryParam & RequestParameters; - -// @public (undocumented) -export interface LineageNextPageLineageQueryParam { - // (undocumented) - queryParameters: LineageNextPageLineageQueryParamProperties; -} - -// @public (undocumented) -export interface LineageNextPageLineageQueryParamProperties { - direction: "BOTH" | "INPUT" | "OUTPUT"; - getDerivedLineage?: boolean; - limit?: number; - offset?: number; -} - -// @public (undocumented) -export interface LineageRelationOutput { - fromEntityId?: string; - relationshipId?: string; - toEntityId?: string; -} - -// @public (undocumented) -export interface MoveEntitiesRequest { - entityGuids?: Array; -} - -// @public (undocumented) -export interface NumberFormat { - availableLocales?: Array; - currency?: string; - currencyInstance?: NumberFormat; - groupingUsed?: boolean; - instance?: NumberFormat; - integerInstance?: NumberFormat; - maximumFractionDigits?: number; - maximumIntegerDigits?: number; - minimumFractionDigits?: number; - minimumIntegerDigits?: number; - numberInstance?: NumberFormat; - parseIntegerOnly?: boolean; - percentInstance?: NumberFormat; - roundingMode?: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY"; -} - -// @public (undocumented) -export interface NumberFormatOutput { - availableLocales?: Array; - currency?: string; - currencyInstance?: NumberFormatOutput; - groupingUsed?: boolean; - instance?: NumberFormatOutput; - integerInstance?: NumberFormatOutput; - maximumFractionDigits?: number; - maximumIntegerDigits?: number; - minimumFractionDigits?: number; - minimumIntegerDigits?: number; - numberInstance?: NumberFormatOutput; - parseIntegerOnly?: boolean; - percentInstance?: NumberFormatOutput; - roundingMode?: "UP" | "DOWN" | "CEILING" | "FLOOR" | "HALF_UP" | "HALF_DOWN" | "HALF_EVEN" | "UNNECESSARY"; -} - -// @public (undocumented) -export interface ParentRelationOutput { - childEntityId?: string; - parentEntityId?: string; - relationshipId?: string; -} - -// @public (undocumented) -export interface PListOutput { - list?: Array>; - pageSize?: number; - sortBy?: string; - sortType?: "NONE" | "ASC" | "DESC"; - startIndex?: number; - totalCount?: number; -} - -// @public (undocumented) -export type PurviewCatalogClient = Client & { - path: Routes; -}; - -// @public (undocumented) -export interface RelationshipCreate { - post(options: RelationshipCreateParameters): Promise; - put(options: RelationshipUpdateParameters): Promise; -} - -// @public -export interface RelationshipCreate200Response extends HttpResponse { - // (undocumented) - body: AtlasRelationshipOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface RelationshipCreateBodyParam { - body: AtlasRelationship; -} - -// @public -export interface RelationshipCreatedefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface RelationshipCreateMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type RelationshipCreateParameters = RelationshipCreateMediaTypesParam & RelationshipCreateBodyParam & RequestParameters; - -// @public -export interface RelationshipDelete204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public -export interface RelationshipDeletedefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type RelationshipDeleteParameters = RequestParameters; - -// @public (undocumented) -export interface RelationshipGet { - delete(options?: RelationshipDeleteParameters): Promise; - get(options?: RelationshipGetParameters): Promise; -} - -// @public -export interface RelationshipGet200Response extends HttpResponse { - // (undocumented) - body: AtlasRelationshipWithExtInfoOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface RelationshipGetdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type RelationshipGetParameters = RelationshipGetQueryParam & RequestParameters; - -// @public (undocumented) -export interface RelationshipGetQueryParam { - // (undocumented) - queryParameters?: RelationshipGetQueryParamProperties; -} - -// @public (undocumented) -export interface RelationshipGetQueryParamProperties { - extendedInfo?: boolean; -} - -// @public -export interface RelationshipUpdate200Response extends HttpResponse { - // (undocumented) - body: AtlasRelationshipOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface RelationshipUpdateBodyParam { - body: AtlasRelationship; -} - -// @public -export interface RelationshipUpdatedefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface RelationshipUpdateMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type RelationshipUpdateParameters = RelationshipUpdateMediaTypesParam & RelationshipUpdateBodyParam & RequestParameters; - -// @public (undocumented) -export interface ResourceLink { - displayName?: string; - url?: string; -} - -// @public (undocumented) -export interface ResourceLinkOutput { - displayName?: string; - url?: string; -} - -// @public (undocumented) -export interface Routes { - (path: "/atlas/v2/entity"): EntityCreateOrUpdate; - (path: "/atlas/v2/entity/bulk"): EntityListByGuids; - (path: "/atlas/v2/entity/bulk/classification"): EntityAddClassification; - (path: "/atlas/v2/entity/guid/{guid}", guid: string): EntityGetByGuid; - (path: "/atlas/v2/entity/guid/{guid}/classification/{classificationName}", guid: string, classificationName: string): EntityGetClassification; - (path: "/atlas/v2/entity/guid/{guid}/classifications", guid: string): EntityGetClassifications; - (path: "/atlas/v2/entity/uniqueAttribute/type/{typeName}", typeName: string): EntityGetByUniqueAttributes; - (path: "/atlas/v2/entity/uniqueAttribute/type/{typeName}/classification/{classificationName}", typeName: string, classificationName: string): EntityDeleteClassificationByUniqueAttribute; - (path: "/atlas/v2/entity/uniqueAttribute/type/{typeName}/classifications", typeName: string): EntityAddClassificationsByUniqueAttribute; - (path: "/atlas/v2/entity/bulk/setClassifications"): EntitySetClassifications; - (path: "/atlas/v2/entity/bulk/uniqueAttribute/type/{typeName}", typeName: string): EntityGetEntitiesByUniqueAttributes; - (path: "/atlas/v2/entity/guid/{guid}/header", guid: string): EntityGetHeader; - (path: "/atlas/v2/entity/guid/{guid}/businessmetadata", guid: string): EntityDeleteBusinessMetadata; - (path: "/atlas/v2/entity/guid/{guid}/businessmetadata/{bmName}", guid: string, bmName: string): EntityDeleteBusinessMetadataAttributes; - (path: "/atlas/v2/entity/businessmetadata/import/template"): EntityGetSampleBusinessMetadataTemplate; - (path: "/atlas/v2/entity/businessmetadata/import"): EntityImportBusinessMetadata; - (path: "/atlas/v2/entity/guid/{guid}/labels", guid: string): EntityDeleteLabels; - (path: "/atlas/v2/entity/uniqueAttribute/type/{typeName}/labels", typeName: string): EntityDeleteLabelsByUniqueAttribute; - (path: "/atlas/v2/glossary"): GlossaryListGlossaries; - (path: "/atlas/v2/glossary/categories"): GlossaryCreateGlossaryCategories; - (path: "/atlas/v2/glossary/category"): GlossaryCreateGlossaryCategory; - (path: "/atlas/v2/glossary/category/{categoryGuid}", categoryGuid: string): GlossaryGetGlossaryCategory; - (path: "/atlas/v2/glossary/category/{categoryGuid}/partial", categoryGuid: string): GlossaryPartialUpdateGlossaryCategory; - (path: "/atlas/v2/glossary/category/{categoryGuid}/related", categoryGuid: string): GlossaryListRelatedCategories; - (path: "/atlas/v2/glossary/category/{categoryGuid}/terms", categoryGuid: string): GlossaryListCategoryTerms; - (path: "/atlas/v2/glossary/term"): GlossaryCreateGlossaryTerm; - (path: "/atlas/v2/glossary/term/{termGuid}", termGuid: string): GlossaryGetGlossaryTerm; - (path: "/atlas/v2/glossary/term/{termGuid}/partial", termGuid: string): GlossaryPartialUpdateGlossaryTerm; - (path: "/atlas/v2/glossary/terms"): GlossaryCreateGlossaryTerms; - (path: "/atlas/v2/glossary/terms/{termGuid}/assignedEntities", termGuid: string): GlossaryGetEntitiesAssignedWithTerm; - (path: "/atlas/v2/glossary/terms/{termGuid}/related", termGuid: string): GlossaryListRelatedTerms; - (path: "/atlas/v2/glossary/{glossaryGuid}", glossaryGuid: string): GlossaryGetGlossary; - (path: "/atlas/v2/glossary/{glossaryGuid}/categories", glossaryGuid: string): GlossaryListGlossaryCategories; - (path: "/atlas/v2/glossary/{glossaryGuid}/categories/headers", glossaryGuid: string): GlossaryListGlossaryCategoriesHeaders; - (path: "/atlas/v2/glossary/{glossaryGuid}/detailed", glossaryGuid: string): GlossaryGetDetailedGlossary; - (path: "/atlas/v2/glossary/{glossaryGuid}/partial", glossaryGuid: string): GlossaryPartialUpdateGlossary; - (path: "/atlas/v2/glossary/{glossaryGuid}/terms", glossaryGuid: string): GlossaryListGlossaryTerms; - (path: "/atlas/v2/glossary/{glossaryGuid}/terms/headers", glossaryGuid: string): GlossaryListGlossaryTermHeaders; - (path: "/glossary/{glossaryGuid}/terms/import", glossaryGuid: string): GlossaryImportGlossaryTermsViaCsv; - (path: "/glossary/name/{glossaryName}/terms/import", glossaryName: string): GlossaryImportGlossaryTermsViaCsvByGlossaryName; - (path: "/glossary/terms/import/{operationGuid}", operationGuid: string): GlossaryGetImportCsvOperationStatus; - (path: "/glossary/{glossaryGuid}/terms/export", glossaryGuid: string): GlossaryExportGlossaryTermsAsCsv; - (path: "/glossary/name/{glossaryName}/terms", glossaryName: string): GlossaryListTermsByGlossaryName; - (path: "/search/query"): DiscoveryQuery; - (path: "/search/suggest"): DiscoverySuggest; - (path: "/browse"): DiscoveryBrowse; - (path: "/search/autocomplete"): DiscoveryAutoComplete; - (path: "/atlas/v2/lineage/{guid}", guid: string): LineageGetLineageGraph; - (path: "/lineage/{guid}/next/", guid: string): LineageNextPageLineage; - (path: "/atlas/v2/lineage/uniqueAttribute/type/{typeName}", typeName: string): LineageGetLineageByUniqueAttribute; - (path: "/atlas/v2/relationship"): RelationshipCreate; - (path: "/atlas/v2/relationship/guid/{guid}", guid: string): RelationshipGet; - (path: "/atlas/v2/types/businessmetadatadef/guid/{guid}", guid: string): TypesGetBusinessMetadataDefByGuid; - (path: "/atlas/v2/types/businessmetadatadef/name/{name}", name: string): TypesGetBusinessMetadataDefByName; - (path: "/atlas/v2/types/classificationdef/guid/{guid}", guid: string): TypesGetClassificationDefByGuid; - (path: "/atlas/v2/types/classificationdef/name/{name}", name: string): TypesGetClassificationDefByName; - (path: "/atlas/v2/types/entitydef/guid/{guid}", guid: string): TypesGetEntityDefinitionByGuid; - (path: "/atlas/v2/types/entitydef/name/{name}", name: string): TypesGetEntityDefinitionByName; - (path: "/atlas/v2/types/enumdef/guid/{guid}", guid: string): TypesGetEnumDefByGuid; - (path: "/atlas/v2/types/enumdef/name/{name}", name: string): TypesGetEnumDefByName; - (path: "/atlas/v2/types/relationshipdef/guid/{guid}", guid: string): TypesGetRelationshipDefByGuid; - (path: "/atlas/v2/types/relationshipdef/name/{name}", name: string): TypesGetRelationshipDefByName; - (path: "/atlas/v2/types/structdef/guid/{guid}", guid: string): TypesGetStructDefByGuid; - (path: "/atlas/v2/types/structdef/name/{name}", name: string): TypesGetStructDefByName; - (path: "/atlas/v2/types/typedef/guid/{guid}", guid: string): TypesGetTypeDefinitionByGuid; - (path: "/atlas/v2/types/typedef/name/{name}", name: string): TypesGetTypeDefinitionByName; - (path: "/atlas/v2/types/typedefs"): TypesGetAllTypeDefinitions; - (path: "/atlas/v2/types/typedefs/headers"): TypesListTypeDefinitionHeaders; - (path: "/types/termtemplatedef/guid/{guid}", guid: string): TypesGetTermTemplateDefByGuid; - (path: "/types/termtemplatedef/name/{name}", name: string): TypesGetTermTemplateDefByName; - (path: "/collections/{collection}/entity", collection: string): CollectionCreateOrUpdate; - (path: "/collections/{collection}/entity/bulk", collection: string): CollectionCreateOrUpdateBulk; - (path: "/collections/{collection}/entity/moveHere", collection: string): CollectionMoveEntitiesToCollection; -} - -// @public (undocumented) -export interface SearchFacetItem { - count?: number; - facet?: string; - sort?: Record; -} - -// @public (undocumented) -export interface SearchFacetItemValueOutput { - count?: number; - value?: string; -} - -// @public (undocumented) -export interface SearchFacetResultValueOutput { - // (undocumented) - assetType?: Array; - // (undocumented) - classification?: Array; - // (undocumented) - classificationCategory?: Array; - // (undocumented) - contactId?: Array; - // (undocumented) - fileExtension?: Array; - // (undocumented) - label?: Array; - // (undocumented) - term?: Array; -} - -// @public (undocumented) -export interface SearchHighlightsOutput { - // (undocumented) - description?: Array; - // (undocumented) - entityType?: Array; - // (undocumented) - id?: Array; - // (undocumented) - name?: Array; - // (undocumented) - qualifiedName?: Array; -} - -// @public (undocumented) -export interface SearchRequest { - // (undocumented) - facets?: Array; - filter?: Record; - keywords?: string; - limit?: number; - offset?: number; - // (undocumented) - taxonomySetting?: SearchRequestTaxonomySetting; -} - -// @public (undocumented) -export interface SearchRequestTaxonomySetting { - // (undocumented) - assetTypes?: Array; - facet?: SearchFacetItem; -} - -// @public (undocumented) -export interface SearchResultOutput { - "@search.count"?: number; - "@search.facets"?: SearchFacetResultValueOutput; - // (undocumented) - value?: Array; -} - -// @public (undocumented) -export interface SearchResultValueOutput { - "@search.highlights"?: SearchHighlightsOutput; - "@search.score"?: number; - "@search.text"?: string; - assetType?: Array; - classification?: Array; - contact?: Array; - description?: string; - entityType?: string; - id?: string; - label?: Array; - name?: string; - owner?: string; - qualifiedName?: string; - term?: Array; -} - -// @public (undocumented) -export interface SuggestRequest { - filter?: Record; - keywords?: string; - limit?: number; -} - -// @public (undocumented) -export interface SuggestResultOutput { - // (undocumented) - value?: Array; -} - -// @public (undocumented) -export interface SuggestResultValueOutput { - "@search.score"?: number; - "@search.text"?: string; - assetType?: Array; - classification?: Array; - contact?: Array; - description?: string; - entityType?: string; - id?: string; - label?: Array; - name?: string; - owner?: string; - qualifiedName?: string; - term?: Array; -} - -// @public (undocumented) -export interface TermSearchResultValueOutput { - glossaryName?: string; - guid?: string; - name?: string; -} - -// @public (undocumented) -export interface TermTemplateDef extends AtlasStructDef { -} - -// @public (undocumented) -export interface TermTemplateDefOutput extends AtlasStructDefOutput { -} - -// @public (undocumented) -export interface TimeBoundary { - endTime?: string; - startTime?: string; - timeZone?: string; -} - -// @public (undocumented) -export interface TimeBoundaryOutput { - endTime?: string; - startTime?: string; - timeZone?: string; -} - -// @public (undocumented) -export interface TimeZone { - availableIds?: Array; - default?: TimeZone; - displayName?: string; - dstSavings?: number; - id?: string; - rawOffset?: number; -} - -// @public (undocumented) -export interface TimeZoneOutput { - availableIds?: Array; - default?: TimeZoneOutput; - displayName?: string; - dstSavings?: number; - id?: string; - rawOffset?: number; -} - -// @public -export interface TypesCreateTypeDefinitions200Response extends HttpResponse { - // (undocumented) - body: AtlasTypesDefOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface TypesCreateTypeDefinitionsBodyParam { - body: AtlasTypesDef; -} - -// @public -export interface TypesCreateTypeDefinitionsdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface TypesCreateTypeDefinitionsMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type TypesCreateTypeDefinitionsParameters = TypesCreateTypeDefinitionsMediaTypesParam & TypesCreateTypeDefinitionsBodyParam & RequestParameters; - -// @public -export interface TypesDeleteTypeByName204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public -export interface TypesDeleteTypeByNamedefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type TypesDeleteTypeByNameParameters = RequestParameters; - -// @public -export interface TypesDeleteTypeDefinitions204Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "204"; -} - -// @public (undocumented) -export interface TypesDeleteTypeDefinitionsBodyParam { - body: AtlasTypesDef; -} - -// @public -export interface TypesDeleteTypeDefinitionsdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface TypesDeleteTypeDefinitionsMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type TypesDeleteTypeDefinitionsParameters = TypesDeleteTypeDefinitionsMediaTypesParam & TypesDeleteTypeDefinitionsBodyParam & RequestParameters; - -// @public (undocumented) -export interface TypesGetAllTypeDefinitions { - delete(options: TypesDeleteTypeDefinitionsParameters): Promise; - get(options?: TypesGetAllTypeDefinitionsParameters): Promise; - post(options: TypesCreateTypeDefinitionsParameters): Promise; - put(options: TypesUpdateAtlasTypeDefinitionsParameters): Promise; -} - -// @public -export interface TypesGetAllTypeDefinitions200Response extends HttpResponse { - // (undocumented) - body: AtlasTypesDefOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface TypesGetAllTypeDefinitionsdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type TypesGetAllTypeDefinitionsParameters = TypesGetAllTypeDefinitionsQueryParam & RequestParameters; - -// @public (undocumented) -export interface TypesGetAllTypeDefinitionsQueryParam { - // (undocumented) - queryParameters?: TypesGetAllTypeDefinitionsQueryParamProperties; -} - -// @public (undocumented) -export interface TypesGetAllTypeDefinitionsQueryParamProperties { - includeTermTemplate?: boolean; - type?: "enum" | "entity" | "classification" | "relationship" | "struct" | "term_template"; -} - -// @public (undocumented) -export interface TypesGetBusinessMetadataDefByGuid { - get(options?: TypesGetBusinessMetadataDefByGuidParameters): Promise; -} - -// @public -export interface TypesGetBusinessMetadataDefByGuid200Response extends HttpResponse { - // (undocumented) - body: AtlasBusinessMetadataDefOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface TypesGetBusinessMetadataDefByGuid404Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "404"; -} - -// @public (undocumented) -export type TypesGetBusinessMetadataDefByGuidParameters = RequestParameters; - -// @public (undocumented) -export interface TypesGetBusinessMetadataDefByName { - get(options?: TypesGetBusinessMetadataDefByNameParameters): Promise; -} - -// @public -export interface TypesGetBusinessMetadataDefByName200Response extends HttpResponse { - // (undocumented) - body: AtlasBusinessMetadataDefOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface TypesGetBusinessMetadataDefByName404Response extends HttpResponse { - // (undocumented) - body: Record; - // (undocumented) - status: "404"; -} - -// @public (undocumented) -export type TypesGetBusinessMetadataDefByNameParameters = RequestParameters; - -// @public (undocumented) -export interface TypesGetClassificationDefByGuid { - get(options?: TypesGetClassificationDefByGuidParameters): Promise; -} - -// @public -export interface TypesGetClassificationDefByGuid200Response extends HttpResponse { - // (undocumented) - body: AtlasClassificationDefOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface TypesGetClassificationDefByGuiddefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type TypesGetClassificationDefByGuidParameters = RequestParameters; - -// @public (undocumented) -export interface TypesGetClassificationDefByName { - get(options?: TypesGetClassificationDefByNameParameters): Promise; -} - -// @public -export interface TypesGetClassificationDefByName200Response extends HttpResponse { - // (undocumented) - body: AtlasClassificationDefOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface TypesGetClassificationDefByNamedefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type TypesGetClassificationDefByNameParameters = RequestParameters; - -// @public (undocumented) -export interface TypesGetEntityDefinitionByGuid { - get(options?: TypesGetEntityDefinitionByGuidParameters): Promise; -} - -// @public -export interface TypesGetEntityDefinitionByGuid200Response extends HttpResponse { - // (undocumented) - body: AtlasEntityDefOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface TypesGetEntityDefinitionByGuiddefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type TypesGetEntityDefinitionByGuidParameters = RequestParameters; - -// @public (undocumented) -export interface TypesGetEntityDefinitionByName { - get(options?: TypesGetEntityDefinitionByNameParameters): Promise; -} - -// @public -export interface TypesGetEntityDefinitionByName200Response extends HttpResponse { - // (undocumented) - body: AtlasEntityDefOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface TypesGetEntityDefinitionByNamedefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type TypesGetEntityDefinitionByNameParameters = RequestParameters; - -// @public (undocumented) -export interface TypesGetEnumDefByGuid { - get(options?: TypesGetEnumDefByGuidParameters): Promise; -} - -// @public -export interface TypesGetEnumDefByGuid200Response extends HttpResponse { - // (undocumented) - body: AtlasEnumDefOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface TypesGetEnumDefByGuiddefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type TypesGetEnumDefByGuidParameters = RequestParameters; - -// @public (undocumented) -export interface TypesGetEnumDefByName { - get(options?: TypesGetEnumDefByNameParameters): Promise; -} - -// @public -export interface TypesGetEnumDefByName200Response extends HttpResponse { - // (undocumented) - body: AtlasEnumDefOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface TypesGetEnumDefByNamedefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type TypesGetEnumDefByNameParameters = RequestParameters; - -// @public (undocumented) -export interface TypesGetRelationshipDefByGuid { - get(options?: TypesGetRelationshipDefByGuidParameters): Promise; -} - -// @public -export interface TypesGetRelationshipDefByGuid200Response extends HttpResponse { - // (undocumented) - body: AtlasRelationshipDefOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface TypesGetRelationshipDefByGuiddefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type TypesGetRelationshipDefByGuidParameters = RequestParameters; - -// @public (undocumented) -export interface TypesGetRelationshipDefByName { - get(options?: TypesGetRelationshipDefByNameParameters): Promise; -} - -// @public -export interface TypesGetRelationshipDefByName200Response extends HttpResponse { - // (undocumented) - body: AtlasRelationshipDefOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface TypesGetRelationshipDefByNamedefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type TypesGetRelationshipDefByNameParameters = RequestParameters; - -// @public (undocumented) -export interface TypesGetStructDefByGuid { - get(options?: TypesGetStructDefByGuidParameters): Promise; -} - -// @public -export interface TypesGetStructDefByGuid200Response extends HttpResponse { - // (undocumented) - body: AtlasStructDefOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface TypesGetStructDefByGuiddefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type TypesGetStructDefByGuidParameters = RequestParameters; - -// @public (undocumented) -export interface TypesGetStructDefByName { - get(options?: TypesGetStructDefByNameParameters): Promise; -} - -// @public -export interface TypesGetStructDefByName200Response extends HttpResponse { - // (undocumented) - body: AtlasStructDefOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface TypesGetStructDefByNamedefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type TypesGetStructDefByNameParameters = RequestParameters; - -// @public (undocumented) -export interface TypesGetTermTemplateDefByGuid { - get(options?: TypesGetTermTemplateDefByGuidParameters): Promise; -} - -// @public -export interface TypesGetTermTemplateDefByGuid200Response extends HttpResponse { - // (undocumented) - body: TermTemplateDefOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface TypesGetTermTemplateDefByGuiddefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type TypesGetTermTemplateDefByGuidParameters = RequestParameters; - -// @public (undocumented) -export interface TypesGetTermTemplateDefByName { - get(options?: TypesGetTermTemplateDefByNameParameters): Promise; -} - -// @public -export interface TypesGetTermTemplateDefByName200Response extends HttpResponse { - // (undocumented) - body: TermTemplateDefOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface TypesGetTermTemplateDefByNamedefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type TypesGetTermTemplateDefByNameParameters = RequestParameters; - -// @public (undocumented) -export interface TypesGetTypeDefinitionByGuid { - get(options?: TypesGetTypeDefinitionByGuidParameters): Promise; -} - -// @public -export interface TypesGetTypeDefinitionByGuid200Response extends HttpResponse { - // (undocumented) - body: AtlasTypeDefOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface TypesGetTypeDefinitionByGuiddefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type TypesGetTypeDefinitionByGuidParameters = RequestParameters; - -// @public (undocumented) -export interface TypesGetTypeDefinitionByName { - delete(options?: TypesDeleteTypeByNameParameters): Promise; - get(options?: TypesGetTypeDefinitionByNameParameters): Promise; -} - -// @public -export interface TypesGetTypeDefinitionByName200Response extends HttpResponse { - // (undocumented) - body: AtlasTypeDefOutput; - // (undocumented) - status: "200"; -} - -// @public -export interface TypesGetTypeDefinitionByNamedefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type TypesGetTypeDefinitionByNameParameters = RequestParameters; - -// @public (undocumented) -export interface TypesListTypeDefinitionHeaders { - get(options?: TypesListTypeDefinitionHeadersParameters): Promise; -} - -// @public -export interface TypesListTypeDefinitionHeaders200Response extends HttpResponse { - // (undocumented) - body: Array; - // (undocumented) - status: "200"; -} - -// @public -export interface TypesListTypeDefinitionHeadersdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export type TypesListTypeDefinitionHeadersParameters = TypesListTypeDefinitionHeadersQueryParam & RequestParameters; - -// @public (undocumented) -export interface TypesListTypeDefinitionHeadersQueryParam { - // (undocumented) - queryParameters?: TypesListTypeDefinitionHeadersQueryParamProperties; -} - -// @public (undocumented) -export interface TypesListTypeDefinitionHeadersQueryParamProperties { - includeTermTemplate?: boolean; - type?: "enum" | "entity" | "classification" | "relationship" | "struct" | "term_template"; -} - -// @public -export interface TypesUpdateAtlasTypeDefinitions200Response extends HttpResponse { - // (undocumented) - body: AtlasTypesDefOutput; - // (undocumented) - status: "200"; -} - -// @public (undocumented) -export interface TypesUpdateAtlasTypeDefinitionsBodyParam { - body: AtlasTypesDef; -} - -// @public -export interface TypesUpdateAtlasTypeDefinitionsdefaultResponse extends HttpResponse { - // (undocumented) - body: ErrorResponseOutput; - // (undocumented) - status: "500"; -} - -// @public (undocumented) -export interface TypesUpdateAtlasTypeDefinitionsMediaTypesParam { - contentType?: "application/json"; -} - -// @public (undocumented) -export type TypesUpdateAtlasTypeDefinitionsParameters = TypesUpdateAtlasTypeDefinitionsMediaTypesParam & TypesUpdateAtlasTypeDefinitionsBodyParam & RequestParameters; - -// (No @packageDocumentation comment for this package) - -``` diff --git a/sdk/purview/purview-catalog-rest/sample.env b/sdk/purview/purview-catalog-rest/sample.env deleted file mode 100644 index 5c39228ebdd0..000000000000 --- a/sdk/purview/purview-catalog-rest/sample.env +++ /dev/null @@ -1,7 +0,0 @@ -# Purview Scanning resource endpoint -ENDPOINT= - -# App registration secret for AAD authentication -AZURE_CLIENT_SECRET= -AZURE_CLIENT_ID= -AZURE_TENANT_ID= diff --git a/sdk/purview/purview-catalog-rest/samples-dev/typedefs.ts b/sdk/purview/purview-catalog-rest/samples-dev/typedefs.ts deleted file mode 100644 index 95a14c88160c..000000000000 --- a/sdk/purview/purview-catalog-rest/samples-dev/typedefs.ts +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -/** - * This sample demonstrates how get a list of typedefs - * - * @summary gets a list of typedefs for entities - * @azsdk-weight 40 - */ - -import PurviewCatalog from "@azure-rest/purview-catalog"; -import { DefaultAzureCredential } from "@azure/identity"; -import "dotenv/config"; - -const endpoint = process.env["ENDPOINT"] || ""; - -async function main(): Promise { - console.log("== List entity typedefs sample =="); - const client = PurviewCatalog(endpoint, new DefaultAzureCredential()); - - const dataSources = await client.path("/atlas/v2/types/typedefs").get(); - - if (dataSources.status !== "200") { - throw dataSources; - } - - if (!dataSources.body.entityDefs) { - throw new Error("entityDefs is not defined"); - } - - console.log(dataSources.body.entityDefs.map((ds) => ds.name).join("\n")); -} - -main().catch(console.error); diff --git a/sdk/purview/purview-catalog-rest/samples/v1-beta/javascript/README.md b/sdk/purview/purview-catalog-rest/samples/v1-beta/javascript/README.md deleted file mode 100644 index 3d4b2e595cff..000000000000 --- a/sdk/purview/purview-catalog-rest/samples/v1-beta/javascript/README.md +++ /dev/null @@ -1,53 +0,0 @@ -# Azure Purview Scanning rest client library samples for JavaScript (Beta) - -These sample programs show how to use the JavaScript client libraries for Azure Purview Scanning rest in some common scenarios. - -| **File Name** | **Description** | -| ----------------------- | ------------------------------------ | -| [typedefs.js][typedefs] | gets a list of typedefs for entities | - -## Prerequisites - -The sample programs are compatible with [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule). - -You need [an Azure subscription][freesub] and the following Azure resources to run these sample programs: - -- [Azure Cognitive Services instance][createinstance_azurecognitiveservicesinstance] - -Samples retrieve credentials to access the service endpoint from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. - -Adapting the samples to run in the browser may require some additional consideration. For details, please see the [package README][package]. - -## Setup - -To run the samples using the published version of the package: - -1. Install the dependencies using `npm`: - -```bash -npm install -``` - -2. Edit the file `sample.env`, adding the correct credentials to access the Azure service and run the samples. Then rename the file from `sample.env` to just `.env`. The sample programs will read this file automatically. - -3. Run whichever samples you like (note that some samples may require additional setup, see the table above): - -```bash -node typedefs.js -``` - -Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform): - -```bash -npx dev-tool run vendored cross-env ENDPOINT="" node typedefs.js -``` - -## Next Steps - -Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. - -[typedefs]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/purview/purview-catalog-rest/samples/v1-beta/javascript/typedefs.js -[apiref]: https://learn.microsoft.com/rest/api/purview/ -[freesub]: https://azure.microsoft.com/free/ -[createinstance_azurecognitiveservicesinstance]: https://learn.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account -[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-catalog-rest/README.md diff --git a/sdk/purview/purview-catalog-rest/samples/v1-beta/javascript/package.json b/sdk/purview/purview-catalog-rest/samples/v1-beta/javascript/package.json deleted file mode 100644 index 89fdc8ca1184..000000000000 --- a/sdk/purview/purview-catalog-rest/samples/v1-beta/javascript/package.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "name": "@azure-samples/purview-catalog-js-beta", - "private": true, - "version": "1.0.0", - "description": "Azure Purview Scanning rest client library samples for JavaScript (Beta)", - "engines": { - "node": ">=18.0.0" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/Azure/azure-sdk-for-js.git", - "directory": "sdk/purview/purview-catalog-rest" - }, - "keywords": [ - "node", - "azure", - "cloud", - "typescript", - "browser", - "isomorphic" - ], - "author": "Microsoft Corporation", - "license": "MIT", - "bugs": { - "url": "https://github.com/Azure/azure-sdk-for-js/issues" - }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-catalog-rest", - "dependencies": { - "@azure-rest/purview-catalog": "next", - "dotenv": "latest", - "@azure/identity": "^4.2.1" - } -} diff --git a/sdk/purview/purview-catalog-rest/samples/v1-beta/javascript/sample.env b/sdk/purview/purview-catalog-rest/samples/v1-beta/javascript/sample.env deleted file mode 100644 index 5c39228ebdd0..000000000000 --- a/sdk/purview/purview-catalog-rest/samples/v1-beta/javascript/sample.env +++ /dev/null @@ -1,7 +0,0 @@ -# Purview Scanning resource endpoint -ENDPOINT= - -# App registration secret for AAD authentication -AZURE_CLIENT_SECRET= -AZURE_CLIENT_ID= -AZURE_TENANT_ID= diff --git a/sdk/purview/purview-catalog-rest/samples/v1-beta/javascript/typedefs.js b/sdk/purview/purview-catalog-rest/samples/v1-beta/javascript/typedefs.js deleted file mode 100644 index 30875dedc8a5..000000000000 --- a/sdk/purview/purview-catalog-rest/samples/v1-beta/javascript/typedefs.js +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -/** - * This sample demonstrates how get a list of typedefs - * - * @summary gets a list of typedefs for entities - */ - -const PurviewCatalog = require("@azure-rest/purview-catalog").default; -const { DefaultAzureCredential } = require("@azure/identity"); -require("dotenv").config(); - -const endpoint = process.env["ENDPOINT"] || ""; - -async function main() { - console.log("== List entity typedefs sample =="); - const client = PurviewCatalog(endpoint, new DefaultAzureCredential()); - - const dataSources = await client.path("/atlas/v2/types/typedefs").get(); - - if (dataSources.status !== "200") { - throw dataSources; - } - - if (!dataSources.body.entityDefs) { - throw new Error("entityDefs is undefined"); - } - - console.log(dataSources.body.entityDefs.map((ds) => ds.name).join("\n")); -} - -main().catch(console.error); diff --git a/sdk/purview/purview-catalog-rest/samples/v1-beta/typescript/README.md b/sdk/purview/purview-catalog-rest/samples/v1-beta/typescript/README.md deleted file mode 100644 index 22d7ecbc0b88..000000000000 --- a/sdk/purview/purview-catalog-rest/samples/v1-beta/typescript/README.md +++ /dev/null @@ -1,66 +0,0 @@ -# Azure Purview Scanning rest client library samples for TypeScript (Beta) - -These sample programs show how to use the TypeScript client libraries for Azure Purview Scanning rest in some common scenarios. - -| **File Name** | **Description** | -| ----------------------- | ------------------------------------ | -| [typedefs.ts][typedefs] | gets a list of typedefs for entities | - -## Prerequisites - -The sample programs are compatible with [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule). - -Before running the samples in Node, they must be compiled to JavaScript using the TypeScript compiler. For more information on TypeScript, see the [TypeScript documentation][typescript]. Install the TypeScript compiler using: - -```bash -npm install -g typescript -``` - -You need [an Azure subscription][freesub] and the following Azure resources to run these sample programs: - -- [Azure Cognitive Services instance][createinstance_azurecognitiveservicesinstance] - -Samples retrieve credentials to access the service endpoint from environment variables. Alternatively, edit the source code to include the appropriate credentials. See each individual sample for details on which environment variables/credentials it requires to function. - -Adapting the samples to run in the browser may require some additional consideration. For details, please see the [package README][package]. - -## Setup - -To run the samples using the published version of the package: - -1. Install the dependencies using `npm`: - -```bash -npm install -``` - -2. Compile the samples: - -```bash -npm run build -``` - -3. Edit the file `sample.env`, adding the correct credentials to access the Azure service and run the samples. Then rename the file from `sample.env` to just `.env`. The sample programs will read this file automatically. - -4. Run whichever samples you like (note that some samples may require additional setup, see the table above): - -```bash -node dist/typedefs.js -``` - -Alternatively, run a single sample with the correct environment variables set (setting up the `.env` file is not required if you do this), for example (cross-platform): - -```bash -npx dev-tool run vendored cross-env ENDPOINT="" node dist/typedefs.js -``` - -## Next Steps - -Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients. - -[typedefs]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/purview/purview-catalog-rest/samples/v1-beta/typescript/src/typedefs.ts -[apiref]: https://learn.microsoft.com/rest/api/purview/ -[freesub]: https://azure.microsoft.com/free/ -[createinstance_azurecognitiveservicesinstance]: https://learn.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account -[package]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-catalog-rest/README.md -[typescript]: https://www.typescriptlang.org/docs/home.html diff --git a/sdk/purview/purview-catalog-rest/samples/v1-beta/typescript/package.json b/sdk/purview/purview-catalog-rest/samples/v1-beta/typescript/package.json deleted file mode 100644 index f92a10a3c811..000000000000 --- a/sdk/purview/purview-catalog-rest/samples/v1-beta/typescript/package.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "name": "@azure-samples/purview-catalog-ts-beta", - "private": true, - "version": "1.0.0", - "description": "Azure Purview Scanning rest client library samples for TypeScript (Beta)", - "engines": { - "node": ">=18.0.0" - }, - "scripts": { - "build": "tsc", - "prebuild": "rimraf dist/" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/Azure/azure-sdk-for-js.git", - "directory": "sdk/purview/purview-catalog-rest" - }, - "keywords": [ - "node", - "azure", - "cloud", - "typescript", - "browser", - "isomorphic" - ], - "author": "Microsoft Corporation", - "license": "MIT", - "bugs": { - "url": "https://github.com/Azure/azure-sdk-for-js/issues" - }, - "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-catalog-rest", - "dependencies": { - "@azure-rest/purview-catalog": "next", - "dotenv": "latest", - "@azure/identity": "^4.2.1" - }, - "devDependencies": { - "@types/node": "^18.0.0", - "typescript": "~5.7.2", - "rimraf": "latest" - } -} diff --git a/sdk/purview/purview-catalog-rest/samples/v1-beta/typescript/sample.env b/sdk/purview/purview-catalog-rest/samples/v1-beta/typescript/sample.env deleted file mode 100644 index 5c39228ebdd0..000000000000 --- a/sdk/purview/purview-catalog-rest/samples/v1-beta/typescript/sample.env +++ /dev/null @@ -1,7 +0,0 @@ -# Purview Scanning resource endpoint -ENDPOINT= - -# App registration secret for AAD authentication -AZURE_CLIENT_SECRET= -AZURE_CLIENT_ID= -AZURE_TENANT_ID= diff --git a/sdk/purview/purview-catalog-rest/samples/v1-beta/typescript/src/typedefs.ts b/sdk/purview/purview-catalog-rest/samples/v1-beta/typescript/src/typedefs.ts deleted file mode 100644 index d8d447ca7e80..000000000000 --- a/sdk/purview/purview-catalog-rest/samples/v1-beta/typescript/src/typedefs.ts +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -/** - * This sample demonstrates how get a list of typedefs - * - * @summary gets a list of typedefs for entities - */ - -import PurviewCatalog from "@azure-rest/purview-catalog"; -import { DefaultAzureCredential } from "@azure/identity"; -import "dotenv/config"; -const endpoint = process.env["ENDPOINT"] || ""; - -async function main(): Promise { - console.log("== List entity typedefs sample =="); - const client = PurviewCatalog(endpoint, new DefaultAzureCredential()); - - const dataSources = await client.path("/atlas/v2/types/typedefs").get(); - - if (dataSources.status !== "200") { - throw dataSources; - } - - if (!dataSources.body.entityDefs) { - throw new Error("entityDefs is undefined"); - } - - console.log(dataSources.body.entityDefs.map((ds) => ds.name).join("\n")); -} - -main().catch(console.error); diff --git a/sdk/purview/purview-catalog-rest/samples/v1-beta/typescript/tsconfig.json b/sdk/purview/purview-catalog-rest/samples/v1-beta/typescript/tsconfig.json deleted file mode 100644 index ad5ff9a19d36..000000000000 --- a/sdk/purview/purview-catalog-rest/samples/v1-beta/typescript/tsconfig.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "compilerOptions": { - "target": "ES2018", - "module": "commonjs", - "moduleResolution": "node", - "resolveJsonModule": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "strict": true, - "alwaysStrict": true, - "outDir": "dist", - "rootDir": "src" - }, - "include": [ - "src/**/*.ts" - ] -} diff --git a/sdk/purview/purview-catalog-rest/src/clientDefinitions.ts b/sdk/purview/purview-catalog-rest/src/clientDefinitions.ts deleted file mode 100644 index a0a5aac0fe06..000000000000 --- a/sdk/purview/purview-catalog-rest/src/clientDefinitions.ts +++ /dev/null @@ -1,1375 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import type { - EntityCreateOrUpdateParameters, - EntityListByGuidsParameters, - EntityCreateOrUpdateEntitiesParameters, - EntityDeleteByGuidsParameters, - EntityAddClassificationParameters, - EntityGetByGuidParameters, - EntityPartialUpdateEntityAttributeByGuidParameters, - EntityDeleteByGuidParameters, - EntityGetClassificationParameters, - EntityDeleteClassificationParameters, - EntityGetClassificationsParameters, - EntityAddClassificationsParameters, - EntityUpdateClassificationsParameters, - EntityGetByUniqueAttributesParameters, - EntityPartialUpdateEntityByUniqueAttributesParameters, - EntityDeleteByUniqueAttributeParameters, - EntityDeleteClassificationByUniqueAttributeParameters, - EntityAddClassificationsByUniqueAttributeParameters, - EntityUpdateClassificationsByUniqueAttributeParameters, - EntitySetClassificationsParameters, - EntityGetEntitiesByUniqueAttributesParameters, - EntityGetHeaderParameters, - EntityDeleteBusinessMetadataParameters, - EntityAddOrUpdateBusinessMetadataParameters, - EntityDeleteBusinessMetadataAttributesParameters, - EntityAddOrUpdateBusinessMetadataAttributesParameters, - EntityGetSampleBusinessMetadataTemplateParameters, - EntityImportBusinessMetadataParameters, - EntityDeleteLabelsParameters, - EntitySetLabelsParameters, - EntityAddLabelParameters, - EntityDeleteLabelsByUniqueAttributeParameters, - EntitySetLabelsByUniqueAttributeParameters, - EntityAddLabelsByUniqueAttributeParameters, - GlossaryListGlossariesParameters, - GlossaryCreateGlossaryParameters, - GlossaryCreateGlossaryCategoriesParameters, - GlossaryCreateGlossaryCategoryParameters, - GlossaryGetGlossaryCategoryParameters, - GlossaryUpdateGlossaryCategoryParameters, - GlossaryDeleteGlossaryCategoryParameters, - GlossaryPartialUpdateGlossaryCategoryParameters, - GlossaryListRelatedCategoriesParameters, - GlossaryListCategoryTermsParameters, - GlossaryCreateGlossaryTermParameters, - GlossaryGetGlossaryTermParameters, - GlossaryUpdateGlossaryTermParameters, - GlossaryDeleteGlossaryTermParameters, - GlossaryPartialUpdateGlossaryTermParameters, - GlossaryCreateGlossaryTermsParameters, - GlossaryGetEntitiesAssignedWithTermParameters, - GlossaryAssignTermToEntitiesParameters, - GlossaryRemoveTermAssignmentFromEntitiesParameters, - GlossaryDeleteTermAssignmentFromEntitiesParameters, - GlossaryListRelatedTermsParameters, - GlossaryGetGlossaryParameters, - GlossaryUpdateGlossaryParameters, - GlossaryDeleteGlossaryParameters, - GlossaryListGlossaryCategoriesParameters, - GlossaryListGlossaryCategoriesHeadersParameters, - GlossaryGetDetailedGlossaryParameters, - GlossaryPartialUpdateGlossaryParameters, - GlossaryListGlossaryTermsParameters, - GlossaryListGlossaryTermHeadersParameters, - GlossaryImportGlossaryTermsViaCsvParameters, - GlossaryImportGlossaryTermsViaCsvByGlossaryNameParameters, - GlossaryGetImportCsvOperationStatusParameters, - GlossaryExportGlossaryTermsAsCsvParameters, - GlossaryListTermsByGlossaryNameParameters, - DiscoveryQueryParameters, - DiscoverySuggestParameters, - DiscoveryBrowseParameters, - DiscoveryAutoCompleteParameters, - LineageGetLineageGraphParameters, - LineageNextPageLineageParameters, - LineageGetLineageByUniqueAttributeParameters, - RelationshipCreateParameters, - RelationshipUpdateParameters, - RelationshipGetParameters, - RelationshipDeleteParameters, - TypesGetBusinessMetadataDefByGuidParameters, - TypesGetBusinessMetadataDefByNameParameters, - TypesGetClassificationDefByGuidParameters, - TypesGetClassificationDefByNameParameters, - TypesGetEntityDefinitionByGuidParameters, - TypesGetEntityDefinitionByNameParameters, - TypesGetEnumDefByGuidParameters, - TypesGetEnumDefByNameParameters, - TypesGetRelationshipDefByGuidParameters, - TypesGetRelationshipDefByNameParameters, - TypesGetStructDefByGuidParameters, - TypesGetStructDefByNameParameters, - TypesGetTypeDefinitionByGuidParameters, - TypesGetTypeDefinitionByNameParameters, - TypesDeleteTypeByNameParameters, - TypesGetAllTypeDefinitionsParameters, - TypesCreateTypeDefinitionsParameters, - TypesUpdateAtlasTypeDefinitionsParameters, - TypesDeleteTypeDefinitionsParameters, - TypesListTypeDefinitionHeadersParameters, - TypesGetTermTemplateDefByGuidParameters, - TypesGetTermTemplateDefByNameParameters, - CollectionCreateOrUpdateParameters, - CollectionCreateOrUpdateBulkParameters, - CollectionMoveEntitiesToCollectionParameters, -} from "./parameters.js"; -import type { - EntityCreateOrUpdate200Response, - EntityCreateOrUpdatedefaultResponse, - EntityListByGuids200Response, - EntityListByGuidsdefaultResponse, - EntityCreateOrUpdateEntities200Response, - EntityCreateOrUpdateEntitiesdefaultResponse, - EntityDeleteByGuids200Response, - EntityDeleteByGuidsdefaultResponse, - EntityAddClassification204Response, - EntityAddClassificationdefaultResponse, - EntityGetByGuid200Response, - EntityGetByGuiddefaultResponse, - EntityPartialUpdateEntityAttributeByGuid200Response, - EntityPartialUpdateEntityAttributeByGuiddefaultResponse, - EntityDeleteByGuid200Response, - EntityDeleteByGuiddefaultResponse, - EntityGetClassification200Response, - EntityGetClassificationdefaultResponse, - EntityDeleteClassification204Response, - EntityDeleteClassificationdefaultResponse, - EntityGetClassifications200Response, - EntityGetClassificationsdefaultResponse, - EntityAddClassifications204Response, - EntityAddClassificationsdefaultResponse, - EntityUpdateClassifications204Response, - EntityUpdateClassificationsdefaultResponse, - EntityGetByUniqueAttributes200Response, - EntityGetByUniqueAttributesdefaultResponse, - EntityPartialUpdateEntityByUniqueAttributes200Response, - EntityPartialUpdateEntityByUniqueAttributesdefaultResponse, - EntityDeleteByUniqueAttribute200Response, - EntityDeleteByUniqueAttributedefaultResponse, - EntityDeleteClassificationByUniqueAttribute204Response, - EntityDeleteClassificationByUniqueAttributedefaultResponse, - EntityAddClassificationsByUniqueAttribute204Response, - EntityAddClassificationsByUniqueAttributedefaultResponse, - EntityUpdateClassificationsByUniqueAttribute204Response, - EntityUpdateClassificationsByUniqueAttributedefaultResponse, - EntitySetClassifications200Response, - EntitySetClassificationsdefaultResponse, - EntityGetEntitiesByUniqueAttributes200Response, - EntityGetEntitiesByUniqueAttributesdefaultResponse, - EntityGetHeader200Response, - EntityGetHeaderdefaultResponse, - EntityDeleteBusinessMetadata204Response, - EntityAddOrUpdateBusinessMetadata204Response, - EntityDeleteBusinessMetadataAttributes204Response, - EntityAddOrUpdateBusinessMetadataAttributes204Response, - EntityGetSampleBusinessMetadataTemplate200Response, - EntityGetSampleBusinessMetadataTemplate400Response, - EntityImportBusinessMetadata200Response, - EntityImportBusinessMetadata400Response, - EntityImportBusinessMetadata409Response, - EntityDeleteLabels204Response, - EntitySetLabels204Response, - EntityAddLabel204Response, - EntityDeleteLabelsByUniqueAttribute204Response, - EntitySetLabelsByUniqueAttribute204Response, - EntityAddLabelsByUniqueAttribute204Response, - GlossaryListGlossaries200Response, - GlossaryListGlossariesdefaultResponse, - GlossaryCreateGlossary200Response, - GlossaryCreateGlossarydefaultResponse, - GlossaryCreateGlossaryCategories200Response, - GlossaryCreateGlossaryCategoriesdefaultResponse, - GlossaryCreateGlossaryCategory200Response, - GlossaryCreateGlossaryCategorydefaultResponse, - GlossaryGetGlossaryCategory200Response, - GlossaryGetGlossaryCategorydefaultResponse, - GlossaryUpdateGlossaryCategory200Response, - GlossaryUpdateGlossaryCategorydefaultResponse, - GlossaryDeleteGlossaryCategory204Response, - GlossaryDeleteGlossaryCategorydefaultResponse, - GlossaryPartialUpdateGlossaryCategory200Response, - GlossaryPartialUpdateGlossaryCategorydefaultResponse, - GlossaryListRelatedCategories200Response, - GlossaryListRelatedCategoriesdefaultResponse, - GlossaryListCategoryTerms200Response, - GlossaryListCategoryTermsdefaultResponse, - GlossaryCreateGlossaryTerm200Response, - GlossaryCreateGlossaryTermdefaultResponse, - GlossaryGetGlossaryTerm200Response, - GlossaryGetGlossaryTermdefaultResponse, - GlossaryUpdateGlossaryTerm200Response, - GlossaryUpdateGlossaryTermdefaultResponse, - GlossaryDeleteGlossaryTerm204Response, - GlossaryDeleteGlossaryTermdefaultResponse, - GlossaryPartialUpdateGlossaryTerm200Response, - GlossaryPartialUpdateGlossaryTermdefaultResponse, - GlossaryCreateGlossaryTerms200Response, - GlossaryCreateGlossaryTermsdefaultResponse, - GlossaryGetEntitiesAssignedWithTerm200Response, - GlossaryGetEntitiesAssignedWithTermdefaultResponse, - GlossaryAssignTermToEntities204Response, - GlossaryAssignTermToEntitiesdefaultResponse, - GlossaryRemoveTermAssignmentFromEntities204Response, - GlossaryRemoveTermAssignmentFromEntitiesdefaultResponse, - GlossaryDeleteTermAssignmentFromEntities204Response, - GlossaryDeleteTermAssignmentFromEntitiesdefaultResponse, - GlossaryListRelatedTerms200Response, - GlossaryListRelatedTermsdefaultResponse, - GlossaryGetGlossary200Response, - GlossaryGetGlossarydefaultResponse, - GlossaryUpdateGlossary200Response, - GlossaryUpdateGlossarydefaultResponse, - GlossaryDeleteGlossary204Response, - GlossaryDeleteGlossarydefaultResponse, - GlossaryListGlossaryCategories200Response, - GlossaryListGlossaryCategoriesdefaultResponse, - GlossaryListGlossaryCategoriesHeaders200Response, - GlossaryListGlossaryCategoriesHeadersdefaultResponse, - GlossaryGetDetailedGlossary200Response, - GlossaryGetDetailedGlossarydefaultResponse, - GlossaryPartialUpdateGlossary200Response, - GlossaryPartialUpdateGlossarydefaultResponse, - GlossaryListGlossaryTerms200Response, - GlossaryListGlossaryTermsdefaultResponse, - GlossaryListGlossaryTermHeaders200Response, - GlossaryListGlossaryTermHeadersdefaultResponse, - GlossaryImportGlossaryTermsViaCsv202Response, - GlossaryImportGlossaryTermsViaCsvdefaultResponse, - GlossaryImportGlossaryTermsViaCsvByGlossaryName202Response, - GlossaryImportGlossaryTermsViaCsvByGlossaryNamedefaultResponse, - GlossaryGetImportCsvOperationStatus200Response, - GlossaryGetImportCsvOperationStatusdefaultResponse, - GlossaryExportGlossaryTermsAsCsv200Response, - GlossaryExportGlossaryTermsAsCsvdefaultResponse, - GlossaryListTermsByGlossaryName200Response, - GlossaryListTermsByGlossaryNamedefaultResponse, - DiscoveryQuery200Response, - DiscoveryQuerydefaultResponse, - DiscoverySuggest200Response, - DiscoverySuggestdefaultResponse, - DiscoveryBrowse200Response, - DiscoveryBrowsedefaultResponse, - DiscoveryAutoComplete200Response, - DiscoveryAutoCompletedefaultResponse, - LineageGetLineageGraph200Response, - LineageGetLineageGraphdefaultResponse, - LineageNextPageLineage200Response, - LineageNextPageLineagedefaultResponse, - LineageGetLineageByUniqueAttribute200Response, - LineageGetLineageByUniqueAttribute400Response, - LineageGetLineageByUniqueAttribute404Response, - RelationshipCreate200Response, - RelationshipCreatedefaultResponse, - RelationshipUpdate200Response, - RelationshipUpdatedefaultResponse, - RelationshipGet200Response, - RelationshipGetdefaultResponse, - RelationshipDelete204Response, - RelationshipDeletedefaultResponse, - TypesGetBusinessMetadataDefByGuid200Response, - TypesGetBusinessMetadataDefByGuid404Response, - TypesGetBusinessMetadataDefByName200Response, - TypesGetBusinessMetadataDefByName404Response, - TypesGetClassificationDefByGuid200Response, - TypesGetClassificationDefByGuiddefaultResponse, - TypesGetClassificationDefByName200Response, - TypesGetClassificationDefByNamedefaultResponse, - TypesGetEntityDefinitionByGuid200Response, - TypesGetEntityDefinitionByGuiddefaultResponse, - TypesGetEntityDefinitionByName200Response, - TypesGetEntityDefinitionByNamedefaultResponse, - TypesGetEnumDefByGuid200Response, - TypesGetEnumDefByGuiddefaultResponse, - TypesGetEnumDefByName200Response, - TypesGetEnumDefByNamedefaultResponse, - TypesGetRelationshipDefByGuid200Response, - TypesGetRelationshipDefByGuiddefaultResponse, - TypesGetRelationshipDefByName200Response, - TypesGetRelationshipDefByNamedefaultResponse, - TypesGetStructDefByGuid200Response, - TypesGetStructDefByGuiddefaultResponse, - TypesGetStructDefByName200Response, - TypesGetStructDefByNamedefaultResponse, - TypesGetTypeDefinitionByGuid200Response, - TypesGetTypeDefinitionByGuiddefaultResponse, - TypesGetTypeDefinitionByName200Response, - TypesGetTypeDefinitionByNamedefaultResponse, - TypesDeleteTypeByName204Response, - TypesDeleteTypeByNamedefaultResponse, - TypesGetAllTypeDefinitions200Response, - TypesGetAllTypeDefinitionsdefaultResponse, - TypesCreateTypeDefinitions200Response, - TypesCreateTypeDefinitionsdefaultResponse, - TypesUpdateAtlasTypeDefinitions200Response, - TypesUpdateAtlasTypeDefinitionsdefaultResponse, - TypesDeleteTypeDefinitions204Response, - TypesDeleteTypeDefinitionsdefaultResponse, - TypesListTypeDefinitionHeaders200Response, - TypesListTypeDefinitionHeadersdefaultResponse, - TypesGetTermTemplateDefByGuid200Response, - TypesGetTermTemplateDefByGuiddefaultResponse, - TypesGetTermTemplateDefByName200Response, - TypesGetTermTemplateDefByNamedefaultResponse, - CollectionCreateOrUpdate200Response, - CollectionCreateOrUpdatedefaultResponse, - CollectionCreateOrUpdateBulk200Response, - CollectionCreateOrUpdateBulkdefaultResponse, - CollectionMoveEntitiesToCollection200Response, - CollectionMoveEntitiesToCollectiondefaultResponse, -} from "./responses.js"; -import type { Client } from "@azure-rest/core-client"; - -export interface EntityCreateOrUpdate { - /** - * Create or update an entity in Atlas. - * Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. - * Map and array of collections are not well supported. E.g., array>, array>. - */ - post( - options: EntityCreateOrUpdateParameters, - ): Promise; -} - -export interface EntityListByGuids { - /** List entities in bulk identified by its GUIDs. */ - get( - options: EntityListByGuidsParameters, - ): Promise; - /** - * Create or update entities in Atlas in bulk. - * Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. - * Map and array of collections are not well supported. E.g., array>, array>. - */ - post( - options: EntityCreateOrUpdateEntitiesParameters, - ): Promise; - /** Delete a list of entities in bulk identified by their GUIDs or unique attributes. */ - delete( - options: EntityDeleteByGuidsParameters, - ): Promise; -} - -export interface EntityAddClassification { - /** Associate a classification to multiple entities in bulk. */ - post( - options: EntityAddClassificationParameters, - ): Promise; -} - -export interface EntityGetByGuid { - /** Get complete definition of an entity given its GUID. */ - get( - options?: EntityGetByGuidParameters, - ): Promise; - /** - * Update entity partially - create or update entity attribute identified by its GUID. - * Supports only primitive attribute type and entity references. - * It does not support updating complex types like arrays, and maps. - * Null updates are not possible. - */ - put( - options: EntityPartialUpdateEntityAttributeByGuidParameters, - ): Promise< - | EntityPartialUpdateEntityAttributeByGuid200Response - | EntityPartialUpdateEntityAttributeByGuiddefaultResponse - >; - /** Delete an entity identified by its GUID. */ - delete( - options?: EntityDeleteByGuidParameters, - ): Promise; -} - -export interface EntityGetClassification { - /** List classifications for a given entity represented by a GUID. */ - get( - options?: EntityGetClassificationParameters, - ): Promise; - /** Delete a given classification from an existing entity represented by a GUID. */ - delete( - options?: EntityDeleteClassificationParameters, - ): Promise; -} - -export interface EntityGetClassifications { - /** List classifications for a given entity represented by a GUID. */ - get( - options?: EntityGetClassificationsParameters, - ): Promise; - /** Add classifications to an existing entity represented by a GUID. */ - post( - options: EntityAddClassificationsParameters, - ): Promise; - /** Update classifications to an existing entity represented by a guid. */ - put( - options: EntityUpdateClassificationsParameters, - ): Promise; -} - -export interface EntityGetByUniqueAttributes { - /** - * Get complete definition of an entity given its type and unique attribute. - * In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: - * attr:\=. - * NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. - * The REST request would look something like this: - * GET /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. - */ - get( - options?: EntityGetByUniqueAttributesParameters, - ): Promise; - /** - * Update entity partially - Allow a subset of attributes to be updated on - * an entity which is identified by its type and unique attribute eg: Referenceable.qualifiedName. - * Null updates are not possible. - * In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: - * attr:=. - * NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. - * The REST request would look something like this: - * PUT /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. - */ - put( - options: EntityPartialUpdateEntityByUniqueAttributesParameters, - ): Promise< - | EntityPartialUpdateEntityByUniqueAttributes200Response - | EntityPartialUpdateEntityByUniqueAttributesdefaultResponse - >; - /** - * Delete an entity identified by its type and unique attributes. - * In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: - * attr:\=\. - * NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. - * The REST request would look something like this: - * DELETE /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. - */ - delete( - options?: EntityDeleteByUniqueAttributeParameters, - ): Promise< - EntityDeleteByUniqueAttribute200Response | EntityDeleteByUniqueAttributedefaultResponse - >; -} - -export interface EntityDeleteClassificationByUniqueAttribute { - /** Delete a given classification from an entity identified by its type and unique attributes. */ - delete( - options?: EntityDeleteClassificationByUniqueAttributeParameters, - ): Promise< - | EntityDeleteClassificationByUniqueAttribute204Response - | EntityDeleteClassificationByUniqueAttributedefaultResponse - >; -} - -export interface EntityAddClassificationsByUniqueAttribute { - /** Add classification to the entity identified by its type and unique attributes. */ - post( - options: EntityAddClassificationsByUniqueAttributeParameters, - ): Promise< - | EntityAddClassificationsByUniqueAttribute204Response - | EntityAddClassificationsByUniqueAttributedefaultResponse - >; - /** Update classification on an entity identified by its type and unique attributes. */ - put( - options: EntityUpdateClassificationsByUniqueAttributeParameters, - ): Promise< - | EntityUpdateClassificationsByUniqueAttribute204Response - | EntityUpdateClassificationsByUniqueAttributedefaultResponse - >; -} - -export interface EntitySetClassifications { - /** Set classifications on entities in bulk. */ - post( - options: EntitySetClassificationsParameters, - ): Promise; -} - -export interface EntityGetEntitiesByUniqueAttributes { - /** - * Bulk API to retrieve list of entities identified by its unique attributes. - * - * In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format - * - * typeName=\&attr_1:\=\&attr_2:\=\&attr_3:\=\ - * - * NOTE: The attrName should be an unique attribute for the given entity-type - * - * The REST request would look something like this - * - * GET /v2/entity/bulk/uniqueAttribute/type/hive_db?attr_0:qualifiedName=db1@cl1&attr_2:qualifiedName=db2@cl1 - */ - get( - options?: EntityGetEntitiesByUniqueAttributesParameters, - ): Promise< - | EntityGetEntitiesByUniqueAttributes200Response - | EntityGetEntitiesByUniqueAttributesdefaultResponse - >; -} - -export interface EntityGetHeader { - /** Get entity header given its GUID. */ - get( - options?: EntityGetHeaderParameters, - ): Promise; -} - -export interface EntityDeleteBusinessMetadata { - /** Remove business metadata from an entity. */ - delete( - options?: EntityDeleteBusinessMetadataParameters, - ): Promise; - /** Add business metadata to an entity. */ - post( - options?: EntityAddOrUpdateBusinessMetadataParameters, - ): Promise; -} - -export interface EntityDeleteBusinessMetadataAttributes { - /** Delete business metadata attributes from an entity. */ - delete( - options?: EntityDeleteBusinessMetadataAttributesParameters, - ): Promise; - /** Add or update business metadata attributes */ - post( - options?: EntityAddOrUpdateBusinessMetadataAttributesParameters, - ): Promise; -} - -export interface EntityGetSampleBusinessMetadataTemplate { - /** Get the sample Template for uploading/creating bulk BusinessMetaData */ - get( - options?: EntityGetSampleBusinessMetadataTemplateParameters, - ): Promise< - | EntityGetSampleBusinessMetadataTemplate200Response - | EntityGetSampleBusinessMetadataTemplate400Response - >; -} - -export interface EntityImportBusinessMetadata { - /** Upload the file for creating Business Metadata in BULK */ - post( - options?: EntityImportBusinessMetadataParameters, - ): Promise< - | EntityImportBusinessMetadata200Response - | EntityImportBusinessMetadata400Response - | EntityImportBusinessMetadata409Response - >; -} - -export interface EntityDeleteLabels { - /** delete given labels to a given entity */ - delete(options?: EntityDeleteLabelsParameters): Promise; - /** Set labels to a given entity */ - post(options?: EntitySetLabelsParameters): Promise; - /** add given labels to a given entity */ - put(options?: EntityAddLabelParameters): Promise; -} - -export interface EntityDeleteLabelsByUniqueAttribute { - /** Delete given labels to a given entity identified by its type and unique attributes, if labels is null/empty, no labels will be removed. If any labels in labels set are non-existing labels, they will be ignored, only existing labels will be removed. In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: attr:=. NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. The REST request would look something like this: DELETE /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. */ - delete( - options?: EntityDeleteLabelsByUniqueAttributeParameters, - ): Promise; - /** Set labels to a given entity identified by its type and unique attributes, if labels is null/empty, existing labels will all be removed. In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: attr:=. NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. The REST request would look something like this: POST /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. */ - post( - options?: EntitySetLabelsByUniqueAttributeParameters, - ): Promise; - /** Add given labels to a given entity identified by its type and unique attributes, if labels is null/empty, no labels will be added. In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: attr:=. NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. The REST request would look something like this: PUT /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. */ - put( - options?: EntityAddLabelsByUniqueAttributeParameters, - ): Promise; -} - -export interface GlossaryListGlossaries { - /** Get all glossaries registered with Atlas. */ - get( - options?: GlossaryListGlossariesParameters, - ): Promise; - /** Create a glossary. */ - post( - options: GlossaryCreateGlossaryParameters, - ): Promise; -} - -export interface GlossaryCreateGlossaryCategories { - /** Create glossary category in bulk. */ - post( - options: GlossaryCreateGlossaryCategoriesParameters, - ): Promise< - GlossaryCreateGlossaryCategories200Response | GlossaryCreateGlossaryCategoriesdefaultResponse - >; -} - -export interface GlossaryCreateGlossaryCategory { - /** Create a glossary category. */ - post( - options: GlossaryCreateGlossaryCategoryParameters, - ): Promise< - GlossaryCreateGlossaryCategory200Response | GlossaryCreateGlossaryCategorydefaultResponse - >; -} - -export interface GlossaryGetGlossaryCategory { - /** Get specific glossary category by its GUID. */ - get( - options?: GlossaryGetGlossaryCategoryParameters, - ): Promise; - /** Update the given glossary category by its GUID. */ - put( - options: GlossaryUpdateGlossaryCategoryParameters, - ): Promise< - GlossaryUpdateGlossaryCategory200Response | GlossaryUpdateGlossaryCategorydefaultResponse - >; - /** Delete a glossary category. */ - delete( - options?: GlossaryDeleteGlossaryCategoryParameters, - ): Promise< - GlossaryDeleteGlossaryCategory204Response | GlossaryDeleteGlossaryCategorydefaultResponse - >; -} - -export interface GlossaryPartialUpdateGlossaryCategory { - /** Update the glossary category partially. */ - put( - options: GlossaryPartialUpdateGlossaryCategoryParameters, - ): Promise< - | GlossaryPartialUpdateGlossaryCategory200Response - | GlossaryPartialUpdateGlossaryCategorydefaultResponse - >; -} - -export interface GlossaryListRelatedCategories { - /** Get all related categories (parent and children). Limit, offset, and sort parameters are currently not being enabled and won't work even they are passed. */ - get( - options?: GlossaryListRelatedCategoriesParameters, - ): Promise< - GlossaryListRelatedCategories200Response | GlossaryListRelatedCategoriesdefaultResponse - >; -} - -export interface GlossaryListCategoryTerms { - /** Get all terms associated with the specific category. */ - get( - options?: GlossaryListCategoryTermsParameters, - ): Promise; -} - -export interface GlossaryCreateGlossaryTerm { - /** Create a glossary term. */ - post( - options: GlossaryCreateGlossaryTermParameters, - ): Promise; -} - -export interface GlossaryGetGlossaryTerm { - /** Get a specific glossary term by its GUID. */ - get( - options?: GlossaryGetGlossaryTermParameters, - ): Promise; - /** Update the given glossary term by its GUID. */ - put( - options: GlossaryUpdateGlossaryTermParameters, - ): Promise; - /** Delete a glossary term. */ - delete( - options?: GlossaryDeleteGlossaryTermParameters, - ): Promise; -} - -export interface GlossaryPartialUpdateGlossaryTerm { - /** Update the glossary term partially. */ - put( - options: GlossaryPartialUpdateGlossaryTermParameters, - ): Promise< - GlossaryPartialUpdateGlossaryTerm200Response | GlossaryPartialUpdateGlossaryTermdefaultResponse - >; -} - -export interface GlossaryCreateGlossaryTerms { - /** Create glossary terms in bulk. */ - post( - options: GlossaryCreateGlossaryTermsParameters, - ): Promise; -} - -export interface GlossaryGetEntitiesAssignedWithTerm { - /** Get all related objects assigned with the specified term. */ - get( - options?: GlossaryGetEntitiesAssignedWithTermParameters, - ): Promise< - | GlossaryGetEntitiesAssignedWithTerm200Response - | GlossaryGetEntitiesAssignedWithTermdefaultResponse - >; - /** Assign the given term to the provided list of related objects. */ - post( - options: GlossaryAssignTermToEntitiesParameters, - ): Promise; - /** Delete the term assignment for the given list of related objects. */ - put( - options: GlossaryRemoveTermAssignmentFromEntitiesParameters, - ): Promise< - | GlossaryRemoveTermAssignmentFromEntities204Response - | GlossaryRemoveTermAssignmentFromEntitiesdefaultResponse - >; - /** Delete the term assignment for the given list of related objects. */ - delete( - options: GlossaryDeleteTermAssignmentFromEntitiesParameters, - ): Promise< - | GlossaryDeleteTermAssignmentFromEntities204Response - | GlossaryDeleteTermAssignmentFromEntitiesdefaultResponse - >; -} - -export interface GlossaryListRelatedTerms { - /** Get all related terms for a specific term by its GUID. Limit, offset, and sort parameters are currently not being enabled and won't work even they are passed. */ - get( - options?: GlossaryListRelatedTermsParameters, - ): Promise; -} - -export interface GlossaryGetGlossary { - /** Get a specific Glossary by its GUID. */ - get( - options?: GlossaryGetGlossaryParameters, - ): Promise; - /** Update the given glossary. */ - put( - options: GlossaryUpdateGlossaryParameters, - ): Promise; - /** Delete a glossary. */ - delete( - options?: GlossaryDeleteGlossaryParameters, - ): Promise; -} - -export interface GlossaryListGlossaryCategories { - /** Get the categories belonging to a specific glossary. */ - get( - options?: GlossaryListGlossaryCategoriesParameters, - ): Promise< - GlossaryListGlossaryCategories200Response | GlossaryListGlossaryCategoriesdefaultResponse - >; -} - -export interface GlossaryListGlossaryCategoriesHeaders { - /** Get the category headers belonging to a specific glossary. */ - get( - options?: GlossaryListGlossaryCategoriesHeadersParameters, - ): Promise< - | GlossaryListGlossaryCategoriesHeaders200Response - | GlossaryListGlossaryCategoriesHeadersdefaultResponse - >; -} - -export interface GlossaryGetDetailedGlossary { - /** Get a specific glossary with detailed information. */ - get( - options?: GlossaryGetDetailedGlossaryParameters, - ): Promise; -} - -export interface GlossaryPartialUpdateGlossary { - /** Update the glossary partially. Some properties such as qualifiedName are not allowed to be updated. */ - put( - options: GlossaryPartialUpdateGlossaryParameters, - ): Promise< - GlossaryPartialUpdateGlossary200Response | GlossaryPartialUpdateGlossarydefaultResponse - >; -} - -export interface GlossaryListGlossaryTerms { - /** Get terms belonging to a specific glossary. */ - get( - options?: GlossaryListGlossaryTermsParameters, - ): Promise; -} - -export interface GlossaryListGlossaryTermHeaders { - /** Get term headers belonging to a specific glossary. */ - get( - options?: GlossaryListGlossaryTermHeadersParameters, - ): Promise< - GlossaryListGlossaryTermHeaders200Response | GlossaryListGlossaryTermHeadersdefaultResponse - >; -} - -export interface GlossaryImportGlossaryTermsViaCsv { - /** Import Glossary Terms from local csv file */ - post( - options: GlossaryImportGlossaryTermsViaCsvParameters, - ): Promise< - GlossaryImportGlossaryTermsViaCsv202Response | GlossaryImportGlossaryTermsViaCsvdefaultResponse - >; -} - -export interface GlossaryImportGlossaryTermsViaCsvByGlossaryName { - /** Import Glossary Terms from local csv file by glossaryName */ - post( - options: GlossaryImportGlossaryTermsViaCsvByGlossaryNameParameters, - ): Promise< - | GlossaryImportGlossaryTermsViaCsvByGlossaryName202Response - | GlossaryImportGlossaryTermsViaCsvByGlossaryNamedefaultResponse - >; -} - -export interface GlossaryGetImportCsvOperationStatus { - /** Get the status of import csv operation */ - get( - options?: GlossaryGetImportCsvOperationStatusParameters, - ): Promise< - | GlossaryGetImportCsvOperationStatus200Response - | GlossaryGetImportCsvOperationStatusdefaultResponse - >; -} - -export interface GlossaryExportGlossaryTermsAsCsv { - /** Export Glossary Terms as csv file */ - post( - options: GlossaryExportGlossaryTermsAsCsvParameters, - ): Promise< - GlossaryExportGlossaryTermsAsCsv200Response | GlossaryExportGlossaryTermsAsCsvdefaultResponse - >; -} - -export interface GlossaryListTermsByGlossaryName { - /** Get terms by glossary name. */ - get( - options?: GlossaryListTermsByGlossaryNameParameters, - ): Promise< - GlossaryListTermsByGlossaryName200Response | GlossaryListTermsByGlossaryNamedefaultResponse - >; -} - -export interface DiscoveryQuery { - /** Gets data using search. */ - post( - options: DiscoveryQueryParameters, - ): Promise; -} - -export interface DiscoverySuggest { - /** Get search suggestions by query criteria. */ - post( - options: DiscoverySuggestParameters, - ): Promise; -} - -export interface DiscoveryBrowse { - /** Browse entities by path or entity type. */ - post( - options: DiscoveryBrowseParameters, - ): Promise; -} - -export interface DiscoveryAutoComplete { - /** Get auto complete options. */ - post( - options: DiscoveryAutoCompleteParameters, - ): Promise; -} - -export interface LineageGetLineageGraph { - /** Get lineage info of the entity specified by GUID. */ - get( - options: LineageGetLineageGraphParameters, - ): Promise; -} - -export interface LineageNextPageLineage { - /** Return immediate next page lineage info about entity with pagination */ - get( - options: LineageNextPageLineageParameters, - ): Promise; -} - -export interface LineageGetLineageByUniqueAttribute { - /** - * Returns lineage info about entity. - * - * In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format - * - * attr:[attrName]=[attrValue] - * - * NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName - */ - get( - options: LineageGetLineageByUniqueAttributeParameters, - ): Promise< - | LineageGetLineageByUniqueAttribute200Response - | LineageGetLineageByUniqueAttribute400Response - | LineageGetLineageByUniqueAttribute404Response - >; -} - -export interface RelationshipCreate { - /** Create a new relationship between entities. */ - post( - options: RelationshipCreateParameters, - ): Promise; - /** Update an existing relationship between entities. */ - put( - options: RelationshipUpdateParameters, - ): Promise; -} - -export interface RelationshipGet { - /** Get relationship information between entities by its GUID. */ - get( - options?: RelationshipGetParameters, - ): Promise; - /** Delete a relationship between entities by its GUID. */ - delete( - options?: RelationshipDeleteParameters, - ): Promise; -} - -export interface TypesGetBusinessMetadataDefByGuid { - /** Get the businessMetadata definition for the given guid */ - get( - options?: TypesGetBusinessMetadataDefByGuidParameters, - ): Promise< - TypesGetBusinessMetadataDefByGuid200Response | TypesGetBusinessMetadataDefByGuid404Response - >; -} - -export interface TypesGetBusinessMetadataDefByName { - /** Get the businessMetadata definition by it's name (unique) */ - get( - options?: TypesGetBusinessMetadataDefByNameParameters, - ): Promise< - TypesGetBusinessMetadataDefByName200Response | TypesGetBusinessMetadataDefByName404Response - >; -} - -export interface TypesGetClassificationDefByGuid { - /** Get the classification definition for the given GUID. */ - get( - options?: TypesGetClassificationDefByGuidParameters, - ): Promise< - TypesGetClassificationDefByGuid200Response | TypesGetClassificationDefByGuiddefaultResponse - >; -} - -export interface TypesGetClassificationDefByName { - /** Get the classification definition by its name (unique). */ - get( - options?: TypesGetClassificationDefByNameParameters, - ): Promise< - TypesGetClassificationDefByName200Response | TypesGetClassificationDefByNamedefaultResponse - >; -} - -export interface TypesGetEntityDefinitionByGuid { - /** Get the Entity definition for the given GUID. */ - get( - options?: TypesGetEntityDefinitionByGuidParameters, - ): Promise< - TypesGetEntityDefinitionByGuid200Response | TypesGetEntityDefinitionByGuiddefaultResponse - >; -} - -export interface TypesGetEntityDefinitionByName { - /** Get the entity definition by its name (unique). */ - get( - options?: TypesGetEntityDefinitionByNameParameters, - ): Promise< - TypesGetEntityDefinitionByName200Response | TypesGetEntityDefinitionByNamedefaultResponse - >; -} - -export interface TypesGetEnumDefByGuid { - /** Get the enum definition for the given GUID. */ - get( - options?: TypesGetEnumDefByGuidParameters, - ): Promise; -} - -export interface TypesGetEnumDefByName { - /** Get the enum definition by its name (unique). */ - get( - options?: TypesGetEnumDefByNameParameters, - ): Promise; -} - -export interface TypesGetRelationshipDefByGuid { - /** Get the relationship definition for the given GUID. */ - get( - options?: TypesGetRelationshipDefByGuidParameters, - ): Promise< - TypesGetRelationshipDefByGuid200Response | TypesGetRelationshipDefByGuiddefaultResponse - >; -} - -export interface TypesGetRelationshipDefByName { - /** Get the relationship definition by its name (unique). */ - get( - options?: TypesGetRelationshipDefByNameParameters, - ): Promise< - TypesGetRelationshipDefByName200Response | TypesGetRelationshipDefByNamedefaultResponse - >; -} - -export interface TypesGetStructDefByGuid { - /** Get the struct definition for the given GUID. */ - get( - options?: TypesGetStructDefByGuidParameters, - ): Promise; -} - -export interface TypesGetStructDefByName { - /** Get the struct definition by its name (unique). */ - get( - options?: TypesGetStructDefByNameParameters, - ): Promise; -} - -export interface TypesGetTypeDefinitionByGuid { - /** Get the type definition for the given GUID. */ - get( - options?: TypesGetTypeDefinitionByGuidParameters, - ): Promise; -} - -export interface TypesGetTypeDefinitionByName { - /** Get the type definition by its name (unique). */ - get( - options?: TypesGetTypeDefinitionByNameParameters, - ): Promise; - /** Delete API for type identified by its name. */ - delete( - options?: TypesDeleteTypeByNameParameters, - ): Promise; -} - -export interface TypesGetAllTypeDefinitions { - /** Get all type definitions in Atlas in bulk. */ - get( - options?: TypesGetAllTypeDefinitionsParameters, - ): Promise; - /** - * Create all atlas type definitions in bulk, only new definitions will be created. - * Any changes to the existing definitions will be discarded. - */ - post( - options: TypesCreateTypeDefinitionsParameters, - ): Promise; - /** Update all types in bulk, changes detected in the type definitions would be persisted. */ - put( - options: TypesUpdateAtlasTypeDefinitionsParameters, - ): Promise< - TypesUpdateAtlasTypeDefinitions200Response | TypesUpdateAtlasTypeDefinitionsdefaultResponse - >; - /** Delete API for all types in bulk. */ - delete( - options: TypesDeleteTypeDefinitionsParameters, - ): Promise; -} - -export interface TypesListTypeDefinitionHeaders { - /** List all type definitions returned as a list of minimal information header. */ - get( - options?: TypesListTypeDefinitionHeadersParameters, - ): Promise< - TypesListTypeDefinitionHeaders200Response | TypesListTypeDefinitionHeadersdefaultResponse - >; -} - -export interface TypesGetTermTemplateDefByGuid { - /** Get the term template definition for the given GUID. */ - get( - options?: TypesGetTermTemplateDefByGuidParameters, - ): Promise< - TypesGetTermTemplateDefByGuid200Response | TypesGetTermTemplateDefByGuiddefaultResponse - >; -} - -export interface TypesGetTermTemplateDefByName { - /** Get the term template definition by its name (unique). */ - get( - options?: TypesGetTermTemplateDefByNameParameters, - ): Promise< - TypesGetTermTemplateDefByName200Response | TypesGetTermTemplateDefByNamedefaultResponse - >; -} - -export interface CollectionCreateOrUpdate { - /** - * Creates or updates an entity to a collection. - * Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. - * Map and array of collections are not well supported. E.g., array>, array>. - */ - post( - options: CollectionCreateOrUpdateParameters, - ): Promise; -} - -export interface CollectionCreateOrUpdateBulk { - /** - * Creates or updates entities in bulk to a collection. - * Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. - * Map and array of collections are not well supported. E.g., array>, array>. - */ - post( - options: CollectionCreateOrUpdateBulkParameters, - ): Promise; -} - -export interface CollectionMoveEntitiesToCollection { - /** Move existing entities to the target collection. */ - post( - options: CollectionMoveEntitiesToCollectionParameters, - ): Promise< - | CollectionMoveEntitiesToCollection200Response - | CollectionMoveEntitiesToCollectiondefaultResponse - >; -} - -export interface Routes { - /** Resource for '/atlas/v2/entity' has methods for the following verbs: post */ - (path: "/atlas/v2/entity"): EntityCreateOrUpdate; - /** Resource for '/atlas/v2/entity/bulk' has methods for the following verbs: get, post, delete */ - (path: "/atlas/v2/entity/bulk"): EntityListByGuids; - /** Resource for '/atlas/v2/entity/bulk/classification' has methods for the following verbs: post */ - (path: "/atlas/v2/entity/bulk/classification"): EntityAddClassification; - /** Resource for '/atlas/v2/entity/guid/\{guid\}' has methods for the following verbs: get, put, delete */ - (path: "/atlas/v2/entity/guid/{guid}", guid: string): EntityGetByGuid; - /** Resource for '/atlas/v2/entity/guid/\{guid\}/classification/\{classificationName\}' has methods for the following verbs: get, delete */ - ( - path: "/atlas/v2/entity/guid/{guid}/classification/{classificationName}", - guid: string, - classificationName: string, - ): EntityGetClassification; - /** Resource for '/atlas/v2/entity/guid/\{guid\}/classifications' has methods for the following verbs: get, post, put */ - (path: "/atlas/v2/entity/guid/{guid}/classifications", guid: string): EntityGetClassifications; - /** Resource for '/atlas/v2/entity/uniqueAttribute/type/\{typeName\}' has methods for the following verbs: get, put, delete */ - ( - path: "/atlas/v2/entity/uniqueAttribute/type/{typeName}", - typeName: string, - ): EntityGetByUniqueAttributes; - /** Resource for '/atlas/v2/entity/uniqueAttribute/type/\{typeName\}/classification/\{classificationName\}' has methods for the following verbs: delete */ - ( - path: "/atlas/v2/entity/uniqueAttribute/type/{typeName}/classification/{classificationName}", - typeName: string, - classificationName: string, - ): EntityDeleteClassificationByUniqueAttribute; - /** Resource for '/atlas/v2/entity/uniqueAttribute/type/\{typeName\}/classifications' has methods for the following verbs: post, put */ - ( - path: "/atlas/v2/entity/uniqueAttribute/type/{typeName}/classifications", - typeName: string, - ): EntityAddClassificationsByUniqueAttribute; - /** Resource for '/atlas/v2/entity/bulk/setClassifications' has methods for the following verbs: post */ - (path: "/atlas/v2/entity/bulk/setClassifications"): EntitySetClassifications; - /** Resource for '/atlas/v2/entity/bulk/uniqueAttribute/type/\{typeName\}' has methods for the following verbs: get */ - ( - path: "/atlas/v2/entity/bulk/uniqueAttribute/type/{typeName}", - typeName: string, - ): EntityGetEntitiesByUniqueAttributes; - /** Resource for '/atlas/v2/entity/guid/\{guid\}/header' has methods for the following verbs: get */ - (path: "/atlas/v2/entity/guid/{guid}/header", guid: string): EntityGetHeader; - /** Resource for '/atlas/v2/entity/guid/\{guid\}/businessmetadata' has methods for the following verbs: delete, post */ - ( - path: "/atlas/v2/entity/guid/{guid}/businessmetadata", - guid: string, - ): EntityDeleteBusinessMetadata; - /** Resource for '/atlas/v2/entity/guid/\{guid\}/businessmetadata/\{bmName\}' has methods for the following verbs: delete, post */ - ( - path: "/atlas/v2/entity/guid/{guid}/businessmetadata/{bmName}", - guid: string, - bmName: string, - ): EntityDeleteBusinessMetadataAttributes; - /** Resource for '/atlas/v2/entity/businessmetadata/import/template' has methods for the following verbs: get */ - ( - path: "/atlas/v2/entity/businessmetadata/import/template", - ): EntityGetSampleBusinessMetadataTemplate; - /** Resource for '/atlas/v2/entity/businessmetadata/import' has methods for the following verbs: post */ - (path: "/atlas/v2/entity/businessmetadata/import"): EntityImportBusinessMetadata; - /** Resource for '/atlas/v2/entity/guid/\{guid\}/labels' has methods for the following verbs: delete, post, put */ - (path: "/atlas/v2/entity/guid/{guid}/labels", guid: string): EntityDeleteLabels; - /** Resource for '/atlas/v2/entity/uniqueAttribute/type/\{typeName\}/labels' has methods for the following verbs: delete, post, put */ - ( - path: "/atlas/v2/entity/uniqueAttribute/type/{typeName}/labels", - typeName: string, - ): EntityDeleteLabelsByUniqueAttribute; - /** Resource for '/atlas/v2/glossary' has methods for the following verbs: get, post */ - (path: "/atlas/v2/glossary"): GlossaryListGlossaries; - /** Resource for '/atlas/v2/glossary/categories' has methods for the following verbs: post */ - (path: "/atlas/v2/glossary/categories"): GlossaryCreateGlossaryCategories; - /** Resource for '/atlas/v2/glossary/category' has methods for the following verbs: post */ - (path: "/atlas/v2/glossary/category"): GlossaryCreateGlossaryCategory; - /** Resource for '/atlas/v2/glossary/category/\{categoryGuid\}' has methods for the following verbs: get, put, delete */ - ( - path: "/atlas/v2/glossary/category/{categoryGuid}", - categoryGuid: string, - ): GlossaryGetGlossaryCategory; - /** Resource for '/atlas/v2/glossary/category/\{categoryGuid\}/partial' has methods for the following verbs: put */ - ( - path: "/atlas/v2/glossary/category/{categoryGuid}/partial", - categoryGuid: string, - ): GlossaryPartialUpdateGlossaryCategory; - /** Resource for '/atlas/v2/glossary/category/\{categoryGuid\}/related' has methods for the following verbs: get */ - ( - path: "/atlas/v2/glossary/category/{categoryGuid}/related", - categoryGuid: string, - ): GlossaryListRelatedCategories; - /** Resource for '/atlas/v2/glossary/category/\{categoryGuid\}/terms' has methods for the following verbs: get */ - ( - path: "/atlas/v2/glossary/category/{categoryGuid}/terms", - categoryGuid: string, - ): GlossaryListCategoryTerms; - /** Resource for '/atlas/v2/glossary/term' has methods for the following verbs: post */ - (path: "/atlas/v2/glossary/term"): GlossaryCreateGlossaryTerm; - /** Resource for '/atlas/v2/glossary/term/\{termGuid\}' has methods for the following verbs: get, put, delete */ - (path: "/atlas/v2/glossary/term/{termGuid}", termGuid: string): GlossaryGetGlossaryTerm; - /** Resource for '/atlas/v2/glossary/term/\{termGuid\}/partial' has methods for the following verbs: put */ - ( - path: "/atlas/v2/glossary/term/{termGuid}/partial", - termGuid: string, - ): GlossaryPartialUpdateGlossaryTerm; - /** Resource for '/atlas/v2/glossary/terms' has methods for the following verbs: post */ - (path: "/atlas/v2/glossary/terms"): GlossaryCreateGlossaryTerms; - /** Resource for '/atlas/v2/glossary/terms/\{termGuid\}/assignedEntities' has methods for the following verbs: get, post, put, delete */ - ( - path: "/atlas/v2/glossary/terms/{termGuid}/assignedEntities", - termGuid: string, - ): GlossaryGetEntitiesAssignedWithTerm; - /** Resource for '/atlas/v2/glossary/terms/\{termGuid\}/related' has methods for the following verbs: get */ - (path: "/atlas/v2/glossary/terms/{termGuid}/related", termGuid: string): GlossaryListRelatedTerms; - /** Resource for '/atlas/v2/glossary/\{glossaryGuid\}' has methods for the following verbs: get, put, delete */ - (path: "/atlas/v2/glossary/{glossaryGuid}", glossaryGuid: string): GlossaryGetGlossary; - /** Resource for '/atlas/v2/glossary/\{glossaryGuid\}/categories' has methods for the following verbs: get */ - ( - path: "/atlas/v2/glossary/{glossaryGuid}/categories", - glossaryGuid: string, - ): GlossaryListGlossaryCategories; - /** Resource for '/atlas/v2/glossary/\{glossaryGuid\}/categories/headers' has methods for the following verbs: get */ - ( - path: "/atlas/v2/glossary/{glossaryGuid}/categories/headers", - glossaryGuid: string, - ): GlossaryListGlossaryCategoriesHeaders; - /** Resource for '/atlas/v2/glossary/\{glossaryGuid\}/detailed' has methods for the following verbs: get */ - ( - path: "/atlas/v2/glossary/{glossaryGuid}/detailed", - glossaryGuid: string, - ): GlossaryGetDetailedGlossary; - /** Resource for '/atlas/v2/glossary/\{glossaryGuid\}/partial' has methods for the following verbs: put */ - ( - path: "/atlas/v2/glossary/{glossaryGuid}/partial", - glossaryGuid: string, - ): GlossaryPartialUpdateGlossary; - /** Resource for '/atlas/v2/glossary/\{glossaryGuid\}/terms' has methods for the following verbs: get */ - ( - path: "/atlas/v2/glossary/{glossaryGuid}/terms", - glossaryGuid: string, - ): GlossaryListGlossaryTerms; - /** Resource for '/atlas/v2/glossary/\{glossaryGuid\}/terms/headers' has methods for the following verbs: get */ - ( - path: "/atlas/v2/glossary/{glossaryGuid}/terms/headers", - glossaryGuid: string, - ): GlossaryListGlossaryTermHeaders; - /** Resource for '/glossary/\{glossaryGuid\}/terms/import' has methods for the following verbs: post */ - ( - path: "/glossary/{glossaryGuid}/terms/import", - glossaryGuid: string, - ): GlossaryImportGlossaryTermsViaCsv; - /** Resource for '/glossary/name/\{glossaryName\}/terms/import' has methods for the following verbs: post */ - ( - path: "/glossary/name/{glossaryName}/terms/import", - glossaryName: string, - ): GlossaryImportGlossaryTermsViaCsvByGlossaryName; - /** Resource for '/glossary/terms/import/\{operationGuid\}' has methods for the following verbs: get */ - ( - path: "/glossary/terms/import/{operationGuid}", - operationGuid: string, - ): GlossaryGetImportCsvOperationStatus; - /** Resource for '/glossary/\{glossaryGuid\}/terms/export' has methods for the following verbs: post */ - ( - path: "/glossary/{glossaryGuid}/terms/export", - glossaryGuid: string, - ): GlossaryExportGlossaryTermsAsCsv; - /** Resource for '/glossary/name/\{glossaryName\}/terms' has methods for the following verbs: get */ - ( - path: "/glossary/name/{glossaryName}/terms", - glossaryName: string, - ): GlossaryListTermsByGlossaryName; - /** Resource for '/search/query' has methods for the following verbs: post */ - (path: "/search/query"): DiscoveryQuery; - /** Resource for '/search/suggest' has methods for the following verbs: post */ - (path: "/search/suggest"): DiscoverySuggest; - /** Resource for '/browse' has methods for the following verbs: post */ - (path: "/browse"): DiscoveryBrowse; - /** Resource for '/search/autocomplete' has methods for the following verbs: post */ - (path: "/search/autocomplete"): DiscoveryAutoComplete; - /** Resource for '/atlas/v2/lineage/\{guid\}' has methods for the following verbs: get */ - (path: "/atlas/v2/lineage/{guid}", guid: string): LineageGetLineageGraph; - /** Resource for '/lineage/\{guid\}/next/' has methods for the following verbs: get */ - (path: "/lineage/{guid}/next/", guid: string): LineageNextPageLineage; - /** Resource for '/atlas/v2/lineage/uniqueAttribute/type/\{typeName\}' has methods for the following verbs: get */ - ( - path: "/atlas/v2/lineage/uniqueAttribute/type/{typeName}", - typeName: string, - ): LineageGetLineageByUniqueAttribute; - /** Resource for '/atlas/v2/relationship' has methods for the following verbs: post, put */ - (path: "/atlas/v2/relationship"): RelationshipCreate; - /** Resource for '/atlas/v2/relationship/guid/\{guid\}' has methods for the following verbs: get, delete */ - (path: "/atlas/v2/relationship/guid/{guid}", guid: string): RelationshipGet; - /** Resource for '/atlas/v2/types/businessmetadatadef/guid/\{guid\}' has methods for the following verbs: get */ - ( - path: "/atlas/v2/types/businessmetadatadef/guid/{guid}", - guid: string, - ): TypesGetBusinessMetadataDefByGuid; - /** Resource for '/atlas/v2/types/businessmetadatadef/name/\{name\}' has methods for the following verbs: get */ - ( - path: "/atlas/v2/types/businessmetadatadef/name/{name}", - name: string, - ): TypesGetBusinessMetadataDefByName; - /** Resource for '/atlas/v2/types/classificationdef/guid/\{guid\}' has methods for the following verbs: get */ - ( - path: "/atlas/v2/types/classificationdef/guid/{guid}", - guid: string, - ): TypesGetClassificationDefByGuid; - /** Resource for '/atlas/v2/types/classificationdef/name/\{name\}' has methods for the following verbs: get */ - ( - path: "/atlas/v2/types/classificationdef/name/{name}", - name: string, - ): TypesGetClassificationDefByName; - /** Resource for '/atlas/v2/types/entitydef/guid/\{guid\}' has methods for the following verbs: get */ - (path: "/atlas/v2/types/entitydef/guid/{guid}", guid: string): TypesGetEntityDefinitionByGuid; - /** Resource for '/atlas/v2/types/entitydef/name/\{name\}' has methods for the following verbs: get */ - (path: "/atlas/v2/types/entitydef/name/{name}", name: string): TypesGetEntityDefinitionByName; - /** Resource for '/atlas/v2/types/enumdef/guid/\{guid\}' has methods for the following verbs: get */ - (path: "/atlas/v2/types/enumdef/guid/{guid}", guid: string): TypesGetEnumDefByGuid; - /** Resource for '/atlas/v2/types/enumdef/name/\{name\}' has methods for the following verbs: get */ - (path: "/atlas/v2/types/enumdef/name/{name}", name: string): TypesGetEnumDefByName; - /** Resource for '/atlas/v2/types/relationshipdef/guid/\{guid\}' has methods for the following verbs: get */ - ( - path: "/atlas/v2/types/relationshipdef/guid/{guid}", - guid: string, - ): TypesGetRelationshipDefByGuid; - /** Resource for '/atlas/v2/types/relationshipdef/name/\{name\}' has methods for the following verbs: get */ - ( - path: "/atlas/v2/types/relationshipdef/name/{name}", - name: string, - ): TypesGetRelationshipDefByName; - /** Resource for '/atlas/v2/types/structdef/guid/\{guid\}' has methods for the following verbs: get */ - (path: "/atlas/v2/types/structdef/guid/{guid}", guid: string): TypesGetStructDefByGuid; - /** Resource for '/atlas/v2/types/structdef/name/\{name\}' has methods for the following verbs: get */ - (path: "/atlas/v2/types/structdef/name/{name}", name: string): TypesGetStructDefByName; - /** Resource for '/atlas/v2/types/typedef/guid/\{guid\}' has methods for the following verbs: get */ - (path: "/atlas/v2/types/typedef/guid/{guid}", guid: string): TypesGetTypeDefinitionByGuid; - /** Resource for '/atlas/v2/types/typedef/name/\{name\}' has methods for the following verbs: get, delete */ - (path: "/atlas/v2/types/typedef/name/{name}", name: string): TypesGetTypeDefinitionByName; - /** Resource for '/atlas/v2/types/typedefs' has methods for the following verbs: get, post, put, delete */ - (path: "/atlas/v2/types/typedefs"): TypesGetAllTypeDefinitions; - /** Resource for '/atlas/v2/types/typedefs/headers' has methods for the following verbs: get */ - (path: "/atlas/v2/types/typedefs/headers"): TypesListTypeDefinitionHeaders; - /** Resource for '/types/termtemplatedef/guid/\{guid\}' has methods for the following verbs: get */ - (path: "/types/termtemplatedef/guid/{guid}", guid: string): TypesGetTermTemplateDefByGuid; - /** Resource for '/types/termtemplatedef/name/\{name\}' has methods for the following verbs: get */ - (path: "/types/termtemplatedef/name/{name}", name: string): TypesGetTermTemplateDefByName; - /** Resource for '/collections/\{collection\}/entity' has methods for the following verbs: post */ - (path: "/collections/{collection}/entity", collection: string): CollectionCreateOrUpdate; - /** Resource for '/collections/\{collection\}/entity/bulk' has methods for the following verbs: post */ - (path: "/collections/{collection}/entity/bulk", collection: string): CollectionCreateOrUpdateBulk; - /** Resource for '/collections/\{collection\}/entity/moveHere' has methods for the following verbs: post */ - ( - path: "/collections/{collection}/entity/moveHere", - collection: string, - ): CollectionMoveEntitiesToCollection; -} - -export type PurviewCatalogClient = Client & { - path: Routes; -}; diff --git a/sdk/purview/purview-catalog-rest/src/index.ts b/sdk/purview/purview-catalog-rest/src/index.ts deleted file mode 100644 index d041e0bf39e8..000000000000 --- a/sdk/purview/purview-catalog-rest/src/index.ts +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import PurviewCatalog from "./purviewCatalog.js"; - -export * from "./purviewCatalog.js"; -export * from "./parameters.js"; -export * from "./responses.js"; -export * from "./clientDefinitions.js"; -export * from "./models.js"; -export * from "./outputModels.js"; -export * from "./pollingHelper.js"; - -export default PurviewCatalog; diff --git a/sdk/purview/purview-catalog-rest/src/models.ts b/sdk/purview/purview-catalog-rest/src/models.ts deleted file mode 100644 index e34bcbe2bf2f..000000000000 --- a/sdk/purview/purview-catalog-rest/src/models.ts +++ /dev/null @@ -1,771 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -export interface AtlasEntityWithExtInfo extends AtlasEntityExtInfo { - /** An instance of an entity - like hive_table, hive_database. */ - entity?: AtlasEntity; -} - -export interface AtlasEntity extends AtlasStruct { - /** Business Attributes */ - businessAttributes?: Record>; - /** An array of classifications. */ - classifications?: Array; - /** The created time of the record. */ - createTime?: number; - /** The user who created the record. */ - createdBy?: string; - /** Custom Attribute */ - customAttributes?: Record; - /** The GUID of the entity. */ - guid?: string; - /** The home ID of the entity. */ - homeId?: string; - /** Whether it is a shell entity */ - isIncomplete?: boolean; - /** labels */ - labels?: Array; - /** An array of term assignment headers indicating the meanings of the entity. */ - meanings?: Array; - /** Used to record the provenance of an instance of an entity or relationship. */ - provenanceType?: number; - /** Determines if there's a proxy. */ - proxy?: boolean; - /** The attributes of relationship. */ - relationshipAttributes?: Record>; - /** Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. */ - status?: "ACTIVE" | "DELETED"; - /** The update time of the record. */ - updateTime?: number; - /** The user who updated the record. */ - updatedBy?: string; - /** The version of the entity. */ - version?: number; - /** indicate the source who create the classification detail */ - source?: string; - /** more detail on source information */ - sourceDetails?: Record>; - /** The dictionary of contacts for terms. Key could be Expert or Owner. */ - contacts?: Record>; -} - -export interface AtlasClassification extends AtlasStruct { - /** The GUID of the entity. */ - entityGuid?: string; - /** Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. */ - entityStatus?: "ACTIVE" | "DELETED"; - /** Determines if propagations will be removed on entity deletion. */ - removePropagationsOnEntityDelete?: boolean; - /** An array of time boundaries indicating validity periods. */ - validityPeriods?: Array; - /** indicate the source who create the classification detail */ - source?: string; - /** more detail on source information */ - sourceDetails?: Record>; -} - -export interface TimeBoundary { - /** The end of the time boundary. */ - endTime?: string; - /** The start of the time boundary. */ - startTime?: string; - /** The timezone of the time boundary. */ - timeZone?: string; -} - -export interface AtlasStruct { - /** The attributes of the struct. */ - attributes?: Record>; - /** The name of the type. */ - typeName?: string; - /** ETag for concurrency control. */ - lastModifiedTS?: string; -} - -export interface AtlasTermAssignmentHeader { - /** The confidence of the term assignment. */ - confidence?: number; - /** The user who created the record. */ - createdBy?: string; - /** The description of the term assignment. */ - description?: string; - /** The display text. */ - displayText?: string; - /** The expression of the term assignment. */ - expression?: string; - /** The GUID of the relationship. */ - relationGuid?: string; - /** The source of the term. */ - source?: string; - /** The status of terms assignment. */ - status?: - | "DISCOVERED" - | "PROPOSED" - | "IMPORTED" - | "VALIDATED" - | "DEPRECATED" - | "OBSOLETE" - | "OTHER"; - /** The steward of the term. */ - steward?: string; - /** The GUID of the term. */ - termGuid?: string; -} - -export interface ContactBasic { - /** Azure Active Directory object Id. */ - id?: string; - /** additional information to describe this contact. */ - info?: string; -} - -export interface AtlasEntityExtInfo { - /** The referred entities. */ - referredEntities?: Record; -} - -export interface AtlasEntityHeader extends AtlasStruct { - /** An array of classification names. */ - classificationNames?: Array; - /** An array of classifications. */ - classifications?: Array; - /** The display text. */ - displayText?: string; - /** The GUID of the record. */ - guid?: string; - /** Whether it is a shell entity */ - isIncomplete?: boolean; - /** labels */ - labels?: Array; - /** An array of meanings. */ - meaningNames?: Array; - /** An array of term assignment headers. */ - meanings?: Array; - /** Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. */ - status?: "ACTIVE" | "DELETED"; -} - -export interface AtlasEntitiesWithExtInfo extends AtlasEntityExtInfo { - /** An array of entities. */ - entities?: Array; -} - -export interface ClassificationAssociateRequest { - /** An instance of a classification; it doesn't have an identity, this object exists only when associated with an entity. */ - classification?: AtlasClassification; - /** The GUID of the entity. */ - entityGuids?: Array; -} - -export interface AtlasEntityHeaders { - /** The description of the guid header map, */ - guidHeaderMap?: Record; -} - -export interface AtlasGlossary extends AtlasGlossaryBaseObject { - /** An array of categories. */ - categories?: Array; - /** The language of the glossary. */ - language?: string; - /** An array of related term headers. */ - terms?: Array; - /** The usage of the glossary. */ - usage?: string; -} - -export interface AtlasRelatedCategoryHeader { - /** The GUID of the category. */ - categoryGuid?: string; - /** The description of the category header. */ - description?: string; - /** The display text. */ - displayText?: string; - /** The GUID of the parent category. */ - parentCategoryGuid?: string; - /** The GUID of the relationship. */ - relationGuid?: string; -} - -export interface AtlasRelatedTermHeader { - /** The description of the related term. */ - description?: string; - /** The display text. */ - displayText?: string; - /** The expression of the term. */ - expression?: string; - /** The GUID of the relationship. */ - relationGuid?: string; - /** The source of the term. */ - source?: string; - /** The status of term relationship. */ - status?: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER"; - /** The steward of the term. */ - steward?: string; - /** The GUID of the term. */ - termGuid?: string; -} - -export interface AtlasGlossaryBaseObject extends AtlasBaseModelObject { - /** An array of classifications. */ - classifications?: Array; - /** The long version description. */ - longDescription?: string; - /** The name of the glossary object. */ - name?: string; - /** The qualified name of the glossary object. */ - qualifiedName?: string; - /** The short version of description. */ - shortDescription?: string; - /** ETag for concurrency control. */ - lastModifiedTS?: string; -} - -export interface AtlasBaseModelObject { - /** The GUID of the object. */ - guid?: string; -} - -export interface AtlasGlossaryCategory extends AtlasGlossaryBaseObject { - /** The glossary header with basic information. */ - anchor?: AtlasGlossaryHeader; - /** An array of children categories. */ - childrenCategories?: Array; - /** The header of the related category. */ - parentCategory?: AtlasRelatedCategoryHeader; - /** An array of related term headers. */ - terms?: Array; -} - -export interface AtlasGlossaryHeader { - /** The display text. */ - displayText?: string; - /** The GUID of the glossary. */ - glossaryGuid?: string; - /** The GUID of the relationship. */ - relationGuid?: string; -} - -export interface AtlasGlossaryTerm extends AtlasGlossaryBaseObject { - /** The abbreviation of the term. */ - abbreviation?: string; - templateName?: Array>; - /** The glossary header with basic information. */ - anchor?: AtlasGlossaryHeader; - /** An array of related term headers as antonyms. */ - antonyms?: Array; - /** The created time of the record. */ - createTime?: number; - /** The user who created the record. */ - createdBy?: string; - /** The update time of the record. */ - updateTime?: number; - /** The user who updated the record. */ - updatedBy?: string; - /** Status of the AtlasGlossaryTerm */ - status?: "Draft" | "Approved" | "Alert" | "Expired"; - /** An array of resource link for term */ - resources?: Array; - /** The dictionary of contacts for terms. Key could be Expert or Steward. */ - contacts?: Record>; - /** - * The custom attributes of the term, which is map>. - * The key of the first layer map is term template name. - */ - attributes?: Record>>; - /** An array of related object IDs. */ - assignedEntities?: Array; - /** An array of term categorization headers. */ - categories?: Array; - /** An array of related term headers. */ - classifies?: Array; - /** An array of examples. */ - examples?: Array; - /** An array of related term headers indicating the is-a relationship. */ - isA?: Array; - /** An array of preferred related term headers. */ - preferredTerms?: Array; - /** An array of related term headers that are preferred to. */ - preferredToTerms?: Array; - /** An array of related term headers that are replaced by. */ - replacedBy?: Array; - /** An array of related term headers for replacement. */ - replacementTerms?: Array; - /** An array of related term headers for see also. */ - seeAlso?: Array; - /** An array of related term headers as synonyms. */ - synonyms?: Array; - /** An array of translated related term headers. */ - translatedTerms?: Array; - /** An array of related term headers for translation. */ - translationTerms?: Array; - /** The usage of the term. */ - usage?: string; - /** An array of related term headers as valid values. */ - validValues?: Array; - /** An array of related term headers as valid values for other records. */ - validValuesFor?: Array; -} - -export interface ResourceLink { - /** Display name for url. */ - displayName?: string; - /** web url. http or https */ - url?: string; -} - -export interface AtlasRelatedObjectId extends AtlasObjectId { - /** The display text. */ - displayText?: string; - /** Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. */ - entityStatus?: "ACTIVE" | "DELETED"; - relationshipType?: string; - /** Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. */ - relationshipAttributes?: AtlasStruct; - /** The GUID of the relationship. */ - relationshipGuid?: string; - /** The enum of relationship status. */ - relationshipStatus?: "ACTIVE" | "DELETED"; -} - -export interface AtlasObjectId { - /** The GUID of the object. */ - guid?: string; - /** The name of the type. */ - typeName?: string; - /** The unique attributes of the object. */ - uniqueAttributes?: Record>; -} - -export interface AtlasTermCategorizationHeader { - /** The GUID of the category. */ - categoryGuid?: string; - /** The description of the record. */ - description?: string; - /** The display text. */ - displayText?: string; - /** The GUID of the relationship. */ - relationGuid?: string; - /** The status of term relationship. */ - status?: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER"; -} - -export interface AtlasGlossaryExtInfo extends AtlasGlossary { - /** The glossary category information. */ - categoryInfo?: Record; - /** The glossary term information. */ - termInfo?: Record; -} - -export interface SearchRequest { - /** The keywords applied to all searchable fields. */ - keywords?: string; - /** The offset. The default value is 0. The maximum value is 100000. */ - offset?: number; - /** The limit of the number of the search result. default value is 50; maximum value is 1000. */ - limit?: number; - /** The filter for the search. See examples for the usage of supported filters. */ - filter?: Record; - facets?: Array; - taxonomySetting?: SearchRequestTaxonomySetting; -} - -export interface SearchFacetItem { - /** The count of the facet item. */ - count?: number; - /** The name of the facet item. */ - facet?: string; - /** Any object */ - sort?: Record; -} - -export interface SearchRequestTaxonomySetting { - assetTypes?: Array; - /** The content of a search facet result item. */ - facet?: SearchFacetItem; -} - -export interface SuggestRequest { - /** The keywords applied to all fields that support suggest operation. It must be at least 1 character, and no more than 100 characters. In the index schema we defined a default suggester which lists all the supported fields and specifies a search mode. */ - keywords?: string; - /** The number of suggestions we hope to return. The default value is 5. The value must be a number between 1 and 100. */ - limit?: number; - /** The filter for the search. */ - filter?: Record; -} - -export interface BrowseRequest { - /** The entity type to browse as the root level entry point. */ - entityType?: string; - /** The path to browse the next level child entities. */ - path?: string; - /** The number of browse items we hope to return. The maximum value is 10000. */ - limit?: number; - /** The offset. The default value is 0. The maximum value is 100000. */ - offset?: number; -} - -export interface AutoCompleteRequest { - /** The keywords applied to all fields that support autocomplete operation. It must be at least 1 character, and no more than 100 characters. */ - keywords?: string; - /** The number of autocomplete results we hope to return. The default value is 50. The value must be a number between 1 and 100. */ - limit?: number; - /** The filter for the autocomplete request. */ - filter?: Record; -} - -export interface AtlasRelationship extends AtlasStruct { - /** The created time of the record. */ - createTime?: number; - /** The user who created the record. */ - createdBy?: string; - /** Reference to an object-instance of an Atlas type - like entity. */ - end1?: AtlasObjectId; - /** Reference to an object-instance of an Atlas type - like entity. */ - end2?: AtlasObjectId; - /** The GUID of the relationship. */ - guid?: string; - /** The home ID of the relationship. */ - homeId?: string; - /** The label of the relationship. */ - label?: string; - /** Used to record the provenance of an instance of an entity or relationship */ - provenanceType?: number; - /** The enum of relationship status. */ - status?: "ACTIVE" | "DELETED"; - /** The update time of the record. */ - updateTime?: number; - /** The user who updated the record. */ - updatedBy?: string; - /** The version of the relationship. */ - version?: number; -} - -export interface AtlasBusinessMetadataDef extends AtlasStructDef {} - -export interface AtlasStructDef extends AtlasBaseTypeDef { - /** An array of attribute definitions. */ - attributeDefs?: Array; -} - -export interface AtlasAttributeDef { - /** single-valued attribute or multi-valued attribute. */ - cardinality?: "SINGLE" | "LIST" | "SET"; - /** An array of constraints. */ - constraints?: Array; - /** The default value of the attribute. */ - defaultValue?: string; - /** The description of the attribute. */ - description?: string; - /** Determines if it is included in notification. */ - includeInNotification?: boolean; - /** Determines if it is indexable. */ - isIndexable?: boolean; - /** Determines if it is optional. */ - isOptional?: boolean; - /** Determines if it unique. */ - isUnique?: boolean; - /** The name of the attribute. */ - name?: string; - /** The options for the attribute. */ - options?: Record; - /** The name of the type. */ - typeName?: string; - /** The maximum count of the values. */ - valuesMaxCount?: number; - /** The minimum count of the values. */ - valuesMinCount?: number; -} - -export interface AtlasConstraintDef { - /** The parameters of the constraint definition. */ - params?: Record>; - /** The type of the constraint. */ - type?: string; -} - -export interface AtlasBaseTypeDef { - /** The enum of type category. */ - category?: - | "PRIMITIVE" - | "OBJECT_ID_TYPE" - | "ENUM" - | "STRUCT" - | "CLASSIFICATION" - | "ENTITY" - | "ARRAY" - | "MAP" - | "RELATIONSHIP" - | "TERM_TEMPLATE"; - /** The created time of the record. */ - createTime?: number; - /** The user who created the record. */ - createdBy?: string; - /** The date format. */ - dateFormatter?: DateFormat; - /** The description of the type definition. */ - description?: string; - /** The GUID of the type definition. */ - guid?: string; - /** The name of the type definition. */ - name?: string; - /** The options for the type definition. */ - options?: Record; - /** The service type. */ - serviceType?: string; - /** The version of the type. */ - typeVersion?: string; - /** The update time of the record. */ - updateTime?: number; - /** The user who updated the record. */ - updatedBy?: string; - /** The version of the record. */ - version?: number; - /** ETag for concurrency control. */ - lastModifiedTS?: string; -} - -export interface DateFormat { - /** An array of available locales. */ - availableLocales?: Array; - calendar?: number; - /** The date format. */ - dateInstance?: DateFormat; - /** The date format. */ - dateTimeInstance?: DateFormat; - /** The date format. */ - instance?: DateFormat; - /** Determines the leniency of the date format. */ - lenient?: boolean; - /** The number format. */ - numberFormat?: NumberFormat; - /** The date format. */ - timeInstance?: DateFormat; - /** The timezone information. */ - timeZone?: TimeZone; -} - -export interface NumberFormat { - /** The number format. */ - availableLocales?: Array; - /** The currency. */ - currency?: string; - /** The number format. */ - currencyInstance?: NumberFormat; - /** Determines if grouping is used. */ - groupingUsed?: boolean; - /** The number format. */ - instance?: NumberFormat; - /** The number format. */ - integerInstance?: NumberFormat; - /** The maximum of fraction digits. */ - maximumFractionDigits?: number; - /** The maximum of integer digits. */ - maximumIntegerDigits?: number; - /** The minimum of fraction digits. */ - minimumFractionDigits?: number; - /** The minimum of integer digits. */ - minimumIntegerDigits?: number; - /** The number format. */ - numberInstance?: NumberFormat; - /** Determines if only integer is parsed. */ - parseIntegerOnly?: boolean; - /** The number format. */ - percentInstance?: NumberFormat; - /** The enum of rounding mode. */ - roundingMode?: - | "UP" - | "DOWN" - | "CEILING" - | "FLOOR" - | "HALF_UP" - | "HALF_DOWN" - | "HALF_EVEN" - | "UNNECESSARY"; -} - -export interface TimeZone { - /** The value of the daylight saving time. */ - dstSavings?: number; - /** The ID of the timezone. */ - id?: string; - /** An array of available IDs. */ - availableIds?: Array; - /** The timezone information. */ - default?: TimeZone; - /** The display name of the timezone. */ - displayName?: string; - /** The raw offset of the timezone. */ - rawOffset?: number; -} - -export interface AtlasClassificationDef extends AtlasStructDef { - /** - * Specifying a list of entityType names in the classificationDef, ensures that classifications can - * only be applied to those entityTypes. - *
    - *
  • Any subtypes of the entity types inherit the restriction
  • - *
  • Any classificationDef subtypes inherit the parents entityTypes restrictions
  • - *
  • Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes
  • - *
  • An empty entityTypes list when there are no parent restrictions means there are no restrictions
  • - *
  • An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions
  • - *
  • If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs
  • - *
- */ - entityTypes?: Array; - /** An array of sub types. */ - subTypes?: Array; - /** An array of super types. */ - superTypes?: Array; -} - -export interface AtlasEntityDef extends AtlasStructDef { - /** An array of sub types. */ - subTypes?: Array; - /** An array of super types. */ - superTypes?: Array; - /** An array of relationship attributes. */ - relationshipAttributeDefs?: Array; -} - -export interface AtlasRelationshipAttributeDef extends AtlasAttributeDef { - /** Determines if it is a legacy attribute. */ - isLegacyAttribute?: boolean; - /** The name of the relationship type. */ - relationshipTypeName?: string; -} - -export interface AtlasEnumDef extends AtlasBaseTypeDef { - /** The default value. */ - defaultValue?: string; - /** An array of enum element definitions. */ - elementDefs?: Array; -} - -export interface AtlasEnumElementDef { - /** The description of the enum element definition. */ - description?: string; - /** The ordinal of the enum element definition. */ - ordinal?: number; - /** The value of the enum element definition. */ - value?: string; -} - -export interface AtlasRelationshipDef extends AtlasStructDef { - /** - * The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an - * attribute name, cardinality and whether it is the container end of the relationship. - */ - endDef1?: AtlasRelationshipEndDef; - /** - * The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an - * attribute name, cardinality and whether it is the container end of the relationship. - */ - endDef2?: AtlasRelationshipEndDef; - /** - * The Relationship category determines the style of relationship around containment and lifecycle. - * UML terminology is used for the values. - *

- * ASSOCIATION is a relationship with no containment.
- * COMPOSITION and AGGREGATION are containment relationships. - *

- * The difference being in the lifecycles of the container and its children. In the COMPOSITION case, - * the children cannot exist without the container. For AGGREGATION, the life cycles - * of the container and children are totally independent. - */ - relationshipCategory?: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION"; - /** The label of the relationship. */ - relationshipLabel?: string; -} - -export interface AtlasRelationshipEndDef { - /** single-valued attribute or multi-valued attribute. */ - cardinality?: "SINGLE" | "LIST" | "SET"; - /** The description of the relationship end definition. */ - description?: string; - /** Determines if it is container. */ - isContainer?: boolean; - /** Determines if it is a legacy attribute. */ - isLegacyAttribute?: boolean; - /** The name of the relationship end definition. */ - name?: string; - /** The type of the relationship end. */ - type?: string; -} - -export interface AtlasTypeDef extends AtlasBaseTypeDef, AtlasExtraTypeDef {} - -export interface AtlasExtraTypeDef { - /** - * Specifying a list of entityType names in the classificationDef, ensures that classifications can - * only be applied to those entityTypes. - *

    - *
  • Any subtypes of the entity types inherit the restriction
  • - *
  • Any classificationDef subtypes inherit the parents entityTypes restrictions
  • - *
  • Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes
  • - *
  • An empty entityTypes list when there are no parent restrictions means there are no restrictions
  • - *
  • An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions
  • - *
  • If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs
  • - *
- */ - entityTypes?: Array; - /** An array of sub types. */ - subTypes?: Array; - /** An array of super types. */ - superTypes?: Array; - /** An array of relationship attributes. */ - relationshipAttributeDefs?: Array; - /** The default value. */ - defaultValue?: string; - /** An array of enum element definitions. */ - elementDefs?: Array; - /** - * The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an - * attribute name, cardinality and whether it is the container end of the relationship. - */ - endDef1?: AtlasRelationshipEndDef; - /** - * The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an - * attribute name, cardinality and whether it is the container end of the relationship. - */ - endDef2?: AtlasRelationshipEndDef; - /** - * The Relationship category determines the style of relationship around containment and lifecycle. - * UML terminology is used for the values. - *

- * ASSOCIATION is a relationship with no containment.
- * COMPOSITION and AGGREGATION are containment relationships. - *

- * The difference being in the lifecycles of the container and its children. In the COMPOSITION case, - * the children cannot exist without the container. For AGGREGATION, the life cycles - * of the container and children are totally independent. - */ - relationshipCategory?: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION"; - /** The label of the relationship. */ - relationshipLabel?: string; - /** An array of attribute definitions. */ - attributeDefs?: Array; -} - -export interface AtlasTypesDef { - /** businessMetadataDefs */ - businessMetadataDefs?: Array; - /** An array of classification definitions. */ - classificationDefs?: Array; - /** An array of entity definitions. */ - entityDefs?: Array; - /** An array of enum definitions. */ - enumDefs?: Array; - /** An array of relationship definitions. */ - relationshipDefs?: Array; - /** An array of struct definitions. */ - structDefs?: Array; - /** An array of term template definitions. */ - termTemplateDefs?: Array; -} - -export interface TermTemplateDef extends AtlasStructDef {} - -export interface MoveEntitiesRequest { - /** An array of entity guids to be moved to target collection. */ - entityGuids?: Array; -} diff --git a/sdk/purview/purview-catalog-rest/src/outputModels.ts b/sdk/purview/purview-catalog-rest/src/outputModels.ts deleted file mode 100644 index 71c58fa936bd..000000000000 --- a/sdk/purview/purview-catalog-rest/src/outputModels.ts +++ /dev/null @@ -1,1004 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -export interface AtlasEntityWithExtInfoOutput extends AtlasEntityExtInfoOutput { - /** An instance of an entity - like hive_table, hive_database. */ - entity?: AtlasEntityOutput; -} - -export interface AtlasEntityOutput extends AtlasStructOutput { - /** Business Attributes */ - businessAttributes?: Record>; - /** An array of classifications. */ - classifications?: Array; - /** The created time of the record. */ - createTime?: number; - /** The user who created the record. */ - createdBy?: string; - /** Custom Attribute */ - customAttributes?: Record; - /** The GUID of the entity. */ - guid?: string; - /** The home ID of the entity. */ - homeId?: string; - /** Whether it is a shell entity */ - isIncomplete?: boolean; - /** labels */ - labels?: Array; - /** An array of term assignment headers indicating the meanings of the entity. */ - meanings?: Array; - /** Used to record the provenance of an instance of an entity or relationship. */ - provenanceType?: number; - /** Determines if there's a proxy. */ - proxy?: boolean; - /** The attributes of relationship. */ - relationshipAttributes?: Record>; - /** Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. */ - status?: "ACTIVE" | "DELETED"; - /** The update time of the record. */ - updateTime?: number; - /** The user who updated the record. */ - updatedBy?: string; - /** The version of the entity. */ - version?: number; - /** indicate the source who create the classification detail */ - source?: string; - /** more detail on source information */ - sourceDetails?: Record>; - /** The dictionary of contacts for terms. Key could be Expert or Owner. */ - contacts?: Record>; -} - -export interface AtlasClassificationOutput extends AtlasStructOutput { - /** The GUID of the entity. */ - entityGuid?: string; - /** Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. */ - entityStatus?: "ACTIVE" | "DELETED"; - /** Determines if propagations will be removed on entity deletion. */ - removePropagationsOnEntityDelete?: boolean; - /** An array of time boundaries indicating validity periods. */ - validityPeriods?: Array; - /** indicate the source who create the classification detail */ - source?: string; - /** more detail on source information */ - sourceDetails?: Record>; -} - -export interface TimeBoundaryOutput { - /** The end of the time boundary. */ - endTime?: string; - /** The start of the time boundary. */ - startTime?: string; - /** The timezone of the time boundary. */ - timeZone?: string; -} - -export interface AtlasStructOutput { - /** The attributes of the struct. */ - attributes?: Record>; - /** The name of the type. */ - typeName?: string; - /** ETag for concurrency control. */ - lastModifiedTS?: string; -} - -export interface AtlasTermAssignmentHeaderOutput { - /** The confidence of the term assignment. */ - confidence?: number; - /** The user who created the record. */ - createdBy?: string; - /** The description of the term assignment. */ - description?: string; - /** The display text. */ - displayText?: string; - /** The expression of the term assignment. */ - expression?: string; - /** The GUID of the relationship. */ - relationGuid?: string; - /** The source of the term. */ - source?: string; - /** The status of terms assignment. */ - status?: - | "DISCOVERED" - | "PROPOSED" - | "IMPORTED" - | "VALIDATED" - | "DEPRECATED" - | "OBSOLETE" - | "OTHER"; - /** The steward of the term. */ - steward?: string; - /** The GUID of the term. */ - termGuid?: string; -} - -export interface ContactBasicOutput { - /** Azure Active Directory object Id. */ - id?: string; - /** additional information to describe this contact. */ - info?: string; -} - -export interface AtlasEntityExtInfoOutput { - /** The referred entities. */ - referredEntities?: Record; -} - -export interface EntityMutationResponseOutput { - /** A map of GUID assignments with entities. */ - guidAssignments?: Record; - /** The entity headers of mutated entities. */ - mutatedEntities?: Record>; - /** An array of entity headers that partially updated. */ - partialUpdatedEntities?: Array; -} - -export interface AtlasEntityHeaderOutput extends AtlasStructOutput { - /** An array of classification names. */ - classificationNames?: Array; - /** An array of classifications. */ - classifications?: Array; - /** The display text. */ - displayText?: string; - /** The GUID of the record. */ - guid?: string; - /** Whether it is a shell entity */ - isIncomplete?: boolean; - /** labels */ - labels?: Array; - /** An array of meanings. */ - meaningNames?: Array; - /** An array of term assignment headers. */ - meanings?: Array; - /** Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. */ - status?: "ACTIVE" | "DELETED"; -} - -export interface ErrorResponseOutput { - /** The request ID. */ - requestId?: string; - /** The error code. */ - errorCode?: string; - /** The error message. */ - errorMessage?: string; -} - -export interface AtlasEntitiesWithExtInfoOutput extends AtlasEntityExtInfoOutput { - /** An array of entities. */ - entities?: Array; -} - -export interface AtlasClassificationsOutput extends PListOutput {} - -export interface PListOutput { - /** An array of objects. */ - list?: Array>; - /** The size of the page. */ - pageSize?: number; - /** The sorted by field. */ - sortBy?: string; - /** to specify whether the result should be sorted? If yes, whether asc or desc. */ - sortType?: "NONE" | "ASC" | "DESC"; - /** The start index of the page. */ - startIndex?: number; - /** The total count of items. */ - totalCount?: number; -} - -export interface BulkImportResponseOutput { - /** failed importInfoList */ - failedImportInfoList?: Array; - /** successful importInfoList */ - successImportInfoList?: Array; -} - -export interface ImportInfoOutput { - /** childObjectName */ - childObjectName?: string; - /** importStatus */ - importStatus?: "SUCCESS" | "FAILED"; - /** parentObjectName */ - parentObjectName?: string; - /** remarks */ - remarks?: string; -} - -export interface AtlasGlossaryOutput extends AtlasGlossaryBaseObjectOutput { - /** An array of categories. */ - categories?: Array; - /** The language of the glossary. */ - language?: string; - /** An array of related term headers. */ - terms?: Array; - /** The usage of the glossary. */ - usage?: string; -} - -export interface AtlasRelatedCategoryHeaderOutput { - /** The GUID of the category. */ - categoryGuid?: string; - /** The description of the category header. */ - description?: string; - /** The display text. */ - displayText?: string; - /** The GUID of the parent category. */ - parentCategoryGuid?: string; - /** The GUID of the relationship. */ - relationGuid?: string; -} - -export interface AtlasRelatedTermHeaderOutput { - /** The description of the related term. */ - description?: string; - /** The display text. */ - displayText?: string; - /** The expression of the term. */ - expression?: string; - /** The GUID of the relationship. */ - relationGuid?: string; - /** The source of the term. */ - source?: string; - /** The status of term relationship. */ - status?: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER"; - /** The steward of the term. */ - steward?: string; - /** The GUID of the term. */ - termGuid?: string; -} - -export interface AtlasGlossaryBaseObjectOutput extends AtlasBaseModelObjectOutput { - /** An array of classifications. */ - classifications?: Array; - /** The long version description. */ - longDescription?: string; - /** The name of the glossary object. */ - name?: string; - /** The qualified name of the glossary object. */ - qualifiedName?: string; - /** The short version of description. */ - shortDescription?: string; - /** ETag for concurrency control. */ - lastModifiedTS?: string; -} - -export interface AtlasBaseModelObjectOutput { - /** The GUID of the object. */ - guid?: string; -} - -export interface AtlasGlossaryCategoryOutput extends AtlasGlossaryBaseObjectOutput { - /** The glossary header with basic information. */ - anchor?: AtlasGlossaryHeaderOutput; - /** An array of children categories. */ - childrenCategories?: Array; - /** The header of the related category. */ - parentCategory?: AtlasRelatedCategoryHeaderOutput; - /** An array of related term headers. */ - terms?: Array; -} - -export interface AtlasGlossaryHeaderOutput { - /** The display text. */ - displayText?: string; - /** The GUID of the glossary. */ - glossaryGuid?: string; - /** The GUID of the relationship. */ - relationGuid?: string; -} - -export interface AtlasGlossaryTermOutput extends AtlasGlossaryBaseObjectOutput { - /** The abbreviation of the term. */ - abbreviation?: string; - templateName?: Array>; - /** The glossary header with basic information. */ - anchor?: AtlasGlossaryHeaderOutput; - /** An array of related term headers as antonyms. */ - antonyms?: Array; - /** The created time of the record. */ - createTime?: number; - /** The user who created the record. */ - createdBy?: string; - /** The update time of the record. */ - updateTime?: number; - /** The user who updated the record. */ - updatedBy?: string; - /** Status of the AtlasGlossaryTerm */ - status?: "Draft" | "Approved" | "Alert" | "Expired"; - /** An array of resource link for term */ - resources?: Array; - /** The dictionary of contacts for terms. Key could be Expert or Steward. */ - contacts?: Record>; - /** - * The custom attributes of the term, which is map>. - * The key of the first layer map is term template name. - */ - attributes?: Record>>; - /** An array of related object IDs. */ - assignedEntities?: Array; - /** An array of term categorization headers. */ - categories?: Array; - /** An array of related term headers. */ - classifies?: Array; - /** An array of examples. */ - examples?: Array; - /** An array of related term headers indicating the is-a relationship. */ - isA?: Array; - /** An array of preferred related term headers. */ - preferredTerms?: Array; - /** An array of related term headers that are preferred to. */ - preferredToTerms?: Array; - /** An array of related term headers that are replaced by. */ - replacedBy?: Array; - /** An array of related term headers for replacement. */ - replacementTerms?: Array; - /** An array of related term headers for see also. */ - seeAlso?: Array; - /** An array of related term headers as synonyms. */ - synonyms?: Array; - /** An array of translated related term headers. */ - translatedTerms?: Array; - /** An array of related term headers for translation. */ - translationTerms?: Array; - /** The usage of the term. */ - usage?: string; - /** An array of related term headers as valid values. */ - validValues?: Array; - /** An array of related term headers as valid values for other records. */ - validValuesFor?: Array; -} - -export interface ResourceLinkOutput { - /** Display name for url. */ - displayName?: string; - /** web url. http or https */ - url?: string; -} - -export interface AtlasRelatedObjectIdOutput extends AtlasObjectIdOutput { - /** The display text. */ - displayText?: string; - /** Status of the entity - can be active or deleted. Deleted entities are not removed from Atlas store. */ - entityStatus?: "ACTIVE" | "DELETED"; - relationshipType?: string; - /** Captures details of struct contents. Not instantiated directly, used only via AtlasEntity, AtlasClassification. */ - relationshipAttributes?: AtlasStructOutput; - /** The GUID of the relationship. */ - relationshipGuid?: string; - /** The enum of relationship status. */ - relationshipStatus?: "ACTIVE" | "DELETED"; -} - -export interface AtlasObjectIdOutput { - /** The GUID of the object. */ - guid?: string; - /** The name of the type. */ - typeName?: string; - /** The unique attributes of the object. */ - uniqueAttributes?: Record>; -} - -export interface AtlasTermCategorizationHeaderOutput { - /** The GUID of the category. */ - categoryGuid?: string; - /** The description of the record. */ - description?: string; - /** The display text. */ - displayText?: string; - /** The GUID of the relationship. */ - relationGuid?: string; - /** The status of term relationship. */ - status?: "DRAFT" | "ACTIVE" | "DEPRECATED" | "OBSOLETE" | "OTHER"; -} - -export interface AtlasGlossaryExtInfoOutput extends AtlasGlossaryOutput { - /** The glossary category information. */ - categoryInfo?: Record; - /** The glossary term information. */ - termInfo?: Record; -} - -export interface ImportCSVOperationOutput { - /** guid string */ - id?: string; - /** Enum of the status of import csv operation. */ - status?: "NotStarted" | "Succeeded" | "Failed" | "Running"; - /** The created time of the record. */ - createTime?: string; - /** The last updated time of the record. */ - lastUpdateTime?: string; - properties?: ImportCSVOperationPropertiesOutput; - error?: ImportCSVOperationErrorOutput; -} - -export interface ImportCSVOperationPropertiesOutput { - /** Term numbers that already imported successfully */ - importedTerms?: string; - /** Total term numbers that detected in csv */ - totalTermsDetected?: string; -} - -export interface ImportCSVOperationErrorOutput { - /** Error code from async import job if fail */ - errorCode?: number; - /** Error message from async import job if fail */ - errorMessage?: string; -} - -export interface SearchResultOutput { - /** The total number of search results (not the number of documents in a single page). */ - "@search.count"?: number; - /** A facet list that consists of index fields assetType ,classification, contactId, and label. When the facet is specified in the request, the value of the facet is returned as an element of @search.facets. */ - "@search.facets"?: SearchFacetResultValueOutput; - value?: Array; -} - -export interface SearchFacetResultValueOutput { - assetType?: Array; - classification?: Array; - classificationCategory?: Array; - contactId?: Array; - fileExtension?: Array; - label?: Array; - term?: Array; -} - -export interface SearchFacetItemValueOutput { - /** The count of the facet item. */ - count?: number; - /** The name of the facet item. */ - value?: string; -} - -export interface SearchResultValueOutput { - /** The search score calculated by the search engine. The results are ordered by search score by default. */ - "@search.score"?: number; - /** A highlight list that consists of index fields id ,qualifiedName, name, description, entityType. When the keyword appears in those fields, the value of the field, attached with emphasis mark, is returned as an element of @search.highlights. */ - "@search.highlights"?: SearchHighlightsOutput; - /** The target text that contains the keyword as prefix. The keyword is wrapped with emphasis mark. */ - "@search.text"?: string; - /** The description of the record. */ - description?: string; - /** The GUID of the record. */ - id?: string; - /** The name of the record. */ - name?: string; - /** The owner of the record. This is an Atlas native attribute. */ - owner?: string; - /** The qualified name of the record. */ - qualifiedName?: string; - /** The type name of the record. */ - entityType?: string; - /** The classifications of the record. */ - classification?: Array; - /** The labels of the record. */ - label?: Array; - /** The terms assigned to the record. */ - term?: Array; - /** The contacts of the record. */ - contact?: Array; - /** The asset types of the record. */ - assetType?: Array; -} - -export interface SearchHighlightsOutput { - id?: Array; - qualifiedName?: Array; - name?: Array; - description?: Array; - entityType?: Array; -} - -export interface TermSearchResultValueOutput { - /** The name of the term. */ - name?: string; - /** The name of the glossary which contains the term. */ - glossaryName?: string; - /** The GUID of the term. */ - guid?: string; -} - -export interface ContactSearchResultValueOutput { - /** The GUID of the contact. */ - id?: string; - /** The description of the contact. */ - info?: string; - /** The type of the contact. It can be Expert or Owner for an entity. It can be Expert or Steward for a glossary term. */ - contactType?: string; -} - -export interface SuggestResultOutput { - value?: Array; -} - -export interface SuggestResultValueOutput { - /** The search score calculated by the search engine. The results are ordered by search score by default. */ - "@search.score"?: number; - /** The target text that contains the keyword as prefix. The keyword is wrapped with emphasis mark. */ - "@search.text"?: string; - /** The description of the record. */ - description?: string; - /** The GUID of the record. */ - id?: string; - /** The name of the record. */ - name?: string; - /** The owner of the record. This is an Atlas native attribute. */ - owner?: string; - /** The qualified name of the record. */ - qualifiedName?: string; - /** The type name of the record. */ - entityType?: string; - /** The classifications of the record. */ - classification?: Array; - /** The labels of the record. */ - label?: Array; - /** The terms assigned to the record. */ - term?: Array; - /** The contacts of the record. */ - contact?: Array; - /** The asset types of the record. */ - assetType?: Array; -} - -export interface BrowseResultOutput { - /** The total number of browse results. */ - "@search.count"?: number; - value?: Array; -} - -export interface BrowseResultValueOutput { - /** The type name of the record. */ - entityType?: string; - /** The GUID of the record. */ - id?: string; - /** If the record is a leaf entity. */ - isLeaf?: boolean; - /** The name of the record. */ - name?: string; - /** The owners of the record. */ - owner?: Array; - /** The path of the record. */ - path?: string; - /** The qualified name of the record. */ - qualifiedName?: string; -} - -export interface BrowseResultOwnerOutput { - /** The GUID of the owner. */ - id?: string; - /** The display name of the owner. */ - displayName?: string; - /** The mail of the owner. */ - mail?: string; - /** The contact type of the owner. The value will be Owner. */ - contactType?: string; -} - -export interface AutoCompleteResultOutput { - value?: Array; -} - -export interface AutoCompleteResultValueOutput { - /** The completed term or phrase. */ - text?: string; - /** The completed search query text. */ - queryPlusText?: string; -} - -export interface AtlasLineageInfoOutput { - /** The GUID of the base entity. */ - baseEntityGuid?: string; - /** The GUID entity map. */ - guidEntityMap?: Record; - /** The entity count in specific direction. */ - widthCounts?: Record>>; - /** The depth of lineage. */ - lineageDepth?: number; - /** The width of lineage. */ - lineageWidth?: number; - /** True to return the parent of the base entity. */ - includeParent?: boolean; - /** The number of children node. */ - childrenCount?: number; - /** The enum of lineage direction. */ - lineageDirection?: "INPUT" | "OUTPUT" | "BOTH"; - /** An array of parentRelations relations. */ - parentRelations?: Array; - /** An array of lineage relations. */ - relations?: Array; -} - -export interface ParentRelationOutput { - /** The GUID of child entity. */ - childEntityId?: string; - /** The GUID of relationship. */ - relationshipId?: string; - /** The GUID of parent entity. */ - parentEntityId?: string; -} - -export interface LineageRelationOutput { - /** The GUID of from-entity. */ - fromEntityId?: string; - /** The GUID of relationship. */ - relationshipId?: string; - /** The GUID of to-entity. */ - toEntityId?: string; -} - -export interface AtlasRelationshipOutput extends AtlasStructOutput { - /** The created time of the record. */ - createTime?: number; - /** The user who created the record. */ - createdBy?: string; - /** Reference to an object-instance of an Atlas type - like entity. */ - end1?: AtlasObjectIdOutput; - /** Reference to an object-instance of an Atlas type - like entity. */ - end2?: AtlasObjectIdOutput; - /** The GUID of the relationship. */ - guid?: string; - /** The home ID of the relationship. */ - homeId?: string; - /** The label of the relationship. */ - label?: string; - /** Used to record the provenance of an instance of an entity or relationship */ - provenanceType?: number; - /** The enum of relationship status. */ - status?: "ACTIVE" | "DELETED"; - /** The update time of the record. */ - updateTime?: number; - /** The user who updated the record. */ - updatedBy?: string; - /** The version of the relationship. */ - version?: number; -} - -export interface AtlasRelationshipWithExtInfoOutput { - /** The referred entity header. */ - referredEntities?: Record; - /** Atlas relationship instance. */ - relationship?: AtlasRelationshipOutput; -} - -export interface AtlasBusinessMetadataDefOutput extends AtlasStructDefOutput {} - -export interface AtlasStructDefOutput extends AtlasBaseTypeDefOutput { - /** An array of attribute definitions. */ - attributeDefs?: Array; -} - -export interface AtlasAttributeDefOutput { - /** single-valued attribute or multi-valued attribute. */ - cardinality?: "SINGLE" | "LIST" | "SET"; - /** An array of constraints. */ - constraints?: Array; - /** The default value of the attribute. */ - defaultValue?: string; - /** The description of the attribute. */ - description?: string; - /** Determines if it is included in notification. */ - includeInNotification?: boolean; - /** Determines if it is indexable. */ - isIndexable?: boolean; - /** Determines if it is optional. */ - isOptional?: boolean; - /** Determines if it unique. */ - isUnique?: boolean; - /** The name of the attribute. */ - name?: string; - /** The options for the attribute. */ - options?: Record; - /** The name of the type. */ - typeName?: string; - /** The maximum count of the values. */ - valuesMaxCount?: number; - /** The minimum count of the values. */ - valuesMinCount?: number; -} - -export interface AtlasConstraintDefOutput { - /** The parameters of the constraint definition. */ - params?: Record>; - /** The type of the constraint. */ - type?: string; -} - -export interface AtlasBaseTypeDefOutput { - /** The enum of type category. */ - category?: - | "PRIMITIVE" - | "OBJECT_ID_TYPE" - | "ENUM" - | "STRUCT" - | "CLASSIFICATION" - | "ENTITY" - | "ARRAY" - | "MAP" - | "RELATIONSHIP" - | "TERM_TEMPLATE"; - /** The created time of the record. */ - createTime?: number; - /** The user who created the record. */ - createdBy?: string; - /** The date format. */ - dateFormatter?: DateFormatOutput; - /** The description of the type definition. */ - description?: string; - /** The GUID of the type definition. */ - guid?: string; - /** The name of the type definition. */ - name?: string; - /** The options for the type definition. */ - options?: Record; - /** The service type. */ - serviceType?: string; - /** The version of the type. */ - typeVersion?: string; - /** The update time of the record. */ - updateTime?: number; - /** The user who updated the record. */ - updatedBy?: string; - /** The version of the record. */ - version?: number; - /** ETag for concurrency control. */ - lastModifiedTS?: string; -} - -export interface DateFormatOutput { - /** An array of available locales. */ - availableLocales?: Array; - calendar?: number; - /** The date format. */ - dateInstance?: DateFormatOutput; - /** The date format. */ - dateTimeInstance?: DateFormatOutput; - /** The date format. */ - instance?: DateFormatOutput; - /** Determines the leniency of the date format. */ - lenient?: boolean; - /** The number format. */ - numberFormat?: NumberFormatOutput; - /** The date format. */ - timeInstance?: DateFormatOutput; - /** The timezone information. */ - timeZone?: TimeZoneOutput; -} - -export interface NumberFormatOutput { - /** The number format. */ - availableLocales?: Array; - /** The currency. */ - currency?: string; - /** The number format. */ - currencyInstance?: NumberFormatOutput; - /** Determines if grouping is used. */ - groupingUsed?: boolean; - /** The number format. */ - instance?: NumberFormatOutput; - /** The number format. */ - integerInstance?: NumberFormatOutput; - /** The maximum of fraction digits. */ - maximumFractionDigits?: number; - /** The maximum of integer digits. */ - maximumIntegerDigits?: number; - /** The minimum of fraction digits. */ - minimumFractionDigits?: number; - /** The minimum of integer digits. */ - minimumIntegerDigits?: number; - /** The number format. */ - numberInstance?: NumberFormatOutput; - /** Determines if only integer is parsed. */ - parseIntegerOnly?: boolean; - /** The number format. */ - percentInstance?: NumberFormatOutput; - /** The enum of rounding mode. */ - roundingMode?: - | "UP" - | "DOWN" - | "CEILING" - | "FLOOR" - | "HALF_UP" - | "HALF_DOWN" - | "HALF_EVEN" - | "UNNECESSARY"; -} - -export interface TimeZoneOutput { - /** The value of the daylight saving time. */ - dstSavings?: number; - /** The ID of the timezone. */ - id?: string; - /** An array of available IDs. */ - availableIds?: Array; - /** The timezone information. */ - default?: TimeZoneOutput; - /** The display name of the timezone. */ - displayName?: string; - /** The raw offset of the timezone. */ - rawOffset?: number; -} - -export interface AtlasClassificationDefOutput extends AtlasStructDefOutput { - /** - * Specifying a list of entityType names in the classificationDef, ensures that classifications can - * only be applied to those entityTypes. - *

    - *
  • Any subtypes of the entity types inherit the restriction
  • - *
  • Any classificationDef subtypes inherit the parents entityTypes restrictions
  • - *
  • Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes
  • - *
  • An empty entityTypes list when there are no parent restrictions means there are no restrictions
  • - *
  • An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions
  • - *
  • If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs
  • - *
- */ - entityTypes?: Array; - /** An array of sub types. */ - subTypes?: Array; - /** An array of super types. */ - superTypes?: Array; -} - -export interface AtlasEntityDefOutput extends AtlasStructDefOutput { - /** An array of sub types. */ - subTypes?: Array; - /** An array of super types. */ - superTypes?: Array; - /** An array of relationship attributes. */ - relationshipAttributeDefs?: Array; -} - -export interface AtlasRelationshipAttributeDefOutput extends AtlasAttributeDefOutput { - /** Determines if it is a legacy attribute. */ - isLegacyAttribute?: boolean; - /** The name of the relationship type. */ - relationshipTypeName?: string; -} - -export interface AtlasEnumDefOutput extends AtlasBaseTypeDefOutput { - /** The default value. */ - defaultValue?: string; - /** An array of enum element definitions. */ - elementDefs?: Array; -} - -export interface AtlasEnumElementDefOutput { - /** The description of the enum element definition. */ - description?: string; - /** The ordinal of the enum element definition. */ - ordinal?: number; - /** The value of the enum element definition. */ - value?: string; -} - -export interface AtlasRelationshipDefOutput extends AtlasStructDefOutput { - /** - * The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an - * attribute name, cardinality and whether it is the container end of the relationship. - */ - endDef1?: AtlasRelationshipEndDefOutput; - /** - * The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an - * attribute name, cardinality and whether it is the container end of the relationship. - */ - endDef2?: AtlasRelationshipEndDefOutput; - /** - * The Relationship category determines the style of relationship around containment and lifecycle. - * UML terminology is used for the values. - *

- * ASSOCIATION is a relationship with no containment.
- * COMPOSITION and AGGREGATION are containment relationships. - *

- * The difference being in the lifecycles of the container and its children. In the COMPOSITION case, - * the children cannot exist without the container. For AGGREGATION, the life cycles - * of the container and children are totally independent. - */ - relationshipCategory?: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION"; - /** The label of the relationship. */ - relationshipLabel?: string; -} - -export interface AtlasRelationshipEndDefOutput { - /** single-valued attribute or multi-valued attribute. */ - cardinality?: "SINGLE" | "LIST" | "SET"; - /** The description of the relationship end definition. */ - description?: string; - /** Determines if it is container. */ - isContainer?: boolean; - /** Determines if it is a legacy attribute. */ - isLegacyAttribute?: boolean; - /** The name of the relationship end definition. */ - name?: string; - /** The type of the relationship end. */ - type?: string; -} - -export interface AtlasTypeDefOutput extends AtlasBaseTypeDefOutput, AtlasExtraTypeDefOutput {} - -export interface AtlasExtraTypeDefOutput { - /** - * Specifying a list of entityType names in the classificationDef, ensures that classifications can - * only be applied to those entityTypes. - *

    - *
  • Any subtypes of the entity types inherit the restriction
  • - *
  • Any classificationDef subtypes inherit the parents entityTypes restrictions
  • - *
  • Any classificationDef subtypes can further restrict the parents entityTypes restrictions by specifying a subset of the entityTypes
  • - *
  • An empty entityTypes list when there are no parent restrictions means there are no restrictions
  • - *
  • An empty entityTypes list when there are parent restrictions means that the subtype picks up the parents restrictions
  • - *
  • If a list of entityTypes are supplied, where one inherits from another, this will be rejected. This should encourage cleaner classificationsDefs
  • - *
- */ - entityTypes?: Array; - /** An array of sub types. */ - subTypes?: Array; - /** An array of super types. */ - superTypes?: Array; - /** An array of relationship attributes. */ - relationshipAttributeDefs?: Array; - /** The default value. */ - defaultValue?: string; - /** An array of enum element definitions. */ - elementDefs?: Array; - /** - * The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an - * attribute name, cardinality and whether it is the container end of the relationship. - */ - endDef1?: AtlasRelationshipEndDefOutput; - /** - * The relationshipEndDef represents an end of the relationship. The end of the relationship is defined by a type, an - * attribute name, cardinality and whether it is the container end of the relationship. - */ - endDef2?: AtlasRelationshipEndDefOutput; - /** - * The Relationship category determines the style of relationship around containment and lifecycle. - * UML terminology is used for the values. - *

- * ASSOCIATION is a relationship with no containment.
- * COMPOSITION and AGGREGATION are containment relationships. - *

- * The difference being in the lifecycles of the container and its children. In the COMPOSITION case, - * the children cannot exist without the container. For AGGREGATION, the life cycles - * of the container and children are totally independent. - */ - relationshipCategory?: "ASSOCIATION" | "AGGREGATION" | "COMPOSITION"; - /** The label of the relationship. */ - relationshipLabel?: string; - /** An array of attribute definitions. */ - attributeDefs?: Array; -} - -export interface AtlasTypesDefOutput { - /** businessMetadataDefs */ - businessMetadataDefs?: Array; - /** An array of classification definitions. */ - classificationDefs?: Array; - /** An array of entity definitions. */ - entityDefs?: Array; - /** An array of enum definitions. */ - enumDefs?: Array; - /** An array of relationship definitions. */ - relationshipDefs?: Array; - /** An array of struct definitions. */ - structDefs?: Array; - /** An array of term template definitions. */ - termTemplateDefs?: Array; -} - -export interface TermTemplateDefOutput extends AtlasStructDefOutput {} - -export interface AtlasTypeDefHeaderOutput { - /** The enum of type category. */ - category?: - | "PRIMITIVE" - | "OBJECT_ID_TYPE" - | "ENUM" - | "STRUCT" - | "CLASSIFICATION" - | "ENTITY" - | "ARRAY" - | "MAP" - | "RELATIONSHIP" - | "TERM_TEMPLATE"; - /** The GUID of the type definition. */ - guid?: string; - /** The name of the type definition. */ - name?: string; -} diff --git a/sdk/purview/purview-catalog-rest/src/parameters.ts b/sdk/purview/purview-catalog-rest/src/parameters.ts deleted file mode 100644 index d84bff6caf4e..000000000000 --- a/sdk/purview/purview-catalog-rest/src/parameters.ts +++ /dev/null @@ -1,1354 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import type { RequestParameters } from "@azure-rest/core-client"; -import type { - AtlasEntityWithExtInfo, - AtlasEntitiesWithExtInfo, - ClassificationAssociateRequest, - AtlasClassification, - AtlasEntityHeaders, - AtlasGlossary, - AtlasGlossaryCategory, - AtlasGlossaryTerm, - AtlasRelatedObjectId, - SearchRequest, - SuggestRequest, - BrowseRequest, - AutoCompleteRequest, - AtlasRelationship, - AtlasTypesDef, - MoveEntitiesRequest, -} from "./models.js"; - -export interface EntityCreateOrUpdateBodyParam { - /** Atlas entity with extended information. */ - body: AtlasEntityWithExtInfo; -} - -export interface EntityCreateOrUpdateMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type EntityCreateOrUpdateParameters = EntityCreateOrUpdateMediaTypesParam & - EntityCreateOrUpdateBodyParam & - RequestParameters; - -export interface EntityListByGuidsQueryParamProperties { - /** An array of GUIDs of entities to list. */ - guid: Array; - /** Whether to return minimal information for referred entities. */ - minExtInfo?: boolean; - /** Whether to ignore relationship attributes. */ - ignoreRelationships?: boolean; - /** An array of the relationship types need to be excluded from the response. */ - excludeRelationshipTypes?: Array; -} - -export interface EntityListByGuidsQueryParam { - queryParameters: EntityListByGuidsQueryParamProperties; -} - -export type EntityListByGuidsParameters = EntityListByGuidsQueryParam & RequestParameters; - -export interface EntityCreateOrUpdateEntitiesBodyParam { - /** An array of entities to create or update. */ - body: AtlasEntitiesWithExtInfo; -} - -export interface EntityCreateOrUpdateEntitiesMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type EntityCreateOrUpdateEntitiesParameters = EntityCreateOrUpdateEntitiesMediaTypesParam & - EntityCreateOrUpdateEntitiesBodyParam & - RequestParameters; - -export interface EntityDeleteByGuidsQueryParamProperties { - /** An array of GUIDs of entities to delete. */ - guid: Array; -} - -export interface EntityDeleteByGuidsQueryParam { - queryParameters: EntityDeleteByGuidsQueryParamProperties; -} - -export type EntityDeleteByGuidsParameters = EntityDeleteByGuidsQueryParam & RequestParameters; - -export interface EntityAddClassificationBodyParam { - /** The request to associate a classification to multiple entities. */ - body: ClassificationAssociateRequest; -} - -export interface EntityAddClassificationMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type EntityAddClassificationParameters = EntityAddClassificationMediaTypesParam & - EntityAddClassificationBodyParam & - RequestParameters; - -export interface EntityGetByGuidQueryParamProperties { - /** Whether to return minimal information for referred entities. */ - minExtInfo?: boolean; - /** Whether to ignore relationship attributes. */ - ignoreRelationships?: boolean; -} - -export interface EntityGetByGuidQueryParam { - queryParameters?: EntityGetByGuidQueryParamProperties; -} - -export type EntityGetByGuidParameters = EntityGetByGuidQueryParam & RequestParameters; - -export interface EntityPartialUpdateEntityAttributeByGuidBodyParam { - /** The value of the attribute. */ - body: Record; -} - -export interface EntityPartialUpdateEntityAttributeByGuidQueryParamProperties { - /** The name of the attribute. */ - name: string; -} - -export interface EntityPartialUpdateEntityAttributeByGuidQueryParam { - queryParameters: EntityPartialUpdateEntityAttributeByGuidQueryParamProperties; -} - -export interface EntityPartialUpdateEntityAttributeByGuidMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type EntityPartialUpdateEntityAttributeByGuidParameters = - EntityPartialUpdateEntityAttributeByGuidQueryParam & - EntityPartialUpdateEntityAttributeByGuidMediaTypesParam & - EntityPartialUpdateEntityAttributeByGuidBodyParam & - RequestParameters; -export type EntityDeleteByGuidParameters = RequestParameters; -export type EntityGetClassificationParameters = RequestParameters; -export type EntityDeleteClassificationParameters = RequestParameters; -export type EntityGetClassificationsParameters = RequestParameters; - -export interface EntityAddClassificationsBodyParam { - /** An array of classifications to be added. */ - body: Array; -} - -export interface EntityAddClassificationsMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type EntityAddClassificationsParameters = EntityAddClassificationsMediaTypesParam & - EntityAddClassificationsBodyParam & - RequestParameters; - -export interface EntityUpdateClassificationsBodyParam { - /** An array of classifications to be updated. */ - body: Array; -} - -export interface EntityUpdateClassificationsMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type EntityUpdateClassificationsParameters = EntityUpdateClassificationsMediaTypesParam & - EntityUpdateClassificationsBodyParam & - RequestParameters; - -export interface EntityGetByUniqueAttributesQueryParamProperties { - /** Whether to return minimal information for referred entities. */ - minExtInfo?: boolean; - /** Whether to ignore relationship attributes. */ - ignoreRelationships?: boolean; - /** The qualified name of the entity. */ - "attr:qualifiedName"?: string; -} - -export interface EntityGetByUniqueAttributesQueryParam { - queryParameters?: EntityGetByUniqueAttributesQueryParamProperties; -} - -export type EntityGetByUniqueAttributesParameters = EntityGetByUniqueAttributesQueryParam & - RequestParameters; - -export interface EntityPartialUpdateEntityByUniqueAttributesBodyParam { - /** Atlas entity with extended information. */ - body: AtlasEntityWithExtInfo; -} - -export interface EntityPartialUpdateEntityByUniqueAttributesQueryParamProperties { - /** The qualified name of the entity. */ - "attr:qualifiedName"?: string; -} - -export interface EntityPartialUpdateEntityByUniqueAttributesQueryParam { - queryParameters?: EntityPartialUpdateEntityByUniqueAttributesQueryParamProperties; -} - -export interface EntityPartialUpdateEntityByUniqueAttributesMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type EntityPartialUpdateEntityByUniqueAttributesParameters = - EntityPartialUpdateEntityByUniqueAttributesQueryParam & - EntityPartialUpdateEntityByUniqueAttributesMediaTypesParam & - EntityPartialUpdateEntityByUniqueAttributesBodyParam & - RequestParameters; - -export interface EntityDeleteByUniqueAttributeQueryParamProperties { - /** The qualified name of the entity. */ - "attr:qualifiedName"?: string; -} - -export interface EntityDeleteByUniqueAttributeQueryParam { - queryParameters?: EntityDeleteByUniqueAttributeQueryParamProperties; -} - -export type EntityDeleteByUniqueAttributeParameters = EntityDeleteByUniqueAttributeQueryParam & - RequestParameters; - -export interface EntityDeleteClassificationByUniqueAttributeQueryParamProperties { - /** The qualified name of the entity. */ - "attr:qualifiedName"?: string; -} - -export interface EntityDeleteClassificationByUniqueAttributeQueryParam { - queryParameters?: EntityDeleteClassificationByUniqueAttributeQueryParamProperties; -} - -export type EntityDeleteClassificationByUniqueAttributeParameters = - EntityDeleteClassificationByUniqueAttributeQueryParam & RequestParameters; - -export interface EntityAddClassificationsByUniqueAttributeBodyParam { - /** An array of classification to be added. */ - body: Array; -} - -export interface EntityAddClassificationsByUniqueAttributeQueryParamProperties { - /** The qualified name of the entity. */ - "attr:qualifiedName"?: string; -} - -export interface EntityAddClassificationsByUniqueAttributeQueryParam { - queryParameters?: EntityAddClassificationsByUniqueAttributeQueryParamProperties; -} - -export interface EntityAddClassificationsByUniqueAttributeMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type EntityAddClassificationsByUniqueAttributeParameters = - EntityAddClassificationsByUniqueAttributeQueryParam & - EntityAddClassificationsByUniqueAttributeMediaTypesParam & - EntityAddClassificationsByUniqueAttributeBodyParam & - RequestParameters; - -export interface EntityUpdateClassificationsByUniqueAttributeBodyParam { - /** An array of classification to be updated. */ - body: Array; -} - -export interface EntityUpdateClassificationsByUniqueAttributeQueryParamProperties { - /** The qualified name of the entity. */ - "attr:qualifiedName"?: string; -} - -export interface EntityUpdateClassificationsByUniqueAttributeQueryParam { - queryParameters?: EntityUpdateClassificationsByUniqueAttributeQueryParamProperties; -} - -export interface EntityUpdateClassificationsByUniqueAttributeMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type EntityUpdateClassificationsByUniqueAttributeParameters = - EntityUpdateClassificationsByUniqueAttributeQueryParam & - EntityUpdateClassificationsByUniqueAttributeMediaTypesParam & - EntityUpdateClassificationsByUniqueAttributeBodyParam & - RequestParameters; - -export interface EntitySetClassificationsBodyParam { - /** Atlas entity headers. */ - body: AtlasEntityHeaders; -} - -export interface EntitySetClassificationsMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type EntitySetClassificationsParameters = EntitySetClassificationsMediaTypesParam & - EntitySetClassificationsBodyParam & - RequestParameters; - -export interface EntityGetEntitiesByUniqueAttributesQueryParamProperties { - /** Whether to return minimal information for referred entities. */ - minExtInfo?: boolean; - /** Whether to ignore relationship attributes. */ - ignoreRelationships?: boolean; - /** Qualified name of an entity. E.g. to find 2 entities you can set attrs_0:qualifiedName=db1@cl1&attrs_2:qualifiedName=db2@cl1 */ - "attr_N:qualifiedName"?: string; -} - -export interface EntityGetEntitiesByUniqueAttributesQueryParam { - queryParameters?: EntityGetEntitiesByUniqueAttributesQueryParamProperties; -} - -export type EntityGetEntitiesByUniqueAttributesParameters = - EntityGetEntitiesByUniqueAttributesQueryParam & RequestParameters; -export type EntityGetHeaderParameters = RequestParameters; - -export interface EntityDeleteBusinessMetadataBodyParam { - /** BusinessMetadata */ - body?: Record>; -} - -export interface EntityDeleteBusinessMetadataMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type EntityDeleteBusinessMetadataParameters = EntityDeleteBusinessMetadataMediaTypesParam & - EntityDeleteBusinessMetadataBodyParam & - RequestParameters; - -export interface EntityAddOrUpdateBusinessMetadataBodyParam { - /** Business Metadata */ - body?: Record>; -} - -export interface EntityAddOrUpdateBusinessMetadataQueryParamProperties { - /** Whether to overwrite the existing business metadata on the entity or not, default is false. */ - isOverwrite?: boolean; -} - -export interface EntityAddOrUpdateBusinessMetadataQueryParam { - queryParameters?: EntityAddOrUpdateBusinessMetadataQueryParamProperties; -} - -export interface EntityAddOrUpdateBusinessMetadataMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type EntityAddOrUpdateBusinessMetadataParameters = - EntityAddOrUpdateBusinessMetadataQueryParam & - EntityAddOrUpdateBusinessMetadataMediaTypesParam & - EntityAddOrUpdateBusinessMetadataBodyParam & - RequestParameters; - -export interface EntityDeleteBusinessMetadataAttributesBodyParam { - /** BusinessMetadataAttributes */ - body?: Record>; -} - -export interface EntityDeleteBusinessMetadataAttributesMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type EntityDeleteBusinessMetadataAttributesParameters = - EntityDeleteBusinessMetadataAttributesMediaTypesParam & - EntityDeleteBusinessMetadataAttributesBodyParam & - RequestParameters; - -export interface EntityAddOrUpdateBusinessMetadataAttributesBodyParam { - /** BusinessMetadataAttributes */ - body?: Record>; -} - -export interface EntityAddOrUpdateBusinessMetadataAttributesMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type EntityAddOrUpdateBusinessMetadataAttributesParameters = - EntityAddOrUpdateBusinessMetadataAttributesMediaTypesParam & - EntityAddOrUpdateBusinessMetadataAttributesBodyParam & - RequestParameters; -export type EntityGetSampleBusinessMetadataTemplateParameters = RequestParameters; - -export interface EntityImportBusinessMetadataBodyParam { - body?: EntityImportBusinessMetadataFormBody; -} - -export interface EntityImportBusinessMetadataFormBody { - /** - * InputStream of file - * - * Value may contain any sequence of octets - */ - uploadedInputStream?: string | Uint8Array; -} - -export interface EntityImportBusinessMetadataMediaTypesParam { - /** Request content type */ - contentType?: "multipart/form-data"; -} - -export type EntityImportBusinessMetadataParameters = EntityImportBusinessMetadataMediaTypesParam & - EntityImportBusinessMetadataBodyParam & - RequestParameters; - -export interface EntityDeleteLabelsBodyParam { - /** set of labels to be deleted */ - body?: Array; -} - -export interface EntityDeleteLabelsMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type EntityDeleteLabelsParameters = EntityDeleteLabelsMediaTypesParam & - EntityDeleteLabelsBodyParam & - RequestParameters; - -export interface EntitySetLabelsBodyParam { - /** set of labels to be set to the entity */ - body?: Array; -} - -export interface EntitySetLabelsMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type EntitySetLabelsParameters = EntitySetLabelsMediaTypesParam & - EntitySetLabelsBodyParam & - RequestParameters; - -export interface EntityAddLabelBodyParam { - /** set of labels to be added */ - body?: Array; -} - -export interface EntityAddLabelMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type EntityAddLabelParameters = EntityAddLabelMediaTypesParam & - EntityAddLabelBodyParam & - RequestParameters; - -export interface EntityDeleteLabelsByUniqueAttributeBodyParam { - /** set of labels to be deleted */ - body?: Array; -} - -export interface EntityDeleteLabelsByUniqueAttributeQueryParamProperties { - /** The qualified name of the entity */ - "attr:qualifiedName"?: string; -} - -export interface EntityDeleteLabelsByUniqueAttributeQueryParam { - queryParameters?: EntityDeleteLabelsByUniqueAttributeQueryParamProperties; -} - -export interface EntityDeleteLabelsByUniqueAttributeMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type EntityDeleteLabelsByUniqueAttributeParameters = - EntityDeleteLabelsByUniqueAttributeQueryParam & - EntityDeleteLabelsByUniqueAttributeMediaTypesParam & - EntityDeleteLabelsByUniqueAttributeBodyParam & - RequestParameters; - -export interface EntitySetLabelsByUniqueAttributeBodyParam { - /** set of labels to be set */ - body?: Array; -} - -export interface EntitySetLabelsByUniqueAttributeQueryParamProperties { - /** The qualified name of the entity */ - "attr:qualifiedName"?: string; -} - -export interface EntitySetLabelsByUniqueAttributeQueryParam { - queryParameters?: EntitySetLabelsByUniqueAttributeQueryParamProperties; -} - -export interface EntitySetLabelsByUniqueAttributeMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type EntitySetLabelsByUniqueAttributeParameters = - EntitySetLabelsByUniqueAttributeQueryParam & - EntitySetLabelsByUniqueAttributeMediaTypesParam & - EntitySetLabelsByUniqueAttributeBodyParam & - RequestParameters; - -export interface EntityAddLabelsByUniqueAttributeBodyParam { - /** set of labels to be added */ - body?: Array; -} - -export interface EntityAddLabelsByUniqueAttributeQueryParamProperties { - /** The qualified name of the entity */ - "attr:qualifiedName"?: string; -} - -export interface EntityAddLabelsByUniqueAttributeQueryParam { - queryParameters?: EntityAddLabelsByUniqueAttributeQueryParamProperties; -} - -export interface EntityAddLabelsByUniqueAttributeMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type EntityAddLabelsByUniqueAttributeParameters = - EntityAddLabelsByUniqueAttributeQueryParam & - EntityAddLabelsByUniqueAttributeMediaTypesParam & - EntityAddLabelsByUniqueAttributeBodyParam & - RequestParameters; - -export interface GlossaryListGlossariesQueryParamProperties { - /** The page size - by default there is no paging. */ - limit?: number; - /** The offset for pagination purpose. */ - offset?: number; - /** The sort order, ASC (default) or DESC. */ - sort?: string; - /** Whether ignore terms and categories */ - ignoreTermsAndCategories?: boolean; -} - -export interface GlossaryListGlossariesQueryParam { - queryParameters?: GlossaryListGlossariesQueryParamProperties; -} - -export type GlossaryListGlossariesParameters = GlossaryListGlossariesQueryParam & RequestParameters; - -export interface GlossaryCreateGlossaryBodyParam { - /** - * Glossary definition, terms & categories can be anchored to a glossary. - * Using the anchor attribute when creating the Term/Category. - */ - body: AtlasGlossary; -} - -export interface GlossaryCreateGlossaryMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type GlossaryCreateGlossaryParameters = GlossaryCreateGlossaryMediaTypesParam & - GlossaryCreateGlossaryBodyParam & - RequestParameters; - -export interface GlossaryCreateGlossaryCategoriesBodyParam { - /** An array of glossary category definitions to be created. */ - body: Array; -} - -export interface GlossaryCreateGlossaryCategoriesMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type GlossaryCreateGlossaryCategoriesParameters = - GlossaryCreateGlossaryCategoriesMediaTypesParam & - GlossaryCreateGlossaryCategoriesBodyParam & - RequestParameters; - -export interface GlossaryCreateGlossaryCategoryBodyParam { - /** - * The glossary category definition. A category must be anchored to a Glossary when creating. - * Optionally, terms belonging to the category and the hierarchy can also be defined during creation. - */ - body: AtlasGlossaryCategory; -} - -export interface GlossaryCreateGlossaryCategoryMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type GlossaryCreateGlossaryCategoryParameters = - GlossaryCreateGlossaryCategoryMediaTypesParam & - GlossaryCreateGlossaryCategoryBodyParam & - RequestParameters; -export type GlossaryGetGlossaryCategoryParameters = RequestParameters; - -export interface GlossaryUpdateGlossaryCategoryBodyParam { - /** The glossary category to be updated. */ - body: AtlasGlossaryCategory; -} - -export interface GlossaryUpdateGlossaryCategoryMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type GlossaryUpdateGlossaryCategoryParameters = - GlossaryUpdateGlossaryCategoryMediaTypesParam & - GlossaryUpdateGlossaryCategoryBodyParam & - RequestParameters; -export type GlossaryDeleteGlossaryCategoryParameters = RequestParameters; - -export interface GlossaryPartialUpdateGlossaryCategoryBodyParam { - /** A map containing keys as attribute names and values as corresponding attribute values for partial update. */ - body: Record; -} - -export interface GlossaryPartialUpdateGlossaryCategoryMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type GlossaryPartialUpdateGlossaryCategoryParameters = - GlossaryPartialUpdateGlossaryCategoryMediaTypesParam & - GlossaryPartialUpdateGlossaryCategoryBodyParam & - RequestParameters; - -export interface GlossaryListRelatedCategoriesQueryParamProperties { - /** The page size - by default there is no paging. */ - limit?: number; - /** The offset for pagination purpose. */ - offset?: number; - /** The sort order, ASC (default) or DESC. */ - sort?: string; -} - -export interface GlossaryListRelatedCategoriesQueryParam { - queryParameters?: GlossaryListRelatedCategoriesQueryParamProperties; -} - -export type GlossaryListRelatedCategoriesParameters = GlossaryListRelatedCategoriesQueryParam & - RequestParameters; - -export interface GlossaryListCategoryTermsQueryParamProperties { - /** The page size - by default there is no paging. */ - limit?: number; - /** The offset for pagination purpose. */ - offset?: number; - /** The sort order, ASC (default) or DESC. */ - sort?: string; -} - -export interface GlossaryListCategoryTermsQueryParam { - queryParameters?: GlossaryListCategoryTermsQueryParamProperties; -} - -export type GlossaryListCategoryTermsParameters = GlossaryListCategoryTermsQueryParam & - RequestParameters; - -export interface GlossaryCreateGlossaryTermBodyParam { - /** - * The glossary term definition. A term must be anchored to a Glossary at the time of creation. - * Optionally it can be categorized as well. - */ - body: AtlasGlossaryTerm; -} - -export interface GlossaryCreateGlossaryTermQueryParamProperties { - /** Whether include term hierarchy */ - includeTermHierarchy?: boolean; -} - -export interface GlossaryCreateGlossaryTermQueryParam { - queryParameters?: GlossaryCreateGlossaryTermQueryParamProperties; -} - -export interface GlossaryCreateGlossaryTermMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type GlossaryCreateGlossaryTermParameters = GlossaryCreateGlossaryTermQueryParam & - GlossaryCreateGlossaryTermMediaTypesParam & - GlossaryCreateGlossaryTermBodyParam & - RequestParameters; - -export interface GlossaryGetGlossaryTermQueryParamProperties { - /** Whether include term hierarchy */ - includeTermHierarchy?: boolean; - /** An array of relationship types which need to be excluded. */ - excludeRelationshipTypes?: Array; -} - -export interface GlossaryGetGlossaryTermQueryParam { - queryParameters?: GlossaryGetGlossaryTermQueryParamProperties; -} - -export type GlossaryGetGlossaryTermParameters = GlossaryGetGlossaryTermQueryParam & - RequestParameters; - -export interface GlossaryUpdateGlossaryTermBodyParam { - /** The glossary term to be updated. */ - body: AtlasGlossaryTerm; -} - -export interface GlossaryUpdateGlossaryTermQueryParamProperties { - /** Whether include term hierarchy */ - includeTermHierarchy?: boolean; -} - -export interface GlossaryUpdateGlossaryTermQueryParam { - queryParameters?: GlossaryUpdateGlossaryTermQueryParamProperties; -} - -export interface GlossaryUpdateGlossaryTermMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type GlossaryUpdateGlossaryTermParameters = GlossaryUpdateGlossaryTermQueryParam & - GlossaryUpdateGlossaryTermMediaTypesParam & - GlossaryUpdateGlossaryTermBodyParam & - RequestParameters; -export type GlossaryDeleteGlossaryTermParameters = RequestParameters; - -export interface GlossaryPartialUpdateGlossaryTermBodyParam { - /** A map containing keys as attribute names and values as corresponding attribute values to be updated. */ - body: Record; -} - -export interface GlossaryPartialUpdateGlossaryTermQueryParamProperties { - /** Whether include term hierarchy */ - includeTermHierarchy?: boolean; -} - -export interface GlossaryPartialUpdateGlossaryTermQueryParam { - queryParameters?: GlossaryPartialUpdateGlossaryTermQueryParamProperties; -} - -export interface GlossaryPartialUpdateGlossaryTermMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type GlossaryPartialUpdateGlossaryTermParameters = - GlossaryPartialUpdateGlossaryTermQueryParam & - GlossaryPartialUpdateGlossaryTermMediaTypesParam & - GlossaryPartialUpdateGlossaryTermBodyParam & - RequestParameters; - -export interface GlossaryCreateGlossaryTermsBodyParam { - /** An array of glossary term definitions to be created in bulk. */ - body: Array; -} - -export interface GlossaryCreateGlossaryTermsQueryParamProperties { - /** Whether include term hierarchy */ - includeTermHierarchy?: boolean; -} - -export interface GlossaryCreateGlossaryTermsQueryParam { - queryParameters?: GlossaryCreateGlossaryTermsQueryParamProperties; -} - -export interface GlossaryCreateGlossaryTermsMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type GlossaryCreateGlossaryTermsParameters = GlossaryCreateGlossaryTermsQueryParam & - GlossaryCreateGlossaryTermsMediaTypesParam & - GlossaryCreateGlossaryTermsBodyParam & - RequestParameters; - -export interface GlossaryGetEntitiesAssignedWithTermQueryParamProperties { - /** The page size - by default there is no paging. */ - limit?: number; - /** The offset for pagination purpose. */ - offset?: number; - /** The sort order, ASC (default) or DESC. */ - sort?: string; -} - -export interface GlossaryGetEntitiesAssignedWithTermQueryParam { - queryParameters?: GlossaryGetEntitiesAssignedWithTermQueryParamProperties; -} - -export type GlossaryGetEntitiesAssignedWithTermParameters = - GlossaryGetEntitiesAssignedWithTermQueryParam & RequestParameters; - -export interface GlossaryAssignTermToEntitiesBodyParam { - /** An array of related object IDs to which the term has to be associated. */ - body: Array; -} - -export interface GlossaryAssignTermToEntitiesMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type GlossaryAssignTermToEntitiesParameters = GlossaryAssignTermToEntitiesMediaTypesParam & - GlossaryAssignTermToEntitiesBodyParam & - RequestParameters; - -export interface GlossaryRemoveTermAssignmentFromEntitiesBodyParam { - /** An array of related object IDs from which the term has to be dissociated. */ - body: Array; -} - -export interface GlossaryRemoveTermAssignmentFromEntitiesMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type GlossaryRemoveTermAssignmentFromEntitiesParameters = - GlossaryRemoveTermAssignmentFromEntitiesMediaTypesParam & - GlossaryRemoveTermAssignmentFromEntitiesBodyParam & - RequestParameters; - -export interface GlossaryDeleteTermAssignmentFromEntitiesBodyParam { - /** An array of related object IDs from which the term has to be dissociated. */ - body: Array; -} - -export interface GlossaryDeleteTermAssignmentFromEntitiesMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type GlossaryDeleteTermAssignmentFromEntitiesParameters = - GlossaryDeleteTermAssignmentFromEntitiesMediaTypesParam & - GlossaryDeleteTermAssignmentFromEntitiesBodyParam & - RequestParameters; - -export interface GlossaryListRelatedTermsQueryParamProperties { - /** The page size - by default there is no paging. */ - limit?: number; - /** The offset for pagination purpose. */ - offset?: number; - /** The sort order, ASC (default) or DESC. */ - sort?: string; -} - -export interface GlossaryListRelatedTermsQueryParam { - queryParameters?: GlossaryListRelatedTermsQueryParamProperties; -} - -export type GlossaryListRelatedTermsParameters = GlossaryListRelatedTermsQueryParam & - RequestParameters; -export type GlossaryGetGlossaryParameters = RequestParameters; - -export interface GlossaryUpdateGlossaryBodyParam { - /** The glossary definition to be updated. */ - body: AtlasGlossary; -} - -export interface GlossaryUpdateGlossaryMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type GlossaryUpdateGlossaryParameters = GlossaryUpdateGlossaryMediaTypesParam & - GlossaryUpdateGlossaryBodyParam & - RequestParameters; -export type GlossaryDeleteGlossaryParameters = RequestParameters; - -export interface GlossaryListGlossaryCategoriesQueryParamProperties { - /** The page size - by default there is no paging. */ - limit?: number; - /** The offset for pagination purpose. */ - offset?: number; - /** The sort order, ASC (default) or DESC. */ - sort?: string; -} - -export interface GlossaryListGlossaryCategoriesQueryParam { - queryParameters?: GlossaryListGlossaryCategoriesQueryParamProperties; -} - -export type GlossaryListGlossaryCategoriesParameters = GlossaryListGlossaryCategoriesQueryParam & - RequestParameters; - -export interface GlossaryListGlossaryCategoriesHeadersQueryParamProperties { - /** The page size - by default there is no paging. */ - limit?: number; - /** The offset for pagination purpose. */ - offset?: number; - /** The sort order, ASC (default) or DESC. */ - sort?: string; -} - -export interface GlossaryListGlossaryCategoriesHeadersQueryParam { - queryParameters?: GlossaryListGlossaryCategoriesHeadersQueryParamProperties; -} - -export type GlossaryListGlossaryCategoriesHeadersParameters = - GlossaryListGlossaryCategoriesHeadersQueryParam & RequestParameters; - -export interface GlossaryGetDetailedGlossaryQueryParamProperties { - /** Whether include term hierarchy */ - includeTermHierarchy?: boolean; -} - -export interface GlossaryGetDetailedGlossaryQueryParam { - queryParameters?: GlossaryGetDetailedGlossaryQueryParamProperties; -} - -export type GlossaryGetDetailedGlossaryParameters = GlossaryGetDetailedGlossaryQueryParam & - RequestParameters; - -export interface GlossaryPartialUpdateGlossaryBodyParam { - /** A map containing keys as attribute names and values as corresponding attribute values. */ - body: Record; -} - -export interface GlossaryPartialUpdateGlossaryQueryParamProperties { - /** Whether include term hierarchy */ - includeTermHierarchy?: boolean; -} - -export interface GlossaryPartialUpdateGlossaryQueryParam { - queryParameters?: GlossaryPartialUpdateGlossaryQueryParamProperties; -} - -export interface GlossaryPartialUpdateGlossaryMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type GlossaryPartialUpdateGlossaryParameters = GlossaryPartialUpdateGlossaryQueryParam & - GlossaryPartialUpdateGlossaryMediaTypesParam & - GlossaryPartialUpdateGlossaryBodyParam & - RequestParameters; - -export interface GlossaryListGlossaryTermsQueryParamProperties { - /** Whether include term hierarchy */ - includeTermHierarchy?: boolean; - /** The page size - by default there is no paging. */ - limit?: number; - /** The offset for pagination purpose. */ - offset?: number; - /** The sort order, ASC (default) or DESC. */ - sort?: string; -} - -export interface GlossaryListGlossaryTermsQueryParam { - queryParameters?: GlossaryListGlossaryTermsQueryParamProperties; -} - -export type GlossaryListGlossaryTermsParameters = GlossaryListGlossaryTermsQueryParam & - RequestParameters; - -export interface GlossaryListGlossaryTermHeadersQueryParamProperties { - /** The page size - by default there is no paging. */ - limit?: number; - /** The offset for pagination purpose. */ - offset?: number; - /** The sort order, ASC (default) or DESC. */ - sort?: string; -} - -export interface GlossaryListGlossaryTermHeadersQueryParam { - queryParameters?: GlossaryListGlossaryTermHeadersQueryParamProperties; -} - -export type GlossaryListGlossaryTermHeadersParameters = GlossaryListGlossaryTermHeadersQueryParam & - RequestParameters; - -export interface GlossaryImportGlossaryTermsViaCsvBodyParam { - body: GlossaryImportGlossaryTermsViaCsvFormBody; -} - -export interface GlossaryImportGlossaryTermsViaCsvFormBody { - /** - * The csv file to import glossary terms from. - * - * Value may contain any sequence of octets - */ - file: string | Uint8Array; -} - -export interface GlossaryImportGlossaryTermsViaCsvQueryParamProperties { - /** Whether include term hierarchy */ - includeTermHierarchy?: boolean; -} - -export interface GlossaryImportGlossaryTermsViaCsvQueryParam { - queryParameters?: GlossaryImportGlossaryTermsViaCsvQueryParamProperties; -} - -export interface GlossaryImportGlossaryTermsViaCsvMediaTypesParam { - /** Request content type */ - contentType?: "multipart/form-data"; -} - -export type GlossaryImportGlossaryTermsViaCsvParameters = - GlossaryImportGlossaryTermsViaCsvQueryParam & - GlossaryImportGlossaryTermsViaCsvMediaTypesParam & - GlossaryImportGlossaryTermsViaCsvBodyParam & - RequestParameters; - -export interface GlossaryImportGlossaryTermsViaCsvByGlossaryNameBodyParam { - body: GlossaryImportGlossaryTermsViaCsvByGlossaryNameFormBody; -} - -export interface GlossaryImportGlossaryTermsViaCsvByGlossaryNameFormBody { - /** - * The csv file to import glossary terms from. - * - * Value may contain any sequence of octets - */ - file: string | Uint8Array; -} - -export interface GlossaryImportGlossaryTermsViaCsvByGlossaryNameQueryParamProperties { - /** Whether include term hierarchy */ - includeTermHierarchy?: boolean; -} - -export interface GlossaryImportGlossaryTermsViaCsvByGlossaryNameQueryParam { - queryParameters?: GlossaryImportGlossaryTermsViaCsvByGlossaryNameQueryParamProperties; -} - -export interface GlossaryImportGlossaryTermsViaCsvByGlossaryNameMediaTypesParam { - /** Request content type */ - contentType?: "multipart/form-data"; -} - -export type GlossaryImportGlossaryTermsViaCsvByGlossaryNameParameters = - GlossaryImportGlossaryTermsViaCsvByGlossaryNameQueryParam & - GlossaryImportGlossaryTermsViaCsvByGlossaryNameMediaTypesParam & - GlossaryImportGlossaryTermsViaCsvByGlossaryNameBodyParam & - RequestParameters; -export type GlossaryGetImportCsvOperationStatusParameters = RequestParameters; - -export interface GlossaryExportGlossaryTermsAsCsvBodyParam { - /** An array of term guids. */ - body: Array; -} - -export interface GlossaryExportGlossaryTermsAsCsvQueryParamProperties { - /** Whether include term hierarchy */ - includeTermHierarchy?: boolean; -} - -export interface GlossaryExportGlossaryTermsAsCsvQueryParam { - queryParameters?: GlossaryExportGlossaryTermsAsCsvQueryParamProperties; -} - -export interface GlossaryExportGlossaryTermsAsCsvMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type GlossaryExportGlossaryTermsAsCsvParameters = - GlossaryExportGlossaryTermsAsCsvQueryParam & - GlossaryExportGlossaryTermsAsCsvMediaTypesParam & - GlossaryExportGlossaryTermsAsCsvBodyParam & - RequestParameters; - -export interface GlossaryListTermsByGlossaryNameQueryParamProperties { - /** The page size - by default there is no paging. */ - limit?: number; - /** The offset for pagination purpose. */ - offset?: number; - /** Whether include term hierarchy */ - includeTermHierarchy?: boolean; -} - -export interface GlossaryListTermsByGlossaryNameQueryParam { - queryParameters?: GlossaryListTermsByGlossaryNameQueryParamProperties; -} - -export type GlossaryListTermsByGlossaryNameParameters = GlossaryListTermsByGlossaryNameQueryParam & - RequestParameters; - -export interface DiscoveryQueryBodyParam { - /** An object specifying the search criteria. */ - body: SearchRequest; -} - -export interface DiscoveryQueryMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type DiscoveryQueryParameters = DiscoveryQueryMediaTypesParam & - DiscoveryQueryBodyParam & - RequestParameters; - -export interface DiscoverySuggestBodyParam { - /** An object specifying the suggest criteria. */ - body: SuggestRequest; -} - -export interface DiscoverySuggestMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type DiscoverySuggestParameters = DiscoverySuggestMediaTypesParam & - DiscoverySuggestBodyParam & - RequestParameters; - -export interface DiscoveryBrowseBodyParam { - /** An object specifying the browse criteria. */ - body: BrowseRequest; -} - -export interface DiscoveryBrowseMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type DiscoveryBrowseParameters = DiscoveryBrowseMediaTypesParam & - DiscoveryBrowseBodyParam & - RequestParameters; - -export interface DiscoveryAutoCompleteBodyParam { - /** An object specifying the autocomplete criteria. */ - body: AutoCompleteRequest; -} - -export interface DiscoveryAutoCompleteMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type DiscoveryAutoCompleteParameters = DiscoveryAutoCompleteMediaTypesParam & - DiscoveryAutoCompleteBodyParam & - RequestParameters; - -export interface LineageGetLineageGraphQueryParamProperties { - /** The number of hops for lineage. */ - depth?: number; - /** The number of max expanding width in lineage. */ - width?: number; - /** The direction of the lineage, which could be INPUT, OUTPUT or BOTH. */ - direction: "BOTH" | "INPUT" | "OUTPUT"; - /** True to include the parent chain in the response. */ - includeParent?: boolean; - /** True to include derived lineage in the response */ - getDerivedLineage?: boolean; -} - -export interface LineageGetLineageGraphQueryParam { - queryParameters: LineageGetLineageGraphQueryParamProperties; -} - -export type LineageGetLineageGraphParameters = LineageGetLineageGraphQueryParam & RequestParameters; - -export interface LineageNextPageLineageQueryParamProperties { - /** The direction of the lineage, which could be INPUT, OUTPUT or BOTH. */ - direction: "BOTH" | "INPUT" | "OUTPUT"; - /** True to include derived lineage in the response */ - getDerivedLineage?: boolean; - /** The offset for pagination purpose. */ - offset?: number; - /** The page size - by default there is no paging. */ - limit?: number; -} - -export interface LineageNextPageLineageQueryParam { - queryParameters: LineageNextPageLineageQueryParamProperties; -} - -export type LineageNextPageLineageParameters = LineageNextPageLineageQueryParam & RequestParameters; - -export interface LineageGetLineageByUniqueAttributeQueryParamProperties { - /** The number of hops for lineage. */ - depth?: number; - /** The number of max expanding width in lineage. */ - width?: number; - /** The direction of the lineage, which could be INPUT, OUTPUT or BOTH. */ - direction: "BOTH" | "INPUT" | "OUTPUT"; - /** True to include the parent chain in the response. */ - includeParent?: boolean; - /** True to include derived lineage in the response */ - getDerivedLineage?: boolean; -} - -export interface LineageGetLineageByUniqueAttributeQueryParam { - queryParameters: LineageGetLineageByUniqueAttributeQueryParamProperties; -} - -export type LineageGetLineageByUniqueAttributeParameters = - LineageGetLineageByUniqueAttributeQueryParam & RequestParameters; - -export interface RelationshipCreateBodyParam { - /** The AtlasRelationship object containing the information for the relationship to be created. */ - body: AtlasRelationship; -} - -export interface RelationshipCreateMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type RelationshipCreateParameters = RelationshipCreateMediaTypesParam & - RelationshipCreateBodyParam & - RequestParameters; - -export interface RelationshipUpdateBodyParam { - /** The AtlasRelationship object containing the information for the relationship to be created. */ - body: AtlasRelationship; -} - -export interface RelationshipUpdateMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type RelationshipUpdateParameters = RelationshipUpdateMediaTypesParam & - RelationshipUpdateBodyParam & - RequestParameters; - -export interface RelationshipGetQueryParamProperties { - /** Limits whether includes extended information. */ - extendedInfo?: boolean; -} - -export interface RelationshipGetQueryParam { - queryParameters?: RelationshipGetQueryParamProperties; -} - -export type RelationshipGetParameters = RelationshipGetQueryParam & RequestParameters; -export type RelationshipDeleteParameters = RequestParameters; -export type TypesGetBusinessMetadataDefByGuidParameters = RequestParameters; -export type TypesGetBusinessMetadataDefByNameParameters = RequestParameters; -export type TypesGetClassificationDefByGuidParameters = RequestParameters; -export type TypesGetClassificationDefByNameParameters = RequestParameters; -export type TypesGetEntityDefinitionByGuidParameters = RequestParameters; -export type TypesGetEntityDefinitionByNameParameters = RequestParameters; -export type TypesGetEnumDefByGuidParameters = RequestParameters; -export type TypesGetEnumDefByNameParameters = RequestParameters; -export type TypesGetRelationshipDefByGuidParameters = RequestParameters; -export type TypesGetRelationshipDefByNameParameters = RequestParameters; -export type TypesGetStructDefByGuidParameters = RequestParameters; -export type TypesGetStructDefByNameParameters = RequestParameters; -export type TypesGetTypeDefinitionByGuidParameters = RequestParameters; -export type TypesGetTypeDefinitionByNameParameters = RequestParameters; -export type TypesDeleteTypeByNameParameters = RequestParameters; - -export interface TypesGetAllTypeDefinitionsQueryParamProperties { - /** - * Whether include termtemplatedef when return all typedefs. - * This is always true when search filter type=term_template - */ - includeTermTemplate?: boolean; - /** Typedef name as search filter when get typedefs. */ - type?: "enum" | "entity" | "classification" | "relationship" | "struct" | "term_template"; -} - -export interface TypesGetAllTypeDefinitionsQueryParam { - queryParameters?: TypesGetAllTypeDefinitionsQueryParamProperties; -} - -export type TypesGetAllTypeDefinitionsParameters = TypesGetAllTypeDefinitionsQueryParam & - RequestParameters; - -export interface TypesCreateTypeDefinitionsBodyParam { - /** A composite wrapper object with corresponding lists of the type definition. */ - body: AtlasTypesDef; -} - -export interface TypesCreateTypeDefinitionsMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type TypesCreateTypeDefinitionsParameters = TypesCreateTypeDefinitionsMediaTypesParam & - TypesCreateTypeDefinitionsBodyParam & - RequestParameters; - -export interface TypesUpdateAtlasTypeDefinitionsBodyParam { - /** A composite object that captures all type definition changes. */ - body: AtlasTypesDef; -} - -export interface TypesUpdateAtlasTypeDefinitionsMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type TypesUpdateAtlasTypeDefinitionsParameters = - TypesUpdateAtlasTypeDefinitionsMediaTypesParam & - TypesUpdateAtlasTypeDefinitionsBodyParam & - RequestParameters; - -export interface TypesDeleteTypeDefinitionsBodyParam { - /** A composite object that captures all types to be deleted */ - body: AtlasTypesDef; -} - -export interface TypesDeleteTypeDefinitionsMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type TypesDeleteTypeDefinitionsParameters = TypesDeleteTypeDefinitionsMediaTypesParam & - TypesDeleteTypeDefinitionsBodyParam & - RequestParameters; - -export interface TypesListTypeDefinitionHeadersQueryParamProperties { - /** - * Whether include termtemplatedef when return all typedefs. - * This is always true when search filter type=term_template - */ - includeTermTemplate?: boolean; - /** Typedef name as search filter when get typedefs. */ - type?: "enum" | "entity" | "classification" | "relationship" | "struct" | "term_template"; -} - -export interface TypesListTypeDefinitionHeadersQueryParam { - queryParameters?: TypesListTypeDefinitionHeadersQueryParamProperties; -} - -export type TypesListTypeDefinitionHeadersParameters = TypesListTypeDefinitionHeadersQueryParam & - RequestParameters; -export type TypesGetTermTemplateDefByGuidParameters = RequestParameters; -export type TypesGetTermTemplateDefByNameParameters = RequestParameters; - -export interface CollectionCreateOrUpdateBodyParam { - /** Atlas entity with extended information. */ - body: AtlasEntityWithExtInfo; -} - -export interface CollectionCreateOrUpdateMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type CollectionCreateOrUpdateParameters = CollectionCreateOrUpdateMediaTypesParam & - CollectionCreateOrUpdateBodyParam & - RequestParameters; - -export interface CollectionCreateOrUpdateBulkBodyParam { - /** Atlas entities with extended information. */ - body: AtlasEntitiesWithExtInfo; -} - -export interface CollectionCreateOrUpdateBulkMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type CollectionCreateOrUpdateBulkParameters = CollectionCreateOrUpdateBulkMediaTypesParam & - CollectionCreateOrUpdateBulkBodyParam & - RequestParameters; - -export interface CollectionMoveEntitiesToCollectionBodyParam { - /** Entity guids to be moved to target collection. */ - body: MoveEntitiesRequest; -} - -export interface CollectionMoveEntitiesToCollectionMediaTypesParam { - /** Request content type */ - contentType?: "application/json"; -} - -export type CollectionMoveEntitiesToCollectionParameters = - CollectionMoveEntitiesToCollectionMediaTypesParam & - CollectionMoveEntitiesToCollectionBodyParam & - RequestParameters; diff --git a/sdk/purview/purview-catalog-rest/src/pollingHelper.ts b/sdk/purview/purview-catalog-rest/src/pollingHelper.ts deleted file mode 100644 index 914ab5dd8d01..000000000000 --- a/sdk/purview/purview-catalog-rest/src/pollingHelper.ts +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import type { Client, HttpResponse } from "@azure-rest/core-client"; -import type { - LongRunningOperation, - LroEngineOptions, - LroResponse, - PollerLike, - PollOperationState, -} from "@azure/core-lro"; -import { LroEngine } from "@azure/core-lro"; - -/** - * Helper function that builds a Poller object to help polling a long running operation. - * @param client - Client to use for sending the request to get additional pages. - * @param initialResponse - The initial response. - * @param options - Options to set a resume state or custom polling interval. - * @returns - A poller object to poll for operation state updates and eventually get the final response. - */ -export function getLongRunningPoller( - client: Client, - initialResponse: TResult, - options: LroEngineOptions> = {}, -): PollerLike, TResult> { - const poller: LongRunningOperation = { - requestMethod: initialResponse.request.method, - requestPath: initialResponse.request.url, - sendInitialRequest: async () => { - // In the case of Rest Clients we are building the LRO poller object from a response that's the reason - // we are not triggering the initial request here, just extracting the information from the - // response we were provided. - return getLroResponse(initialResponse); - }, - sendPollRequest: async (path) => { - // This is the callback that is going to be called to poll the service - // to get the latest status. We use the client provided and the polling path - // which is an opaque URL provided by caller, the service sends this in one of the following headers: operation-location, azure-asyncoperation or location - // depending on the lro pattern that the service implements. If non is provided we default to the initial path. - const response = await client.pathUnchecked(path ?? initialResponse.request.url).get(); - return getLroResponse(response as TResult); - }, - }; - - return new LroEngine(poller, options); -} - -/** - * Converts a Rest Client response to a response that the LRO engine knows about - * @param response - a rest client http response - * @returns - An LRO response that the LRO engine can work with - */ -function getLroResponse(response: TResult): LroResponse { - if (Number.isNaN(response.status)) { - throw new TypeError(`Status code of the response is not a number. Value: ${response.status}`); - } - - return { - flatResponse: response, - rawResponse: { - ...response, - statusCode: Number.parseInt(response.status), - body: response.body, - }, - }; -} diff --git a/sdk/purview/purview-catalog-rest/src/purviewCatalog.ts b/sdk/purview/purview-catalog-rest/src/purviewCatalog.ts deleted file mode 100644 index e7f6615609b8..000000000000 --- a/sdk/purview/purview-catalog-rest/src/purviewCatalog.ts +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import type { ClientOptions } from "@azure-rest/core-client"; -import { getClient } from "@azure-rest/core-client"; -import type { TokenCredential } from "@azure/core-auth"; -import type { PurviewCatalogClient } from "./clientDefinitions.js"; - -export default function createClient( - Endpoint: string, - credentials: TokenCredential, - options: ClientOptions = {}, -): PurviewCatalogClient { - const baseUrl = options.baseUrl ?? `${Endpoint}/catalog/api`; - options.apiVersion = options.apiVersion ?? "2022-03-01-preview"; - options = { - ...options, - credentials: { - scopes: ["https://purview.azure.net/.default"], - }, - }; - - const userAgentInfo = `azsdk-js-purview-catalog-rest/1.0.0-beta.5`; - const userAgentPrefix = - options.userAgentOptions && options.userAgentOptions.userAgentPrefix - ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}` - : `${userAgentInfo}`; - options = { - ...options, - userAgentOptions: { - userAgentPrefix, - }, - }; - - const client = getClient(baseUrl, credentials, options) as PurviewCatalogClient; - - return client; -} diff --git a/sdk/purview/purview-catalog-rest/src/responses.ts b/sdk/purview/purview-catalog-rest/src/responses.ts deleted file mode 100644 index c630ef69242b..000000000000 --- a/sdk/purview/purview-catalog-rest/src/responses.ts +++ /dev/null @@ -1,1396 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import type { HttpResponse } from "@azure-rest/core-client"; -import type { - EntityMutationResponseOutput, - ErrorResponseOutput, - AtlasEntitiesWithExtInfoOutput, - AtlasEntityWithExtInfoOutput, - AtlasClassificationOutput, - AtlasClassificationsOutput, - AtlasEntityHeaderOutput, - BulkImportResponseOutput, - AtlasGlossaryOutput, - AtlasGlossaryCategoryOutput, - AtlasRelatedCategoryHeaderOutput, - AtlasRelatedTermHeaderOutput, - AtlasGlossaryTermOutput, - AtlasRelatedObjectIdOutput, - AtlasGlossaryExtInfoOutput, - ImportCSVOperationOutput, - SearchResultOutput, - SuggestResultOutput, - BrowseResultOutput, - AutoCompleteResultOutput, - AtlasLineageInfoOutput, - AtlasRelationshipOutput, - AtlasRelationshipWithExtInfoOutput, - AtlasBusinessMetadataDefOutput, - AtlasClassificationDefOutput, - AtlasEntityDefOutput, - AtlasEnumDefOutput, - AtlasRelationshipDefOutput, - AtlasStructDefOutput, - AtlasTypeDefOutput, - AtlasTypesDefOutput, - AtlasTypeDefHeaderOutput, - TermTemplateDefOutput, -} from "./outputModels.js"; - -/** - * Create or update an entity in Atlas. - * Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. - * Map and array of collections are not well supported. E.g., array>, array>. - */ -export interface EntityCreateOrUpdate200Response extends HttpResponse { - status: "200"; - body: EntityMutationResponseOutput; -} - -/** - * Create or update an entity in Atlas. - * Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. - * Map and array of collections are not well supported. E.g., array>, array>. - */ -export interface EntityCreateOrUpdatedefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** List entities in bulk identified by its GUIDs. */ -export interface EntityListByGuids200Response extends HttpResponse { - status: "200"; - body: AtlasEntitiesWithExtInfoOutput; -} - -/** List entities in bulk identified by its GUIDs. */ -export interface EntityListByGuidsdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** - * Create or update entities in Atlas in bulk. - * Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. - * Map and array of collections are not well supported. E.g., array>, array>. - */ -export interface EntityCreateOrUpdateEntities200Response extends HttpResponse { - status: "200"; - body: EntityMutationResponseOutput; -} - -/** - * Create or update entities in Atlas in bulk. - * Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. - * Map and array of collections are not well supported. E.g., array>, array>. - */ -export interface EntityCreateOrUpdateEntitiesdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Delete a list of entities in bulk identified by their GUIDs or unique attributes. */ -export interface EntityDeleteByGuids200Response extends HttpResponse { - status: "200"; - body: EntityMutationResponseOutput; -} - -/** Delete a list of entities in bulk identified by their GUIDs or unique attributes. */ -export interface EntityDeleteByGuidsdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Associate a classification to multiple entities in bulk. */ -export interface EntityAddClassification204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Associate a classification to multiple entities in bulk. */ -export interface EntityAddClassificationdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get complete definition of an entity given its GUID. */ -export interface EntityGetByGuid200Response extends HttpResponse { - status: "200"; - body: AtlasEntityWithExtInfoOutput; -} - -/** Get complete definition of an entity given its GUID. */ -export interface EntityGetByGuiddefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** - * Update entity partially - create or update entity attribute identified by its GUID. - * Supports only primitive attribute type and entity references. - * It does not support updating complex types like arrays, and maps. - * Null updates are not possible. - */ -export interface EntityPartialUpdateEntityAttributeByGuid200Response extends HttpResponse { - status: "200"; - body: EntityMutationResponseOutput; -} - -/** - * Update entity partially - create or update entity attribute identified by its GUID. - * Supports only primitive attribute type and entity references. - * It does not support updating complex types like arrays, and maps. - * Null updates are not possible. - */ -export interface EntityPartialUpdateEntityAttributeByGuiddefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Delete an entity identified by its GUID. */ -export interface EntityDeleteByGuid200Response extends HttpResponse { - status: "200"; - body: EntityMutationResponseOutput; -} - -/** Delete an entity identified by its GUID. */ -export interface EntityDeleteByGuiddefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** List classifications for a given entity represented by a GUID. */ -export interface EntityGetClassification200Response extends HttpResponse { - status: "200"; - body: AtlasClassificationOutput; -} - -/** List classifications for a given entity represented by a GUID. */ -export interface EntityGetClassificationdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Delete a given classification from an existing entity represented by a GUID. */ -export interface EntityDeleteClassification204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Delete a given classification from an existing entity represented by a GUID. */ -export interface EntityDeleteClassificationdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** List classifications for a given entity represented by a GUID. */ -export interface EntityGetClassifications200Response extends HttpResponse { - status: "200"; - body: AtlasClassificationsOutput; -} - -/** List classifications for a given entity represented by a GUID. */ -export interface EntityGetClassificationsdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Add classifications to an existing entity represented by a GUID. */ -export interface EntityAddClassifications204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Add classifications to an existing entity represented by a GUID. */ -export interface EntityAddClassificationsdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Update classifications to an existing entity represented by a guid. */ -export interface EntityUpdateClassifications204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Update classifications to an existing entity represented by a guid. */ -export interface EntityUpdateClassificationsdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** - * Get complete definition of an entity given its type and unique attribute. - * In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: - * attr:\=. - * NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. - * The REST request would look something like this: - * GET /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. - */ -export interface EntityGetByUniqueAttributes200Response extends HttpResponse { - status: "200"; - body: AtlasEntityWithExtInfoOutput; -} - -/** - * Get complete definition of an entity given its type and unique attribute. - * In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: - * attr:\=. - * NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. - * The REST request would look something like this: - * GET /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. - */ -export interface EntityGetByUniqueAttributesdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** - * Update entity partially - Allow a subset of attributes to be updated on - * an entity which is identified by its type and unique attribute eg: Referenceable.qualifiedName. - * Null updates are not possible. - * In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: - * attr:=. - * NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. - * The REST request would look something like this: - * PUT /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. - */ -export interface EntityPartialUpdateEntityByUniqueAttributes200Response extends HttpResponse { - status: "200"; - body: EntityMutationResponseOutput; -} - -/** - * Update entity partially - Allow a subset of attributes to be updated on - * an entity which is identified by its type and unique attribute eg: Referenceable.qualifiedName. - * Null updates are not possible. - * In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: - * attr:=. - * NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. - * The REST request would look something like this: - * PUT /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. - */ -export interface EntityPartialUpdateEntityByUniqueAttributesdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** - * Delete an entity identified by its type and unique attributes. - * In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: - * attr:\=\. - * NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. - * The REST request would look something like this: - * DELETE /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. - */ -export interface EntityDeleteByUniqueAttribute200Response extends HttpResponse { - status: "200"; - body: EntityMutationResponseOutput; -} - -/** - * Delete an entity identified by its type and unique attributes. - * In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: - * attr:\=\. - * NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. - * The REST request would look something like this: - * DELETE /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. - */ -export interface EntityDeleteByUniqueAttributedefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Delete a given classification from an entity identified by its type and unique attributes. */ -export interface EntityDeleteClassificationByUniqueAttribute204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Delete a given classification from an entity identified by its type and unique attributes. */ -export interface EntityDeleteClassificationByUniqueAttributedefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Add classification to the entity identified by its type and unique attributes. */ -export interface EntityAddClassificationsByUniqueAttribute204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Add classification to the entity identified by its type and unique attributes. */ -export interface EntityAddClassificationsByUniqueAttributedefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Update classification on an entity identified by its type and unique attributes. */ -export interface EntityUpdateClassificationsByUniqueAttribute204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Update classification on an entity identified by its type and unique attributes. */ -export interface EntityUpdateClassificationsByUniqueAttributedefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Set classifications on entities in bulk. */ -export interface EntitySetClassifications200Response extends HttpResponse { - status: "200"; - body: Array; -} - -/** Set classifications on entities in bulk. */ -export interface EntitySetClassificationsdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** - * Bulk API to retrieve list of entities identified by its unique attributes. - * - * In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format - * - * typeName=\&attr_1:\=\&attr_2:\=\&attr_3:\=\ - * - * NOTE: The attrName should be an unique attribute for the given entity-type - * - * The REST request would look something like this - * - * GET /v2/entity/bulk/uniqueAttribute/type/hive_db?attr_0:qualifiedName=db1@cl1&attr_2:qualifiedName=db2@cl1 - */ -export interface EntityGetEntitiesByUniqueAttributes200Response extends HttpResponse { - status: "200"; - body: AtlasEntitiesWithExtInfoOutput; -} - -/** - * Bulk API to retrieve list of entities identified by its unique attributes. - * - * In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format - * - * typeName=\&attr_1:\=\&attr_2:\=\&attr_3:\=\ - * - * NOTE: The attrName should be an unique attribute for the given entity-type - * - * The REST request would look something like this - * - * GET /v2/entity/bulk/uniqueAttribute/type/hive_db?attr_0:qualifiedName=db1@cl1&attr_2:qualifiedName=db2@cl1 - */ -export interface EntityGetEntitiesByUniqueAttributesdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get entity header given its GUID. */ -export interface EntityGetHeader200Response extends HttpResponse { - status: "200"; - body: AtlasEntityHeaderOutput; -} - -/** Get entity header given its GUID. */ -export interface EntityGetHeaderdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Remove business metadata from an entity. */ -export interface EntityDeleteBusinessMetadata204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Add business metadata to an entity. */ -export interface EntityAddOrUpdateBusinessMetadata204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Delete business metadata attributes from an entity. */ -export interface EntityDeleteBusinessMetadataAttributes204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Add or update business metadata attributes */ -export interface EntityAddOrUpdateBusinessMetadataAttributes204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Get the sample Template for uploading/creating bulk BusinessMetaData */ -export interface EntityGetSampleBusinessMetadataTemplate200Response extends HttpResponse { - status: "200"; - /** Value may contain any sequence of octets */ - body: Uint8Array; -} - -/** Get the sample Template for uploading/creating bulk BusinessMetaData */ -export interface EntityGetSampleBusinessMetadataTemplate400Response extends HttpResponse { - status: "400"; - body: Record; -} - -/** Upload the file for creating Business Metadata in BULK */ -export interface EntityImportBusinessMetadata200Response extends HttpResponse { - status: "200"; - body: BulkImportResponseOutput; -} - -/** Upload the file for creating Business Metadata in BULK */ -export interface EntityImportBusinessMetadata400Response extends HttpResponse { - status: "400"; - body: Record; -} - -/** Upload the file for creating Business Metadata in BULK */ -export interface EntityImportBusinessMetadata409Response extends HttpResponse { - status: "409"; - body: Record; -} - -/** delete given labels to a given entity */ -export interface EntityDeleteLabels204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Set labels to a given entity */ -export interface EntitySetLabels204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** add given labels to a given entity */ -export interface EntityAddLabel204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Delete given labels to a given entity identified by its type and unique attributes, if labels is null/empty, no labels will be removed. If any labels in labels set are non-existing labels, they will be ignored, only existing labels will be removed. In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: attr:=. NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. The REST request would look something like this: DELETE /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. */ -export interface EntityDeleteLabelsByUniqueAttribute204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Set labels to a given entity identified by its type and unique attributes, if labels is null/empty, existing labels will all be removed. In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: attr:=. NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. The REST request would look something like this: POST /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. */ -export interface EntitySetLabelsByUniqueAttribute204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Add given labels to a given entity identified by its type and unique attributes, if labels is null/empty, no labels will be added. In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format: attr:=. NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName. The REST request would look something like this: PUT /v2/entity/uniqueAttribute/type/aType?attr:aTypeAttribute=someValue. */ -export interface EntityAddLabelsByUniqueAttribute204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Get all glossaries registered with Atlas. */ -export interface GlossaryListGlossaries200Response extends HttpResponse { - status: "200"; - body: Array; -} - -/** Get all glossaries registered with Atlas. */ -export interface GlossaryListGlossariesdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Create a glossary. */ -export interface GlossaryCreateGlossary200Response extends HttpResponse { - status: "200"; - body: AtlasGlossaryOutput; -} - -/** Create a glossary. */ -export interface GlossaryCreateGlossarydefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Create glossary category in bulk. */ -export interface GlossaryCreateGlossaryCategories200Response extends HttpResponse { - status: "200"; - body: Array; -} - -/** Create glossary category in bulk. */ -export interface GlossaryCreateGlossaryCategoriesdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Create a glossary category. */ -export interface GlossaryCreateGlossaryCategory200Response extends HttpResponse { - status: "200"; - body: AtlasGlossaryCategoryOutput; -} - -/** Create a glossary category. */ -export interface GlossaryCreateGlossaryCategorydefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get specific glossary category by its GUID. */ -export interface GlossaryGetGlossaryCategory200Response extends HttpResponse { - status: "200"; - body: AtlasGlossaryCategoryOutput; -} - -/** Get specific glossary category by its GUID. */ -export interface GlossaryGetGlossaryCategorydefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Update the given glossary category by its GUID. */ -export interface GlossaryUpdateGlossaryCategory200Response extends HttpResponse { - status: "200"; - body: AtlasGlossaryCategoryOutput; -} - -/** Update the given glossary category by its GUID. */ -export interface GlossaryUpdateGlossaryCategorydefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Delete a glossary category. */ -export interface GlossaryDeleteGlossaryCategory204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Delete a glossary category. */ -export interface GlossaryDeleteGlossaryCategorydefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Update the glossary category partially. */ -export interface GlossaryPartialUpdateGlossaryCategory200Response extends HttpResponse { - status: "200"; - body: AtlasGlossaryCategoryOutput; -} - -/** Update the glossary category partially. */ -export interface GlossaryPartialUpdateGlossaryCategorydefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get all related categories (parent and children). Limit, offset, and sort parameters are currently not being enabled and won't work even they are passed. */ -export interface GlossaryListRelatedCategories200Response extends HttpResponse { - status: "200"; - body: Record>; -} - -/** Get all related categories (parent and children). Limit, offset, and sort parameters are currently not being enabled and won't work even they are passed. */ -export interface GlossaryListRelatedCategoriesdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get all terms associated with the specific category. */ -export interface GlossaryListCategoryTerms200Response extends HttpResponse { - status: "200"; - body: Array; -} - -/** Get all terms associated with the specific category. */ -export interface GlossaryListCategoryTermsdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Create a glossary term. */ -export interface GlossaryCreateGlossaryTerm200Response extends HttpResponse { - status: "200"; - body: AtlasGlossaryTermOutput; -} - -/** Create a glossary term. */ -export interface GlossaryCreateGlossaryTermdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get a specific glossary term by its GUID. */ -export interface GlossaryGetGlossaryTerm200Response extends HttpResponse { - status: "200"; - body: AtlasGlossaryTermOutput; -} - -/** Get a specific glossary term by its GUID. */ -export interface GlossaryGetGlossaryTermdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Update the given glossary term by its GUID. */ -export interface GlossaryUpdateGlossaryTerm200Response extends HttpResponse { - status: "200"; - body: AtlasGlossaryTermOutput; -} - -/** Update the given glossary term by its GUID. */ -export interface GlossaryUpdateGlossaryTermdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Delete a glossary term. */ -export interface GlossaryDeleteGlossaryTerm204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Delete a glossary term. */ -export interface GlossaryDeleteGlossaryTermdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Update the glossary term partially. */ -export interface GlossaryPartialUpdateGlossaryTerm200Response extends HttpResponse { - status: "200"; - body: AtlasGlossaryTermOutput; -} - -/** Update the glossary term partially. */ -export interface GlossaryPartialUpdateGlossaryTermdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Create glossary terms in bulk. */ -export interface GlossaryCreateGlossaryTerms200Response extends HttpResponse { - status: "200"; - body: Array; -} - -/** Create glossary terms in bulk. */ -export interface GlossaryCreateGlossaryTermsdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get all related objects assigned with the specified term. */ -export interface GlossaryGetEntitiesAssignedWithTerm200Response extends HttpResponse { - status: "200"; - body: Array; -} - -/** Get all related objects assigned with the specified term. */ -export interface GlossaryGetEntitiesAssignedWithTermdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Assign the given term to the provided list of related objects. */ -export interface GlossaryAssignTermToEntities204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Assign the given term to the provided list of related objects. */ -export interface GlossaryAssignTermToEntitiesdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Delete the term assignment for the given list of related objects. */ -export interface GlossaryRemoveTermAssignmentFromEntities204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Delete the term assignment for the given list of related objects. */ -export interface GlossaryRemoveTermAssignmentFromEntitiesdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Delete the term assignment for the given list of related objects. */ -export interface GlossaryDeleteTermAssignmentFromEntities204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Delete the term assignment for the given list of related objects. */ -export interface GlossaryDeleteTermAssignmentFromEntitiesdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get all related terms for a specific term by its GUID. Limit, offset, and sort parameters are currently not being enabled and won't work even they are passed. */ -export interface GlossaryListRelatedTerms200Response extends HttpResponse { - status: "200"; - body: Record>; -} - -/** Get all related terms for a specific term by its GUID. Limit, offset, and sort parameters are currently not being enabled and won't work even they are passed. */ -export interface GlossaryListRelatedTermsdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get a specific Glossary by its GUID. */ -export interface GlossaryGetGlossary200Response extends HttpResponse { - status: "200"; - body: AtlasGlossaryOutput; -} - -/** Get a specific Glossary by its GUID. */ -export interface GlossaryGetGlossarydefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Update the given glossary. */ -export interface GlossaryUpdateGlossary200Response extends HttpResponse { - status: "200"; - body: AtlasGlossaryOutput; -} - -/** Update the given glossary. */ -export interface GlossaryUpdateGlossarydefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Delete a glossary. */ -export interface GlossaryDeleteGlossary204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Delete a glossary. */ -export interface GlossaryDeleteGlossarydefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get the categories belonging to a specific glossary. */ -export interface GlossaryListGlossaryCategories200Response extends HttpResponse { - status: "200"; - body: Array; -} - -/** Get the categories belonging to a specific glossary. */ -export interface GlossaryListGlossaryCategoriesdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get the category headers belonging to a specific glossary. */ -export interface GlossaryListGlossaryCategoriesHeaders200Response extends HttpResponse { - status: "200"; - body: Array; -} - -/** Get the category headers belonging to a specific glossary. */ -export interface GlossaryListGlossaryCategoriesHeadersdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get a specific glossary with detailed information. */ -export interface GlossaryGetDetailedGlossary200Response extends HttpResponse { - status: "200"; - body: AtlasGlossaryExtInfoOutput; -} - -/** Get a specific glossary with detailed information. */ -export interface GlossaryGetDetailedGlossarydefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Update the glossary partially. Some properties such as qualifiedName are not allowed to be updated. */ -export interface GlossaryPartialUpdateGlossary200Response extends HttpResponse { - status: "200"; - body: AtlasGlossaryOutput; -} - -/** Update the glossary partially. Some properties such as qualifiedName are not allowed to be updated. */ -export interface GlossaryPartialUpdateGlossarydefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get terms belonging to a specific glossary. */ -export interface GlossaryListGlossaryTerms200Response extends HttpResponse { - status: "200"; - body: Array; -} - -/** Get terms belonging to a specific glossary. */ -export interface GlossaryListGlossaryTermsdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get term headers belonging to a specific glossary. */ -export interface GlossaryListGlossaryTermHeaders200Response extends HttpResponse { - status: "200"; - body: Array; -} - -/** Get term headers belonging to a specific glossary. */ -export interface GlossaryListGlossaryTermHeadersdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Import Glossary Terms from local csv file */ -export interface GlossaryImportGlossaryTermsViaCsv202Response extends HttpResponse { - status: "202"; - body: ImportCSVOperationOutput; -} - -/** Import Glossary Terms from local csv file */ -export interface GlossaryImportGlossaryTermsViaCsvdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Import Glossary Terms from local csv file by glossaryName */ -export interface GlossaryImportGlossaryTermsViaCsvByGlossaryName202Response extends HttpResponse { - status: "202"; - body: ImportCSVOperationOutput; -} - -/** Import Glossary Terms from local csv file by glossaryName */ -export interface GlossaryImportGlossaryTermsViaCsvByGlossaryNamedefaultResponse - extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get the status of import csv operation */ -export interface GlossaryGetImportCsvOperationStatus200Response extends HttpResponse { - status: "200"; - body: ImportCSVOperationOutput; -} - -/** Get the status of import csv operation */ -export interface GlossaryGetImportCsvOperationStatusdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Export Glossary Terms as csv file */ -export interface GlossaryExportGlossaryTermsAsCsv200Response extends HttpResponse { - status: "200"; - /** Value may contain any sequence of octets */ - body: Uint8Array; -} - -/** Export Glossary Terms as csv file */ -export interface GlossaryExportGlossaryTermsAsCsvdefaultResponse extends HttpResponse { - status: "500"; - body: Record; -} - -/** Get terms by glossary name. */ -export interface GlossaryListTermsByGlossaryName200Response extends HttpResponse { - status: "200"; - body: Array; -} - -/** Get terms by glossary name. */ -export interface GlossaryListTermsByGlossaryNamedefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Gets data using search. */ -export interface DiscoveryQuery200Response extends HttpResponse { - status: "200"; - body: SearchResultOutput; -} - -/** Gets data using search. */ -export interface DiscoveryQuerydefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get search suggestions by query criteria. */ -export interface DiscoverySuggest200Response extends HttpResponse { - status: "200"; - body: SuggestResultOutput; -} - -/** Get search suggestions by query criteria. */ -export interface DiscoverySuggestdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Browse entities by path or entity type. */ -export interface DiscoveryBrowse200Response extends HttpResponse { - status: "200"; - body: BrowseResultOutput; -} - -/** Browse entities by path or entity type. */ -export interface DiscoveryBrowsedefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get auto complete options. */ -export interface DiscoveryAutoComplete200Response extends HttpResponse { - status: "200"; - body: AutoCompleteResultOutput; -} - -/** Get auto complete options. */ -export interface DiscoveryAutoCompletedefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get lineage info of the entity specified by GUID. */ -export interface LineageGetLineageGraph200Response extends HttpResponse { - status: "200"; - body: AtlasLineageInfoOutput; -} - -/** Get lineage info of the entity specified by GUID. */ -export interface LineageGetLineageGraphdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Return immediate next page lineage info about entity with pagination */ -export interface LineageNextPageLineage200Response extends HttpResponse { - status: "200"; - body: AtlasLineageInfoOutput; -} - -/** Return immediate next page lineage info about entity with pagination */ -export interface LineageNextPageLineagedefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** - * Returns lineage info about entity. - * - * In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format - * - * attr:[attrName]=[attrValue] - * - * NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName - */ -export interface LineageGetLineageByUniqueAttribute200Response extends HttpResponse { - status: "200"; - body: AtlasLineageInfoOutput; -} - -/** - * Returns lineage info about entity. - * - * In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format - * - * attr:[attrName]=[attrValue] - * - * NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName - */ -export interface LineageGetLineageByUniqueAttribute400Response extends HttpResponse { - status: "400"; - body: Record; -} - -/** - * Returns lineage info about entity. - * - * In addition to the typeName path parameter, attribute key-value pair(s) can be provided in the following format - * - * attr:[attrName]=[attrValue] - * - * NOTE: The attrName and attrValue should be unique across entities, eg. qualifiedName - */ -export interface LineageGetLineageByUniqueAttribute404Response extends HttpResponse { - status: "404"; - body: Record; -} - -/** Create a new relationship between entities. */ -export interface RelationshipCreate200Response extends HttpResponse { - status: "200"; - body: AtlasRelationshipOutput; -} - -/** Create a new relationship between entities. */ -export interface RelationshipCreatedefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Update an existing relationship between entities. */ -export interface RelationshipUpdate200Response extends HttpResponse { - status: "200"; - body: AtlasRelationshipOutput; -} - -/** Update an existing relationship between entities. */ -export interface RelationshipUpdatedefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get relationship information between entities by its GUID. */ -export interface RelationshipGet200Response extends HttpResponse { - status: "200"; - body: AtlasRelationshipWithExtInfoOutput; -} - -/** Get relationship information between entities by its GUID. */ -export interface RelationshipGetdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Delete a relationship between entities by its GUID. */ -export interface RelationshipDelete204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Delete a relationship between entities by its GUID. */ -export interface RelationshipDeletedefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get the businessMetadata definition for the given guid */ -export interface TypesGetBusinessMetadataDefByGuid200Response extends HttpResponse { - status: "200"; - body: AtlasBusinessMetadataDefOutput; -} - -/** Get the businessMetadata definition for the given guid */ -export interface TypesGetBusinessMetadataDefByGuid404Response extends HttpResponse { - status: "404"; - body: Record; -} - -/** Get the businessMetadata definition by it's name (unique) */ -export interface TypesGetBusinessMetadataDefByName200Response extends HttpResponse { - status: "200"; - body: AtlasBusinessMetadataDefOutput; -} - -/** Get the businessMetadata definition by it's name (unique) */ -export interface TypesGetBusinessMetadataDefByName404Response extends HttpResponse { - status: "404"; - body: Record; -} - -/** Get the classification definition for the given GUID. */ -export interface TypesGetClassificationDefByGuid200Response extends HttpResponse { - status: "200"; - body: AtlasClassificationDefOutput; -} - -/** Get the classification definition for the given GUID. */ -export interface TypesGetClassificationDefByGuiddefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get the classification definition by its name (unique). */ -export interface TypesGetClassificationDefByName200Response extends HttpResponse { - status: "200"; - body: AtlasClassificationDefOutput; -} - -/** Get the classification definition by its name (unique). */ -export interface TypesGetClassificationDefByNamedefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get the Entity definition for the given GUID. */ -export interface TypesGetEntityDefinitionByGuid200Response extends HttpResponse { - status: "200"; - body: AtlasEntityDefOutput; -} - -/** Get the Entity definition for the given GUID. */ -export interface TypesGetEntityDefinitionByGuiddefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get the entity definition by its name (unique). */ -export interface TypesGetEntityDefinitionByName200Response extends HttpResponse { - status: "200"; - body: AtlasEntityDefOutput; -} - -/** Get the entity definition by its name (unique). */ -export interface TypesGetEntityDefinitionByNamedefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get the enum definition for the given GUID. */ -export interface TypesGetEnumDefByGuid200Response extends HttpResponse { - status: "200"; - body: AtlasEnumDefOutput; -} - -/** Get the enum definition for the given GUID. */ -export interface TypesGetEnumDefByGuiddefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get the enum definition by its name (unique). */ -export interface TypesGetEnumDefByName200Response extends HttpResponse { - status: "200"; - body: AtlasEnumDefOutput; -} - -/** Get the enum definition by its name (unique). */ -export interface TypesGetEnumDefByNamedefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get the relationship definition for the given GUID. */ -export interface TypesGetRelationshipDefByGuid200Response extends HttpResponse { - status: "200"; - body: AtlasRelationshipDefOutput; -} - -/** Get the relationship definition for the given GUID. */ -export interface TypesGetRelationshipDefByGuiddefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get the relationship definition by its name (unique). */ -export interface TypesGetRelationshipDefByName200Response extends HttpResponse { - status: "200"; - body: AtlasRelationshipDefOutput; -} - -/** Get the relationship definition by its name (unique). */ -export interface TypesGetRelationshipDefByNamedefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get the struct definition for the given GUID. */ -export interface TypesGetStructDefByGuid200Response extends HttpResponse { - status: "200"; - body: AtlasStructDefOutput; -} - -/** Get the struct definition for the given GUID. */ -export interface TypesGetStructDefByGuiddefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get the struct definition by its name (unique). */ -export interface TypesGetStructDefByName200Response extends HttpResponse { - status: "200"; - body: AtlasStructDefOutput; -} - -/** Get the struct definition by its name (unique). */ -export interface TypesGetStructDefByNamedefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get the type definition for the given GUID. */ -export interface TypesGetTypeDefinitionByGuid200Response extends HttpResponse { - status: "200"; - body: AtlasTypeDefOutput; -} - -/** Get the type definition for the given GUID. */ -export interface TypesGetTypeDefinitionByGuiddefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get the type definition by its name (unique). */ -export interface TypesGetTypeDefinitionByName200Response extends HttpResponse { - status: "200"; - body: AtlasTypeDefOutput; -} - -/** Get the type definition by its name (unique). */ -export interface TypesGetTypeDefinitionByNamedefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Delete API for type identified by its name. */ -export interface TypesDeleteTypeByName204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Delete API for type identified by its name. */ -export interface TypesDeleteTypeByNamedefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get all type definitions in Atlas in bulk. */ -export interface TypesGetAllTypeDefinitions200Response extends HttpResponse { - status: "200"; - body: AtlasTypesDefOutput; -} - -/** Get all type definitions in Atlas in bulk. */ -export interface TypesGetAllTypeDefinitionsdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** - * Create all atlas type definitions in bulk, only new definitions will be created. - * Any changes to the existing definitions will be discarded. - */ -export interface TypesCreateTypeDefinitions200Response extends HttpResponse { - status: "200"; - body: AtlasTypesDefOutput; -} - -/** - * Create all atlas type definitions in bulk, only new definitions will be created. - * Any changes to the existing definitions will be discarded. - */ -export interface TypesCreateTypeDefinitionsdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Update all types in bulk, changes detected in the type definitions would be persisted. */ -export interface TypesUpdateAtlasTypeDefinitions200Response extends HttpResponse { - status: "200"; - body: AtlasTypesDefOutput; -} - -/** Update all types in bulk, changes detected in the type definitions would be persisted. */ -export interface TypesUpdateAtlasTypeDefinitionsdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Delete API for all types in bulk. */ -export interface TypesDeleteTypeDefinitions204Response extends HttpResponse { - status: "204"; - body: Record; -} - -/** Delete API for all types in bulk. */ -export interface TypesDeleteTypeDefinitionsdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** List all type definitions returned as a list of minimal information header. */ -export interface TypesListTypeDefinitionHeaders200Response extends HttpResponse { - status: "200"; - body: Array; -} - -/** List all type definitions returned as a list of minimal information header. */ -export interface TypesListTypeDefinitionHeadersdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get the term template definition for the given GUID. */ -export interface TypesGetTermTemplateDefByGuid200Response extends HttpResponse { - status: "200"; - body: TermTemplateDefOutput; -} - -/** Get the term template definition for the given GUID. */ -export interface TypesGetTermTemplateDefByGuiddefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Get the term template definition by its name (unique). */ -export interface TypesGetTermTemplateDefByName200Response extends HttpResponse { - status: "200"; - body: TermTemplateDefOutput; -} - -/** Get the term template definition by its name (unique). */ -export interface TypesGetTermTemplateDefByNamedefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** - * Creates or updates an entity to a collection. - * Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. - * Map and array of collections are not well supported. E.g., array>, array>. - */ -export interface CollectionCreateOrUpdate200Response extends HttpResponse { - status: "200"; - body: EntityMutationResponseOutput; -} - -/** - * Creates or updates an entity to a collection. - * Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. - * Map and array of collections are not well supported. E.g., array>, array>. - */ -export interface CollectionCreateOrUpdatedefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** - * Creates or updates entities in bulk to a collection. - * Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. - * Map and array of collections are not well supported. E.g., array>, array>. - */ -export interface CollectionCreateOrUpdateBulk200Response extends HttpResponse { - status: "200"; - body: EntityMutationResponseOutput; -} - -/** - * Creates or updates entities in bulk to a collection. - * Existing entity is matched using its unique guid if supplied or by its unique attributes eg: qualifiedName. - * Map and array of collections are not well supported. E.g., array>, array>. - */ -export interface CollectionCreateOrUpdateBulkdefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} - -/** Move existing entities to the target collection. */ -export interface CollectionMoveEntitiesToCollection200Response extends HttpResponse { - status: "200"; - body: EntityMutationResponseOutput; -} - -/** Move existing entities to the target collection. */ -export interface CollectionMoveEntitiesToCollectiondefaultResponse extends HttpResponse { - status: "500"; - body: ErrorResponseOutput; -} diff --git a/sdk/purview/purview-catalog-rest/swagger/README.md b/sdk/purview/purview-catalog-rest/swagger/README.md deleted file mode 100644 index bdc35ef9e07b..000000000000 --- a/sdk/purview/purview-catalog-rest/swagger/README.md +++ /dev/null @@ -1,31 +0,0 @@ -# Azure Purview Catalog TypeScript Protocol Layer - -> see https://aka.ms/autorest - -## Configuration - -```yaml -package-name: "@azure-rest/purview-catalog" -title: PurviewCatalog -description: Purview Catalog Client -generate-metadata: false -license-header: MICROSOFT_MIT_NO_VERSION -output-folder: ../ -source-code-folder-path: ./src -input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/ccbe894f6b012ca2000184307ed453fd68797b86/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2022-03-01-preview/purviewcatalog.json -package-version: 1.0.0-beta.6 -rest-level-client: true -add-credentials: true -credential-scopes: "https://purview.azure.net/.default" -use-extension: - "@autorest/typescript": "6.0.34" -module-kind: esm -``` - -```yaml -directive: - - from: swagger-document - where: $.definitions.SearchParameters - transform: > - $["x-ms-client-name"] = "searchParams"; -``` diff --git a/sdk/purview/purview-catalog-rest/test/public/glossary.spec.ts b/sdk/purview/purview-catalog-rest/test/public/glossary.spec.ts deleted file mode 100644 index 59a472d61cae..000000000000 --- a/sdk/purview/purview-catalog-rest/test/public/glossary.spec.ts +++ /dev/null @@ -1,87 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import type { PurviewCatalogClient } from "../../src/index.js"; -import { getLongRunningPoller } from "../../src/index.js"; -import { Recorder } from "@azure-tools/test-recorder"; -import { createClient } from "./utils/recordedClient.js"; -import { describe, it, assert, beforeEach, afterEach } from "vitest"; - -describe("purview catalog glossary test", () => { - let recorder: Recorder; - let client: PurviewCatalogClient; - let glossaryName: string; - let glossaryGuid: string; - - beforeEach(async (ctx) => { - recorder = new Recorder(ctx); - client = await createClient(recorder); - glossaryName = "jsLROTesting-2"; - }); - - afterEach(async () => { - await recorder.stop(); - }); - - it("Should create a glossary", async () => { - const glossary = await client.path("/atlas/v2/glossary").post({ - body: { - name: glossaryName, - shortDescription: "Example Short Description", - longDescription: "Example Long Description", - language: "en", - usage: "Example Glossary", - }, - }); - - console.log("created glossary: ", glossary); - - assert.strictEqual(glossary.status, "200"); - glossaryGuid = glossary.status === "200" ? glossary?.body?.guid || "" : ""; - }); - - it("should work with LRO helper", { timeout: 500000 }, async () => { - await recorder.addSanitizers( - { - removeHeaderSanitizer: { - headersForRemoval: ["Content-Type", "Transfer-Encoding"], - }, - }, - ["playback", "record"], - ); - await recorder.setMatcher("BodilessMatcher"); - const initialResponse = await client - .path("/glossary/name/{glossaryName}/terms/import", glossaryName) - .post({ - headers: { - contentType: "multipart/form-data", - }, - body: { - file: "random content", - }, - contentType: "multipart/form-data", - }); - - console.log("LRO init resp: ", initialResponse); - const poller = getLongRunningPoller(client, initialResponse, { - intervalInMs: 100, - }); - - const result = await poller.pollUntilDone(); - console.log("LRO polling result:", result); - if (result.status === "500") { - const error = `Unexpected status code ${result.status}`; - assert.fail(error); - } - - // console.log(result); - assert.equal(result.body.status, "Succeeded"); - }); - - it("Should delete a glossary", async () => { - const glossary = await client.path("/atlas/v2/entity/guid/{guid}", glossaryGuid).delete(); - console.log("deleted glossary: ", glossary); - - assert.strictEqual(glossary.status, "200"); - }); -}); diff --git a/sdk/purview/purview-catalog-rest/test/public/termFile.ts b/sdk/purview/purview-catalog-rest/test/public/termFile.ts deleted file mode 100644 index aa48367469a7..000000000000 --- a/sdk/purview/purview-catalog-rest/test/public/termFile.ts +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -// Test term import content -export const file = `Name,Nick Name,Status -Foo,foo,Draft`; diff --git a/sdk/purview/purview-catalog-rest/test/public/typedefs.spec.ts b/sdk/purview/purview-catalog-rest/test/public/typedefs.spec.ts deleted file mode 100644 index 3fd7895d1d98..000000000000 --- a/sdk/purview/purview-catalog-rest/test/public/typedefs.spec.ts +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. -import type { PurviewCatalogClient } from "../../src/index.js"; -import { Recorder } from "@azure-tools/test-recorder"; -import { createClient } from "./utils/recordedClient.js"; -import { describe, it, assert, beforeEach, afterEach } from "vitest"; - -describe("purview catalog tepedefs test", { timeout: 500000 }, () => { - let recorder: Recorder; - let client: PurviewCatalogClient; - - beforeEach(async (ctx) => { - recorder = new Recorder(ctx); - client = await createClient(recorder); - }); - - afterEach(async () => { - await recorder.stop(); - }); - - it("should list all available typedefs sources", async () => { - const result = await client.path("/atlas/v2/types/typedefs").get(); - - // console.dir(result); - if (result.status !== "200") { - assert.fail(`GET "/atlas/v2/types/typedefs" failed with ${result.status}`); - } - - assert.isDefined(result.body.entityDefs?.length); - }); -}); diff --git a/sdk/purview/purview-catalog-rest/test/public/utils/recordedClient.ts b/sdk/purview/purview-catalog-rest/test/public/utils/recordedClient.ts deleted file mode 100644 index 9b4455809456..000000000000 --- a/sdk/purview/purview-catalog-rest/test/public/utils/recordedClient.ts +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -/// - -import type { PurviewCatalogClient } from "../../../src/index.js"; -import PurviewCatalog from "../../../src/index.js"; -import { createTestCredential } from "@azure-tools/test-credential"; -import type { ClientOptions } from "@azure-rest/core-client"; - -import type { Recorder, RecorderStartOptions } from "@azure-tools/test-recorder"; -import { env } from "@azure-tools/test-recorder"; - -const replaceableVariables: { [k: string]: string } = { - ENDPOINT: "https://endpoint/", - AZURE_CLIENT_ID: "azure_client_id", - AZURE_CLIENT_SECRET: "azure_client_secret", - AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", -}; - -const recorderOptions: RecorderStartOptions = { - envSetupForPlayback: replaceableVariables, - removeCentralSanitizers: [ - "AZSDK3493", // .name in the body is not a secret and is listed below in the beforeEach section - "AZSDK3430", // .id in the body is not a secret and is listed below in the beforeEach section - "AZSDK3478", // .accountname in the body is not a secret and is listed below in the beforeEach section - "AZSDK2030", // .operation-location in the body is not a secret and is listed below in the beforeEach section - ], -}; - -export async function createClient( - recorder: Recorder, - options?: ClientOptions, -): Promise { - const credential = createTestCredential(); - - await recorder.start(recorderOptions); - - return PurviewCatalog( - env.ENDPOINT ?? "", - credential, - recorder.configureClientOptions({ - options, - }), - ); -} diff --git a/sdk/purview/purview-catalog-rest/test/snippets.spec.ts b/sdk/purview/purview-catalog-rest/test/snippets.spec.ts deleted file mode 100644 index 41e645bb4b62..000000000000 --- a/sdk/purview/purview-catalog-rest/test/snippets.spec.ts +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import PurviewCatalog from "../src/index.js"; -import { DefaultAzureCredential } from "@azure/identity"; -import { setLogLevel } from "@azure/logger"; -import { describe, it } from "vitest"; - -describe("snippets", () => { - it("ReadmeSampleCreateClient_Node", async () => { - const client = PurviewCatalog( - "https://.purview.azure.com", - new DefaultAzureCredential(), - ); - }); - - it("ReadmeSampleGetAllTypeDefs", async () => { - const client = PurviewCatalog( - "https://.purview.azure.com", - new DefaultAzureCredential(), - ); - // @ts-preserve-whitespace - const dataSources = await client.path("/atlas/v2/types/typedefs").get(); - // @ts-preserve-whitespace - if (dataSources.status !== "200") { - throw dataSources.body; - } - // @ts-preserve-whitespace - for (const entityDef of dataSources.body.entityDefs) { - console.log(`Entity Definition Name: ${entityDef.name}`); - } - }); - - it("SetLogLevel", async () => { - setLogLevel("info"); - }); -}); diff --git a/sdk/purview/purview-catalog-rest/tsconfig.browser.config.json b/sdk/purview/purview-catalog-rest/tsconfig.browser.config.json deleted file mode 100644 index 75871518e3a0..000000000000 --- a/sdk/purview/purview-catalog-rest/tsconfig.browser.config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": ["./tsconfig.test.json", "../../../tsconfig.browser.base.json"] -} diff --git a/sdk/purview/purview-catalog-rest/tsconfig.json b/sdk/purview/purview-catalog-rest/tsconfig.json deleted file mode 100644 index 19ceb382b521..000000000000 --- a/sdk/purview/purview-catalog-rest/tsconfig.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "references": [ - { - "path": "./tsconfig.src.json" - }, - { - "path": "./tsconfig.samples.json" - }, - { - "path": "./tsconfig.test.json" - } - ] -} diff --git a/sdk/purview/purview-catalog-rest/tsconfig.samples.json b/sdk/purview/purview-catalog-rest/tsconfig.samples.json deleted file mode 100644 index 601ffff873be..000000000000 --- a/sdk/purview/purview-catalog-rest/tsconfig.samples.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "../../../tsconfig.samples.base.json", - "compilerOptions": { - "paths": { - "@azure-rest/purview-catalog": ["./dist/esm"] - } - } -} diff --git a/sdk/purview/purview-catalog-rest/tsconfig.src.json b/sdk/purview/purview-catalog-rest/tsconfig.src.json deleted file mode 100644 index bae70752dd38..000000000000 --- a/sdk/purview/purview-catalog-rest/tsconfig.src.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../../tsconfig.lib.json" -} diff --git a/sdk/purview/purview-catalog-rest/tsconfig.test.json b/sdk/purview/purview-catalog-rest/tsconfig.test.json deleted file mode 100644 index 290ca214aebc..000000000000 --- a/sdk/purview/purview-catalog-rest/tsconfig.test.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": ["./tsconfig.src.json", "../../../tsconfig.test.base.json"] -} diff --git a/sdk/purview/purview-catalog-rest/tsdoc.json b/sdk/purview/purview-catalog-rest/tsdoc.json deleted file mode 100644 index 81c5a8a2aa2f..000000000000 --- a/sdk/purview/purview-catalog-rest/tsdoc.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json", - "extends": ["../../../tsdoc.json"] -} diff --git a/sdk/purview/purview-catalog-rest/vitest.browser.config.ts b/sdk/purview/purview-catalog-rest/vitest.browser.config.ts deleted file mode 100644 index 10e70dbfa8ee..000000000000 --- a/sdk/purview/purview-catalog-rest/vitest.browser.config.ts +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { defineConfig, mergeConfig } from "vitest/config"; -import viteConfig from "../../../vitest.browser.shared.config.ts"; - -export default mergeConfig( - viteConfig, - defineConfig({ - test: { - include: ["dist-test/browser/test/**/*.spec.js"], - testTimeout: 1200000, - hookTimeout: 1200000, - }, - }), -); diff --git a/sdk/purview/purview-catalog-rest/vitest.config.ts b/sdk/purview/purview-catalog-rest/vitest.config.ts deleted file mode 100644 index 86a71911ccc2..000000000000 --- a/sdk/purview/purview-catalog-rest/vitest.config.ts +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { defineConfig, mergeConfig } from "vitest/config"; -import viteConfig from "../../../vitest.shared.config.ts"; - -export default mergeConfig( - viteConfig, - defineConfig({ - test: { - testTimeout: 1200000, - hookTimeout: 1200000, - }, - }), -); diff --git a/sdk/purview/purview-catalog-rest/vitest.esm.config.ts b/sdk/purview/purview-catalog-rest/vitest.esm.config.ts deleted file mode 100644 index 5e9735e9b144..000000000000 --- a/sdk/purview/purview-catalog-rest/vitest.esm.config.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT License. - -import { mergeConfig } from "vitest/config"; -import vitestConfig from "./vitest.config.ts"; -import vitestEsmConfig from "../../../vitest.esm.shared.config.ts"; - -export default mergeConfig(vitestConfig, vitestEsmConfig);