diff --git a/package-lock.json b/package-lock.json index 02770d2b..78e5bfdb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,14 +24,19 @@ "@eslint/js": "^9.24.0", "@modelcontextprotocol/inspector": "^0.8.2", "@modelcontextprotocol/sdk": "^1.8.0", + "@redocly/cli": "^1.34.2", "@types/node": "^22.14.0", "@types/simple-oauth2": "^5.0.7", "eslint": "^9.24.0", "eslint-config-prettier": "^10.1.1", "globals": "^16.0.0", + "openapi-types": "^12.1.3", + "openapi-typescript": "^7.6.1", "prettier": "^3.5.3", + "tsx": "^4.19.3", "typescript": "^5.8.2", - "typescript-eslint": "^8.29.1" + "typescript-eslint": "^8.29.1", + "yaml": "^2.7.1" }, "engines": { "node": ">=23.0.0" @@ -687,17 +692,504 @@ } } }, + "node_modules/@babel/code-frame": { + "version": "7.26.2", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", + "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.25.9", + "js-tokens": "^4.0.0", + "picocolors": "^1.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", + "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/runtime": { + "version": "7.27.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.27.0.tgz", + "integrity": "sha512-VtPOkrdPHZsKc/clNqyi9WUA8TINkZ4cGk63UUE3u4pmB2k+ZMQRDuIOagv8UVd6j7k0T3+RRIb7beKTebNbcw==", + "dev": true, + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", "dev": true, "license": "MIT", - "dependencies": { - "@jridgewell/trace-mapping": "0.3.9" - }, + "dependencies": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@emotion/is-prop-valid": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.2.tgz", + "integrity": "sha512-uNsoYd37AFmaCdXlg6EYD1KaPOaRWRByMCYzbKUX4+hhMfrxdVSelShywL4JVaAeM/eHUOSprYBQls+/neX3pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@emotion/memoize": "^0.8.1" + } + }, + "node_modules/@emotion/memoize": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.1.tgz", + "integrity": "sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@emotion/unitless": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.1.tgz", + "integrity": "sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.2.tgz", + "integrity": "sha512-wCIboOL2yXZym2cgm6mlA742s9QeJ8DjGVaL39dLN4rRwrOgOyYSnOaFPhKZGLb2ngj4EyfAFjsNJwPXZvseag==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.2.tgz", + "integrity": "sha512-NQhH7jFstVY5x8CKbcfa166GoV0EFkaPkCKBQkdPJFvo5u+nGXLEH/ooniLb3QI8Fk58YAx7nsPLozUWfCBOJA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.2.tgz", + "integrity": "sha512-5ZAX5xOmTligeBaeNEPnPaeEuah53Id2tX4c2CVP3JaROTH+j4fnfHCkr1PjXMd78hMst+TlkfKcW/DlTq0i4w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.2.tgz", + "integrity": "sha512-Ffcx+nnma8Sge4jzddPHCZVRvIfQ0kMsUsCMcJRHkGJ1cDmhe4SsrYIjLUKn1xpHZybmOqCWwB0zQvsjdEHtkg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.2.tgz", + "integrity": "sha512-MpM6LUVTXAzOvN4KbjzU/q5smzryuoNjlriAIx+06RpecwCkL9JpenNzpKd2YMzLJFOdPqBpuub6eVRP5IgiSA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.2.tgz", + "integrity": "sha512-5eRPrTX7wFyuWe8FqEFPG2cU0+butQQVNcT4sVipqjLYQjjh8a8+vUTfgBKM88ObB85ahsnTwF7PSIt6PG+QkA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.2.tgz", + "integrity": "sha512-mLwm4vXKiQ2UTSX4+ImyiPdiHjiZhIaE9QvC7sw0tZ6HoNMjYAqQpGyui5VRIi5sGd+uWq940gdCbY3VLvsO1w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.2.tgz", + "integrity": "sha512-6qyyn6TjayJSwGpm8J9QYYGQcRgc90nmfdUb0O7pp1s4lTY+9D0H9O02v5JqGApUyiHOtkz6+1hZNvNtEhbwRQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.2.tgz", + "integrity": "sha512-UHBRgJcmjJv5oeQF8EpTRZs/1knq6loLxTsjc3nxO9eXAPDLcWW55flrMVc97qFPbmZP31ta1AZVUKQzKTzb0g==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.2.tgz", + "integrity": "sha512-gq/sjLsOyMT19I8obBISvhoYiZIAaGF8JpeXu1u8yPv8BE5HlWYobmlsfijFIZ9hIVGYkbdFhEqC0NvM4kNO0g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.2.tgz", + "integrity": "sha512-bBYCv9obgW2cBP+2ZWfjYTU+f5cxRoGGQ5SeDbYdFCAZpYWrfjjfYwvUpP8MlKbP0nwZ5gyOU/0aUzZ5HWPuvQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.2.tgz", + "integrity": "sha512-SHNGiKtvnU2dBlM5D8CXRFdd+6etgZ9dXfaPCeJtz+37PIUlixvlIhI23L5khKXs3DIzAn9V8v+qb1TRKrgT5w==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.2.tgz", + "integrity": "sha512-hDDRlzE6rPeoj+5fsADqdUZl1OzqDYow4TB4Y/3PlKBD0ph1e6uPHzIQcv2Z65u2K0kpeByIyAjCmjn1hJgG0Q==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.2.tgz", + "integrity": "sha512-tsHu2RRSWzipmUi9UBDEzc0nLc4HtpZEI5Ba+Omms5456x5WaNuiG3u7xh5AO6sipnJ9r4cRWQB2tUjPyIkc6g==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.2.tgz", + "integrity": "sha512-k4LtpgV7NJQOml/10uPU0s4SAXGnowi5qBSjaLWMojNCUICNu7TshqHLAEbkBdAszL5TabfvQ48kK84hyFzjnw==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.2.tgz", + "integrity": "sha512-GRa4IshOdvKY7M/rDpRR3gkiTNp34M0eLTaC1a08gNrh4u488aPhuZOCpkF6+2wl3zAN7L7XIpOFBhnaE3/Q8Q==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.2.tgz", + "integrity": "sha512-QInHERlqpTTZ4FRB0fROQWXcYRD64lAoiegezDunLpalZMjcUcld3YzZmVJ2H/Cp0wJRZ8Xtjtj0cEHhYc/uUg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.2.tgz", + "integrity": "sha512-talAIBoY5M8vHc6EeI2WW9d/CkiO9MQJ0IOWX8hrLhxGbro/vBXJvaQXefW2cP0z0nQVTdQ/eNyGFV1GSKrxfw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.2.tgz", + "integrity": "sha512-voZT9Z+tpOxrvfKFyfDYPc4DO4rk06qamv1a/fkuzHpiVBMOhpjK+vBmWM8J1eiB3OLSMFYNaOaBNLXGChf5tg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.2.tgz", + "integrity": "sha512-dcXYOC6NXOqcykeDlwId9kB6OkPUxOEqU+rkrYVqJbK2hagWOMrsTGsMr8+rW02M+d5Op5NNlgMmjzecaRf7Tg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.2.tgz", + "integrity": "sha512-t/TkWwahkH0Tsgoq1Ju7QfgGhArkGLkF1uYz8nQS/PPFlXbP5YgRpqQR3ARRiC2iXoLTWFxc6DJMSK10dVXluw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.2.tgz", + "integrity": "sha512-cfZH1co2+imVdWCjd+D1gf9NjkchVhhdpgb1q5y6Hcv9TP6Zi9ZG/beI3ig8TvwT9lH9dlxLq5MQBBgwuj4xvA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.2.tgz", + "integrity": "sha512-7Loyjh+D/Nx/sOTzV8vfbB3GJuHdOQyrOryFdZvPHLf42Tk9ivBU5Aedi7iyX+x6rbn2Mh68T4qq1SDqJBQO5Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.2.tgz", + "integrity": "sha512-WRJgsz9un0nqZJ4MfhabxaD9Ft8KioqU3JMinOTvobbX6MOSUigSBlogP8QB3uxpJDsFS6yN+3FDBdqE5lg9kg==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], "engines": { - "node": ">=12" + "node": ">=18" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.2.tgz", + "integrity": "sha512-kM3HKb16VIXZyIeVrM1ygYmZBKybX8N4p754bw390wGO3Tf2j4L2/WYL+4suWujpgf6GBYs3jv7TyUivdd05JA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" } }, "node_modules/@eslint-community/eslint-utils": { @@ -864,6 +1356,24 @@ "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, + "node_modules/@exodus/schemasafe": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@exodus/schemasafe/-/schemasafe-1.3.0.tgz", + "integrity": "sha512-5Aap/GaRupgNx/feGBwLLTVv8OQFfv3pq2lPRzPg9R+IOBnDgghTGW7l7EuVXOvg5cc/xSAlRW8rBrjIC3Nvqw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@faker-js/faker": { + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-7.6.0.tgz", + "integrity": "sha512-XK6BTq1NDMo9Xqw/YkYyGjSsg44fbNwYRx7QK2CuoQgyy+f1rrTDHoExVM5PsyXCtfl2vs2vVJ0MN0yN6LppRw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14.0.0", + "npm": ">=6.0.0" + } + }, "node_modules/@floating-ui/core": { "version": "1.6.9", "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.9.tgz", @@ -958,6 +1468,16 @@ "url": "https://github.com/sponsors/nzakas" } }, + "node_modules/@humanwhocodes/momoa": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@humanwhocodes/momoa/-/momoa-2.0.4.tgz", + "integrity": "sha512-RE815I4arJFtt+FVeU1Tgp9/Xvecacji8w/V6XtXsWWH/wz/eNkNbhb+ny/+PlVZjV0rxQpRSQKNKE3lcktHEA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.10.0" + } + }, "node_modules/@humanwhocodes/retry": { "version": "0.4.2", "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.2.tgz", @@ -972,6 +1492,19 @@ "url": "https://github.com/sponsors/nzakas" } }, + "node_modules/@jest/schemas": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz", + "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@sinclair/typebox": "^0.27.8" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, "node_modules/@jridgewell/resolve-uri": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", @@ -1000,6 +1533,32 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, + "node_modules/@jsep-plugin/assignment": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@jsep-plugin/assignment/-/assignment-1.3.0.tgz", + "integrity": "sha512-VVgV+CXrhbMI3aSusQyclHkenWSAm95WaiKrMxRFam3JSUiIaQjoMIw2sEs/OX4XifnqeQUN4DYbJjlA8EfktQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10.16.0" + }, + "peerDependencies": { + "jsep": "^0.4.0||^1.0.0" + } + }, + "node_modules/@jsep-plugin/regex": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@jsep-plugin/regex/-/regex-1.0.4.tgz", + "integrity": "sha512-q7qL4Mgjs1vByCaTnDFcBnV9HS7GVPJX5vyVoCgZHNSC9rjwIlmbXG5sUuorR5ndfHAIlJ8pVStxvjXHbNvtUg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10.16.0" + }, + "peerDependencies": { + "jsep": "^0.4.0||^1.0.0" + } + }, "node_modules/@modelcontextprotocol/inspector": { "version": "0.8.2", "resolved": "https://registry.npmjs.org/@modelcontextprotocol/inspector/-/inspector-0.8.2.tgz", @@ -1948,43 +2507,361 @@ "node": ">=14.15.1" } }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@opentelemetry/api": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.0.tgz", + "integrity": "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/@opentelemetry/api-logs": { + "version": "0.53.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/api-logs/-/api-logs-0.53.0.tgz", + "integrity": "sha512-8HArjKx+RaAI8uEIgcORbZIPklyh1YLjPSBus8hjRmvLi6DeFzgOcdZ7KwPabKj8mXF8dX0hyfAyGfycz0DbFw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@opentelemetry/api": "^1.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/@opentelemetry/context-async-hooks": { + "version": "1.26.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/context-async-hooks/-/context-async-hooks-1.26.0.tgz", + "integrity": "sha512-HedpXXYzzbaoutw6DFLWLDket2FwLkLpil4hGCZ1xYEIMTcivdfwEOISgdbLEWyG3HW52gTq2V9mOVJrONgiwg==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@opentelemetry/api": ">=1.0.0 <1.10.0" + } + }, + "node_modules/@opentelemetry/core": { + "version": "1.26.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-1.26.0.tgz", + "integrity": "sha512-1iKxXXE8415Cdv0yjG3G6hQnB5eVEsJce3QaawX8SjDn0mAS0ZM8fAbZZJD4ajvhC15cePvosSCut404KrIIvQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@opentelemetry/semantic-conventions": "1.27.0" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@opentelemetry/api": ">=1.0.0 <1.10.0" + } + }, + "node_modules/@opentelemetry/exporter-trace-otlp-http": { + "version": "0.53.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-trace-otlp-http/-/exporter-trace-otlp-http-0.53.0.tgz", + "integrity": "sha512-m7F5ZTq+V9mKGWYpX8EnZ7NjoqAU7VemQ1E2HAG+W/u0wpY1x0OmbxAXfGKFHCspdJk8UKlwPGrpcB8nay3P8A==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@opentelemetry/core": "1.26.0", + "@opentelemetry/otlp-exporter-base": "0.53.0", + "@opentelemetry/otlp-transformer": "0.53.0", + "@opentelemetry/resources": "1.26.0", + "@opentelemetry/sdk-trace-base": "1.26.0" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.0.0" + } + }, + "node_modules/@opentelemetry/otlp-exporter-base": { + "version": "0.53.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/otlp-exporter-base/-/otlp-exporter-base-0.53.0.tgz", + "integrity": "sha512-UCWPreGQEhD6FjBaeDuXhiMf6kkBODF0ZQzrk/tuQcaVDJ+dDQ/xhJp192H9yWnKxVpEjFrSSLnpqmX4VwX+eA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@opentelemetry/core": "1.26.0", + "@opentelemetry/otlp-transformer": "0.53.0" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.0.0" + } + }, + "node_modules/@opentelemetry/otlp-transformer": { + "version": "0.53.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/otlp-transformer/-/otlp-transformer-0.53.0.tgz", + "integrity": "sha512-rM0sDA9HD8dluwuBxLetUmoqGJKSAbWenwD65KY9iZhUxdBHRLrIdrABfNDP7aiTjcgK8XFyTn5fhDz7N+W6DA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@opentelemetry/api-logs": "0.53.0", + "@opentelemetry/core": "1.26.0", + "@opentelemetry/resources": "1.26.0", + "@opentelemetry/sdk-logs": "0.53.0", + "@opentelemetry/sdk-metrics": "1.26.0", + "@opentelemetry/sdk-trace-base": "1.26.0", + "protobufjs": "^7.3.0" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@opentelemetry/api": "^1.3.0" + } + }, + "node_modules/@opentelemetry/propagator-b3": { + "version": "1.26.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/propagator-b3/-/propagator-b3-1.26.0.tgz", + "integrity": "sha512-vvVkQLQ/lGGyEy9GT8uFnI047pajSOVnZI2poJqVGD3nJ+B9sFGdlHNnQKophE3lHfnIH0pw2ubrCTjZCgIj+Q==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@opentelemetry/core": "1.26.0" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@opentelemetry/api": ">=1.0.0 <1.10.0" + } + }, + "node_modules/@opentelemetry/propagator-jaeger": { + "version": "1.26.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/propagator-jaeger/-/propagator-jaeger-1.26.0.tgz", + "integrity": "sha512-DelFGkCdaxA1C/QA0Xilszfr0t4YbGd3DjxiCDPh34lfnFr+VkkrjV9S8ZTJvAzfdKERXhfOxIKBoGPJwoSz7Q==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@opentelemetry/core": "1.26.0" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@opentelemetry/api": ">=1.0.0 <1.10.0" + } + }, + "node_modules/@opentelemetry/resources": { + "version": "1.26.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.26.0.tgz", + "integrity": "sha512-CPNYchBE7MBecCSVy0HKpUISEeJOniWqcHaAHpmasZ3j9o6V3AyBzhRc90jdmemq0HOxDr6ylhUbDhBqqPpeNw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@opentelemetry/core": "1.26.0", + "@opentelemetry/semantic-conventions": "1.27.0" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@opentelemetry/api": ">=1.0.0 <1.10.0" + } + }, + "node_modules/@opentelemetry/sdk-logs": { + "version": "0.53.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-logs/-/sdk-logs-0.53.0.tgz", + "integrity": "sha512-dhSisnEgIj/vJZXZV6f6KcTnyLDx/VuQ6l3ejuZpMpPlh9S1qMHiZU9NMmOkVkwwHkMy3G6mEBwdP23vUZVr4g==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@opentelemetry/api-logs": "0.53.0", + "@opentelemetry/core": "1.26.0", + "@opentelemetry/resources": "1.26.0" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@opentelemetry/api": ">=1.4.0 <1.10.0" + } + }, + "node_modules/@opentelemetry/sdk-metrics": { + "version": "1.26.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-metrics/-/sdk-metrics-1.26.0.tgz", + "integrity": "sha512-0SvDXmou/JjzSDOjUmetAAvcKQW6ZrvosU0rkbDGpXvvZN+pQF6JbK/Kd4hNdK4q/22yeruqvukXEJyySTzyTQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@opentelemetry/core": "1.26.0", + "@opentelemetry/resources": "1.26.0" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@opentelemetry/api": ">=1.3.0 <1.10.0" + } + }, + "node_modules/@opentelemetry/sdk-trace-base": { + "version": "1.26.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-base/-/sdk-trace-base-1.26.0.tgz", + "integrity": "sha512-olWQldtvbK4v22ymrKLbIcBi9L2SpMO84sCPY54IVsJhP9fRsxJT194C/AVaAuJzLE30EdhhM1VmvVYR7az+cw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@opentelemetry/core": "1.26.0", + "@opentelemetry/resources": "1.26.0", + "@opentelemetry/semantic-conventions": "1.27.0" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@opentelemetry/api": ">=1.0.0 <1.10.0" + } + }, + "node_modules/@opentelemetry/sdk-trace-node": { + "version": "1.26.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-node/-/sdk-trace-node-1.26.0.tgz", + "integrity": "sha512-Fj5IVKrj0yeUwlewCRwzOVcr5avTuNnMHWf7GPc1t6WaT78J6CJyF3saZ/0RkZfdeNO8IcBl/bNcWMVZBMRW8Q==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@opentelemetry/context-async-hooks": "1.26.0", + "@opentelemetry/core": "1.26.0", + "@opentelemetry/propagator-b3": "1.26.0", + "@opentelemetry/propagator-jaeger": "1.26.0", + "@opentelemetry/sdk-trace-base": "1.26.0", + "semver": "^7.5.2" + }, + "engines": { + "node": ">=14" + }, + "peerDependencies": { + "@opentelemetry/api": ">=1.0.0 <1.10.0" + } + }, + "node_modules/@opentelemetry/semantic-conventions": { + "version": "1.27.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.27.0.tgz", + "integrity": "sha512-sAay1RrB+ONOem0OZanAR1ZI/k7yDpnOQSQmTMuGImUQb2y8EbSaCJ94FQluM74xoU03vlb2d2U90hZluL6nQg==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=14" + } + }, + "node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", "dev": true, - "license": "MIT", + "license": "BSD-3-Clause", "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" } }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "node_modules/@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==", "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8" - } + "license": "BSD-3-Clause" }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==", "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==", + "dev": true, + "license": "BSD-3-Clause" }, "node_modules/@radix-ui/number": { "version": "1.1.0", @@ -2736,53 +3613,404 @@ } } }, - "node_modules/@radix-ui/react-use-size": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.1.0.tgz", - "integrity": "sha512-XW3/vWuIXHa+2Uwcc2ABSfcCledmXhhQPlGbfcRXbiUQI5Icjcg19BGCZVKKInYbvUCut/ufbbLLPFC5cbb1hw==", + "node_modules/@radix-ui/react-use-size": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-use-size/-/react-use-size-1.1.0.tgz", + "integrity": "sha512-XW3/vWuIXHa+2Uwcc2ABSfcCledmXhhQPlGbfcRXbiUQI5Icjcg19BGCZVKKInYbvUCut/ufbbLLPFC5cbb1hw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@radix-ui/react-use-layout-effect": "1.1.0" + }, + "peerDependencies": { + "@types/react": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + } + } + }, + "node_modules/@radix-ui/react-visually-hidden": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@radix-ui/react-visually-hidden/-/react-visually-hidden-1.1.2.tgz", + "integrity": "sha512-1SzA4ns2M1aRlvxErqhLHsBHoS5eI5UUcI2awAMgGUp4LoaoWOKYmvqDY2s/tltuPkh3Yk77YF/r3IRj+Amx4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@radix-ui/react-primitive": "2.0.2" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, + "node_modules/@radix-ui/rect": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.1.0.tgz", + "integrity": "sha512-A9+lCBZoaMJlVKcRBz2YByCG+Cp2t6nAnMnNba+XiWxnj6r4JUFqfsgwocMBZU9LPtdxC6wB56ySYpc7LQIoJg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@redocly/ajv": { + "version": "8.11.2", + "resolved": "https://registry.npmjs.org/@redocly/ajv/-/ajv-8.11.2.tgz", + "integrity": "sha512-io1JpnwtIcvojV7QKDUSIuMN/ikdOUd1ReEnUnMKGfDVridQZ31J0MmIuqwuRjWDZfmvr+Q0MqCcfHM2gTivOg==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js-replace": "^1.0.1" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/@redocly/ajv/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true, + "license": "MIT" + }, + "node_modules/@redocly/cli": { + "version": "1.34.2", + "resolved": "https://registry.npmjs.org/@redocly/cli/-/cli-1.34.2.tgz", + "integrity": "sha512-XnKG7yrr0GUZ7MyqHk9hRt//HGUSnLDwwEXI8HDQdyDFp+YFbddqcQPOWc/sDeDBTEiBXqwPOb3/VKA+8NtSMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@opentelemetry/api": "1.9.0", + "@opentelemetry/exporter-trace-otlp-http": "0.53.0", + "@opentelemetry/resources": "1.26.0", + "@opentelemetry/sdk-trace-node": "1.26.0", + "@opentelemetry/semantic-conventions": "1.27.0", + "@redocly/config": "^0.22.0", + "@redocly/openapi-core": "1.34.2", + "@redocly/respect-core": "1.34.2", + "abort-controller": "^3.0.0", + "chokidar": "^3.5.1", + "colorette": "^1.2.0", + "core-js": "^3.32.1", + "dotenv": "^16.4.7", + "form-data": "^4.0.0", + "get-port-please": "^3.0.1", + "glob": "^7.1.6", + "handlebars": "^4.7.6", + "mobx": "^6.0.4", + "pluralize": "^8.0.0", + "react": "^17.0.0 || ^18.2.0 || ^19.0.0", + "react-dom": "^17.0.0 || ^18.2.0 || ^19.0.0", + "redoc": "2.4.0", + "semver": "^7.5.2", + "simple-websocket": "^9.0.0", + "styled-components": "^6.0.7", + "yargs": "17.0.1" + }, + "bin": { + "openapi": "bin/cli.js", + "redocly": "bin/cli.js" + }, + "engines": { + "node": ">=18.17.0", + "npm": ">=9.5.0" + } + }, + "node_modules/@redocly/cli/node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/@redocly/cli/node_modules/yargs": { + "version": "17.0.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.0.1.tgz", + "integrity": "sha512-xBBulfCc8Y6gLFcrPvtqKz9hz8SO0l1Ni8GgDekvBX2ro0HRQImDGnikfc33cgzcYUSncapnNcZDjVFIH3f6KQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@redocly/cli/node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/@redocly/config": { + "version": "0.22.2", + "resolved": "https://registry.npmjs.org/@redocly/config/-/config-0.22.2.tgz", + "integrity": "sha512-roRDai8/zr2S9YfmzUfNhKjOF0NdcOIqF7bhf4MVC5UxpjIysDjyudvlAiVbpPHp3eDRWbdzUgtkK1a7YiDNyQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@redocly/openapi-core": { + "version": "1.34.2", + "resolved": "https://registry.npmjs.org/@redocly/openapi-core/-/openapi-core-1.34.2.tgz", + "integrity": "sha512-glfkQFJizLdq2fBkNvc2FJW0sxDb5exd0wIXhFk+WHaFLMREBC3CxRo2Zq7uJIdfV9U3YTceMbXJklpDfmmwFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@redocly/ajv": "^8.11.2", + "@redocly/config": "^0.22.0", + "colorette": "^1.2.0", + "https-proxy-agent": "^7.0.5", + "js-levenshtein": "^1.1.6", + "js-yaml": "^4.1.0", + "minimatch": "^5.0.1", + "pluralize": "^8.0.0", + "yaml-ast-parser": "0.0.43" + }, + "engines": { + "node": ">=18.17.0", + "npm": ">=9.5.0" + } + }, + "node_modules/@redocly/openapi-core/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@redocly/openapi-core/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@redocly/respect-core": { + "version": "1.34.2", + "resolved": "https://registry.npmjs.org/@redocly/respect-core/-/respect-core-1.34.2.tgz", + "integrity": "sha512-X6VR9bbHXrI01Wh5t6TIHxFCVHcP4Iy42micKLIk/Cg6EmHVbaSDGOD6mxChXtEIrwnY+bqyUbjlXr9+YM7B9A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@faker-js/faker": "^7.6.0", + "@redocly/ajv": "8.11.2", + "@redocly/openapi-core": "1.34.2", + "better-ajv-errors": "^1.2.0", + "colorette": "^2.0.20", + "concat-stream": "^2.0.0", + "cookie": "^0.7.2", + "dotenv": "16.4.5", + "form-data": "4.0.0", + "jest-diff": "^29.3.1", + "jest-matcher-utils": "^29.3.1", + "js-yaml": "4.1.0", + "json-pointer": "^0.6.2", + "jsonpath-plus": "^10.0.6", + "open": "^10.1.0", + "openapi-sampler": "^1.6.1", + "outdent": "^0.8.0", + "set-cookie-parser": "^2.3.5", + "undici": "^6.21.1" + }, + "engines": { + "node": ">=18.17.0", + "npm": ">=9.5.0" + } + }, + "node_modules/@redocly/respect-core/node_modules/bundle-name": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-4.1.0.tgz", + "integrity": "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "run-applescript": "^7.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@redocly/respect-core/node_modules/colorette": { + "version": "2.0.20", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", + "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", + "dev": true, + "license": "MIT" + }, + "node_modules/@redocly/respect-core/node_modules/default-browser": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.2.1.tgz", + "integrity": "sha512-WY/3TUME0x3KPYdRRxEJJvXRHV4PyPoUsxtZa78lwItwRQRHhd2U9xOscaT/YTf8uCXIAjeJOFBVEh/7FtD8Xg==", + "dev": true, + "license": "MIT", + "dependencies": { + "bundle-name": "^4.1.0", + "default-browser-id": "^5.0.0" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@redocly/respect-core/node_modules/default-browser-id": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-5.0.0.tgz", + "integrity": "sha512-A6p/pu/6fyBcA1TRz/GqWYPViplrftcW2gZC9q79ngNCKAeR/X3gcEdXQHl4KNXV+3wgIJ1CPkJQ3IHM6lcsyA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@redocly/respect-core/node_modules/dotenv": { + "version": "16.4.5", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz", + "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, + "node_modules/@redocly/respect-core/node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/@redocly/respect-core/node_modules/is-wsl": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.0.tgz", + "integrity": "sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-inside-container": "^1.0.0" + }, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@redocly/respect-core/node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/@redocly/respect-core/node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", "dev": true, "license": "MIT", "dependencies": { - "@radix-ui/react-use-layout-effect": "1.1.0" - }, - "peerDependencies": { - "@types/react": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "mime-db": "1.52.0" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - } + "engines": { + "node": ">= 0.6" } }, - "node_modules/@radix-ui/react-visually-hidden": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@radix-ui/react-visually-hidden/-/react-visually-hidden-1.1.2.tgz", - "integrity": "sha512-1SzA4ns2M1aRlvxErqhLHsBHoS5eI5UUcI2awAMgGUp4LoaoWOKYmvqDY2s/tltuPkh3Yk77YF/r3IRj+Amx4Q==", + "node_modules/@redocly/respect-core/node_modules/open": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/open/-/open-10.1.0.tgz", + "integrity": "sha512-mnkeQ1qP5Ue2wd+aivTD3NHd/lZ96Lu0jgf0pwktLPtx6cTZiH7tyeGRRHs0zX0rbrahXPnXlUnbeXyaBBuIaw==", "dev": true, "license": "MIT", "dependencies": { - "@radix-ui/react-primitive": "2.0.2" + "default-browser": "^5.2.1", + "define-lazy-prop": "^3.0.0", + "is-inside-container": "^1.0.0", + "is-wsl": "^3.1.0" }, - "peerDependencies": { - "@types/react": "*", - "@types/react-dom": "*", - "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", - "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + "engines": { + "node": ">=18" }, - "peerDependenciesMeta": { - "@types/react": { - "optional": true - }, - "@types/react-dom": { - "optional": true - } + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@radix-ui/rect": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@radix-ui/rect/-/rect-1.1.0.tgz", - "integrity": "sha512-A9+lCBZoaMJlVKcRBz2YByCG+Cp2t6nAnMnNba+XiWxnj6r4JUFqfsgwocMBZU9LPtdxC6wB56ySYpc7LQIoJg==", + "node_modules/@redocly/respect-core/node_modules/run-applescript": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.0.0.tgz", + "integrity": "sha512-9by4Ij99JUr/MCFBUkDKLWK3G9HVXmabKz9U5MlIAIuvuzkiOicRYs8XJLxX+xahD+mLiiCYDqF9dKAgtzKP1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@sinclair/typebox": { + "version": "0.27.8", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", + "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", "dev": true, "license": "MIT" }, @@ -3509,6 +4737,21 @@ "dev": true, "license": "MIT" }, + "node_modules/@types/stylis": { + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/@types/stylis/-/stylis-4.2.5.tgz", + "integrity": "sha512-1Xve+NMN7FWjY14vLoY5tL3BVEQ/n42YLwaqJIPYhotZ9uBHt87VceMwWQpzmdEt2TNXIorIFG+YeCUUW7RInw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/trusted-types": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz", + "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", + "dev": true, + "license": "MIT", + "optional": true + }, "node_modules/@types/webidl-conversions": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/@types/webidl-conversions/-/webidl-conversions-7.0.3.tgz", @@ -3730,6 +4973,19 @@ "url": "https://opencollective.com/typescript-eslint" } }, + "node_modules/abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "dev": true, + "license": "MIT", + "dependencies": { + "event-target-shim": "^5.0.0" + }, + "engines": { + "node": ">=6.5" + } + }, "node_modules/accepts": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz", @@ -3806,6 +5062,16 @@ "url": "https://github.com/sponsors/epoberezkin" } }, + "node_modules/ansi-colors": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", + "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", @@ -3832,6 +5098,20 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "license": "ISC", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, "node_modules/arg": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", @@ -3886,6 +5166,13 @@ "node": ">=4" } }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "dev": true, + "license": "MIT" + }, "node_modules/aws4": { "version": "1.13.2", "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.13.2.tgz", @@ -3938,6 +5225,26 @@ "tweetnacl": "^0.14.3" } }, + "node_modules/better-ajv-errors": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/better-ajv-errors/-/better-ajv-errors-1.2.0.tgz", + "integrity": "sha512-UW+IsFycygIo7bclP9h5ugkNH8EjCSgqyFB/yQ4Hqqa1OEYDtb0uFIkYE0b6+CjkgJYVM5UKI/pJPxjYe9EZlA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@babel/code-frame": "^7.16.0", + "@humanwhocodes/momoa": "^2.0.2", + "chalk": "^4.1.2", + "jsonpointer": "^5.0.0", + "leven": "^3.1.0 < 4" + }, + "engines": { + "node": ">= 12.13.0" + }, + "peerDependencies": { + "ajv": "4.11.8 - 8" + } + }, "node_modules/big-integer": { "version": "1.6.52", "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.52.tgz", @@ -3947,6 +5254,19 @@ "node": ">=0.6" } }, + "node_modules/binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/bindings": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", @@ -4066,6 +5386,13 @@ "ieee754": "^1.1.13" } }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true, + "license": "MIT" + }, "node_modules/buildcheck": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/buildcheck/-/buildcheck-0.0.6.tgz", @@ -4128,6 +5455,13 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/call-me-maybe": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.2.tgz", + "integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==", + "dev": true, + "license": "MIT" + }, "node_modules/callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", @@ -4138,6 +5472,16 @@ "node": ">=6" } }, + "node_modules/camelize": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/camelize/-/camelize-1.0.1.tgz", + "integrity": "sha512-dU+Tx2fsypxTgtLoE36npi3UqcjSSMNYfkqgmoEhtZrraP5VWq0K7FkWVTYa8eMPtnU/G2txVsfdCJTn9uzpuQ==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -4155,6 +5499,51 @@ "url": "https://github.com/chalk/chalk?sponsor=1" } }, + "node_modules/change-case": { + "version": "5.4.4", + "resolved": "https://registry.npmjs.org/change-case/-/change-case-5.4.4.tgz", + "integrity": "sha512-HRQyTk2/YPEkt9TnUPbOpr64Uw3KOicFWPVBb+xiHvd6eBx/qPr9xqfBFDT8P2vWsvvz4jbEkfDe71W3VyNu2w==", + "dev": true, + "license": "MIT" + }, + "node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/chokidar/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/chownr": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", @@ -4175,6 +5564,13 @@ "url": "https://polar.sh/cva" } }, + "node_modules/classnames": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz", + "integrity": "sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==", + "dev": true, + "license": "MIT" + }, "node_modules/cli-table": { "version": "0.3.11", "resolved": "https://registry.npmjs.org/cli-table/-/cli-table-0.3.11.tgz", @@ -4249,6 +5645,13 @@ "devOptional": true, "license": "MIT" }, + "node_modules/colorette": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.4.0.tgz", + "integrity": "sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g==", + "dev": true, + "license": "MIT" + }, "node_modules/colors": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz", @@ -4259,6 +5662,19 @@ "node": ">=0.1.90" } }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -4266,6 +5682,22 @@ "dev": true, "license": "MIT" }, + "node_modules/concat-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", + "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==", + "dev": true, + "engines": [ + "node >= 6.0" + ], + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.0.2", + "typedarray": "^0.0.6" + } + }, "node_modules/concurrently": { "version": "9.1.2", "resolved": "https://registry.npmjs.org/concurrently/-/concurrently-9.1.2.tgz", @@ -4350,6 +5782,18 @@ "node": ">=6.6.0" } }, + "node_modules/core-js": { + "version": "3.41.0", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.41.0.tgz", + "integrity": "sha512-SJ4/EHwS36QMJd6h/Rg+GyR4A5xE0FSI3eZ+iBVpfqf1x0eTSg1smWLHrA+2jQThZSh97fmSgFSU8B61nxosxA==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, "node_modules/cors": { "version": "2.8.5", "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", @@ -4399,6 +5843,35 @@ "node": ">= 8" } }, + "node_modules/css-color-keywords": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/css-color-keywords/-/css-color-keywords-1.0.0.tgz", + "integrity": "sha512-FyyrDHZKEjXDpNJYvVsV960FiqQyXc/LlYmsxl2BcdMb2WPx0OGRVgTg55rPSyLSNMqP52R9r8geSp7apN3Ofg==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "node_modules/css-to-react-native": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/css-to-react-native/-/css-to-react-native-3.2.0.tgz", + "integrity": "sha512-e8RKaLXMOFii+02mOlqwjbD00KSEKqblnpO9e++1aXS1fPQOpS1YoqdVHBqPjHNoxeF2mimzVqawm2KCbEdtHQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "camelize": "^1.0.0", + "css-color-keywords": "^1.0.0", + "postcss-value-parser": "^4.0.2" + } + }, + "node_modules/csstype": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", + "dev": true, + "license": "MIT" + }, "node_modules/data-uri-to-buffer": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz", @@ -4425,6 +5898,12 @@ } } }, + "node_modules/decko": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decko/-/decko-1.2.0.tgz", + "integrity": "sha512-m8FnyHXV1QX+S1cl+KPFDIl6NMkxtKsy6+U/aYyjrOqWMuwAwYWu7ePqrsUHtDR5Y8Yk2pi/KIDSgF+vT4cPOQ==", + "dev": true + }, "node_modules/decompress-response": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", @@ -4518,6 +5997,16 @@ "node": ">= 14" } }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/depd": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", @@ -4564,6 +6053,39 @@ "node": ">=0.3.1" } }, + "node_modules/diff-sequences": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", + "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/dompurify": { + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.2.5.tgz", + "integrity": "sha512-mLPd29uoRe9HpvwP2TxClGQBzGXeEC/we/q+bFlmPPmj2p2Ugl3r6ATu/UU1v77DXNcehiBg9zsr1dREyA/dJQ==", + "dev": true, + "license": "(MPL-2.0 OR Apache-2.0)", + "optionalDependencies": { + "@types/trusted-types": "^2.0.7" + } + }, + "node_modules/dotenv": { + "version": "16.4.7", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz", + "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, "node_modules/dunder-proto": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", @@ -4640,6 +6162,70 @@ "node": ">= 0.4" } }, + "node_modules/es-set-tostringtag": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", + "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es6-promise": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-3.3.1.tgz", + "integrity": "sha512-SOp9Phqvqn7jtEUxPWdWfWoLmyt2VaJ6MpvP9Comy1MceMXqE6bxvaTu4iaxpYYPzhny28Lc+M87/c2cPK6lDg==", + "dev": true, + "license": "MIT" + }, + "node_modules/esbuild": { + "version": "0.25.2", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.2.tgz", + "integrity": "sha512-16854zccKPnC+toMywC+uKNeYSv+/eXkevRAfwRD/G9Cleq66m8XFIrigkbvauLLlCfDL45Q2cWegSg53gGBnQ==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.25.2", + "@esbuild/android-arm": "0.25.2", + "@esbuild/android-arm64": "0.25.2", + "@esbuild/android-x64": "0.25.2", + "@esbuild/darwin-arm64": "0.25.2", + "@esbuild/darwin-x64": "0.25.2", + "@esbuild/freebsd-arm64": "0.25.2", + "@esbuild/freebsd-x64": "0.25.2", + "@esbuild/linux-arm": "0.25.2", + "@esbuild/linux-arm64": "0.25.2", + "@esbuild/linux-ia32": "0.25.2", + "@esbuild/linux-loong64": "0.25.2", + "@esbuild/linux-mips64el": "0.25.2", + "@esbuild/linux-ppc64": "0.25.2", + "@esbuild/linux-riscv64": "0.25.2", + "@esbuild/linux-s390x": "0.25.2", + "@esbuild/linux-x64": "0.25.2", + "@esbuild/netbsd-arm64": "0.25.2", + "@esbuild/netbsd-x64": "0.25.2", + "@esbuild/openbsd-arm64": "0.25.2", + "@esbuild/openbsd-x64": "0.25.2", + "@esbuild/sunos-x64": "0.25.2", + "@esbuild/win32-arm64": "0.25.2", + "@esbuild/win32-ia32": "0.25.2", + "@esbuild/win32-x64": "0.25.2" + } + }, "node_modules/escalade": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", @@ -4875,9 +6461,26 @@ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", "license": "MIT", "engines": { - "node": ">= 0.6" + "node": ">= 0.6" + } + }, + "node_modules/event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" } }, + "node_modules/eventemitter3": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", + "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==", + "dev": true, + "license": "MIT" + }, "node_modules/eventsource": { "version": "3.0.6", "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-3.0.6.tgz", @@ -5044,6 +6647,13 @@ "dev": true, "license": "MIT" }, + "node_modules/fast-safe-stringify": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", + "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==", + "dev": true, + "license": "MIT" + }, "node_modules/fast-xml-parser": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.4.1.tgz", @@ -5188,6 +6798,52 @@ "dev": true, "license": "ISC" }, + "node_modules/foreach": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.6.tgz", + "integrity": "sha512-k6GAGDyqLe9JaebCsFCoudPPWfihKu8pylYXRlqP1J7ms39iPoTtk2fviNglIeQEwdh0bQeKJ01ZPyuyQvKzwg==", + "dev": true, + "license": "MIT" + }, + "node_modules/form-data": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.2.tgz", + "integrity": "sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/form-data/node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/form-data/node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, "node_modules/formdata-polyfill": { "version": "4.0.10", "resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz", @@ -5226,6 +6882,28 @@ "license": "MIT", "optional": true }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true, + "license": "ISC" + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", @@ -5279,6 +6957,13 @@ "node": ">=6" } }, + "node_modules/get-port-please": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/get-port-please/-/get-port-please-3.1.2.tgz", + "integrity": "sha512-Gxc29eLs1fbn6LQ4jSU4vXjlwyZhF5HsGuMAa7gqBP4Rw4yxxltyDUuF5MBclFzDTXO+ACchGQoeela4DSfzdQ==", + "dev": true, + "license": "MIT" + }, "node_modules/get-proto": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", @@ -5304,6 +6989,19 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/get-tsconfig": { + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.10.0.tgz", + "integrity": "sha512-kGzZ3LWWQcGIAmg6iWvXn0ei6WDtV26wzHRMwDSzmAbcXrTEXxHy6IehI6/4eT6VRKyMP1eF1VqwrVUmE/LR7A==", + "dev": true, + "license": "MIT", + "dependencies": { + "resolve-pkg-maps": "^1.0.0" + }, + "funding": { + "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" + } + }, "node_modules/get-uri": { "version": "6.0.4", "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.4.tgz", @@ -5334,6 +7032,28 @@ "license": "MIT", "optional": true }, + "node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/glob-parent": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", @@ -5379,6 +7099,28 @@ "dev": true, "license": "MIT" }, + "node_modules/handlebars": { + "version": "4.7.8", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz", + "integrity": "sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "^1.2.5", + "neo-async": "^2.6.2", + "source-map": "^0.6.1", + "wordwrap": "^1.0.0" + }, + "bin": { + "handlebars": "bin/handlebars" + }, + "engines": { + "node": ">=0.4.7" + }, + "optionalDependencies": { + "uglify-js": "^3.1.4" + } + }, "node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -5401,6 +7143,22 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/hasown": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", @@ -5452,6 +7210,13 @@ "node": ">= 14" } }, + "node_modules/http2-client": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/http2-client/-/http2-client-1.3.5.tgz", + "integrity": "sha512-EC2utToWl4RKfs5zd36Mxq7nzHHBuomZboI0yYL6Y0RmBgT7Sgkq4rQ0ezFTYoIsSs7Tm9SJe+o2FcAg6GBhGA==", + "dev": true, + "license": "MIT" + }, "node_modules/https-proxy-agent": { "version": "7.0.6", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", @@ -5545,6 +7310,31 @@ "node": ">=0.8.19" } }, + "node_modules/index-to-position": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/index-to-position/-/index-to-position-1.1.0.tgz", + "integrity": "sha512-XPdx9Dq4t9Qk1mTMbWONJqU7boCoumEH7fRET37HX5+khDUl3J2W6PdALxhILYlIYx2amlwYcRPp28p0tSiojg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", + "dev": true, + "license": "ISC", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", @@ -5587,6 +7377,19 @@ "license": "MIT", "optional": true }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "license": "MIT", + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/is-docker": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", @@ -5722,6 +7525,48 @@ "license": "MIT", "optional": true }, + "node_modules/jest-diff": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz", + "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "diff-sequences": "^29.6.3", + "jest-get-type": "^29.6.3", + "pretty-format": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-get-type": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz", + "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-matcher-utils": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz", + "integrity": "sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "jest-diff": "^29.7.0", + "jest-get-type": "^29.6.3", + "pretty-format": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, "node_modules/jose": { "version": "4.15.9", "resolved": "https://registry.npmjs.org/jose/-/jose-4.15.9.tgz", @@ -5731,6 +7576,16 @@ "url": "https://github.com/sponsors/panva" } }, + "node_modules/js-levenshtein": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/js-levenshtein/-/js-levenshtein-1.1.6.tgz", + "integrity": "sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -5757,6 +7612,16 @@ "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==", "license": "MIT" }, + "node_modules/jsep": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/jsep/-/jsep-1.4.0.tgz", + "integrity": "sha512-B7qPcEVE3NVkmSJbaYxvv4cHkVW7DQsZz13pUMrfS8z8Q/BuShN+gcTXrUlPiGqM2/t/EEaI030bpxMqY8gMlw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10.16.0" + } + }, "node_modules/json-buffer": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", @@ -5764,6 +7629,16 @@ "dev": true, "license": "MIT" }, + "node_modules/json-pointer": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/json-pointer/-/json-pointer-0.6.2.tgz", + "integrity": "sha512-vLWcKbOaXlO+jvRy4qNd+TI1QUPZzfJj1tpJ3vAXDych5XJf93ftpUKe5pKCrzyIIwgBJcOcCVRUfqQP25afBw==", + "dev": true, + "license": "MIT", + "dependencies": { + "foreach": "^2.0.4" + } + }, "node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", @@ -5778,6 +7653,35 @@ "dev": true, "license": "MIT" }, + "node_modules/jsonpath-plus": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-10.3.0.tgz", + "integrity": "sha512-8TNmfeTCk2Le33A3vRRwtuworG/L5RrgMvdjhKZxvyShO+mBu2fP50OWUjRLNtvw344DdDarFh9buFAZs5ujeA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jsep-plugin/assignment": "^1.3.0", + "@jsep-plugin/regex": "^1.0.4", + "jsep": "^1.4.0" + }, + "bin": { + "jsonpath": "bin/jsonpath-cli.js", + "jsonpath-plus": "bin/jsonpath-cli.js" + }, + "engines": { + "node": ">=18.0.0" + } + }, + "node_modules/jsonpointer": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-5.0.1.tgz", + "integrity": "sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/kerberos": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/kerberos/-/kerberos-2.2.2.tgz", @@ -5803,6 +7707,16 @@ "json-buffer": "3.0.1" } }, + "node_modules/leven": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -5846,6 +7760,13 @@ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", "license": "MIT" }, + "node_modules/long": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/long/-/long-5.3.1.tgz", + "integrity": "sha512-ka87Jz3gcx/I7Hal94xaN2tZEOPoUOEVftkQqZx2EeQRN7LGdfLlI3FvZ+7WDplm+vK2Urx9ULrvSowtdCieng==", + "dev": true, + "license": "Apache-2.0" + }, "node_modules/loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", @@ -5878,6 +7799,13 @@ "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0-rc" } }, + "node_modules/lunr": { + "version": "2.3.9", + "resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.9.tgz", + "integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==", + "dev": true, + "license": "MIT" + }, "node_modules/macos-export-certificate-and-key": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/macos-export-certificate-and-key/-/macos-export-certificate-and-key-1.2.4.tgz", @@ -5907,6 +7835,26 @@ "dev": true, "license": "ISC" }, + "node_modules/mark.js": { + "version": "8.11.1", + "resolved": "https://registry.npmjs.org/mark.js/-/mark.js-8.11.1.tgz", + "integrity": "sha512-1I+1qpDt4idfgLQG+BNWmrqku+7/2bi5nLf4YwF8y8zXvmfiTBY3PV3ZibfrjBueCByROpuBjLLFCajqkgYoLQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/marked": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", + "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==", + "dev": true, + "license": "MIT", + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 12" + } + }, "node_modules/math-intrinsics": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", @@ -6061,8 +8009,8 @@ "version": "1.2.8", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "devOptional": true, "license": "MIT", - "optional": true, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -6074,6 +8022,69 @@ "license": "MIT", "optional": true }, + "node_modules/mobx": { + "version": "6.13.7", + "resolved": "https://registry.npmjs.org/mobx/-/mobx-6.13.7.tgz", + "integrity": "sha512-aChaVU/DO5aRPmk1GX8L+whocagUUpBQqoPtJk+cm7UOXUk87J4PeWCh6nNmTTIfEhiR9DI/+FnA8dln/hTK7g==", + "dev": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mobx" + } + }, + "node_modules/mobx-react": { + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/mobx-react/-/mobx-react-9.2.0.tgz", + "integrity": "sha512-dkGWCx+S0/1mfiuFfHRH8D9cplmwhxOV5CkXMp38u6rQGG2Pv3FWYztS0M7ncR6TyPRQKaTG/pnitInoYE9Vrw==", + "dev": true, + "license": "MIT", + "dependencies": { + "mobx-react-lite": "^4.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mobx" + }, + "peerDependencies": { + "mobx": "^6.9.0", + "react": "^16.8.0 || ^17 || ^18 || ^19" + }, + "peerDependenciesMeta": { + "react-dom": { + "optional": true + }, + "react-native": { + "optional": true + } + } + }, + "node_modules/mobx-react-lite": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/mobx-react-lite/-/mobx-react-lite-4.1.0.tgz", + "integrity": "sha512-QEP10dpHHBeQNv1pks3WnHRCem2Zp636lq54M2nKO2Sarr13pL4u6diQXf65yzXUn0mkk18SyIDCm9UOJYTi1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "use-sync-external-store": "^1.4.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mobx" + }, + "peerDependencies": { + "mobx": "^6.9.0", + "react": "^16.8.0 || ^17 || ^18 || ^19" + }, + "peerDependenciesMeta": { + "react-dom": { + "optional": true + }, + "react-native": { + "optional": true + } + } + }, "node_modules/mongodb": { "version": "6.15.0", "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.15.0.tgz", @@ -6217,6 +8228,25 @@ "license": "MIT", "optional": true }, + "node_modules/nanoid": { + "version": "3.3.11", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", + "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, "node_modules/napi-build-utils": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-2.0.0.tgz", @@ -6241,6 +8271,13 @@ "node": ">= 0.6" } }, + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true, + "license": "MIT" + }, "node_modules/netmask": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz", @@ -6307,6 +8344,39 @@ "url": "https://opencollective.com/node-fetch" } }, + "node_modules/node-fetch-h2": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/node-fetch-h2/-/node-fetch-h2-2.3.0.tgz", + "integrity": "sha512-ofRW94Ab0T4AOh5Fk8t0h8OBWrmjb0SSB20xh1H8YnPV9EJ+f5AMoYSUQ2zgJ4Iq2HAK0I2l5/Nequ8YzFS3Hg==", + "dev": true, + "license": "MIT", + "dependencies": { + "http2-client": "^1.2.5" + }, + "engines": { + "node": "4.x || >=6.0.0" + } + }, + "node_modules/node-readfiles": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/node-readfiles/-/node-readfiles-0.2.0.tgz", + "integrity": "sha512-SU00ZarexNlE4Rjdm83vglt5Y9yiQ+XI1XpflWlb7q7UTN1JUItm69xMeiQCTxtTfnzt+83T8Cx+vI2ED++VDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es6-promise": "^3.2.1" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/npm-run-path": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz", @@ -6344,6 +8414,111 @@ "node": "*" } }, + "node_modules/oas-kit-common": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/oas-kit-common/-/oas-kit-common-1.0.8.tgz", + "integrity": "sha512-pJTS2+T0oGIwgjGpw7sIRU8RQMcUoKCDWFLdBqKB2BNmGpbBMH2sdqAaOXUg8OzonZHU0L7vfJu1mJFEiYDWOQ==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "fast-safe-stringify": "^2.0.7" + } + }, + "node_modules/oas-linter": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/oas-linter/-/oas-linter-3.2.2.tgz", + "integrity": "sha512-KEGjPDVoU5K6swgo9hJVA/qYGlwfbFx+Kg2QB/kd7rzV5N8N5Mg6PlsoCMohVnQmo+pzJap/F610qTodKzecGQ==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@exodus/schemasafe": "^1.0.0-rc.2", + "should": "^13.2.1", + "yaml": "^1.10.0" + }, + "funding": { + "url": "https://github.com/Mermade/oas-kit?sponsor=1" + } + }, + "node_modules/oas-linter/node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">= 6" + } + }, + "node_modules/oas-resolver": { + "version": "2.5.6", + "resolved": "https://registry.npmjs.org/oas-resolver/-/oas-resolver-2.5.6.tgz", + "integrity": "sha512-Yx5PWQNZomfEhPPOphFbZKi9W93CocQj18NlD2Pa4GWZzdZpSJvYwoiuurRI7m3SpcChrnO08hkuQDL3FGsVFQ==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "node-fetch-h2": "^2.3.0", + "oas-kit-common": "^1.0.8", + "reftools": "^1.1.9", + "yaml": "^1.10.0", + "yargs": "^17.0.1" + }, + "bin": { + "resolve": "resolve.js" + }, + "funding": { + "url": "https://github.com/Mermade/oas-kit?sponsor=1" + } + }, + "node_modules/oas-resolver/node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">= 6" + } + }, + "node_modules/oas-schema-walker": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/oas-schema-walker/-/oas-schema-walker-1.1.5.tgz", + "integrity": "sha512-2yucenq1a9YPmeNExoUa9Qwrt9RFkjqaMAA1X+U7sbb0AqBeTIdMHky9SQQ6iN94bO5NW0W4TRYXerG+BdAvAQ==", + "dev": true, + "license": "BSD-3-Clause", + "funding": { + "url": "https://github.com/Mermade/oas-kit?sponsor=1" + } + }, + "node_modules/oas-validator": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/oas-validator/-/oas-validator-5.0.8.tgz", + "integrity": "sha512-cu20/HE5N5HKqVygs3dt94eYJfBi0TsZvPVXDhbXQHiEityDN+RROTleefoKRKKJ9dFAF2JBkDHgvWj0sjKGmw==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "call-me-maybe": "^1.0.1", + "oas-kit-common": "^1.0.8", + "oas-linter": "^3.2.2", + "oas-resolver": "^2.5.6", + "oas-schema-walker": "^1.1.5", + "reftools": "^1.1.9", + "should": "^13.2.1", + "yaml": "^1.10.0" + }, + "funding": { + "url": "https://github.com/Mermade/oas-kit?sponsor=1" + } + }, + "node_modules/oas-validator/node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">= 6" + } + }, "node_modules/object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", @@ -6439,6 +8614,78 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/openapi-sampler": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/openapi-sampler/-/openapi-sampler-1.6.1.tgz", + "integrity": "sha512-s1cIatOqrrhSj2tmJ4abFYZQK6l5v+V4toO5q1Pa0DyN8mtyqy2I+Qrj5W9vOELEtybIMQs/TBZGVO/DtTFK8w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/json-schema": "^7.0.7", + "fast-xml-parser": "^4.5.0", + "json-pointer": "0.6.2" + } + }, + "node_modules/openapi-sampler/node_modules/fast-xml-parser": { + "version": "4.5.3", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.5.3.tgz", + "integrity": "sha512-RKihhV+SHsIUGXObeVy9AXiBbFwkVk7Syp8XgwN5U3JV416+Gwp/GO9i0JYKmikykgz/UHRrrV4ROuZEo/T0ig==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/NaturalIntelligence" + } + ], + "license": "MIT", + "dependencies": { + "strnum": "^1.1.1" + }, + "bin": { + "fxparser": "src/cli/cli.js" + } + }, + "node_modules/openapi-types": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-12.1.3.tgz", + "integrity": "sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw==", + "dev": true, + "license": "MIT" + }, + "node_modules/openapi-typescript": { + "version": "7.6.1", + "resolved": "https://registry.npmjs.org/openapi-typescript/-/openapi-typescript-7.6.1.tgz", + "integrity": "sha512-F7RXEeo/heF3O9lOXo2bNjCOtfp7u+D6W3a3VNEH2xE6v+fxLtn5nq0uvUcA1F5aT+CMhNeC5Uqtg5tlXFX/ag==", + "dev": true, + "license": "MIT", + "dependencies": { + "@redocly/openapi-core": "^1.28.0", + "ansi-colors": "^4.1.3", + "change-case": "^5.4.4", + "parse-json": "^8.1.0", + "supports-color": "^9.4.0", + "yargs-parser": "^21.1.1" + }, + "bin": { + "openapi-typescript": "bin/cli.js" + }, + "peerDependencies": { + "typescript": "^5.x" + } + }, + "node_modules/openapi-typescript/node_modules/supports-color": { + "version": "9.4.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-9.4.0.tgz", + "integrity": "sha512-VL+lNrEoIXww1coLPOmiEmK/0sGigko5COxI09KzHc2VJXJsQ37UaQ+8quuxjDeA7+KnLGTWRyOXSLLR2Wb4jw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, "node_modules/openid-client": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/openid-client/-/openid-client-5.7.1.tgz", @@ -6505,6 +8752,13 @@ "license": "MIT", "optional": true }, + "node_modules/outdent": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/outdent/-/outdent-0.8.0.tgz", + "integrity": "sha512-KiOAIsdpUTcAXuykya5fnVVT+/5uS0Q1mrkRHcF89tpieSmY33O/tmc54CqwA+bfhbtEfZUNLHaPUiB9X3jt1A==", + "dev": true, + "license": "MIT" + }, "node_modules/p-limit": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", @@ -6582,6 +8836,24 @@ "node": ">=6" } }, + "node_modules/parse-json": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-8.3.0.tgz", + "integrity": "sha512-ybiGyvspI+fAoRQbIPRddCcSTV9/LsJbf0e/S85VLowVGzRmokfneg2kwVW/KU5rOXrPSbF1qAKPMgNTqqROQQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.26.2", + "index-to-position": "^1.1.0", + "type-fest": "^4.39.1" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/parseurl": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", @@ -6591,6 +8863,13 @@ "node": ">= 0.8" } }, + "node_modules/path-browserify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", + "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", + "dev": true, + "license": "MIT" + }, "node_modules/path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", @@ -6601,6 +8880,16 @@ "node": ">=8" } }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/path-is-inside": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", @@ -6627,6 +8916,20 @@ "node": ">=16" } }, + "node_modules/perfect-scrollbar": { + "version": "1.5.6", + "resolved": "https://registry.npmjs.org/perfect-scrollbar/-/perfect-scrollbar-1.5.6.tgz", + "integrity": "sha512-rixgxw3SxyJbCaSpo1n35A/fwI1r2rdwMKOTCg/AcG+xOEyZcE8UHVjpZMFCVImzsFoCZeJTT+M/rdEIQYO2nw==", + "dev": true, + "license": "MIT" + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, "node_modules/picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", @@ -6650,6 +8953,65 @@ "node": ">=16.20.0" } }, + "node_modules/pluralize": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz", + "integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/polished": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/polished/-/polished-4.3.1.tgz", + "integrity": "sha512-OBatVyC/N7SCW/FaDHrSd+vn0o5cS855TOmYi4OkdWUMSJCET/xip//ch8xGUvtr3i44X9LVyWwQlRMTN3pwSA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.17.8" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/postcss": { + "version": "8.4.49", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.49.tgz", + "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.7", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.1" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", + "dev": true, + "license": "MIT" + }, "node_modules/prebuild-install": { "version": "7.1.3", "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.3.tgz", @@ -6703,6 +9065,34 @@ "url": "https://github.com/prettier/prettier?sponsor=1" } }, + "node_modules/pretty-format": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", + "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/schemas": "^29.6.3", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/pretty-format/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, "node_modules/prismjs": { "version": "1.30.0", "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.30.0.tgz", @@ -6723,6 +9113,50 @@ "node": ">=0.4.0" } }, + "node_modules/prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "dev": true, + "license": "MIT", + "dependencies": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "node_modules/prop-types/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/protobufjs": { + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.4.0.tgz", + "integrity": "sha512-mRUWCc3KUU4w1jU8sGxICXH/gNS94DvI1gxqDvBzhj1JpcsimQkYiOJfwsPUykUI5ZaspFbSgmBLER8IrQ3tqw==", + "dev": true, + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, "node_modules/proxy-addr": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", @@ -6793,6 +9227,16 @@ ], "license": "MIT" }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, "node_modules/range-parser": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", @@ -6871,6 +9315,13 @@ "react": "^18.3.1" } }, + "node_modules/react-is": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", + "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", + "dev": true, + "license": "MIT" + }, "node_modules/react-remove-scroll": { "version": "2.6.3", "resolved": "https://registry.npmjs.org/react-remove-scroll/-/react-remove-scroll-2.6.3.tgz", @@ -6954,12 +9405,26 @@ } } }, + "node_modules/react-tabs": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/react-tabs/-/react-tabs-6.1.0.tgz", + "integrity": "sha512-6QtbTRDKM+jA/MZTTefvigNxo0zz+gnBTVFw2CFVvq+f2BuH0nF0vDLNClL045nuTAdOoK/IL1vTP0ZLX0DAyQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "clsx": "^2.0.0", + "prop-types": "^15.5.0" + }, + "peerDependencies": { + "react": "^18.0.0 || ^19.0.0" + } + }, "node_modules/readable-stream": { "version": "3.6.2", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "devOptional": true, "license": "MIT", - "optional": true, "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -6969,6 +9434,77 @@ "node": ">= 6" } }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "license": "MIT", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/redoc": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/redoc/-/redoc-2.4.0.tgz", + "integrity": "sha512-rFlfzFVWS9XJ6aYAs/bHnLhHP5FQEhwAHDBVgwb9L2FqDQ8Hu8rQ1G84iwaWXxZfPP9UWn7JdWkxI6MXr2ZDjw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@redocly/openapi-core": "^1.4.0", + "classnames": "^2.3.2", + "decko": "^1.2.0", + "dompurify": "^3.0.6", + "eventemitter3": "^5.0.1", + "json-pointer": "^0.6.2", + "lunr": "^2.3.9", + "mark.js": "^8.11.1", + "marked": "^4.3.0", + "mobx-react": "^9.1.1", + "openapi-sampler": "^1.5.0", + "path-browserify": "^1.0.1", + "perfect-scrollbar": "^1.5.5", + "polished": "^4.2.2", + "prismjs": "^1.29.0", + "prop-types": "^15.8.1", + "react-tabs": "^6.0.2", + "slugify": "~1.4.7", + "stickyfill": "^1.1.1", + "swagger2openapi": "^7.0.8", + "url-template": "^2.0.8" + }, + "engines": { + "node": ">=6.9", + "npm": ">=3.0.0" + }, + "peerDependencies": { + "core-js": "^3.1.4", + "mobx": "^6.0.4", + "react": "^16.8.4 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "react-dom": "^16.8.4 || ^17.0.0 || ^18.0.0 || ^19.0.0", + "styled-components": "^4.1.1 || ^5.1.1 || ^6.0.5" + } + }, + "node_modules/reftools": { + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/reftools/-/reftools-1.1.9.tgz", + "integrity": "sha512-OVede/NQE13xBQ+ob5CKd5KyeJYU2YInb1bmV4nRoOfquZPkAkxuOXicSe1PvqIuZZ4kD13sPKBbR7UFDmli6w==", + "dev": true, + "license": "BSD-3-Clause", + "funding": { + "url": "https://github.com/Mermade/oas-kit?sponsor=1" + } + }, + "node_modules/regenerator-runtime": { + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", + "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", + "dev": true, + "license": "MIT" + }, "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -6979,6 +9515,16 @@ "node": ">=0.10.0" } }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/reservoir": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/reservoir/-/reservoir-0.1.2.tgz", @@ -7008,6 +9554,16 @@ "resolve-mongodb-srv": "bin/resolve-mongodb-srv.js" } }, + "node_modules/resolve-pkg-maps": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", + "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1" + } + }, "node_modules/reusify": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", @@ -7338,12 +9894,26 @@ "node": ">= 18" } }, + "node_modules/set-cookie-parser": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.1.tgz", + "integrity": "sha512-IOc8uWeOZgnb3ptbCURJWNjWUPcO3ZnTTdzsurqERrP6nPyv+paC55vJM0LpOlT2ne+Ix+9+CRG1MNLlyZ4GjQ==", + "dev": true, + "license": "MIT" + }, "node_modules/setprototypeof": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==", "license": "ISC" }, + "node_modules/shallowequal": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz", + "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==", + "dev": true, + "license": "MIT" + }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -7378,6 +9948,66 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/should": { + "version": "13.2.3", + "resolved": "https://registry.npmjs.org/should/-/should-13.2.3.tgz", + "integrity": "sha512-ggLesLtu2xp+ZxI+ysJTmNjh2U0TsC+rQ/pfED9bUZZ4DKefP27D+7YJVVTvKsmjLpIi9jAa7itwDGkDDmt1GQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "should-equal": "^2.0.0", + "should-format": "^3.0.3", + "should-type": "^1.4.0", + "should-type-adaptors": "^1.0.1", + "should-util": "^1.0.0" + } + }, + "node_modules/should-equal": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/should-equal/-/should-equal-2.0.0.tgz", + "integrity": "sha512-ZP36TMrK9euEuWQYBig9W55WPC7uo37qzAEmbjHz4gfyuXrEUgF8cUvQVO+w+d3OMfPvSRQJ22lSm8MQJ43LTA==", + "dev": true, + "license": "MIT", + "dependencies": { + "should-type": "^1.4.0" + } + }, + "node_modules/should-format": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/should-format/-/should-format-3.0.3.tgz", + "integrity": "sha512-hZ58adtulAk0gKtua7QxevgUaXTTXxIi8t41L3zo9AHvjXO1/7sdLECuHeIN2SRtYXpNkmhoUP2pdeWgricQ+Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "should-type": "^1.3.0", + "should-type-adaptors": "^1.0.1" + } + }, + "node_modules/should-type": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/should-type/-/should-type-1.4.0.tgz", + "integrity": "sha512-MdAsTu3n25yDbIe1NeN69G4n6mUnJGtSJHygX3+oN0ZbO3DTiATnf7XnYJdGT42JCXurTb1JI0qOBR65shvhPQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/should-type-adaptors": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/should-type-adaptors/-/should-type-adaptors-1.1.0.tgz", + "integrity": "sha512-JA4hdoLnN+kebEp2Vs8eBe9g7uy0zbRo+RMcU0EsNy+R+k049Ki+N5tT5Jagst2g7EAja+euFuoXFCa8vIklfA==", + "dev": true, + "license": "MIT", + "dependencies": { + "should-type": "^1.3.0", + "should-util": "^1.0.0" + } + }, + "node_modules/should-util": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/should-util/-/should-util-1.0.1.tgz", + "integrity": "sha512-oXF8tfxx5cDk8r2kYqlkUJzZpDBqVY/II2WhvU0n9Y3XYvAYRmeaf1PvvIvTgPnv4KJ+ES5M0PyDq5Jp+Ygy2g==", + "dev": true, + "license": "MIT" + }, "node_modules/side-channel": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", @@ -7503,6 +10133,66 @@ "simple-concat": "^1.0.0" } }, + "node_modules/simple-websocket": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/simple-websocket/-/simple-websocket-9.1.0.tgz", + "integrity": "sha512-8MJPnjRN6A8UCp1I+H/dSFyjwJhp6wta4hsVRhjf8w9qBHRzxYt14RaOcjvQnhD1N4yKOddEjflwMnQM4VtXjQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "debug": "^4.3.1", + "queue-microtask": "^1.2.2", + "randombytes": "^2.1.0", + "readable-stream": "^3.6.0", + "ws": "^7.4.2" + } + }, + "node_modules/simple-websocket/node_modules/ws": { + "version": "7.5.10", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", + "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/slugify": { + "version": "1.4.7", + "resolved": "https://registry.npmjs.org/slugify/-/slugify-1.4.7.tgz", + "integrity": "sha512-tf+h5W1IrjNm/9rKKj0JU2MDMruiopx0jjVA5zCdBtcGjfp0+c5rHw/zADLC3IeKlGHtVbHtpfzvYA0OYT+HKg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.0.0" + } + }, "node_modules/smart-buffer": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", @@ -7545,8 +10235,18 @@ "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "devOptional": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-js": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", + "dev": true, "license": "BSD-3-Clause", - "optional": true, "engines": { "node": ">=0.10.0" } @@ -7616,12 +10316,18 @@ "node": ">= 0.8" } }, + "node_modules/stickyfill": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/stickyfill/-/stickyfill-1.1.1.tgz", + "integrity": "sha512-GCp7vHAfpao+Qh/3Flh9DXEJ/qSi0KJwJw6zYlZOtRYXWUIpMM6mC2rIep/dK8RQqwW0KxGJIllmjPIBOGN8AA==", + "dev": true + }, "node_modules/string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "devOptional": true, "license": "MIT", - "optional": true, "dependencies": { "safe-buffer": "~5.2.0" } @@ -7691,6 +10397,49 @@ ], "license": "MIT" }, + "node_modules/styled-components": { + "version": "6.1.17", + "resolved": "https://registry.npmjs.org/styled-components/-/styled-components-6.1.17.tgz", + "integrity": "sha512-97D7DwWanI7nN24v0D4SvbfjLE9656umNSJZkBkDIWL37aZqG/wRQ+Y9pWtXyBIM/NSfcBzHLErEsqHmJNSVUg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@emotion/is-prop-valid": "1.2.2", + "@emotion/unitless": "0.8.1", + "@types/stylis": "4.2.5", + "css-to-react-native": "3.2.0", + "csstype": "3.1.3", + "postcss": "8.4.49", + "shallowequal": "1.1.0", + "stylis": "4.3.2", + "tslib": "2.6.2" + }, + "engines": { + "node": ">= 16" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/styled-components" + }, + "peerDependencies": { + "react": ">= 16.8.0", + "react-dom": ">= 16.8.0" + } + }, + "node_modules/styled-components/node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", + "dev": true, + "license": "0BSD" + }, + "node_modules/stylis": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.3.2.tgz", + "integrity": "sha512-bhtUjWd/z6ltJiQwg0dUfxEJ+W+jdqQd8TbWLWyeIJHlnsqmGLRFFd8e5mA0AZi/zx90smXRlN66YMTcaSFifg==", + "dev": true, + "license": "MIT" + }, "node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -7704,6 +10453,90 @@ "node": ">=8" } }, + "node_modules/swagger2openapi": { + "version": "7.0.8", + "resolved": "https://registry.npmjs.org/swagger2openapi/-/swagger2openapi-7.0.8.tgz", + "integrity": "sha512-upi/0ZGkYgEcLeGieoz8gT74oWHA0E7JivX7aN9mAf+Tc7BQoRBvnIGHoPDw+f9TXTW4s6kGYCZJtauP6OYp7g==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "call-me-maybe": "^1.0.1", + "node-fetch": "^2.6.1", + "node-fetch-h2": "^2.3.0", + "node-readfiles": "^0.2.0", + "oas-kit-common": "^1.0.8", + "oas-resolver": "^2.5.6", + "oas-schema-walker": "^1.1.5", + "oas-validator": "^5.0.8", + "reftools": "^1.1.9", + "yaml": "^1.10.0", + "yargs": "^17.0.1" + }, + "bin": { + "boast": "boast.js", + "oas-validate": "oas-validate.js", + "swagger2openapi": "swagger2openapi.js" + }, + "funding": { + "url": "https://github.com/Mermade/oas-kit?sponsor=1" + } + }, + "node_modules/swagger2openapi/node_modules/node-fetch": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/swagger2openapi/node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "dev": true, + "license": "MIT" + }, + "node_modules/swagger2openapi/node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/swagger2openapi/node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "dev": true, + "license": "MIT", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "node_modules/swagger2openapi/node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">= 6" + } + }, "node_modules/system-ca": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/system-ca/-/system-ca-2.0.1.tgz", @@ -7892,6 +10725,26 @@ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", "license": "0BSD" }, + "node_modules/tsx": { + "version": "4.19.3", + "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.19.3.tgz", + "integrity": "sha512-4H8vUNGNjQ4V2EOoGw005+c+dGuPSnhpPBPHBtsZdGZBk/iJb4kguGlPWaZTZ3q5nMtFOEsY0nRDlh9PJyd6SQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "~0.25.0", + "get-tsconfig": "^4.7.5" + }, + "bin": { + "tsx": "dist/cli.mjs" + }, + "engines": { + "node": ">=18.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + } + }, "node_modules/tunnel-agent": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", @@ -7924,6 +10777,19 @@ "node": ">= 0.8.0" } }, + "node_modules/type-fest": { + "version": "4.39.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.39.1.tgz", + "integrity": "sha512-uW9qzd66uyHYxwyVBYiwS4Oi0qZyUqwjU+Oevr6ZogYiXt99EOYtwvzMSLw1c3lYo2HzJsep/NB23iEVEgjG/w==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/type-is": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.0.1.tgz", @@ -7939,6 +10805,13 @@ "node": ">= 0.6" } }, + "node_modules/typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==", + "dev": true, + "license": "MIT" + }, "node_modules/typescript": { "version": "5.8.2", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.2.tgz", @@ -7976,6 +10849,30 @@ "typescript": ">=4.8.4 <5.9.0" } }, + "node_modules/uglify-js": { + "version": "3.19.3", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz", + "integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==", + "dev": true, + "license": "BSD-2-Clause", + "optional": true, + "bin": { + "uglifyjs": "bin/uglifyjs" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/undici": { + "version": "6.21.2", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.21.2.tgz", + "integrity": "sha512-uROZWze0R0itiAKVPsYhFov9LxrPMHLMEQFszeI2gCN6bnIIZ8twzBCJcN2LJrBBLfrP0t1FW0g+JmKVl8Vk1g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.17" + } + }, "node_modules/undici-types": { "version": "6.21.0", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", @@ -8010,6 +10907,20 @@ "punycode": "^2.1.0" } }, + "node_modules/uri-js-replace": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/uri-js-replace/-/uri-js-replace-1.0.1.tgz", + "integrity": "sha512-W+C9NWNLFOoBI2QWDp4UT9pv65r2w5Cx+3sTYFvtMdDBxkKt1syCqsUdSFAChbEe1uK5TfS04wt/nGwmaeIQ0g==", + "dev": true, + "license": "MIT" + }, + "node_modules/url-template": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/url-template/-/url-template-2.0.8.tgz", + "integrity": "sha512-XdVKMF4SJ0nP/O7XIPB0JwAEuT9lDIYnNsK8yGVe43y0AWoKeJNdv3ZNWh7ksJ6KqQFjOO6ox/VEitLnaVNufw==", + "dev": true, + "license": "BSD" + }, "node_modules/use-callback-ref": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/use-callback-ref/-/use-callback-ref-1.3.3.tgz", @@ -8055,12 +10966,22 @@ } } }, + "node_modules/use-sync-external-store": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.5.0.tgz", + "integrity": "sha512-Rb46I4cGGVBmjamjphe8L/UnvJD+uPPtTkNvX5mZgqdbavhI4EbgIWJiIHXJ8bc/i9EQGPRh4DwEURJ552Do0A==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + } + }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", - "license": "MIT", - "optional": true + "devOptional": true, + "license": "MIT" }, "node_modules/utils-merge": { "version": "1.0.1", @@ -8178,6 +11099,13 @@ "node": ">=0.10.0" } }, + "node_modules/wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", + "dev": true, + "license": "MIT" + }, "node_modules/wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", @@ -8241,6 +11169,26 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "license": "ISC" }, + "node_modules/yaml": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.7.1.tgz", + "integrity": "sha512-10ULxpnOCQXxJvBgxsn9ptjq6uviG/htZKk9veJGhlqn3w/DxQ631zFF+nlQXLwmImeS5amR2dl2U8sg6U9jsQ==", + "dev": true, + "license": "ISC", + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/yaml-ast-parser": { + "version": "0.0.43", + "resolved": "https://registry.npmjs.org/yaml-ast-parser/-/yaml-ast-parser-0.0.43.tgz", + "integrity": "sha512-2PTINUwsRqSd+s8XxKaJWQlUuEMHJQyEuh2edBbW8KNJz0SJPwUSD2zRWqezFEdN7IzAgeuYHFUCF7o8zRdZ0A==", + "dev": true, + "license": "Apache-2.0" + }, "node_modules/yargs": { "version": "17.7.2", "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", diff --git a/package.json b/package.json index c9d2a3cb..25a0da88 100644 --- a/package.json +++ b/package.json @@ -24,24 +24,30 @@ "build": "npm run build:clean && npm run build:compile && npm run build:addshebang && npm run build:chmod", "inspect": "npm run build && mcp-inspector -- dist/index.js", "prettier": "prettier", - "check": "npm run check:lint && npm run check:format", + "check": "npm run build && npm run check:lint && npm run check:format", "check:lint": "eslint .", "check:format": "prettier -c .", - "reformat": "prettier --write ." + "reformat": "prettier --write .", + "generate": "./scripts/generate.sh" }, "license": "Apache-2.0", "devDependencies": { "@eslint/js": "^9.24.0", "@modelcontextprotocol/inspector": "^0.8.2", "@modelcontextprotocol/sdk": "^1.8.0", + "@redocly/cli": "^1.34.2", "@types/node": "^22.14.0", "@types/simple-oauth2": "^5.0.7", "eslint": "^9.24.0", "eslint-config-prettier": "^10.1.1", "globals": "^16.0.0", + "openapi-types": "^12.1.3", + "openapi-typescript": "^7.6.1", "prettier": "^3.5.3", + "tsx": "^4.19.3", "typescript": "^5.8.2", - "typescript-eslint": "^8.29.1" + "typescript-eslint": "^8.29.1", + "yaml": "^2.7.1" }, "dependencies": { "@mongodb-js/devtools-connect": "^3.7.2", diff --git a/scripts/filter.ts b/scripts/filter.ts new file mode 100644 index 00000000..01d7c226 --- /dev/null +++ b/scripts/filter.ts @@ -0,0 +1,56 @@ +import { OpenAPIV3_1 } from "openapi-types"; + +async function readStdin() { + return new Promise((resolve, reject) => { + let data = ""; + process.stdin.setEncoding("utf8"); + process.stdin.on("error", (err) => { + reject(err); + }); + process.stdin.on("data", (chunk) => { + data += chunk; + }); + process.stdin.on("end", () => { + resolve(data); + }); + }); +} + +function filterOpenapi(openapi: OpenAPIV3_1.Document): OpenAPIV3_1.Document { + const allowedOperations = [ + "listProjects", + "getProject", + "createProject", + "listClusters", + "createCluster", + "listClustersForAllProjects", + ]; + + const filteredPaths = {}; + + for (const path in openapi.paths) { + const filteredMethods = {} as OpenAPIV3_1.PathItemObject; + for (const method in openapi.paths[path]) { + if (allowedOperations.includes(openapi.paths[path][method].operationId)) { + filteredMethods[method] = openapi.paths[path][method]; + } + } + if (Object.keys(filteredMethods).length > 0) { + filteredPaths[path] = filteredMethods; + } + } + + return { ...openapi, paths: filteredPaths }; +} + +async function main() { + const openapiText = await readStdin(); + const openapi = JSON.parse(openapiText) as OpenAPIV3_1.Document; + const filteredOpenapi = filterOpenapi(openapi); + console.log(JSON.stringify(filteredOpenapi)); +} + +main().catch((error) => { + console.error("Error:", error); + process.exit(1); +}); diff --git a/scripts/generate.sh b/scripts/generate.sh new file mode 100755 index 00000000..5fbc898a --- /dev/null +++ b/scripts/generate.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +set -Eeou pipefail + +curl -Lo ./scripts/spec.json https://github.com/mongodb/openapi/raw/refs/heads/main/openapi/v2/openapi-2025-03-12.json +tsx ./scripts/filter.ts > ./scripts/filteredSpec.json < ./scripts/spec.json +redocly bundle --ext json --remove-unused-components ./scripts/filteredSpec.json --output ./scripts/bundledSpec.json +openapi-typescript ./scripts/bundledSpec.json --root-types-no-schema-prefix --root-types --output ./src/common/atlas/openapi.d.ts +prettier --write ./src/common/atlas/openapi.d.ts +rm -rf ./scripts/bundledSpec.json ./scripts/filteredSpec.json ./scripts/spec.json diff --git a/src/common/atlas/auth.ts b/src/common/atlas/auth.ts new file mode 100644 index 00000000..3516820b --- /dev/null +++ b/src/common/atlas/auth.ts @@ -0,0 +1,32 @@ +import { ApiClient } from "./client"; +import { State } from "../../state"; + +export async function ensureAuthenticated(state: State, apiClient: ApiClient): Promise { + if (!(await isAuthenticated(state, apiClient))) { + throw new Error("Not authenticated"); + } +} + +export async function isAuthenticated(state: State, apiClient: ApiClient): Promise { + switch (state.auth.status) { + case "not_auth": + return false; + case "requested": + try { + if (!state.auth.code) { + return false; + } + await apiClient.retrieveToken(state.auth.code.device_code); + return !!state.auth.token; + } catch { + return false; + } + case "issued": + if (!state.auth.token) { + return false; + } + return await apiClient.validateToken(); + default: + throw new Error("Unknown authentication status"); + } +} diff --git a/src/client.ts b/src/common/atlas/client.ts similarity index 85% rename from src/client.ts rename to src/common/atlas/client.ts index ea174ff2..7629f258 100644 --- a/src/client.ts +++ b/src/common/atlas/client.ts @@ -1,4 +1,12 @@ -import config from "./config.js"; +import config from "../../config.js"; + +import { + Group, + PaginatedOrgGroupView, + PaginatedAtlasGroupView, + ClusterDescription20240805, + PaginatedClusterDescription20240805, +} from "./openapi.js"; export interface OAuthToken { access_token: string; @@ -10,27 +18,6 @@ export interface OAuthToken { expiry: Date; } -export interface AtlasProject { - id: string; - name: string; - created?: { - $date: string; - }; -} - -export interface AtlasCluster { - id?: string; - name: string; - stateName: string; - mongoDBVersion?: string; - providerSettings?: { - regionName?: string; - }; - connectionStrings?: { - standard?: string; - }; -} - export interface OauthDeviceCode { user_code: string; verification_uri: string; @@ -39,11 +26,6 @@ export interface OauthDeviceCode { interval: string; } -export interface AtlasResponse { - results: T[]; - totalCount?: number; -} - export type saveTokenFunction = (token: OAuthToken) => void | Promise; export class ApiClientError extends Error { @@ -120,10 +102,11 @@ export class ApiClient { ...options?.headers, }, }; + const response = await fetch(url, opt); if (!response.ok) { - throw new ApiClientError(`Error calling Atlas API: ${response.statusText}`, response); + throw new ApiClientError(`Error calling Atlas API: ${await response.text()}`, response); } return (await response.json()) as T; @@ -282,31 +265,33 @@ export class ApiClient { } } - /** - * Get all projects for the authenticated user - */ - async listProjects(): Promise> { - return await this.do>("/groups"); + async listProjects(): Promise { + return await this.do("/groups"); } - /** - * Get a specific project by ID - */ - async getProject(projectId: string): Promise { - return await this.do(`/groups/${projectId}`); + async getProject(groupId: string): Promise { + return await this.do(`/groups/${groupId}`); } - /** - * Get clusters for a specific project - */ - async listProjectClusters(projectId: string): Promise> { - return await this.do>(`/groups/${projectId}/clusters`); + async listClusters(groupId: string): Promise { + return await this.do(`/groups/${groupId}/clusters`); } - /** - * Get clusters for a specific project - */ - async listAllClusters(): Promise> { - return await this.do>(`/clusters`); + async listClustersForAllProjects(): Promise { + return await this.do(`/clusters`); + } + + async getCluster(groupId: string, clusterName: string): Promise { + return await this.do(`/groups/${groupId}/clusters/${clusterName}`); + } + + async createCluster(groupId: string, cluster: ClusterDescription20240805): Promise { + if (!cluster.groupId) { + throw new Error("Cluster groupId is required"); + } + return await this.do(`/groups/${groupId}/clusters`, { + method: "POST", + body: JSON.stringify(cluster), + }); } } diff --git a/src/common/atlas/openapi.d.ts b/src/common/atlas/openapi.d.ts new file mode 100644 index 00000000..e9458381 --- /dev/null +++ b/src/common/atlas/openapi.d.ts @@ -0,0 +1,7181 @@ +/** + * This file was auto-generated by openapi-typescript. + * Do not make direct changes to the file. + */ + +export interface paths { + "/api/atlas/v2/clusters": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Return All Authorized Clusters in All Projects + * @description Returns the details for all clusters in all projects to which you have access. Clusters contain a group of hosts that maintain the same data set. The response does not include multi-cloud clusters. To use this resource, the requesting Service Account or API Key can have any cluster-level role. + */ + get: operations["listClustersForAllProjects"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/atlas/v2/groups": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Return All Projects + * @description Returns details about all projects. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting Service Account or API Key must have the Organization Read Only role or higher. + */ + get: operations["listProjects"]; + put?: never; + /** + * Create One Project + * @description Creates one project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting Service Account or API Key must have the Read Write role. + */ + post: operations["createProject"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/atlas/v2/groups/{groupId}": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Return One Project + * @description Returns details about the specified project. Projects group clusters into logical collections that support an application environment, workload, or both. Each project can have its own users, teams, security, tags, and alert settings. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. + */ + get: operations["getProject"]; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + "/api/atlas/v2/groups/{groupId}/clusters": { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Return All Clusters in One Project + * @description Returns the details for all clusters in the specific project to which you have access. Clusters contain a group of hosts that maintain the same data set. The response includes clusters with asymmetrically-sized shards. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. This feature is not available for serverless clusters. + * + * This endpoint can also be used on Flex clusters that were created using the [createCluster](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/createCluster) endpoint or former M2/M5 clusters that have been migrated to Flex clusters until January 2026. Please use the listFlexClusters endpoint for Flex clusters instead. Deprecated versions: v2-{2023-02-01}, v2-{2023-01-01} + */ + get: operations["listClusters"]; + put?: never; + /** + * Create One Cluster from One Project + * @description Creates one cluster in the specified project. Clusters contain a group of hosts that maintain the same data set. This resource can create clusters with asymmetrically-sized shards. Each project supports up to 25 database deployments. To use this resource, the requesting Service Account or API Key must have the Project Owner role. This feature is not available for serverless clusters. + * + * Please note that using an instanceSize of M2 or M5 will create a Flex cluster instead. Support for the instanceSize of M2 or M5 will be discontinued in January 2026. We recommend using the createFlexCluster API for such configurations moving forward. Deprecated versions: v2-{2024-08-05}, v2-{2023-02-01}, v2-{2023-01-01} + */ + post: operations["createCluster"]; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; +} +export type webhooks = Record; +export interface components { + schemas: { + /** + * AWS + * @description Collection of settings that configures the network container for a virtual private connection on Amazon Web Services. + */ + AWSCloudProviderContainer: Omit & { + /** @description IP addresses expressed in Classless Inter-Domain Routing (CIDR) notation that MongoDB Cloud uses for the network peering containers in your project. MongoDB Cloud assigns all of the project's clusters deployed to this cloud provider an IP address from this range. MongoDB Cloud locks this value if an M10 or greater cluster or a network peering connection exists in this project. + * + * These CIDR blocks must fall within the ranges reserved per RFC 1918. AWS and Azure further limit the block to between the `/24` and `/21` ranges. + * + * To modify the CIDR block, the target project cannot have: + * + * - Any M10 or greater clusters + * - Any other VPC peering connections + * + * You can also create a new project and create a network peering connection to set the desired MongoDB Cloud network peering container CIDR block for that project. MongoDB Cloud limits the number of MongoDB nodes per network peering connection based on the CIDR block and the region selected for the project. + * + * **Example:** A project in an Amazon Web Services (AWS) region supporting three availability zones and an MongoDB CIDR network peering container block of limit of `/24` equals 27 three-node replica sets. */ + atlasCidrBlock?: string; + /** + * @description Geographic area that Amazon Web Services (AWS) defines to which MongoDB Cloud deployed this network peering container. + * @enum {string} + */ + regionName: + | "US_EAST_1" + | "US_EAST_2" + | "US_WEST_1" + | "US_WEST_2" + | "CA_CENTRAL_1" + | "EU_NORTH_1" + | "EU_WEST_1" + | "EU_WEST_2" + | "EU_WEST_3" + | "EU_CENTRAL_1" + | "EU_CENTRAL_2" + | "SA_EAST_1" + | "AP_EAST_1" + | "AP_SOUTHEAST_2" + | "AP_SOUTHEAST_3" + | "AP_SOUTHEAST_4" + | "AP_NORTHEAST_1" + | "AP_NORTHEAST_2" + | "AP_NORTHEAST_3" + | "AP_SOUTHEAST_1" + | "AP_SOUTH_1" + | "AP_SOUTH_2" + | "CN_NORTH_1" + | "CN_NORTHWEST_1" + | "ME_CENTRAL_1" + | "ME_SOUTH_1" + | "AF_SOUTH_1" + | "EU_SOUTH_1" + | "EU_SOUTH_2" + | "IL_CENTRAL_1" + | "CA_WEST_1" + | "AP_SOUTHEAST_5" + | "AP_SOUTHEAST_7" + | "MX_CENTRAL_1" + | "GLOBAL" + | "US_GOV_WEST_1" + | "US_GOV_EAST_1"; + /** + * @description Unique string that identifies the MongoDB Cloud VPC on AWS. + * @example vpc-b555d3b0d9cb783b0 + */ + readonly vpcId?: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "AWS"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "AWS"; + }; + AWSCloudProviderSettings: Omit & { + autoScaling?: components["schemas"]["CloudProviderAWSAutoScaling"]; + /** + * Format: int32 + * @description Maximum Disk Input/Output Operations per Second (IOPS) that the database host can perform. + */ + diskIOPS?: number; + /** + * @deprecated + * @description Flag that indicates whether the Amazon Elastic Block Store (EBS) encryption feature encrypts the host's root volume for both data at rest within the volume and for data moving between the volume and the cluster. Clusters always have this setting enabled. + * @default true + */ + encryptEBSVolume: boolean; + /** + * AWS Instance Sizes + * @description Cluster tier, with a default storage and memory capacity, that applies to all the data-bearing hosts in your cluster. + * @enum {string} + */ + instanceSizeName?: + | "M10" + | "M20" + | "M30" + | "M40" + | "M50" + | "M60" + | "M80" + | "M100" + | "M140" + | "M200" + | "M300" + | "R40" + | "R50" + | "R60" + | "R80" + | "R200" + | "R300" + | "R400" + | "R700" + | "M40_NVME" + | "M50_NVME" + | "M60_NVME" + | "M80_NVME" + | "M200_NVME" + | "M400_NVME"; + /** + * AWS Regions + * @description Physical location where MongoDB Cloud deploys your AWS-hosted MongoDB cluster nodes. The region you choose can affect network latency for clients accessing your databases. When MongoDB Cloud deploys a dedicated cluster, it checks if a VPC or VPC connection exists for that provider and region. If not, MongoDB Cloud creates them as part of the deployment. MongoDB Cloud assigns the VPC a CIDR block. To limit a new VPC peering connection to one CIDR block and region, create the connection first. Deploy the cluster after the connection starts. + * @enum {string} + */ + regionName?: + | "US_GOV_WEST_1" + | "US_GOV_EAST_1" + | "US_EAST_1" + | "US_EAST_2" + | "US_WEST_1" + | "US_WEST_2" + | "CA_CENTRAL_1" + | "EU_NORTH_1" + | "EU_WEST_1" + | "EU_WEST_2" + | "EU_WEST_3" + | "EU_CENTRAL_1" + | "EU_CENTRAL_2" + | "AP_EAST_1" + | "AP_NORTHEAST_1" + | "AP_NORTHEAST_2" + | "AP_NORTHEAST_3" + | "AP_SOUTHEAST_1" + | "AP_SOUTHEAST_2" + | "AP_SOUTHEAST_3" + | "AP_SOUTHEAST_4" + | "AP_SOUTH_1" + | "AP_SOUTH_2" + | "SA_EAST_1" + | "CN_NORTH_1" + | "CN_NORTHWEST_1" + | "ME_SOUTH_1" + | "ME_CENTRAL_1" + | "AF_SOUTH_1" + | "EU_SOUTH_1" + | "EU_SOUTH_2" + | "IL_CENTRAL_1" + | "CA_WEST_1" + | "AP_SOUTHEAST_5" + | "AP_SOUTHEAST_7" + | "MX_CENTRAL_1" + | "GLOBAL"; + /** + * @description Disk Input/Output Operations per Second (IOPS) setting for Amazon Web Services (AWS) storage that you configure only for abbr title="Amazon Web Services">AWS. Specify whether Disk Input/Output Operations per Second (IOPS) must not exceed the default Input/Output Operations per Second (IOPS) rate for the selected volume size (`STANDARD`), or must fall within the allowable Input/Output Operations per Second (IOPS) range for the selected volume size (`PROVISIONED`). You must set this value to (`PROVISIONED`) for NVMe clusters. + * @enum {string} + */ + volumeType?: "STANDARD" | "PROVISIONED"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "AWS"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "AWS"; + }; + /** + * AWS + * @description Collection of settings that configures how a cluster might scale its cluster tier and whether the cluster can scale down. Cluster tier auto-scaling is unavailable for clusters using Low CPU or NVME storage classes. + */ + AWSComputeAutoScaling: { + /** + * AWS Instance Sizes + * @description Maximum instance size to which your cluster can automatically scale. + * @enum {string} + */ + maxInstanceSize?: + | "M10" + | "M20" + | "M30" + | "M40" + | "M50" + | "M60" + | "M80" + | "M100" + | "M140" + | "M200" + | "M300" + | "R40" + | "R50" + | "R60" + | "R80" + | "R200" + | "R300" + | "R400" + | "R700" + | "M40_NVME" + | "M50_NVME" + | "M60_NVME" + | "M80_NVME" + | "M200_NVME" + | "M400_NVME"; + /** + * AWS Instance Sizes + * @description Minimum instance size to which your cluster can automatically scale. + * @enum {string} + */ + minInstanceSize?: + | "M10" + | "M20" + | "M30" + | "M40" + | "M50" + | "M60" + | "M80" + | "M100" + | "M140" + | "M200" + | "M300" + | "R40" + | "R50" + | "R60" + | "R80" + | "R200" + | "R300" + | "R400" + | "R700" + | "M40_NVME" + | "M50_NVME" + | "M60_NVME" + | "M80_NVME" + | "M200_NVME" + | "M400_NVME"; + }; + AWSCreateDataProcessRegionView: Omit & { + /** + * @description Human-readable label that identifies the geographic location of the region where you wish to store your archived data. + * @enum {string} + */ + region?: + | "US_EAST_1" + | "US_WEST_2" + | "SA_EAST_1" + | "EU_WEST_1" + | "EU_WEST_2" + | "EU_CENTRAL_1" + | "AP_SOUTH_1" + | "AP_SOUTHEAST_1" + | "AP_SOUTHEAST_2"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + cloudProvider: "AWS"; + }; + AWSDataProcessRegionView: Omit & { + /** + * @description Human-readable label that identifies the geographic location of the region where you store your archived data. + * @enum {string} + */ + readonly region?: + | "US_EAST_1" + | "US_WEST_2" + | "SA_EAST_1" + | "EU_WEST_1" + | "EU_WEST_2" + | "EU_CENTRAL_1" + | "AP_SOUTH_1" + | "AP_SOUTHEAST_1" + | "AP_SOUTHEAST_2"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + cloudProvider: "AWS"; + }; + /** + * AWS Cluster Hardware Settings + * @description Hardware specifications for nodes deployed in the region. + */ + AWSHardwareSpec: { + /** + * Format: int32 + * @description Target IOPS (Input/Output Operations Per Second) desired for storage attached to this hardware. + * + * Change this parameter if you: + * + * - set `"replicationSpecs[n].regionConfigs[m].providerName" to "AWS"`. + * - set `"replicationSpecs[n].regionConfigs[m].electableSpecs.instanceSize" to "M30"` or greater (not including `Mxx_NVME` tiers). + * + * - set `"replicationSpecs[n].regionConfigs[m].electableSpecs.ebsVolumeType" to "PROVISIONED"`. + * + * The maximum input/output operations per second (IOPS) depend on the selected **.instanceSize** and **.diskSizeGB**. + * This parameter defaults to the cluster tier's standard IOPS value. + * Changing this value impacts cluster cost. + * MongoDB Cloud enforces minimum ratios of storage capacity to system memory for given cluster tiers. This keeps cluster performance consistent with large datasets. + * + * - Instance sizes `M10` to `M40` have a ratio of disk capacity to system memory of 60:1. + * - Instance sizes greater than `M40` have a ratio of 120:1. + */ + diskIOPS?: number; + /** + * @description Type of storage you want to attach to your AWS-provisioned cluster. + * + * - `STANDARD` volume types can't exceed the default input/output operations per second (IOPS) rate for the selected volume size. + * + * - `PROVISIONED` volume types must fall within the allowable IOPS range for the selected volume size. You must set this value to (`PROVISIONED`) for NVMe clusters. + * @default STANDARD + * @enum {string} + */ + ebsVolumeType: "STANDARD" | "PROVISIONED"; + /** + * AWS Instance Sizes + * @description Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts of the node type. + * @enum {string} + */ + instanceSize?: + | "M10" + | "M20" + | "M30" + | "M40" + | "M50" + | "M60" + | "M80" + | "M100" + | "M140" + | "M200" + | "M300" + | "R40" + | "R50" + | "R60" + | "R80" + | "R200" + | "R300" + | "R400" + | "R700" + | "M40_NVME" + | "M50_NVME" + | "M60_NVME" + | "M80_NVME" + | "M200_NVME" + | "M400_NVME"; + /** + * Format: int32 + * @description Number of nodes of the given type for MongoDB Cloud to deploy to the region. + */ + nodeCount?: number; + }; + /** + * AWS Cluster Hardware Settings + * @description Hardware specifications for nodes deployed in the region. + */ + AWSHardwareSpec20240805: { + /** + * Format: int32 + * @description Target IOPS (Input/Output Operations Per Second) desired for storage attached to this hardware. + * + * You can set different IOPS values on different shards when provisioned IOPS are supported. + * + * Change this parameter if you: + * + * - set `"replicationSpecs[n].regionConfigs[m].providerName" to "AWS"`. + * - set `"replicationSpecs[n].regionConfigs[m].electableSpecs.instanceSize" to "M30"` or greater (not including `Mxx_NVME` tiers). + * + * - set `"replicationSpecs[n].regionConfigs[m].electableSpecs.ebsVolumeType" to "PROVISIONED"`. + * + * The maximum input/output operations per second (IOPS) depend on the selected **.instanceSize** and **.diskSizeGB**. + * This parameter defaults to the cluster tier's standard IOPS value. + * Changing this value impacts cluster cost. + * MongoDB Cloud enforces minimum ratios of storage capacity to system memory for given cluster tiers. This keeps cluster performance consistent with large datasets. + * + * - Instance sizes `M10` to `M40` have a ratio of disk capacity to system memory of 60:1. + * - Instance sizes greater than `M40` have a ratio of 120:1. + */ + diskIOPS?: number; + /** + * Format: double + * @description Storage capacity of instance data volumes expressed in gigabytes. Increase this number to add capacity. + * + * This value must be equal for all shards and node types. + * + * This value is not configurable on M0/M2/M5 clusters. + * + * MongoDB Cloud requires this parameter if you set **replicationSpecs**. + * + * If you specify a disk size below the minimum (10 GB), this parameter defaults to the minimum disk size value. + * + * Storage charge calculations depend on whether you choose the default value or a custom value. + * + * The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require more storage space, consider upgrading your cluster to a higher tier. + */ + diskSizeGB?: number; + /** + * @description Type of storage you want to attach to your AWS-provisioned cluster. + * + * - `STANDARD` volume types can't exceed the default input/output operations per second (IOPS) rate for the selected volume size. + * + * - `PROVISIONED` volume types must fall within the allowable IOPS range for the selected volume size. You must set this value to (`PROVISIONED`) for NVMe clusters. + * @default STANDARD + * @enum {string} + */ + ebsVolumeType: "STANDARD" | "PROVISIONED"; + /** + * AWS Instance Sizes + * @description Hardware specification for the instance sizes in this region in this shard. Each instance size has a default storage and memory capacity. Electable nodes and read-only nodes (known as "base nodes") within a single shard must use the same instance size. Analytics nodes can scale independently from base nodes within a shard. Both base nodes and analytics nodes can scale independently from their equivalents in other shards. + * @enum {string} + */ + instanceSize?: + | "M10" + | "M20" + | "M30" + | "M40" + | "M50" + | "M60" + | "M80" + | "M100" + | "M140" + | "M200" + | "M300" + | "R40" + | "R50" + | "R60" + | "R80" + | "R200" + | "R300" + | "R400" + | "R700" + | "M40_NVME" + | "M50_NVME" + | "M60_NVME" + | "M80_NVME" + | "M200_NVME" + | "M400_NVME"; + /** + * Format: int32 + * @description Number of nodes of the given type for MongoDB Cloud to deploy to the region. + */ + nodeCount?: number; + }; + /** + * AWS Regional Replication Specifications + * @description Details that explain how MongoDB Cloud replicates data in one region on the specified MongoDB database. + */ + AWSRegionConfig: Omit & { + analyticsAutoScaling?: components["schemas"]["AdvancedAutoScalingSettings"]; + analyticsSpecs?: components["schemas"]["DedicatedHardwareSpec"]; + autoScaling?: components["schemas"]["AdvancedAutoScalingSettings"]; + readOnlySpecs?: components["schemas"]["DedicatedHardwareSpec"]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "AWS"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "AWS"; + }; + /** + * AWS Regional Replication Specifications + * @description Details that explain how MongoDB Cloud replicates data in one region on the specified MongoDB database. + */ + AWSRegionConfig20240805: Omit & { + analyticsAutoScaling?: components["schemas"]["AdvancedAutoScalingSettings"]; + analyticsSpecs?: components["schemas"]["DedicatedHardwareSpec20240805"]; + autoScaling?: components["schemas"]["AdvancedAutoScalingSettings"]; + readOnlySpecs?: components["schemas"]["DedicatedHardwareSpec20240805"]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "AWS"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "AWS"; + }; + /** + * Automatic Scaling Settings + * @description Options that determine how this cluster handles resource scaling. + */ + AdvancedAutoScalingSettings: { + compute?: components["schemas"]["AdvancedComputeAutoScaling"]; + diskGB?: components["schemas"]["DiskGBAutoScaling"]; + }; + /** + * Automatic Compute Scaling Settings + * @description Options that determine how this cluster handles CPU scaling. + */ + AdvancedComputeAutoScaling: { + /** @description Flag that indicates whether instance size reactive auto-scaling is enabled. + * + * - Set to `true` to enable instance size reactive auto-scaling. If enabled, you must specify a value for **replicationSpecs[n].regionConfigs[m].autoScaling.compute.maxInstanceSize**. + * - Set to `false` to disable instance size reactive auto-scaling. */ + enabled?: boolean; + maxInstanceSize?: components["schemas"]["BaseCloudProviderInstanceSize"]; + minInstanceSize?: components["schemas"]["BaseCloudProviderInstanceSize"]; + /** @description Flag that indicates whether predictive instance size auto-scaling is enabled. + * + * - Set to `true` to enable predictive instance size auto-scaling. MongoDB Cloud requires **replicationSpecs[n].regionConfigs[m].autoScaling.compute.enabled** to be `true` in order to enable this feature. + * - Set to `false` to disable predictive instance size auto-scaling. */ + predictiveEnabled?: boolean; + /** @description Flag that indicates whether the instance size may scale down via reactive auto-scaling. MongoDB Cloud requires this parameter if **replicationSpecs[n].regionConfigs[m].autoScaling.compute.enabled** is `true`. If you enable this option, specify a value for **replicationSpecs[n].regionConfigs[m].autoScaling.compute.minInstanceSize**. */ + scaleDownEnabled?: boolean; + }; + /** @description Object that contains the identifying characteristics of the Amazon Web Services (AWS) Key Management Service (KMS). This field always returns a null value. */ + ApiAtlasCloudProviderAccessFeatureUsageFeatureIdView: Record | null; + /** @description Group of settings that configures a subset of the advanced configuration details. */ + ApiAtlasClusterAdvancedConfigurationView: { + /** @description The custom OpenSSL cipher suite list for TLS 1.2. This field is only valid when `tlsCipherConfigMode` is set to `CUSTOM`. */ + customOpensslCipherConfigTls12?: ( + | "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" + | "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256" + )[]; + /** + * @description Minimum Transport Layer Security (TLS) version that the cluster accepts for incoming connections. Clusters using TLS 1.0 or 1.1 should consider setting TLS 1.2 as the minimum TLS protocol version. + * @enum {string} + */ + minimumEnabledTlsProtocol?: "TLS1_0" | "TLS1_1" | "TLS1_2"; + /** + * @description The TLS cipher suite configuration mode. The default mode uses the default cipher suites. The custom mode allows you to specify custom cipher suites for both TLS 1.2 and TLS 1.3. + * @enum {string} + */ + tlsCipherConfigMode?: "CUSTOM" | "DEFAULT"; + }; + /** + * analyzers + * @description Settings that describe one Atlas Search custom analyzer. + */ + ApiAtlasFTSAnalyzersViewManual: { + /** @description Filters that examine text one character at a time and perform filtering operations. */ + charFilters?: ( + | components["schemas"]["charFilterhtmlStrip"] + | components["schemas"]["charFiltericuNormalize"] + | components["schemas"]["charFiltermapping"] + | components["schemas"]["charFilterpersian"] + )[]; + /** @description Human-readable name that identifies the custom analyzer. Names must be unique within an index, and must not start with any of the following strings: + * - `lucene.` + * - `builtin.` + * - `mongodb.` */ + name: string; + /** @description Filter that performs operations such as: + * + * - Stemming, which reduces related words, such as "talking", "talked", and "talks" to their root word "talk". + * + * - Redaction, the removal of sensitive information from public documents. */ + tokenFilters?: ( + | components["schemas"]["tokenFilterasciiFolding"] + | components["schemas"]["tokenFilterdaitchMokotoffSoundex"] + | components["schemas"]["tokenFilteredgeGram"] + | components["schemas"]["TokenFilterEnglishPossessive"] + | components["schemas"]["TokenFilterFlattenGraph"] + | components["schemas"]["tokenFiltericuFolding"] + | components["schemas"]["tokenFiltericuNormalizer"] + | components["schemas"]["TokenFilterkStemming"] + | components["schemas"]["tokenFilterlength"] + | components["schemas"]["tokenFilterlowercase"] + | components["schemas"]["tokenFilternGram"] + | components["schemas"]["TokenFilterPorterStemming"] + | components["schemas"]["tokenFilterregex"] + | components["schemas"]["tokenFilterreverse"] + | components["schemas"]["tokenFiltershingle"] + | components["schemas"]["tokenFiltersnowballStemming"] + | components["schemas"]["TokenFilterSpanishPluralStemming"] + | components["schemas"]["TokenFilterStempel"] + | components["schemas"]["tokenFilterstopword"] + | components["schemas"]["tokenFiltertrim"] + | components["schemas"]["TokenFilterWordDelimiterGraph"] + )[]; + /** @description Tokenizer that you want to use to create tokens. Tokens determine how Atlas Search splits up text into discrete chunks for indexing. */ + tokenizer: + | components["schemas"]["tokenizeredgeGram"] + | components["schemas"]["tokenizerkeyword"] + | components["schemas"]["tokenizernGram"] + | components["schemas"]["tokenizerregexCaptureGroup"] + | components["schemas"]["tokenizerregexSplit"] + | components["schemas"]["tokenizerstandard"] + | components["schemas"]["tokenizeruaxUrlEmail"] + | components["schemas"]["tokenizerwhitespace"]; + }; + /** + * mappings + * @description Index specifications for the collection's fields. + */ + ApiAtlasFTSMappingsViewManual: { + /** + * @description Flag that indicates whether the index uses dynamic or static mappings. Required if **mappings.fields** is omitted. + * @default false + */ + dynamic: boolean; + /** @description One or more field specifications for the Atlas Search index. Required if **mappings.dynamic** is omitted or set to **false**. */ + fields?: { + [key: string]: Record; + }; + }; + ApiError: { + badRequestDetail?: components["schemas"]["BadRequestDetail"]; + /** @description Describes the specific conditions or reasons that cause each type of error. */ + detail?: string; + /** + * Format: int32 + * @description HTTP status code returned with this error. + */ + readonly error: number; + /** @description Application error code returned with this error. */ + readonly errorCode: string; + /** @description Parameters used to give more information about the error. */ + readonly parameters?: Record[]; + /** @description Application error message returned with this error. */ + readonly reason?: string; + }; + /** Atlas Search Analyzer */ + AtlasSearchAnalyzer: { + /** @description Filters that examine text one character at a time and perform filtering operations. */ + charFilters?: components["schemas"]["BasicDBObject"][]; + /** @description Name that identifies the custom analyzer. Names must be unique within an index, and must not start with any of the following strings: + * - `lucene.` + * - `builtin.` + * - `mongodb.` */ + name: string; + /** @description Filter that performs operations such as: + * + * - Stemming, which reduces related words, such as "talking", "talked", and "talks" to their root word "talk". + * + * - Redaction, which is the removal of sensitive information from public documents. */ + tokenFilters?: components["schemas"]["BasicDBObject"][]; + /** @description Tokenizer that you want to use to create tokens. Tokens determine how Atlas Search splits up text into discrete chunks for indexing. */ + tokenizer: { + [key: string]: Record; + }; + }; + /** + * AZURE + * @description Collection of settings that configures the network container for a virtual private connection on Amazon Web Services. + */ + AzureCloudProviderContainer: Omit & { + /** @description IP addresses expressed in Classless Inter-Domain Routing (CIDR) notation that MongoDB Cloud uses for the network peering containers in your project. MongoDB Cloud assigns all of the project's clusters deployed to this cloud provider an IP address from this range. MongoDB Cloud locks this value if an M10 or greater cluster or a network peering connection exists in this project. + * + * These CIDR blocks must fall within the ranges reserved per RFC 1918. AWS and Azure further limit the block to between the `/24` and `/21` ranges. + * + * To modify the CIDR block, the target project cannot have: + * + * - Any M10 or greater clusters + * - Any other VPC peering connections + * + * You can also create a new project and create a network peering connection to set the desired MongoDB Cloud network peering container CIDR block for that project. MongoDB Cloud limits the number of MongoDB nodes per network peering connection based on the CIDR block and the region selected for the project. + * + * **Example:** A project in an Amazon Web Services (AWS) region supporting three availability zones and an MongoDB CIDR network peering container block of limit of `/24` equals 27 three-node replica sets. */ + atlasCidrBlock: string; + /** + * @description Unique string that identifies the Azure subscription in which the MongoDB Cloud VNet resides. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly azureSubscriptionId?: string; + /** + * @description Azure region to which MongoDB Cloud deployed this network peering container. + * @enum {string} + */ + region: + | "US_CENTRAL" + | "US_EAST" + | "US_EAST_2" + | "US_EAST_2_EUAP" + | "US_NORTH_CENTRAL" + | "US_WEST" + | "US_SOUTH_CENTRAL" + | "EUROPE_NORTH" + | "EUROPE_WEST" + | "US_WEST_CENTRAL" + | "US_WEST_2" + | "US_WEST_3" + | "CANADA_EAST" + | "CANADA_CENTRAL" + | "BRAZIL_SOUTH" + | "BRAZIL_SOUTHEAST" + | "AUSTRALIA_EAST" + | "AUSTRALIA_SOUTH_EAST" + | "AUSTRALIA_CENTRAL" + | "AUSTRALIA_CENTRAL_2" + | "UAE_NORTH" + | "GERMANY_CENTRAL" + | "GERMANY_NORTH_EAST" + | "GERMANY_WEST_CENTRAL" + | "GERMANY_NORTH" + | "SWITZERLAND_NORTH" + | "SWITZERLAND_WEST" + | "SWEDEN_CENTRAL" + | "SWEDEN_SOUTH" + | "UK_SOUTH" + | "UK_WEST" + | "INDIA_CENTRAL" + | "INDIA_WEST" + | "INDIA_SOUTH" + | "CHINA_EAST" + | "CHINA_NORTH" + | "ASIA_EAST" + | "JAPAN_EAST" + | "JAPAN_WEST" + | "ASIA_SOUTH_EAST" + | "KOREA_CENTRAL" + | "KOREA_SOUTH" + | "FRANCE_CENTRAL" + | "FRANCE_SOUTH" + | "SOUTH_AFRICA_NORTH" + | "SOUTH_AFRICA_WEST" + | "NORWAY_EAST" + | "NORWAY_WEST" + | "UAE_CENTRAL" + | "QATAR_CENTRAL" + | "POLAND_CENTRAL" + | "ISRAEL_CENTRAL" + | "ITALY_NORTH" + | "SPAIN_CENTRAL" + | "MEXICO_CENTRAL" + | "NEW_ZEALAND_NORTH"; + /** @description Unique string that identifies the Azure VNet in which MongoDB Cloud clusters in this network peering container exist. The response returns **null** if no clusters exist in this network peering container. */ + readonly vnetName?: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "AZURE"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "AZURE"; + }; + AzureCloudProviderSettings: Omit & { + autoScaling?: components["schemas"]["CloudProviderAzureAutoScaling"]; + /** + * @description Disk type that corresponds to the host's root volume for Azure instances. If omitted, the default disk type for the selected **providerSettings.instanceSizeName** applies. + * @enum {string} + */ + diskTypeName?: "P2" | "P3" | "P4" | "P6" | "P10" | "P15" | "P20" | "P30" | "P40" | "P50"; + /** + * Azure Instance Sizes + * @description Cluster tier, with a default storage and memory capacity, that applies to all the data-bearing hosts in your cluster. + * @enum {string} + */ + instanceSizeName?: + | "M10" + | "M20" + | "M30" + | "M40" + | "M50" + | "M60" + | "M80" + | "M90" + | "M200" + | "R40" + | "R50" + | "R60" + | "R80" + | "R200" + | "R300" + | "R400" + | "M60_NVME" + | "M80_NVME" + | "M200_NVME" + | "M300_NVME" + | "M400_NVME" + | "M600_NVME"; + /** + * Azure Regions + * @description Microsoft Azure Regions. + * @enum {string} + */ + regionName?: + | "US_CENTRAL" + | "US_EAST" + | "US_EAST_2" + | "US_NORTH_CENTRAL" + | "US_WEST" + | "US_SOUTH_CENTRAL" + | "EUROPE_NORTH" + | "EUROPE_WEST" + | "US_WEST_CENTRAL" + | "US_WEST_2" + | "US_WEST_3" + | "CANADA_EAST" + | "CANADA_CENTRAL" + | "BRAZIL_SOUTH" + | "BRAZIL_SOUTHEAST" + | "AUSTRALIA_CENTRAL" + | "AUSTRALIA_CENTRAL_2" + | "AUSTRALIA_EAST" + | "AUSTRALIA_SOUTH_EAST" + | "GERMANY_CENTRAL" + | "GERMANY_NORTH_EAST" + | "GERMANY_WEST_CENTRAL" + | "GERMANY_NORTH" + | "SWEDEN_CENTRAL" + | "SWEDEN_SOUTH" + | "SWITZERLAND_NORTH" + | "SWITZERLAND_WEST" + | "UK_SOUTH" + | "UK_WEST" + | "NORWAY_EAST" + | "NORWAY_WEST" + | "INDIA_CENTRAL" + | "INDIA_SOUTH" + | "INDIA_WEST" + | "CHINA_EAST" + | "CHINA_NORTH" + | "ASIA_EAST" + | "JAPAN_EAST" + | "JAPAN_WEST" + | "ASIA_SOUTH_EAST" + | "KOREA_CENTRAL" + | "KOREA_SOUTH" + | "FRANCE_CENTRAL" + | "FRANCE_SOUTH" + | "SOUTH_AFRICA_NORTH" + | "SOUTH_AFRICA_WEST" + | "UAE_CENTRAL" + | "UAE_NORTH" + | "QATAR_CENTRAL"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "AZURE"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "AZURE"; + }; + /** + * Azure + * @description Collection of settings that configures how a cluster might scale its cluster tier and whether the cluster can scale down. Cluster tier auto-scaling is unavailable for clusters using Low CPU or NVME storage classes. + */ + AzureComputeAutoScalingRules: { + /** + * Azure Instance Sizes + * @description Maximum instance size to which your cluster can automatically scale. + * @enum {string} + */ + maxInstanceSize?: + | "M10" + | "M20" + | "M30" + | "M40" + | "M50" + | "M60" + | "M80" + | "M90" + | "M200" + | "R40" + | "R50" + | "R60" + | "R80" + | "R200" + | "R300" + | "R400" + | "M60_NVME" + | "M80_NVME" + | "M200_NVME" + | "M300_NVME" + | "M400_NVME" + | "M600_NVME"; + /** + * Azure Instance Sizes + * @description Minimum instance size to which your cluster can automatically scale. + * @enum {string} + */ + minInstanceSize?: + | "M10" + | "M20" + | "M30" + | "M40" + | "M50" + | "M60" + | "M80" + | "M90" + | "M200" + | "R40" + | "R50" + | "R60" + | "R80" + | "R200" + | "R300" + | "R400" + | "M60_NVME" + | "M80_NVME" + | "M200_NVME" + | "M300_NVME" + | "M400_NVME" + | "M600_NVME"; + }; + AzureCreateDataProcessRegionView: Omit< + components["schemas"]["CreateDataProcessRegionView"], + "cloudProvider" + > & { + /** + * @description Human-readable label that identifies the geographic location of the region where you wish to store your archived data. + * @enum {string} + */ + region?: "US_EAST_2" | "EUROPE_WEST"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + cloudProvider: "AZURE"; + }; + AzureDataProcessRegionView: Omit & { + /** + * @description Human-readable label that identifies the geographic location of the region where you store your archived data. + * @enum {string} + */ + readonly region?: "US_EAST_2" | "EUROPE_WEST"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + cloudProvider: "AZURE"; + }; + AzureHardwareSpec: { + /** + * Format: int32 + * @description Target throughput desired for storage attached to your Azure-provisioned cluster. Change this parameter if you: + * + * - set `"replicationSpecs[n].regionConfigs[m].providerName" : "Azure"`. + * - set `"replicationSpecs[n].regionConfigs[m].electableSpecs.instanceSize" : "M40"` or greater not including `Mxx_NVME` tiers. + * + * The maximum input/output operations per second (IOPS) depend on the selected **.instanceSize** and **.diskSizeGB**. + * This parameter defaults to the cluster tier's standard IOPS value. + * Changing this value impacts cluster cost. + */ + diskIOPS?: number; + /** + * Azure Instance Sizes + * @description Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts of the node type. + * @enum {string} + */ + instanceSize?: + | "M10" + | "M20" + | "M30" + | "M40" + | "M50" + | "M60" + | "M80" + | "M90" + | "M200" + | "R40" + | "R50" + | "R60" + | "R80" + | "R200" + | "R300" + | "R400" + | "M60_NVME" + | "M80_NVME" + | "M200_NVME" + | "M300_NVME" + | "M400_NVME" + | "M600_NVME"; + /** + * Format: int32 + * @description Number of nodes of the given type for MongoDB Cloud to deploy to the region. + */ + nodeCount?: number; + }; + AzureHardwareSpec20240805: { + /** + * Format: int32 + * @description Target throughput desired for storage attached to your Azure-provisioned cluster. Change this parameter if you: + * + * - set `"replicationSpecs[n].regionConfigs[m].providerName" : "Azure"`. + * - set `"replicationSpecs[n].regionConfigs[m].electableSpecs.instanceSize" : "M40"` or greater not including `Mxx_NVME` tiers. + * + * The maximum input/output operations per second (IOPS) depend on the selected **.instanceSize** and **.diskSizeGB**. + * This parameter defaults to the cluster tier's standard IOPS value. + * Changing this value impacts cluster cost. + */ + diskIOPS?: number; + /** + * Format: double + * @description Storage capacity of instance data volumes expressed in gigabytes. Increase this number to add capacity. + * + * This value must be equal for all shards and node types. + * + * This value is not configurable on M0/M2/M5 clusters. + * + * MongoDB Cloud requires this parameter if you set **replicationSpecs**. + * + * If you specify a disk size below the minimum (10 GB), this parameter defaults to the minimum disk size value. + * + * Storage charge calculations depend on whether you choose the default value or a custom value. + * + * The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require more storage space, consider upgrading your cluster to a higher tier. + */ + diskSizeGB?: number; + /** + * Azure Instance Sizes + * @description Hardware specification for the instance sizes in this region in this shard. Each instance size has a default storage and memory capacity. Electable nodes and read-only nodes (known as "base nodes") within a single shard must use the same instance size. Analytics nodes can scale independently from base nodes within a shard. Both base nodes and analytics nodes can scale independently from their equivalents in other shards. + * @enum {string} + */ + instanceSize?: + | "M10" + | "M20" + | "M30" + | "M40" + | "M50" + | "M60" + | "M80" + | "M90" + | "M200" + | "R40" + | "R50" + | "R60" + | "R80" + | "R200" + | "R300" + | "R400" + | "M60_NVME" + | "M80_NVME" + | "M200_NVME" + | "M300_NVME" + | "M400_NVME" + | "M600_NVME"; + /** + * Format: int32 + * @description Number of nodes of the given type for MongoDB Cloud to deploy to the region. + */ + nodeCount?: number; + }; + /** + * Azure Regional Replication Specifications + * @description Details that explain how MongoDB Cloud replicates data in one region on the specified MongoDB database. + */ + AzureRegionConfig: Omit & { + analyticsAutoScaling?: components["schemas"]["AdvancedAutoScalingSettings"]; + analyticsSpecs?: components["schemas"]["DedicatedHardwareSpec"]; + autoScaling?: components["schemas"]["AdvancedAutoScalingSettings"]; + readOnlySpecs?: components["schemas"]["DedicatedHardwareSpec"]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "AZURE"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "AZURE"; + }; + /** + * Azure Regional Replication Specifications + * @description Details that explain how MongoDB Cloud replicates data in one region on the specified MongoDB database. + */ + AzureRegionConfig20240805: Omit & { + analyticsAutoScaling?: components["schemas"]["AdvancedAutoScalingSettings"]; + analyticsSpecs?: components["schemas"]["DedicatedHardwareSpec20240805"]; + autoScaling?: components["schemas"]["AdvancedAutoScalingSettings"]; + readOnlySpecs?: components["schemas"]["DedicatedHardwareSpec20240805"]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "AZURE"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "AZURE"; + }; + /** @description Bad request detail. */ + BadRequestDetail: { + /** @description Describes all violations in a client request. */ + fields?: components["schemas"]["FieldViolation"][]; + }; + /** @description Instance size boundary to which your cluster can automatically scale. */ + BaseCloudProviderInstanceSize: + | ( + | "M10" + | "M20" + | "M30" + | "M40" + | "M50" + | "M60" + | "M80" + | "M100" + | "M140" + | "M200" + | "M300" + | "R40" + | "R50" + | "R60" + | "R80" + | "R200" + | "R300" + | "R400" + | "R700" + | "M40_NVME" + | "M50_NVME" + | "M60_NVME" + | "M80_NVME" + | "M200_NVME" + | "M400_NVME" + ) + | ( + | "M10" + | "M20" + | "M30" + | "M40" + | "M50" + | "M60" + | "M80" + | "M90" + | "M200" + | "R40" + | "R50" + | "R60" + | "R80" + | "R200" + | "R300" + | "R400" + | "M60_NVME" + | "M80_NVME" + | "M200_NVME" + | "M300_NVME" + | "M400_NVME" + | "M600_NVME" + ) + | ( + | "M10" + | "M20" + | "M30" + | "M40" + | "M50" + | "M60" + | "M80" + | "M140" + | "M200" + | "M250" + | "M300" + | "M400" + | "R40" + | "R50" + | "R60" + | "R80" + | "R200" + | "R300" + | "R400" + | "R600" + ); + BasicDBObject: { + [key: string]: Record; + }; + /** + * MongoDB Connector for Business Intelligence Settings + * @description Settings needed to configure the MongoDB Connector for Business Intelligence for this cluster. + */ + BiConnector: { + /** @description Flag that indicates whether MongoDB Connector for Business Intelligence is enabled on the specified cluster. */ + enabled?: boolean; + /** + * @description Data source node designated for the MongoDB Connector for Business Intelligence on MongoDB Cloud. The MongoDB Connector for Business Intelligence on MongoDB Cloud reads data from the primary, secondary, or analytics node based on your read preferences. Defaults to `ANALYTICS` node, or `SECONDARY` if there are no `ANALYTICS` nodes. + * @enum {string} + */ + readPreference?: "PRIMARY" | "SECONDARY" | "ANALYTICS"; + }; + BillingInvoice: { + /** + * Format: int64 + * @description Sum of services that the specified organization consumed in the period covered in this invoice. This parameter expresses its value in cents (100ths of one US Dollar). + */ + readonly amountBilledCents?: number; + /** + * Format: int64 + * @description Sum that the specified organization paid toward this invoice. This parameter expresses its value in cents (100ths of one US Dollar). + */ + readonly amountPaidCents?: number; + /** + * Format: date-time + * @description Date and time when MongoDB Cloud created this invoice. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly created?: string; + /** + * Format: int64 + * @description Sum that MongoDB credited the specified organization toward this invoice. This parameter expresses its value in cents (100ths of one US Dollar). + */ + readonly creditsCents?: number; + /** + * Format: date-time + * @description Date and time when MongoDB Cloud finished the billing period that this invoice covers. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly endDate?: string; + /** + * @description Unique 24-hexadecimal digit string that identifies the invoice submitted to the specified organization. Charges typically post the next day. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly id?: string; + /** @description List that contains individual services included in this invoice. */ + readonly lineItems?: components["schemas"]["InvoiceLineItem"][]; + /** @description List that contains the invoices for organizations linked to the paying organization. */ + readonly linkedInvoices?: components["schemas"]["BillingInvoice"][]; + /** @description List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. */ + readonly links?: components["schemas"]["Link"][]; + /** + * @description Unique 24-hexadecimal digit string that identifies the organization charged for services consumed from MongoDB Cloud. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly orgId?: string; + /** @description List that contains funds transferred to MongoDB to cover the specified service noted in this invoice. */ + readonly payments?: components["schemas"]["BillingPayment"][]; + /** @description List that contains payments that MongoDB returned to the organization for this invoice. */ + readonly refunds?: components["schemas"]["BillingRefund"][]; + /** + * Format: int64 + * @description Sum of sales tax applied to this invoice. This parameter expresses its value in cents (100ths of one US Dollar). + */ + readonly salesTaxCents?: number; + /** + * Format: date-time + * @description Date and time when MongoDB Cloud began the billing period that this invoice covers. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly startDate?: string; + /** + * Format: int64 + * @description Sum that the specified organization owed to MongoDB when MongoDB issued this invoice. This parameter expresses its value in US Dollars. + */ + readonly startingBalanceCents?: number; + /** + * @description Phase of payment processing in which this invoice exists when you made this request. Accepted phases include: + * + * - `CLOSED`: MongoDB finalized all charges in the billing cycle but has yet to charge the customer. + * - `FAILED`: MongoDB attempted to charge the provided credit card but charge for that amount failed. + * - `FORGIVEN`: Customer initiated payment which MongoDB later forgave. + * - `FREE`: All charges totalled zero so the customer won't be charged. + * - `INVOICED`: MongoDB handled these charges using elastic invoicing. + * - `PAID`: MongoDB succeeded in charging the provided credit card. + * - `PENDING`: Invoice includes charges for the current billing cycle. + * - `PREPAID`: Customer has a pre-paid plan so they won't be charged. + * @enum {string} + */ + statusName?: "PENDING" | "CLOSED" | "FORGIVEN" | "FAILED" | "PAID" | "FREE" | "PREPAID" | "INVOICED"; + /** + * Format: int64 + * @description Sum of all positive invoice line items contained in this invoice. This parameter expresses its value in cents (100ths of one US Dollar). + */ + readonly subtotalCents?: number; + /** + * Format: date-time + * @description Date and time when MongoDB Cloud last updated the value of this payment. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly updated?: string; + }; + BillingInvoiceMetadata: { + /** + * Format: int64 + * @description Sum of services that the specified organization consumed in the period covered in this invoice. This parameter expresses its value in cents (100ths of one US Dollar). + */ + readonly amountBilledCents?: number; + /** + * Format: int64 + * @description Sum that the specified organization paid toward this invoice. This parameter expresses its value in cents (100ths of one US Dollar). + */ + readonly amountPaidCents?: number; + /** + * Format: date-time + * @description Date and time when MongoDB Cloud created this invoice. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly created?: string; + /** + * Format: int64 + * @description Sum that MongoDB credited the specified organization toward this invoice. This parameter expresses its value in cents (100ths of one US Dollar). + */ + readonly creditsCents?: number; + /** + * Format: date-time + * @description Date and time when MongoDB Cloud finished the billing period that this invoice covers. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly endDate?: string; + /** + * @description Unique 24-hexadecimal digit string that identifies the invoice submitted to the specified organization. Charges typically post the next day. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly id?: string; + /** @description List that contains the invoices for organizations linked to the paying organization. */ + readonly linkedInvoices?: components["schemas"]["BillingInvoiceMetadata"][]; + /** @description List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. */ + readonly links?: components["schemas"]["Link"][]; + /** + * @description Unique 24-hexadecimal digit string that identifies the organization charged for services consumed from MongoDB Cloud. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly orgId?: string; + /** + * Format: int64 + * @description Sum of sales tax applied to this invoice. This parameter expresses its value in cents (100ths of one US Dollar). + */ + readonly salesTaxCents?: number; + /** + * Format: date-time + * @description Date and time when MongoDB Cloud began the billing period that this invoice covers. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly startDate?: string; + /** + * Format: int64 + * @description Sum that the specified organization owed to MongoDB when MongoDB issued this invoice. This parameter expresses its value in US Dollars. + */ + readonly startingBalanceCents?: number; + /** + * @description Phase of payment processing in which this invoice exists when you made this request. Accepted phases include: + * + * - `CLOSED`: MongoDB finalized all charges in the billing cycle but has yet to charge the customer. + * - `FAILED`: MongoDB attempted to charge the provided credit card but charge for that amount failed. + * - `FORGIVEN`: Customer initiated payment which MongoDB later forgave. + * - `FREE`: All charges totalled zero so the customer won't be charged. + * - `INVOICED`: MongoDB handled these charges using elastic invoicing. + * - `PAID`: MongoDB succeeded in charging the provided credit card. + * - `PENDING`: Invoice includes charges for the current billing cycle. + * - `PREPAID`: Customer has a pre-paid plan so they won't be charged. + * @enum {string} + */ + statusName?: "PENDING" | "CLOSED" | "FORGIVEN" | "FAILED" | "PAID" | "FREE" | "PREPAID" | "INVOICED"; + /** + * Format: int64 + * @description Sum of all positive invoice line items contained in this invoice. This parameter expresses its value in cents (100ths of one US Dollar). + */ + readonly subtotalCents?: number; + /** + * Format: date-time + * @description Date and time when MongoDB Cloud last updated the value of this payment. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly updated?: string; + }; + /** + * Payment + * @description Funds transferred to MongoDB to cover the specified service in this invoice. + */ + BillingPayment: { + /** + * Format: int64 + * @description Sum of services that the specified organization consumed in the period covered in this invoice. This parameter expresses its value in cents (100ths of one US Dollar). + */ + readonly amountBilledCents?: number; + /** + * Format: int64 + * @description Sum that the specified organization paid toward the associated invoice. This parameter expresses its value in cents (100ths of one US Dollar). + */ + readonly amountPaidCents?: number; + /** + * Format: date-time + * @description Date and time when the customer made this payment attempt. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly created?: string; + /** @description The currency in which payment was paid. This parameter expresses its value in 3-letter ISO 4217 currency code. */ + readonly currency?: string; + /** + * @description Unique 24-hexadecimal digit string that identifies this payment toward the associated invoice. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly id?: string; + /** + * Format: int64 + * @description Sum of sales tax applied to this invoice. This parameter expresses its value in cents (100ths of one US Dollar). + */ + readonly salesTaxCents?: number; + /** + * @description Phase of payment processing for the associated invoice when you made this request. These phases include: + * + * - `CANCELLED`: Customer or MongoDB cancelled the payment. + * - `ERROR`: Issue arose when attempting to complete payment. + * - `FAILED`: MongoDB tried to charge the credit card without success. + * - `FAILED_AUTHENTICATION`: Strong Customer Authentication has failed. Confirm that your payment method is authenticated. + * - `FORGIVEN`: Customer initiated payment which MongoDB later forgave. + * - `INVOICED`: MongoDB issued an invoice that included this line item. + * - `NEW`: Customer provided a method of payment, but MongoDB hasn't tried to charge the credit card. + * - `PAID`: Customer submitted a successful payment. + * - `PARTIAL_PAID`: Customer paid for part of this line item. + * @enum {string} + */ + statusName?: + | "NEW" + | "FORGIVEN" + | "FAILED" + | "PAID" + | "PARTIAL_PAID" + | "CANCELLED" + | "INVOICED" + | "FAILED_AUTHENTICATION" + | "PROCESSING" + | "PENDING_REVERSAL" + | "REFUNDED"; + /** + * Format: int64 + * @description Sum of all positive invoice line items contained in this invoice. This parameter expresses its value in cents (100ths of one US Dollar). + */ + readonly subtotalCents?: number; + /** @description The unit price applied to amountBilledCents to compute total payment amount. This value is represented as a decimal string. */ + readonly unitPrice?: string; + /** + * Format: date-time + * @description Date and time when the customer made an update to this payment attempt. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly updated?: string; + }; + /** + * Refund + * @description One payment that MongoDB returned to the organization for this invoice. + */ + BillingRefund: { + /** + * Format: int64 + * @description Sum of the funds returned to the specified organization expressed in cents (100th of US Dollar). + */ + readonly amountCents?: number; + /** + * Format: date-time + * @description Date and time when MongoDB Cloud created this refund. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly created?: string; + /** + * @description Unique 24-hexadecimal digit string that identifies the payment that the organization had made. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly paymentId?: string; + /** @description Justification that MongoDB accepted to return funds to the organization. */ + readonly reason?: string; + }; + /** @description Settings that describe the clusters in each project that the API key is authorized to view. */ + CloudCluster: { + /** + * Format: int32 + * @description Whole number that indicates the quantity of alerts open on the cluster. + */ + readonly alertCount?: number; + /** @description Flag that indicates whether authentication is required to access the nodes in this cluster. */ + readonly authEnabled?: boolean; + /** + * @description Term that expresses how many nodes of the cluster can be accessed when MongoDB Cloud receives this request. This parameter returns `available` when all nodes are accessible, `warning` only when some nodes in the cluster can be accessed, `unavailable` when the cluster can't be accessed, or `dead` when the cluster has been deactivated. + * @enum {string} + */ + readonly availability?: "available" | "dead" | "unavailable" | "warning"; + /** @description Flag that indicates whether the cluster can perform backups. If set to `true`, the cluster can perform backups. You must set this value to `true` for NVMe clusters. Backup uses Cloud Backups for dedicated clusters and Shared Cluster Backups for tenant clusters. If set to `false`, the cluster doesn't use MongoDB Cloud backups. */ + readonly backupEnabled?: boolean; + /** @description Unique 24-hexadecimal character string that identifies the cluster. Each ``clusterId`` is used only once across all MongoDB Cloud deployments. */ + readonly clusterId?: string; + /** + * Format: int64 + * @description Total size of the data stored on each node in the cluster. The resource expresses this value in bytes. + */ + readonly dataSizeBytes?: number; + /** @description Human-readable label that identifies the cluster. */ + readonly name?: string; + /** + * Format: int32 + * @description Whole number that indicates the quantity of nodes that comprise the cluster. + */ + readonly nodeCount?: number; + /** @description Flag that indicates whether TLS authentication is required to access the nodes in this cluster. */ + readonly sslEnabled?: boolean; + /** + * @description Human-readable label that indicates the cluster type. + * @enum {string} + */ + readonly type?: "REPLICA_SET" | "SHARDED_CLUSTER"; + /** @description List that contains the versions of MongoDB that each node in the cluster runs. */ + readonly versions?: string[]; + }; + CloudGCPProviderSettings: Omit & { + autoScaling?: components["schemas"]["CloudProviderGCPAutoScaling"]; + /** + * GCP Instance Sizes + * @description Cluster tier, with a default storage and memory capacity, that applies to all the data-bearing hosts in your cluster. + * @enum {string} + */ + instanceSizeName?: + | "M10" + | "M20" + | "M30" + | "M40" + | "M50" + | "M60" + | "M80" + | "M140" + | "M200" + | "M250" + | "M300" + | "M400" + | "R40" + | "R50" + | "R60" + | "R80" + | "R200" + | "R300" + | "R400" + | "R600"; + /** + * GCP Regions + * @description Google Compute Regions. + * @enum {string} + */ + regionName?: + | "EASTERN_US" + | "EASTERN_US_AW" + | "US_EAST_4" + | "US_EAST_4_AW" + | "US_EAST_5" + | "US_EAST_5_AW" + | "US_WEST_2" + | "US_WEST_2_AW" + | "US_WEST_3" + | "US_WEST_3_AW" + | "US_WEST_4" + | "US_WEST_4_AW" + | "US_SOUTH_1" + | "US_SOUTH_1_AW" + | "CENTRAL_US" + | "CENTRAL_US_AW" + | "WESTERN_US" + | "WESTERN_US_AW" + | "NORTH_AMERICA_NORTHEAST_1" + | "NORTH_AMERICA_NORTHEAST_2" + | "NORTH_AMERICA_SOUTH_1" + | "SOUTH_AMERICA_EAST_1" + | "SOUTH_AMERICA_WEST_1" + | "WESTERN_EUROPE" + | "EUROPE_NORTH_1" + | "EUROPE_WEST_2" + | "EUROPE_WEST_3" + | "EUROPE_WEST_4" + | "EUROPE_WEST_6" + | "EUROPE_WEST_8" + | "EUROPE_WEST_9" + | "EUROPE_WEST_10" + | "EUROPE_WEST_12" + | "EUROPE_SOUTHWEST_1" + | "EUROPE_CENTRAL_2" + | "MIDDLE_EAST_CENTRAL_1" + | "MIDDLE_EAST_CENTRAL_2" + | "MIDDLE_EAST_WEST_1" + | "AUSTRALIA_SOUTHEAST_1" + | "AUSTRALIA_SOUTHEAST_2" + | "AFRICA_SOUTH_1" + | "EASTERN_ASIA_PACIFIC" + | "NORTHEASTERN_ASIA_PACIFIC" + | "SOUTHEASTERN_ASIA_PACIFIC" + | "ASIA_EAST_2" + | "ASIA_NORTHEAST_2" + | "ASIA_NORTHEAST_3" + | "ASIA_SOUTH_1" + | "ASIA_SOUTH_2" + | "ASIA_SOUTHEAST_2"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "GCP"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "GCP"; + }; + /** @description Range of instance sizes to which your cluster can scale. */ + CloudProviderAWSAutoScaling: { + compute?: components["schemas"]["AWSComputeAutoScaling"]; + }; + /** @description Details that describe the features linked to the Amazon Web Services (AWS) Identity and Access Management (IAM) role. */ + CloudProviderAccessAWSIAMRole: Omit< + WithRequired, + "providerName" + > & { + /** + * @description Amazon Resource Name that identifies the Amazon Web Services (AWS) user account that MongoDB Cloud uses when it assumes the Identity and Access Management (IAM) role. + * @example arn:aws:iam::772401394250:role/my-test-aws-role + */ + readonly atlasAWSAccountArn?: string; + /** + * Format: uuid + * @description Unique external ID that MongoDB Cloud uses when it assumes the IAM role in your Amazon Web Services (AWS) account. + */ + readonly atlasAssumedRoleExternalId?: string; + /** + * Format: date-time + * @description Date and time when someone authorized this role for the specified cloud service provider. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly authorizedDate?: string; + /** + * Format: date-time + * @description Date and time when someone created this role for the specified cloud service provider. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly createdDate?: string; + /** @description List that contains application features associated with this Amazon Web Services (AWS) Identity and Access Management (IAM) role. */ + readonly featureUsages?: components["schemas"]["CloudProviderAccessFeatureUsage"][]; + /** + * @description Amazon Resource Name (ARN) that identifies the Amazon Web Services (AWS) Identity and Access Management (IAM) role that MongoDB Cloud assumes when it accesses resources in your AWS account. + * @example arn:aws:iam::123456789012:root + */ + iamAssumedRoleArn?: string; + /** + * @description Unique 24-hexadecimal digit string that identifies the role. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly roleId?: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "AWS"; + }; + /** @description Details that describe the features linked to the Amazon Web Services (AWS) Identity and Access Management (IAM) role. */ + CloudProviderAccessAWSIAMRoleRequestUpdate: Omit< + WithRequired, + "providerName" + > & { + /** + * @description Amazon Resource Name that identifies the Amazon Web Services (AWS) user account that MongoDB Cloud uses when it assumes the Identity and Access Management (IAM) role. + * @example arn:aws:iam::772401394250:role/my-test-aws-role + */ + readonly atlasAWSAccountArn?: string; + /** + * Format: uuid + * @description Unique external ID that MongoDB Cloud uses when it assumes the IAM role in your Amazon Web Services (AWS) account. + */ + readonly atlasAssumedRoleExternalId?: string; + /** + * Format: date-time + * @description Date and time when someone authorized this role for the specified cloud service provider. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly authorizedDate?: string; + /** + * Format: date-time + * @description Date and time when someone created this role for the specified cloud service provider. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly createdDate?: string; + /** @description List that contains application features associated with this Amazon Web Services (AWS) Identity and Access Management (IAM) role. */ + readonly featureUsages?: components["schemas"]["CloudProviderAccessFeatureUsage"][]; + /** + * @description Amazon Resource Name (ARN) that identifies the Amazon Web Services (AWS) Identity and Access Management (IAM) role that MongoDB Cloud assumes when it accesses resources in your AWS account. + * @example arn:aws:iam::123456789012:root + */ + iamAssumedRoleArn?: string; + /** + * @description Unique 24-hexadecimal digit string that identifies the role. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly roleId?: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "AWS"; + }; + /** @description Details that describe the features linked to the Azure Service Principal. */ + CloudProviderAccessAzureServicePrincipal: Omit< + WithRequired, + "providerName" + > & { + /** + * @description Unique 24-hexadecimal digit string that identifies the role. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly _id?: string; + /** + * Format: uuid + * @description Azure Active Directory Application ID of Atlas. + */ + atlasAzureAppId?: string; + /** + * Format: date-time + * @description Date and time when this Azure Service Principal was created. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly createdDate?: string; + /** @description List that contains application features associated with this Azure Service Principal. */ + readonly featureUsages?: components["schemas"]["CloudProviderAccessFeatureUsage"][]; + /** + * Format: date-time + * @description Date and time when this Azure Service Principal was last updated. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly lastUpdatedDate?: string; + /** + * Format: uuid + * @description UUID string that identifies the Azure Service Principal. + */ + servicePrincipalId?: string; + /** + * Format: uuid + * @description UUID String that identifies the Azure Active Directory Tenant ID. + */ + tenantId?: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "AZURE"; + }; + /** @description Details that describe the features linked to the Azure Service Principal. */ + CloudProviderAccessAzureServicePrincipalRequestUpdate: Omit< + WithRequired, + "providerName" + > & { + /** + * @description Unique 24-hexadecimal digit string that identifies the role. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly _id?: string; + /** + * Format: uuid + * @description Azure Active Directory Application ID of Atlas. + */ + atlasAzureAppId?: string; + /** + * Format: date-time + * @description Date and time when this Azure Service Principal was created. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly createdDate?: string; + /** @description List that contains application features associated with this Azure Service Principal. */ + readonly featureUsages?: components["schemas"]["CloudProviderAccessFeatureUsage"][]; + /** + * Format: date-time + * @description Date and time when this Azure Service Principal was last updated. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly lastUpdatedDate?: string; + /** + * Format: uuid + * @description UUID string that identifies the Azure Service Principal. + */ + servicePrincipalId?: string; + /** + * Format: uuid + * @description UUID String that identifies the Azure Active Directory Tenant ID. + */ + tenantId?: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "AZURE"; + }; + /** @description Details that describe the Atlas Data Lakes linked to this Amazon Web Services (AWS) Identity and Access Management (IAM) role. */ + CloudProviderAccessDataLakeFeatureUsage: Omit< + components["schemas"]["CloudProviderAccessFeatureUsage"], + "featureType" + > & { + featureId?: components["schemas"]["CloudProviderAccessFeatureUsageDataLakeFeatureId"]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + featureType: "ATLAS_DATA_LAKE"; + }; + /** @description Details that describe the Key Management Service (KMS) linked to this Amazon Web Services (AWS) Identity and Access Management (IAM) role. */ + CloudProviderAccessEncryptionAtRestFeatureUsage: Omit< + components["schemas"]["CloudProviderAccessFeatureUsage"], + "featureType" + > & { + featureId?: components["schemas"]["ApiAtlasCloudProviderAccessFeatureUsageFeatureIdView"]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + featureType: "ENCRYPTION_AT_REST"; + }; + /** @description Details that describe the Amazon Web Services (AWS) Simple Storage Service (S3) export buckets linked to this AWS Identity and Access Management (IAM) role. */ + CloudProviderAccessExportSnapshotFeatureUsage: Omit< + components["schemas"]["CloudProviderAccessFeatureUsage"], + "featureType" + > & { + featureId?: components["schemas"]["CloudProviderAccessFeatureUsageExportSnapshotFeatureId"]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + featureType: "EXPORT_SNAPSHOT"; + }; + /** @description MongoDB Cloud features associated with this Amazon Web Services (AWS) Identity and Access Management (IAM) role. */ + CloudProviderAccessFeatureUsage: { + /** + * @description Human-readable label that describes one MongoDB Cloud feature linked to this Amazon Web Services (AWS) Identity and Access Management (IAM) role. + * @enum {string} + */ + readonly featureType?: + | "ATLAS_DATA_LAKE" + | "ENCRYPTION_AT_REST" + | "EXPORT_SNAPSHOT" + | "PUSH_BASED_LOG_EXPORT"; + }; + /** @description Identifying characteristics about the data lake linked to this Amazon Web Services (AWS) Identity and Access Management (IAM) role. */ + CloudProviderAccessFeatureUsageDataLakeFeatureId: { + /** + * @description Unique 24-hexadecimal digit string that identifies your project. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly groupId?: string; + /** @description Human-readable label that identifies the data lake. */ + name?: string; + }; + /** @description Identifying characteristics about the Amazon Web Services (AWS) Simple Storage Service (S3) export bucket linked to this AWS Identity and Access Management (IAM) role. */ + CloudProviderAccessFeatureUsageExportSnapshotFeatureId: { + /** + * @description Unique 24-hexadecimal digit string that identifies the AWS S3 bucket to which you export your snapshots. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly exportBucketId?: string; + /** + * @description Unique 24-hexadecimal digit string that identifies your project. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly groupId?: string; + }; + /** @description Identifying characteristics about the Amazon Web Services (AWS) Simple Storage Service (S3) export bucket linked to this AWS Identity and Access Management (IAM) role. */ + CloudProviderAccessFeatureUsagePushBasedLogExportFeatureId: { + /** @description Name of the AWS S3 bucket to which your logs will be exported to. */ + readonly bucketName?: string; + /** + * @description Unique 24-hexadecimal digit string that identifies your project. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly groupId?: string; + }; + /** @description Details that describe the features linked to the GCP Service Account. */ + CloudProviderAccessGCPServiceAccount: Omit< + WithRequired, + "providerName" + > & { + /** + * Format: date-time + * @description Date and time when this Google Service Account was created. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly createdDate?: string; + /** @description List that contains application features associated with this Google Service Account. */ + readonly featureUsages?: components["schemas"]["CloudProviderAccessFeatureUsage"][]; + /** @description Email address for the Google Service Account created by Atlas. */ + gcpServiceAccountForAtlas?: string; + /** + * @description Unique 24-hexadecimal digit string that identifies the role. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly roleId?: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "GCP"; + }; + /** @description Details that describe the features linked to the GCP Service Account. */ + CloudProviderAccessGCPServiceAccountRequestUpdate: Omit< + WithRequired, + "providerName" + > & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "GCP"; + }; + /** @description Details that describe the Amazon Web Services (AWS) Simple Storage Service (S3) export buckets linked to this AWS Identity and Access Management (IAM) role. */ + CloudProviderAccessPushBasedLogExportFeatureUsage: Omit< + components["schemas"]["CloudProviderAccessFeatureUsage"], + "featureType" + > & { + featureId?: components["schemas"]["CloudProviderAccessFeatureUsagePushBasedLogExportFeatureId"]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + featureType: "PUSH_BASED_LOG_EXPORT"; + }; + /** @description Cloud provider access role. */ + CloudProviderAccessRole: { + /** + * @description Human-readable label that identifies the cloud provider of the role. + * @enum {string} + */ + providerName: "AWS" | "AZURE" | "GCP"; + }; + /** @description Cloud provider access role. */ + CloudProviderAccessRoleRequestUpdate: { + /** + * @description Human-readable label that identifies the cloud provider of the role. + * @enum {string} + */ + providerName: "AWS" | "AZURE" | "GCP"; + }; + /** @description Range of instance sizes to which your cluster can scale. */ + CloudProviderAzureAutoScaling: { + compute?: components["schemas"]["AzureComputeAutoScalingRules"]; + }; + /** @description Collection of settings that configures the network container for a virtual private connection on Amazon Web Services. */ + CloudProviderContainer: { + /** + * @description Unique 24-hexadecimal digit string that identifies the network peering container. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly id?: string; + /** + * @description Cloud service provider that serves the requested network peering containers. + * @enum {string} + */ + providerName?: "AWS" | "GCP" | "AZURE" | "TENANT" | "SERVERLESS"; + /** @description Flag that indicates whether MongoDB Cloud clusters exist in the specified network peering container. */ + readonly provisioned?: boolean; + } & ( + | components["schemas"]["AzureCloudProviderContainer"] + | components["schemas"]["GCPCloudProviderContainer"] + | components["schemas"]["AWSCloudProviderContainer"] + ); + /** @description Range of instance sizes to which your cluster can scale. */ + CloudProviderGCPAutoScaling: { + compute?: components["schemas"]["GCPComputeAutoScaling"]; + }; + /** + * Cloud Service Provider Settings for Multi-Cloud Clusters + * @description Cloud service provider on which MongoDB Cloud provisions the hosts. + */ + CloudRegionConfig: { + electableSpecs?: components["schemas"]["HardwareSpec"]; + /** + * Format: int32 + * @description Precedence is given to this region when a primary election occurs. If your **regionConfigs** has only **readOnlySpecs**, **analyticsSpecs**, or both, set this value to `0`. If you have multiple **regionConfigs** objects (your cluster is multi-region or multi-cloud), they must have priorities in descending order. The highest priority is `7`. + * + * **Example:** If you have three regions, their priorities would be `7`, `6`, and `5` respectively. If you added two more regions for supporting electable nodes, the priorities of those regions would be `4` and `3` respectively. + */ + priority?: number; + /** + * @description Cloud service provider on which MongoDB Cloud provisions the hosts. Set dedicated clusters to `AWS`, `GCP`, `AZURE` or `TENANT`. + * @enum {string} + */ + providerName?: "AWS" | "AZURE" | "GCP" | "TENANT"; + /** @description Physical location of your MongoDB cluster nodes. The region you choose can affect network latency for clients accessing your databases. The region name is only returned in the response for single-region clusters. When MongoDB Cloud deploys a dedicated cluster, it checks if a VPC or VPC connection exists for that provider and region. If not, MongoDB Cloud creates them as part of the deployment. It assigns the VPC a Classless Inter-Domain Routing (CIDR) block. To limit a new VPC peering connection to one Classless Inter-Domain Routing (CIDR) block and region, create the connection first. Deploy the cluster after the connection starts. GCP Clusters and Multi-region clusters require one VPC peering connection for each region. MongoDB nodes can use only the peering connection that resides in the same region as the nodes to communicate with the peered VPC. */ + regionName?: + | ( + | "US_GOV_WEST_1" + | "US_GOV_EAST_1" + | "US_EAST_1" + | "US_EAST_2" + | "US_WEST_1" + | "US_WEST_2" + | "CA_CENTRAL_1" + | "EU_NORTH_1" + | "EU_WEST_1" + | "EU_WEST_2" + | "EU_WEST_3" + | "EU_CENTRAL_1" + | "EU_CENTRAL_2" + | "AP_EAST_1" + | "AP_NORTHEAST_1" + | "AP_NORTHEAST_2" + | "AP_NORTHEAST_3" + | "AP_SOUTHEAST_1" + | "AP_SOUTHEAST_2" + | "AP_SOUTHEAST_3" + | "AP_SOUTHEAST_4" + | "AP_SOUTH_1" + | "AP_SOUTH_2" + | "SA_EAST_1" + | "CN_NORTH_1" + | "CN_NORTHWEST_1" + | "ME_SOUTH_1" + | "ME_CENTRAL_1" + | "AF_SOUTH_1" + | "EU_SOUTH_1" + | "EU_SOUTH_2" + | "IL_CENTRAL_1" + | "CA_WEST_1" + | "AP_SOUTHEAST_5" + | "AP_SOUTHEAST_7" + | "MX_CENTRAL_1" + | "GLOBAL" + ) + | ( + | "US_CENTRAL" + | "US_EAST" + | "US_EAST_2" + | "US_NORTH_CENTRAL" + | "US_WEST" + | "US_SOUTH_CENTRAL" + | "EUROPE_NORTH" + | "EUROPE_WEST" + | "US_WEST_CENTRAL" + | "US_WEST_2" + | "US_WEST_3" + | "CANADA_EAST" + | "CANADA_CENTRAL" + | "BRAZIL_SOUTH" + | "BRAZIL_SOUTHEAST" + | "AUSTRALIA_CENTRAL" + | "AUSTRALIA_CENTRAL_2" + | "AUSTRALIA_EAST" + | "AUSTRALIA_SOUTH_EAST" + | "GERMANY_CENTRAL" + | "GERMANY_NORTH_EAST" + | "GERMANY_WEST_CENTRAL" + | "GERMANY_NORTH" + | "SWEDEN_CENTRAL" + | "SWEDEN_SOUTH" + | "SWITZERLAND_NORTH" + | "SWITZERLAND_WEST" + | "UK_SOUTH" + | "UK_WEST" + | "NORWAY_EAST" + | "NORWAY_WEST" + | "INDIA_CENTRAL" + | "INDIA_SOUTH" + | "INDIA_WEST" + | "CHINA_EAST" + | "CHINA_NORTH" + | "ASIA_EAST" + | "JAPAN_EAST" + | "JAPAN_WEST" + | "ASIA_SOUTH_EAST" + | "KOREA_CENTRAL" + | "KOREA_SOUTH" + | "FRANCE_CENTRAL" + | "FRANCE_SOUTH" + | "SOUTH_AFRICA_NORTH" + | "SOUTH_AFRICA_WEST" + | "UAE_CENTRAL" + | "UAE_NORTH" + | "QATAR_CENTRAL" + ) + | ( + | "EASTERN_US" + | "EASTERN_US_AW" + | "US_EAST_4" + | "US_EAST_4_AW" + | "US_EAST_5" + | "US_EAST_5_AW" + | "US_WEST_2" + | "US_WEST_2_AW" + | "US_WEST_3" + | "US_WEST_3_AW" + | "US_WEST_4" + | "US_WEST_4_AW" + | "US_SOUTH_1" + | "US_SOUTH_1_AW" + | "CENTRAL_US" + | "CENTRAL_US_AW" + | "WESTERN_US" + | "WESTERN_US_AW" + | "NORTH_AMERICA_NORTHEAST_1" + | "NORTH_AMERICA_NORTHEAST_2" + | "NORTH_AMERICA_SOUTH_1" + | "SOUTH_AMERICA_EAST_1" + | "SOUTH_AMERICA_WEST_1" + | "WESTERN_EUROPE" + | "EUROPE_NORTH_1" + | "EUROPE_WEST_2" + | "EUROPE_WEST_3" + | "EUROPE_WEST_4" + | "EUROPE_WEST_6" + | "EUROPE_WEST_8" + | "EUROPE_WEST_9" + | "EUROPE_WEST_10" + | "EUROPE_WEST_12" + | "EUROPE_SOUTHWEST_1" + | "EUROPE_CENTRAL_2" + | "MIDDLE_EAST_CENTRAL_1" + | "MIDDLE_EAST_CENTRAL_2" + | "MIDDLE_EAST_WEST_1" + | "AUSTRALIA_SOUTHEAST_1" + | "AUSTRALIA_SOUTHEAST_2" + | "AFRICA_SOUTH_1" + | "EASTERN_ASIA_PACIFIC" + | "NORTHEASTERN_ASIA_PACIFIC" + | "SOUTHEASTERN_ASIA_PACIFIC" + | "ASIA_EAST_2" + | "ASIA_NORTHEAST_2" + | "ASIA_NORTHEAST_3" + | "ASIA_SOUTH_1" + | "ASIA_SOUTH_2" + | "ASIA_SOUTHEAST_2" + ); + } & ( + | components["schemas"]["AWSRegionConfig"] + | components["schemas"]["AzureRegionConfig"] + | components["schemas"]["GCPRegionConfig"] + | components["schemas"]["TenantRegionConfig"] + ); + /** + * Cloud Service Provider Settings + * @description Cloud service provider on which MongoDB Cloud provisions the hosts. + */ + CloudRegionConfig20240805: { + electableSpecs?: components["schemas"]["HardwareSpec20240805"]; + /** + * Format: int32 + * @description Precedence is given to this region when a primary election occurs. If your **regionConfigs** has only **readOnlySpecs**, **analyticsSpecs**, or both, set this value to `0`. If you have multiple **regionConfigs** objects (your cluster is multi-region or multi-cloud), they must have priorities in descending order. The highest priority is `7`. + * + * **Example:** If you have three regions, their priorities would be `7`, `6`, and `5` respectively. If you added two more regions for supporting electable nodes, the priorities of those regions would be `4` and `3` respectively. + */ + priority?: number; + /** + * @description Cloud service provider on which MongoDB Cloud provisions the hosts. Set dedicated clusters to `AWS`, `GCP`, `AZURE` or `TENANT`. + * @enum {string} + */ + providerName?: "AWS" | "AZURE" | "GCP" | "TENANT"; + /** @description Physical location of your MongoDB cluster nodes. The region you choose can affect network latency for clients accessing your databases. The region name is only returned in the response for single-region clusters. When MongoDB Cloud deploys a dedicated cluster, it checks if a VPC or VPC connection exists for that provider and region. If not, MongoDB Cloud creates them as part of the deployment. It assigns the VPC a Classless Inter-Domain Routing (CIDR) block. To limit a new VPC peering connection to one Classless Inter-Domain Routing (CIDR) block and region, create the connection first. Deploy the cluster after the connection starts. GCP Clusters and Multi-region clusters require one VPC peering connection for each region. MongoDB nodes can use only the peering connection that resides in the same region as the nodes to communicate with the peered VPC. */ + regionName?: + | ( + | "US_GOV_WEST_1" + | "US_GOV_EAST_1" + | "US_EAST_1" + | "US_EAST_2" + | "US_WEST_1" + | "US_WEST_2" + | "CA_CENTRAL_1" + | "EU_NORTH_1" + | "EU_WEST_1" + | "EU_WEST_2" + | "EU_WEST_3" + | "EU_CENTRAL_1" + | "EU_CENTRAL_2" + | "AP_EAST_1" + | "AP_NORTHEAST_1" + | "AP_NORTHEAST_2" + | "AP_NORTHEAST_3" + | "AP_SOUTHEAST_1" + | "AP_SOUTHEAST_2" + | "AP_SOUTHEAST_3" + | "AP_SOUTHEAST_4" + | "AP_SOUTH_1" + | "AP_SOUTH_2" + | "SA_EAST_1" + | "CN_NORTH_1" + | "CN_NORTHWEST_1" + | "ME_SOUTH_1" + | "ME_CENTRAL_1" + | "AF_SOUTH_1" + | "EU_SOUTH_1" + | "EU_SOUTH_2" + | "IL_CENTRAL_1" + | "CA_WEST_1" + | "AP_SOUTHEAST_5" + | "AP_SOUTHEAST_7" + | "MX_CENTRAL_1" + | "GLOBAL" + ) + | ( + | "US_CENTRAL" + | "US_EAST" + | "US_EAST_2" + | "US_NORTH_CENTRAL" + | "US_WEST" + | "US_SOUTH_CENTRAL" + | "EUROPE_NORTH" + | "EUROPE_WEST" + | "US_WEST_CENTRAL" + | "US_WEST_2" + | "US_WEST_3" + | "CANADA_EAST" + | "CANADA_CENTRAL" + | "BRAZIL_SOUTH" + | "BRAZIL_SOUTHEAST" + | "AUSTRALIA_CENTRAL" + | "AUSTRALIA_CENTRAL_2" + | "AUSTRALIA_EAST" + | "AUSTRALIA_SOUTH_EAST" + | "GERMANY_CENTRAL" + | "GERMANY_NORTH_EAST" + | "GERMANY_WEST_CENTRAL" + | "GERMANY_NORTH" + | "SWEDEN_CENTRAL" + | "SWEDEN_SOUTH" + | "SWITZERLAND_NORTH" + | "SWITZERLAND_WEST" + | "UK_SOUTH" + | "UK_WEST" + | "NORWAY_EAST" + | "NORWAY_WEST" + | "INDIA_CENTRAL" + | "INDIA_SOUTH" + | "INDIA_WEST" + | "CHINA_EAST" + | "CHINA_NORTH" + | "ASIA_EAST" + | "JAPAN_EAST" + | "JAPAN_WEST" + | "ASIA_SOUTH_EAST" + | "KOREA_CENTRAL" + | "KOREA_SOUTH" + | "FRANCE_CENTRAL" + | "FRANCE_SOUTH" + | "SOUTH_AFRICA_NORTH" + | "SOUTH_AFRICA_WEST" + | "UAE_CENTRAL" + | "UAE_NORTH" + | "QATAR_CENTRAL" + ) + | ( + | "EASTERN_US" + | "EASTERN_US_AW" + | "US_EAST_4" + | "US_EAST_4_AW" + | "US_EAST_5" + | "US_EAST_5_AW" + | "US_WEST_2" + | "US_WEST_2_AW" + | "US_WEST_3" + | "US_WEST_3_AW" + | "US_WEST_4" + | "US_WEST_4_AW" + | "US_SOUTH_1" + | "US_SOUTH_1_AW" + | "CENTRAL_US" + | "CENTRAL_US_AW" + | "WESTERN_US" + | "WESTERN_US_AW" + | "NORTH_AMERICA_NORTHEAST_1" + | "NORTH_AMERICA_NORTHEAST_2" + | "NORTH_AMERICA_SOUTH_1" + | "SOUTH_AMERICA_EAST_1" + | "SOUTH_AMERICA_WEST_1" + | "WESTERN_EUROPE" + | "EUROPE_NORTH_1" + | "EUROPE_WEST_2" + | "EUROPE_WEST_3" + | "EUROPE_WEST_4" + | "EUROPE_WEST_6" + | "EUROPE_WEST_8" + | "EUROPE_WEST_9" + | "EUROPE_WEST_10" + | "EUROPE_WEST_12" + | "EUROPE_SOUTHWEST_1" + | "EUROPE_CENTRAL_2" + | "MIDDLE_EAST_CENTRAL_1" + | "MIDDLE_EAST_CENTRAL_2" + | "MIDDLE_EAST_WEST_1" + | "AUSTRALIA_SOUTHEAST_1" + | "AUSTRALIA_SOUTHEAST_2" + | "AFRICA_SOUTH_1" + | "EASTERN_ASIA_PACIFIC" + | "NORTHEASTERN_ASIA_PACIFIC" + | "SOUTHEASTERN_ASIA_PACIFIC" + | "ASIA_EAST_2" + | "ASIA_NORTHEAST_2" + | "ASIA_NORTHEAST_3" + | "ASIA_SOUTH_1" + | "ASIA_SOUTH_2" + | "ASIA_SOUTHEAST_2" + ); + } & ( + | components["schemas"]["AWSRegionConfig20240805"] + | components["schemas"]["AzureRegionConfig20240805"] + | components["schemas"]["GCPRegionConfig20240805"] + | components["schemas"]["TenantRegionConfig20240805"] + ); + /** + * Cluster Connection Strings + * @description Collection of Uniform Resource Locators that point to the MongoDB database. + */ + ClusterConnectionStrings: { + /** @description Private endpoint-aware connection strings that use AWS-hosted clusters with Amazon Web Services (AWS) PrivateLink. Each key identifies an Amazon Web Services (AWS) interface endpoint. Each value identifies the related `mongodb://` connection string that you use to connect to MongoDB Cloud through the interface endpoint that the key names. */ + readonly awsPrivateLink?: { + [key: string]: string; + }; + /** @description Private endpoint-aware connection strings that use AWS-hosted clusters with Amazon Web Services (AWS) PrivateLink. Each key identifies an Amazon Web Services (AWS) interface endpoint. Each value identifies the related `mongodb://` connection string that you use to connect to Atlas through the interface endpoint that the key names. If the cluster uses an optimized connection string, `awsPrivateLinkSrv` contains the optimized connection string. If the cluster has the non-optimized (legacy) connection string, `awsPrivateLinkSrv` contains the non-optimized connection string even if an optimized connection string is also present. */ + readonly awsPrivateLinkSrv?: { + [key: string]: string; + }; + /** @description Network peering connection strings for each interface Virtual Private Cloud (VPC) endpoint that you configured to connect to this cluster. This connection string uses the `mongodb+srv://` protocol. The resource returns this parameter once someone creates a network peering connection to this cluster. This protocol tells the application to look up the host seed list in the Domain Name System (DNS). This list synchronizes with the nodes in a cluster. If the connection string uses this Uniform Resource Identifier (URI) format, you don't need to append the seed list or change the URI if the nodes change. Use this URI format if your driver supports it. If it doesn't, use connectionStrings.private. For Amazon Web Services (AWS) clusters, this resource returns this parameter only if you enable custom DNS. */ + readonly private?: string; + /** @description List of private endpoint-aware connection strings that you can use to connect to this cluster through a private endpoint. This parameter returns only if you deployed a private endpoint to all regions to which you deployed this clusters' nodes. */ + readonly privateEndpoint?: components["schemas"]["ClusterDescriptionConnectionStringsPrivateEndpoint"][]; + /** @description Network peering connection strings for each interface Virtual Private Cloud (VPC) endpoint that you configured to connect to this cluster. This connection string uses the `mongodb+srv://` protocol. The resource returns this parameter when someone creates a network peering connection to this cluster. This protocol tells the application to look up the host seed list in the Domain Name System (DNS). This list synchronizes with the nodes in a cluster. If the connection string uses this Uniform Resource Identifier (URI) format, you don't need to append the seed list or change the Uniform Resource Identifier (URI) if the nodes change. Use this Uniform Resource Identifier (URI) format if your driver supports it. If it doesn't, use `connectionStrings.private`. For Amazon Web Services (AWS) clusters, this parameter returns only if you [enable custom DNS](https://docs.atlas.mongodb.com/reference/api/aws-custom-dns-update/). */ + readonly privateSrv?: string; + /** @description Public connection string that you can use to connect to this cluster. This connection string uses the `mongodb://` protocol. */ + readonly standard?: string; + /** @description Public connection string that you can use to connect to this cluster. This connection string uses the `mongodb+srv://` protocol. */ + readonly standardSrv?: string; + }; + ClusterDescription20240805: { + /** + * Format: date-time + * @description If reconfiguration is necessary to regain a primary due to a regional outage, submit this field alongside your topology reconfiguration to request a new regional outage resistant topology. Forced reconfigurations during an outage of the majority of electable nodes carry a risk of data loss if replicated writes (even majority committed writes) have not been replicated to the new primary node. MongoDB Atlas docs contain more information. To proceed with an operation which carries that risk, set **acceptDataRisksAndForceReplicaSetReconfig** to the current date. + */ + acceptDataRisksAndForceReplicaSetReconfig?: string; + advancedConfiguration?: components["schemas"]["ApiAtlasClusterAdvancedConfigurationView"]; + /** + * @description Flag that indicates whether the cluster can perform backups. If set to `true`, the cluster can perform backups. You must set this value to `true` for NVMe clusters. Backup uses Cloud Backups for dedicated clusters and [Shared Cluster Backups](https://docs.atlas.mongodb.com/backup/shared-tier/overview/) for tenant clusters. If set to `false`, the cluster doesn't use backups. + * @default false + */ + backupEnabled: boolean; + biConnector?: components["schemas"]["BiConnector"]; + /** + * @description Configuration of nodes that comprise the cluster. + * @enum {string} + */ + clusterType?: "REPLICASET" | "SHARDED" | "GEOSHARDED"; + /** + * @description Config Server Management Mode for creating or updating a sharded cluster. + * + * When configured as ATLAS_MANAGED, atlas may automatically switch the cluster's config server type for optimal performance and savings. + * + * When configured as FIXED_TO_DEDICATED, the cluster will always use a dedicated config server. + * @default ATLAS_MANAGED + * @enum {string} + */ + configServerManagementMode: "ATLAS_MANAGED" | "FIXED_TO_DEDICATED"; + /** + * @description Describes a sharded cluster's config server type. + * @enum {string} + */ + readonly configServerType?: "DEDICATED" | "EMBEDDED"; + connectionStrings?: components["schemas"]["ClusterConnectionStrings"]; + /** + * Format: date-time + * @description Date and time when MongoDB Cloud created this cluster. This parameter expresses its value in ISO 8601 format in UTC. + */ + readonly createDate?: string; + /** + * @description Disk warming mode selection. + * @default FULLY_WARMED + * @enum {string} + */ + diskWarmingMode: "FULLY_WARMED" | "VISIBLE_EARLIER"; + /** + * @description Cloud service provider that manages your customer keys to provide an additional layer of encryption at rest for the cluster. To enable customer key management for encryption at rest, the cluster **replicationSpecs[n].regionConfigs[m].{type}Specs.instanceSize** setting must be `M10` or higher and `"backupEnabled" : false` or omitted entirely. + * @enum {string} + */ + encryptionAtRestProvider?: "NONE" | "AWS" | "AZURE" | "GCP"; + /** @description Feature compatibility version of the cluster. This will always appear regardless of whether FCV is pinned. */ + readonly featureCompatibilityVersion?: string; + /** + * Format: date-time + * @description Feature compatibility version expiration date. Will only appear if FCV is pinned. + */ + readonly featureCompatibilityVersionExpirationDate?: string; + /** @description Set this field to configure the Sharding Management Mode when creating a new Global Cluster. + * + * When set to false, the management mode is set to Atlas-Managed Sharding. This mode fully manages the sharding of your Global Cluster and is built to provide a seamless deployment experience. + * + * When set to true, the management mode is set to Self-Managed Sharding. This mode leaves the management of shards in your hands and is built to provide an advanced and flexible deployment experience. + * + * This setting cannot be changed once the cluster is deployed. */ + globalClusterSelfManagedSharding?: boolean; + /** + * @description Unique 24-hexadecimal character string that identifies the project. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly groupId?: string; + /** + * @description Unique 24-hexadecimal digit string that identifies the cluster. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly id?: string; + /** + * @deprecated + * @description Collection of key-value pairs between 1 to 255 characters in length that tag and categorize the cluster. The MongoDB Cloud console doesn't display your labels. + * + * Cluster labels are deprecated and will be removed in a future release. We strongly recommend that you use Resource Tags instead. + */ + labels?: components["schemas"]["ComponentLabel"][]; + /** @description List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. */ + readonly links?: components["schemas"]["Link"][]; + mongoDBEmployeeAccessGrant?: components["schemas"]["EmployeeAccessGrantView"]; + /** @description MongoDB major version of the cluster. Set to the binary major version. + * + * On creation: Choose from the available versions of MongoDB, or leave unspecified for the current recommended default in the MongoDB Cloud platform. The recommended version is a recent Long Term Support version. The default is not guaranteed to be the most recently released version throughout the entire release cycle. For versions available in a specific project, see the linked documentation or use the API endpoint for [project LTS versions endpoint](#tag/Projects/operation/getProjectLtsVersions). + * + * On update: Increase version only by 1 major version at a time. If the cluster is pinned to a MongoDB feature compatibility version exactly one major version below the current MongoDB version, the MongoDB version can be downgraded to the previous major version. */ + mongoDBMajorVersion?: string; + /** @description Version of MongoDB that the cluster runs. */ + readonly mongoDBVersion?: string; + /** @description Human-readable label that identifies the cluster. */ + name?: string; + /** @description Flag that indicates whether the cluster is paused. */ + paused?: boolean; + /** @description Flag that indicates whether the cluster uses continuous cloud backups. */ + pitEnabled?: boolean; + /** @description Enable or disable log redaction. + * + * This setting configures the ``mongod`` or ``mongos`` to redact any document field contents from a message accompanying a given log event before logging. This prevents the program from writing potentially sensitive data stored on the database to the diagnostic log. Metadata such as error or operation codes, line numbers, and source file names are still visible in the logs. + * + * Use ``redactClientLogData`` in conjunction with Encryption at Rest and TLS/SSL (Transport Encryption) to assist compliance with regulatory requirements. + * + * *Note*: changing this setting on a cluster will trigger a rolling restart as soon as the cluster is updated. */ + redactClientLogData?: boolean; + /** + * @description Set this field to configure the replica set scaling mode for your cluster. + * + * By default, Atlas scales under WORKLOAD_TYPE. This mode allows Atlas to scale your analytics nodes in parallel to your operational nodes. + * + * When configured as SEQUENTIAL, Atlas scales all nodes sequentially. This mode is intended for steady-state workloads and applications performing latency-sensitive secondary reads. + * + * When configured as NODE_TYPE, Atlas scales your electable nodes in parallel with your read-only and analytics nodes. This mode is intended for large, dynamic workloads requiring frequent and timely cluster tier scaling. This is the fastest scaling strategy, but it might impact latency of workloads when performing extensive secondary reads. + * @default WORKLOAD_TYPE + * @enum {string} + */ + replicaSetScalingStrategy: "SEQUENTIAL" | "WORKLOAD_TYPE" | "NODE_TYPE"; + /** @description List of settings that configure your cluster regions. This array has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. */ + replicationSpecs?: components["schemas"]["ReplicationSpec20240805"][]; + /** + * @description Root Certificate Authority that MongoDB Cloud cluster uses. MongoDB Cloud supports Internet Security Research Group. + * @default ISRGROOTX1 + * @enum {string} + */ + rootCertType: "ISRGROOTX1"; + /** + * @description Human-readable label that indicates the current operating condition of this cluster. + * @enum {string} + */ + readonly stateName?: "IDLE" | "CREATING" | "UPDATING" | "DELETING" | "REPAIRING"; + /** @description List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. */ + tags?: components["schemas"]["ResourceTag"][]; + /** + * @description Flag that indicates whether termination protection is enabled on the cluster. If set to `true`, MongoDB Cloud won't delete the cluster. If set to `false`, MongoDB Cloud will delete the cluster. + * @default false + */ + terminationProtectionEnabled: boolean; + /** + * @description Method by which the cluster maintains the MongoDB versions. If value is `CONTINUOUS`, you must not specify **mongoDBMajorVersion**. + * @default LTS + * @enum {string} + */ + versionReleaseSystem: "LTS" | "CONTINUOUS"; + }; + /** + * Cluster Private Endpoint Connection String + * @description Private endpoint-aware connection string that you can use to connect to this cluster through a private endpoint. + */ + ClusterDescriptionConnectionStringsPrivateEndpoint: { + /** @description Private endpoint-aware connection string that uses the `mongodb://` protocol to connect to MongoDB Cloud through a private endpoint. */ + readonly connectionString?: string; + /** @description List that contains the private endpoints through which you connect to MongoDB Cloud when you use **connectionStrings.privateEndpoint[n].connectionString** or **connectionStrings.privateEndpoint[n].srvConnectionString**. */ + readonly endpoints?: components["schemas"]["ClusterDescriptionConnectionStringsPrivateEndpointEndpoint"][]; + /** @description Private endpoint-aware connection string that uses the `mongodb+srv://` protocol to connect to MongoDB Cloud through a private endpoint. The `mongodb+srv` protocol tells the driver to look up the seed list of hosts in the Domain Name System (DNS). This list synchronizes with the nodes in a cluster. If the connection string uses this Uniform Resource Identifier (URI) format, you don't need to append the seed list or change the Uniform Resource Identifier (URI) if the nodes change. Use this Uniform Resource Identifier (URI) format if your application supports it. If it doesn't, use connectionStrings.privateEndpoint[n].connectionString. */ + readonly srvConnectionString?: string; + /** @description Private endpoint-aware connection string optimized for sharded clusters that uses the `mongodb+srv://` protocol to connect to MongoDB Cloud through a private endpoint. If the connection string uses this Uniform Resource Identifier (URI) format, you don't need to change the Uniform Resource Identifier (URI) if the nodes change. Use this Uniform Resource Identifier (URI) format if your application and Atlas cluster supports it. If it doesn't, use and consult the documentation for connectionStrings.privateEndpoint[n].srvConnectionString. */ + readonly srvShardOptimizedConnectionString?: string; + /** + * @description MongoDB process type to which your application connects. Use `MONGOD` for replica sets and `MONGOS` for sharded clusters. + * @enum {string} + */ + readonly type?: "MONGOD" | "MONGOS"; + }; + /** + * Cluster Private Endpoint Connection Strings Endpoint + * @description Details of a private endpoint deployed for this cluster. + */ + ClusterDescriptionConnectionStringsPrivateEndpointEndpoint: { + /** @description Unique string that the cloud provider uses to identify the private endpoint. */ + readonly endpointId?: string; + /** + * @description Cloud provider in which MongoDB Cloud deploys the private endpoint. + * @enum {string} + */ + readonly providerName?: "AWS" | "AZURE" | "GCP"; + /** @description Region where the private endpoint is deployed. */ + readonly region?: string; + }; + ClusterFlexProviderSettings: Omit & { + /** + * @description Cloud service provider on which MongoDB Cloud provisioned the multi-tenant host. The resource returns this parameter when **providerSettings.providerName** is `FLEX` and **providerSetting.instanceSizeName** is `FLEX`. + * @enum {string} + */ + backingProviderName?: "AWS" | "GCP" | "AZURE"; + /** + * Flex Instance Sizes + * @description Cluster tier, with a default storage and memory capacity, that applies to all the data-bearing hosts in your cluster. You must set **providerSettings.providerName** to `FLEX` and specify the cloud service provider in **providerSettings.backingProviderName**. + * @enum {string} + */ + instanceSizeName?: "FLEX"; + /** @description Human-readable label that identifies the geographic location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases. For a complete list of region names, see [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/#std-label-amazon-aws), [GCP](https://docs.atlas.mongodb.com/reference/google-gcp/), and [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/). */ + regionName?: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "FLEX"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "FLEX"; + }; + /** @description Range of instance sizes to which your cluster can scale. */ + ClusterFreeAutoScaling: { + compute?: components["schemas"]["FreeComputeAutoScalingRules"]; + }; + ClusterFreeProviderSettings: Omit & { + autoScaling?: components["schemas"]["ClusterFreeAutoScaling"]; + /** + * @description Cloud service provider on which MongoDB Cloud provisioned the multi-tenant host. The resource returns this parameter when **providerSettings.providerName** is `TENANT` and **providerSetting.instanceSizeName** is `M0`, `M2` or `M5`. + * + * Please note that using an instanceSize of M2 or M5 will create a Flex cluster instead. Support for the instanceSize of M2 or M5 will be discontinued in January 2026. We recommend using the createFlexCluster API for such configurations moving forward. + * @enum {string} + */ + backingProviderName?: "AWS" | "GCP" | "AZURE"; + /** + * @description The true tenant instance size. This is present to support backwards compatibility for deprecated provider types and/or instance sizes. + * @enum {string} + */ + readonly effectiveInstanceSizeName?: "FLEX" | "M2" | "M5" | "M0"; + /** + * Tenant Instance Sizes + * @description Cluster tier, with a default storage and memory capacity, that applies to all the data-bearing hosts in your cluster. You must set **providerSettings.providerName** to `TENANT` and specify the cloud service provider in **providerSettings.backingProviderName**. + * @enum {string} + */ + instanceSizeName?: "M0" | "M2" | "M5"; + /** @description Human-readable label that identifies the geographic location of your MongoDB cluster. The region you choose can affect network latency for clients accessing your databases. For a complete list of region names, see [AWS](https://docs.atlas.mongodb.com/reference/amazon-aws/#std-label-amazon-aws), [GCP](https://docs.atlas.mongodb.com/reference/google-gcp/), and [Azure](https://docs.atlas.mongodb.com/reference/microsoft-azure/). For multi-region clusters, see **replicationSpec.{region}**. */ + regionName?: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "TENANT"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "TENANT"; + }; + /** + * Cloud Service Provider Settings for a Cluster + * @description Group of cloud provider settings that configure the provisioned MongoDB hosts. + */ + ClusterProviderSettings: { + providerName: string; + } & ( + | components["schemas"]["AWSCloudProviderSettings"] + | components["schemas"]["AzureCloudProviderSettings"] + | components["schemas"]["CloudGCPProviderSettings"] + | components["schemas"]["ClusterFreeProviderSettings"] + | components["schemas"]["ClusterFlexProviderSettings"] + ); + ClusterSearchIndex: { + /** @description Human-readable label that identifies the collection that contains one or more Atlas Search indexes. */ + collectionName: string; + /** @description Human-readable label that identifies the database that contains the collection with one or more Atlas Search indexes. */ + database: string; + /** + * @description Unique 24-hexadecimal digit string that identifies this Atlas Search index. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly indexID?: string; + /** @description Human-readable label that identifies this index. Within each namespace, names of all indexes in the namespace must be unique. */ + name: string; + /** + * Format: int32 + * @description Number of index partitions. Allowed values are [1, 2, 4]. + * @default 1 + */ + numPartitions: number; + /** + * @description Condition of the search index when you made this request. + * + * - `IN_PROGRESS`: Atlas is building or re-building the index after an edit. + * - `STEADY`: You can use this search index. + * - `FAILED`: Atlas could not build the index. + * - `MIGRATING`: Atlas is upgrading the underlying cluster tier and migrating indexes. + * - `PAUSED`: The cluster is paused. + * @enum {string} + */ + readonly status?: "IN_PROGRESS" | "STEADY" | "FAILED" | "MIGRATING" | "STALE" | "PAUSED"; + /** + * @description Type of the index. Default type is search. + * @enum {string} + */ + type?: "search" | "vectorSearch"; + }; + /** + * Component Label + * @description Human-readable labels applied to this MongoDB Cloud component. + */ + ComponentLabel: { + /** @description Key applied to tag and categorize this component. */ + key?: string; + /** @description Value set to the Key applied to tag and categorize this component. */ + value?: string; + }; + /** + * AWS + * @description Group of Private Endpoint settings. + */ + CreateAWSEndpointRequest: components["schemas"]["CreateEndpointRequest"] & { + /** + * @description Unique string that identifies the private endpoint's network interface that someone added to this private endpoint service. + * @example vpce-3bf78b0ddee411ba1 + */ + id: string; + }; + /** + * AZURE + * @description Group of Private Endpoint settings. + */ + CreateAzureEndpointRequest: components["schemas"]["CreateEndpointRequest"] & { + /** + * @description Unique string that identifies the private endpoint's network interface that someone added to this private endpoint service. + * @example /subscriptions/cba6d9c6-1d3f-3c11-03cb-c705d895e636/resourcegroups/qrRTqi4TSN)7yB5YLRjVDveH3.yLzpNR7Br0D3-SGrU3j0.0/providers/Microsoft.Network/privateEndpoints/pVP(vb(XeckpxtXzP0NaOsDjeWDbOK)DX8A2j2E_vBYL2.GEYIdln + */ + id: string; + /** @description IPv4 address of the private endpoint in your Azure VNet that someone added to this private endpoint service. */ + privateEndpointIPAddress: string; + }; + /** @description Settings to configure the region where you wish to store your archived data. */ + CreateDataProcessRegionView: { + /** + * @description Human-readable label that identifies the Cloud service provider where you wish to store your archived data. **AZURE** or **GCP** may be selected only if it is the Cloud service provider for the cluster and no archives for any other cloud provider have been created for the cluster. + * @enum {string} + */ + cloudProvider?: "AWS" | "AZURE" | "GCP"; + }; + CreateEndpointRequest: + | components["schemas"]["CreateAWSEndpointRequest"] + | components["schemas"]["CreateAzureEndpointRequest"] + | components["schemas"]["CreateGCPEndpointGroupRequest"]; + /** + * GCP + * @description Group of Private Endpoint settings. + */ + CreateGCPEndpointGroupRequest: components["schemas"]["CreateEndpointRequest"] & { + /** @description Human-readable label that identifies a set of endpoints. */ + endpointGroupName: string; + /** @description List of individual private endpoints that comprise this endpoint group. */ + endpoints?: components["schemas"]["CreateGCPForwardingRuleRequest"][]; + /** + * @description Unique string that identifies the Google Cloud project in which you created the endpoints. + * @example p-fdeeb3e43b8e733e5ab627b1 + */ + gcpProjectId: string; + }; + /** GCP Forwarding Rules */ + CreateGCPForwardingRuleRequest: { + /** @description Human-readable label that identifies the Google Cloud consumer forwarding rule that you created. */ + endpointName?: string; + /** @description One Private Internet Protocol version 4 (IPv4) address to which this Google Cloud consumer forwarding rule resolves. */ + ipAddress?: string; + }; + /** @description Rules by which MongoDB Cloud archives data. + * + * Use the **criteria.type** field to choose how MongoDB Cloud selects data to archive. Choose data using the age of the data or a MongoDB query. + * **"criteria.type": "DATE"** selects documents to archive based on a date. + * **"criteria.type": "CUSTOM"** selects documents to archive based on a custom JSON query. MongoDB Cloud doesn't support **"criteria.type": "CUSTOM"** when **"collectionType": "TIMESERIES"**. */ + CriteriaView: { + /** + * @description Means by which MongoDB Cloud selects data to archive. Data can be chosen using the age of the data or a MongoDB query. + * **DATE** selects documents to archive based on a date. + * **CUSTOM** selects documents to archive based on a custom JSON query. MongoDB Cloud doesn't support **CUSTOM** when `"collectionType": "TIMESERIES"`. + * @enum {string} + */ + type?: "DATE" | "CUSTOM"; + }; + /** + * Archival Criteria + * @description **CUSTOM criteria.type**. + */ + CustomCriteriaView: Omit & { + /** @description MongoDB find query that selects documents to archive. The specified query follows the syntax of the `db.collection.find(query)` command. This query can't use the empty document (`{}`) to return all documents. Set this parameter when **"criteria.type" : "CUSTOM"**. */ + query: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "CUSTOM"; + }; + /** @description The name of a Built in or Custom DB Role to connect to an Atlas Cluster. */ + DBRoleToExecute: { + /** @description List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. */ + readonly links?: components["schemas"]["Link"][]; + /** @description The name of the role to use. Can be a built in role or a custom role. */ + role?: string; + /** + * DB Role Type + * @description Type of the DB role. Can be either BuiltIn or Custom. + * @enum {string} + */ + type?: "BUILT_IN" | "CUSTOM"; + }; + /** + * DLS Ingestion Destination + * @description Atlas Data Lake Storage as the destination for a Data Lake Pipeline. + */ + DLSIngestionSink: Omit & { + /** + * @description Target cloud provider for this Data Lake Pipeline. + * @enum {string} + */ + metadataProvider?: "AWS"; + /** @description Target cloud provider region for this Data Lake Pipeline. */ + metadataRegion?: string; + /** @description Ordered fields used to physically organize data in the destination. */ + partitionFields?: components["schemas"]["DataLakePipelinesPartitionField"][]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "DLS"; + }; + DailyScheduleView: Omit, "type"> & { + /** + * Format: int32 + * @description Hour of the day when the scheduled window to run one online archive ends. + */ + endHour?: number; + /** + * Format: int32 + * @description Minute of the hour when the scheduled window to run one online archive ends. + */ + endMinute?: number; + /** + * Format: int32 + * @description Hour of the day when the when the scheduled window to run one online archive starts. + */ + startHour?: number; + /** + * Format: int32 + * @description Minute of the hour when the scheduled window to run one online archive starts. + */ + startMinute?: number; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "DAILY"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "DAILY"; + }; + DataLakeAtlasStoreInstance: Omit & { + /** @description Human-readable label of the MongoDB Cloud cluster on which the store is based. */ + clusterName?: string; + /** @description Unique 24-hexadecimal digit string that identifies the project. */ + readonly projectId?: string; + readConcern?: components["schemas"]["DataLakeAtlasStoreReadConcern"]; + readPreference?: components["schemas"]["DataLakeAtlasStoreReadPreference"]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + provider: "atlas"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + provider: "atlas"; + }; + /** @description MongoDB Cloud cluster read concern, which determines the consistency and isolation properties of the data read from an Atlas cluster. */ + DataLakeAtlasStoreReadConcern: { + /** + * @description Read Concern level that specifies the consistency and availability of the data read. + * @enum {string} + */ + level?: "LOCAL" | "MAJORITY" | "LINEARIZABLE" | "SNAPSHOT" | "AVAILABLE"; + }; + /** @description MongoDB Cloud cluster read preference, which describes how to route read requests to the cluster. */ + DataLakeAtlasStoreReadPreference: { + /** + * Format: int32 + * @description Maximum replication lag, or **staleness**, for reads from secondaries. + */ + maxStalenessSeconds?: number; + /** + * @description Read preference mode that specifies to which replica set member to route the read requests. + * @enum {string} + */ + mode?: "primary" | "primaryPreferred" | "secondary" | "secondaryPreferred" | "nearest"; + /** @description List that contains tag sets or tag specification documents. If specified, Atlas Data Lake routes read requests to replica set member or members that are associated with the specified tags. */ + tagSets?: components["schemas"]["DataLakeAtlasStoreReadPreferenceTag"][][]; + }; + DataLakeAtlasStoreReadPreferenceTag: { + /** @description Human-readable label of the tag. */ + name?: string; + /** @description Value of the tag. */ + value?: string; + }; + DataLakeAzureBlobStore: Omit & { + /** @description Human-readable label that identifies the name of the container. */ + containerName?: string; + /** @description Delimiter. */ + delimiter?: string; + /** @description Prefix. */ + prefix?: string; + /** + * @description Flag that indicates whether the blob store is public. If set to `true`, MongoDB Cloud doesn't use the configured Azure service principal to access the blob store. If set to `false`, the configured Azure service principal must include permissions to access the blob store. + * @default false + */ + public: boolean; + /** + * Azure Regions + * @description Microsoft Azure Regions. + * @enum {string} + */ + region?: + | "US_CENTRAL" + | "US_EAST" + | "US_EAST_2" + | "US_NORTH_CENTRAL" + | "US_WEST" + | "US_SOUTH_CENTRAL" + | "EUROPE_NORTH" + | "EUROPE_WEST" + | "US_WEST_CENTRAL" + | "US_WEST_2" + | "US_WEST_3" + | "CANADA_EAST" + | "CANADA_CENTRAL" + | "BRAZIL_SOUTH" + | "BRAZIL_SOUTHEAST" + | "AUSTRALIA_CENTRAL" + | "AUSTRALIA_CENTRAL_2" + | "AUSTRALIA_EAST" + | "AUSTRALIA_SOUTH_EAST" + | "GERMANY_CENTRAL" + | "GERMANY_NORTH_EAST" + | "GERMANY_WEST_CENTRAL" + | "GERMANY_NORTH" + | "SWEDEN_CENTRAL" + | "SWEDEN_SOUTH" + | "SWITZERLAND_NORTH" + | "SWITZERLAND_WEST" + | "UK_SOUTH" + | "UK_WEST" + | "NORWAY_EAST" + | "NORWAY_WEST" + | "INDIA_CENTRAL" + | "INDIA_SOUTH" + | "INDIA_WEST" + | "CHINA_EAST" + | "CHINA_NORTH" + | "ASIA_EAST" + | "JAPAN_EAST" + | "JAPAN_WEST" + | "ASIA_SOUTH_EAST" + | "KOREA_CENTRAL" + | "KOREA_SOUTH" + | "FRANCE_CENTRAL" + | "FRANCE_SOUTH" + | "SOUTH_AFRICA_NORTH" + | "SOUTH_AFRICA_WEST" + | "UAE_CENTRAL" + | "UAE_NORTH" + | "QATAR_CENTRAL"; + /** @description Replacement Delimiter. */ + replacementDelimiter?: string; + /** @description Service URL. */ + serviceURL?: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + provider: "azure"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + provider: "azure"; + }; + DataLakeDLSAWSStore: Omit & { + /** + * AWS Regions + * @description Physical location where MongoDB Cloud deploys your AWS-hosted MongoDB cluster nodes. The region you choose can affect network latency for clients accessing your databases. When MongoDB Cloud deploys a dedicated cluster, it checks if a VPC or VPC connection exists for that provider and region. If not, MongoDB Cloud creates them as part of the deployment. MongoDB Cloud assigns the VPC a CIDR block. To limit a new VPC peering connection to one CIDR block and region, create the connection first. Deploy the cluster after the connection starts. + * @enum {string} + */ + region?: + | "US_GOV_WEST_1" + | "US_GOV_EAST_1" + | "US_EAST_1" + | "US_EAST_2" + | "US_WEST_1" + | "US_WEST_2" + | "CA_CENTRAL_1" + | "EU_NORTH_1" + | "EU_WEST_1" + | "EU_WEST_2" + | "EU_WEST_3" + | "EU_CENTRAL_1" + | "EU_CENTRAL_2" + | "AP_EAST_1" + | "AP_NORTHEAST_1" + | "AP_NORTHEAST_2" + | "AP_NORTHEAST_3" + | "AP_SOUTHEAST_1" + | "AP_SOUTHEAST_2" + | "AP_SOUTHEAST_3" + | "AP_SOUTHEAST_4" + | "AP_SOUTH_1" + | "AP_SOUTH_2" + | "SA_EAST_1" + | "CN_NORTH_1" + | "CN_NORTHWEST_1" + | "ME_SOUTH_1" + | "ME_CENTRAL_1" + | "AF_SOUTH_1" + | "EU_SOUTH_1" + | "EU_SOUTH_2" + | "IL_CENTRAL_1" + | "CA_WEST_1" + | "GLOBAL"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + provider: "dls:aws"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + provider: "dls:aws"; + }; + DataLakeDLSAzureStore: Omit & { + /** + * Azure Regions + * @description Microsoft Azure Regions. + * @enum {string} + */ + region?: + | "US_CENTRAL" + | "US_EAST" + | "US_EAST_2" + | "US_NORTH_CENTRAL" + | "US_WEST" + | "US_SOUTH_CENTRAL" + | "EUROPE_NORTH" + | "EUROPE_WEST" + | "US_WEST_CENTRAL" + | "US_WEST_2" + | "US_WEST_3" + | "CANADA_EAST" + | "CANADA_CENTRAL" + | "BRAZIL_SOUTH" + | "BRAZIL_SOUTHEAST" + | "AUSTRALIA_CENTRAL" + | "AUSTRALIA_CENTRAL_2" + | "AUSTRALIA_EAST" + | "AUSTRALIA_SOUTH_EAST" + | "GERMANY_CENTRAL" + | "GERMANY_NORTH_EAST" + | "GERMANY_WEST_CENTRAL" + | "GERMANY_NORTH" + | "SWEDEN_CENTRAL" + | "SWEDEN_SOUTH" + | "SWITZERLAND_NORTH" + | "SWITZERLAND_WEST" + | "UK_SOUTH" + | "UK_WEST" + | "NORWAY_EAST" + | "NORWAY_WEST" + | "INDIA_CENTRAL" + | "INDIA_SOUTH" + | "INDIA_WEST" + | "CHINA_EAST" + | "CHINA_NORTH" + | "ASIA_EAST" + | "JAPAN_EAST" + | "JAPAN_WEST" + | "ASIA_SOUTH_EAST" + | "KOREA_CENTRAL" + | "KOREA_SOUTH" + | "FRANCE_CENTRAL" + | "FRANCE_SOUTH" + | "SOUTH_AFRICA_NORTH" + | "SOUTH_AFRICA_WEST" + | "UAE_CENTRAL" + | "UAE_NORTH" + | "QATAR_CENTRAL"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + provider: "dls:azure"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + provider: "dls:azure"; + }; + DataLakeDLSGCPStore: Omit & { + /** + * GCP Regions + * @description Google Cloud Platform Regions. + * @enum {string} + */ + region?: + | "ASIA_EAST_2" + | "ASIA_NORTHEAST_2" + | "ASIA_NORTHEAST_3" + | "ASIA_SOUTH_1" + | "ASIA_SOUTH_2" + | "ASIA_SOUTHEAST_2" + | "AUSTRALIA_SOUTHEAST_1" + | "AUSTRALIA_SOUTHEAST_2" + | "CENTRAL_US" + | "EASTERN_ASIA_PACIFIC" + | "EASTERN_US" + | "EUROPE_CENTRAL_2" + | "EUROPE_NORTH_1" + | "EUROPE_WEST_2" + | "EUROPE_WEST_3" + | "EUROPE_WEST_4" + | "EUROPE_WEST_6" + | "EUROPE_WEST_10" + | "EUROPE_WEST_12" + | "MIDDLE_EAST_CENTRAL_1" + | "MIDDLE_EAST_CENTRAL_2" + | "MIDDLE_EAST_WEST_1" + | "NORTH_AMERICA_NORTHEAST_1" + | "NORTH_AMERICA_NORTHEAST_2" + | "NORTHEASTERN_ASIA_PACIFIC" + | "SOUTH_AMERICA_EAST_1" + | "SOUTH_AMERICA_WEST_1" + | "SOUTHEASTERN_ASIA_PACIFIC" + | "US_EAST_4" + | "US_EAST_5" + | "US_WEST_2" + | "US_WEST_3" + | "US_WEST_4" + | "US_SOUTH_1" + | "WESTERN_EUROPE" + | "WESTERN_US"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + provider: "dls:gcp"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + provider: "dls:gcp"; + }; + DataLakeGoogleCloudStorageStore: Omit & { + /** @description Human-readable label that identifies the Google Cloud Storage bucket. */ + bucket?: string; + /** @description Delimiter. */ + delimiter?: string; + /** @description Prefix. */ + prefix?: string; + /** + * @description Flag that indicates whether the bucket is public. If set to `true`, MongoDB Cloud doesn't use the configured GCP service account to access the bucket. If set to `false`, the configured GCP service acccount must include permissions to access the bucket. + * @default false + */ + public: boolean; + /** + * GCP Regions + * @description Google Cloud Platform Regions. + * @enum {string} + */ + region?: + | "ASIA_EAST_2" + | "ASIA_NORTHEAST_2" + | "ASIA_NORTHEAST_3" + | "ASIA_SOUTH_1" + | "ASIA_SOUTH_2" + | "ASIA_SOUTHEAST_2" + | "AUSTRALIA_SOUTHEAST_1" + | "AUSTRALIA_SOUTHEAST_2" + | "CENTRAL_US" + | "EASTERN_ASIA_PACIFIC" + | "EASTERN_US" + | "EUROPE_CENTRAL_2" + | "EUROPE_NORTH_1" + | "EUROPE_WEST_2" + | "EUROPE_WEST_3" + | "EUROPE_WEST_4" + | "EUROPE_WEST_6" + | "EUROPE_WEST_10" + | "EUROPE_WEST_12" + | "MIDDLE_EAST_CENTRAL_1" + | "MIDDLE_EAST_CENTRAL_2" + | "MIDDLE_EAST_WEST_1" + | "NORTH_AMERICA_NORTHEAST_1" + | "NORTH_AMERICA_NORTHEAST_2" + | "NORTHEASTERN_ASIA_PACIFIC" + | "SOUTH_AMERICA_EAST_1" + | "SOUTH_AMERICA_WEST_1" + | "SOUTHEASTERN_ASIA_PACIFIC" + | "US_EAST_4" + | "US_EAST_5" + | "US_WEST_2" + | "US_WEST_3" + | "US_WEST_4" + | "US_SOUTH_1" + | "WESTERN_EUROPE" + | "WESTERN_US"; + /** @description Replacement Delimiter. */ + replacementDelimiter?: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + provider: "gcs"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + provider: "gcs"; + }; + DataLakeHTTPStore: Omit & { + /** + * @description Flag that validates the scheme in the specified URLs. If `true`, allows insecure `HTTP` scheme, doesn't verify the server's certificate chain and hostname, and accepts any certificate with any hostname presented by the server. If `false`, allows secure `HTTPS` scheme only. + * @default false + */ + allowInsecure: boolean; + /** @description Default format that Data Lake assumes if it encounters a file without an extension while searching the `storeName`. If omitted, Data Lake attempts to detect the file type by processing a few bytes of the file. The specified format only applies to the URLs specified in the **databases.[n].collections.[n].dataSources** object. */ + defaultFormat?: string; + /** @description Comma-separated list of publicly accessible HTTP URLs where data is stored. You can't specify URLs that require authentication. */ + urls?: string[]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + provider: "http"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + provider: "http"; + }; + /** + * Partition Field + * @description Partition Field in the Data Lake Storage provider for a Data Lake Pipeline. + */ + DataLakePipelinesPartitionField: { + /** @description Human-readable label that identifies the field name used to partition data. */ + fieldName: string; + /** + * Format: int32 + * @description Sequence in which MongoDB Cloud slices the collection data to create partitions. The resource expresses this sequence starting with zero. + * @default 0 + */ + order: number; + }; + DataLakeS3StoreSettings: Omit & { + /** @description Collection of AWS S3 [storage classes](https://aws.amazon.com/s3/storage-classes/). Atlas Data Lake includes the files in these storage classes in the query results. */ + additionalStorageClasses?: ("STANDARD" | "INTELLIGENT_TIERING" | "STANDARD_IA")[]; + /** @description Human-readable label that identifies the AWS S3 bucket. This label must exactly match the name of an S3 bucket that the data lake can access with the configured AWS Identity and Access Management (IAM) credentials. */ + bucket?: string; + /** @description The delimiter that separates **databases.[n].collections.[n].dataSources.[n].path** segments in the data store. MongoDB Cloud uses the delimiter to efficiently traverse S3 buckets with a hierarchical directory structure. You can specify any character supported by the S3 object keys as the delimiter. For example, you can specify an underscore (_) or a plus sign (+) or multiple characters, such as double underscores (__) as the delimiter. If omitted, defaults to `/`. */ + delimiter?: string; + /** + * @description Flag that indicates whether to use S3 tags on the files in the given path as additional partition attributes. If set to `true`, data lake adds the S3 tags as additional partition attributes and adds new top-level BSON elements associating each tag to each document. + * @default false + */ + includeTags: boolean; + /** @description Prefix that MongoDB Cloud applies when searching for files in the S3 bucket. The data store prepends the value of prefix to the **databases.[n].collections.[n].dataSources.[n].path** to create the full path for files to ingest. If omitted, MongoDB Cloud searches all files from the root of the S3 bucket. */ + prefix?: string; + /** + * @description Flag that indicates whether the bucket is public. If set to `true`, MongoDB Cloud doesn't use the configured AWS Identity and Access Management (IAM) role to access the S3 bucket. If set to `false`, the configured AWS IAM role must include permissions to access the S3 bucket. + * @default false + */ + public: boolean; + /** + * AWS Regions + * @description Physical location where MongoDB Cloud deploys your AWS-hosted MongoDB cluster nodes. The region you choose can affect network latency for clients accessing your databases. When MongoDB Cloud deploys a dedicated cluster, it checks if a VPC or VPC connection exists for that provider and region. If not, MongoDB Cloud creates them as part of the deployment. MongoDB Cloud assigns the VPC a CIDR block. To limit a new VPC peering connection to one CIDR block and region, create the connection first. Deploy the cluster after the connection starts. + * @enum {string} + */ + region?: + | "US_GOV_WEST_1" + | "US_GOV_EAST_1" + | "US_EAST_1" + | "US_EAST_2" + | "US_WEST_1" + | "US_WEST_2" + | "CA_CENTRAL_1" + | "EU_NORTH_1" + | "EU_WEST_1" + | "EU_WEST_2" + | "EU_WEST_3" + | "EU_CENTRAL_1" + | "EU_CENTRAL_2" + | "AP_EAST_1" + | "AP_NORTHEAST_1" + | "AP_NORTHEAST_2" + | "AP_NORTHEAST_3" + | "AP_SOUTHEAST_1" + | "AP_SOUTHEAST_2" + | "AP_SOUTHEAST_3" + | "AP_SOUTHEAST_4" + | "AP_SOUTH_1" + | "AP_SOUTH_2" + | "SA_EAST_1" + | "CN_NORTH_1" + | "CN_NORTHWEST_1" + | "ME_SOUTH_1" + | "ME_CENTRAL_1" + | "AF_SOUTH_1" + | "EU_SOUTH_1" + | "EU_SOUTH_2" + | "IL_CENTRAL_1" + | "CA_WEST_1" + | "GLOBAL"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + provider: "s3"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + provider: "s3"; + }; + /** @description Group of settings that define where the data is stored. */ + DataLakeStoreSettings: { + /** @description Human-readable label that identifies the data store. The **databases.[n].collections.[n].dataSources.[n].storeName** field references this values as part of the mapping configuration. To use MongoDB Cloud as a data store, the data lake requires a serverless instance or an `M10` or higher cluster. */ + name?: string; + provider: string; + } & ( + | components["schemas"]["DataLakeS3StoreSettings"] + | components["schemas"]["DataLakeDLSAWSStore"] + | components["schemas"]["DataLakeDLSAzureStore"] + | components["schemas"]["DataLakeDLSGCPStore"] + | components["schemas"]["DataLakeAtlasStoreInstance"] + | components["schemas"]["DataLakeHTTPStore"] + | components["schemas"]["DataLakeAzureBlobStore"] + | components["schemas"]["DataLakeGoogleCloudStorageStore"] + ); + /** @description Settings to configure the region where you wish to store your archived data. */ + DataProcessRegionView: { + /** + * @description Human-readable label that identifies the Cloud service provider where you store your archived data. + * @enum {string} + */ + readonly cloudProvider?: "AWS" | "AZURE" | "GCP"; + }; + /** + * Archival Criteria + * @description **DATE criteria.type**. + */ + DateCriteriaView: Omit & { + /** @description Indexed database parameter that stores the date that determines when data moves to the online archive. MongoDB Cloud archives the data when the current date exceeds the date in this database parameter plus the number of days specified through the **expireAfterDays** parameter. Set this parameter when you set `"criteria.type" : "DATE"`. */ + dateField?: string; + /** + * @description Syntax used to write the date after which data moves to the online archive. Date can be expressed as ISO 8601, Epoch timestamps, or ObjectId. The Epoch timestamp can be expressed as nanoseconds, milliseconds, or seconds. Set this parameter when **"criteria.type" : "DATE"**. + * You must set **"criteria.type" : "DATE"** if **"collectionType": "TIMESERIES"**. + * @default ISODATE + * @enum {string} + */ + dateFormat: "ISODATE" | "EPOCH_SECONDS" | "EPOCH_MILLIS" | "EPOCH_NANOSECONDS" | "OBJECT_ID"; + /** + * Format: int32 + * @description Number of days after the value in the **criteria.dateField** when MongoDB Cloud archives data in the specified cluster. Set this parameter when you set **"criteria.type" : "DATE"**. + */ + expireAfterDays?: number; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "DATE"; + }; + /** @description Hardware specifications for read-only nodes in the region. Read-only nodes can never become the primary member, but can enable local reads.If you don't specify this parameter, no read-only nodes are deployed to the region. */ + DedicatedHardwareSpec: { + /** + * Format: int32 + * @description Number of nodes of the given type for MongoDB Cloud to deploy to the region. + */ + nodeCount?: number; + } & ( + | components["schemas"]["AWSHardwareSpec"] + | components["schemas"]["AzureHardwareSpec"] + | components["schemas"]["GCPHardwareSpec"] + ); + /** @description Hardware specifications for read-only nodes in the region. Read-only nodes can never become the primary member, but can enable local reads. If you don't specify this parameter, no read-only nodes are deployed to the region. */ + DedicatedHardwareSpec20240805: { + /** + * Format: double + * @description Storage capacity of instance data volumes expressed in gigabytes. Increase this number to add capacity. + * + * This value must be equal for all shards and node types. + * + * This value is not configurable on M0/M2/M5 clusters. + * + * MongoDB Cloud requires this parameter if you set **replicationSpecs**. + * + * If you specify a disk size below the minimum (10 GB), this parameter defaults to the minimum disk size value. + * + * Storage charge calculations depend on whether you choose the default value or a custom value. + * + * The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require more storage space, consider upgrading your cluster to a higher tier. + */ + diskSizeGB?: number; + /** + * Format: int32 + * @description Number of nodes of the given type for MongoDB Cloud to deploy to the region. + */ + nodeCount?: number; + } & ( + | components["schemas"]["AWSHardwareSpec20240805"] + | components["schemas"]["AzureHardwareSpec20240805"] + | components["schemas"]["GCPHardwareSpec20240805"] + ); + DefaultScheduleView: Omit, "type"> & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "DEFAULT"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "DEFAULT"; + }; + DiskBackupSnapshotAWSExportBucketRequest: Omit< + WithRequired, + "cloudProvider" + > & { + /** + * @description Human-readable label that identifies the AWS S3 Bucket that the role is authorized to export to. + * @example export-bucket + */ + bucketName: string; + /** + * @description Unique 24-hexadecimal character string that identifies the Unified AWS Access role ID that MongoDB Cloud uses to access the AWS S3 bucket. + * @example 32b6e34b3d91647abb20e7b8 + */ + iamRoleId: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + cloudProvider: "AWS"; + }; + DiskBackupSnapshotAWSExportBucketResponse: { + /** + * @description Unique 24-hexadecimal character string that identifies the Export Bucket. + * @example 32b6e34b3d91647abb20e7b8 + */ + _id: string; + /** + * @description The name of the AWS S3 Bucket or Azure Storage Container that Snapshots are exported to. + * @example export-bucket + */ + bucketName: string; + /** + * @description Human-readable label that identifies the cloud provider that Snapshots will be exported to. + * @enum {string} + */ + cloudProvider: "AWS" | "AZURE"; + /** + * @description Unique 24-hexadecimal character string that identifies the Unified AWS Access role ID that MongoDB Cloud uses to access the AWS S3 bucket. + * @example 32b6e34b3d91647abb20e7b8 + */ + iamRoleId: string; + /** @description List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. */ + readonly links?: components["schemas"]["Link"][]; + }; + DiskBackupSnapshotAzureExportBucketRequest: Omit< + WithRequired, + "cloudProvider" + > & { + /** + * @description The name of the Azure Storage Container to export to. This can be omitted and computed from the serviceUrl if the serviceUrl includes a Azure Storage Container name. For example a serviceUrl of "https://examplestorageaccount.blob.core.windows.net/exportcontainer" will yield a computed bucketName of "exportcontainer". If the serviceUrl does not include a Container name, this field is required. + * @example exportcontainer + */ + bucketName?: string; + /** + * @description Unique 24-hexadecimal digit string that identifies the Azure Cloud Provider Access Role that MongoDB Cloud uses to access the Azure Blob Storage Container. + * @example 32b6e34b3d91647abb20e7b8 + */ + roleId: string; + /** + * @description URL of the Azure Storage Account to export to. For example: "https://examplestorageaccount.blob.core.windows.net/exportcontainer". Only standard endpoints (with "blob.core.windows.net") are supported. + * @example https://examplestorageaccount.blob.core.windows.net/exportcontainer + */ + serviceUrl: string; + /** + * Format: uuid + * @deprecated + * @description UUID that identifies the Azure Active Directory Tenant ID. Deprecated: this field is ignored; the tenantId of the Cloud Provider Access role (from roleId) is used. + */ + tenantId?: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + cloudProvider: "AZURE"; + }; + DiskBackupSnapshotAzureExportBucketResponse: Omit< + WithRequired< + components["schemas"]["DiskBackupSnapshotExportBucketResponse"], + "_id" | "bucketName" | "cloudProvider" + >, + "cloudProvider" + > & { + /** + * @description Unique 24-hexadecimal digit string that identifies the Azure Cloud Provider Access Role that MongoDB Cloud uses to access the Azure Blob Storage Container. + * @example 32b6e34b3d91647abb20e7b8 + */ + roleId: string; + /** + * @description URL of the Azure Storage Account to export to. Only standard endpoints (with "blob.core.windows.net") are supported. + * @example https://examplestorageaccount.blob.core.windows.net/exportcontainer + */ + serviceUrl: string; + /** + * Format: uuid + * @description UUID that identifies the Azure Active Directory Tenant ID used during exports. + */ + tenantId: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + cloudProvider: "AZURE"; + }; + /** @description Disk backup snapshot Export Bucket Request. */ + DiskBackupSnapshotExportBucketRequest: { + /** + * @description Human-readable label that identifies the cloud provider that Snapshots are exported to. + * @enum {string} + */ + cloudProvider: "AWS" | "AZURE"; + /** @description List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. */ + readonly links?: components["schemas"]["Link"][]; + }; + /** @description Disk backup snapshot Export Bucket. */ + DiskBackupSnapshotExportBucketResponse: { + /** + * @description Unique 24-hexadecimal character string that identifies the Export Bucket. + * @example 32b6e34b3d91647abb20e7b8 + */ + _id: string; + /** + * @description The name of the AWS S3 Bucket or Azure Storage Container that Snapshots are exported to. + * @example export-bucket + */ + bucketName: string; + /** + * @description Human-readable label that identifies the cloud provider that Snapshots will be exported to. + * @enum {string} + */ + cloudProvider: "AWS" | "AZURE"; + /** @description List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. */ + readonly links?: components["schemas"]["Link"][]; + }; + /** @description Setting that enables disk auto-scaling. */ + DiskGBAutoScaling: { + /** @description Flag that indicates whether this cluster enables disk auto-scaling. The maximum memory allowed for the selected cluster tier and the oplog size can limit storage auto-scaling. */ + enabled?: boolean; + }; + /** @description MongoDB employee granted access level and expiration for a cluster. */ + EmployeeAccessGrantView: { + /** + * Format: date-time + * @description Expiration date for the employee access grant. + */ + expirationTime: string; + /** + * @description Level of access to grant to MongoDB Employees. + * @enum {string} + */ + grantType: + | "CLUSTER_DATABASE_LOGS" + | "CLUSTER_INFRASTRUCTURE" + | "CLUSTER_INFRASTRUCTURE_AND_APP_SERVICES_SYNC_DATA"; + /** @description List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. */ + readonly links?: components["schemas"]["Link"][]; + }; + FieldViolation: { + /** @description A description of why the request element is bad. */ + description: string; + /** @description A path that leads to a field in the request body. */ + field: string; + }; + Fields: Record; + /** + * Tenant + * @description Collection of settings that configures how a cluster might scale its cluster tier and whether the cluster can scale down. + */ + FreeComputeAutoScalingRules: { + /** + * Tenant Instance Sizes + * @description Maximum instance size to which your cluster can automatically scale. + * @enum {string} + */ + maxInstanceSize?: "M0" | "M2" | "M5"; + /** + * Tenant Instance Sizes + * @description Minimum instance size to which your cluster can automatically scale. + * @enum {string} + */ + minInstanceSize?: "M0" | "M2" | "M5"; + }; + /** + * GCP + * @description Collection of settings that configures the network container for a virtual private connection on Amazon Web Services. + */ + GCPCloudProviderContainer: Omit & { + /** @description IP addresses expressed in Classless Inter-Domain Routing (CIDR) notation that MongoDB Cloud uses for the network peering containers in your project. MongoDB Cloud assigns all of the project's clusters deployed to this cloud provider an IP address from this range. MongoDB Cloud locks this value if an M10 or greater cluster or a network peering connection exists in this project. + * + * These CIDR blocks must fall within the ranges reserved per RFC 1918. GCP further limits the block to a lower bound of the `/18` range. + * + * To modify the CIDR block, the target project cannot have: + * + * - Any M10 or greater clusters + * - Any other VPC peering connections + * + * You can also create a new project and create a network peering connection to set the desired MongoDB Cloud network peering container CIDR block for that project. MongoDB Cloud limits the number of MongoDB nodes per network peering connection based on the CIDR block and the region selected for the project. + * + * **Example:** A project in an Google Cloud (GCP) region supporting three availability zones and an MongoDB CIDR network peering container block of limit of `/24` equals 27 three-node replica sets. */ + atlasCidrBlock: string; + /** @description Unique string that identifies the GCP project in which MongoDB Cloud clusters in this network peering container exist. The response returns **null** if no clusters exist in this network peering container. */ + readonly gcpProjectId?: string; + /** @description Human-readable label that identifies the network in which MongoDB Cloud clusters in this network peering container exist. MongoDB Cloud returns **null** if no clusters exist in this network peering container. */ + readonly networkName?: string; + /** @description List of GCP regions to which you want to deploy this MongoDB Cloud network peering container. In this MongoDB Cloud project, you can deploy clusters only to the GCP regions in this list. To deploy MongoDB Cloud clusters to other GCP regions, create additional projects. */ + regions?: ( + | "AFRICA_SOUTH_1" + | "ASIA_EAST_2" + | "ASIA_NORTHEAST_2" + | "ASIA_NORTHEAST_3" + | "ASIA_SOUTH_1" + | "ASIA_SOUTH_2" + | "ASIA_SOUTHEAST_2" + | "AUSTRALIA_SOUTHEAST_1" + | "AUSTRALIA_SOUTHEAST_2" + | "CENTRAL_US" + | "EASTERN_ASIA_PACIFIC" + | "EASTERN_US" + | "EUROPE_CENTRAL_2" + | "EUROPE_NORTH_1" + | "EUROPE_WEST_2" + | "EUROPE_WEST_3" + | "EUROPE_WEST_4" + | "EUROPE_WEST_6" + | "EUROPE_WEST_10" + | "EUROPE_WEST_12" + | "MIDDLE_EAST_CENTRAL_1" + | "MIDDLE_EAST_CENTRAL_2" + | "MIDDLE_EAST_WEST_1" + | "NORTH_AMERICA_NORTHEAST_1" + | "NORTH_AMERICA_NORTHEAST_2" + | "NORTH_AMERICA_SOUTH_1" + | "NORTHEASTERN_ASIA_PACIFIC" + | "SOUTH_AMERICA_EAST_1" + | "SOUTH_AMERICA_WEST_1" + | "SOUTHEASTERN_ASIA_PACIFIC" + | "US_EAST_4" + | "US_EAST_5" + | "US_WEST_2" + | "US_WEST_3" + | "US_WEST_4" + | "US_SOUTH_1" + | "WESTERN_EUROPE" + | "WESTERN_US" + )[]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "GCP"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "GCP"; + }; + /** + * GCP + * @description Collection of settings that configures how a cluster might scale its cluster tier and whether the cluster can scale down. Cluster tier auto-scaling is unavailable for clusters using Low CPU or NVME storage classes. + */ + GCPComputeAutoScaling: { + /** + * GCP Instance Sizes + * @description Maximum instance size to which your cluster can automatically scale. + * @enum {string} + */ + maxInstanceSize?: + | "M10" + | "M20" + | "M30" + | "M40" + | "M50" + | "M60" + | "M80" + | "M140" + | "M200" + | "M250" + | "M300" + | "M400" + | "R40" + | "R50" + | "R60" + | "R80" + | "R200" + | "R300" + | "R400" + | "R600"; + /** + * GCP Instance Sizes + * @description Minimum instance size to which your cluster can automatically scale. + * @enum {string} + */ + minInstanceSize?: + | "M10" + | "M20" + | "M30" + | "M40" + | "M50" + | "M60" + | "M80" + | "M140" + | "M200" + | "M250" + | "M300" + | "M400" + | "R40" + | "R50" + | "R60" + | "R80" + | "R200" + | "R300" + | "R400" + | "R600"; + }; + GCPCreateDataProcessRegionView: Omit & { + /** + * @description Human-readable label that identifies the geographic location of the region where you wish to store your archived data. + * @enum {string} + */ + region?: "CENTRAL_US" | "WESTERN_EUROPE"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + cloudProvider: "GCP"; + }; + GCPDataProcessRegionView: Omit & { + /** + * @description Human-readable label that identifies the geographic location of the region where you store your archived data. + * @enum {string} + */ + readonly region?: "CENTRAL_US" | "WESTERN_EUROPE"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + cloudProvider: "GCP"; + }; + GCPHardwareSpec: { + /** + * GCP Instance Sizes + * @description Hardware specification for the instance sizes in this region. Each instance size has a default storage and memory capacity. The instance size you select applies to all the data-bearing hosts of the node type. + * @enum {string} + */ + instanceSize?: + | "M10" + | "M20" + | "M30" + | "M40" + | "M50" + | "M60" + | "M80" + | "M140" + | "M200" + | "M250" + | "M300" + | "M400" + | "R40" + | "R50" + | "R60" + | "R80" + | "R200" + | "R300" + | "R400" + | "R600"; + /** + * Format: int32 + * @description Number of nodes of the given type for MongoDB Cloud to deploy to the region. + */ + nodeCount?: number; + }; + GCPHardwareSpec20240805: { + /** + * Format: double + * @description Storage capacity of instance data volumes expressed in gigabytes. Increase this number to add capacity. + * + * This value must be equal for all shards and node types. + * + * This value is not configurable on M0/M2/M5 clusters. + * + * MongoDB Cloud requires this parameter if you set **replicationSpecs**. + * + * If you specify a disk size below the minimum (10 GB), this parameter defaults to the minimum disk size value. + * + * Storage charge calculations depend on whether you choose the default value or a custom value. + * + * The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require more storage space, consider upgrading your cluster to a higher tier. + */ + diskSizeGB?: number; + /** + * GCP Instance Sizes + * @description Hardware specification for the instance sizes in this region in this shard. Each instance size has a default storage and memory capacity. Electable nodes and read-only nodes (known as "base nodes") within a single shard must use the same instance size. Analytics nodes can scale independently from base nodes within a shard. Both base nodes and analytics nodes can scale independently from their equivalents in other shards. + * @enum {string} + */ + instanceSize?: + | "M10" + | "M20" + | "M30" + | "M40" + | "M50" + | "M60" + | "M80" + | "M140" + | "M200" + | "M250" + | "M300" + | "M400" + | "R40" + | "R50" + | "R60" + | "R80" + | "R200" + | "R300" + | "R400" + | "R600"; + /** + * Format: int32 + * @description Number of nodes of the given type for MongoDB Cloud to deploy to the region. + */ + nodeCount?: number; + }; + /** + * GCP Regional Replication Specifications + * @description Details that explain how MongoDB Cloud replicates data in one region on the specified MongoDB database. + */ + GCPRegionConfig: Omit & { + analyticsAutoScaling?: components["schemas"]["AdvancedAutoScalingSettings"]; + analyticsSpecs?: components["schemas"]["DedicatedHardwareSpec"]; + autoScaling?: components["schemas"]["AdvancedAutoScalingSettings"]; + readOnlySpecs?: components["schemas"]["DedicatedHardwareSpec"]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "GCP"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "GCP"; + }; + /** + * GCP Regional Replication Specifications + * @description Details that explain how MongoDB Cloud replicates data in one region on the specified MongoDB database. + */ + GCPRegionConfig20240805: Omit & { + analyticsAutoScaling?: components["schemas"]["AdvancedAutoScalingSettings"]; + analyticsSpecs?: components["schemas"]["DedicatedHardwareSpec20240805"]; + autoScaling?: components["schemas"]["AdvancedAutoScalingSettings"]; + readOnlySpecs?: components["schemas"]["DedicatedHardwareSpec20240805"]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "GCP"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "GCP"; + }; + Group: { + /** + * Format: int64 + * @description Quantity of MongoDB Cloud clusters deployed in this project. + */ + readonly clusterCount: number; + /** + * Format: date-time + * @description Date and time when MongoDB Cloud created this project. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly created: string; + /** + * @description Unique 24-hexadecimal digit string that identifies the MongoDB Cloud project. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly id?: string; + /** @description List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. */ + readonly links?: components["schemas"]["Link"][]; + /** @description Human-readable label that identifies the project included in the MongoDB Cloud organization. */ + name: string; + /** + * @description Unique 24-hexadecimal digit string that identifies the MongoDB Cloud organization to which the project belongs. + * @example 32b6e34b3d91647abb20e7b8 + */ + orgId: string; + /** + * @description Applies to Atlas for Government only. + * + * In Commercial Atlas, this field will be rejected in requests and missing in responses. + * + * This field sets restrictions on available regions in the project. + * + * `COMMERCIAL_FEDRAMP_REGIONS_ONLY`: Only allows deployments in FedRAMP Moderate regions. + * + * `GOV_REGIONS_ONLY`: Only allows deployments in GovCloud regions. + * @default COMMERCIAL_FEDRAMP_REGIONS_ONLY + * @enum {string} + */ + regionUsageRestrictions: "COMMERCIAL_FEDRAMP_REGIONS_ONLY" | "GOV_REGIONS_ONLY"; + /** @description List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the project. */ + tags?: components["schemas"]["ResourceTag"][]; + /** + * @description Flag that indicates whether to create the project with default alert settings. + * @default true + */ + withDefaultAlertsSettings: boolean; + }; + GroupActiveUserResponse: Omit< + WithRequired< + components["schemas"]["GroupUserResponse"], + "id" | "orgMembershipStatus" | "roles" | "username" + >, + "orgMembershipStatus" + > & { + /** + * @description Two-character alphabetical string that identifies the MongoDB Cloud user's geographic location. This parameter uses the ISO 3166-1a2 code format. + * @example US + */ + readonly country?: string; + /** + * Format: date-time + * @description Date and time when MongoDB Cloud created the current account. This value is in the ISO 8601 timestamp format in UTC. + */ + readonly createdAt: string; + /** + * @description First or given name that belongs to the MongoDB Cloud user. + * @example John + */ + readonly firstName: string; + /** + * Format: date-time + * @description Date and time when the current account last authenticated. This value is in the ISO 8601 timestamp format in UTC. + */ + readonly lastAuth?: string; + /** + * @description Last name, family name, or surname that belongs to the MongoDB Cloud user. + * @example Doe + */ + readonly lastName: string; + /** @description Mobile phone number that belongs to the MongoDB Cloud user. */ + readonly mobileNumber?: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + orgMembershipStatus: "ACTIVE"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + orgMembershipStatus: "ACTIVE"; + }; + GroupPendingUserResponse: Omit< + WithRequired< + components["schemas"]["GroupUserResponse"], + "id" | "orgMembershipStatus" | "roles" | "username" + >, + "orgMembershipStatus" + > & { + /** + * Format: date-time + * @description Date and time when MongoDB Cloud sent the invitation. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC. + */ + readonly invitationCreatedAt: string; + /** + * Format: date-time + * @description Date and time when the invitation from MongoDB Cloud expires. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC. + */ + readonly invitationExpiresAt: string; + /** + * Format: email + * @description Username of the MongoDB Cloud user who sent the invitation to join the organization. + */ + readonly inviterUsername: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + orgMembershipStatus: "PENDING"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + orgMembershipStatus: "PENDING"; + }; + GroupRoleAssignment: { + /** + * @description Unique 24-hexadecimal digit string that identifies the project to which these roles belong. + * @example 32b6e34b3d91647abb20e7b8 + */ + groupId?: string; + /** @description One or more project-level roles assigned to the MongoDB Cloud user. */ + groupRoles?: ( + | "GROUP_OWNER" + | "GROUP_CLUSTER_MANAGER" + | "GROUP_STREAM_PROCESSING_OWNER" + | "GROUP_DATA_ACCESS_ADMIN" + | "GROUP_DATA_ACCESS_READ_WRITE" + | "GROUP_DATA_ACCESS_READ_ONLY" + | "GROUP_READ_ONLY" + | "GROUP_SEARCH_INDEX_EDITOR" + | "GROUP_BACKUP_MANAGER" + | "GROUP_OBSERVABILITY_VIEWER" + | "GROUP_DATABASE_ACCESS_ADMIN" + )[]; + }; + GroupUserResponse: { + /** + * @description Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly id: string; + /** + * @description String enum that indicates whether the MongoDB Cloud user has a pending invitation to join the organization or they are already active in the organization. + * @enum {string} + */ + readonly orgMembershipStatus: "PENDING" | "ACTIVE"; + /** @description One or more project-level roles assigned to the MongoDB Cloud user. */ + readonly roles: ( + | "GROUP_OWNER" + | "GROUP_CLUSTER_MANAGER" + | "GROUP_STREAM_PROCESSING_OWNER" + | "GROUP_DATA_ACCESS_ADMIN" + | "GROUP_DATA_ACCESS_READ_WRITE" + | "GROUP_DATA_ACCESS_READ_ONLY" + | "GROUP_READ_ONLY" + | "GROUP_SEARCH_INDEX_EDITOR" + | "GROUP_BACKUP_MANAGER" + | "GROUP_OBSERVABILITY_VIEWER" + | "GROUP_DATABASE_ACCESS_ADMIN" + )[]; + /** + * Format: email + * @description Email address that represents the username of the MongoDB Cloud user. + */ + readonly username: string; + } & (components["schemas"]["GroupPendingUserResponse"] | components["schemas"]["GroupActiveUserResponse"]); + /** @description Hardware specifications for all electable nodes deployed in the region. Electable nodes can become the primary and can enable local reads. If you don't specify this option, MongoDB Cloud deploys no electable nodes to the region. */ + HardwareSpec: + | components["schemas"]["AWSHardwareSpec"] + | components["schemas"]["AzureHardwareSpec"] + | components["schemas"]["GCPHardwareSpec"] + | components["schemas"]["TenantHardwareSpec"]; + /** @description Hardware specifications for all electable nodes deployed in the region. Electable nodes can become the primary and can enable local reads. If you don't specify this option, MongoDB Cloud deploys no electable nodes to the region. */ + HardwareSpec20240805: { + /** + * Format: double + * @description Storage capacity of instance data volumes expressed in gigabytes. Increase this number to add capacity. + * + * This value must be equal for all shards and node types. + * + * This value is not configurable on M0/M2/M5 clusters. + * + * MongoDB Cloud requires this parameter if you set **replicationSpecs**. + * + * If you specify a disk size below the minimum (10 GB), this parameter defaults to the minimum disk size value. + * + * Storage charge calculations depend on whether you choose the default value or a custom value. + * + * The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require more storage space, consider upgrading your cluster to a higher tier. + */ + diskSizeGB?: number; + } & ( + | components["schemas"]["AWSHardwareSpec20240805"] + | components["schemas"]["AzureHardwareSpec20240805"] + | components["schemas"]["GCPHardwareSpec20240805"] + | components["schemas"]["TenantHardwareSpec20240805"] + ); + /** + * Ingestion Destination + * @description Ingestion destination of a Data Lake Pipeline. + */ + IngestionSink: { + /** + * @description Type of ingestion destination of this Data Lake Pipeline. + * @enum {string} + */ + readonly type?: "DLS"; + }; + /** + * Ingestion Source + * @description Ingestion Source of a Data Lake Pipeline. + */ + IngestionSource: { + /** + * @description Type of ingestion source of this Data Lake Pipeline. + * @enum {string} + */ + type?: "PERIODIC_CPS" | "ON_DEMAND_CPS"; + }; + /** + * Line Item + * @description One service included in this invoice. + */ + InvoiceLineItem: { + /** @description Human-readable label that identifies the cluster that incurred the charge. */ + readonly clusterName?: string; + /** + * Format: date-time + * @description Date and time when MongoDB Cloud created this line item. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly created?: string; + /** + * Format: int64 + * @description Sum by which MongoDB discounted this line item. MongoDB Cloud expresses this value in cents (100ths of one US Dollar). The resource returns this parameter when a discount applies. + */ + readonly discountCents?: number; + /** + * Format: date-time + * @description Date and time when when MongoDB Cloud finished charging for this line item. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly endDate?: string; + /** + * @description Unique 24-hexadecimal digit string that identifies the project associated to this line item. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly groupId?: string; + /** @description Human-readable label that identifies the project. */ + groupName?: string; + /** @description Comment that applies to this line item. */ + readonly note?: string; + /** + * Format: float + * @description Percentage by which MongoDB discounted this line item. The resource returns this parameter when a discount applies. + */ + readonly percentDiscount?: number; + /** + * Format: double + * @description Number of units included for the line item. These can be expressions of storage (GB), time (hours), or other units. + */ + readonly quantity?: number; + /** + * @description Human-readable description of the service that this line item provided. This Stock Keeping Unit (SKU) could be the instance type, a support charge, advanced security, or another service. + * @enum {string} + */ + readonly sku?: + | "CLASSIC_BACKUP_OPLOG" + | "CLASSIC_BACKUP_STORAGE" + | "CLASSIC_BACKUP_SNAPSHOT_CREATE" + | "CLASSIC_BACKUP_DAILY_MINIMUM" + | "CLASSIC_BACKUP_FREE_TIER" + | "CLASSIC_COUPON" + | "BACKUP_STORAGE_FREE_TIER" + | "BACKUP_STORAGE" + | "FLEX_CONSULTING" + | "CLOUD_MANAGER_CLASSIC" + | "CLOUD_MANAGER_BASIC_FREE_TIER" + | "CLOUD_MANAGER_BASIC" + | "CLOUD_MANAGER_PREMIUM" + | "CLOUD_MANAGER_FREE_TIER" + | "CLOUD_MANAGER_STANDARD_FREE_TIER" + | "CLOUD_MANAGER_STANDARD_ANNUAL" + | "CLOUD_MANAGER_STANDARD" + | "CLOUD_MANAGER_FREE_TRIAL" + | "ATLAS_INSTANCE_M0" + | "ATLAS_INSTANCE_M2" + | "ATLAS_INSTANCE_M5" + | "ATLAS_AWS_INSTANCE_M10" + | "ATLAS_AWS_INSTANCE_M20" + | "ATLAS_AWS_INSTANCE_M30" + | "ATLAS_AWS_INSTANCE_M40" + | "ATLAS_AWS_INSTANCE_M50" + | "ATLAS_AWS_INSTANCE_M60" + | "ATLAS_AWS_INSTANCE_M80" + | "ATLAS_AWS_INSTANCE_M100" + | "ATLAS_AWS_INSTANCE_M140" + | "ATLAS_AWS_INSTANCE_M200" + | "ATLAS_AWS_INSTANCE_M300" + | "ATLAS_AWS_INSTANCE_M40_LOW_CPU" + | "ATLAS_AWS_INSTANCE_M50_LOW_CPU" + | "ATLAS_AWS_INSTANCE_M60_LOW_CPU" + | "ATLAS_AWS_INSTANCE_M80_LOW_CPU" + | "ATLAS_AWS_INSTANCE_M200_LOW_CPU" + | "ATLAS_AWS_INSTANCE_M300_LOW_CPU" + | "ATLAS_AWS_INSTANCE_M400_LOW_CPU" + | "ATLAS_AWS_INSTANCE_M700_LOW_CPU" + | "ATLAS_AWS_INSTANCE_M40_NVME" + | "ATLAS_AWS_INSTANCE_M50_NVME" + | "ATLAS_AWS_INSTANCE_M60_NVME" + | "ATLAS_AWS_INSTANCE_M80_NVME" + | "ATLAS_AWS_INSTANCE_M200_NVME" + | "ATLAS_AWS_INSTANCE_M400_NVME" + | "ATLAS_AWS_INSTANCE_M10_PAUSED" + | "ATLAS_AWS_INSTANCE_M20_PAUSED" + | "ATLAS_AWS_INSTANCE_M30_PAUSED" + | "ATLAS_AWS_INSTANCE_M40_PAUSED" + | "ATLAS_AWS_INSTANCE_M50_PAUSED" + | "ATLAS_AWS_INSTANCE_M60_PAUSED" + | "ATLAS_AWS_INSTANCE_M80_PAUSED" + | "ATLAS_AWS_INSTANCE_M100_PAUSED" + | "ATLAS_AWS_INSTANCE_M140_PAUSED" + | "ATLAS_AWS_INSTANCE_M200_PAUSED" + | "ATLAS_AWS_INSTANCE_M300_PAUSED" + | "ATLAS_AWS_INSTANCE_M40_LOW_CPU_PAUSED" + | "ATLAS_AWS_INSTANCE_M50_LOW_CPU_PAUSED" + | "ATLAS_AWS_INSTANCE_M60_LOW_CPU_PAUSED" + | "ATLAS_AWS_INSTANCE_M80_LOW_CPU_PAUSED" + | "ATLAS_AWS_INSTANCE_M200_LOW_CPU_PAUSED" + | "ATLAS_AWS_INSTANCE_M300_LOW_CPU_PAUSED" + | "ATLAS_AWS_INSTANCE_M400_LOW_CPU_PAUSED" + | "ATLAS_AWS_INSTANCE_M700_LOW_CPU_PAUSED" + | "ATLAS_AWS_SEARCH_INSTANCE_S20_COMPUTE_NVME" + | "ATLAS_AWS_SEARCH_INSTANCE_S30_COMPUTE_NVME" + | "ATLAS_AWS_SEARCH_INSTANCE_S40_COMPUTE_NVME" + | "ATLAS_AWS_SEARCH_INSTANCE_S50_COMPUTE_NVME" + | "ATLAS_AWS_SEARCH_INSTANCE_S60_COMPUTE_NVME" + | "ATLAS_AWS_SEARCH_INSTANCE_S70_COMPUTE_NVME" + | "ATLAS_AWS_SEARCH_INSTANCE_S80_COMPUTE_NVME" + | "ATLAS_AWS_SEARCH_INSTANCE_S30_MEMORY_NVME" + | "ATLAS_AWS_SEARCH_INSTANCE_S40_MEMORY_NVME" + | "ATLAS_AWS_SEARCH_INSTANCE_S50_MEMORY_NVME" + | "ATLAS_AWS_SEARCH_INSTANCE_S60_MEMORY_NVME" + | "ATLAS_AWS_SEARCH_INSTANCE_S80_MEMORY_NVME" + | "ATLAS_AWS_SEARCH_INSTANCE_S90_MEMORY_NVME" + | "ATLAS_AWS_SEARCH_INSTANCE_S100_MEMORY_NVME" + | "ATLAS_AWS_SEARCH_INSTANCE_S110_MEMORY_NVME" + | "ATLAS_AWS_SEARCH_INSTANCE_S40_STORAGE_NVME" + | "ATLAS_AWS_SEARCH_INSTANCE_S50_STORAGE_NVME" + | "ATLAS_AWS_SEARCH_INSTANCE_S60_STORAGE_NVME" + | "ATLAS_AWS_SEARCH_INSTANCE_S80_STORAGE_NVME" + | "ATLAS_AWS_SEARCH_INSTANCE_S90_STORAGE_NVME" + | "ATLAS_AWS_STORAGE_PROVISIONED" + | "ATLAS_AWS_STORAGE_STANDARD" + | "ATLAS_AWS_STORAGE_STANDARD_GP3" + | "ATLAS_AWS_STORAGE_IOPS" + | "ATLAS_AWS_DATA_TRANSFER_SAME_REGION" + | "ATLAS_AWS_DATA_TRANSFER_DIFFERENT_REGION" + | "ATLAS_AWS_DATA_TRANSFER_INTERNET" + | "ATLAS_AWS_BACKUP_SNAPSHOT_STORAGE" + | "ATLAS_AWS_BACKUP_DOWNLOAD_VM" + | "ATLAS_AWS_BACKUP_DOWNLOAD_VM_STORAGE" + | "ATLAS_AWS_BACKUP_DOWNLOAD_VM_STORAGE_IOPS" + | "ATLAS_AWS_PRIVATE_ENDPOINT" + | "ATLAS_AWS_PRIVATE_ENDPOINT_CAPACITY_UNITS" + | "ATLAS_GCP_SEARCH_INSTANCE_S20_COMPUTE_LOCALSSD" + | "ATLAS_GCP_SEARCH_INSTANCE_S30_COMPUTE_LOCALSSD" + | "ATLAS_GCP_SEARCH_INSTANCE_S40_COMPUTE_LOCALSSD" + | "ATLAS_GCP_SEARCH_INSTANCE_S50_COMPUTE_LOCALSSD" + | "ATLAS_GCP_SEARCH_INSTANCE_S60_COMPUTE_LOCALSSD" + | "ATLAS_GCP_SEARCH_INSTANCE_S70_COMPUTE_LOCALSSD" + | "ATLAS_GCP_SEARCH_INSTANCE_S80_COMPUTE_LOCALSSD" + | "ATLAS_GCP_SEARCH_INSTANCE_S30_MEMORY_LOCALSSD" + | "ATLAS_GCP_SEARCH_INSTANCE_S40_MEMORY_LOCALSSD" + | "ATLAS_GCP_SEARCH_INSTANCE_S50_MEMORY_LOCALSSD" + | "ATLAS_GCP_SEARCH_INSTANCE_S60_MEMORY_LOCALSSD" + | "ATLAS_GCP_SEARCH_INSTANCE_S70_MEMORY_LOCALSSD" + | "ATLAS_GCP_SEARCH_INSTANCE_S80_MEMORY_LOCALSSD" + | "ATLAS_GCP_SEARCH_INSTANCE_S90_MEMORY_LOCALSSD" + | "ATLAS_GCP_SEARCH_INSTANCE_S100_MEMORY_LOCALSSD" + | "ATLAS_GCP_SEARCH_INSTANCE_S110_MEMORY_LOCALSSD" + | "ATLAS_GCP_SEARCH_INSTANCE_S120_MEMORY_LOCALSSD" + | "ATLAS_GCP_SEARCH_INSTANCE_S130_MEMORY_LOCALSSD" + | "ATLAS_GCP_SEARCH_INSTANCE_S140_MEMORY_LOCALSSD" + | "ATLAS_GCP_INSTANCE_M10" + | "ATLAS_GCP_INSTANCE_M20" + | "ATLAS_GCP_INSTANCE_M30" + | "ATLAS_GCP_INSTANCE_M40" + | "ATLAS_GCP_INSTANCE_M50" + | "ATLAS_GCP_INSTANCE_M60" + | "ATLAS_GCP_INSTANCE_M80" + | "ATLAS_GCP_INSTANCE_M140" + | "ATLAS_GCP_INSTANCE_M200" + | "ATLAS_GCP_INSTANCE_M250" + | "ATLAS_GCP_INSTANCE_M300" + | "ATLAS_GCP_INSTANCE_M400" + | "ATLAS_GCP_INSTANCE_M40_LOW_CPU" + | "ATLAS_GCP_INSTANCE_M50_LOW_CPU" + | "ATLAS_GCP_INSTANCE_M60_LOW_CPU" + | "ATLAS_GCP_INSTANCE_M80_LOW_CPU" + | "ATLAS_GCP_INSTANCE_M200_LOW_CPU" + | "ATLAS_GCP_INSTANCE_M300_LOW_CPU" + | "ATLAS_GCP_INSTANCE_M400_LOW_CPU" + | "ATLAS_GCP_INSTANCE_M600_LOW_CPU" + | "ATLAS_GCP_INSTANCE_M10_PAUSED" + | "ATLAS_GCP_INSTANCE_M20_PAUSED" + | "ATLAS_GCP_INSTANCE_M30_PAUSED" + | "ATLAS_GCP_INSTANCE_M40_PAUSED" + | "ATLAS_GCP_INSTANCE_M50_PAUSED" + | "ATLAS_GCP_INSTANCE_M60_PAUSED" + | "ATLAS_GCP_INSTANCE_M80_PAUSED" + | "ATLAS_GCP_INSTANCE_M140_PAUSED" + | "ATLAS_GCP_INSTANCE_M200_PAUSED" + | "ATLAS_GCP_INSTANCE_M250_PAUSED" + | "ATLAS_GCP_INSTANCE_M300_PAUSED" + | "ATLAS_GCP_INSTANCE_M400_PAUSED" + | "ATLAS_GCP_INSTANCE_M40_LOW_CPU_PAUSED" + | "ATLAS_GCP_INSTANCE_M50_LOW_CPU_PAUSED" + | "ATLAS_GCP_INSTANCE_M60_LOW_CPU_PAUSED" + | "ATLAS_GCP_INSTANCE_M80_LOW_CPU_PAUSED" + | "ATLAS_GCP_INSTANCE_M200_LOW_CPU_PAUSED" + | "ATLAS_GCP_INSTANCE_M300_LOW_CPU_PAUSED" + | "ATLAS_GCP_INSTANCE_M400_LOW_CPU_PAUSED" + | "ATLAS_GCP_INSTANCE_M600_LOW_CPU_PAUSED" + | "ATLAS_GCP_DATA_TRANSFER_INTERNET" + | "ATLAS_GCP_STORAGE_SSD" + | "ATLAS_GCP_DATA_TRANSFER_INTER_CONNECT" + | "ATLAS_GCP_DATA_TRANSFER_INTER_ZONE" + | "ATLAS_GCP_DATA_TRANSFER_INTER_REGION" + | "ATLAS_GCP_DATA_TRANSFER_GOOGLE" + | "ATLAS_GCP_BACKUP_SNAPSHOT_STORAGE" + | "ATLAS_GCP_BACKUP_DOWNLOAD_VM" + | "ATLAS_GCP_BACKUP_DOWNLOAD_VM_STORAGE" + | "ATLAS_GCP_PRIVATE_ENDPOINT" + | "ATLAS_GCP_PRIVATE_ENDPOINT_CAPACITY_UNITS" + | "ATLAS_GCP_SNAPSHOT_COPY_DATA_TRANSFER" + | "ATLAS_AZURE_INSTANCE_M10" + | "ATLAS_AZURE_INSTANCE_M20" + | "ATLAS_AZURE_INSTANCE_M30" + | "ATLAS_AZURE_INSTANCE_M40" + | "ATLAS_AZURE_INSTANCE_M50" + | "ATLAS_AZURE_INSTANCE_M60" + | "ATLAS_AZURE_INSTANCE_M80" + | "ATLAS_AZURE_INSTANCE_M90" + | "ATLAS_AZURE_INSTANCE_M200" + | "ATLAS_AZURE_INSTANCE_R40" + | "ATLAS_AZURE_INSTANCE_R50" + | "ATLAS_AZURE_INSTANCE_R60" + | "ATLAS_AZURE_INSTANCE_R80" + | "ATLAS_AZURE_INSTANCE_R200" + | "ATLAS_AZURE_INSTANCE_R300" + | "ATLAS_AZURE_INSTANCE_R400" + | "ATLAS_AZURE_INSTANCE_M60_NVME" + | "ATLAS_AZURE_INSTANCE_M80_NVME" + | "ATLAS_AZURE_INSTANCE_M200_NVME" + | "ATLAS_AZURE_INSTANCE_M300_NVME" + | "ATLAS_AZURE_INSTANCE_M400_NVME" + | "ATLAS_AZURE_INSTANCE_M600_NVME" + | "ATLAS_AZURE_INSTANCE_M10_PAUSED" + | "ATLAS_AZURE_INSTANCE_M20_PAUSED" + | "ATLAS_AZURE_INSTANCE_M30_PAUSED" + | "ATLAS_AZURE_INSTANCE_M40_PAUSED" + | "ATLAS_AZURE_INSTANCE_M50_PAUSED" + | "ATLAS_AZURE_INSTANCE_M60_PAUSED" + | "ATLAS_AZURE_INSTANCE_M80_PAUSED" + | "ATLAS_AZURE_INSTANCE_M90_PAUSED" + | "ATLAS_AZURE_INSTANCE_M200_PAUSED" + | "ATLAS_AZURE_INSTANCE_R40_PAUSED" + | "ATLAS_AZURE_INSTANCE_R50_PAUSED" + | "ATLAS_AZURE_INSTANCE_R60_PAUSED" + | "ATLAS_AZURE_INSTANCE_R80_PAUSED" + | "ATLAS_AZURE_INSTANCE_R200_PAUSED" + | "ATLAS_AZURE_INSTANCE_R300_PAUSED" + | "ATLAS_AZURE_INSTANCE_R400_PAUSED" + | "ATLAS_AZURE_SEARCH_INSTANCE_S20_COMPUTE_LOCALSSD" + | "ATLAS_AZURE_SEARCH_INSTANCE_S30_COMPUTE_LOCALSSD" + | "ATLAS_AZURE_SEARCH_INSTANCE_S40_COMPUTE_LOCALSSD" + | "ATLAS_AZURE_SEARCH_INSTANCE_S50_COMPUTE_LOCALSSD" + | "ATLAS_AZURE_SEARCH_INSTANCE_S60_COMPUTE_LOCALSSD" + | "ATLAS_AZURE_SEARCH_INSTANCE_S70_COMPUTE_LOCALSSD" + | "ATLAS_AZURE_SEARCH_INSTANCE_S80_COMPUTE_LOCALSSD" + | "ATLAS_AZURE_SEARCH_INSTANCE_S40_MEMORY_LOCALSSD" + | "ATLAS_AZURE_SEARCH_INSTANCE_S50_MEMORY_LOCALSSD" + | "ATLAS_AZURE_SEARCH_INSTANCE_S60_MEMORY_LOCALSSD" + | "ATLAS_AZURE_SEARCH_INSTANCE_S80_MEMORY_LOCALSSD" + | "ATLAS_AZURE_SEARCH_INSTANCE_S90_MEMORY_LOCALSSD" + | "ATLAS_AZURE_SEARCH_INSTANCE_S100_MEMORY_LOCALSSD" + | "ATLAS_AZURE_SEARCH_INSTANCE_S110_MEMORY_LOCALSSD" + | "ATLAS_AZURE_SEARCH_INSTANCE_S130_MEMORY_LOCALSSD" + | "ATLAS_AZURE_SEARCH_INSTANCE_S135_MEMORY_LOCALSSD" + | "ATLAS_AZURE_STORAGE_P2" + | "ATLAS_AZURE_STORAGE_P3" + | "ATLAS_AZURE_STORAGE_P4" + | "ATLAS_AZURE_STORAGE_P6" + | "ATLAS_AZURE_STORAGE_P10" + | "ATLAS_AZURE_STORAGE_P15" + | "ATLAS_AZURE_STORAGE_P20" + | "ATLAS_AZURE_STORAGE_P30" + | "ATLAS_AZURE_STORAGE_P40" + | "ATLAS_AZURE_STORAGE_P50" + | "ATLAS_AZURE_DATA_TRANSFER" + | "ATLAS_AZURE_DATA_TRANSFER_REGIONAL_VNET_IN" + | "ATLAS_AZURE_DATA_TRANSFER_REGIONAL_VNET_OUT" + | "ATLAS_AZURE_DATA_TRANSFER_GLOBAL_VNET_IN" + | "ATLAS_AZURE_DATA_TRANSFER_GLOBAL_VNET_OUT" + | "ATLAS_AZURE_DATA_TRANSFER_AVAILABILITY_ZONE_IN" + | "ATLAS_AZURE_DATA_TRANSFER_AVAILABILITY_ZONE_OUT" + | "ATLAS_AZURE_DATA_TRANSFER_INTER_REGION_INTRA_CONTINENT" + | "ATLAS_AZURE_DATA_TRANSFER_INTER_REGION_INTER_CONTINENT" + | "ATLAS_AZURE_BACKUP_SNAPSHOT_STORAGE" + | "ATLAS_AZURE_BACKUP_DOWNLOAD_VM" + | "ATLAS_AZURE_BACKUP_DOWNLOAD_VM_STORAGE_P2" + | "ATLAS_AZURE_BACKUP_DOWNLOAD_VM_STORAGE_P3" + | "ATLAS_AZURE_BACKUP_DOWNLOAD_VM_STORAGE_P4" + | "ATLAS_AZURE_BACKUP_DOWNLOAD_VM_STORAGE_P6" + | "ATLAS_AZURE_BACKUP_DOWNLOAD_VM_STORAGE_P10" + | "ATLAS_AZURE_BACKUP_DOWNLOAD_VM_STORAGE_P15" + | "ATLAS_AZURE_BACKUP_DOWNLOAD_VM_STORAGE_P20" + | "ATLAS_AZURE_BACKUP_DOWNLOAD_VM_STORAGE_P30" + | "ATLAS_AZURE_BACKUP_DOWNLOAD_VM_STORAGE_P40" + | "ATLAS_AZURE_BACKUP_DOWNLOAD_VM_STORAGE_P50" + | "ATLAS_AZURE_STANDARD_STORAGE" + | "ATLAS_AZURE_EXTENDED_STANDARD_IOPS" + | "ATLAS_AZURE_BACKUP_DOWNLOAD_VM_STORAGE" + | "ATLAS_AZURE_BACKUP_DOWNLOAD_VM_STORAGE_EXTENDED_IOPS" + | "ATLAS_AZURE_SNAPSHOT_EXPORT_VM_STORAGE" + | "ATLAS_AZURE_SNAPSHOT_EXPORT_VM_STORAGE_EXTENDED_IOPS" + | "ATLAS_BI_CONNECTOR" + | "ATLAS_ADVANCED_SECURITY" + | "ATLAS_ENTERPRISE_AUDITING" + | "ATLAS_FREE_SUPPORT" + | "ATLAS_SUPPORT" + | "ATLAS_NDS_BACKFILL_SUPPORT" + | "STITCH_DATA_DOWNLOADED_FREE_TIER" + | "STITCH_DATA_DOWNLOADED" + | "STITCH_COMPUTE_FREE_TIER" + | "STITCH_COMPUTE" + | "CREDIT" + | "MINIMUM_CHARGE" + | "CHARTS_DATA_DOWNLOADED_FREE_TIER" + | "CHARTS_DATA_DOWNLOADED" + | "ATLAS_DATA_LAKE_AWS_DATA_RETURNED_SAME_REGION" + | "ATLAS_DATA_LAKE_AWS_DATA_RETURNED_DIFFERENT_REGION" + | "ATLAS_DATA_LAKE_AWS_DATA_RETURNED_INTERNET" + | "ATLAS_DATA_LAKE_AWS_DATA_SCANNED" + | "ATLAS_DATA_LAKE_AWS_DATA_TRANSFERRED_FROM_DIFFERENT_REGION" + | "ATLAS_NDS_AWS_DATA_LAKE_STORAGE_ACCESS" + | "ATLAS_NDS_AWS_DATA_LAKE_STORAGE" + | "ATLAS_DATA_FEDERATION_AZURE_DATA_RETURNED_SAME_REGION" + | "ATLAS_DATA_FEDERATION_AZURE_DATA_RETURNED_SAME_CONTINENT" + | "ATLAS_DATA_FEDERATION_AZURE_DATA_RETURNED_DIFFERENT_CONTINENT" + | "ATLAS_DATA_FEDERATION_AZURE_DATA_RETURNED_INTERNET" + | "ATLAS_DATA_FEDERATION_GCP_DATA_RETURNED_SAME_REGION" + | "ATLAS_DATA_FEDERATION_GCP_DATA_RETURNED_DIFFERENT_REGION" + | "ATLAS_DATA_FEDERATION_GCP_DATA_RETURNED_INTERNET" + | "ATLAS_DATA_FEDERATION_AZURE_DATA_SCANNED" + | "ATLAS_NDS_AZURE_DATA_LAKE_STORAGE_ACCESS" + | "ATLAS_NDS_AZURE_DATA_LAKE_STORAGE" + | "ATLAS_DATA_FEDERATION_GCP_DATA_SCANNED" + | "ATLAS_NDS_GCP_DATA_LAKE_STORAGE_ACCESS" + | "ATLAS_NDS_GCP_DATA_LAKE_STORAGE" + | "ATLAS_NDS_AWS_OBJECT_STORAGE_ACCESS" + | "ATLAS_NDS_AWS_COMPRESSED_OBJECT_STORAGE" + | "ATLAS_NDS_AZURE_OBJECT_STORAGE_ACCESS" + | "ATLAS_NDS_AZURE_OBJECT_STORAGE" + | "ATLAS_NDS_AZURE_COMPRESSED_OBJECT_STORAGE" + | "ATLAS_NDS_GCP_OBJECT_STORAGE_ACCESS" + | "ATLAS_NDS_GCP_OBJECT_STORAGE" + | "ATLAS_NDS_GCP_COMPRESSED_OBJECT_STORAGE" + | "ATLAS_ARCHIVE_ACCESS_PARTITION_LOCATE" + | "ATLAS_NDS_AWS_PIT_RESTORE_STORAGE_FREE_TIER" + | "ATLAS_NDS_AWS_PIT_RESTORE_STORAGE" + | "ATLAS_NDS_GCP_PIT_RESTORE_STORAGE_FREE_TIER" + | "ATLAS_NDS_GCP_PIT_RESTORE_STORAGE" + | "ATLAS_NDS_AZURE_PIT_RESTORE_STORAGE_FREE_TIER" + | "ATLAS_NDS_AZURE_PIT_RESTORE_STORAGE" + | "ATLAS_NDS_AZURE_PRIVATE_ENDPOINT_CAPACITY_UNITS" + | "ATLAS_NDS_AZURE_CMK_PRIVATE_NETWORKING" + | "ATLAS_NDS_AWS_CMK_PRIVATE_NETWORKING" + | "ATLAS_NDS_AWS_OBJECT_STORAGE" + | "ATLAS_NDS_AWS_SNAPSHOT_EXPORT_UPLOAD" + | "ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_UPLOAD" + | "ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM" + | "ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_M40" + | "ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_M50" + | "ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_M60" + | "ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_STORAGE_P2" + | "ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_STORAGE_P3" + | "ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_STORAGE_P4" + | "ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_STORAGE_P6" + | "ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_STORAGE_P10" + | "ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_STORAGE_P15" + | "ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_STORAGE_P20" + | "ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_STORAGE_P30" + | "ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_STORAGE_P40" + | "ATLAS_NDS_AZURE_SNAPSHOT_EXPORT_VM_STORAGE_P50" + | "ATLAS_NDS_AWS_SNAPSHOT_EXPORT_VM" + | "ATLAS_NDS_AWS_SNAPSHOT_EXPORT_VM_M40" + | "ATLAS_NDS_AWS_SNAPSHOT_EXPORT_VM_M50" + | "ATLAS_NDS_AWS_SNAPSHOT_EXPORT_VM_M60" + | "ATLAS_NDS_AWS_SNAPSHOT_EXPORT_VM_STORAGE" + | "ATLAS_NDS_AWS_SNAPSHOT_EXPORT_VM_STORAGE_IOPS" + | "ATLAS_NDS_GCP_SNAPSHOT_EXPORT_VM" + | "ATLAS_NDS_GCP_SNAPSHOT_EXPORT_VM_M40" + | "ATLAS_NDS_GCP_SNAPSHOT_EXPORT_VM_M50" + | "ATLAS_NDS_GCP_SNAPSHOT_EXPORT_VM_M60" + | "ATLAS_NDS_GCP_SNAPSHOT_EXPORT_VM_STORAGE" + | "ATLAS_NDS_AWS_SERVERLESS_RPU" + | "ATLAS_NDS_AWS_SERVERLESS_WPU" + | "ATLAS_NDS_AWS_SERVERLESS_STORAGE" + | "ATLAS_NDS_AWS_SERVERLESS_CONTINUOUS_BACKUP" + | "ATLAS_NDS_AWS_SERVERLESS_BACKUP_RESTORE_VM" + | "ATLAS_NDS_AWS_SERVERLESS_DATA_TRANSFER_PREVIEW" + | "ATLAS_NDS_AWS_SERVERLESS_DATA_TRANSFER" + | "ATLAS_NDS_AWS_SERVERLESS_DATA_TRANSFER_REGIONAL" + | "ATLAS_NDS_AWS_SERVERLESS_DATA_TRANSFER_CROSS_REGION" + | "ATLAS_NDS_AWS_SERVERLESS_DATA_TRANSFER_INTERNET" + | "ATLAS_NDS_GCP_SERVERLESS_RPU" + | "ATLAS_NDS_GCP_SERVERLESS_WPU" + | "ATLAS_NDS_GCP_SERVERLESS_STORAGE" + | "ATLAS_NDS_GCP_SERVERLESS_CONTINUOUS_BACKUP" + | "ATLAS_NDS_GCP_SERVERLESS_BACKUP_RESTORE_VM" + | "ATLAS_NDS_GCP_SERVERLESS_DATA_TRANSFER_PREVIEW" + | "ATLAS_NDS_GCP_SERVERLESS_DATA_TRANSFER" + | "ATLAS_NDS_GCP_SERVERLESS_DATA_TRANSFER_REGIONAL" + | "ATLAS_NDS_GCP_SERVERLESS_DATA_TRANSFER_CROSS_REGION" + | "ATLAS_NDS_GCP_SERVERLESS_DATA_TRANSFER_INTERNET" + | "ATLAS_NDS_AZURE_SERVERLESS_RPU" + | "ATLAS_NDS_AZURE_SERVERLESS_WPU" + | "ATLAS_NDS_AZURE_SERVERLESS_STORAGE" + | "ATLAS_NDS_AZURE_SERVERLESS_CONTINUOUS_BACKUP" + | "ATLAS_NDS_AZURE_SERVERLESS_BACKUP_RESTORE_VM" + | "ATLAS_NDS_AZURE_SERVERLESS_DATA_TRANSFER_PREVIEW" + | "ATLAS_NDS_AZURE_SERVERLESS_DATA_TRANSFER" + | "ATLAS_NDS_AZURE_SERVERLESS_DATA_TRANSFER_REGIONAL" + | "ATLAS_NDS_AZURE_SERVERLESS_DATA_TRANSFER_CROSS_REGION" + | "ATLAS_NDS_AZURE_SERVERLESS_DATA_TRANSFER_INTERNET" + | "REALM_APP_REQUESTS_FREE_TIER" + | "REALM_APP_REQUESTS" + | "REALM_APP_COMPUTE_FREE_TIER" + | "REALM_APP_COMPUTE" + | "REALM_APP_SYNC_FREE_TIER" + | "REALM_APP_SYNC" + | "REALM_APP_DATA_TRANSFER_FREE_TIER" + | "REALM_APP_DATA_TRANSFER" + | "GCP_SNAPSHOT_COPY_DISK" + | "ATLAS_AWS_STREAM_PROCESSING_INSTANCE_SP10" + | "ATLAS_AWS_STREAM_PROCESSING_INSTANCE_SP30" + | "ATLAS_AWS_STREAM_PROCESSING_INSTANCE_SP50" + | "ATLAS_AZURE_STREAM_PROCESSING_INSTANCE_SP10" + | "ATLAS_AZURE_STREAM_PROCESSING_INSTANCE_SP30" + | "ATLAS_AZURE_STREAM_PROCESSING_INSTANCE_SP50" + | "ATLAS_AWS_STREAM_PROCESSING_DATA_TRANSFER" + | "ATLAS_AZURE_STREAM_PROCESSING_DATA_TRANSFER" + | "ATLAS_AWS_STREAM_PROCESSING_VPC_PEERING" + | "ATLAS_AZURE_STREAM_PROCESSING_PRIVATELINK" + | "ATLAS_AWS_STREAM_PROCESSING_PRIVATELINK" + | "ATLAS_FLEX_AWS_100_USAGE_HOURS" + | "ATLAS_FLEX_AWS_200_USAGE_HOURS" + | "ATLAS_FLEX_AWS_300_USAGE_HOURS" + | "ATLAS_FLEX_AWS_400_USAGE_HOURS" + | "ATLAS_FLEX_AWS_500_USAGE_HOURS" + | "ATLAS_FLEX_AZURE_100_USAGE_HOURS" + | "ATLAS_FLEX_AZURE_200_USAGE_HOURS" + | "ATLAS_FLEX_AZURE_300_USAGE_HOURS" + | "ATLAS_FLEX_AZURE_400_USAGE_HOURS" + | "ATLAS_FLEX_AZURE_500_USAGE_HOURS" + | "ATLAS_FLEX_GCP_100_USAGE_HOURS" + | "ATLAS_FLEX_GCP_200_USAGE_HOURS" + | "ATLAS_FLEX_GCP_300_USAGE_HOURS" + | "ATLAS_FLEX_GCP_400_USAGE_HOURS" + | "ATLAS_FLEX_GCP_500_USAGE_HOURS"; + /** + * Format: date-time + * @description Date and time when MongoDB Cloud began charging for this line item. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + */ + readonly startDate?: string; + /** @description Human-readable label that identifies the Atlas App Services application associated with this line item. */ + readonly stitchAppName?: string; + /** @description A map of key-value pairs corresponding to the tags associated with the line item resource. */ + readonly tags?: { + [key: string]: string[]; + }; + /** + * Format: double + * @description Lower bound for usage amount range in current SKU tier. + * + * **NOTE**: **lineItems[n].tierLowerBound** appears only if your **lineItems[n].sku** is tiered. + */ + readonly tierLowerBound?: number; + /** + * Format: double + * @description Upper bound for usage amount range in current SKU tier. + * + * **NOTE**: **lineItems[n].tierUpperBound** appears only if your **lineItems[n].sku** is tiered. + */ + readonly tierUpperBound?: number; + /** + * Format: int64 + * @description Sum of the cost set for this line item. MongoDB Cloud expresses this value in cents (100ths of one US Dollar) and calculates this value as **unitPriceDollars** × **quantity** × 100. + */ + readonly totalPriceCents?: number; + /** @description Element used to express what **quantity** this line item measures. This value can be elements of time, storage capacity, and the like. */ + readonly unit?: string; + /** + * Format: double + * @description Value per **unit** for this line item expressed in US Dollars. + */ + readonly unitPriceDollars?: number; + }; + Link: { + /** + * @description Uniform Resource Locator (URL) that points another API resource to which this response has some relationship. This URL often begins with `https://cloud.mongodb.com/api/atlas`. + * @example https://cloud.mongodb.com/api/atlas + */ + href?: string; + /** + * @description Uniform Resource Locator (URL) that defines the semantic relationship between this resource and another API resource. This URL often begins with `https://cloud.mongodb.com/api/atlas`. + * @example self + */ + rel?: string; + }; + MonthlyScheduleView: Omit, "type"> & { + /** + * Format: int32 + * @description Day of the month when the scheduled archive starts. + */ + dayOfMonth?: number; + /** + * Format: int32 + * @description Hour of the day when the scheduled window to run one online archive ends. + */ + endHour?: number; + /** + * Format: int32 + * @description Minute of the hour when the scheduled window to run one online archive ends. + */ + endMinute?: number; + /** + * Format: int32 + * @description Hour of the day when the when the scheduled window to run one online archive starts. + */ + startHour?: number; + /** + * Format: int32 + * @description Minute of the hour when the scheduled window to run one online archive starts. + */ + startMinute?: number; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "MONTHLY"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "MONTHLY"; + }; + /** + * On-Demand Cloud Provider Snapshot Source + * @description On-Demand Cloud Provider Snapshots as Source for a Data Lake Pipeline. + */ + OnDemandCpsSnapshotSource: Omit & { + /** @description Human-readable name that identifies the cluster. */ + clusterName?: string; + /** @description Human-readable name that identifies the collection. */ + collectionName?: string; + /** @description Human-readable name that identifies the database. */ + databaseName?: string; + /** + * @description Unique 24-hexadecimal character string that identifies the project. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly groupId?: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "ON_DEMAND_CPS"; + }; + /** + * Online Archive Schedule + * @description Regular frequency and duration when archiving process occurs. + */ + OnlineArchiveSchedule: { + /** + * @description Type of schedule. + * @enum {string} + */ + type: "DEFAULT" | "DAILY" | "WEEKLY" | "MONTHLY"; + } & ( + | components["schemas"]["DefaultScheduleView"] + | components["schemas"]["DailyScheduleView"] + | components["schemas"]["WeeklyScheduleView"] + | components["schemas"]["MonthlyScheduleView"] + ); + OrgActiveUserResponse: Omit< + WithRequired, + "orgMembershipStatus" + > & { + /** + * @description Two-character alphabetical string that identifies the MongoDB Cloud user's geographic location. This parameter uses the ISO 3166-1a2 code format. + * @example US + */ + readonly country?: string; + /** + * Format: date-time + * @description Date and time when MongoDB Cloud created the current account. This value is in the ISO 8601 timestamp format in UTC. + */ + readonly createdAt: string; + /** + * @description First or given name that belongs to the MongoDB Cloud user. + * @example John + */ + readonly firstName: string; + /** + * Format: date-time + * @description Date and time when the current account last authenticated. This value is in the ISO 8601 timestamp format in UTC. + */ + readonly lastAuth?: string; + /** + * @description Last name, family name, or surname that belongs to the MongoDB Cloud user. + * @example Doe + */ + readonly lastName: string; + /** @description Mobile phone number that belongs to the MongoDB Cloud user. */ + readonly mobileNumber?: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + orgMembershipStatus: "ACTIVE"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + orgMembershipStatus: "ACTIVE"; + }; + OrgGroup: { + /** @description Settings that describe the clusters in each project that the API key is authorized to view. */ + readonly clusters?: components["schemas"]["CloudCluster"][]; + /** @description Unique 24-hexadecimal character string that identifies the project. */ + readonly groupId?: string; + /** @description Human-readable label that identifies the project. */ + groupName?: string; + /** @description Unique 24-hexadecimal character string that identifies the organization that contains the project. */ + readonly orgId?: string; + /** @description Human-readable label that identifies the organization that contains the project. */ + orgName?: string; + /** @description Human-readable label that indicates the plan type. */ + readonly planType?: string; + /** @description List of human-readable labels that categorize the specified project. MongoDB Cloud returns an empty array. */ + readonly tags?: string[]; + }; + OrgPendingUserResponse: Omit< + WithRequired, + "orgMembershipStatus" + > & { + /** + * Format: date-time + * @description Date and time when MongoDB Cloud sent the invitation. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC. + */ + readonly invitationCreatedAt: string; + /** + * Format: date-time + * @description Date and time when the invitation from MongoDB Cloud expires. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC. + */ + readonly invitationExpiresAt: string; + /** + * Format: email + * @description Username of the MongoDB Cloud user who sent the invitation to join the organization. + */ + readonly inviterUsername: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + orgMembershipStatus: "PENDING"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + orgMembershipStatus: "PENDING"; + }; + OrgUserResponse: { + /** + * @description Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly id: string; + /** + * @description String enum that indicates whether the MongoDB Cloud user has a pending invitation to join the organization or they are already active in the organization. + * @enum {string} + */ + readonly orgMembershipStatus: "PENDING" | "ACTIVE"; + roles: components["schemas"]["OrgUserRolesResponse"]; + /** @description List of unique 24-hexadecimal digit strings that identifies the teams to which this MongoDB Cloud user belongs. */ + readonly teamIds?: string[]; + /** + * Format: email + * @description Email address that represents the username of the MongoDB Cloud user. + */ + readonly username: string; + } & (components["schemas"]["OrgPendingUserResponse"] | components["schemas"]["OrgActiveUserResponse"]); + /** @description Organization- and project-level roles assigned to one MongoDB Cloud user within one organization. */ + OrgUserRolesResponse: { + /** @description List of project-level role assignments assigned to the MongoDB Cloud user. */ + groupRoleAssignments?: components["schemas"]["GroupRoleAssignment"][]; + /** @description One or more organization-level roles assigned to the MongoDB Cloud user. */ + orgRoles?: ( + | "ORG_OWNER" + | "ORG_GROUP_CREATOR" + | "ORG_BILLING_ADMIN" + | "ORG_BILLING_READ_ONLY" + | "ORG_READ_ONLY" + | "ORG_MEMBER" + )[]; + }; + PaginatedAtlasGroupView: { + /** @description List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. */ + readonly links?: components["schemas"]["Link"][]; + /** @description List of returned documents that MongoDB Cloud provides when completing this request. */ + readonly results?: components["schemas"]["Group"][]; + /** + * Format: int32 + * @description Total number of documents available. MongoDB Cloud omits this value if `includeCount` is set to `false`. The total number is an estimate and may not be exact. + */ + readonly totalCount?: number; + }; + PaginatedClusterDescription20240805: { + /** @description List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. */ + readonly links?: components["schemas"]["Link"][]; + /** @description List of returned documents that MongoDB Cloud provides when completing this request. */ + readonly results?: components["schemas"]["ClusterDescription20240805"][]; + /** + * Format: int32 + * @description Total number of documents available. MongoDB Cloud omits this value if `includeCount` is set to `false`. The total number is an estimate and may not be exact. + */ + readonly totalCount?: number; + }; + PaginatedOrgGroupView: { + /** @description List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. */ + readonly links?: components["schemas"]["Link"][]; + /** @description List of returned documents that MongoDB Cloud provides when completing this request. */ + readonly results?: components["schemas"]["OrgGroup"][]; + /** + * Format: int32 + * @description Total number of documents available. MongoDB Cloud omits this value if `includeCount` is set to `false`. The total number is an estimate and may not be exact. + */ + readonly totalCount?: number; + }; + /** + * Periodic Cloud Provider Snapshot Source + * @description Scheduled Cloud Provider Snapshot as Source for a Data Lake Pipeline. + */ + PeriodicCpsSnapshotSource: Omit & { + /** @description Human-readable name that identifies the cluster. */ + clusterName?: string; + /** @description Human-readable name that identifies the collection. */ + collectionName?: string; + /** @description Human-readable name that identifies the database. */ + databaseName?: string; + /** + * @description Unique 24-hexadecimal character string that identifies the project. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly groupId?: string; + /** + * @description Unique 24-hexadecimal character string that identifies a policy item. + * @example 32b6e34b3d91647abb20e7b8 + */ + policyItemId?: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "PERIODIC_CPS"; + }; + /** + * Replication Specifications + * @description Details that explain how MongoDB Cloud replicates data on the specified MongoDB database. + */ + ReplicationSpec20240805: { + /** + * @description Unique 24-hexadecimal digit string that identifies the replication object for a shard in a Cluster. If you include existing shard replication configurations in the request, you must specify this parameter. If you add a new shard to an existing Cluster, you may specify this parameter. The request deletes any existing shards in the Cluster that you exclude from the request. This corresponds to Shard ID displayed in the UI. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly id?: string; + /** @description Hardware specifications for nodes set for a given region. Each **regionConfigs** object describes the region's priority in elections and the number and type of MongoDB nodes that MongoDB Cloud deploys to the region. Each **regionConfigs** object must have either an **analyticsSpecs** object, **electableSpecs** object, or **readOnlySpecs** object. Tenant clusters only require **electableSpecs. Dedicated** clusters can specify any of these specifications, but must have at least one **electableSpecs** object within a **replicationSpec**. + * + * **Example:** + * + * If you set `"replicationSpecs[n].regionConfigs[m].analyticsSpecs.instanceSize" : "M30"`, set `"replicationSpecs[n].regionConfigs[m].electableSpecs.instanceSize" : `"M30"` if you have electable nodes and `"replicationSpecs[n].regionConfigs[m].readOnlySpecs.instanceSize" : `"M30"` if you have read-only nodes. */ + regionConfigs?: components["schemas"]["CloudRegionConfig20240805"][]; + /** + * @description Unique 24-hexadecimal digit string that identifies the zone in a Global Cluster. This value can be used to configure Global Cluster backup policies. + * @example 32b6e34b3d91647abb20e7b8 + */ + readonly zoneId?: string; + /** @description Human-readable label that describes the zone this shard belongs to in a Global Cluster. Provide this value only if "clusterType" : "GEOSHARDED" but not "selfManagedSharding" : true. */ + zoneName?: string; + }; + /** + * Resource Tag + * @description Key-value pair that tags and categorizes a MongoDB Cloud organization, project, or cluster. For example, `environment : production`. + */ + ResourceTag: { + /** @description Constant that defines the set of the tag. For example, `environment` in the `environment : production` tag. */ + key: string; + /** @description Variable that belongs to the set of the tag. For example, `production` in the `environment : production` tag. */ + value: string; + }; + /** Search Host Status Detail */ + SearchHostStatusDetail: { + /** @description Hostname that corresponds to the status detail. */ + hostname?: string; + mainIndex?: components["schemas"]["SearchMainIndexStatusDetail"]; + /** @description Flag that indicates whether the index is queryable on the host. */ + queryable?: boolean; + stagedIndex?: components["schemas"]["SearchStagedIndexStatusDetail"]; + /** + * @description Condition of the search index when you made this request. + * + * - `DELETING`: The index is being deleted. + * - `FAILED` The index build failed. Indexes can enter the FAILED state due to an invalid index definition. + * - `STALE`: The index is queryable but has stopped replicating data from the indexed collection. Searches on the index may return out-of-date data. + * - `PENDING`: Atlas has not yet started building the index. + * - `BUILDING`: Atlas is building or re-building the index after an edit. + * - `READY`: The index is ready and can support queries. + * @enum {string} + */ + status?: "DELETING" | "FAILED" | "STALE" | "PENDING" | "BUILDING" | "READY" | "DOES_NOT_EXIST"; + }; + SearchIndex: Omit< + WithRequired, + "type" + > & { + /** + * @description Specific pre-defined method chosen to convert database field text into searchable words. This conversion reduces the text of fields into the smallest units of text. These units are called a **term** or **token**. This process, known as tokenization, involves a variety of changes made to the text in fields: + * + * - extracting words + * - removing punctuation + * - removing accents + * - changing to lowercase + * - removing common words + * - reducing words to their root form (stemming) + * - changing words to their base form (lemmatization) + * MongoDB Cloud uses the selected process to build the Atlas Search index. + * @default lucene.standard + * @enum {string} + */ + analyzer: + | "lucene.standard" + | "lucene.simple" + | "lucene.whitespace" + | "lucene.keyword" + | "lucene.arabic" + | "lucene.armenian" + | "lucene.basque" + | "lucene.bengali" + | "lucene.brazilian" + | "lucene.bulgarian" + | "lucene.catalan" + | "lucene.chinese" + | "lucene.cjk" + | "lucene.czech" + | "lucene.danish" + | "lucene.dutch" + | "lucene.english" + | "lucene.finnish" + | "lucene.french" + | "lucene.galician" + | "lucene.german" + | "lucene.greek" + | "lucene.hindi" + | "lucene.hungarian" + | "lucene.indonesian" + | "lucene.irish" + | "lucene.italian" + | "lucene.japanese" + | "lucene.korean" + | "lucene.kuromoji" + | "lucene.latvian" + | "lucene.lithuanian" + | "lucene.morfologik" + | "lucene.nori" + | "lucene.norwegian" + | "lucene.persian" + | "lucene.portuguese" + | "lucene.romanian" + | "lucene.russian" + | "lucene.smartcn" + | "lucene.sorani" + | "lucene.spanish" + | "lucene.swedish" + | "lucene.thai" + | "lucene.turkish" + | "lucene.ukrainian"; + /** @description List of user-defined methods to convert database field text into searchable words. */ + analyzers?: components["schemas"]["ApiAtlasFTSAnalyzersViewManual"][]; + mappings?: components["schemas"]["ApiAtlasFTSMappingsViewManual"]; + /** + * @description Method applied to identify words when searching this index. + * @default lucene.standard + * @enum {string} + */ + searchAnalyzer: + | "lucene.standard" + | "lucene.simple" + | "lucene.whitespace" + | "lucene.keyword" + | "lucene.arabic" + | "lucene.armenian" + | "lucene.basque" + | "lucene.bengali" + | "lucene.brazilian" + | "lucene.bulgarian" + | "lucene.catalan" + | "lucene.chinese" + | "lucene.cjk" + | "lucene.czech" + | "lucene.danish" + | "lucene.dutch" + | "lucene.english" + | "lucene.finnish" + | "lucene.french" + | "lucene.galician" + | "lucene.german" + | "lucene.greek" + | "lucene.hindi" + | "lucene.hungarian" + | "lucene.indonesian" + | "lucene.irish" + | "lucene.italian" + | "lucene.japanese" + | "lucene.korean" + | "lucene.kuromoji" + | "lucene.latvian" + | "lucene.lithuanian" + | "lucene.morfologik" + | "lucene.nori" + | "lucene.norwegian" + | "lucene.persian" + | "lucene.portuguese" + | "lucene.romanian" + | "lucene.russian" + | "lucene.smartcn" + | "lucene.sorani" + | "lucene.spanish" + | "lucene.swedish" + | "lucene.thai" + | "lucene.turkish" + | "lucene.ukrainian"; + /** + * @description Flag that indicates whether to store all fields (true) on Atlas Search. By default, Atlas doesn't store (false) the fields on Atlas Search. Alternatively, you can specify an object that only contains the list of fields to store (include) or not store (exclude) on Atlas Search. To learn more, see documentation. + * @example { + * "include | exclude": [ + * "field1", + * "field2" + * ] + * } + */ + storedSource?: Record; + /** @description Rule sets that map words to their synonyms in this index. */ + synonyms?: components["schemas"]["SearchSynonymMappingDefinition"][]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "search"; + }; + SearchIndexCreateRequest: { + /** @description Label that identifies the collection to create an Atlas Search index in. */ + collectionName: string; + /** @description Label that identifies the database that contains the collection to create an Atlas Search index in. */ + database: string; + /** @description Label that identifies this index. Within each namespace, names of all indexes in the namespace must be unique. */ + name: string; + /** + * @description Type of the index. The default type is search. + * @enum {string} + */ + type?: "search" | "vectorSearch"; + }; + /** + * Search Index Definition + * @description The search index definition set by the user. + */ + SearchIndexDefinition: { + /** + * Format: int32 + * @description Number of index partitions. Allowed values are [1, 2, 4]. + * @default 1 + */ + numPartitions: number; + }; + /** + * Search Index Definition Version + * @description Object which includes the version number of the index definition and the time that the index definition was created. + */ + SearchIndexDefinitionVersion: { + /** + * Format: date-time + * @description The time at which this index definition was created. + */ + createdAt?: string; + /** + * Format: int64 + * @description The version number associated with this index definition when it was created. + */ + version?: number; + }; + /** Search Index Response */ + SearchIndexResponse: { + /** @description Label that identifies the collection that contains one or more Atlas Search indexes. */ + collectionName?: string; + /** @description Label that identifies the database that contains the collection with one or more Atlas Search indexes. */ + database?: string; + /** + * @description Unique 24-hexadecimal digit string that identifies this Atlas Search index. + * @example 32b6e34b3d91647abb20e7b8 + */ + indexID?: string; + latestDefinition?: components["schemas"]["SearchIndexDefinition"]; + latestDefinitionVersion?: components["schemas"]["SearchIndexDefinitionVersion"]; + /** @description Label that identifies this index. Within each namespace, the names of all indexes must be unique. */ + name?: string; + /** @description Flag that indicates whether the index is queryable on all hosts. */ + queryable?: boolean; + /** + * @description Condition of the search index when you made this request. + * + * - `DELETING`: The index is being deleted. + * - `FAILED` The index build failed. Indexes can enter the FAILED state due to an invalid index definition. + * - `STALE`: The index is queryable but has stopped replicating data from the indexed collection. Searches on the index may return out-of-date data. + * - `PENDING`: Atlas has not yet started building the index. + * - `BUILDING`: Atlas is building or re-building the index after an edit. + * - `READY`: The index is ready and can support queries. + * @enum {string} + */ + status?: "DELETING" | "FAILED" | "STALE" | "PENDING" | "BUILDING" | "READY" | "DOES_NOT_EXIST"; + /** @description List of documents detailing index status on each host. */ + statusDetail?: components["schemas"]["SearchHostStatusDetail"][]; + /** + * @description Type of the index. The default type is search. + * @enum {string} + */ + type?: "search" | "vectorSearch"; + }; + /** + * Search Main Index Status Detail + * @description Contains status information about the active index. + */ + SearchMainIndexStatusDetail: { + definition?: components["schemas"]["SearchIndexDefinition"]; + definitionVersion?: components["schemas"]["SearchIndexDefinitionVersion"]; + /** @description Optional message describing an error. */ + message?: string; + /** @description Flag that indicates whether the index generation is queryable on the host. */ + queryable?: boolean; + /** + * @description Condition of the search index when you made this request. + * + * - `DELETING`: The index is being deleted. + * - `FAILED` The index build failed. Indexes can enter the FAILED state due to an invalid index definition. + * - `STALE`: The index is queryable but has stopped replicating data from the indexed collection. Searches on the index may return out-of-date data. + * - `PENDING`: Atlas has not yet started building the index. + * - `BUILDING`: Atlas is building or re-building the index after an edit. + * - `READY`: The index is ready and can support queries. + * @enum {string} + */ + status?: "DELETING" | "FAILED" | "STALE" | "PENDING" | "BUILDING" | "READY" | "DOES_NOT_EXIST"; + }; + /** + * Mappings + * @description Index specifications for the collection's fields. + */ + SearchMappings: { + /** @description Flag that indicates whether the index uses dynamic or static mappings. Required if **mappings.fields** is omitted. */ + dynamic?: boolean; + /** @description One or more field specifications for the Atlas Search index. Required if **mappings.dynamic** is omitted or set to **false**. */ + fields?: { + [key: string]: components["schemas"]["Fields"]; + }; + }; + /** + * Search Staged Index Status Detail + * @description Contains status information about an index building in the background. + */ + SearchStagedIndexStatusDetail: { + definition?: components["schemas"]["SearchIndexDefinition"]; + definitionVersion?: components["schemas"]["SearchIndexDefinitionVersion"]; + /** @description Optional message describing an error. */ + message?: string; + /** @description Flag that indicates whether the index generation is queryable on the host. */ + queryable?: boolean; + /** + * @description Condition of the search index when you made this request. + * + * - `DELETING`: The index is being deleted. + * - `FAILED` The index build failed. Indexes can enter the FAILED state due to an invalid index definition. + * - `STALE`: The index is queryable but has stopped replicating data from the indexed collection. Searches on the index may return out-of-date data. + * - `PENDING`: Atlas has not yet started building the index. + * - `BUILDING`: Atlas is building or re-building the index after an edit. + * - `READY`: The index is ready and can support queries. + * @enum {string} + */ + status?: "DELETING" | "FAILED" | "STALE" | "PENDING" | "BUILDING" | "READY" | "DOES_NOT_EXIST"; + }; + /** + * Synonym Mapping Definition + * @description Synonyms used for this full text index. + */ + SearchSynonymMappingDefinition: { + /** + * @description Specific pre-defined method chosen to apply to the synonyms to be searched. + * @enum {string} + */ + analyzer: + | "lucene.standard" + | "lucene.simple" + | "lucene.whitespace" + | "lucene.keyword" + | "lucene.arabic" + | "lucene.armenian" + | "lucene.basque" + | "lucene.bengali" + | "lucene.brazilian" + | "lucene.bulgarian" + | "lucene.catalan" + | "lucene.chinese" + | "lucene.cjk" + | "lucene.czech" + | "lucene.danish" + | "lucene.dutch" + | "lucene.english" + | "lucene.finnish" + | "lucene.french" + | "lucene.galician" + | "lucene.german" + | "lucene.greek" + | "lucene.hindi" + | "lucene.hungarian" + | "lucene.indonesian" + | "lucene.irish" + | "lucene.italian" + | "lucene.japanese" + | "lucene.korean" + | "lucene.kuromoji" + | "lucene.latvian" + | "lucene.lithuanian" + | "lucene.morfologik" + | "lucene.nori" + | "lucene.norwegian" + | "lucene.persian" + | "lucene.portuguese" + | "lucene.romanian" + | "lucene.russian" + | "lucene.smartcn" + | "lucene.sorani" + | "lucene.spanish" + | "lucene.swedish" + | "lucene.thai" + | "lucene.turkish" + | "lucene.ukrainian"; + /** @description Label that identifies the synonym definition. Each **synonym.name** must be unique within the same index definition. */ + name: string; + source: components["schemas"]["SynonymSource"]; + }; + /** + * AWS + * @description Updates to a serverless AWS tenant endpoint. + */ + ServerlessAWSTenantEndpointUpdate: Omit< + WithRequired, + "providerName" + > & { + /** @description Unique string that identifies the private endpoint's network interface. */ + cloudProviderEndpointId?: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "AWS"; + }; + /** + * AZURE + * @description Updates to a serverless Azure tenant endpoint. + */ + ServerlessAzureTenantEndpointUpdate: Omit< + WithRequired, + "providerName" + > & { + /** @description Unique string that identifies the Azure private endpoint's network interface for this private endpoint service. */ + cloudProviderEndpointId?: string; + /** @description IPv4 address of the private endpoint in your Azure VNet that someone added to this private endpoint service. */ + privateEndpointIpAddress?: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "AZURE"; + }; + /** @description Update view for a serverless tenant endpoint. */ + ServerlessTenantEndpointUpdate: { + /** @description Human-readable comment associated with the private endpoint. */ + comment?: string; + /** + * @description Human-readable label that identifies the cloud provider of the tenant endpoint. + * @enum {string} + */ + providerName: "AWS" | "AZURE"; + }; + /** @description AWS configurations for AWS-based connection types. */ + StreamsAWSConnectionConfig: { + /** @description List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. */ + readonly links?: components["schemas"]["Link"][]; + /** @description Amazon Resource Name (ARN) that identifies the Amazon Web Services (AWS) Identity and Access Management (IAM) role that MongoDB Cloud assumes when it accesses resources in your AWS account. */ + roleArn?: string; + /** @description The name of an S3 bucket used to check authorization of the passed-in IAM role ARN. */ + testBucket?: string; + }; + /** @description The configuration for AWS Lambda connections. */ + StreamsAWSLambdaConnection: Omit & { + aws?: components["schemas"]["StreamsAWSConnectionConfig"]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "AWSLambda"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "AWSLambda"; + }; + StreamsClusterConnection: Omit & { + /** @description Name of the cluster configured for this connection. */ + clusterName?: string; + dbRoleToExecute?: components["schemas"]["DBRoleToExecute"]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "Cluster"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "Cluster"; + }; + /** @description Settings that define a connection to an external data store. */ + StreamsConnection: { + /** @description List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. */ + readonly links?: components["schemas"]["Link"][]; + /** @description Human-readable label that identifies the stream connection. In the case of the Sample type, this is the name of the sample source. */ + name?: string; + /** + * @description Type of the connection. + * @enum {string} + */ + type?: "Kafka" | "Cluster" | "Sample" | "Https" | "AWSLambda"; + } & ( + | components["schemas"]["StreamsSampleConnection"] + | components["schemas"]["StreamsClusterConnection"] + | components["schemas"]["StreamsKafkaConnection"] + | components["schemas"]["StreamsHttpsConnection"] + | components["schemas"]["StreamsAWSLambdaConnection"] + | components["schemas"]["StreamsS3Connection"] + ); + StreamsHttpsConnection: Omit & { + /** @description A map of key-value pairs that will be passed as headers for the request. */ + headers?: { + [key: string]: string; + }; + /** @description The url to be used for the request. */ + url?: string; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "Https"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "Https"; + }; + /** @description User credentials required to connect to a Kafka Cluster. Includes the authentication type, as well as the parameters for that authentication mode. */ + StreamsKafkaAuthentication: { + /** @description List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. */ + readonly links?: components["schemas"]["Link"][]; + /** @description Style of authentication. Can be one of PLAIN, SCRAM-256, or SCRAM-512. */ + mechanism?: string; + /** + * Format: password + * @description Password of the account to connect to the Kafka cluster. + */ + password?: string; + /** @description SSL certificate for client authentication to Kafka. */ + sslCertificate?: string; + /** @description SSL key for client authentication to Kafka. */ + sslKey?: string; + /** @description Password for the SSL key, if it is password protected. */ + sslKeyPassword?: string; + /** @description Username of the account to connect to the Kafka cluster. */ + username?: string; + }; + StreamsKafkaConnection: Omit & { + authentication?: components["schemas"]["StreamsKafkaAuthentication"]; + /** @description Comma separated list of server addresses. */ + bootstrapServers?: string; + /** + * @description A map of Kafka key-value pairs for optional configuration. This is a flat object, and keys can have '.' characters. + * @example { + * "debug": "queue, msg, protocol", + * "group.protocol.type": "consumer" + * } + */ + config?: { + [key: string]: string; + }; + networking?: components["schemas"]["StreamsKafkaNetworking"]; + security?: components["schemas"]["StreamsKafkaSecurity"]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "Kafka"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "Kafka"; + }; + /** @description Networking Access Type can either be 'PUBLIC' (default) or VPC. VPC type is in public preview, please file a support ticket to enable VPC Network Access. */ + StreamsKafkaNetworking: { + access?: components["schemas"]["StreamsKafkaNetworkingAccess"]; + /** @description List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. */ + readonly links?: components["schemas"]["Link"][]; + }; + /** @description Information about the networking access. */ + StreamsKafkaNetworkingAccess: { + /** + * @description Reserved. Will be used by PRIVATE_LINK connection type. + * @example 32b6e34b3d91647abb20e7b8 + */ + connectionId?: string; + /** @description List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. */ + readonly links?: components["schemas"]["Link"][]; + /** @description Reserved. Will be used by PRIVATE_LINK connection type. */ + name?: string; + /** + * Networking Access Type + * @description Selected networking type. Either PUBLIC, VPC or PRIVATE_LINK. Defaults to PUBLIC. For VPC, ensure that VPC peering exists and connectivity has been established between Atlas VPC and the VPC where Kafka cluster is hosted for the connection to function properly. PRIVATE_LINK support is coming soon. + * @enum {string} + */ + type?: "PUBLIC" | "VPC" | "PRIVATE_LINK"; + }; + /** @description Properties for the secure transport connection to Kafka. For SSL, this can include the trusted certificate to use. */ + StreamsKafkaSecurity: { + /** @description A trusted, public x509 certificate for connecting to Kafka over SSL. */ + brokerPublicCertificate?: string; + /** @description List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. */ + readonly links?: components["schemas"]["Link"][]; + /** @description Describes the transport type. Can be either SASL_PLAINTEXT, SASL_SSL, or SSL. */ + protocol?: string; + }; + /** @description The configuration for S3 connections. */ + StreamsS3Connection: Omit & { + aws?: components["schemas"]["StreamsAWSConnectionConfig"]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "S3"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "S3"; + }; + StreamsSampleConnection: Omit & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "Sample"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "Sample"; + }; + /** + * Synonym Mapping Status Detail + * @description Contains the status of the index's synonym mappings on each search host. This field (and its subfields) only appear if the index has synonyms defined. + */ + SynonymMappingStatusDetail: { + /** @description Optional message describing an error. */ + message?: string; + /** @description Flag that indicates whether the synonym mapping is queryable on a host. */ + queryable?: boolean; + /** + * @description Status that describes this index's synonym mappings. This status appears only if the index has synonyms defined. + * @enum {string} + */ + status?: "FAILED" | "BUILDING" | "READY"; + }; + SynonymMappingStatusDetailMap: { + [key: string]: components["schemas"]["SynonymMappingStatusDetail"]; + }; + /** @description Data set that stores words and their applicable synonyms. */ + SynonymSource: { + /** @description Label that identifies the MongoDB collection that stores words and their applicable synonyms. */ + collection: string; + }; + TenantHardwareSpec: { + /** + * @description The true tenant instance size. This is present to support backwards compatibility for deprecated provider types and/or instance sizes. + * @enum {string} + */ + readonly effectiveInstanceSize?: "FLEX" | "M2" | "M5" | "M0"; + /** + * Tenant Instance Sizes + * @description Hardware specification for the instances in this M0/M2/M5 tier cluster. + * @enum {string} + */ + instanceSize?: "M0" | "M2" | "M5"; + }; + TenantHardwareSpec20240805: { + /** + * Format: double + * @description Storage capacity of instance data volumes expressed in gigabytes. Increase this number to add capacity. + * + * This value must be equal for all shards and node types. + * + * This value is not configurable on M0/M2/M5 clusters. + * + * MongoDB Cloud requires this parameter if you set **replicationSpecs**. + * + * If you specify a disk size below the minimum (10 GB), this parameter defaults to the minimum disk size value. + * + * Storage charge calculations depend on whether you choose the default value or a custom value. + * + * The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require more storage space, consider upgrading your cluster to a higher tier. + */ + diskSizeGB?: number; + /** + * @description The true tenant instance size. This is present to support backwards compatibility for deprecated provider types and/or instance sizes. + * @enum {string} + */ + readonly effectiveInstanceSize?: "FLEX" | "M2" | "M5" | "M0"; + /** + * Tenant Instance Sizes + * @description Hardware specification for the instances in this M0/M2/M5 tier cluster. + * @enum {string} + */ + instanceSize?: "M0" | "M2" | "M5"; + }; + /** + * Tenant Regional Replication Specifications + * @description Details that explain how MongoDB Cloud replicates data in one region on the specified MongoDB database. + */ + TenantRegionConfig: Omit & { + /** + * @description Cloud service provider on which MongoDB Cloud provisioned the multi-tenant cluster. The resource returns this parameter when **providerName** is `TENANT` and **electableSpecs.instanceSize** is `M0`, `M2` or `M5`. + * + * Please note that using an instanceSize of M2 or M5 will create a Flex cluster instead. Support for the instanceSize of M2 or M5 will be discontinued in January 2026. We recommend using the createFlexCluster API for such configurations moving forward. + * @enum {string} + */ + backingProviderName?: "AWS" | "GCP" | "AZURE"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "TENANT"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "TENANT"; + }; + /** + * Tenant Regional Replication Specifications + * @description Details that explain how MongoDB Cloud replicates data in one region on the specified MongoDB database. + */ + TenantRegionConfig20240805: Omit & { + /** + * @description Cloud service provider on which MongoDB Cloud provisioned the multi-tenant cluster. The resource returns this parameter when **providerName** is `TENANT` and **electableSpecs.instanceSize** is `M0`, `M2` or `M5`. + * + * Please note that using an instanceSize of M2 or M5 will create a Flex cluster instead. Support for the instanceSize of M2 or M5 will be discontinued in January 2026. We recommend using the createFlexCluster API for such configurations moving forward. + * @enum {string} + */ + backingProviderName?: "AWS" | "GCP" | "AZURE"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "TENANT"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + providerName: "TENANT"; + }; + /** Text Search Host Status Detail */ + TextSearchHostStatusDetail: { + /** @description Hostname that corresponds to the status detail. */ + hostname?: string; + mainIndex?: components["schemas"]["TextSearchIndexStatusDetail"]; + /** @description Flag that indicates whether the index is queryable on the host. */ + queryable?: boolean; + stagedIndex?: components["schemas"]["TextSearchIndexStatusDetail"]; + /** + * @description Condition of the search index when you made this request. + * + * - `DELETING`: The index is being deleted. + * - `FAILED` The index build failed. Indexes can enter the FAILED state due to an invalid index definition. + * - `STALE`: The index is queryable but has stopped replicating data from the indexed collection. Searches on the index may return out-of-date data. + * - `PENDING`: Atlas has not yet started building the index. + * - `BUILDING`: Atlas is building or re-building the index after an edit. + * - `READY`: The index is ready and can support queries. + * @enum {string} + */ + status?: "DELETING" | "FAILED" | "STALE" | "PENDING" | "BUILDING" | "READY" | "DOES_NOT_EXIST"; + }; + /** @description Text Search Index Create Request */ + TextSearchIndexCreateRequest: Omit< + WithRequired, + "type" + > & { + definition: components["schemas"]["TextSearchIndexDefinition"]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "search"; + }; + /** + * Text Search Index Definition + * @description The text search index definition set by the user. + */ + TextSearchIndexDefinition: { + /** + * @description Specific pre-defined method chosen to convert database field text into searchable words. This conversion reduces the text of fields into the smallest units of text. These units are called a **term** or **token**. This process, known as tokenization, involves making the following changes to the text in fields: + * + * - extracting words + * - removing punctuation + * - removing accents + * - changing to lowercase + * - removing common words + * - reducing words to their root form (stemming) + * - changing words to their base form (lemmatization) + * MongoDB Cloud uses the process you select to build the Atlas Search index. + * @default lucene.standard + * @enum {string} + */ + analyzer: + | "lucene.standard" + | "lucene.simple" + | "lucene.whitespace" + | "lucene.keyword" + | "lucene.arabic" + | "lucene.armenian" + | "lucene.basque" + | "lucene.bengali" + | "lucene.brazilian" + | "lucene.bulgarian" + | "lucene.catalan" + | "lucene.chinese" + | "lucene.cjk" + | "lucene.czech" + | "lucene.danish" + | "lucene.dutch" + | "lucene.english" + | "lucene.finnish" + | "lucene.french" + | "lucene.galician" + | "lucene.german" + | "lucene.greek" + | "lucene.hindi" + | "lucene.hungarian" + | "lucene.indonesian" + | "lucene.irish" + | "lucene.italian" + | "lucene.japanese" + | "lucene.korean" + | "lucene.kuromoji" + | "lucene.latvian" + | "lucene.lithuanian" + | "lucene.morfologik" + | "lucene.nori" + | "lucene.norwegian" + | "lucene.persian" + | "lucene.portuguese" + | "lucene.romanian" + | "lucene.russian" + | "lucene.smartcn" + | "lucene.sorani" + | "lucene.spanish" + | "lucene.swedish" + | "lucene.thai" + | "lucene.turkish" + | "lucene.ukrainian"; + /** @description List of user-defined methods to convert database field text into searchable words. */ + analyzers?: components["schemas"]["AtlasSearchAnalyzer"][]; + mappings: components["schemas"]["SearchMappings"]; + /** + * Format: int32 + * @description Number of index partitions. Allowed values are [1, 2, 4]. + * @default 1 + */ + numPartitions: number; + /** + * @description Method applied to identify words when searching this index. + * @default lucene.standard + * @enum {string} + */ + searchAnalyzer: + | "lucene.standard" + | "lucene.simple" + | "lucene.whitespace" + | "lucene.keyword" + | "lucene.arabic" + | "lucene.armenian" + | "lucene.basque" + | "lucene.bengali" + | "lucene.brazilian" + | "lucene.bulgarian" + | "lucene.catalan" + | "lucene.chinese" + | "lucene.cjk" + | "lucene.czech" + | "lucene.danish" + | "lucene.dutch" + | "lucene.english" + | "lucene.finnish" + | "lucene.french" + | "lucene.galician" + | "lucene.german" + | "lucene.greek" + | "lucene.hindi" + | "lucene.hungarian" + | "lucene.indonesian" + | "lucene.irish" + | "lucene.italian" + | "lucene.japanese" + | "lucene.korean" + | "lucene.kuromoji" + | "lucene.latvian" + | "lucene.lithuanian" + | "lucene.morfologik" + | "lucene.nori" + | "lucene.norwegian" + | "lucene.persian" + | "lucene.portuguese" + | "lucene.romanian" + | "lucene.russian" + | "lucene.smartcn" + | "lucene.sorani" + | "lucene.spanish" + | "lucene.swedish" + | "lucene.thai" + | "lucene.turkish" + | "lucene.ukrainian"; + /** + * @description Flag that indicates whether to store all fields (true) on Atlas Search. By default, Atlas doesn't store (false) the fields on Atlas Search. Alternatively, you can specify an object that only contains the list of fields to store (include) or not store (exclude) on Atlas Search. To learn more, see Stored Source Fields. + * @example { + * "include | exclude": [ + * "field1", + * "field2" + * ] + * } + */ + storedSource?: Record; + /** @description Rule sets that map words to their synonyms in this index. */ + synonyms?: components["schemas"]["SearchSynonymMappingDefinition"][]; + }; + /** Text Search Index Response */ + TextSearchIndexResponse: Omit & { + latestDefinition?: components["schemas"]["TextSearchIndexDefinition"]; + /** @description List of documents detailing index status on each host. */ + statusDetail?: components["schemas"]["TextSearchHostStatusDetail"][]; + /** + * @description Status that describes this index's synonym mappings. This status appears only if the index has synonyms defined. + * @enum {string} + */ + synonymMappingStatus?: "FAILED" | "BUILDING" | "READY"; + /** @description A list of documents describing the status of the index's synonym mappings on each search host. Only appears if the index has synonyms defined. */ + synonymMappingStatusDetail?: { + [key: string]: components["schemas"]["SynonymMappingStatusDetail"]; + }[]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "search"; + }; + /** + * Text Search Index Status Detail + * @description Contains status information about a text search index. + */ + TextSearchIndexStatusDetail: { + definition?: components["schemas"]["TextSearchIndexDefinition"]; + definitionVersion?: components["schemas"]["SearchIndexDefinitionVersion"]; + /** @description Optional message describing an error. */ + message?: string; + /** @description Flag that indicates whether the index generation is queryable on the host. */ + queryable?: boolean; + /** + * @description Condition of the search index when you made this request. + * + * - `DELETING`: The index is being deleted. + * - `FAILED` The index build failed. Indexes can enter the FAILED state due to an invalid index definition. + * - `STALE`: The index is queryable but has stopped replicating data from the indexed collection. Searches on the index may return out-of-date data. + * - `PENDING`: Atlas has not yet started building the index. + * - `BUILDING`: Atlas is building or re-building the index after an edit. + * - `READY`: The index is ready and can support queries. + * @enum {string} + */ + status?: "DELETING" | "FAILED" | "STALE" | "PENDING" | "BUILDING" | "READY" | "DOES_NOT_EXIST"; + /** + * @description Status that describes this index's synonym mappings. This status appears only if the index has synonyms defined. + * @enum {string} + */ + synonymMappingStatus?: "FAILED" | "BUILDING" | "READY"; + /** @description List of synonym statuses by mapping. */ + synonymMappingStatusDetail?: components["schemas"]["SynonymMappingStatusDetailMap"][]; + }; + /** + * englishPossessive + * @description Filter that removes possessives (trailing 's) from words. + */ + TokenFilterEnglishPossessive: { + /** + * @description Human-readable label that identifies this token filter type. + * @enum {string} + */ + type: "englishPossessive"; + }; + /** + * flattenGraph + * @description Filter that transforms a token filter graph, such as the token filter graph that the wordDelimiterGraph token filter produces, into a flat form suitable for indexing. + */ + TokenFilterFlattenGraph: { + /** + * @description Human-readable label that identifies this token filter type. + * @enum {string} + */ + type: "flattenGraph"; + }; + /** + * porterStemming + * @description Filter that uses the porter stemming algorithm to remove the common morphological and inflectional suffixes from words in English. It expects lowercase text and doesn't work as expected for uppercase text. + */ + TokenFilterPorterStemming: { + /** + * @description Human-readable label that identifies this token filter type. + * @enum {string} + */ + type: "porterStemming"; + }; + /** + * spanishPluralStemming + * @description Filter that stems Spanish plural words. It expects lowercase text. + */ + TokenFilterSpanishPluralStemming: { + /** + * @description Human-readable label that identifies this token filter type. + * @enum {string} + */ + type: "spanishPluralStemming"; + }; + /** + * stempel + * @description Filter that uses Lucene's default Polish stemmer table to stem words in the Polish language. It expects lowercase text. + */ + TokenFilterStempel: { + /** + * @description Human-readable label that identifies this token filter type. + * @enum {string} + */ + type: "stempel"; + }; + /** + * wordDelimiterGraph + * @description Filter that splits tokens into sub-tokens based on configured rules. + */ + TokenFilterWordDelimiterGraph: { + /** @description Object that contains the rules that determine how to split words into sub-words. */ + delimiterOptions?: { + /** + * @description Flag that indicates whether to concatenate runs. + * @default false + */ + concatenateAll: boolean; + /** + * @description Flag that indicates whether to concatenate runs of sub-numbers. + * @default false + */ + concatenateNumbers: boolean; + /** + * @description Flag that indicates whether to concatenate runs of sub-words. + * @default false + */ + concatenateWords: boolean; + /** + * @description Flag that indicates whether to split tokens based on sub-numbers. For example, if `true`, this option splits `100-2` into `100` and `2`. + * @default true + */ + generateNumberParts: boolean; + /** + * @description Flag that indicates whether to split tokens based on sub-words. + * @default true + */ + generateWordParts: boolean; + /** + * @description Flag that indicates whether to skip tokens with the `keyword` attribute set to `true`. + * @default false + */ + ignoreKeywords: boolean; + /** + * @description Flag that indicates whether to generate tokens of the original words. + * @default true + */ + preserveOriginal: boolean; + /** + * @description Flag that indicates whether to split tokens based on letter-case transitions. + * @default true + */ + splitOnCaseChange: boolean; + /** + * @description Flag that indicates whether to split tokens based on letter-number transitions. + * @default true + */ + splitOnNumerics: boolean; + /** + * @description Flag that indicates whether to remove trailing possessives from each sub-word. + * @default true + */ + stemEnglishPossessive: boolean; + }; + /** @description Object that contains options for protected words. */ + protectedWords?: { + /** + * @description Flag that indicates whether to ignore letter case sensitivity for protected words. + * @default true + */ + ignoreCase: boolean; + /** @description List that contains the tokens to protect from delimination. */ + words: string[]; + }; + /** + * @description Human-readable label that identifies this token filter type. + * @enum {string} + */ + type: "wordDelimiterGraph"; + }; + /** + * kStemming + * @description Filter that combines algorithmic stemming with a built-in dictionary for the English language to stem words. + */ + TokenFilterkStemming: { + /** + * @description Human-readable label that identifies this token filter type. + * @enum {string} + */ + type: "kStemming"; + }; + /** Vector Search Host Status Detail */ + VectorSearchHostStatusDetail: { + /** @description Hostname that corresponds to the status detail. */ + hostname?: string; + mainIndex?: components["schemas"]["VectorSearchIndexStatusDetail"]; + /** @description Flag that indicates whether the index is queryable on the host. */ + queryable?: boolean; + stagedIndex?: components["schemas"]["VectorSearchIndexStatusDetail"]; + /** + * @description Condition of the search index when you made this request. + * + * - `DELETING`: The index is being deleted. + * - `FAILED` The index build failed. Indexes can enter the FAILED state due to an invalid index definition. + * - `STALE`: The index is queryable but has stopped replicating data from the indexed collection. Searches on the index may return out-of-date data. + * - `PENDING`: Atlas has not yet started building the index. + * - `BUILDING`: Atlas is building or re-building the index after an edit. + * - `READY`: The index is ready and can support queries. + * @enum {string} + */ + status?: "DELETING" | "FAILED" | "STALE" | "PENDING" | "BUILDING" | "READY" | "DOES_NOT_EXIST"; + }; + VectorSearchIndex: Omit< + WithRequired, + "type" + > & { + /** @description Settings that configure the fields, one per object, to index. You must define at least one "vector" type field. You can optionally define "filter" type fields also. */ + fields?: components["schemas"]["BasicDBObject"][]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "vectorSearch"; + }; + /** @description Vector Search Index Create Request */ + VectorSearchIndexCreateRequest: Omit< + WithRequired, + "type" + > & { + definition: components["schemas"]["VectorSearchIndexDefinition"]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "vectorSearch"; + }; + /** + * Vector Search Index Definition + * @description The vector search index definition set by the user. + */ + VectorSearchIndexDefinition: { + /** @description Settings that configure the fields, one per object, to index. You must define at least one "vector" type field. You can optionally define "filter" type fields also. */ + fields?: components["schemas"]["BasicDBObject"][]; + /** + * Format: int32 + * @description Number of index partitions. Allowed values are [1, 2, 4]. + * @default 1 + */ + numPartitions: number; + }; + /** Vector Search Index Response */ + VectorSearchIndexResponse: Omit & { + latestDefinition?: components["schemas"]["VectorSearchIndexDefinition"]; + /** @description List of documents detailing index status on each host. */ + statusDetail?: components["schemas"]["VectorSearchHostStatusDetail"][]; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "vectorSearch"; + }; + /** + * Vector Search Index Status Detail + * @description Contains status information about a vector search index. + */ + VectorSearchIndexStatusDetail: { + definition?: components["schemas"]["VectorSearchIndexDefinition"]; + definitionVersion?: components["schemas"]["SearchIndexDefinitionVersion"]; + /** @description Optional message describing an error. */ + message?: string; + /** @description Flag that indicates whether the index generation is queryable on the host. */ + queryable?: boolean; + /** + * @description Condition of the search index when you made this request. + * + * - `DELETING`: The index is being deleted. + * - `FAILED` The index build failed. Indexes can enter the FAILED state due to an invalid index definition. + * - `STALE`: The index is queryable but has stopped replicating data from the indexed collection. Searches on the index may return out-of-date data. + * - `PENDING`: Atlas has not yet started building the index. + * - `BUILDING`: Atlas is building or re-building the index after an edit. + * - `READY`: The index is ready and can support queries. + * @enum {string} + */ + status?: "DELETING" | "FAILED" | "STALE" | "PENDING" | "BUILDING" | "READY" | "DOES_NOT_EXIST"; + }; + WeeklyScheduleView: Omit, "type"> & { + /** + * Format: int32 + * @description Day of the week when the scheduled archive starts. The week starts with Monday (`1`) and ends with Sunday (`7`). + */ + dayOfWeek?: number; + /** + * Format: int32 + * @description Hour of the day when the scheduled window to run one online archive ends. + */ + endHour?: number; + /** + * Format: int32 + * @description Minute of the hour when the scheduled window to run one online archive ends. + */ + endMinute?: number; + /** + * Format: int32 + * @description Hour of the day when the when the scheduled window to run one online archive starts. + */ + startHour?: number; + /** + * Format: int32 + * @description Minute of the hour when the scheduled window to run one online archive starts. + */ + startMinute?: number; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "WEEKLY"; + } & { + /** + * @description discriminator enum property added by openapi-typescript + * @enum {string} + */ + type: "WEEKLY"; + }; + /** + * htmlStrip + * @description Filter that strips out HTML constructs. + */ + charFilterhtmlStrip: { + /** @description The HTML tags that you want to exclude from filtering. */ + ignoredTags?: string[]; + /** + * @description Human-readable label that identifies this character filter type. + * @enum {string} + */ + type: "htmlStrip"; + }; + /** + * icuNormalize + * @description Filter that processes normalized text with the ICU Normalizer. It is based on Lucene's ICUNormalizer2CharFilter. + */ + charFiltericuNormalize: { + /** + * @description Human-readable label that identifies this character filter type. + * @enum {string} + */ + type: "icuNormalize"; + }; + /** + * mapping + * @description Filter that applies normalization mappings that you specify to characters. + */ + charFiltermapping: { + /** @description Comma-separated list of mappings. A mapping indicates that one character or group of characters should be substituted for another, using the following format: + * + * ` : `. */ + mappings: { + [key: string]: string; + }; + /** + * @description Human-readable label that identifies this character filter type. + * @enum {string} + */ + type: "mapping"; + }; + /** + * persian + * @description Filter that replaces instances of a zero-width non-joiner with an ordinary space. It is based on Lucene's PersianCharFilter. + */ + charFilterpersian: { + /** + * @description Human-readable label that identifies this character filter type. + * @enum {string} + */ + type: "persian"; + }; + /** + * asciiFolding + * @description Filter that converts alphabetic, numeric, and symbolic Unicode characters that are not in the Basic Latin Unicode block to their ASCII equivalents, if available. + */ + tokenFilterasciiFolding: { + /** + * @description Value that indicates whether to include or omit the original tokens in the output of the token filter. + * + * Choose `include` if you want to support queries on both the original tokens as well as the converted forms. + * + * Choose `omit` if you want to query only on the converted forms of the original tokens. + * @default omit + * @enum {string} + */ + originalTokens: "omit" | "include"; + /** + * @description Human-readable label that identifies this token filter type. + * @enum {string} + */ + type: "asciiFolding"; + }; + /** + * daitchMokotoffSoundex + * @description Filter that creates tokens for words that sound the same based on the Daitch-Mokotoff Soundex phonetic algorithm. This filter can generate multiple encodings for each input, where each encoded token is a 6 digit number. + * + * **NOTE**: Don't use the **daitchMokotoffSoundex** token filter in: + * + * -Synonym or autocomplete mapping definitions + * - Operators where **fuzzy** is enabled. Atlas Search supports the **fuzzy** option only for the **autocomplete**, **term**, and **text** operators. + */ + tokenFilterdaitchMokotoffSoundex: { + /** + * @description Value that indicates whether to include or omit the original tokens in the output of the token filter. + * + * Choose `include` if you want to support queries on both the original tokens as well as the converted forms. + * + * Choose `omit` if you want to query only on the converted forms of the original tokens. + * @default include + * @enum {string} + */ + originalTokens: "omit" | "include"; + /** + * @description Human-readable label that identifies this token filter type. + * @enum {string} + */ + type: "daitchMokotoffSoundex"; + }; + /** + * edgeGram + * @description Filter that tokenizes input from the left side, or "edge", of a text input into n-grams of configured sizes. You can't use this token filter in synonym or autocomplete mapping definitions. + */ + tokenFilteredgeGram: { + /** @description Value that specifies the maximum length of generated n-grams. This value must be greater than or equal to **minGram**. */ + maxGram: number; + /** @description Value that specifies the minimum length of generated n-grams. This value must be less than or equal to **maxGram**. */ + minGram: number; + /** + * @description Value that indicates whether to index tokens shorter than **minGram** or longer than **maxGram**. + * @default omit + * @enum {string} + */ + termNotInBounds: "omit" | "include"; + /** + * @description Human-readable label that identifies this token filter type. + * @enum {string} + */ + type: "edgeGram"; + }; + /** + * icuFolding + * @description Filter that applies character folding from Unicode Technical Report #30. + */ + tokenFiltericuFolding: { + /** + * @description Human-readable label that identifies this token filter type. + * @enum {string} + */ + type: "icuFolding"; + }; + /** + * icuNormalizer + * @description Filter that normalizes tokens using a standard Unicode Normalization Mode. + */ + tokenFiltericuNormalizer: { + /** + * @description Normalization form to apply. + * @default nfc + * @enum {string} + */ + normalizationForm: "nfd" | "nfc" | "nfkd" | "nfkc"; + /** + * @description Human-readable label that identifies this token filter type. + * @enum {string} + */ + type: "icuNormalizer"; + }; + /** + * length + * @description Filter that removes tokens that are too short or too long. + */ + tokenFilterlength: { + /** + * @description Number that specifies the maximum length of a token. Value must be greater than or equal to **min**. + * @default 255 + */ + max: number; + /** + * @description Number that specifies the minimum length of a token. This value must be less than or equal to **max**. + * @default 0 + */ + min: number; + /** + * @description Human-readable label that identifies this token filter type. + * @enum {string} + */ + type: "length"; + }; + /** + * lowercase + * @description Filter that normalizes token text to lowercase. + */ + tokenFilterlowercase: { + /** + * @description Human-readable label that identifies this token filter type. + * @enum {string} + */ + type: "lowercase"; + }; + /** + * nGram + * @description Filter that tokenizes input into n-grams of configured sizes. You can't use this token filter in synonym or autocomplete mapping definitions. + */ + tokenFilternGram: { + /** @description Value that specifies the maximum length of generated n-grams. This value must be greater than or equal to **minGram**. */ + maxGram: number; + /** @description Value that specifies the minimum length of generated n-grams. This value must be less than or equal to **maxGram**. */ + minGram: number; + /** + * @description Value that indicates whether to index tokens shorter than **minGram** or longer than **maxGram**. + * @default omit + * @enum {string} + */ + termNotInBounds: "omit" | "include"; + /** + * @description Human-readable label that identifies this token filter type. + * @enum {string} + */ + type: "nGram"; + }; + /** + * regex + * @description Filter that applies a regular expression to each token, replacing matches with a specified string. + */ + tokenFilterregex: { + /** + * @description Value that indicates whether to replace only the first matching pattern or all matching patterns. + * @enum {string} + */ + matches: "all" | "first"; + /** @description Regular expression pattern to apply to each token. */ + pattern: string; + /** @description Replacement string to substitute wherever a matching pattern occurs. */ + replacement: string; + /** + * @description Human-readable label that identifies this token filter type. + * @enum {string} + */ + type: "regex"; + }; + /** + * reverse + * @description Filter that reverses each string token. + */ + tokenFilterreverse: { + /** + * @description Human-readable label that identifies this token filter type. + * @enum {string} + */ + type: "reverse"; + }; + /** + * shingle + * @description Filter that constructs shingles (token n-grams) from a series of tokens. You can't use this token filter in synonym or autocomplete mapping definitions. + */ + tokenFiltershingle: { + /** @description Value that specifies the maximum number of tokens per shingle. This value must be greater than or equal to **minShingleSize**. */ + maxShingleSize: number; + /** @description Value that specifies the minimum number of tokens per shingle. This value must be less than or equal to **maxShingleSize**. */ + minShingleSize: number; + /** + * @description Human-readable label that identifies this token filter type. + * @enum {string} + */ + type: "shingle"; + }; + /** + * snowballStemming + * @description Filter that stems tokens using a Snowball-generated stemmer. + */ + tokenFiltersnowballStemming: { + /** + * @description Snowball-generated stemmer to use. + * @enum {string} + */ + stemmerName: + | "arabic" + | "armenian" + | "basque" + | "catalan" + | "danish" + | "dutch" + | "english" + | "finnish" + | "french" + | "german" + | "german2" + | "hungarian" + | "irish" + | "italian" + | "kp" + | "lithuanian" + | "lovins" + | "norwegian" + | "porter" + | "portuguese" + | "romanian" + | "russian" + | "spanish" + | "swedish" + | "turkish"; + /** + * @description Human-readable label that identifies this token filter type. + * @enum {string} + */ + type: "snowballStemming"; + }; + /** + * stopword + * @description Filter that removes tokens that correspond to the specified stop words. This token filter doesn't analyze the stop words that you specify. + */ + tokenFilterstopword: { + /** + * @description Flag that indicates whether to ignore the case of stop words when filtering the tokens to remove. + * @default true + */ + ignoreCase: boolean; + /** @description The stop words that correspond to the tokens to remove. Value must be one or more stop words. */ + tokens: string[]; + /** + * @description Human-readable label that identifies this token filter type. + * @enum {string} + */ + type: "stopword"; + }; + /** + * trim + * @description Filter that trims leading and trailing whitespace from tokens. + */ + tokenFiltertrim: { + /** + * @description Human-readable label that identifies this token filter type. + * @enum {string} + */ + type: "trim"; + }; + /** + * edgeGram + * @description Tokenizer that splits input from the left side, or "edge", of a text input into n-grams of given sizes. You can't use the edgeGram tokenizer in synonym or autocomplete mapping definitions. + */ + tokenizeredgeGram: { + /** @description Characters to include in the longest token that Atlas Search creates. */ + maxGram: number; + /** @description Characters to include in the shortest token that Atlas Search creates. */ + minGram: number; + /** + * @description Human-readable label that identifies this tokenizer type. (enum property replaced by openapi-typescript) + * @enum {string} + */ + type: "edgeGram"; + }; + /** + * keyword + * @description Tokenizer that combines the entire input as a single token. + */ + tokenizerkeyword: { + /** + * @description Human-readable label that identifies this tokenizer type. (enum property replaced by openapi-typescript) + * @enum {string} + */ + type: "keyword"; + }; + /** + * nGram + * @description Tokenizer that splits input into text chunks, or "n-grams", of into given sizes. You can't use the nGram tokenizer in synonym or autocomplete mapping definitions. + */ + tokenizernGram: { + /** @description Characters to include in the longest token that Atlas Search creates. */ + maxGram: number; + /** @description Characters to include in the shortest token that Atlas Search creates. */ + minGram: number; + /** + * @description Human-readable label that identifies this tokenizer type. (enum property replaced by openapi-typescript) + * @enum {string} + */ + type: "nGram"; + }; + /** + * regexCaptureGroup + * @description Tokenizer that uses a regular expression pattern to extract tokens. + */ + tokenizerregexCaptureGroup: { + /** @description Index of the character group within the matching expression to extract into tokens. Use `0` to extract all character groups. */ + group: number; + /** @description Regular expression to match against. */ + pattern: string; + /** + * @description Human-readable label that identifies this tokenizer type. (enum property replaced by openapi-typescript) + * @enum {string} + */ + type: "regexCaptureGroup"; + }; + /** + * regexSplit + * @description Tokenizer that splits tokens using a regular-expression based delimiter. + */ + tokenizerregexSplit: { + /** @description Regular expression to match against. */ + pattern: string; + /** + * @description Human-readable label that identifies this tokenizer type. (enum property replaced by openapi-typescript) + * @enum {string} + */ + type: "regexSplit"; + }; + /** + * standard + * @description Tokenizer that splits tokens based on word break rules from the Unicode Text Segmentation algorithm. + */ + tokenizerstandard: { + /** + * @description Maximum number of characters in a single token. Tokens greater than this length are split at this length into multiple tokens. + * @default 255 + */ + maxTokenLength: number; + /** + * @description Human-readable label that identifies this tokenizer type. (enum property replaced by openapi-typescript) + * @enum {string} + */ + type: "standard"; + }; + /** + * uaxUrlEmail + * @description Tokenizer that creates tokens from URLs and email addresses. Although this tokenizer uses word break rules from the Unicode Text Segmentation algorithm, we recommend using it only when the indexed field value includes URLs and email addresses. For fields that don't include URLs or email addresses, use the **standard** tokenizer to create tokens based on word break rules. + */ + tokenizeruaxUrlEmail: { + /** + * @description Maximum number of characters in a single token. Tokens greater than this length are split at this length into multiple tokens. + * @default 255 + */ + maxTokenLength: number; + /** + * @description Human-readable label that identifies this tokenizer type. (enum property replaced by openapi-typescript) + * @enum {string} + */ + type: "uaxUrlEmail"; + }; + /** + * whitespace + * @description Tokenizer that creates tokens based on occurrences of whitespace between words. + */ + tokenizerwhitespace: { + /** + * @description Maximum number of characters in a single token. Tokens greater than this length are split at this length into multiple tokens. + * @default 255 + */ + maxTokenLength: number; + /** + * @description Human-readable label that identifies this tokenizer type. (enum property replaced by openapi-typescript) + * @enum {string} + */ + type: "whitespace"; + }; + }; + responses: { + /** @description Bad Request. */ + badRequest: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ApiError"]; + }; + }; + /** @description Conflict. */ + conflict: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ApiError"]; + }; + }; + /** @description Forbidden. */ + forbidden: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ApiError"]; + }; + }; + /** @description Internal Server Error. */ + internalServerError: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ApiError"]; + }; + }; + /** @description Not Found. */ + notFound: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ApiError"]; + }; + }; + /** @description Payment Required. */ + paymentRequired: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ApiError"]; + }; + }; + /** @description Unauthorized. */ + unauthorized: { + headers: { + [name: string]: unknown; + }; + content: { + "application/json": components["schemas"]["ApiError"]; + }; + }; + }; + parameters: { + /** @description Flag that indicates whether Application wraps the response in an `envelope` JSON object. Some API clients cannot access the HTTP response headers or status code. To remediate this, set envelope=true in the query. Endpoints that return a list of results use the results object as an envelope. Application adds the status parameter to the response body. */ + envelope: boolean; + /** @description Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access. + * + * **NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. */ + groupId: string; + /** @description Flag that indicates whether the response returns the total number of items (**totalCount**) in the response. */ + includeCount: boolean; + /** @description Number of items that the response returns per page. */ + itemsPerPage: number; + /** @description Number of the page that displays the current set of the total objects that the response returns. */ + pageNum: number; + /** @description Flag that indicates whether the response body should be in the prettyprint format. */ + pretty: boolean; + }; + requestBodies: never; + headers: never; + pathItems: never; +} +export type AwsCloudProviderContainer = components["schemas"]["AWSCloudProviderContainer"]; +export type AwsCloudProviderSettings = components["schemas"]["AWSCloudProviderSettings"]; +export type AwsComputeAutoScaling = components["schemas"]["AWSComputeAutoScaling"]; +export type AwsCreateDataProcessRegionView = components["schemas"]["AWSCreateDataProcessRegionView"]; +export type AwsDataProcessRegionView = components["schemas"]["AWSDataProcessRegionView"]; +export type AwsHardwareSpec = components["schemas"]["AWSHardwareSpec"]; +export type AwsHardwareSpec20240805 = components["schemas"]["AWSHardwareSpec20240805"]; +export type AwsRegionConfig = components["schemas"]["AWSRegionConfig"]; +export type AwsRegionConfig20240805 = components["schemas"]["AWSRegionConfig20240805"]; +export type AdvancedAutoScalingSettings = components["schemas"]["AdvancedAutoScalingSettings"]; +export type AdvancedComputeAutoScaling = components["schemas"]["AdvancedComputeAutoScaling"]; +export type ApiAtlasCloudProviderAccessFeatureUsageFeatureIdView = + components["schemas"]["ApiAtlasCloudProviderAccessFeatureUsageFeatureIdView"]; +export type ApiAtlasClusterAdvancedConfigurationView = + components["schemas"]["ApiAtlasClusterAdvancedConfigurationView"]; +export type ApiAtlasFtsAnalyzersViewManual = components["schemas"]["ApiAtlasFTSAnalyzersViewManual"]; +export type ApiAtlasFtsMappingsViewManual = components["schemas"]["ApiAtlasFTSMappingsViewManual"]; +export type ApiError = components["schemas"]["ApiError"]; +export type AtlasSearchAnalyzer = components["schemas"]["AtlasSearchAnalyzer"]; +export type AzureCloudProviderContainer = components["schemas"]["AzureCloudProviderContainer"]; +export type AzureCloudProviderSettings = components["schemas"]["AzureCloudProviderSettings"]; +export type AzureComputeAutoScalingRules = components["schemas"]["AzureComputeAutoScalingRules"]; +export type AzureCreateDataProcessRegionView = components["schemas"]["AzureCreateDataProcessRegionView"]; +export type AzureDataProcessRegionView = components["schemas"]["AzureDataProcessRegionView"]; +export type AzureHardwareSpec = components["schemas"]["AzureHardwareSpec"]; +export type AzureHardwareSpec20240805 = components["schemas"]["AzureHardwareSpec20240805"]; +export type AzureRegionConfig = components["schemas"]["AzureRegionConfig"]; +export type AzureRegionConfig20240805 = components["schemas"]["AzureRegionConfig20240805"]; +export type BadRequestDetail = components["schemas"]["BadRequestDetail"]; +export type BaseCloudProviderInstanceSize = components["schemas"]["BaseCloudProviderInstanceSize"]; +export type BasicDbObject = components["schemas"]["BasicDBObject"]; +export type BiConnector = components["schemas"]["BiConnector"]; +export type BillingInvoice = components["schemas"]["BillingInvoice"]; +export type BillingInvoiceMetadata = components["schemas"]["BillingInvoiceMetadata"]; +export type BillingPayment = components["schemas"]["BillingPayment"]; +export type BillingRefund = components["schemas"]["BillingRefund"]; +export type CloudCluster = components["schemas"]["CloudCluster"]; +export type CloudGcpProviderSettings = components["schemas"]["CloudGCPProviderSettings"]; +export type CloudProviderAwsAutoScaling = components["schemas"]["CloudProviderAWSAutoScaling"]; +export type CloudProviderAccessAwsiamRole = components["schemas"]["CloudProviderAccessAWSIAMRole"]; +export type CloudProviderAccessAwsiamRoleRequestUpdate = + components["schemas"]["CloudProviderAccessAWSIAMRoleRequestUpdate"]; +export type CloudProviderAccessAzureServicePrincipal = + components["schemas"]["CloudProviderAccessAzureServicePrincipal"]; +export type CloudProviderAccessAzureServicePrincipalRequestUpdate = + components["schemas"]["CloudProviderAccessAzureServicePrincipalRequestUpdate"]; +export type CloudProviderAccessDataLakeFeatureUsage = components["schemas"]["CloudProviderAccessDataLakeFeatureUsage"]; +export type CloudProviderAccessEncryptionAtRestFeatureUsage = + components["schemas"]["CloudProviderAccessEncryptionAtRestFeatureUsage"]; +export type CloudProviderAccessExportSnapshotFeatureUsage = + components["schemas"]["CloudProviderAccessExportSnapshotFeatureUsage"]; +export type CloudProviderAccessFeatureUsage = components["schemas"]["CloudProviderAccessFeatureUsage"]; +export type CloudProviderAccessFeatureUsageDataLakeFeatureId = + components["schemas"]["CloudProviderAccessFeatureUsageDataLakeFeatureId"]; +export type CloudProviderAccessFeatureUsageExportSnapshotFeatureId = + components["schemas"]["CloudProviderAccessFeatureUsageExportSnapshotFeatureId"]; +export type CloudProviderAccessFeatureUsagePushBasedLogExportFeatureId = + components["schemas"]["CloudProviderAccessFeatureUsagePushBasedLogExportFeatureId"]; +export type CloudProviderAccessGcpServiceAccount = components["schemas"]["CloudProviderAccessGCPServiceAccount"]; +export type CloudProviderAccessGcpServiceAccountRequestUpdate = + components["schemas"]["CloudProviderAccessGCPServiceAccountRequestUpdate"]; +export type CloudProviderAccessPushBasedLogExportFeatureUsage = + components["schemas"]["CloudProviderAccessPushBasedLogExportFeatureUsage"]; +export type CloudProviderAccessRole = components["schemas"]["CloudProviderAccessRole"]; +export type CloudProviderAccessRoleRequestUpdate = components["schemas"]["CloudProviderAccessRoleRequestUpdate"]; +export type CloudProviderAzureAutoScaling = components["schemas"]["CloudProviderAzureAutoScaling"]; +export type CloudProviderContainer = components["schemas"]["CloudProviderContainer"]; +export type CloudProviderGcpAutoScaling = components["schemas"]["CloudProviderGCPAutoScaling"]; +export type CloudRegionConfig = components["schemas"]["CloudRegionConfig"]; +export type CloudRegionConfig20240805 = components["schemas"]["CloudRegionConfig20240805"]; +export type ClusterConnectionStrings = components["schemas"]["ClusterConnectionStrings"]; +export type ClusterDescription20240805 = components["schemas"]["ClusterDescription20240805"]; +export type ClusterDescriptionConnectionStringsPrivateEndpoint = + components["schemas"]["ClusterDescriptionConnectionStringsPrivateEndpoint"]; +export type ClusterDescriptionConnectionStringsPrivateEndpointEndpoint = + components["schemas"]["ClusterDescriptionConnectionStringsPrivateEndpointEndpoint"]; +export type ClusterFlexProviderSettings = components["schemas"]["ClusterFlexProviderSettings"]; +export type ClusterFreeAutoScaling = components["schemas"]["ClusterFreeAutoScaling"]; +export type ClusterFreeProviderSettings = components["schemas"]["ClusterFreeProviderSettings"]; +export type ClusterProviderSettings = components["schemas"]["ClusterProviderSettings"]; +export type ClusterSearchIndex = components["schemas"]["ClusterSearchIndex"]; +export type ComponentLabel = components["schemas"]["ComponentLabel"]; +export type CreateAwsEndpointRequest = components["schemas"]["CreateAWSEndpointRequest"]; +export type CreateAzureEndpointRequest = components["schemas"]["CreateAzureEndpointRequest"]; +export type CreateDataProcessRegionView = components["schemas"]["CreateDataProcessRegionView"]; +export type CreateEndpointRequest = components["schemas"]["CreateEndpointRequest"]; +export type CreateGcpEndpointGroupRequest = components["schemas"]["CreateGCPEndpointGroupRequest"]; +export type CreateGcpForwardingRuleRequest = components["schemas"]["CreateGCPForwardingRuleRequest"]; +export type CriteriaView = components["schemas"]["CriteriaView"]; +export type CustomCriteriaView = components["schemas"]["CustomCriteriaView"]; +export type DbRoleToExecute = components["schemas"]["DBRoleToExecute"]; +export type DlsIngestionSink = components["schemas"]["DLSIngestionSink"]; +export type DailyScheduleView = components["schemas"]["DailyScheduleView"]; +export type DataLakeAtlasStoreInstance = components["schemas"]["DataLakeAtlasStoreInstance"]; +export type DataLakeAtlasStoreReadConcern = components["schemas"]["DataLakeAtlasStoreReadConcern"]; +export type DataLakeAtlasStoreReadPreference = components["schemas"]["DataLakeAtlasStoreReadPreference"]; +export type DataLakeAtlasStoreReadPreferenceTag = components["schemas"]["DataLakeAtlasStoreReadPreferenceTag"]; +export type DataLakeAzureBlobStore = components["schemas"]["DataLakeAzureBlobStore"]; +export type DataLakeDlsawsStore = components["schemas"]["DataLakeDLSAWSStore"]; +export type DataLakeDlsAzureStore = components["schemas"]["DataLakeDLSAzureStore"]; +export type DataLakeDlsgcpStore = components["schemas"]["DataLakeDLSGCPStore"]; +export type DataLakeGoogleCloudStorageStore = components["schemas"]["DataLakeGoogleCloudStorageStore"]; +export type DataLakeHttpStore = components["schemas"]["DataLakeHTTPStore"]; +export type DataLakePipelinesPartitionField = components["schemas"]["DataLakePipelinesPartitionField"]; +export type DataLakeS3StoreSettings = components["schemas"]["DataLakeS3StoreSettings"]; +export type DataLakeStoreSettings = components["schemas"]["DataLakeStoreSettings"]; +export type DataProcessRegionView = components["schemas"]["DataProcessRegionView"]; +export type DateCriteriaView = components["schemas"]["DateCriteriaView"]; +export type DedicatedHardwareSpec = components["schemas"]["DedicatedHardwareSpec"]; +export type DedicatedHardwareSpec20240805 = components["schemas"]["DedicatedHardwareSpec20240805"]; +export type DefaultScheduleView = components["schemas"]["DefaultScheduleView"]; +export type DiskBackupSnapshotAwsExportBucketRequest = + components["schemas"]["DiskBackupSnapshotAWSExportBucketRequest"]; +export type DiskBackupSnapshotAwsExportBucketResponse = + components["schemas"]["DiskBackupSnapshotAWSExportBucketResponse"]; +export type DiskBackupSnapshotAzureExportBucketRequest = + components["schemas"]["DiskBackupSnapshotAzureExportBucketRequest"]; +export type DiskBackupSnapshotAzureExportBucketResponse = + components["schemas"]["DiskBackupSnapshotAzureExportBucketResponse"]; +export type DiskBackupSnapshotExportBucketRequest = components["schemas"]["DiskBackupSnapshotExportBucketRequest"]; +export type DiskBackupSnapshotExportBucketResponse = components["schemas"]["DiskBackupSnapshotExportBucketResponse"]; +export type DiskGbAutoScaling = components["schemas"]["DiskGBAutoScaling"]; +export type EmployeeAccessGrantView = components["schemas"]["EmployeeAccessGrantView"]; +export type FieldViolation = components["schemas"]["FieldViolation"]; +export type Fields = components["schemas"]["Fields"]; +export type FreeComputeAutoScalingRules = components["schemas"]["FreeComputeAutoScalingRules"]; +export type GcpCloudProviderContainer = components["schemas"]["GCPCloudProviderContainer"]; +export type GcpComputeAutoScaling = components["schemas"]["GCPComputeAutoScaling"]; +export type GcpCreateDataProcessRegionView = components["schemas"]["GCPCreateDataProcessRegionView"]; +export type GcpDataProcessRegionView = components["schemas"]["GCPDataProcessRegionView"]; +export type GcpHardwareSpec = components["schemas"]["GCPHardwareSpec"]; +export type GcpHardwareSpec20240805 = components["schemas"]["GCPHardwareSpec20240805"]; +export type GcpRegionConfig = components["schemas"]["GCPRegionConfig"]; +export type GcpRegionConfig20240805 = components["schemas"]["GCPRegionConfig20240805"]; +export type Group = components["schemas"]["Group"]; +export type GroupActiveUserResponse = components["schemas"]["GroupActiveUserResponse"]; +export type GroupPendingUserResponse = components["schemas"]["GroupPendingUserResponse"]; +export type GroupRoleAssignment = components["schemas"]["GroupRoleAssignment"]; +export type GroupUserResponse = components["schemas"]["GroupUserResponse"]; +export type HardwareSpec = components["schemas"]["HardwareSpec"]; +export type HardwareSpec20240805 = components["schemas"]["HardwareSpec20240805"]; +export type IngestionSink = components["schemas"]["IngestionSink"]; +export type IngestionSource = components["schemas"]["IngestionSource"]; +export type InvoiceLineItem = components["schemas"]["InvoiceLineItem"]; +export type Link = components["schemas"]["Link"]; +export type MonthlyScheduleView = components["schemas"]["MonthlyScheduleView"]; +export type OnDemandCpsSnapshotSource = components["schemas"]["OnDemandCpsSnapshotSource"]; +export type OnlineArchiveSchedule = components["schemas"]["OnlineArchiveSchedule"]; +export type OrgActiveUserResponse = components["schemas"]["OrgActiveUserResponse"]; +export type OrgGroup = components["schemas"]["OrgGroup"]; +export type OrgPendingUserResponse = components["schemas"]["OrgPendingUserResponse"]; +export type OrgUserResponse = components["schemas"]["OrgUserResponse"]; +export type OrgUserRolesResponse = components["schemas"]["OrgUserRolesResponse"]; +export type PaginatedAtlasGroupView = components["schemas"]["PaginatedAtlasGroupView"]; +export type PaginatedClusterDescription20240805 = components["schemas"]["PaginatedClusterDescription20240805"]; +export type PaginatedOrgGroupView = components["schemas"]["PaginatedOrgGroupView"]; +export type PeriodicCpsSnapshotSource = components["schemas"]["PeriodicCpsSnapshotSource"]; +export type ReplicationSpec20240805 = components["schemas"]["ReplicationSpec20240805"]; +export type ResourceTag = components["schemas"]["ResourceTag"]; +export type SearchHostStatusDetail = components["schemas"]["SearchHostStatusDetail"]; +export type SearchIndex = components["schemas"]["SearchIndex"]; +export type SearchIndexCreateRequest = components["schemas"]["SearchIndexCreateRequest"]; +export type SearchIndexDefinition = components["schemas"]["SearchIndexDefinition"]; +export type SearchIndexDefinitionVersion = components["schemas"]["SearchIndexDefinitionVersion"]; +export type SearchIndexResponse = components["schemas"]["SearchIndexResponse"]; +export type SearchMainIndexStatusDetail = components["schemas"]["SearchMainIndexStatusDetail"]; +export type SearchMappings = components["schemas"]["SearchMappings"]; +export type SearchStagedIndexStatusDetail = components["schemas"]["SearchStagedIndexStatusDetail"]; +export type SearchSynonymMappingDefinition = components["schemas"]["SearchSynonymMappingDefinition"]; +export type ServerlessAwsTenantEndpointUpdate = components["schemas"]["ServerlessAWSTenantEndpointUpdate"]; +export type ServerlessAzureTenantEndpointUpdate = components["schemas"]["ServerlessAzureTenantEndpointUpdate"]; +export type ServerlessTenantEndpointUpdate = components["schemas"]["ServerlessTenantEndpointUpdate"]; +export type StreamsAwsConnectionConfig = components["schemas"]["StreamsAWSConnectionConfig"]; +export type StreamsAwsLambdaConnection = components["schemas"]["StreamsAWSLambdaConnection"]; +export type StreamsClusterConnection = components["schemas"]["StreamsClusterConnection"]; +export type StreamsConnection = components["schemas"]["StreamsConnection"]; +export type StreamsHttpsConnection = components["schemas"]["StreamsHttpsConnection"]; +export type StreamsKafkaAuthentication = components["schemas"]["StreamsKafkaAuthentication"]; +export type StreamsKafkaConnection = components["schemas"]["StreamsKafkaConnection"]; +export type StreamsKafkaNetworking = components["schemas"]["StreamsKafkaNetworking"]; +export type StreamsKafkaNetworkingAccess = components["schemas"]["StreamsKafkaNetworkingAccess"]; +export type StreamsKafkaSecurity = components["schemas"]["StreamsKafkaSecurity"]; +export type StreamsS3Connection = components["schemas"]["StreamsS3Connection"]; +export type StreamsSampleConnection = components["schemas"]["StreamsSampleConnection"]; +export type SynonymMappingStatusDetail = components["schemas"]["SynonymMappingStatusDetail"]; +export type SynonymMappingStatusDetailMap = components["schemas"]["SynonymMappingStatusDetailMap"]; +export type SynonymSource = components["schemas"]["SynonymSource"]; +export type TenantHardwareSpec = components["schemas"]["TenantHardwareSpec"]; +export type TenantHardwareSpec20240805 = components["schemas"]["TenantHardwareSpec20240805"]; +export type TenantRegionConfig = components["schemas"]["TenantRegionConfig"]; +export type TenantRegionConfig20240805 = components["schemas"]["TenantRegionConfig20240805"]; +export type TextSearchHostStatusDetail = components["schemas"]["TextSearchHostStatusDetail"]; +export type TextSearchIndexCreateRequest = components["schemas"]["TextSearchIndexCreateRequest"]; +export type TextSearchIndexDefinition = components["schemas"]["TextSearchIndexDefinition"]; +export type TextSearchIndexResponse = components["schemas"]["TextSearchIndexResponse"]; +export type TextSearchIndexStatusDetail = components["schemas"]["TextSearchIndexStatusDetail"]; +export type TokenFilterEnglishPossessive = components["schemas"]["TokenFilterEnglishPossessive"]; +export type TokenFilterFlattenGraph = components["schemas"]["TokenFilterFlattenGraph"]; +export type TokenFilterPorterStemming = components["schemas"]["TokenFilterPorterStemming"]; +export type TokenFilterSpanishPluralStemming = components["schemas"]["TokenFilterSpanishPluralStemming"]; +export type TokenFilterStempel = components["schemas"]["TokenFilterStempel"]; +export type TokenFilterWordDelimiterGraph = components["schemas"]["TokenFilterWordDelimiterGraph"]; +export type TokenFilterkStemming = components["schemas"]["TokenFilterkStemming"]; +export type VectorSearchHostStatusDetail = components["schemas"]["VectorSearchHostStatusDetail"]; +export type VectorSearchIndex = components["schemas"]["VectorSearchIndex"]; +export type VectorSearchIndexCreateRequest = components["schemas"]["VectorSearchIndexCreateRequest"]; +export type VectorSearchIndexDefinition = components["schemas"]["VectorSearchIndexDefinition"]; +export type VectorSearchIndexResponse = components["schemas"]["VectorSearchIndexResponse"]; +export type VectorSearchIndexStatusDetail = components["schemas"]["VectorSearchIndexStatusDetail"]; +export type WeeklyScheduleView = components["schemas"]["WeeklyScheduleView"]; +export type CharFilterhtmlStrip = components["schemas"]["charFilterhtmlStrip"]; +export type CharFiltericuNormalize = components["schemas"]["charFiltericuNormalize"]; +export type CharFiltermapping = components["schemas"]["charFiltermapping"]; +export type CharFilterpersian = components["schemas"]["charFilterpersian"]; +export type TokenFilterasciiFolding = components["schemas"]["tokenFilterasciiFolding"]; +export type TokenFilterdaitchMokotoffSoundex = components["schemas"]["tokenFilterdaitchMokotoffSoundex"]; +export type TokenFilteredgeGram = components["schemas"]["tokenFilteredgeGram"]; +export type TokenFiltericuFolding = components["schemas"]["tokenFiltericuFolding"]; +export type TokenFiltericuNormalizer = components["schemas"]["tokenFiltericuNormalizer"]; +export type TokenFilterlength = components["schemas"]["tokenFilterlength"]; +export type TokenFilterlowercase = components["schemas"]["tokenFilterlowercase"]; +export type TokenFilternGram = components["schemas"]["tokenFilternGram"]; +export type TokenFilterregex = components["schemas"]["tokenFilterregex"]; +export type TokenFilterreverse = components["schemas"]["tokenFilterreverse"]; +export type TokenFiltershingle = components["schemas"]["tokenFiltershingle"]; +export type TokenFiltersnowballStemming = components["schemas"]["tokenFiltersnowballStemming"]; +export type TokenFilterstopword = components["schemas"]["tokenFilterstopword"]; +export type TokenFiltertrim = components["schemas"]["tokenFiltertrim"]; +export type TokenizeredgeGram = components["schemas"]["tokenizeredgeGram"]; +export type Tokenizerkeyword = components["schemas"]["tokenizerkeyword"]; +export type TokenizernGram = components["schemas"]["tokenizernGram"]; +export type TokenizerregexCaptureGroup = components["schemas"]["tokenizerregexCaptureGroup"]; +export type TokenizerregexSplit = components["schemas"]["tokenizerregexSplit"]; +export type Tokenizerstandard = components["schemas"]["tokenizerstandard"]; +export type TokenizeruaxUrlEmail = components["schemas"]["tokenizeruaxUrlEmail"]; +export type Tokenizerwhitespace = components["schemas"]["tokenizerwhitespace"]; +export type ResponseBadRequest = components["responses"]["badRequest"]; +export type ResponseConflict = components["responses"]["conflict"]; +export type ResponseForbidden = components["responses"]["forbidden"]; +export type ResponseInternalServerError = components["responses"]["internalServerError"]; +export type ResponseNotFound = components["responses"]["notFound"]; +export type ResponsePaymentRequired = components["responses"]["paymentRequired"]; +export type ResponseUnauthorized = components["responses"]["unauthorized"]; +export type ParameterEnvelope = components["parameters"]["envelope"]; +export type ParameterGroupId = components["parameters"]["groupId"]; +export type ParameterIncludeCount = components["parameters"]["includeCount"]; +export type ParameterItemsPerPage = components["parameters"]["itemsPerPage"]; +export type ParameterPageNum = components["parameters"]["pageNum"]; +export type ParameterPretty = components["parameters"]["pretty"]; +export type $defs = Record; +export interface operations { + listClustersForAllProjects: { + parameters: { + query?: { + /** @description Flag that indicates whether Application wraps the response in an `envelope` JSON object. Some API clients cannot access the HTTP response headers or status code. To remediate this, set envelope=true in the query. Endpoints that return a list of results use the results object as an envelope. Application adds the status parameter to the response body. */ + envelope?: components["parameters"]["envelope"]; + /** @description Flag that indicates whether the response returns the total number of items (**totalCount**) in the response. */ + includeCount?: components["parameters"]["includeCount"]; + /** @description Number of items that the response returns per page. */ + itemsPerPage?: components["parameters"]["itemsPerPage"]; + /** @description Number of the page that displays the current set of the total objects that the response returns. */ + pageNum?: components["parameters"]["pageNum"]; + /** @description Flag that indicates whether the response body should be in the prettyprint format. */ + pretty?: components["parameters"]["pretty"]; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description OK */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/vnd.atlas.2023-01-01+json": components["schemas"]["PaginatedOrgGroupView"]; + }; + }; + 401: components["responses"]["unauthorized"]; + 500: components["responses"]["internalServerError"]; + }; + }; + listProjects: { + parameters: { + query?: { + /** @description Flag that indicates whether Application wraps the response in an `envelope` JSON object. Some API clients cannot access the HTTP response headers or status code. To remediate this, set envelope=true in the query. Endpoints that return a list of results use the results object as an envelope. Application adds the status parameter to the response body. */ + envelope?: components["parameters"]["envelope"]; + /** @description Flag that indicates whether the response returns the total number of items (**totalCount**) in the response. */ + includeCount?: components["parameters"]["includeCount"]; + /** @description Number of items that the response returns per page. */ + itemsPerPage?: components["parameters"]["itemsPerPage"]; + /** @description Number of the page that displays the current set of the total objects that the response returns. */ + pageNum?: components["parameters"]["pageNum"]; + /** @description Flag that indicates whether the response body should be in the prettyprint format. */ + pretty?: components["parameters"]["pretty"]; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description OK */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/vnd.atlas.2023-01-01+json": components["schemas"]["PaginatedAtlasGroupView"]; + }; + }; + 400: components["responses"]["badRequest"]; + 404: components["responses"]["notFound"]; + 500: components["responses"]["internalServerError"]; + }; + }; + createProject: { + parameters: { + query?: { + /** @description Flag that indicates whether Application wraps the response in an `envelope` JSON object. Some API clients cannot access the HTTP response headers or status code. To remediate this, set envelope=true in the query. Endpoints that return a list of results use the results object as an envelope. Application adds the status parameter to the response body. */ + envelope?: components["parameters"]["envelope"]; + /** @description Flag that indicates whether the response body should be in the prettyprint format. */ + pretty?: components["parameters"]["pretty"]; + /** @description Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user to whom to grant the Project Owner role on the specified project. If you set this parameter, it overrides the default value of the oldest Organization Owner. */ + projectOwnerId?: string; + }; + header?: never; + path?: never; + cookie?: never; + }; + /** @description Creates one project. */ + requestBody: { + content: { + "application/vnd.atlas.2023-01-01+json": components["schemas"]["Group"]; + }; + }; + responses: { + /** @description OK */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/vnd.atlas.2023-01-01+json": components["schemas"]["Group"]; + }; + }; + 400: components["responses"]["badRequest"]; + 401: components["responses"]["unauthorized"]; + 403: components["responses"]["forbidden"]; + 404: components["responses"]["notFound"]; + 409: components["responses"]["conflict"]; + 500: components["responses"]["internalServerError"]; + }; + }; + getProject: { + parameters: { + query?: { + /** @description Flag that indicates whether Application wraps the response in an `envelope` JSON object. Some API clients cannot access the HTTP response headers or status code. To remediate this, set envelope=true in the query. Endpoints that return a list of results use the results object as an envelope. Application adds the status parameter to the response body. */ + envelope?: components["parameters"]["envelope"]; + /** @description Flag that indicates whether the response body should be in the prettyprint format. */ + pretty?: components["parameters"]["pretty"]; + }; + header?: never; + path: { + /** @description Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access. + * + * **NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. */ + groupId: components["parameters"]["groupId"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description OK */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/vnd.atlas.2023-01-01+json": components["schemas"]["Group"]; + }; + }; + 400: components["responses"]["badRequest"]; + 404: components["responses"]["notFound"]; + 500: components["responses"]["internalServerError"]; + }; + }; + listClusters: { + parameters: { + query?: { + /** @description Flag that indicates whether Application wraps the response in an `envelope` JSON object. Some API clients cannot access the HTTP response headers or status code. To remediate this, set envelope=true in the query. Endpoints that return a list of results use the results object as an envelope. Application adds the status parameter to the response body. */ + envelope?: components["parameters"]["envelope"]; + /** @description Flag that indicates whether the response returns the total number of items (**totalCount**) in the response. */ + includeCount?: components["parameters"]["includeCount"]; + /** @description Number of items that the response returns per page. */ + itemsPerPage?: components["parameters"]["itemsPerPage"]; + /** @description Number of the page that displays the current set of the total objects that the response returns. */ + pageNum?: components["parameters"]["pageNum"]; + /** @description Flag that indicates whether the response body should be in the prettyprint format. */ + pretty?: components["parameters"]["pretty"]; + /** @description Flag that indicates whether to return Clusters with retain backups. */ + includeDeletedWithRetainedBackups?: boolean; + }; + header?: never; + path: { + /** @description Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access. + * + * **NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. */ + groupId: components["parameters"]["groupId"]; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description OK */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + "application/vnd.atlas.2024-08-05+json": components["schemas"]["PaginatedClusterDescription20240805"]; + }; + }; + 401: components["responses"]["unauthorized"]; + 500: components["responses"]["internalServerError"]; + }; + }; + createCluster: { + parameters: { + query?: { + /** @description Flag that indicates whether Application wraps the response in an `envelope` JSON object. Some API clients cannot access the HTTP response headers or status code. To remediate this, set envelope=true in the query. Endpoints that return a list of results use the results object as an envelope. Application adds the status parameter to the response body. */ + envelope?: components["parameters"]["envelope"]; + /** @description Flag that indicates whether the response body should be in the prettyprint format. */ + pretty?: components["parameters"]["pretty"]; + }; + header?: never; + path: { + /** @description Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access. + * + * **NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. */ + groupId: components["parameters"]["groupId"]; + }; + cookie?: never; + }; + /** @description Cluster to create in this project. */ + requestBody: { + content: { + "application/vnd.atlas.2024-10-23+json": components["schemas"]["ClusterDescription20240805"]; + }; + }; + responses: { + /** @description Created */ + 201: { + headers: { + [name: string]: unknown; + }; + content: { + "application/vnd.atlas.2024-10-23+json": components["schemas"]["ClusterDescription20240805"]; + }; + }; + 400: components["responses"]["badRequest"]; + 401: components["responses"]["unauthorized"]; + 402: components["responses"]["paymentRequired"]; + 403: components["responses"]["forbidden"]; + 409: components["responses"]["conflict"]; + 500: components["responses"]["internalServerError"]; + }; + }; +} +type WithRequired = T & { + [P in K]-?: T[P]; +}; diff --git a/src/server.ts b/src/server.ts index 052be94b..c9e9a662 100644 --- a/src/server.ts +++ b/src/server.ts @@ -1,5 +1,5 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; -import { ApiClient } from "./client.js"; +import { ApiClient } from "./common/atlas/client.js"; import { State, saveState, loadState } from "./state.js"; import { Transport } from "@modelcontextprotocol/sdk/shared/transport.js"; import { registerAtlasTools } from "./tools/atlas/tools.js"; diff --git a/src/state.ts b/src/state.ts index 11be5496..534f7bd6 100644 --- a/src/state.ts +++ b/src/state.ts @@ -1,6 +1,6 @@ import fs from "fs"; import config from "./config.js"; -import { OauthDeviceCode, OAuthToken } from "./client.js"; +import { OauthDeviceCode, OAuthToken } from "./common/atlas/client.js"; export interface State { auth: { diff --git a/src/tools/atlas/atlasTool.ts b/src/tools/atlas/atlasTool.ts index 428dd724..ea27ad6f 100644 --- a/src/tools/atlas/atlasTool.ts +++ b/src/tools/atlas/atlasTool.ts @@ -1,6 +1,7 @@ import { ToolBase } from "../tool.js"; -import { ApiClient } from "../../client.js"; +import { ApiClient } from "../../common/atlas/client.js"; import { State } from "../../state.js"; +import { ensureAuthenticated } from "../../common/atlas/auth.js"; export abstract class AtlasToolBase extends ToolBase { constructor( @@ -9,4 +10,8 @@ export abstract class AtlasToolBase extends ToolBase { ) { super(state); } + + protected async ensureAuthenticated(): Promise { + await ensureAuthenticated(this.state, this.apiClient); + } } diff --git a/src/tools/atlas/auth.ts b/src/tools/atlas/auth.ts index d8db34f9..b53ae7d9 100644 --- a/src/tools/atlas/auth.ts +++ b/src/tools/atlas/auth.ts @@ -1,42 +1,11 @@ import { CallToolResult } from "@modelcontextprotocol/sdk/types.js"; -import { ApiClient } from "../../client.js"; import { log } from "../../logger.js"; import { saveState } from "../../state.js"; -import { State } from "../../state.js"; import { AtlasToolBase } from "./atlasTool.js"; - -export async function ensureAuthenticated(state: State, apiClient: ApiClient): Promise { - if (!(await isAuthenticated(state, apiClient))) { - throw new Error("Not authenticated"); - } -} - -export async function isAuthenticated(state: State, apiClient: ApiClient): Promise { - switch (state.auth.status) { - case "not_auth": - return false; - case "requested": - try { - if (!state.auth.code) { - return false; - } - await apiClient.retrieveToken(state.auth.code.device_code); - return !!state.auth.token; - } catch { - return false; - } - case "issued": - if (!state.auth.token) { - return false; - } - return await apiClient.validateToken(); - default: - throw new Error("Unknown authentication status"); - } -} +import { isAuthenticated } from "../../common/atlas/auth.js"; export class AuthTool extends AtlasToolBase { - protected name = "auth"; + protected name = "atlas-auth"; protected description = "Authenticate to MongoDB Atlas"; protected argsShape = {}; diff --git a/src/tools/atlas/createFreeCluster.ts b/src/tools/atlas/createFreeCluster.ts new file mode 100644 index 00000000..34e207da --- /dev/null +++ b/src/tools/atlas/createFreeCluster.ts @@ -0,0 +1,47 @@ +import { z } from "zod"; +import { CallToolResult } from "@modelcontextprotocol/sdk/types.js"; +import { AtlasToolBase } from "./atlasTool.js"; +import { ToolArgs } from "../tool.js"; +import { ClusterDescription20240805 } from "../../common/atlas/openapi.js"; + +export class CreateFreeClusterTool extends AtlasToolBase { + protected name = "atlas-create-free-cluster"; + protected description = "Create a free MongoDB Atlas cluster"; + protected argsShape = { + projectId: z.string().describe("Atlas project ID to create the cluster in"), + name: z.string().describe("Name of the cluster"), + region: z.string().describe("Region of the cluster").default("US_EAST_1"), + }; + + protected async execute({ projectId, name, region }: ToolArgs): Promise { + await this.ensureAuthenticated(); + + const input = { + groupId: projectId, + name, + clusterType: "REPLICASET", + replicationSpecs: [ + { + zoneName: "Zone 1", + regionConfigs: [ + { + providerName: "TENANT", + backingProviderName: "AWS", + regionName: region, + electableSpecs: { + instanceSize: "M0", + }, + }, + ], + }, + ], + terminationProtectionEnabled: false, + } as unknown as ClusterDescription20240805; + + await this.apiClient.createCluster(projectId, input); + + return { + content: [{ type: "text", text: `Cluster "${name}" has been created in region "${region}".` }], + }; + } +} diff --git a/src/tools/atlas/inspectCluster.ts b/src/tools/atlas/inspectCluster.ts new file mode 100644 index 00000000..3a074db4 --- /dev/null +++ b/src/tools/atlas/inspectCluster.ts @@ -0,0 +1,35 @@ +import { z } from "zod"; +import { CallToolResult } from "@modelcontextprotocol/sdk/types.js"; +import { AtlasToolBase } from "./atlasTool.js"; +import { ToolArgs } from "../tool.js"; +import { ClusterDescription20240805 } from "../../common/atlas/openapi.js"; + +export class InspectClusterTool extends AtlasToolBase { + protected name = "atlas-inspect-cluster"; + protected description = "Inspect MongoDB Atlas cluster"; + protected argsShape = { + projectId: z.string().describe("Atlas project ID"), + clusterName: z.string().describe("Atlas cluster name"), + }; + + protected async execute({ projectId, clusterName }: ToolArgs): Promise { + await this.ensureAuthenticated(); + + const cluster = await this.apiClient.getCluster(projectId, clusterName); + + return this.formatOutput(cluster); + } + + private formatOutput(cluster: ClusterDescription20240805): CallToolResult { + return { + content: [ + { + type: "text", + text: `Cluster Name | State | MongoDB Version | Connection String +----------------|----------------|----------------|----------------|---------------- +${cluster.name} | ${cluster.stateName} | ${cluster.mongoDBVersion || "N/A"} | ${cluster.connectionStrings?.standard || "N/A"}`, + }, + ], + }; + } +} diff --git a/src/tools/atlas/listClusters.ts b/src/tools/atlas/listClusters.ts index 0a80434c..19a38d14 100644 --- a/src/tools/atlas/listClusters.ts +++ b/src/tools/atlas/listClusters.ts @@ -1,88 +1,90 @@ -import { z, ZodOptional, ZodString } from "zod"; -import { ApiClient, AtlasCluster } from "../../client.js"; +import { z } from "zod"; import { config } from "../../config.js"; -import { ensureAuthenticated } from "./auth.js"; import { CallToolResult } from "@modelcontextprotocol/sdk/types.js"; import { AtlasToolBase } from "./atlasTool.js"; -import { State } from "../../state.js"; import { ToolArgs } from "../tool.js"; +import { PaginatedClusterDescription20240805, PaginatedOrgGroupView, Group } from "../../common/atlas/openapi.js"; export class ListClustersTool extends AtlasToolBase { - protected name = "listClusters"; + protected name = "atlas-list-clusters"; protected description = "List MongoDB Atlas clusters"; - protected argsShape; - - constructor(state: State, apiClient: ApiClient) { - super(state, apiClient); - - let projectIdFilter: ZodString | ZodOptional = z - .string() - .describe("Optional Atlas project ID to filter clusters"); - - if (config.projectID) { - projectIdFilter = projectIdFilter.optional(); - } - - this.argsShape = { - projectId: projectIdFilter, - }; - } + protected argsShape = { + projectId: z.string().describe("Atlas project ID to filter clusters").optional(), + }; protected async execute({ projectId }: ToolArgs): Promise { - await ensureAuthenticated(this.state, this.apiClient); - - let clusters: AtlasCluster[] | undefined = undefined; - let introText = "Here are your MongoDB Atlas clusters:"; + await this.ensureAuthenticated(); const selectedProjectId = projectId || config.projectID; if (!selectedProjectId) { - return { - content: [{ type: "text", text: "No project ID provided. Please specify a project ID." }], - }; - } + const data = await this.apiClient.listClustersForAllProjects(); - const project = await this.apiClient.getProject(selectedProjectId); + return this.formatAllClustersTable(data); + } else { + const project = await this.apiClient.getProject(selectedProjectId); - const data = await this.apiClient.listProjectClusters(project.id); - clusters = data.results || []; + if (!project?.id) { + throw new Error(`Project with ID "${selectedProjectId}" not found.`); + } - introText = `Here are the clusters in project "${project.name}" (${project.id}):`; + const data = await this.apiClient.listClusters(project.id || ""); - if (clusters.length === 0) { - return { - content: [ - { - type: "text", - text: "No clusters found. You may need to create a cluster in your MongoDB Atlas account.", - }, - ], - }; + return this.formatClustersTable(project, data); } + } - const formattedClusters = this.formatClustersTable(clusters); - + private formatAllClustersTable(clusters: PaginatedOrgGroupView): CallToolResult { + if (!clusters.results?.length) { + throw new Error("No clusters found."); + } + const rows = clusters + .results!.map((result) => { + return (result.clusters || []).map((cluster) => { + return { ...result, ...cluster, clusters: undefined }; + }); + }) + .flat() + .map((cluster) => { + return `${cluster.groupName} (${cluster.groupId}) | ${cluster.name}`; + }) + .join("\n"); return { content: [ - { type: "text", text: introText }, - { type: "text", text: formattedClusters }, + { type: "text", text: `Here are your MongoDB Atlas clusters:` }, + { + type: "text", + text: `Project | Cluster Name +----------------|---------------- +${rows}`, + }, ], }; } - private formatClustersTable(clusters: AtlasCluster[]): string { - if (clusters.length === 0) { - return "No clusters found."; + private formatClustersTable(project: Group, clusters: PaginatedClusterDescription20240805): CallToolResult { + if (!clusters.results?.length) { + throw new Error("No clusters found."); } - const header = `Cluster Name | State | MongoDB Version | Region | Connection String - ----------------|----------------|----------------|----------------|----------------|----------------`; const rows = clusters - .map((cluster) => { - const region = cluster.providerSettings?.regionName || "N/A"; + .results!.map((cluster) => { const connectionString = cluster.connectionStrings?.standard || "N/A"; const mongoDBVersion = cluster.mongoDBVersion || "N/A"; - return `${cluster.name} | ${cluster.stateName} | ${mongoDBVersion} | ${region} | ${connectionString}`; + return `${cluster.name} | ${cluster.stateName} | ${mongoDBVersion} | ${connectionString}`; }) .join("\n"); - return `${header}\n${rows}`; + return { + content: [ + { + type: "text", + text: `Here are your MongoDB Atlas clusters in project "${project.name}" (${project.id}):`, + }, + { + type: "text", + text: `Cluster Name | State | MongoDB Version | Connection String +----------------|----------------|----------------|----------------|---------------- +${rows}`, + }, + ], + }; } } diff --git a/src/tools/atlas/listProjects.ts b/src/tools/atlas/listProjects.ts index e3f4af04..b117fdd7 100644 --- a/src/tools/atlas/listProjects.ts +++ b/src/tools/atlas/listProjects.ts @@ -1,14 +1,13 @@ -import { ensureAuthenticated } from "./auth.js"; import { CallToolResult } from "@modelcontextprotocol/sdk/types.js"; import { AtlasToolBase } from "./atlasTool.js"; export class ListProjectsTool extends AtlasToolBase { - protected name = "listProjects"; + protected name = "atlas-list-projects"; protected description = "List MongoDB Atlas projects"; protected argsShape = {}; protected async execute(): Promise { - await ensureAuthenticated(this.state, this.apiClient); + await this.ensureAuthenticated(); const projectsData = await this.apiClient!.listProjects(); const projects = projectsData.results || []; @@ -24,7 +23,8 @@ export class ListProjectsTool extends AtlasToolBase { ----------------|----------------|----------------`; const rows = projects .map((project) => { - const createdAt = project.created ? new Date(project.created.$date).toLocaleString() : "N/A"; + const created = project.created as any as { $date: string }; // eslint-disable-line @typescript-eslint/no-explicit-any + const createdAt = created ? new Date(created.$date).toLocaleString() : "N/A"; return `${project.name} | ${project.id} | ${createdAt}`; }) .join("\n"); diff --git a/src/tools/atlas/tools.ts b/src/tools/atlas/tools.ts index 4ad11c9e..1b4894f8 100644 --- a/src/tools/atlas/tools.ts +++ b/src/tools/atlas/tools.ts @@ -1,16 +1,20 @@ import { ToolBase } from "../tool.js"; -import { ApiClient } from "../../client.js"; +import { ApiClient } from "../../common/atlas/client.js"; import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { State } from "../../state.js"; import { AuthTool } from "./auth.js"; import { ListClustersTool } from "./listClusters.js"; import { ListProjectsTool } from "./listProjects.js"; +import { InspectClusterTool } from "./inspectCluster.js"; +import { CreateFreeClusterTool } from "./createFreeCluster.js"; export function registerAtlasTools(server: McpServer, state: State, apiClient: ApiClient) { const tools: ToolBase[] = [ new AuthTool(state, apiClient), new ListClustersTool(state, apiClient), new ListProjectsTool(state, apiClient), + new InspectClusterTool(state, apiClient), + new CreateFreeClusterTool(state, apiClient), ]; for (const tool of tools) {