diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml new file mode 100644 index 000000000..bd7869a5b --- /dev/null +++ b/.github/workflows/pr-validation.yml @@ -0,0 +1,131 @@ +name: Pull Request Validation + +on: + pull_request: + types: [opened, synchronize, reopened] + branches: [master] + workflow_dispatch: + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +# package.json is regenerated on every SDK release, so CI tools are run through +# npx at pinned versions instead of being added as devDependencies. +env: + ESLINT_VERSION: 10.14.0 + TYPESCRIPT_VERSION: 7.0.2 + +jobs: + validate: + name: Lint, test, compile + runs-on: ubuntu-latest + timeout-minutes: 30 + steps: + - name: Checkout code + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + + - name: Setup Node.js + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 + with: + node-version-file: '.nvmrc' + cache: 'npm' + + - name: Install dependencies + run: npm ci --ignore-scripts + + - name: Lint + run: npx --yes "eslint@${ESLINT_VERSION}" src + + - name: Test + run: npm test + + - name: Compile + run: npm run build + + - name: Verify compiled package + run: | + test -f dist/index.js + node -e " + const sdk = require('./dist'); + for (const name of ['ApiClient', 'V2Api', 'Auth', 'GetSecretValue']) { + if (typeof sdk[name] !== 'function') { + console.error('dist is missing export ' + name); + process.exit(1); + } + } + " + + - name: Type-check smoke tests against dist + run: npx --yes -p "typescript@${TYPESCRIPT_VERSION}" tsc -p scripts/smoke/tsconfig.json + + - name: Upload compiled package + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + with: + name: dist + path: dist/ + retention-days: 7 + + smoke: + name: Smoke tests + runs-on: ubuntu-latest + needs: validate + timeout-minutes: 10 + steps: + - name: Checkout code + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + + - name: Setup Node.js + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 + with: + node-version-file: '.nvmrc' + cache: 'npm' + + - name: Install runtime dependencies + run: npm ci --ignore-scripts --omit=dev + + - name: Download compiled package + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + with: + name: dist + path: dist/ + + # Fork PRs get no secrets. Dependabot PRs only get Dependabot secrets, so + # the credentials must be configured in both places. + - name: Check credentials + id: creds + env: + AKEYLESS_ACCESS_ID: ${{ secrets.AKEYLESS_ACCESS_ID }} + AKEYLESS_ACCESS_KEY: ${{ secrets.AKEYLESS_ACCESS_KEY }} + AKEYLESS_SMOKE_SECRET_NAME: ${{ secrets.AKEYLESS_SMOKE_SECRET }} + run: | + if [ -z "$AKEYLESS_ACCESS_ID" ] || [ -z "$AKEYLESS_ACCESS_KEY" ] || [ -z "$AKEYLESS_SMOKE_SECRET_NAME" ]; then + echo "::warning::AKEYLESS_ACCESS_ID/AKEYLESS_ACCESS_KEY/AKEYLESS_SMOKE_SECRET are not available to this run; skipping smoke tests" + echo "available=false" >> "$GITHUB_OUTPUT" + else + echo "available=true" >> "$GITHUB_OUTPUT" + fi + + - name: Smoke test - auth + if: steps.creds.outputs.available == 'true' + env: + AKEYLESS_API_URL: ${{ vars.AKEYLESS_API_URL }} + AKEYLESS_ACCESS_ID: ${{ secrets.AKEYLESS_ACCESS_ID }} + AKEYLESS_ACCESS_KEY: ${{ secrets.AKEYLESS_ACCESS_KEY }} + run: node scripts/smoke/auth.js + + - name: Smoke test - get-secret-value + if: steps.creds.outputs.available == 'true' + env: + AKEYLESS_API_URL: ${{ vars.AKEYLESS_API_URL }} + AKEYLESS_ACCESS_ID: ${{ secrets.AKEYLESS_ACCESS_ID }} + AKEYLESS_ACCESS_KEY: ${{ secrets.AKEYLESS_ACCESS_KEY }} + AKEYLESS_SMOKE_SECRET_NAME: ${{ secrets.AKEYLESS_SMOKE_SECRET }} + run: node scripts/smoke/get-secret-value.js diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 000000000..2bd5a0a98 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +22 diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 000000000..3bba61d69 --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,39 @@ +// src/ is regenerated on every release, so only rules that indicate broken +// output are enabled. Packages can't be imported here because CI runs eslint +// through npx without adding it to package.json (which the generator owns). +const readonly = (names) => Object.fromEntries(names.map((n) => [n, 'readonly'])); + +export default [ + { + files: ['src/**/*.js'], + languageOptions: { + ecmaVersion: 'latest', + sourceType: 'module', + globals: readonly([ + 'Blob', + 'Buffer', + 'File', + 'FormData', + 'URLSearchParams', + 'clearTimeout', + 'console', + 'module', + 'process', + 'require', + 'setTimeout', + 'window', + ]), + }, + linterOptions: { + reportUnusedDisableDirectives: 'off', + }, + rules: { + 'no-const-assign': 'error', + 'no-dupe-class-members': 'error', + 'no-dupe-keys': 'error', + 'no-import-assign': 'error', + 'no-undef': 'error', + 'no-unreachable': 'error', + }, + }, +]; diff --git a/package-lock.json b/package-lock.json index 0179f6586..ecaeab5b1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,16 +1,16 @@ { "name": "akeyless", - "version": "2.16.2", + "version": "5.0.40", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "akeyless", - "version": "2.16.2", - "license": "Unlicense", + "version": "5.0.40", + "license": "Apache-2.0", "dependencies": { "@babel/cli": "^7.0.0", - "superagent": "3.7.0" + "superagent": "^5.3.0" }, "devDependencies": { "@babel/core": "^7.0.0", @@ -33,7 +33,7 @@ "@babel/preset-env": "^7.0.0", "@babel/register": "^7.0.0", "expect.js": "^0.3.1", - "mocha": "^9.2.2", + "mocha": "^8.0.1", "sinon": "^7.2.0" } }, @@ -1575,7 +1575,8 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true + "dev": true, + "license": "Python-2.0" }, "node_modules/array-from": { "version": "2.1.1", @@ -1586,7 +1587,8 @@ "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "license": "MIT" }, "node_modules/babel-plugin-dynamic-import-node": { "version": "2.3.3", @@ -1686,6 +1688,19 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/camelcase": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", @@ -1731,13 +1746,13 @@ "version": "3.5.3", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "devOptional": true, "funding": [ { "type": "individual", "url": "https://paulmillr.com/funding/" } ], + "optional": true, "dependencies": { "anymatch": "~3.1.2", "braces": "~3.0.2", @@ -1782,6 +1797,7 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "license": "MIT", "dependencies": { "delayed-stream": "~1.0.0" }, @@ -1849,11 +1865,6 @@ "semver": "bin/semver.js" } }, - "node_modules/core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" - }, "node_modules/debug": { "version": "4.3.3", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", @@ -1897,7 +1908,8 @@ "node_modules/delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "license": "MIT", "engines": { "node": ">=0.4.0" } @@ -1911,6 +1923,20 @@ "node": ">=0.3.1" } }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/electron-to-chromium": { "version": "1.4.117", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.117.tgz", @@ -1923,6 +1949,51 @@ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-object-atoms": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.2.tgz", + "integrity": "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==", + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "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==", + "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/escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", @@ -1955,10 +2026,11 @@ "integrity": "sha1-sKWaDS7/VDdUTr8M6qYBWEHQm1s=", "dev": true }, - "node_modules/extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + "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==", + "license": "MIT" }, "node_modules/fill-range": { "version": "7.0.1", @@ -2008,16 +2080,19 @@ } }, "node_modules/form-data": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", - "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.5.tgz", + "integrity": "sha512-j23EibVLnp4zNXGW7LjryXYa2X6U/M96yoOX+ybZxwkYajdxRNEqYY3zhh7y0i6kfISKS2jr+EJq1YTUDEv5+w==", + "license": "MIT", "dependencies": { "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" + "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.4", + "mime-types": "^2.1.35" }, "engines": { - "node": ">= 0.12" + "node": ">= 6" } }, "node_modules/formidable": { @@ -2042,7 +2117,6 @@ "version": "2.3.2", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, "hasInstallScript": true, "optional": true, "os": [ @@ -2053,9 +2127,13 @@ } }, "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } }, "node_modules/gensync": { "version": "1.0.0-beta.2", @@ -2075,19 +2153,42 @@ } }, "node_modules/get-intrinsic": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.0.1.tgz", - "integrity": "sha512-ZnWP+AmS1VUaLgTRy47+zKtjTxz+0xMpx3I52i+aalBK1QP19ggLF3Db89KJX7kjfOfP2eoa01qc++GwPgufPg==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1" + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/glob": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", @@ -2127,6 +2228,18 @@ "node": ">=4" } }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/growl": { "version": "1.10.5", "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", @@ -2156,10 +2269,25 @@ } }, "node_modules/has-symbols": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", - "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", - "dev": true, + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "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==", + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.3" + }, "engines": { "node": ">= 0.4" }, @@ -2167,6 +2295,18 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/hasown": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz", + "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/he": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", @@ -2261,18 +2401,6 @@ "node": ">=8" } }, - "node_modules/is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/isarray": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", @@ -2291,10 +2419,11 @@ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.0.0.tgz", + "integrity": "sha512-pqon0s+4ScYUvX30wxQi3PogGFAlUyH0awepWvwkj4jD4v+ova3RiYw8bmA6x2rDrEaj8i/oWKoRxpVNW+Re8Q==", "dev": true, + "license": "MIT", "dependencies": { "argparse": "^2.0.1" }, @@ -2352,19 +2481,16 @@ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "node_modules/log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.0.0.tgz", + "integrity": "sha512-FN8JBzLx6CzeMrB0tg6pqlGU1wCrXW+ZXGH481kfsBqer0hToTIiHdjH4Mq8xJUbvATujKCvaREGWpGUionraA==", "dev": true, + "license": "MIT", "dependencies": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" + "chalk": "^4.0.0" }, "engines": { "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/log-symbols/node_modules/ansi-styles": { @@ -2372,6 +2498,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -2387,6 +2514,7 @@ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -2403,6 +2531,7 @@ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -2414,13 +2543,15 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/log-symbols/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -2430,6 +2561,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -2455,6 +2587,15 @@ "node": ">=6" } }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/methods": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", @@ -2464,39 +2605,43 @@ } }, "node_modules/mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", + "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==", + "license": "MIT", "bin": { "mime": "cli.js" }, "engines": { - "node": ">=4" + "node": ">=4.0.0" } }, "node_modules/mime-db": { - "version": "1.44.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz", - "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==", + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/mime-types": { - "version": "2.1.27", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz", - "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==", + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", "dependencies": { - "mime-db": "1.44.0" + "mime-db": "1.52.0" }, "engines": { "node": ">= 0.6" } }, "node_modules/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -2510,32 +2655,34 @@ "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" }, "node_modules/mocha": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.2.2.tgz", - "integrity": "sha512-L6XC3EdwT6YrIk0yXpavvLkn8h+EU+Y5UcCHKECyMbdUIxyMuZj4bX4U9e1nvnvUUvQVsV2VHQr5zLdcUkhW/g==", + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-8.4.0.tgz", + "integrity": "sha512-hJaO0mwDXmZS4ghXsvPVriOhsxQ7ofcpQdm8dE+jISUOKopitvnXFQmpRR7jd2K6VBG6E26gU3IAbXXGIbu4sQ==", "dev": true, + "license": "MIT", "dependencies": { "@ungap/promise-all-settled": "1.1.2", "ansi-colors": "4.1.1", "browser-stdout": "1.3.1", - "chokidar": "3.5.3", - "debug": "4.3.3", + "chokidar": "3.5.1", + "debug": "4.3.1", "diff": "5.0.0", "escape-string-regexp": "4.0.0", "find-up": "5.0.0", - "glob": "7.2.0", + "glob": "7.1.6", "growl": "1.10.5", "he": "1.2.0", - "js-yaml": "4.1.0", - "log-symbols": "4.1.0", - "minimatch": "4.2.1", + "js-yaml": "4.0.0", + "log-symbols": "4.0.0", + "minimatch": "3.0.4", "ms": "2.1.3", - "nanoid": "3.3.1", - "serialize-javascript": "6.0.0", + "nanoid": "3.1.20", + "serialize-javascript": "5.0.1", "strip-json-comments": "3.1.1", "supports-color": "8.1.1", "which": "2.0.2", - "workerpool": "6.2.0", + "wide-align": "1.1.3", + "workerpool": "6.1.0", "yargs": "16.2.0", "yargs-parser": "20.2.4", "yargs-unparser": "2.0.0" @@ -2545,13 +2692,60 @@ "mocha": "bin/mocha" }, "engines": { - "node": ">= 12.0.0" + "node": ">= 10.12.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/mochajs" } }, + "node_modules/mocha/node_modules/chokidar": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz", + "integrity": "sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==", + "dev": true, + "license": "MIT", + "dependencies": { + "anymatch": "~3.1.1", + "braces": "~3.0.2", + "glob-parent": "~5.1.0", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.5.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.1" + } + }, + "node_modules/mocha/node_modules/debug": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/mocha/node_modules/debug/node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true, + "license": "MIT" + }, "node_modules/mocha/node_modules/diff": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", @@ -2589,6 +2783,28 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/mocha/node_modules/glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/mocha/node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -2613,18 +2829,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/mocha/node_modules/minimatch": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-4.2.1.tgz", - "integrity": "sha512-9Uq1ChtSZO+Mxa/CL1eGizn2vRn3MlLgzhT0Iz8zaY8NdvxvB0d5QdPFmCKf7JKA9Lerx5vRrnwO03jsSfGG9g==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/mocha/node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", @@ -2670,6 +2874,19 @@ "node": ">=8" } }, + "node_modules/mocha/node_modules/readdirp": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz", + "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, "node_modules/mocha/node_modules/supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", @@ -2691,10 +2908,11 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "node_modules/nanoid": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz", - "integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==", + "version": "3.1.20", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.20.tgz", + "integrity": "sha512-a1cQNyczgKbLX9jwbS/+d7W8fX/RfgYR7lVWwWOGIPNgK2m0MWvrGF6/m4kk6U3QcFMnZf3RIhL0v2Jgh/0Uxw==", "dev": true, + "license": "MIT", "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -2900,11 +3118,6 @@ "node": ">=6" } }, - "node_modules/process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" - }, "node_modules/qs": { "version": "6.9.4", "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.4.tgz", @@ -2921,34 +3134,30 @@ "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/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "license": "MIT", "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" } }, - "node_modules/readable-stream/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, "node_modules/readdirp": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "devOptional": true, + "optional": true, "dependencies": { "picomatch": "^2.2.1" }, @@ -3068,10 +3277,11 @@ } }, "node_modules/serialize-javascript": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", - "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz", + "integrity": "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "randombytes": "^2.1.0" } @@ -3127,13 +3337,34 @@ } }, "node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "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==", + "license": "MIT", "dependencies": { - "safe-buffer": "~5.1.0" + "safe-buffer": "~5.2.0" } }, + "node_modules/string_decoder/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "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" + }, "node_modules/string-width": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", @@ -3173,31 +3404,38 @@ } }, "node_modules/superagent": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/superagent/-/superagent-3.7.0.tgz", - "integrity": "sha512-/8trxO6NbLx4YXb7IeeFTSmsQ35pQBiTBsLNvobZx7qBzBeHYvKCyIIhW2gNcWbLzYxPAjdgFbiepd8ypwC0Gw==", - "dependencies": { - "component-emitter": "^1.2.0", - "cookiejar": "^2.1.0", - "debug": "^3.1.0", - "extend": "^3.0.0", - "form-data": "^2.3.1", - "formidable": "^1.1.1", - "methods": "^1.1.1", - "mime": "^1.4.1", - "qs": "^6.5.1", - "readable-stream": "^2.0.5" + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/superagent/-/superagent-5.3.1.tgz", + "integrity": "sha512-wjJ/MoTid2/RuGCOFtlacyGNxN9QLMgcpYLDQlWFIhhdJ93kNscFonGvrpAHSCVjRVj++DGCglocF7Aej1KHvQ==", + "deprecated": "Please upgrade to superagent v10.2.2+, see release notes at https://github.com/forwardemail/superagent/releases/tag/v10.2.2 - maintenance is supported by Forward Email @ https://forwardemail.net", + "license": "MIT", + "dependencies": { + "component-emitter": "^1.3.0", + "cookiejar": "^2.1.2", + "debug": "^4.1.1", + "fast-safe-stringify": "^2.0.7", + "form-data": "^3.0.0", + "formidable": "^1.2.2", + "methods": "^1.1.2", + "mime": "^2.4.6", + "qs": "^6.9.4", + "readable-stream": "^3.6.0", + "semver": "^7.3.2" }, "engines": { - "node": ">= 4.0" + "node": ">= 7.0.0" } }, - "node_modules/superagent/node_modules/debug": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", - "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", - "dependencies": { - "ms": "^2.1.1" + "node_modules/superagent/node_modules/semver": { + "version": "7.8.6", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.6.tgz", + "integrity": "sha512-9lpSSU4Mly3mrtruwLs1eLK6+gzbzqeBFwRNjIjE+9LuDpWdYctrQlQ3ej1Ilgi7gknpsTRnPoLP8DpCHqHIJw==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" } }, "node_modules/supports-color": { @@ -3283,7 +3521,8 @@ "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "license": "MIT" }, "node_modules/which": { "version": "2.0.2", @@ -3300,11 +3539,69 @@ "node": ">= 8" } }, + "node_modules/wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^1.0.2 || 2" + } + }, + "node_modules/wide-align/node_modules/ansi-regex": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", + "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/wide-align/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/wide-align/node_modules/string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/wide-align/node_modules/strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/workerpool": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.0.tgz", - "integrity": "sha512-Rsk5qQHJ9eowMH28Jwhe8HEbmdYDX4lwoMWshiCXugjtHqMD9ZbiqSDLxcsfdqsETPzVUtX5s1Z5kStiIM6l4A==", - "dev": true + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.1.0.tgz", + "integrity": "sha512-toV7q9rWNYha963Pl/qyeZ6wG+3nnsyvolaNUS8+R5Wtw6qJPTxIlOP1ZSvcGhEJw+l3HMMmtiNo9Gl61G4GVg==", + "dev": true, + "license": "Apache-2.0" }, "node_modules/wrap-ansi": { "version": "7.0.0", @@ -4698,7 +4995,7 @@ "asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "babel-plugin-dynamic-import-node": { "version": "2.3.3", @@ -4773,6 +5070,15 @@ "get-intrinsic": "^1.0.0" } }, + "call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "requires": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + } + }, "camelcase": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", @@ -4799,7 +5105,7 @@ "version": "3.5.3", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "devOptional": true, + "optional": true, "requires": { "anymatch": "~3.1.2", "braces": "~3.0.2", @@ -4895,11 +5201,6 @@ } } }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" - }, "debug": { "version": "4.3.3", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", @@ -4926,7 +5227,7 @@ "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" }, "diff": { "version": "3.5.0", @@ -4934,6 +5235,16 @@ "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", "dev": true }, + "dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "requires": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + } + }, "electron-to-chromium": { "version": "1.4.117", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.117.tgz", @@ -4946,6 +5257,35 @@ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true }, + "es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==" + }, + "es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==" + }, + "es-object-atoms": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.2.tgz", + "integrity": "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==", + "requires": { + "es-errors": "^1.3.0" + } + }, + "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==", + "requires": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + } + }, "escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", @@ -4969,10 +5309,10 @@ "integrity": "sha1-sKWaDS7/VDdUTr8M6qYBWEHQm1s=", "dev": true }, - "extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + "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==" }, "fill-range": { "version": "7.0.1", @@ -5010,13 +5350,15 @@ "dev": true }, "form-data": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", - "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.5.tgz", + "integrity": "sha512-j23EibVLnp4zNXGW7LjryXYa2X6U/M96yoOX+ybZxwkYajdxRNEqYY3zhh7y0i6kfISKS2jr+EJq1YTUDEv5+w==", "requires": { "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" + "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.4", + "mime-types": "^2.1.35" } }, "formidable": { @@ -5038,13 +5380,12 @@ "version": "2.3.2", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, "optional": true }, "function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==" }, "gensync": { "version": "1.0.0-beta.2", @@ -5058,14 +5399,29 @@ "dev": true }, "get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "requires": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + } + }, + "get-proto": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.0.1.tgz", - "integrity": "sha512-ZnWP+AmS1VUaLgTRy47+zKtjTxz+0xMpx3I52i+aalBK1QP19ggLF3Db89KJX7kjfOfP2eoa01qc++GwPgufPg==", - "dev": true, + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", "requires": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1" + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" } }, "glob": { @@ -5076,7 +5432,7 @@ "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", - "minimatch": "^3.0.4", + "minimatch": "^3.0.5", "once": "^1.3.0", "path-is-absolute": "^1.0.0" } @@ -5095,6 +5451,11 @@ "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==" }, + "gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==" + }, "growl": { "version": "1.10.5", "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", @@ -5115,10 +5476,25 @@ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "has-symbols": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", - "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", - "dev": true + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==" + }, + "has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "requires": { + "has-symbols": "^1.0.3" + } + }, + "hasown": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz", + "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==", + "requires": { + "function-bind": "^1.1.2" + } }, "he": { "version": "1.2.0", @@ -5190,12 +5566,6 @@ "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", "dev": true }, - "is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", - "dev": true - }, "isarray": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", @@ -5214,9 +5584,9 @@ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.0.0.tgz", + "integrity": "sha512-pqon0s+4ScYUvX30wxQi3PogGFAlUyH0awepWvwkj4jD4v+ova3RiYw8bmA6x2rDrEaj8i/oWKoRxpVNW+Re8Q==", "dev": true, "requires": { "argparse": "^2.0.1" @@ -5257,13 +5627,12 @@ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.0.0.tgz", + "integrity": "sha512-FN8JBzLx6CzeMrB0tg6pqlGU1wCrXW+ZXGH481kfsBqer0hToTIiHdjH4Mq8xJUbvATujKCvaREGWpGUionraA==", "dev": true, "requires": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" + "chalk": "^4.0.0" }, "dependencies": { "ansi-styles": { @@ -5332,33 +5701,38 @@ "semver": "^5.6.0" } }, + "math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==" + }, "methods": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=" }, "mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", + "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==" }, "mime-db": { - "version": "1.44.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz", - "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==" + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" }, "mime-types": { - "version": "2.1.27", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz", - "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==", + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", "requires": { - "mime-db": "1.44.0" + "mime-db": "1.52.0" } }, "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", "requires": { "brace-expansion": "^1.1.7" } @@ -5369,37 +5743,71 @@ "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" }, "mocha": { - "version": "9.2.2", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.2.2.tgz", - "integrity": "sha512-L6XC3EdwT6YrIk0yXpavvLkn8h+EU+Y5UcCHKECyMbdUIxyMuZj4bX4U9e1nvnvUUvQVsV2VHQr5zLdcUkhW/g==", + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-8.4.0.tgz", + "integrity": "sha512-hJaO0mwDXmZS4ghXsvPVriOhsxQ7ofcpQdm8dE+jISUOKopitvnXFQmpRR7jd2K6VBG6E26gU3IAbXXGIbu4sQ==", "dev": true, "requires": { "@ungap/promise-all-settled": "1.1.2", "ansi-colors": "4.1.1", "browser-stdout": "1.3.1", - "chokidar": "3.5.3", - "debug": "4.3.3", + "chokidar": "3.5.1", + "debug": "4.3.1", "diff": "5.0.0", "escape-string-regexp": "4.0.0", "find-up": "5.0.0", - "glob": "7.2.0", + "glob": "7.1.6", "growl": "1.10.5", "he": "1.2.0", - "js-yaml": "4.1.0", - "log-symbols": "4.1.0", - "minimatch": "4.2.1", + "js-yaml": "4.0.0", + "log-symbols": "4.0.0", + "minimatch": "^3.0.5", "ms": "2.1.3", - "nanoid": "3.3.1", - "serialize-javascript": "6.0.0", + "nanoid": "3.1.20", + "serialize-javascript": "5.0.1", "strip-json-comments": "3.1.1", "supports-color": "8.1.1", "which": "2.0.2", - "workerpool": "6.2.0", + "wide-align": "1.1.3", + "workerpool": "6.1.0", "yargs": "16.2.0", "yargs-parser": "20.2.4", "yargs-unparser": "2.0.0" }, "dependencies": { + "chokidar": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz", + "integrity": "sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==", + "dev": true, + "requires": { + "anymatch": "~3.1.1", + "braces": "~3.0.2", + "fsevents": "~2.3.1", + "glob-parent": "~5.1.0", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.5.0" + } + }, + "debug": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", + "dev": true, + "requires": { + "ms": "2.1.2" + }, + "dependencies": { + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + } + } + }, "diff": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", @@ -5422,6 +5830,20 @@ "path-exists": "^4.0.0" } }, + "glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.5", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", @@ -5437,15 +5859,6 @@ "p-locate": "^5.0.0" } }, - "minimatch": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-4.2.1.tgz", - "integrity": "sha512-9Uq1ChtSZO+Mxa/CL1eGizn2vRn3MlLgzhT0Iz8zaY8NdvxvB0d5QdPFmCKf7JKA9Lerx5vRrnwO03jsSfGG9g==", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } - }, "ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", @@ -5476,6 +5889,15 @@ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true }, + "readdirp": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz", + "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==", + "dev": true, + "requires": { + "picomatch": "^2.2.1" + } + }, "supports-color": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", @@ -5493,9 +5915,9 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "nanoid": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz", - "integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==", + "version": "3.1.20", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.20.tgz", + "integrity": "sha512-a1cQNyczgKbLX9jwbS/+d7W8fX/RfgYR7lVWwWOGIPNgK2m0MWvrGF6/m4kk6U3QcFMnZf3RIhL0v2Jgh/0Uxw==", "dev": true }, "nise": { @@ -5650,11 +6072,6 @@ "find-up": "^3.0.0" } }, - "process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" - }, "qs": { "version": "6.9.4", "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.4.tgz", @@ -5670,31 +6087,20 @@ } }, "readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - }, - "dependencies": { - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - } + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" } }, "readdirp": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "devOptional": true, + "optional": true, "requires": { "picomatch": "^2.2.1" } @@ -5792,9 +6198,9 @@ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" }, "serialize-javascript": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", - "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz", + "integrity": "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==", "dev": true, "requires": { "randombytes": "^2.1.0" @@ -5844,11 +6250,18 @@ } }, "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "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==", "requires": { - "safe-buffer": "~5.1.0" + "safe-buffer": "~5.2.0" + }, + "dependencies": { + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + } } }, "string-width": { @@ -5878,29 +6291,27 @@ "dev": true }, "superagent": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/superagent/-/superagent-3.7.0.tgz", - "integrity": "sha512-/8trxO6NbLx4YXb7IeeFTSmsQ35pQBiTBsLNvobZx7qBzBeHYvKCyIIhW2gNcWbLzYxPAjdgFbiepd8ypwC0Gw==", - "requires": { - "component-emitter": "^1.2.0", - "cookiejar": "^2.1.0", - "debug": "^3.1.0", - "extend": "^3.0.0", - "form-data": "^2.3.1", - "formidable": "^1.1.1", - "methods": "^1.1.1", - "mime": "^1.4.1", - "qs": "^6.5.1", - "readable-stream": "^2.0.5" + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/superagent/-/superagent-5.3.1.tgz", + "integrity": "sha512-wjJ/MoTid2/RuGCOFtlacyGNxN9QLMgcpYLDQlWFIhhdJ93kNscFonGvrpAHSCVjRVj++DGCglocF7Aej1KHvQ==", + "requires": { + "component-emitter": "^1.3.0", + "cookiejar": "^2.1.2", + "debug": "^4.1.1", + "fast-safe-stringify": "^2.0.7", + "form-data": "^3.0.0", + "formidable": "^1.2.2", + "methods": "^1.1.2", + "mime": "^2.4.6", + "qs": "^6.9.4", + "readable-stream": "^3.6.0", + "semver": "^7.3.2" }, "dependencies": { - "debug": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", - "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", - "requires": { - "ms": "^2.1.1" - } + "semver": { + "version": "7.8.6", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.6.tgz", + "integrity": "sha512-9lpSSU4Mly3mrtruwLs1eLK6+gzbzqeBFwRNjIjE+9LuDpWdYctrQlQ3ej1Ilgi7gknpsTRnPoLP8DpCHqHIJw==" } } }, @@ -5963,7 +6374,7 @@ "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" }, "which": { "version": "2.0.2", @@ -5974,10 +6385,52 @@ "isexe": "^2.0.0" } }, + "wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "dev": true, + "requires": { + "string-width": "^1.0.2 || 2" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", + "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + } + } + }, "workerpool": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.0.tgz", - "integrity": "sha512-Rsk5qQHJ9eowMH28Jwhe8HEbmdYDX4lwoMWshiCXugjtHqMD9ZbiqSDLxcsfdqsETPzVUtX5s1Z5kStiIM6l4A==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.1.0.tgz", + "integrity": "sha512-toV7q9rWNYha963Pl/qyeZ6wG+3nnsyvolaNUS8+R5Wtw6qJPTxIlOP1ZSvcGhEJw+l3HMMmtiNo9Gl61G4GVg==", "dev": true }, "wrap-ansi": { diff --git a/scripts/smoke/auth.js b/scripts/smoke/auth.js new file mode 100644 index 000000000..b8f7c9720 --- /dev/null +++ b/scripts/smoke/auth.js @@ -0,0 +1,8 @@ +// @ts-check +'use strict'; + +const { authenticate, newApi, run } = require('./client'); + +run('auth', async () => { + await authenticate(newApi()); +}); diff --git a/scripts/smoke/client.js b/scripts/smoke/client.js new file mode 100644 index 000000000..2e3779f89 --- /dev/null +++ b/scripts/smoke/client.js @@ -0,0 +1,70 @@ +// @ts-check +'use strict'; + +const akeyless = require('../../dist'); + +const DEFAULT_API_URL = 'https://api.akeyless.io'; + +/** + * @param {string} name + * @returns {string} + */ +function requireEnv(name) { + const value = process.env[name]; + if (!value) { + throw new Error(`environment variable ${name} is required`); + } + return value; +} + +function newApi() { + const client = new akeyless.ApiClient(process.env.AKEYLESS_API_URL || DEFAULT_API_URL); + return new akeyless.V2Api(client); +} + +/** + * @param {InstanceType} api + * @returns {Promise} + */ +async function authenticate(api) { + const body = akeyless.Auth.constructFromObject({ + 'access-id': requireEnv('AKEYLESS_ACCESS_ID'), + 'access-key': requireEnv('AKEYLESS_ACCESS_KEY'), + 'access-type': 'access_key', + }); + const out = await api.auth(body); + const token = out && out.token; + if (typeof token !== 'string' || token === '') { + throw new Error('auth response did not include a token'); + } + return token; +} + +// superagent errors carry the original request, including the access key in +// its body, so only the status and the server's error message are reported. +/** + * @param {any} err + * @returns {string} + */ +function describeError(err) { + const status = err && err.status ? `HTTP ${err.status}: ` : ''; + const body = err && err.response && err.response.body; + const serverMessage = body && typeof body.error === 'string' ? body.error : ''; + return status + (serverMessage || (err && err.message) || String(err)); +} + +/** + * @param {string} name + * @param {() => Promise} fn + */ +function run(name, fn) { + fn().then( + () => console.log(`${name}: ok`), + (err) => { + console.error(`${name}: failed: ${describeError(err)}`); + process.exitCode = 1; + }, + ); +} + +module.exports = { akeyless, authenticate, newApi, requireEnv, run }; diff --git a/scripts/smoke/get-secret-value.js b/scripts/smoke/get-secret-value.js new file mode 100644 index 000000000..a5d275473 --- /dev/null +++ b/scripts/smoke/get-secret-value.js @@ -0,0 +1,19 @@ +// @ts-check +'use strict'; + +const { akeyless, authenticate, newApi, requireEnv, run } = require('./client'); + +run('get-secret-value', async () => { + const name = requireEnv('AKEYLESS_SMOKE_SECRET_NAME'); + const api = newApi(); + const token = await authenticate(api); + + const body = akeyless.GetSecretValue.constructFromObject({ names: [name], token }); + /** @type {Record} */ + const res = await api.getSecretValue(body); + const value = res && res[name]; + if (typeof value !== 'string' || value === '') { + throw new Error(`no value returned for secret ${name}`); + } + console.log(`get-secret-value: read ${name} (${value.length} chars)`); +}); diff --git a/scripts/smoke/globals.d.ts b/scripts/smoke/globals.d.ts new file mode 100644 index 000000000..890d31308 --- /dev/null +++ b/scripts/smoke/globals.d.ts @@ -0,0 +1,10 @@ +// Minimal Node globals so tsc can run without installing @types/node. +declare var process: { + env: Record; + exitCode?: number; +}; + +declare var console: { + log(...args: unknown[]): void; + error(...args: unknown[]): void; +}; diff --git a/scripts/smoke/tsconfig.json b/scripts/smoke/tsconfig.json new file mode 100644 index 000000000..8c7061c6f --- /dev/null +++ b/scripts/smoke/tsconfig.json @@ -0,0 +1,14 @@ +{ + "compilerOptions": { + "allowJs": true, + "checkJs": false, + "noEmit": true, + "strict": true, + "module": "nodenext", + "target": "es2022", + "lib": ["es2022"], + "types": [], + "skipLibCheck": true + }, + "include": ["*.js", "*.d.ts"] +} diff --git a/test/model/AllowedAccessArgs.spec.js b/test/model/AllowedAccessArgs.spec.js deleted file mode 100644 index 41a46b082..000000000 --- a/test/model/AllowedAccessArgs.spec.js +++ /dev/null @@ -1,89 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.AllowedAccessArgs(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('AllowedAccessArgs', function() { - it('should create an instance of AllowedAccessArgs', function() { - // uncomment below and update the code to test AllowedAccessArgs - //var instane = new akeyless.AllowedAccessArgs(); - //expect(instance).to.be.a(akeyless.AllowedAccessArgs); - }); - - it('should have the property accessId (base name: "access-id")', function() { - // uncomment below and update the code to test the property accessId - //var instane = new akeyless.AllowedAccessArgs(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "description")', function() { - // uncomment below and update the code to test the property description - //var instane = new akeyless.AllowedAccessArgs(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "name")', function() { - // uncomment below and update the code to test the property name - //var instane = new akeyless.AllowedAccessArgs(); - //expect(instance).to.be(); - }); - - it('should have the property permissions (base name: "permissions")', function() { - // uncomment below and update the code to test the property permissions - //var instane = new akeyless.AllowedAccessArgs(); - //expect(instance).to.be(); - }); - - it('should have the property subClaims (base name: "sub-claims")', function() { - // uncomment below and update the code to test the property subClaims - //var instane = new akeyless.AllowedAccessArgs(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/AllowedAccessDeleteArgs.spec.js b/test/model/AllowedAccessDeleteArgs.spec.js deleted file mode 100644 index 0bfa85603..000000000 --- a/test/model/AllowedAccessDeleteArgs.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.AllowedAccessDeleteArgs(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('AllowedAccessDeleteArgs', function() { - it('should create an instance of AllowedAccessDeleteArgs', function() { - // uncomment below and update the code to test AllowedAccessDeleteArgs - //var instane = new akeyless.AllowedAccessDeleteArgs(); - //expect(instance).to.be.a(akeyless.AllowedAccessDeleteArgs); - }); - - it('should have the property name (base name: "name")', function() { - // uncomment below and update the code to test the property name - //var instane = new akeyless.AllowedAccessDeleteArgs(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/AllowedAccessUpdateArgs.spec.js b/test/model/AllowedAccessUpdateArgs.spec.js deleted file mode 100644 index 9488ec5bc..000000000 --- a/test/model/AllowedAccessUpdateArgs.spec.js +++ /dev/null @@ -1,95 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.AllowedAccessUpdateArgs(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('AllowedAccessUpdateArgs', function() { - it('should create an instance of AllowedAccessUpdateArgs', function() { - // uncomment below and update the code to test AllowedAccessUpdateArgs - //var instane = new akeyless.AllowedAccessUpdateArgs(); - //expect(instance).to.be.a(akeyless.AllowedAccessUpdateArgs); - }); - - it('should have the property accessId (base name: "access-id")', function() { - // uncomment below and update the code to test the property accessId - //var instane = new akeyless.AllowedAccessUpdateArgs(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "description")', function() { - // uncomment below and update the code to test the property description - //var instane = new akeyless.AllowedAccessUpdateArgs(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "name")', function() { - // uncomment below and update the code to test the property name - //var instane = new akeyless.AllowedAccessUpdateArgs(); - //expect(instance).to.be(); - }); - - it('should have the property newName (base name: "new-name")', function() { - // uncomment below and update the code to test the property newName - //var instane = new akeyless.AllowedAccessUpdateArgs(); - //expect(instance).to.be(); - }); - - it('should have the property permissions (base name: "permissions")', function() { - // uncomment below and update the code to test the property permissions - //var instane = new akeyless.AllowedAccessUpdateArgs(); - //expect(instance).to.be(); - }); - - it('should have the property subClaims (base name: "sub-claims")', function() { - // uncomment below and update the code to test the property subClaims - //var instane = new akeyless.AllowedAccessUpdateArgs(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/CreateManagedKey.spec.js b/test/model/CreateManagedKey.spec.js deleted file mode 100644 index dbfaa26cc..000000000 --- a/test/model/CreateManagedKey.spec.js +++ /dev/null @@ -1,113 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.CreateManagedKey(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('CreateManagedKey', function() { - it('should create an instance of CreateManagedKey', function() { - // uncomment below and update the code to test CreateManagedKey - //var instane = new akeyless.CreateManagedKey(); - //expect(instance).to.be.a(akeyless.CreateManagedKey); - }); - - it('should have the property alg (base name: "alg")', function() { - // uncomment below and update the code to test the property alg - //var instane = new akeyless.CreateManagedKey(); - //expect(instance).to.be(); - }); - - it('should have the property managedKeyValue (base name: "managed-key-value")', function() { - // uncomment below and update the code to test the property managedKeyValue - //var instane = new akeyless.CreateManagedKey(); - //expect(instance).to.be(); - }); - - it('should have the property metadata (base name: "metadata")', function() { - // uncomment below and update the code to test the property metadata - //var instane = new akeyless.CreateManagedKey(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "name")', function() { - // uncomment below and update the code to test the property name - //var instane = new akeyless.CreateManagedKey(); - //expect(instance).to.be(); - }); - - it('should have the property protectionKey (base name: "protection_key")', function() { - // uncomment below and update the code to test the property protectionKey - //var instane = new akeyless.CreateManagedKey(); - //expect(instance).to.be(); - }); - - it('should have the property tags (base name: "tags")', function() { - // uncomment below and update the code to test the property tags - //var instane = new akeyless.CreateManagedKey(); - //expect(instance).to.be(); - }); - - it('should have the property targetName (base name: "target-name")', function() { - // uncomment below and update the code to test the property targetName - //var instane = new akeyless.CreateManagedKey(); - //expect(instance).to.be(); - }); - - it('should have the property token (base name: "token")', function() { - // uncomment below and update the code to test the property token - //var instane = new akeyless.CreateManagedKey(); - //expect(instance).to.be(); - }); - - it('should have the property uidToken (base name: "uid-token")', function() { - // uncomment below and update the code to test the property uidToken - //var instane = new akeyless.CreateManagedKey(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/CreateManagedKeyOutput.spec.js b/test/model/CreateManagedKeyOutput.spec.js deleted file mode 100644 index ff2ebadf8..000000000 --- a/test/model/CreateManagedKeyOutput.spec.js +++ /dev/null @@ -1,77 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.CreateManagedKeyOutput(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('CreateManagedKeyOutput', function() { - it('should create an instance of CreateManagedKeyOutput', function() { - // uncomment below and update the code to test CreateManagedKeyOutput - //var instane = new akeyless.CreateManagedKeyOutput(); - //expect(instance).to.be.a(akeyless.CreateManagedKeyOutput); - }); - - it('should have the property managedKeyId (base name: "managed_key_id")', function() { - // uncomment below and update the code to test the property managedKeyId - //var instane = new akeyless.CreateManagedKeyOutput(); - //expect(instance).to.be(); - }); - - it('should have the property managedKeyName (base name: "managed_key_name")', function() { - // uncomment below and update the code to test the property managedKeyName - //var instane = new akeyless.CreateManagedKeyOutput(); - //expect(instance).to.be(); - }); - - it('should have the property managedKeyType (base name: "managed_key_type")', function() { - // uncomment below and update the code to test the property managedKeyType - //var instane = new akeyless.CreateManagedKeyOutput(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/CreateRdpTarget.spec.js b/test/model/CreateRdpTarget.spec.js deleted file mode 100644 index 83461a5b1..000000000 --- a/test/model/CreateRdpTarget.spec.js +++ /dev/null @@ -1,113 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.CreateRdpTarget(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('CreateRdpTarget', function() { - it('should create an instance of CreateRdpTarget', function() { - // uncomment below and update the code to test CreateRdpTarget - //var instane = new akeyless.CreateRdpTarget(); - //expect(instance).to.be.a(akeyless.CreateRdpTarget); - }); - - it('should have the property adminName (base name: "admin_name")', function() { - // uncomment below and update the code to test the property adminName - //var instane = new akeyless.CreateRdpTarget(); - //expect(instance).to.be(); - }); - - it('should have the property adminPwd (base name: "admin_pwd")', function() { - // uncomment below and update the code to test the property adminPwd - //var instane = new akeyless.CreateRdpTarget(); - //expect(instance).to.be(); - }); - - it('should have the property comment (base name: "comment")', function() { - // uncomment below and update the code to test the property comment - //var instane = new akeyless.CreateRdpTarget(); - //expect(instance).to.be(); - }); - - it('should have the property hostName (base name: "host_name")', function() { - // uncomment below and update the code to test the property hostName - //var instane = new akeyless.CreateRdpTarget(); - //expect(instance).to.be(); - }); - - it('should have the property hostPort (base name: "host_port")', function() { - // uncomment below and update the code to test the property hostPort - //var instane = new akeyless.CreateRdpTarget(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "name")', function() { - // uncomment below and update the code to test the property name - //var instane = new akeyless.CreateRdpTarget(); - //expect(instance).to.be(); - }); - - it('should have the property protectionKey (base name: "protection_key")', function() { - // uncomment below and update the code to test the property protectionKey - //var instane = new akeyless.CreateRdpTarget(); - //expect(instance).to.be(); - }); - - it('should have the property token (base name: "token")', function() { - // uncomment below and update the code to test the property token - //var instane = new akeyless.CreateRdpTarget(); - //expect(instance).to.be(); - }); - - it('should have the property uidToken (base name: "uid-token")', function() { - // uncomment below and update the code to test the property uidToken - //var instane = new akeyless.CreateRdpTarget(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/CreateTargetOutput.spec.js b/test/model/CreateTargetOutput.spec.js deleted file mode 100644 index 23ebcf751..000000000 --- a/test/model/CreateTargetOutput.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.CreateTargetOutput(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('CreateTargetOutput', function() { - it('should create an instance of CreateTargetOutput', function() { - // uncomment below and update the code to test CreateTargetOutput - //var instane = new akeyless.CreateTargetOutput(); - //expect(instance).to.be.a(akeyless.CreateTargetOutput); - }); - - it('should have the property targetId (base name: "target_id")', function() { - // uncomment below and update the code to test the property targetId - //var instane = new akeyless.CreateTargetOutput(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/CustomerFragment.spec.js b/test/model/CustomerFragment.spec.js deleted file mode 100644 index c8a027006..000000000 --- a/test/model/CustomerFragment.spec.js +++ /dev/null @@ -1,77 +0,0 @@ -/** - * includes all operations supported by Akeyless. - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.1 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akl); - } -}(this, function(expect, akl) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akl.CustomerFragment(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('CustomerFragment', function() { - it('should create an instance of CustomerFragment', function() { - // uncomment below and update the code to test CustomerFragment - //var instane = new akl.CustomerFragment(); - //expect(instance).to.be.a(akl.CustomerFragment); - }); - - it('should have the property description (base name: "description")', function() { - // uncomment below and update the code to test the property description - //var instane = new akl.CustomerFragment(); - //expect(instance).to.be(); - }); - - it('should have the property id (base name: "id")', function() { - // uncomment below and update the code to test the property id - //var instane = new akl.CustomerFragment(); - //expect(instance).to.be(); - }); - - it('should have the property value (base name: "value")', function() { - // uncomment below and update the code to test the property value - //var instane = new akl.CustomerFragment(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/CustomerFragmentsJson.spec.js b/test/model/CustomerFragmentsJson.spec.js deleted file mode 100644 index 0f207953e..000000000 --- a/test/model/CustomerFragmentsJson.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * includes all operations supported by Akeyless. - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.1 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akl); - } -}(this, function(expect, akl) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akl.CustomerFragmentsJson(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('CustomerFragmentsJson', function() { - it('should create an instance of CustomerFragmentsJson', function() { - // uncomment below and update the code to test CustomerFragmentsJson - //var instane = new akl.CustomerFragmentsJson(); - //expect(instance).to.be.a(akl.CustomerFragmentsJson); - }); - - it('should have the property customerFragments (base name: "customer_fragments")', function() { - // uncomment below and update the code to test the property customerFragments - //var instane = new akl.CustomerFragmentsJson(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/EncryptPKCS1.spec.js b/test/model/EncryptPKCS1.spec.js deleted file mode 100644 index 9d1298709..000000000 --- a/test/model/EncryptPKCS1.spec.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * includes all operations supported by Akeyless. - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.1 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akl); - } -}(this, function(expect, akl) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akl.EncryptPKCS1(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('EncryptPKCS1', function() { - it('should create an instance of EncryptPKCS1', function() { - // uncomment below and update the code to test EncryptPKCS1 - //var instane = new akl.EncryptPKCS1(); - //expect(instance).to.be.a(akl.EncryptPKCS1); - }); - - it('should have the property keyName (base name: "key-name")', function() { - // uncomment below and update the code to test the property keyName - //var instane = new akl.EncryptPKCS1(); - //expect(instance).to.be(); - }); - - it('should have the property plaintext (base name: "plaintext")', function() { - // uncomment below and update the code to test the property plaintext - //var instane = new akl.EncryptPKCS1(); - //expect(instance).to.be(); - }); - - it('should have the property token (base name: "token")', function() { - // uncomment below and update the code to test the property token - //var instane = new akl.EncryptPKCS1(); - //expect(instance).to.be(); - }); - - it('should have the property uidToken (base name: "uid-token")', function() { - // uncomment below and update the code to test the property uidToken - //var instane = new akl.EncryptPKCS1(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/EncryptPKCS1Output.spec.js b/test/model/EncryptPKCS1Output.spec.js deleted file mode 100644 index ff410764d..000000000 --- a/test/model/EncryptPKCS1Output.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * includes all operations supported by Akeyless. - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.1 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akl); - } -}(this, function(expect, akl) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akl.EncryptPKCS1Output(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('EncryptPKCS1Output', function() { - it('should create an instance of EncryptPKCS1Output', function() { - // uncomment below and update the code to test EncryptPKCS1Output - //var instane = new akl.EncryptPKCS1Output(); - //expect(instance).to.be.a(akl.EncryptPKCS1Output); - }); - - it('should have the property result (base name: "result")', function() { - // uncomment below and update the code to test the property result - //var instane = new akl.EncryptPKCS1Output(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/GatewayAddAllowedManagementAccess.spec.js b/test/model/GatewayAddAllowedManagementAccess.spec.js deleted file mode 100644 index 1b32848ca..000000000 --- a/test/model/GatewayAddAllowedManagementAccess.spec.js +++ /dev/null @@ -1,113 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.GatewayAddAllowedManagementAccess(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('GatewayAddAllowedManagementAccess', function() { - it('should create an instance of GatewayAddAllowedManagementAccess', function() { - // uncomment below and update the code to test GatewayAddAllowedManagementAccess - //var instane = new akeyless.GatewayAddAllowedManagementAccess(); - //expect(instance).to.be.a(akeyless.GatewayAddAllowedManagementAccess); - }); - - it('should have the property allowGwApi (base name: "allow-gw-api")', function() { - // uncomment below and update the code to test the property allowGwApi - //var instane = new akeyless.GatewayAddAllowedManagementAccess(); - //expect(instance).to.be(); - }); - - it('should have the property allowGwLogin (base name: "allow-gw-login")', function() { - // uncomment below and update the code to test the property allowGwLogin - //var instane = new akeyless.GatewayAddAllowedManagementAccess(); - //expect(instance).to.be(); - }); - - it('should have the property gatewayUrl (base name: "gateway-url")', function() { - // uncomment below and update the code to test the property gatewayUrl - //var instane = new akeyless.GatewayAddAllowedManagementAccess(); - //expect(instance).to.be(); - }); - - it('should have the property password (base name: "password")', function() { - // uncomment below and update the code to test the property password - //var instane = new akeyless.GatewayAddAllowedManagementAccess(); - //expect(instance).to.be(); - }); - - it('should have the property subAdminAccessId (base name: "sub-admin-access-id")', function() { - // uncomment below and update the code to test the property subAdminAccessId - //var instane = new akeyless.GatewayAddAllowedManagementAccess(); - //expect(instance).to.be(); - }); - - it('should have the property subClaims (base name: "sub-claims")', function() { - // uncomment below and update the code to test the property subClaims - //var instane = new akeyless.GatewayAddAllowedManagementAccess(); - //expect(instance).to.be(); - }); - - it('should have the property token (base name: "token")', function() { - // uncomment below and update the code to test the property token - //var instane = new akeyless.GatewayAddAllowedManagementAccess(); - //expect(instance).to.be(); - }); - - it('should have the property uidToken (base name: "uid-token")', function() { - // uncomment below and update the code to test the property uidToken - //var instane = new akeyless.GatewayAddAllowedManagementAccess(); - //expect(instance).to.be(); - }); - - it('should have the property username (base name: "username")', function() { - // uncomment below and update the code to test the property username - //var instane = new akeyless.GatewayAddAllowedManagementAccess(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/GatewayAddSubAdmins.spec.js b/test/model/GatewayAddSubAdmins.spec.js deleted file mode 100644 index b078663ff..000000000 --- a/test/model/GatewayAddSubAdmins.spec.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.GatewayAddSubAdmins(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('GatewayAddSubAdmins', function() { - it('should create an instance of GatewayAddSubAdmins', function() { - // uncomment below and update the code to test GatewayAddSubAdmins - //var instane = new akeyless.GatewayAddSubAdmins(); - //expect(instance).to.be.a(akeyless.GatewayAddSubAdmins); - }); - - it('should have the property gatewayUrl (base name: "gateway-url")', function() { - // uncomment below and update the code to test the property gatewayUrl - //var instane = new akeyless.GatewayAddSubAdmins(); - //expect(instance).to.be(); - }); - - it('should have the property subAdmin (base name: "sub-admin")', function() { - // uncomment below and update the code to test the property subAdmin - //var instane = new akeyless.GatewayAddSubAdmins(); - //expect(instance).to.be(); - }); - - it('should have the property token (base name: "token")', function() { - // uncomment below and update the code to test the property token - //var instane = new akeyless.GatewayAddSubAdmins(); - //expect(instance).to.be(); - }); - - it('should have the property uidToken (base name: "uid-token")', function() { - // uncomment below and update the code to test the property uidToken - //var instane = new akeyless.GatewayAddSubAdmins(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/GatewayAddSubAdminsOutput.spec.js b/test/model/GatewayAddSubAdminsOutput.spec.js deleted file mode 100644 index 57f7bb5e3..000000000 --- a/test/model/GatewayAddSubAdminsOutput.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.GatewayAddSubAdminsOutput(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('GatewayAddSubAdminsOutput', function() { - it('should create an instance of GatewayAddSubAdminsOutput', function() { - // uncomment below and update the code to test GatewayAddSubAdminsOutput - //var instane = new akeyless.GatewayAddSubAdminsOutput(); - //expect(instance).to.be.a(akeyless.GatewayAddSubAdminsOutput); - }); - - it('should have the property subAdmins (base name: "sub-admins")', function() { - // uncomment below and update the code to test the property subAdmins - //var instane = new akeyless.GatewayAddSubAdminsOutput(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/GatewayBasicInfo.spec.js b/test/model/GatewayBasicInfo.spec.js deleted file mode 100644 index a814d5f6f..000000000 --- a/test/model/GatewayBasicInfo.spec.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.GatewayBasicInfo(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('GatewayBasicInfo', function() { - it('should create an instance of GatewayBasicInfo', function() { - // uncomment below and update the code to test GatewayBasicInfo - //var instane = new akeyless.GatewayBasicInfo(); - //expect(instance).to.be.a(akeyless.GatewayBasicInfo); - }); - - it('should have the property clusterDisplayName (base name: "cluster_display_name")', function() { - // uncomment below and update the code to test the property clusterDisplayName - //var instane = new akeyless.GatewayBasicInfo(); - //expect(instance).to.be(); - }); - - it('should have the property clusterId (base name: "cluster_id")', function() { - // uncomment below and update the code to test the property clusterId - //var instane = new akeyless.GatewayBasicInfo(); - //expect(instance).to.be(); - }); - - it('should have the property clusterName (base name: "cluster_name")', function() { - // uncomment below and update the code to test the property clusterName - //var instane = new akeyless.GatewayBasicInfo(); - //expect(instance).to.be(); - }); - - it('should have the property clusterUrl (base name: "cluster_url")', function() { - // uncomment below and update the code to test the property clusterUrl - //var instane = new akeyless.GatewayBasicInfo(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/GatewayCreateProducerCertificateAutomation.spec.js b/test/model/GatewayCreateProducerCertificateAutomation.spec.js deleted file mode 100644 index f96abd071..000000000 --- a/test/model/GatewayCreateProducerCertificateAutomation.spec.js +++ /dev/null @@ -1,185 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.GatewayCreateProducerCertificateAutomation(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('GatewayCreateProducerCertificateAutomation', function() { - it('should create an instance of GatewayCreateProducerCertificateAutomation', function() { - // uncomment below and update the code to test GatewayCreateProducerCertificateAutomation - //var instane = new akeyless.GatewayCreateProducerCertificateAutomation(); - //expect(instance).to.be.a(akeyless.GatewayCreateProducerCertificateAutomation); - }); - - it('should have the property adminRotationIntervalDays (base name: "admin-rotation-interval-days")', function() { - // uncomment below and update the code to test the property adminRotationIntervalDays - //var instane = new akeyless.GatewayCreateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property allowSubdomains (base name: "allow-subdomains")', function() { - // uncomment below and update the code to test the property allowSubdomains - //var instane = new akeyless.GatewayCreateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property allowedDomains (base name: "allowed-domains")', function() { - // uncomment below and update the code to test the property allowedDomains - //var instane = new akeyless.GatewayCreateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property autoGeneratedFolder (base name: "auto-generated-folder")', function() { - // uncomment below and update the code to test the property autoGeneratedFolder - //var instane = new akeyless.GatewayCreateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property enableAdminRotation (base name: "enable-admin-rotation")', function() { - // uncomment below and update the code to test the property enableAdminRotation - //var instane = new akeyless.GatewayCreateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property gatewayUrl (base name: "gateway-url")', function() { - // uncomment below and update the code to test the property gatewayUrl - //var instane = new akeyless.GatewayCreateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "name")', function() { - // uncomment below and update the code to test the property name - //var instane = new akeyless.GatewayCreateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property producerEncryptionKeyName (base name: "producer-encryption-key-name")', function() { - // uncomment below and update the code to test the property producerEncryptionKeyName - //var instane = new akeyless.GatewayCreateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property rootFirstInChain (base name: "root-first-in-chain")', function() { - // uncomment below and update the code to test the property rootFirstInChain - //var instane = new akeyless.GatewayCreateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property signUsingAkeylessPki (base name: "sign-using-akeyless-pki")', function() { - // uncomment below and update the code to test the property signUsingAkeylessPki - //var instane = new akeyless.GatewayCreateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property signerKeyName (base name: "signer-key-name")', function() { - // uncomment below and update the code to test the property signerKeyName - //var instane = new akeyless.GatewayCreateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property storePrivateKey (base name: "store-private-key")', function() { - // uncomment below and update the code to test the property storePrivateKey - //var instane = new akeyless.GatewayCreateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property token (base name: "token")', function() { - // uncomment below and update the code to test the property token - //var instane = new akeyless.GatewayCreateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property uidToken (base name: "uid-token")', function() { - // uncomment below and update the code to test the property uidToken - //var instane = new akeyless.GatewayCreateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property userTtl (base name: "user-ttl")', function() { - // uncomment below and update the code to test the property userTtl - //var instane = new akeyless.GatewayCreateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property venafiApiKey (base name: "venafi-api-key")', function() { - // uncomment below and update the code to test the property venafiApiKey - //var instane = new akeyless.GatewayCreateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property venafiBaseurl (base name: "venafi-baseurl")', function() { - // uncomment below and update the code to test the property venafiBaseurl - //var instane = new akeyless.GatewayCreateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property venafiPassword (base name: "venafi-password")', function() { - // uncomment below and update the code to test the property venafiPassword - //var instane = new akeyless.GatewayCreateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property venafiUseTpp (base name: "venafi-use-tpp")', function() { - // uncomment below and update the code to test the property venafiUseTpp - //var instane = new akeyless.GatewayCreateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property venafiUsername (base name: "venafi-username")', function() { - // uncomment below and update the code to test the property venafiUsername - //var instane = new akeyless.GatewayCreateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property venafiZone (base name: "venafi-zone")', function() { - // uncomment below and update the code to test the property venafiZone - //var instane = new akeyless.GatewayCreateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/GatewayCreateProducerCertificateAutomationOutput.spec.js b/test/model/GatewayCreateProducerCertificateAutomationOutput.spec.js deleted file mode 100644 index 4b579e196..000000000 --- a/test/model/GatewayCreateProducerCertificateAutomationOutput.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.GatewayCreateProducerCertificateAutomationOutput(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('GatewayCreateProducerCertificateAutomationOutput', function() { - it('should create an instance of GatewayCreateProducerCertificateAutomationOutput', function() { - // uncomment below and update the code to test GatewayCreateProducerCertificateAutomationOutput - //var instane = new akeyless.GatewayCreateProducerCertificateAutomationOutput(); - //expect(instance).to.be.a(akeyless.GatewayCreateProducerCertificateAutomationOutput); - }); - - it('should have the property producerDetails (base name: "producer_details")', function() { - // uncomment below and update the code to test the property producerDetails - //var instane = new akeyless.GatewayCreateProducerCertificateAutomationOutput(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/GatewayDeleteAllowedManagementAccess.spec.js b/test/model/GatewayDeleteAllowedManagementAccess.spec.js deleted file mode 100644 index 2e64cb56f..000000000 --- a/test/model/GatewayDeleteAllowedManagementAccess.spec.js +++ /dev/null @@ -1,95 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.GatewayDeleteAllowedManagementAccess(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('GatewayDeleteAllowedManagementAccess', function() { - it('should create an instance of GatewayDeleteAllowedManagementAccess', function() { - // uncomment below and update the code to test GatewayDeleteAllowedManagementAccess - //var instane = new akeyless.GatewayDeleteAllowedManagementAccess(); - //expect(instance).to.be.a(akeyless.GatewayDeleteAllowedManagementAccess); - }); - - it('should have the property gatewayUrl (base name: "gateway-url")', function() { - // uncomment below and update the code to test the property gatewayUrl - //var instane = new akeyless.GatewayDeleteAllowedManagementAccess(); - //expect(instance).to.be(); - }); - - it('should have the property password (base name: "password")', function() { - // uncomment below and update the code to test the property password - //var instane = new akeyless.GatewayDeleteAllowedManagementAccess(); - //expect(instance).to.be(); - }); - - it('should have the property subAdminId (base name: "sub-admin-id")', function() { - // uncomment below and update the code to test the property subAdminId - //var instane = new akeyless.GatewayDeleteAllowedManagementAccess(); - //expect(instance).to.be(); - }); - - it('should have the property token (base name: "token")', function() { - // uncomment below and update the code to test the property token - //var instane = new akeyless.GatewayDeleteAllowedManagementAccess(); - //expect(instance).to.be(); - }); - - it('should have the property uidToken (base name: "uid-token")', function() { - // uncomment below and update the code to test the property uidToken - //var instane = new akeyless.GatewayDeleteAllowedManagementAccess(); - //expect(instance).to.be(); - }); - - it('should have the property username (base name: "username")', function() { - // uncomment below and update the code to test the property username - //var instane = new akeyless.GatewayDeleteAllowedManagementAccess(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/GatewayDeleteSubAdmins.spec.js b/test/model/GatewayDeleteSubAdmins.spec.js deleted file mode 100644 index 112926916..000000000 --- a/test/model/GatewayDeleteSubAdmins.spec.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.GatewayDeleteSubAdmins(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('GatewayDeleteSubAdmins', function() { - it('should create an instance of GatewayDeleteSubAdmins', function() { - // uncomment below and update the code to test GatewayDeleteSubAdmins - //var instane = new akeyless.GatewayDeleteSubAdmins(); - //expect(instance).to.be.a(akeyless.GatewayDeleteSubAdmins); - }); - - it('should have the property gatewayUrl (base name: "gateway-url")', function() { - // uncomment below and update the code to test the property gatewayUrl - //var instane = new akeyless.GatewayDeleteSubAdmins(); - //expect(instance).to.be(); - }); - - it('should have the property subAdmin (base name: "sub-admin")', function() { - // uncomment below and update the code to test the property subAdmin - //var instane = new akeyless.GatewayDeleteSubAdmins(); - //expect(instance).to.be(); - }); - - it('should have the property token (base name: "token")', function() { - // uncomment below and update the code to test the property token - //var instane = new akeyless.GatewayDeleteSubAdmins(); - //expect(instance).to.be(); - }); - - it('should have the property uidToken (base name: "uid-token")', function() { - // uncomment below and update the code to test the property uidToken - //var instane = new akeyless.GatewayDeleteSubAdmins(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/GatewayDeleteSubAdminsOutput.spec.js b/test/model/GatewayDeleteSubAdminsOutput.spec.js deleted file mode 100644 index efabd7c42..000000000 --- a/test/model/GatewayDeleteSubAdminsOutput.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.GatewayDeleteSubAdminsOutput(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('GatewayDeleteSubAdminsOutput', function() { - it('should create an instance of GatewayDeleteSubAdminsOutput', function() { - // uncomment below and update the code to test GatewayDeleteSubAdminsOutput - //var instane = new akeyless.GatewayDeleteSubAdminsOutput(); - //expect(instance).to.be.a(akeyless.GatewayDeleteSubAdminsOutput); - }); - - it('should have the property subAdmins (base name: "sub-admins")', function() { - // uncomment below and update the code to test the property subAdmins - //var instane = new akeyless.GatewayDeleteSubAdminsOutput(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/GatewayListAllowedManagementAccess.spec.js b/test/model/GatewayListAllowedManagementAccess.spec.js deleted file mode 100644 index ab1e11052..000000000 --- a/test/model/GatewayListAllowedManagementAccess.spec.js +++ /dev/null @@ -1,89 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.GatewayListAllowedManagementAccess(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('GatewayListAllowedManagementAccess', function() { - it('should create an instance of GatewayListAllowedManagementAccess', function() { - // uncomment below and update the code to test GatewayListAllowedManagementAccess - //var instane = new akeyless.GatewayListAllowedManagementAccess(); - //expect(instance).to.be.a(akeyless.GatewayListAllowedManagementAccess); - }); - - it('should have the property gatewayUrl (base name: "gateway-url")', function() { - // uncomment below and update the code to test the property gatewayUrl - //var instane = new akeyless.GatewayListAllowedManagementAccess(); - //expect(instance).to.be(); - }); - - it('should have the property password (base name: "password")', function() { - // uncomment below and update the code to test the property password - //var instane = new akeyless.GatewayListAllowedManagementAccess(); - //expect(instance).to.be(); - }); - - it('should have the property token (base name: "token")', function() { - // uncomment below and update the code to test the property token - //var instane = new akeyless.GatewayListAllowedManagementAccess(); - //expect(instance).to.be(); - }); - - it('should have the property uidToken (base name: "uid-token")', function() { - // uncomment below and update the code to test the property uidToken - //var instane = new akeyless.GatewayListAllowedManagementAccess(); - //expect(instance).to.be(); - }); - - it('should have the property username (base name: "username")', function() { - // uncomment below and update the code to test the property username - //var instane = new akeyless.GatewayListAllowedManagementAccess(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/GatewayListSubAdmins.spec.js b/test/model/GatewayListSubAdmins.spec.js deleted file mode 100644 index 961a60c38..000000000 --- a/test/model/GatewayListSubAdmins.spec.js +++ /dev/null @@ -1,77 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.GatewayListSubAdmins(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('GatewayListSubAdmins', function() { - it('should create an instance of GatewayListSubAdmins', function() { - // uncomment below and update the code to test GatewayListSubAdmins - //var instane = new akeyless.GatewayListSubAdmins(); - //expect(instance).to.be.a(akeyless.GatewayListSubAdmins); - }); - - it('should have the property gatewayUrl (base name: "gateway-url")', function() { - // uncomment below and update the code to test the property gatewayUrl - //var instane = new akeyless.GatewayListSubAdmins(); - //expect(instance).to.be(); - }); - - it('should have the property token (base name: "token")', function() { - // uncomment below and update the code to test the property token - //var instane = new akeyless.GatewayListSubAdmins(); - //expect(instance).to.be(); - }); - - it('should have the property uidToken (base name: "uid-token")', function() { - // uncomment below and update the code to test the property uidToken - //var instane = new akeyless.GatewayListSubAdmins(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/GatewayUpdateProducerCertificateAutomation.spec.js b/test/model/GatewayUpdateProducerCertificateAutomation.spec.js deleted file mode 100644 index 0e180a956..000000000 --- a/test/model/GatewayUpdateProducerCertificateAutomation.spec.js +++ /dev/null @@ -1,209 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.GatewayUpdateProducerCertificateAutomation(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('GatewayUpdateProducerCertificateAutomation', function() { - it('should create an instance of GatewayUpdateProducerCertificateAutomation', function() { - // uncomment below and update the code to test GatewayUpdateProducerCertificateAutomation - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be.a(akeyless.GatewayUpdateProducerCertificateAutomation); - }); - - it('should have the property adminRotationIntervalDays (base name: "admin-rotation-interval-days")', function() { - // uncomment below and update the code to test the property adminRotationIntervalDays - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property allowSubdomains (base name: "allow-subdomains")', function() { - // uncomment below and update the code to test the property allowSubdomains - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property allowedDomains (base name: "allowed-domains")', function() { - // uncomment below and update the code to test the property allowedDomains - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property autoGeneratedFolder (base name: "auto-generated-folder")', function() { - // uncomment below and update the code to test the property autoGeneratedFolder - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property enableAdminRotation (base name: "enable-admin-rotation")', function() { - // uncomment below and update the code to test the property enableAdminRotation - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "name")', function() { - // uncomment below and update the code to test the property name - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property newName (base name: "new-name")', function() { - // uncomment below and update the code to test the property newName - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property password (base name: "password")', function() { - // uncomment below and update the code to test the property password - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property producerEncryptionKeyName (base name: "producer-encryption-key-name")', function() { - // uncomment below and update the code to test the property producerEncryptionKeyName - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property rootFirstInChain (base name: "root-first-in-chain")', function() { - // uncomment below and update the code to test the property rootFirstInChain - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property signUsingAkeylessPki (base name: "sign-using-akeyless-pki")', function() { - // uncomment below and update the code to test the property signUsingAkeylessPki - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property signerKeyName (base name: "signer-key-name")', function() { - // uncomment below and update the code to test the property signerKeyName - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property storePrivateKey (base name: "store-private-key")', function() { - // uncomment below and update the code to test the property storePrivateKey - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property tags (base name: "tags")', function() { - // uncomment below and update the code to test the property tags - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property targetName (base name: "target-name")', function() { - // uncomment below and update the code to test the property targetName - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property token (base name: "token")', function() { - // uncomment below and update the code to test the property token - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property uidToken (base name: "uid-token")', function() { - // uncomment below and update the code to test the property uidToken - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property userTtl (base name: "user-ttl")', function() { - // uncomment below and update the code to test the property userTtl - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property username (base name: "username")', function() { - // uncomment below and update the code to test the property username - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property venafiApiKey (base name: "venafi-api-key")', function() { - // uncomment below and update the code to test the property venafiApiKey - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property venafiBaseurl (base name: "venafi-baseurl")', function() { - // uncomment below and update the code to test the property venafiBaseurl - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property venafiPassword (base name: "venafi-password")', function() { - // uncomment below and update the code to test the property venafiPassword - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property venafiUseTpp (base name: "venafi-use-tpp")', function() { - // uncomment below and update the code to test the property venafiUseTpp - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property venafiUsername (base name: "venafi-username")', function() { - // uncomment below and update the code to test the property venafiUsername - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - it('should have the property venafiZone (base name: "venafi-zone")', function() { - // uncomment below and update the code to test the property venafiZone - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomation(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/GatewayUpdateProducerCertificateAutomationOutput.spec.js b/test/model/GatewayUpdateProducerCertificateAutomationOutput.spec.js deleted file mode 100644 index 284bf28e3..000000000 --- a/test/model/GatewayUpdateProducerCertificateAutomationOutput.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.GatewayUpdateProducerCertificateAutomationOutput(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('GatewayUpdateProducerCertificateAutomationOutput', function() { - it('should create an instance of GatewayUpdateProducerCertificateAutomationOutput', function() { - // uncomment below and update the code to test GatewayUpdateProducerCertificateAutomationOutput - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomationOutput(); - //expect(instance).to.be.a(akeyless.GatewayUpdateProducerCertificateAutomationOutput); - }); - - it('should have the property producerDetails (base name: "producer_details")', function() { - // uncomment below and update the code to test the property producerDetails - //var instane = new akeyless.GatewayUpdateProducerCertificateAutomationOutput(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/GetCloudIdentity.spec.js b/test/model/GetCloudIdentity.spec.js deleted file mode 100644 index 618d41032..000000000 --- a/test/model/GetCloudIdentity.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * includes all operations supported by Akeyless. - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.1 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akl); - } -}(this, function(expect, akl) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akl.GetCloudIdentity(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('GetCloudIdentity', function() { - it('should create an instance of GetCloudIdentity', function() { - // uncomment below and update the code to test GetCloudIdentity - //var instane = new akl.GetCloudIdentity(); - //expect(instance).to.be.a(akl.GetCloudIdentity); - }); - - it('should have the property azureAdObjectId (base name: "azure_ad_object_id")', function() { - // uncomment below and update the code to test the property azureAdObjectId - //var instane = new akl.GetCloudIdentity(); - //expect(instance).to.be(); - }); - - it('should have the property urlSafe (base name: "url_safe")', function() { - // uncomment below and update the code to test the property urlSafe - //var instane = new akl.GetCloudIdentity(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/GetCloudIdentityOutput.spec.js b/test/model/GetCloudIdentityOutput.spec.js deleted file mode 100644 index 58fcb9478..000000000 --- a/test/model/GetCloudIdentityOutput.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * includes all operations supported by Akeyless. - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 0.0.1 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akl); - } -}(this, function(expect, akl) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akl.GetCloudIdentityOutput(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('GetCloudIdentityOutput', function() { - it('should create an instance of GetCloudIdentityOutput', function() { - // uncomment below and update the code to test GetCloudIdentityOutput - //var instane = new akl.GetCloudIdentityOutput(); - //expect(instance).to.be.a(akl.GetCloudIdentityOutput); - }); - - it('should have the property token (base name: "token")', function() { - // uncomment below and update the code to test the property token - //var instane = new akl.GetCloudIdentityOutput(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/GetSubAdminsListReplyObj.spec.js b/test/model/GetSubAdminsListReplyObj.spec.js deleted file mode 100644 index 4ef726ef4..000000000 --- a/test/model/GetSubAdminsListReplyObj.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.GetSubAdminsListReplyObj(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('GetSubAdminsListReplyObj', function() { - it('should create an instance of GetSubAdminsListReplyObj', function() { - // uncomment below and update the code to test GetSubAdminsListReplyObj - //var instane = new akeyless.GetSubAdminsListReplyObj(); - //expect(instance).to.be.a(akeyless.GetSubAdminsListReplyObj); - }); - - it('should have the property subAdmins (base name: "sub_admins")', function() { - // uncomment below and update the code to test the property subAdmins - //var instane = new akeyless.GetSubAdminsListReplyObj(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/KMIPClientsConfigPart.spec.js b/test/model/KMIPClientsConfigPart.spec.js deleted file mode 100644 index 8080f02f8..000000000 --- a/test/model/KMIPClientsConfigPart.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.KMIPClientsConfigPart(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('KMIPClientsConfigPart', function() { - it('should create an instance of KMIPClientsConfigPart', function() { - // uncomment below and update the code to test KMIPClientsConfigPart - //var instane = new akeyless.KMIPClientsConfigPart(); - //expect(instance).to.be.a(akeyless.KMIPClientsConfigPart); - }); - - it('should have the property clients (base name: "clients")', function() { - // uncomment below and update the code to test the property clients - //var instane = new akeyless.KMIPClientsConfigPart(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/ManagedKeyDetailsInfo.spec.js b/test/model/ManagedKeyDetailsInfo.spec.js deleted file mode 100644 index ce143acb4..000000000 --- a/test/model/ManagedKeyDetailsInfo.spec.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.ManagedKeyDetailsInfo(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ManagedKeyDetailsInfo', function() { - it('should create an instance of ManagedKeyDetailsInfo', function() { - // uncomment below and update the code to test ManagedKeyDetailsInfo - //var instane = new akeyless.ManagedKeyDetailsInfo(); - //expect(instance).to.be.a(akeyless.ManagedKeyDetailsInfo); - }); - - it('should have the property isEnabled (base name: "is_enabled")', function() { - // uncomment below and update the code to test the property isEnabled - //var instane = new akeyless.ManagedKeyDetailsInfo(); - //expect(instance).to.be(); - }); - - it('should have the property isExternal (base name: "is_external")', function() { - // uncomment below and update the code to test the property isExternal - //var instane = new akeyless.ManagedKeyDetailsInfo(); - //expect(instance).to.be(); - }); - - it('should have the property keyType (base name: "key_type")', function() { - // uncomment below and update the code to test the property keyType - //var instane = new akeyless.ManagedKeyDetailsInfo(); - //expect(instance).to.be(); - }); - - it('should have the property targets (base name: "targets")', function() { - // uncomment below and update the code to test the property targets - //var instane = new akeyless.ManagedKeyDetailsInfo(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/ManagedKeyStatusInfo.spec.js b/test/model/ManagedKeyStatusInfo.spec.js deleted file mode 100644 index ef2f9dbad..000000000 --- a/test/model/ManagedKeyStatusInfo.spec.js +++ /dev/null @@ -1,77 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.ManagedKeyStatusInfo(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ManagedKeyStatusInfo', function() { - it('should create an instance of ManagedKeyStatusInfo', function() { - // uncomment below and update the code to test ManagedKeyStatusInfo - //var instane = new akeyless.ManagedKeyStatusInfo(); - //expect(instance).to.be.a(akeyless.ManagedKeyStatusInfo); - }); - - it('should have the property keyId (base name: "key_id")', function() { - // uncomment below and update the code to test the property keyId - //var instane = new akeyless.ManagedKeyStatusInfo(); - //expect(instance).to.be(); - }); - - it('should have the property lastError (base name: "last_error")', function() { - // uncomment below and update the code to test the property lastError - //var instane = new akeyless.ManagedKeyStatusInfo(); - //expect(instance).to.be(); - }); - - it('should have the property lastStatus (base name: "last_status")', function() { - // uncomment below and update the code to test the property lastStatus - //var instane = new akeyless.ManagedKeyStatusInfo(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/ManagedKeyTargetInfo.spec.js b/test/model/ManagedKeyTargetInfo.spec.js deleted file mode 100644 index 5d0fb75e0..000000000 --- a/test/model/ManagedKeyTargetInfo.spec.js +++ /dev/null @@ -1,77 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.ManagedKeyTargetInfo(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ManagedKeyTargetInfo', function() { - it('should create an instance of ManagedKeyTargetInfo', function() { - // uncomment below and update the code to test ManagedKeyTargetInfo - //var instane = new akeyless.ManagedKeyTargetInfo(); - //expect(instance).to.be.a(akeyless.ManagedKeyTargetInfo); - }); - - it('should have the property externalKmsId (base name: "external_kms_id")', function() { - // uncomment below and update the code to test the property externalKmsId - //var instane = new akeyless.ManagedKeyTargetInfo(); - //expect(instance).to.be(); - }); - - it('should have the property keyStatuses (base name: "key_statuses")', function() { - // uncomment below and update the code to test the property keyStatuses - //var instane = new akeyless.ManagedKeyTargetInfo(); - //expect(instance).to.be(); - }); - - it('should have the property targetAssocId (base name: "target_assoc_id")', function() { - // uncomment below and update the code to test the property targetAssocId - //var instane = new akeyless.ManagedKeyTargetInfo(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/NullTime.spec.js b/test/model/NullTime.spec.js deleted file mode 100644 index 6b858c34c..000000000 --- a/test/model/NullTime.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 3.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.NullTime(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('NullTime', function() { - it('should create an instance of NullTime', function() { - // uncomment below and update the code to test NullTime - //var instance = new akeyless.NullTime(); - //expect(instance).to.be.a(akeyless.NullTime); - }); - - it('should have the property time (base name: "Time")', function() { - // uncomment below and update the code to test the property time - //var instance = new akeyless.NullTime(); - //expect(instance).to.be(); - }); - - it('should have the property valid (base name: "Valid")', function() { - // uncomment below and update the code to test the property valid - //var instance = new akeyless.NullTime(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/RemoteSecretInfo.spec.js b/test/model/RemoteSecretInfo.spec.js deleted file mode 100644 index 47854adf2..000000000 --- a/test/model/RemoteSecretInfo.spec.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 3.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.RemoteSecretInfo(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('RemoteSecretInfo', function() { - it('should create an instance of RemoteSecretInfo', function() { - // uncomment below and update the code to test RemoteSecretInfo - //var instance = new akeyless.RemoteSecretInfo(); - //expect(instance).to.be.a(akeyless.RemoteSecretInfo); - }); - - it('should have the property lastError (base name: "last_error")', function() { - // uncomment below and update the code to test the property lastError - //var instance = new akeyless.RemoteSecretInfo(); - //expect(instance).to.be(); - }); - - it('should have the property namespace (base name: "namespace")', function() { - // uncomment below and update the code to test the property namespace - //var instance = new akeyless.RemoteSecretInfo(); - //expect(instance).to.be(); - }); - - it('should have the property secretId (base name: "secret_id")', function() { - // uncomment below and update the code to test the property secretId - //var instance = new akeyless.RemoteSecretInfo(); - //expect(instance).to.be(); - }); - - it('should have the property secretName (base name: "secret_name")', function() { - // uncomment below and update the code to test the property secretName - //var instance = new akeyless.RemoteSecretInfo(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/TargetObjectAssociation.spec.js b/test/model/TargetObjectAssociation.spec.js deleted file mode 100644 index da99981d8..000000000 --- a/test/model/TargetObjectAssociation.spec.js +++ /dev/null @@ -1,95 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.TargetObjectAssociation(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('TargetObjectAssociation', function() { - it('should create an instance of TargetObjectAssociation', function() { - // uncomment below and update the code to test TargetObjectAssociation - //var instane = new akeyless.TargetObjectAssociation(); - //expect(instance).to.be.a(akeyless.TargetObjectAssociation); - }); - - it('should have the property assocId (base name: "assoc_id")', function() { - // uncomment below and update the code to test the property assocId - //var instane = new akeyless.TargetObjectAssociation(); - //expect(instance).to.be(); - }); - - it('should have the property attributes (base name: "attributes")', function() { - // uncomment below and update the code to test the property attributes - //var instane = new akeyless.TargetObjectAssociation(); - //expect(instance).to.be(); - }); - - it('should have the property objectId (base name: "object_id")', function() { - // uncomment below and update the code to test the property objectId - //var instane = new akeyless.TargetObjectAssociation(); - //expect(instance).to.be(); - }); - - it('should have the property objectName (base name: "object_name")', function() { - // uncomment below and update the code to test the property objectName - //var instane = new akeyless.TargetObjectAssociation(); - //expect(instance).to.be(); - }); - - it('should have the property objectType (base name: "object_type")', function() { - // uncomment below and update the code to test the property objectType - //var instane = new akeyless.TargetObjectAssociation(); - //expect(instance).to.be(); - }); - - it('should have the property targetName (base name: "target_name")', function() { - // uncomment below and update the code to test the property targetName - //var instane = new akeyless.TargetObjectAssociation(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/TargetTypeDetailesInput.spec.js b/test/model/TargetTypeDetailesInput.spec.js deleted file mode 100644 index 6b1f03f30..000000000 --- a/test/model/TargetTypeDetailesInput.spec.js +++ /dev/null @@ -1,197 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.TargetTypeDetailesInput(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('TargetTypeDetailesInput', function() { - it('should create an instance of TargetTypeDetailesInput', function() { - // uncomment below and update the code to test TargetTypeDetailesInput - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be.a(akeyless.TargetTypeDetailesInput); - }); - - it('should have the property adminName (base name: "admin_name")', function() { - // uncomment below and update the code to test the property adminName - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - it('should have the property adminPwd (base name: "admin_pwd")', function() { - // uncomment below and update the code to test the property adminPwd - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - it('should have the property awsAccessKeyId (base name: "aws_access_key_id")', function() { - // uncomment below and update the code to test the property awsAccessKeyId - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - it('should have the property awsRegion (base name: "aws_region")', function() { - // uncomment below and update the code to test the property awsRegion - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - it('should have the property awsSecretAccessKey (base name: "aws_secret_access_key")', function() { - // uncomment below and update the code to test the property awsSecretAccessKey - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - it('should have the property awsSessionToken (base name: "aws_session_token")', function() { - // uncomment below and update the code to test the property awsSessionToken - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - it('should have the property dbHostName (base name: "db_host_name")', function() { - // uncomment below and update the code to test the property dbHostName - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - it('should have the property dbName (base name: "db_name")', function() { - // uncomment below and update the code to test the property dbName - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - it('should have the property dbPort (base name: "db_port")', function() { - // uncomment below and update the code to test the property dbPort - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - it('should have the property dbPwd (base name: "db_pwd")', function() { - // uncomment below and update the code to test the property dbPwd - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - it('should have the property dbServerCertificates (base name: "db_server_certificates")', function() { - // uncomment below and update the code to test the property dbServerCertificates - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - it('should have the property dbServerName (base name: "db_server_name")', function() { - // uncomment below and update the code to test the property dbServerName - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - it('should have the property dbUserName (base name: "db_user_name")', function() { - // uncomment below and update the code to test the property dbUserName - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - it('should have the property hostName (base name: "host_name")', function() { - // uncomment below and update the code to test the property hostName - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - it('should have the property hostPort (base name: "host_port")', function() { - // uncomment below and update the code to test the property hostPort - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - it('should have the property ip (base name: "ip")', function() { - // uncomment below and update the code to test the property ip - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - it('should have the property mongodbDbName (base name: "mongodb_db_name")', function() { - // uncomment below and update the code to test the property mongodbDbName - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - it('should have the property mongodbUriConnection (base name: "mongodb_uri_connection")', function() { - // uncomment below and update the code to test the property mongodbUriConnection - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - it('should have the property port (base name: "port")', function() { - // uncomment below and update the code to test the property port - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - it('should have the property rabbitmqServerPassword (base name: "rabbitmq_server_password")', function() { - // uncomment below and update the code to test the property rabbitmqServerPassword - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - it('should have the property rabbitmqServerUri (base name: "rabbitmq_server_uri")', function() { - // uncomment below and update the code to test the property rabbitmqServerUri - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - it('should have the property rabbitmqServerUser (base name: "rabbitmq_server_user")', function() { - // uncomment below and update the code to test the property rabbitmqServerUser - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - it('should have the property url (base name: "url")', function() { - // uncomment below and update the code to test the property url - //var instane = new akeyless.TargetTypeDetailesInput(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/UIdentityConfigPart.spec.js b/test/model/UIdentityConfigPart.spec.js deleted file mode 100644 index cfd3cfdc9..000000000 --- a/test/model/UIdentityConfigPart.spec.js +++ /dev/null @@ -1,89 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.UIdentityConfigPart(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('UIdentityConfigPart', function() { - it('should create an instance of UIdentityConfigPart', function() { - // uncomment below and update the code to test UIdentityConfigPart - //var instane = new akeyless.UIdentityConfigPart(); - //expect(instance).to.be.a(akeyless.UIdentityConfigPart); - }); - - it('should have the property uidAccessId (base name: "uid_access_id")', function() { - // uncomment below and update the code to test the property uidAccessId - //var instane = new akeyless.UIdentityConfigPart(); - //expect(instance).to.be(); - }); - - it('should have the property uidEnable (base name: "uid_enable")', function() { - // uncomment below and update the code to test the property uidEnable - //var instane = new akeyless.UIdentityConfigPart(); - //expect(instance).to.be(); - }); - - it('should have the property uidRotateInterval (base name: "uid_rotate_interval")', function() { - // uncomment below and update the code to test the property uidRotateInterval - //var instane = new akeyless.UIdentityConfigPart(); - //expect(instance).to.be(); - }); - - it('should have the property uidStatus (base name: "uid_status")', function() { - // uncomment below and update the code to test the property uidStatus - //var instane = new akeyless.UIdentityConfigPart(); - //expect(instance).to.be(); - }); - - it('should have the property uidToken (base name: "uid_token")', function() { - // uncomment below and update the code to test the property uidToken - //var instane = new akeyless.UIdentityConfigPart(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/UpdateManagedKey.spec.js b/test/model/UpdateManagedKey.spec.js deleted file mode 100644 index 832588de9..000000000 --- a/test/model/UpdateManagedKey.spec.js +++ /dev/null @@ -1,119 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.UpdateManagedKey(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('UpdateManagedKey', function() { - it('should create an instance of UpdateManagedKey', function() { - // uncomment below and update the code to test UpdateManagedKey - //var instane = new akeyless.UpdateManagedKey(); - //expect(instance).to.be.a(akeyless.UpdateManagedKey); - }); - - it('should have the property addTag (base name: "add-tag")', function() { - // uncomment below and update the code to test the property addTag - //var instane = new akeyless.UpdateManagedKey(); - //expect(instance).to.be(); - }); - - it('should have the property autoRotate (base name: "auto-rotate")', function() { - // uncomment below and update the code to test the property autoRotate - //var instane = new akeyless.UpdateManagedKey(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "name")', function() { - // uncomment below and update the code to test the property name - //var instane = new akeyless.UpdateManagedKey(); - //expect(instance).to.be(); - }); - - it('should have the property newMetadata (base name: "new-metadata")', function() { - // uncomment below and update the code to test the property newMetadata - //var instane = new akeyless.UpdateManagedKey(); - //expect(instance).to.be(); - }); - - it('should have the property newName (base name: "new-name")', function() { - // uncomment below and update the code to test the property newName - //var instane = new akeyless.UpdateManagedKey(); - //expect(instance).to.be(); - }); - - it('should have the property rmTag (base name: "rm-tag")', function() { - // uncomment below and update the code to test the property rmTag - //var instane = new akeyless.UpdateManagedKey(); - //expect(instance).to.be(); - }); - - it('should have the property rotationInterval (base name: "rotation-interval")', function() { - // uncomment below and update the code to test the property rotationInterval - //var instane = new akeyless.UpdateManagedKey(); - //expect(instance).to.be(); - }); - - it('should have the property token (base name: "token")', function() { - // uncomment below and update the code to test the property token - //var instane = new akeyless.UpdateManagedKey(); - //expect(instance).to.be(); - }); - - it('should have the property uidToken (base name: "uid-token")', function() { - // uncomment below and update the code to test the property uidToken - //var instane = new akeyless.UpdateManagedKey(); - //expect(instance).to.be(); - }); - - it('should have the property updateUrl (base name: "update-url")', function() { - // uncomment below and update the code to test the property updateUrl - //var instane = new akeyless.UpdateManagedKey(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/UpdateRotatedSecretSC.spec.js b/test/model/UpdateRotatedSecretSC.spec.js deleted file mode 100644 index d14f3dd41..000000000 --- a/test/model/UpdateRotatedSecretSC.spec.js +++ /dev/null @@ -1,155 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.UpdateRotatedSecretSC(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('UpdateRotatedSecretSC', function() { - it('should create an instance of UpdateRotatedSecretSC', function() { - // uncomment below and update the code to test UpdateRotatedSecretSC - //var instane = new akeyless.UpdateRotatedSecretSC(); - //expect(instance).to.be.a(akeyless.UpdateRotatedSecretSC); - }); - - it('should have the property addTag (base name: "add-tag")', function() { - // uncomment below and update the code to test the property addTag - //var instane = new akeyless.UpdateRotatedSecretSC(); - //expect(instance).to.be(); - }); - - it('should have the property autoRotate (base name: "auto-rotate")', function() { - // uncomment below and update the code to test the property autoRotate - //var instane = new akeyless.UpdateRotatedSecretSC(); - //expect(instance).to.be(); - }); - - it('should have the property gatewayUrl (base name: "gateway-url")', function() { - // uncomment below and update the code to test the property gatewayUrl - //var instane = new akeyless.UpdateRotatedSecretSC(); - //expect(instance).to.be(); - }); - - it('should have the property key (base name: "key")', function() { - // uncomment below and update the code to test the property key - //var instane = new akeyless.UpdateRotatedSecretSC(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "name")', function() { - // uncomment below and update the code to test the property name - //var instane = new akeyless.UpdateRotatedSecretSC(); - //expect(instance).to.be(); - }); - - it('should have the property newMetadata (base name: "new-metadata")', function() { - // uncomment below and update the code to test the property newMetadata - //var instane = new akeyless.UpdateRotatedSecretSC(); - //expect(instance).to.be(); - }); - - it('should have the property newName (base name: "new-name")', function() { - // uncomment below and update the code to test the property newName - //var instane = new akeyless.UpdateRotatedSecretSC(); - //expect(instance).to.be(); - }); - - it('should have the property newVersion (base name: "new-version")', function() { - // uncomment below and update the code to test the property newVersion - //var instane = new akeyless.UpdateRotatedSecretSC(); - //expect(instance).to.be(); - }); - - it('should have the property rmTag (base name: "rm-tag")', function() { - // uncomment below and update the code to test the property rmTag - //var instane = new akeyless.UpdateRotatedSecretSC(); - //expect(instance).to.be(); - }); - - it('should have the property rotationInterval (base name: "rotation-interval")', function() { - // uncomment below and update the code to test the property rotationInterval - //var instane = new akeyless.UpdateRotatedSecretSC(); - //expect(instance).to.be(); - }); - - it('should have the property rotationHour (base name: "rotation_hour")', function() { - // uncomment below and update the code to test the property rotationHour - //var instane = new akeyless.UpdateRotatedSecretSC(); - //expect(instance).to.be(); - }); - - it('should have the property rotatorCredsType (base name: "rotator_creds_type")', function() { - // uncomment below and update the code to test the property rotatorCredsType - //var instane = new akeyless.UpdateRotatedSecretSC(); - //expect(instance).to.be(); - }); - - it('should have the property sshPassword (base name: "ssh-password")', function() { - // uncomment below and update the code to test the property sshPassword - //var instane = new akeyless.UpdateRotatedSecretSC(); - //expect(instance).to.be(); - }); - - it('should have the property sshUsername (base name: "ssh-username")', function() { - // uncomment below and update the code to test the property sshUsername - //var instane = new akeyless.UpdateRotatedSecretSC(); - //expect(instance).to.be(); - }); - - it('should have the property token (base name: "token")', function() { - // uncomment below and update the code to test the property token - //var instane = new akeyless.UpdateRotatedSecretSC(); - //expect(instance).to.be(); - }); - - it('should have the property uidToken (base name: "uid-token")', function() { - // uncomment below and update the code to test the property uidToken - //var instane = new akeyless.UpdateRotatedSecretSC(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/UpdateRotatedSecretSCOutput.spec.js b/test/model/UpdateRotatedSecretSCOutput.spec.js deleted file mode 100644 index a09fee242..000000000 --- a/test/model/UpdateRotatedSecretSCOutput.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.UpdateRotatedSecretSCOutput(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('UpdateRotatedSecretSCOutput', function() { - it('should create an instance of UpdateRotatedSecretSCOutput', function() { - // uncomment below and update the code to test UpdateRotatedSecretSCOutput - //var instane = new akeyless.UpdateRotatedSecretSCOutput(); - //expect(instance).to.be.a(akeyless.UpdateRotatedSecretSCOutput); - }); - - it('should have the property name (base name: "name")', function() { - // uncomment below and update the code to test the property name - //var instane = new akeyless.UpdateRotatedSecretSCOutput(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/UpdateTokenizer.spec.js b/test/model/UpdateTokenizer.spec.js deleted file mode 100644 index 37329b05b..000000000 --- a/test/model/UpdateTokenizer.spec.js +++ /dev/null @@ -1,149 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.UpdateTokenizer(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('UpdateTokenizer', function() { - it('should create an instance of UpdateTokenizer', function() { - // uncomment below and update the code to test UpdateTokenizer - //var instane = new akeyless.UpdateTokenizer(); - //expect(instance).to.be.a(akeyless.UpdateTokenizer); - }); - - it('should have the property addTag (base name: "add-tag")', function() { - // uncomment below and update the code to test the property addTag - //var instane = new akeyless.UpdateTokenizer(); - //expect(instance).to.be(); - }); - - it('should have the property alphabet (base name: "alphabet")', function() { - // uncomment below and update the code to test the property alphabet - //var instane = new akeyless.UpdateTokenizer(); - //expect(instance).to.be(); - }); - - it('should have the property decryptionTemplate (base name: "decryption-template")', function() { - // uncomment below and update the code to test the property decryptionTemplate - //var instane = new akeyless.UpdateTokenizer(); - //expect(instance).to.be(); - }); - - it('should have the property encryptionKeyName (base name: "encryption-key-name")', function() { - // uncomment below and update the code to test the property encryptionKeyName - //var instane = new akeyless.UpdateTokenizer(); - //expect(instance).to.be(); - }); - - it('should have the property encryptionTemplate (base name: "encryption-template")', function() { - // uncomment below and update the code to test the property encryptionTemplate - //var instane = new akeyless.UpdateTokenizer(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "name")', function() { - // uncomment below and update the code to test the property name - //var instane = new akeyless.UpdateTokenizer(); - //expect(instance).to.be(); - }); - - it('should have the property newMetadata (base name: "new-metadata")', function() { - // uncomment below and update the code to test the property newMetadata - //var instane = new akeyless.UpdateTokenizer(); - //expect(instance).to.be(); - }); - - it('should have the property newName (base name: "new-name")', function() { - // uncomment below and update the code to test the property newName - //var instane = new akeyless.UpdateTokenizer(); - //expect(instance).to.be(); - }); - - it('should have the property pattern (base name: "pattern")', function() { - // uncomment below and update the code to test the property pattern - //var instane = new akeyless.UpdateTokenizer(); - //expect(instance).to.be(); - }); - - it('should have the property rmTag (base name: "rm-tag")', function() { - // uncomment below and update the code to test the property rmTag - //var instane = new akeyless.UpdateTokenizer(); - //expect(instance).to.be(); - }); - - it('should have the property templateType (base name: "template-type")', function() { - // uncomment below and update the code to test the property templateType - //var instane = new akeyless.UpdateTokenizer(); - //expect(instance).to.be(); - }); - - it('should have the property token (base name: "token")', function() { - // uncomment below and update the code to test the property token - //var instane = new akeyless.UpdateTokenizer(); - //expect(instance).to.be(); - }); - - it('should have the property tokenizerType (base name: "tokenizer-type")', function() { - // uncomment below and update the code to test the property tokenizerType - //var instane = new akeyless.UpdateTokenizer(); - //expect(instance).to.be(); - }); - - it('should have the property tweakType (base name: "tweak-type")', function() { - // uncomment below and update the code to test the property tweakType - //var instane = new akeyless.UpdateTokenizer(); - //expect(instance).to.be(); - }); - - it('should have the property uidToken (base name: "uid-token")', function() { - // uncomment below and update the code to test the property uidToken - //var instane = new akeyless.UpdateTokenizer(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/test/model/UpdateTokenizerOutput.spec.js b/test/model/UpdateTokenizerOutput.spec.js deleted file mode 100644 index 80fd8487b..000000000 --- a/test/model/UpdateTokenizerOutput.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * Akeyless API - * The purpose of this application is to provide access to Akeyless API. - * - * The version of the OpenAPI document: 2.0 - * Contact: support@akeyless.io - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.akeyless); - } -}(this, function(expect, akeyless) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new akeyless.UpdateTokenizerOutput(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('UpdateTokenizerOutput', function() { - it('should create an instance of UpdateTokenizerOutput', function() { - // uncomment below and update the code to test UpdateTokenizerOutput - //var instane = new akeyless.UpdateTokenizerOutput(); - //expect(instance).to.be.a(akeyless.UpdateTokenizerOutput); - }); - - it('should have the property name (base name: "name")', function() { - // uncomment below and update the code to test the property name - //var instane = new akeyless.UpdateTokenizerOutput(); - //expect(instance).to.be(); - }); - - }); - -}));