From 9f1182e8929bd6d312cc5fdf66a1d995fabc59b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20K=C3=B6nig?= <33655937+jkoenig134@users.noreply.github.com> Date: Tue, 8 Oct 2024 16:14:34 +0200 Subject: [PATCH] Add deletionDate to Relationship's peerDeletionInfo (#279) * chore: bump runtime * fix: update openapi * feat: add deletionDate to peerDeletionInfo --- package-lock.json | 359 ++++++++++++++---- package.json | 10 +- packages/sdk/package.json | 2 +- .../ConnectorPeerDeletionInfo.ts | 1 + src/modules/coreHttpApi/openapi.yml | 14 + 5 files changed, 308 insertions(+), 78 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9d77b8dc..9d9f1bfa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "@js-soft/docdb-access-mongo": "1.1.9", "@js-soft/node-logger": "1.2.0", "@js-soft/ts-utils": "^2.3.3", - "@nmshd/runtime": "6.0.1", + "@nmshd/runtime": "6.2.0", "agentkeepalive": "4.5.0", "amqplib": "^0.10.4", "axios": "^1.7.7", @@ -43,11 +43,11 @@ }, "devDependencies": { "@apidevtools/swagger-parser": "^10.1.0", - "@js-soft/eslint-config-ts": "1.6.9", + "@js-soft/eslint-config-ts": "1.6.11", "@js-soft/license-check": "1.0.9", "@nmshd/connector-sdk": "*", - "@nmshd/content": "6.0.1", - "@nmshd/core-types": "6.0.1", + "@nmshd/content": "6.2.0", + "@nmshd/core-types": "6.2.0", "@types/amqplib": "^0.10.5", "@types/compression": "^1.7.5", "@types/cors": "^2.8.17", @@ -59,7 +59,7 @@ "@types/lodash": "^4.17.10", "@types/luxon": "^3.4.2", "@types/nconf": "^0.10.7", - "@types/node": "^22.7.4", + "@types/node": "^22.7.5", "@types/on-headers": "^1.0.3", "@types/swagger-ui-express": "^4.1.6", "@types/yamljs": "^0.2.34", @@ -1700,26 +1700,217 @@ "node_modules/@js-soft/docdb-querytranslator": { "version": "1.1.5", "resolved": "https://registry.npmjs.org/@js-soft/docdb-querytranslator/-/docdb-querytranslator-1.1.5.tgz", - "integrity": "sha512-VfuAWmGF3fJ/hrbvk+2CYh3p6kdqlcdUtHrOM6LK9q7lnZrVHmlnaE242fhGoUiAiKF0w5PWhUtd5/lggEb0EA==" + "integrity": "sha512-VfuAWmGF3fJ/hrbvk+2CYh3p6kdqlcdUtHrOM6LK9q7lnZrVHmlnaE242fhGoUiAiKF0w5PWhUtd5/lggEb0EA==", + "license": "MIT" }, "node_modules/@js-soft/eslint-config-ts": { - "version": "1.6.9", - "resolved": "https://registry.npmjs.org/@js-soft/eslint-config-ts/-/eslint-config-ts-1.6.9.tgz", - "integrity": "sha512-PRseBdHg9o/bIs1VHUrYkfo7sg6v1t8qqepM9kHQd86bBO5EfEgHWQE5CrAvG/R3KMN+yGQfbELrWYxzUPXlgQ==", + "version": "1.6.11", + "resolved": "https://registry.npmjs.org/@js-soft/eslint-config-ts/-/eslint-config-ts-1.6.11.tgz", + "integrity": "sha512-euO4kbLzG6ruJzIWEYI4o04Lv3pOdY6hcTpzax1ia1aEaOk8DY0Fg8nOkWH9E2yatEiVcoa309KY51hlLRNRzQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "^7.14.1", - "@typescript-eslint/parser": "^7.14.1", + "@typescript-eslint/eslint-plugin": "^8.8.1", + "@typescript-eslint/parser": "^8.8.1", "eslint-plugin-chai-expect": "^3.1.0", - "eslint-plugin-chai-friendly": "^1.0.0", - "eslint-plugin-jest": "^28.6.0", - "eslint-plugin-mocha": "^10.4.3" + "eslint-plugin-chai-friendly": "^1.0.1", + "eslint-plugin-jest": "^28.8.3", + "eslint-plugin-mocha": "^10.5.0" }, "peerDependencies": { "eslint": ">=8" } }, + "node_modules/@js-soft/eslint-config-ts/node_modules/@typescript-eslint/eslint-plugin": { + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.8.1.tgz", + "integrity": "sha512-xfvdgA8AP/vxHgtgU310+WBnLB4uJQ9XdyP17RebG26rLtDrQJV3ZYrcopX91GrHmMoH8bdSwMRh2a//TiJ1jQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "8.8.1", + "@typescript-eslint/type-utils": "8.8.1", + "@typescript-eslint/utils": "8.8.1", + "@typescript-eslint/visitor-keys": "8.8.1", + "graphemer": "^1.4.0", + "ignore": "^5.3.1", + "natural-compare": "^1.4.0", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", + "eslint": "^8.57.0 || ^9.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@js-soft/eslint-config-ts/node_modules/@typescript-eslint/parser": { + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.8.1.tgz", + "integrity": "sha512-hQUVn2Lij2NAxVFEdvIGxT9gP1tq2yM83m+by3whWFsWC+1y8pxxxHUFE1UqDu2VsGi2i6RLcv4QvouM84U+ow==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "@typescript-eslint/scope-manager": "8.8.1", + "@typescript-eslint/types": "8.8.1", + "@typescript-eslint/typescript-estree": "8.8.1", + "@typescript-eslint/visitor-keys": "8.8.1", + "debug": "^4.3.4" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@js-soft/eslint-config-ts/node_modules/@typescript-eslint/scope-manager": { + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.8.1.tgz", + "integrity": "sha512-X4JdU+66Mazev/J0gfXlcC/dV6JI37h+93W9BRYXrSn0hrE64IoWgVkO9MSJgEzoWkxONgaQpICWg8vAN74wlA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.8.1", + "@typescript-eslint/visitor-keys": "8.8.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@js-soft/eslint-config-ts/node_modules/@typescript-eslint/type-utils": { + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.8.1.tgz", + "integrity": "sha512-qSVnpcbLP8CALORf0za+vjLYj1Wp8HSoiI8zYU5tHxRVj30702Z1Yw4cLwfNKhTPWp5+P+k1pjmD5Zd1nhxiZA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/typescript-estree": "8.8.1", + "@typescript-eslint/utils": "8.8.1", + "debug": "^4.3.4", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@js-soft/eslint-config-ts/node_modules/@typescript-eslint/types": { + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.8.1.tgz", + "integrity": "sha512-WCcTP4SDXzMd23N27u66zTKMuEevH4uzU8C9jf0RO4E04yVHgQgW+r+TeVTNnO1KIfrL8ebgVVYYMMO3+jC55Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@js-soft/eslint-config-ts/node_modules/@typescript-eslint/typescript-estree": { + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.8.1.tgz", + "integrity": "sha512-A5d1R9p+X+1js4JogdNilDuuq+EHZdsH9MjTVxXOdVFfTJXunKJR/v+fNNyO4TnoOn5HqobzfRlc70NC6HTcdg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "@typescript-eslint/types": "8.8.1", + "@typescript-eslint/visitor-keys": "8.8.1", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@js-soft/eslint-config-ts/node_modules/@typescript-eslint/utils": { + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.8.1.tgz", + "integrity": "sha512-/QkNJDbV0bdL7H7d0/y0qBbV2HTtf0TIyjSDTvvmQEzeVx8jEImEbLuOA4EsvE8gIgqMitns0ifb5uQhMj8d9w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "8.8.1", + "@typescript-eslint/types": "8.8.1", + "@typescript-eslint/typescript-estree": "8.8.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0" + } + }, + "node_modules/@js-soft/eslint-config-ts/node_modules/@typescript-eslint/visitor-keys": { + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.8.1.tgz", + "integrity": "sha512-0/TdC3aeRAsW7MDvYRwEc1Uwm0TIBfzjPFgg60UU2Haj5qsCs9cc3zNgY71edqE3LbWfF/WoZQd3lJoDXFQpag==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.8.1", + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, "node_modules/@js-soft/license-check": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/@js-soft/license-check/-/license-check-1.0.9.tgz", @@ -1756,6 +1947,7 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/@js-soft/simple-logger/-/simple-logger-1.0.5.tgz", "integrity": "sha512-ISrOACkOKJrlxsRazXHzXC1NeVxJEqUnorwPbb74wLPUkS09IY+8QE17QUkoLhv3R7eMJrhlaUMW/ZLyCn+kWQ==", + "license": "MIT", "dependencies": { "@js-soft/logging-abstractions": "1.0.1", "json-stringify-safe": "^5.0.1", @@ -1830,37 +2022,40 @@ "link": true }, "node_modules/@nmshd/consumption": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@nmshd/consumption/-/consumption-6.0.1.tgz", - "integrity": "sha512-6M+3Q9yaMBMCt79vIjkFkcxNGW7c1zSMqiHTApflOpi3LhC9o0IPGL3VvB4MtdXv9i9qoz+3UAqXOSgt7M78eA==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@nmshd/consumption/-/consumption-6.2.0.tgz", + "integrity": "sha512-fsFORhhST6+v/w9A3j8tP116E+P2EO6VRpuV9HVZ7KKXmtUrLctyzvYnxUuWw9yKsDyT6/FwC0B6M7y+5K2ULw==", + "license": "MIT", "dependencies": { "@js-soft/docdb-querytranslator": "^1.1.5", "@js-soft/ts-serval": "2.0.11", "@js-soft/ts-utils": "2.3.3", - "@nmshd/content": "6.0.1", - "@nmshd/core-types": "6.0.1", + "@nmshd/content": "6.2.0", + "@nmshd/core-types": "6.2.0", "@nmshd/iql": "^1.0.2", - "@nmshd/transport": "6.0.1", + "@nmshd/transport": "6.2.0", "lodash": "^4.17.21", "ts-simple-nameof": "^1.3.1" } }, "node_modules/@nmshd/content": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@nmshd/content/-/content-6.0.1.tgz", - "integrity": "sha512-bqosCFbKz1pQ1FHMHgNzydbYzIH9O4Vtvf6RjlNoIwVPcIH49yZXYXszwcSu73SkS22KuYVrRQgFc+bV32JMWg==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@nmshd/content/-/content-6.2.0.tgz", + "integrity": "sha512-CDwsFv4Do56+KTq7exuBkuuGu8JN8gmLBYvzIz/WfGDRGFkwuuQpHkC2ORT995uq6jTq8OY+7QR4gZW4uRv1wg==", + "license": "MIT", "dependencies": { "@js-soft/ts-serval": "2.0.11", - "@nmshd/core-types": "6.0.1", + "@nmshd/core-types": "6.2.0", "@nmshd/iql": "^1.0.2", "luxon": "^3.5.0", "ts-simple-nameof": "^1.3.1" } }, "node_modules/@nmshd/core-types": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@nmshd/core-types/-/core-types-6.0.1.tgz", - "integrity": "sha512-DjvbwlFyJmW/JJsEuRNnCymQfM0PyGuJXGmDfiVaRPuP4x60M8YvaROCnOVzsAGEuZl7I0a6OD78pEG3NXo2Hw==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@nmshd/core-types/-/core-types-6.2.0.tgz", + "integrity": "sha512-VoJ0Qz8G8If9e89vx6hT1ApnDpbYMWgGpuOVq5+Upp3p2aCf6a/E2ySi8IGTxQ03FrBMNl1dgdGb8eurh+isww==", + "license": "MIT", "dependencies": { "@js-soft/logging-abstractions": "^1.0.1", "@js-soft/ts-serval": "2.0.11", @@ -1869,12 +2064,26 @@ } }, "node_modules/@nmshd/crypto": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/@nmshd/crypto/-/crypto-2.0.6.tgz", - "integrity": "sha512-6A0vZcpd6a28vWkF3Ph7fiVgGHw1GB88cYUcaaqeMNTebRpb+jIkT+7KiU/qI74/qrWz0pf4fiNTrXWXz1NnXg==", + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@nmshd/crypto/-/crypto-2.0.7.tgz", + "integrity": "sha512-yL/Hq5AgNFr94B5gCeBtDMX8naZy/RV/Mlo5yNfj46xW6yDrANa3r2f3mnaQpO2SA3unkDLkqQwO0TxLttmkvQ==", + "license": "MIT", "dependencies": { - "libsodium-wrappers-sumo": "0.7.13", - "uuid": "9.0.1" + "libsodium-wrappers-sumo": "0.7.15", + "uuid": "10.0.0" + } + }, + "node_modules/@nmshd/crypto/node_modules/uuid": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", + "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" } }, "node_modules/@nmshd/iql": { @@ -1884,20 +2093,21 @@ "license": "MIT" }, "node_modules/@nmshd/runtime": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@nmshd/runtime/-/runtime-6.0.1.tgz", - "integrity": "sha512-jNYyKKF0E3B4GXraIEZ0V5tppRQLvG9nLS9BYCeLqH9oDWOJzTRvjI1eRKYGAne5sRh/pppcBdM7tJ2J/MDT2w==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@nmshd/runtime/-/runtime-6.2.0.tgz", + "integrity": "sha512-ufRGahc5D1Ec/x9NAGNXEVk1cgQKfiVG4tSadwypdySzrG0upi1DdjWv5N+xsK1WyRSDGdobimNgGyNWpxv2wQ==", + "license": "MIT", "dependencies": { "@js-soft/docdb-querytranslator": "^1.1.5", "@js-soft/logging-abstractions": "^1.0.1", "@js-soft/ts-serval": "2.0.11", "@js-soft/ts-utils": "^2.3.3", - "@nmshd/consumption": "6.0.1", - "@nmshd/content": "6.0.1", - "@nmshd/core-types": "6.0.1", - "@nmshd/crypto": "2.0.6", + "@nmshd/consumption": "6.2.0", + "@nmshd/content": "6.2.0", + "@nmshd/core-types": "6.2.0", + "@nmshd/crypto": "2.0.7", "@nmshd/iql": "^1.0.2", - "@nmshd/transport": "6.0.1", + "@nmshd/transport": "6.2.0", "ajv": "^8.17.1", "ajv-errors": "^3.0.0", "ajv-formats": "^3.0.1", @@ -1911,16 +2121,17 @@ } }, "node_modules/@nmshd/transport": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@nmshd/transport/-/transport-6.0.1.tgz", - "integrity": "sha512-Sl+fv9NdlXH99BeYKuy53D4LASWaLXN6Ch2AMD0zSUwthBsSLqtADwjl7Z1obDoS34aiP2WhmKml0cI9k2brTA==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/@nmshd/transport/-/transport-6.2.0.tgz", + "integrity": "sha512-aGG08vO+Cwceg0seLjJYM6/UdLSXuqlacwUCUuxvWVRyBWbk4v3ZnOCcLO3bFRLsMDaLhsQU97i9YkqVqe0q2Q==", + "license": "MIT", "dependencies": { "@js-soft/docdb-access-abstractions": "1.0.4", "@js-soft/logging-abstractions": "^1.0.1", "@js-soft/simple-logger": "1.0.5", "@js-soft/ts-utils": "^2.3.3", - "@nmshd/core-types": "6.0.1", - "@nmshd/crypto": "2.0.6", + "@nmshd/core-types": "6.2.0", + "@nmshd/crypto": "2.0.7", "axios": "^1.7.7", "fast-json-patch": "^3.1.1", "form-data": "^4.0.0", @@ -1942,6 +2153,7 @@ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" ], + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } @@ -2989,9 +3201,10 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "22.7.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.4.tgz", - "integrity": "sha512-y+NPi1rFzDs1NdQHHToqeiX2TIS79SWEAw9GYhkkx8bD0ChpfqC+n2j5OXOCpzfojBEBt6DnEnnG9MY0zk1XLg==", + "version": "22.7.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz", + "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==", + "license": "MIT", "dependencies": { "undici-types": "~6.19.2" } @@ -3175,6 +3388,8 @@ "integrity": "sha512-94EQTWZ40mzBc42ATNIBimBEDltSJ9RQHCC8vc/PDbxi4k8dVwUAv4o98dk50M1zB+JGFxp43FP7f8+FP8R6Sw==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "@eslint-community/regexpp": "^4.10.0", "@typescript-eslint/scope-manager": "7.18.0", @@ -3209,6 +3424,8 @@ "integrity": "sha512-4Z+L8I2OqhZV8qA132M4wNL30ypZGYOQVBfMgxDH/K5UX0PNqTu1c6za9ST5r9+tavvHiTWmBnKzpCJ/GlVFtg==", "dev": true, "license": "BSD-2-Clause", + "optional": true, + "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "7.18.0", "@typescript-eslint/types": "7.18.0", @@ -3256,6 +3473,8 @@ "integrity": "sha512-XL0FJXuCLaDuX2sYqZUUSOJ2sG5/i1AAze+axqmLnSkNEVMVYLF+cbwlB2w8D1tinFuSikHmFta+P+HOofrLeA==", "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "@typescript-eslint/typescript-estree": "7.18.0", "@typescript-eslint/utils": "7.18.0", @@ -8743,14 +8962,16 @@ "node_modules/libsodium-sumo": { "version": "0.7.15", "resolved": "https://registry.npmjs.org/libsodium-sumo/-/libsodium-sumo-0.7.15.tgz", - "integrity": "sha512-5tPmqPmq8T8Nikpm1Nqj0hBHvsLFCXvdhBFV7SGOitQPZAA6jso8XoL0r4L7vmfKXr486fiQInvErHtEvizFMw==" + "integrity": "sha512-5tPmqPmq8T8Nikpm1Nqj0hBHvsLFCXvdhBFV7SGOitQPZAA6jso8XoL0r4L7vmfKXr486fiQInvErHtEvizFMw==", + "license": "ISC" }, "node_modules/libsodium-wrappers-sumo": { - "version": "0.7.13", - "resolved": "https://registry.npmjs.org/libsodium-wrappers-sumo/-/libsodium-wrappers-sumo-0.7.13.tgz", - "integrity": "sha512-lz4YdplzDRh6AhnLGF2Dj2IUj94xRN6Bh8T0HLNwzYGwPehQJX6c7iYVrFUPZ3QqxE0bqC+K0IIqqZJYWumwSQ==", + "version": "0.7.15", + "resolved": "https://registry.npmjs.org/libsodium-wrappers-sumo/-/libsodium-wrappers-sumo-0.7.15.tgz", + "integrity": "sha512-aSWY8wKDZh5TC7rMvEdTHoyppVq/1dTSAeAR7H6pzd6QRT3vQWcT5pGwCotLcpPEOLXX6VvqihSPkpEhYAjANA==", + "license": "ISC", "dependencies": { - "libsodium-sumo": "^0.7.13" + "libsodium-sumo": "^0.7.15" } }, "node_modules/license-checker": { @@ -13378,12 +13599,14 @@ "node_modules/typescript-logging": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/typescript-logging/-/typescript-logging-2.2.0.tgz", - "integrity": "sha512-mPKFGAgGJmeCqrzA6B64Lqoz6vLPtxa8yCd7sWAnfrz9opuNlxqW57VxjtEOL0OOoQeTdc/kBjGUh8sieBXa8A==" + "integrity": "sha512-mPKFGAgGJmeCqrzA6B64Lqoz6vLPtxa8yCd7sWAnfrz9opuNlxqW57VxjtEOL0OOoQeTdc/kBjGUh8sieBXa8A==", + "license": "Apache-2.0" }, "node_modules/typescript-logging-log4ts-style": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/typescript-logging-log4ts-style/-/typescript-logging-log4ts-style-2.2.0.tgz", "integrity": "sha512-NP8uoFVoNJkhH6iOM1Y8+/RVFoSPCxLe/kgdxQ0uJNhUJh4CLp7CuMIh/njC9mzK0wdq2DgSJcmlzkqnRXx1Eg==", + "license": "Apache-2.0", "peerDependencies": { "typescript-logging": "~2.2.0" } @@ -14218,7 +14441,7 @@ "name": "@nmshd/connector-sdk", "license": "MIT", "dependencies": { - "@nmshd/content": "6.0.1", + "@nmshd/content": "6.2.0", "axios": "^1.7.7", "form-data": "^4.0.0", "qs": "^6.13.0" @@ -14229,38 +14452,30 @@ "ts-json-schema-generator": "^2.3.0" } }, - "packages/sdk/node_modules/@js-soft/ts-serval": { - "version": "2.0.10", - "license": "MIT", - "dependencies": { - "lodash": "^4.17.21", - "reflect-metadata": "^0.1.13" - } - }, "packages/sdk/node_modules/@nmshd/content": { - "version": "5.4.1", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@nmshd/content/-/content-6.0.1.tgz", + "integrity": "sha512-bqosCFbKz1pQ1FHMHgNzydbYzIH9O4Vtvf6RjlNoIwVPcIH49yZXYXszwcSu73SkS22KuYVrRQgFc+bV32JMWg==", "license": "MIT", "dependencies": { - "@js-soft/ts-serval": "2.0.10", - "@nmshd/core-types": "5.4.1", + "@js-soft/ts-serval": "2.0.11", + "@nmshd/core-types": "6.0.1", "@nmshd/iql": "^1.0.2", "luxon": "^3.5.0", "ts-simple-nameof": "^1.3.1" } }, "packages/sdk/node_modules/@nmshd/core-types": { - "version": "5.4.1", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@nmshd/core-types/-/core-types-6.0.1.tgz", + "integrity": "sha512-DjvbwlFyJmW/JJsEuRNnCymQfM0PyGuJXGmDfiVaRPuP4x60M8YvaROCnOVzsAGEuZl7I0a6OD78pEG3NXo2Hw==", "license": "MIT", "dependencies": { "@js-soft/logging-abstractions": "^1.0.1", - "@js-soft/ts-serval": "2.0.10", + "@js-soft/ts-serval": "2.0.11", "json-stringify-safe": "^5.0.1", "luxon": "^3.5.0" } - }, - "packages/sdk/node_modules/reflect-metadata": { - "version": "0.1.14", - "license": "Apache-2.0" } } } diff --git a/package.json b/package.json index 840c37c1..3c931004 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "@js-soft/docdb-access-mongo": "1.1.9", "@js-soft/node-logger": "1.2.0", "@js-soft/ts-utils": "^2.3.3", - "@nmshd/runtime": "6.0.1", + "@nmshd/runtime": "6.2.0", "agentkeepalive": "4.5.0", "amqplib": "^0.10.4", "axios": "^1.7.7", @@ -111,11 +111,11 @@ }, "devDependencies": { "@apidevtools/swagger-parser": "^10.1.0", - "@js-soft/eslint-config-ts": "1.6.9", + "@js-soft/eslint-config-ts": "1.6.11", "@js-soft/license-check": "1.0.9", "@nmshd/connector-sdk": "*", - "@nmshd/content": "6.0.1", - "@nmshd/core-types": "6.0.1", + "@nmshd/content": "6.2.0", + "@nmshd/core-types": "6.2.0", "@types/amqplib": "^0.10.5", "@types/compression": "^1.7.5", "@types/cors": "^2.8.17", @@ -127,7 +127,7 @@ "@types/lodash": "^4.17.10", "@types/luxon": "^3.4.2", "@types/nconf": "^0.10.7", - "@types/node": "^22.7.4", + "@types/node": "^22.7.5", "@types/on-headers": "^1.0.3", "@types/swagger-ui-express": "^4.1.6", "@types/yamljs": "^0.2.34", diff --git a/packages/sdk/package.json b/packages/sdk/package.json index ed288343..ec91acfd 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -30,7 +30,7 @@ "build:schemas:watch": "npx nodemon -e ts -w 'src/types' --exec 'npm run build:schemas'" }, "dependencies": { - "@nmshd/content": "6.0.1", + "@nmshd/content": "6.2.0", "axios": "^1.7.7", "form-data": "^4.0.0", "qs": "^6.13.0" diff --git a/packages/sdk/src/types/relationships/ConnectorPeerDeletionInfo.ts b/packages/sdk/src/types/relationships/ConnectorPeerDeletionInfo.ts index 1a7ea4e1..bfb816c2 100644 --- a/packages/sdk/src/types/relationships/ConnectorPeerDeletionInfo.ts +++ b/packages/sdk/src/types/relationships/ConnectorPeerDeletionInfo.ts @@ -5,4 +5,5 @@ export enum ConnectorPeerDeletionStatus { export interface ConnectorPeerDeletionInfo { deletionStatus: ConnectorPeerDeletionStatus; + deletionDate: string; } diff --git a/src/modules/coreHttpApi/openapi.yml b/src/modules/coreHttpApi/openapi.yml index 61f0f8aa..913b6144 100644 --- a/src/modules/coreHttpApi/openapi.yml +++ b/src/modules/coreHttpApi/openapi.yml @@ -5402,6 +5402,20 @@ components: - $ref: "#/components/schemas/Address" nullable: false description: The address of the peer identity. + peerDeletionInfo: + type: object + additionalProperties: false + properties: + deletionStatus: + type: string + enum: ["ToBeDeleted", "Deleted"] + description: The status of the deletion + deletionDate: + type: string + description: The date of the deletion + required: + - deletionStatus + - deletionDate creationContent: allOf: - $ref: "#/components/schemas/RelationshipCreationContent"