{"_id":"@amag-ch/cds","_rev":"11-e557c9a84bb45dbdbf12606904bb812a","name":"@amag-ch/cds","dist-tags":{"latest":"1.24.0"},"versions":{"1.17.0":{"name":"@amag-ch/cds","version":"1.17.0","author":{"name":"AMAG Corporate Services AG"},"license":"MIT","_id":"@amag-ch/cds@1.17.0","maintainers":[{"name":"thju-amag-ch","email":"thomas.jurk@amag.ch"},{"name":"integration-amag-ch","email":"integration@amag.ch"}],"homepage":"https://gitlab.com/amag_web/sap/cap/common/cds#readme","bugs":{"url":"https://gitlab.com/amag_web/sap/cap/common/cds/issues"},"cds":{"log":{"levels":{"rest":"warn","odata":"warn","[development]":{"auth":"debug","rest":"info","odata":"info"}}},"i18n":{"for_sql":["en","de","fr","it"],"languages":["en","de","fr","it"],"for_sqlite":["en","de","fr","it"],"default_language":"de"},"features":{"assert_integrity":"db"},"requires":{"kinds":{"hana":{"pool":{"acquireTimeoutMillis":60000},"deploy-format":"hdbtable"},"mocked-auth":{"users":{"system-user":{"roles":["system-user"]}}}},"middlewares":true}},"dist":{"shasum":"7aa730662ace644451737b47700d98ae6c1ff27f","tarball":"https://registry.npmjs.org/@amag-ch/cds/-/cds-1.17.0.tgz","fileCount":18,"integrity":"sha512-ewnCZNJS4SD/HJb6NN1RqfoARXq0I6MW/Hz5v1t/qk3dCvGsiJ4obXpFOGzNoBUtfaDkEmrS8Uzo5ewO4R+D+Q==","signatures":[{"sig":"MEUCIQDQhErB5mACVEa08XrIAVCutMYnydKhUKHzk7pJlPdEdQIgLDup8jLb2RcfHx9rWAdl3qRqVGyXx42RdTpPNfsT7O4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16638},"main":"index.js","engines":{"node":">=14.0.0"},"gitHead":"34a6f90fb7f95a3a4cf33fa7d3a45eff61820910","private":false,"_npmUser":{"name":"integration-amag-ch","email":"integration@amag.ch"},"repository":{"url":"git+https://gitlab.com/amag_web/sap/cap/common/cds.git","type":"git"},"_npmVersion":"10.9.2","description":"NodeJS library to add additional cds runtime features","directories":{},"_nodeVersion":"22.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@sap/cds":">=5"},"_npmOperationalInternal":{"tmp":"tmp/cds_1.17.0_1742834222673_0.2045108148790331","host":"s3://npm-registry-packages-npm-production"}},"1.18.0":{"name":"@amag-ch/cds","version":"1.18.0","author":{"name":"AMAG Corporate Services AG"},"license":"MIT","_id":"@amag-ch/cds@1.18.0","maintainers":[{"name":"thju-amag-ch","email":"thomas.jurk@amag.ch"},{"name":"integration-amag-ch","email":"integration@amag.ch"}],"homepage":"https://gitlab.com/amag_web/sap/cap/common/cds#readme","bugs":{"url":"https://gitlab.com/amag_web/sap/cap/common/cds/issues"},"cds":{"log":{"levels":{"rest":"warn","odata":"warn","[development]":{"auth":"debug","rest":"info","odata":"info"}}},"i18n":{"for_sql":["en","de","fr","it"],"languages":["en","de","fr","it"],"for_sqlite":["en","de","fr","it"],"default_language":"de"},"features":{"assert_integrity":"db"},"requires":{"kinds":{"hana":{"pool":{"acquireTimeoutMillis":60000},"deploy-format":"hdbtable"},"mocked-auth":{"users":{"system-user":{"roles":["system-user"]}}}},"middlewares":true}},"dist":{"shasum":"9f9e59d48b40fdca0cf46477770512a95274d9fe","tarball":"https://registry.npmjs.org/@amag-ch/cds/-/cds-1.18.0.tgz","fileCount":18,"integrity":"sha512-g2bF77Zln735QBjCU7X3PFY34kibpMJJZY8DG72+5Opf6sf7CoBhSsInUy6x+twRUeTZHrfgoTlmyVpnz+Bl8g==","signatures":[{"sig":"MEUCIEVGzRtFiaDaBWAyqDOKv/3EmJU48WmSZo+fgyuWw07aAiEAk67odEXWbr462FuKyKv4BRuH9PeJ0bvMtYPvHxTu+6E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16709},"main":"index.js","engines":{"node":">=14.0.0"},"gitHead":"278e82af252d61c1e96b19ead8727f569155268e","private":false,"_npmUser":{"name":"integration-amag-ch","email":"integration@amag.ch"},"repository":{"url":"git+https://gitlab.com/amag_web/sap/cap/common/cds.git","type":"git"},"_npmVersion":"10.9.3","description":"NodeJS library to add additional cds runtime features","directories":{},"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@sap/cds":">=5"},"_npmOperationalInternal":{"tmp":"tmp/cds_1.18.0_1757938393255_0.32931763460568764","host":"s3://npm-registry-packages-npm-production"}},"1.19.0":{"name":"@amag-ch/cds","version":"1.19.0","author":{"name":"AMAG Corporate Services AG"},"license":"MIT","_id":"@amag-ch/cds@1.19.0","maintainers":[{"name":"thju-amag-ch","email":"thomas.jurk@amag.ch"},{"name":"integration-amag-ch","email":"integration@amag.ch"}],"homepage":"https://gitlab.com/amag_web/sap/cap/common/cds#readme","bugs":{"url":"https://gitlab.com/amag_web/sap/cap/common/cds/issues"},"cds":{"log":{"levels":{"rest":"warn","odata":"warn","[development]":{"auth":"debug","rest":"info","odata":"info"}}},"i18n":{"for_sql":["en","de","fr","it"],"languages":["en","de","fr","it"],"for_sqlite":["en","de","fr","it"],"default_language":"de"},"features":{"assert_integrity":"db"},"requires":{"kinds":{"hana":{"pool":{"acquireTimeoutMillis":60000},"deploy-format":"hdbtable"},"mocked-auth":{"users":{"system-user":{"roles":["system-user"]}}}},"middlewares":true}},"dist":{"shasum":"95fd1215b61060fd7c58107a2bc91f80dd12ed08","tarball":"https://registry.npmjs.org/@amag-ch/cds/-/cds-1.19.0.tgz","fileCount":26,"integrity":"sha512-YvVTNShLVKfHh4l2MlfKxbJBD7yb8CxxYZPLvtUKRl2h3Si2N9O4UBtFtJViSSf4NylLrEXG7KOGHgg2KGNgPw==","signatures":[{"sig":"MEQCIAE6BEh7INJ8g92XbsrQq6lMvMaDGQU8V7eArcD1R5v/AiAgVi+3k+uFC2pUmzfeJxsQOL9rl71Fd818YzcfqUee5g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25885},"main":"index.js","engines":{"node":">=14.0.0"},"gitHead":"5545133615658d20abc20a3ff52a4142cbf34e59","private":false,"_npmUser":{"name":"integration-amag-ch","email":"integration@amag.ch"},"repository":{"url":"git+https://gitlab.com/amag_web/sap/cap/common/cds.git","type":"git"},"_npmVersion":"10.9.3","description":"NodeJS library to add additional cds runtime features","directories":{},"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@sap/cds":">=5"},"_npmOperationalInternal":{"tmp":"tmp/cds_1.19.0_1758024959273_0.5417593904195119","host":"s3://npm-registry-packages-npm-production"}},"1.20.0":{"name":"@amag-ch/cds","version":"1.20.0","author":{"name":"AMAG Corporate Services AG"},"license":"MIT","_id":"@amag-ch/cds@1.20.0","maintainers":[{"name":"thju-amag-ch","email":"thomas.jurk@amag.ch"},{"name":"integration-amag-ch","email":"integration@amag.ch"}],"homepage":"https://gitlab.com/amag_web/sap/cap/common/cds#readme","bugs":{"url":"https://gitlab.com/amag_web/sap/cap/common/cds/issues"},"cds":{"log":{"levels":{"rest":"warn","odata":"warn","[development]":{"auth":"debug","rest":"info","odata":"info"}}},"i18n":{"for_sql":["en","de","fr","it"],"languages":["en","de","fr","it"],"for_sqlite":["en","de","fr","it"],"default_language":"de"},"features":{"assert_integrity":"db"},"requires":{"kinds":{"hana":{"pool":{"acquireTimeoutMillis":60000},"deploy-format":"hdbtable"},"mocked-auth":{"users":{"system-user":{"roles":["system-user"]}}}},"middlewares":true}},"dist":{"shasum":"7dfea111e4a225c539ffa32dee4cf8939273b5de","tarball":"https://registry.npmjs.org/@amag-ch/cds/-/cds-1.20.0.tgz","fileCount":26,"integrity":"sha512-b16hhNaU7vdhCxf2/yi3y9FRYPexxyyqfEyQw8tA5/1B7zCBul/vAstyZ182CvFmLvk0FyLDW30+8e8n1TImeQ==","signatures":[{"sig":"MEUCIQC444nNhjHNWNM4ij1SfCuh/w/W71BDQTFG3eZQOjs9AAIgEH6GmoYpg2hvNEKolWN7DS40V2ItAD7hNYQRHDhWUZQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26074},"main":"index.js","engines":{"node":">=14.0.0"},"gitHead":"e61b45f999dd384509a872eed17871bf3876621c","private":false,"_npmUser":{"name":"integration-amag-ch","email":"integration@amag.ch"},"repository":{"url":"git+https://gitlab.com/amag_web/sap/cap/common/cds.git","type":"git"},"_npmVersion":"10.9.3","description":"NodeJS library to add additional cds runtime features","directories":{},"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@sap/cds":">=5"},"_npmOperationalInternal":{"tmp":"tmp/cds_1.20.0_1758034443169_0.9850994706787288","host":"s3://npm-registry-packages-npm-production"}},"1.21.0":{"name":"@amag-ch/cds","version":"1.21.0","author":{"name":"AMAG Corporate Services AG"},"license":"MIT","_id":"@amag-ch/cds@1.21.0","maintainers":[{"name":"thju-amag-ch","email":"thomas.jurk@amag.ch"},{"name":"integration-amag-ch","email":"integration@amag.ch"}],"homepage":"https://gitlab.com/amag_web/sap/cap/common/cds#readme","bugs":{"url":"https://gitlab.com/amag_web/sap/cap/common/cds/issues"},"cds":{"log":{"levels":{"rest":"warn","odata":"warn","[development]":{"auth":"debug","rest":"info","odata":"info"}}},"i18n":{"for_sql":["en","de","fr","it"],"languages":["en","de","fr","it"],"for_sqlite":["en","de","fr","it"],"default_language":"de"},"features":{"assert_integrity":"db"},"requires":{"kinds":{"hana":{"pool":{"acquireTimeoutMillis":60000},"deploy-format":"hdbtable"},"mocked-auth":{"users":{"system-user":{"roles":["system-user"]}}}},"middlewares":true}},"dist":{"shasum":"1c7d2ea6dd424c6381d01465d4575602fcdeba19","tarball":"https://registry.npmjs.org/@amag-ch/cds/-/cds-1.21.0.tgz","fileCount":27,"integrity":"sha512-z/Dn9K+RMbhEPhPL/dGmwN5xQJZSkGTA2s0pHwB2juBoqAP2T461ZrArSsrLXOgWmbKq8ZdO8sJX3n4gUwJFlQ==","signatures":[{"sig":"MEUCIBEDtLmNRRWEVY9hvhSi6A16p/WhM60I3a/qZhJ9sXSSAiEAlDfhA9oUDEtlOxzNxQtquTXkzCUVAsfqLL8TylVeVdY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26498},"main":"index.js","engines":{"node":">=14.0.0"},"gitHead":"197574b2dda27716d50e601b72a1845c7750a57c","private":false,"_npmUser":{"name":"integration-amag-ch","email":"integration@amag.ch"},"repository":{"url":"git+https://gitlab.com/amag_web/sap/cap/common/cds.git","type":"git"},"_npmVersion":"10.9.3","description":"NodeJS library to add additional cds runtime features","directories":{},"_nodeVersion":"22.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@sap/cds":">=5"},"_npmOperationalInternal":{"tmp":"tmp/cds_1.21.0_1759235221077_0.2234877884719646","host":"s3://npm-registry-packages-npm-production"}},"1.22.0":{"name":"@amag-ch/cds","version":"1.22.0","author":{"name":"AMAG Corporate Services AG"},"license":"MIT","_id":"@amag-ch/cds@1.22.0","maintainers":[{"name":"thju-amag-ch","email":"thomas.jurk@amag.ch"},{"name":"integration-amag-ch","email":"integration@amag.ch"}],"homepage":"https://gitlab.com/amag_web/sap/cap/common/cds#readme","bugs":{"url":"https://gitlab.com/amag_web/sap/cap/common/cds/issues"},"cds":{"log":{"levels":{"rest":"warn","odata":"warn","[development]":{"auth":"debug","rest":"info","odata":"info"}}},"i18n":{"for_sql":["en","de","fr","it"],"languages":["en","de","fr","it"],"for_sqlite":["en","de","fr","it"],"default_language":"de"},"features":{"assert_integrity":"db"},"requires":{"kinds":{"hana":{"pool":{"acquireTimeoutMillis":60000},"deploy-format":"hdbtable"},"mocked-auth":{"users":{"system-user":{"roles":["system-user"]}}}},"middlewares":true}},"dist":{"shasum":"fdfb100f593a0a4a228e5d4580b48d8f49451cc2","tarball":"https://registry.npmjs.org/@amag-ch/cds/-/cds-1.22.0.tgz","fileCount":27,"integrity":"sha512-CBLfGLQLCTEDsLQvOCTfVCOnS8NnDkcBHT0vEvjCMq3xuES34GtB2PiQ0eHmkxGElmqV2hl6eBh+49UcRwyl3w==","signatures":[{"sig":"MEUCIE/1XaVGx8+qdrElizMZZoQ6cbHjm0FWvFq+UCmYm52XAiEA+Qy0hyl2RfUOHPyhGSBxBPncrMd/qecRFCu2WXI3ntY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26574},"main":"index.js","engines":{"node":">=14.0.0"},"gitHead":"d7b8d4aee3986de1cc9c109d09e313996378570e","private":false,"_npmUser":{"name":"integration-amag-ch","email":"integration@amag.ch"},"repository":{"url":"git+https://gitlab.com/amag_web/sap/cap/common/cds.git","type":"git"},"_npmVersion":"10.9.3","description":"NodeJS library to add additional cds runtime features","directories":{},"_nodeVersion":"22.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@sap/cds":">=5"},"_npmOperationalInternal":{"tmp":"tmp/cds_1.22.0_1759237964769_0.6849187798463519","host":"s3://npm-registry-packages-npm-production"}},"1.22.1":{"name":"@amag-ch/cds","version":"1.22.1","author":{"name":"AMAG Corporate Services AG"},"license":"MIT","_id":"@amag-ch/cds@1.22.1","maintainers":[{"name":"thju-amag-ch","email":"thomas.jurk@amag.ch"},{"name":"integration-amag-ch","email":"integration@amag.ch"}],"homepage":"https://gitlab.com/amag_web/sap/cap/common/cds#readme","bugs":{"url":"https://gitlab.com/amag_web/sap/cap/common/cds/issues"},"cds":{"log":{"levels":{"rest":"warn","odata":"warn","[development]":{"auth":"debug","rest":"info","odata":"info"}}},"i18n":{"for_sql":["en","de","fr","it"],"languages":["en","de","fr","it"],"for_sqlite":["en","de","fr","it"],"default_language":"de"},"features":{"assert_integrity":"db"},"requires":{"kinds":{"hana":{"pool":{"acquireTimeoutMillis":60000},"deploy-format":"hdbtable"},"mocked-auth":{"users":{"system-user":{"roles":["system-user"]}}}},"middlewares":true}},"dist":{"shasum":"2a10c3ef010c4ba8f127b103874624b8a20c8b52","tarball":"https://registry.npmjs.org/@amag-ch/cds/-/cds-1.22.1.tgz","fileCount":27,"integrity":"sha512-6Gwf31GSM4LgY5sywMadxf+cw9m8S1UFtmn0PUHR4gz+VqCbm3XDfwzXiBER5WRasGVPmsVvvGytgr3+fBa5tg==","signatures":[{"sig":"MEUCID1I9dlY3lZ9sw2+6VCMpzMdksVKESQOqR3zxuieLs3iAiEA2LFRv16CtXRJhPPKGG4WChfdcrC/67XFtdJwi7NL87I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26579},"main":"index.js","engines":{"node":">=14.0.0"},"gitHead":"75369a9f62f92495420d0cf63c64fe2a92d1b4c6","private":false,"_npmUser":{"name":"integration-amag-ch","email":"integration@amag.ch"},"repository":{"url":"git+https://gitlab.com/amag_web/sap/cap/common/cds.git","type":"git"},"_npmVersion":"10.9.3","description":"NodeJS library to add additional cds runtime features","directories":{},"_nodeVersion":"22.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@sap/cds":">=5"},"_npmOperationalInternal":{"tmp":"tmp/cds_1.22.1_1759415771257_0.12377692997742717","host":"s3://npm-registry-packages-npm-production"}},"1.23.0":{"name":"@amag-ch/cds","version":"1.23.0","author":{"name":"AMAG Corporate Services AG"},"license":"MIT","_id":"@amag-ch/cds@1.23.0","maintainers":[{"name":"thju-amag-ch","email":"thomas.jurk@amag.ch"},{"name":"integration-amag-ch","email":"integration@amag.ch"}],"homepage":"https://gitlab.com/amag_web/sap/cap/common/cds#readme","bugs":{"url":"https://gitlab.com/amag_web/sap/cap/common/cds/issues"},"cds":{"log":{"levels":{"rest":"warn","odata":"warn","[development]":{"auth":"debug","rest":"info","odata":"info"}}},"i18n":{"for_sql":["en","de","fr","it"],"languages":["en","de","fr","it"],"for_sqlite":["en","de","fr","it"],"default_language":"de"},"features":{"assert_integrity":"db"},"requires":{"kinds":{"hana":{"pool":{"acquireTimeoutMillis":60000},"deploy-format":"hdbtable"},"mocked-auth":{"users":{"system-user":{"roles":["system-user"]}}}},"middlewares":true}},"dist":{"shasum":"8fe2cc072116ba53a6ad2afbf702adb02f4e438c","tarball":"https://registry.npmjs.org/@amag-ch/cds/-/cds-1.23.0.tgz","fileCount":27,"integrity":"sha512-Ua6BZCyOWTWLrgqO9Q5V0PdY9l2M8+wh7amVZsgCUmoN5tR+JS5PKQCLmyuKdC+4g35tkiz5kJ/b4tnoAqzLHQ==","signatures":[{"sig":"MEQCICjPZ2WBynkxdO9ZZCQtCFYZ5qBcAPpUIUsvDHBypjukAiACBUdcPz97HUcNb/0vvl/j6jsft2IkQbkveSpCXaUUdw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26906},"main":"index.js","engines":{"node":">=14.0.0"},"exports":{".":"./index.js","./errors":"./lib/errors/index.js","./cds-plugin":"./cds-plugin.js","./persistance":"./lib/persistance/index.js"},"gitHead":"1eceb05bd694aac25867eb3462d02b679b2b0557","private":false,"_npmUser":{"name":"integration-amag-ch","email":"integration@amag.ch"},"repository":{"url":"git+https://gitlab.com/amag_web/sap/cap/common/cds.git","type":"git"},"_npmVersion":"10.9.3","description":"NodeJS library to add additional cds runtime features","directories":{},"_nodeVersion":"22.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@sap/cds":">=5"},"_npmOperationalInternal":{"tmp":"tmp/cds_1.23.0_1761059733555_0.7208485777193476","host":"s3://npm-registry-packages-npm-production"}},"1.23.1":{"name":"@amag-ch/cds","version":"1.23.1","author":{"name":"AMAG Corporate Services AG"},"license":"MIT","_id":"@amag-ch/cds@1.23.1","maintainers":[{"name":"thju-amag-ch","email":"thomas.jurk@amag.ch"},{"name":"integration-amag-ch","email":"integration@amag.ch"}],"homepage":"https://gitlab.com/amag_web/sap/cap/common/cds#readme","bugs":{"url":"https://gitlab.com/amag_web/sap/cap/common/cds/issues"},"cds":{"log":{"levels":{"rest":"warn","odata":"warn","[development]":{"auth":"debug","rest":"info","odata":"info"}}},"i18n":{"for_sql":["en","de","fr","it"],"languages":["en","de","fr","it"],"for_sqlite":["en","de","fr","it"],"default_language":"de"},"features":{"assert_integrity":"db"},"requires":{"kinds":{"hana":{"pool":{"acquireTimeoutMillis":60000},"deploy-format":"hdbtable"},"mocked-auth":{"users":{"system-user":{"roles":["system-user"]}}}},"middlewares":true}},"dist":{"shasum":"fc8e40198c01fafc7fa200c4bfbddb94ba3c611d","tarball":"https://registry.npmjs.org/@amag-ch/cds/-/cds-1.23.1.tgz","fileCount":27,"integrity":"sha512-0qE0okQQBAG1svyfLqR/QjMWjN9qfrzTn88FHkkda9gXHMY+HeovqQ+n0wc+d3QrcRLMEOBwQSLDFdpJgkocSg==","signatures":[{"sig":"MEYCIQD1XYRQ7qiguPLfrPkXZKExHwo3jvh6KZePcOsWSLMV+QIhAOMreMs2+5trHx17vCD7CJK4oFm2TcxF/9y2OyIvEckH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26950},"main":"index.js","engines":{"node":">=14.0.0"},"exports":{".":"./index.js","./errors":"./lib/errors/index.js","./cds-plugin":"./cds-plugin.js","./persistance":"./lib/persistance/index.js","./package.json":"./package.json"},"gitHead":"0d722e9acc7b9df36e3327d87e724e20cda817f9","private":false,"_npmUser":{"name":"integration-amag-ch","email":"integration@amag.ch"},"repository":{"url":"git+https://gitlab.com/amag_web/sap/cap/common/cds.git","type":"git"},"_npmVersion":"11.6.1","description":"NodeJS library to add additional cds runtime features","directories":{},"_nodeVersion":"24.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@sap/cds":">=5"},"_npmOperationalInternal":{"tmp":"tmp/cds_1.23.1_1762459282650_0.7308729432433041","host":"s3://npm-registry-packages-npm-production"}},"1.24.0":{"name":"@amag-ch/cds","version":"1.24.0","author":{"name":"AMAG Corporate Services AG"},"license":"MIT","_id":"@amag-ch/cds@1.24.0","maintainers":[{"name":"thju-amag-ch","email":"thomas.jurk@amag.ch"},{"name":"integration-amag-ch","email":"integration@amag.ch"}],"homepage":"https://gitlab.com/amag_web/sap/common/npm/cds#readme","bugs":{"url":"https://gitlab.com/amag_web/sap/common/npm/cds/issues"},"cds":{"log":{"levels":{"rest":"warn","odata":"warn","[development]":{"auth":"debug","rest":"info","odata":"info"}}},"i18n":{"for_sql":["en","de","fr","it"],"languages":["en","de","fr","it"],"for_sqlite":["en","de","fr","it"],"default_language":"de"},"features":{"assert_integrity":"db"},"requires":{"kinds":{"hana":{"pool":{"acquireTimeoutMillis":60000},"deploy-format":"hdbtable"},"mocked-auth":{"users":{"system-user":{"roles":["system-user"]}}}},"middlewares":true}},"dist":{"shasum":"94c46c1de057f27b9d34b138015de9e3717896c6","tarball":"https://registry.npmjs.org/@amag-ch/cds/-/cds-1.24.0.tgz","fileCount":27,"integrity":"sha512-8OfQsmu6wEK9Les3WAbjpTuldEU83pCTwtM4Qfd2ZoJ4jReM+LaAkRhfJy+iD11TVLjvffV0LTgW+g5AwZ3Wew==","signatures":[{"sig":"MEYCIQChU+6s6t7qvMV87OFhL0V+teXt/oI3Z27vYCPhRV2fOQIhAI/9Uol84ZXw5Oqb3Hq+4wN44oSfO5pz9PVHVeh2aIty","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26978},"main":"index.js","type":"commonjs","engines":{"node":">=14.0.0"},"exports":{".":"./index.js","./errors":"./lib/errors/index.js","./cds-plugin":"./cds-plugin.js","./persistance":"./lib/persistance/index.js","./package.json":"./package.json"},"gitHead":"a2bc3a90c96fbbfa6ec478efc4edde9982b6114e","private":false,"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:dda07371-2cb9-4065-adc5-19e3fc36d8c5"}},"repository":{"url":"git+https://gitlab.com/amag_web/sap/common/npm/cds.git","type":"git"},"_npmVersion":"11.6.2","description":"NodeJS library to add additional cds runtime features","directories":{},"_nodeVersion":"24.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@sap/cds":">=5"},"_npmOperationalInternal":{"tmp":"tmp/cds_1.24.0_1769538835307_0.988428661885292","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-03-24T16:37:02.562Z","modified":"2026-06-10T21:39:26.139Z","1.17.0":"2025-03-24T16:37:02.906Z","1.18.0":"2025-09-15T12:13:13.487Z","1.19.0":"2025-09-16T12:15:59.457Z","1.20.0":"2025-09-16T14:54:03.329Z","1.21.0":"2025-09-30T12:27:01.259Z","1.22.0":"2025-09-30T13:12:44.924Z","1.22.1":"2025-10-02T14:36:11.444Z","1.23.0":"2025-10-21T15:15:33.751Z","1.23.1":"2025-11-06T20:01:22.892Z","1.24.0":"2026-01-27T18:33:55.467Z"},"bugs":{"url":"https://gitlab.com/amag_web/sap/common/npm/cds/issues"},"author":{"name":"AMAG Corporate Services AG"},"license":"MIT","homepage":"https://gitlab.com/amag_web/sap/common/npm/cds#readme","repository":{"url":"git+https://gitlab.com/amag_web/sap/common/npm/cds.git","type":"git"},"description":"NodeJS library to add additional cds runtime features","maintainers":[{"email":"integration@amag.ch","name":"integration-amag-ch"}],"readme":"[![npm version](https://img.shields.io/npm/v/@amag-ch/cds?style=flat-square)](https://www.npmjs.com/package/@amag-ch/cds)\n[![npm downloads](https://img.shields.io/npm/dm/@amag-ch/cds.svg?style=flat-square)](https://npm-stat.com/charts.html?package=@amag-ch/cds)\n\nNodeJS library to add additional cds runtime features\n\n## Table of Contents\n\n- [Features](#features)\n- [Installing](#installing)\n- [Configuration](#configuration)\n- [Implementation](#implementation)\n- [License](#license)\n\n## Features\n\n- Register /health endpoint for monitoring (cds < 7.8.0)\n- Add middleware to use user id from http header x-sender in case of system user\n- Provides ApplicationService with extensions\n- Default features configuration\n- Default i18n configuration\n- Default log configuration\n- Default auth configuration\n- Default hana configuration\n- Add possiblity of usage of pseudos in db statements ($now, $user, $uuid)\n- Fix handling calculated fields in case of draft activate\n- Fix handling calculated boolean fields in case of draft read\n\n## Configuration\n\n### Features\n```json\n{\n    \"cds\": {\n        \"features\": {\n            \"assert_integrity\": \"db\"\n        }        \n    }\n}\n```\n\n### Localization\n```json\n{\n    \"cds\": {\n        \"i18n\": {\n            \"default_language\": \"de\",\n            \"languages\": [\n                \"en\",\n                \"de\",\n                \"fr\",\n                \"it\"\n            ],\n            \"for_sqlite\": [\n                \"en\",\n                \"de\",\n                \"fr\",\n                \"it\"\n            ],\n            \"for_sql\": [\n                \"en\",\n                \"de\",\n                \"fr\",\n                \"it\"\n            ]\n        }\n    } \n}\n```\n\n### Logging\n```json\n{\n    \"cds\": {\n        \"log\": {\n            \"levels\": {\n                \"odata\": \"warn\",\n                \"rest\": \"warn\",\n                \"[development]\": {\n                    \"odata\": \"info\",\n                    \"rest\": \"info\",\n                    \"auth\": \"debug\"\n                }\n            }\n        }\n    } \n}\n```\n\n### Authentication\n```json\n{\n    \"cds\": {\n        \"requires\": {\n            \"kinds\": {\n                \"mocked-auth\": {\n                    \"users\": {\n                        \"system-user\": {\n                            \"roles\": [\n                                \"system-user\"\n                            ]\n                        }\n                    }\n                }\n            }\n        }\n    }\n}\n```\n\n### HANA Configuration\n```json\n{\n    \"cds\": {\n        \"requires\": {\n            \"kinds\": {\n                \"hana\": {\n                    \"deploy-format\": \"hdbtable\",\n                    \"pool\": {\n                        \"acquireTimeoutMillis\": 60000\n                    }\n                }\n            }\n        }\n    }\n}\n```\n\n## Installing\n\nUsing npm:\n\n```bash\n$ npm install @amag-ch/cds\n```\n\nUsing yarn:\n\n```bash\n$ yarn add @amag-ch/cds\n```\n\n## Implementation\n\n### Custom express endpoints with parameters\n\n\n``` cds\n@protocol : ['odata', 'rest']\nservice APIService {\n    function checkAvailability(partnerId : String) returns {\n        valid: Boolean\n    }\n}\n```\n\n``` js\nconst { ApplicationService } = require('@amag-ch/cds')\n\nmodule.exports = class APIService extends ApplicationService {\n\n    async init() {\n\n        this.on('/partners/:partnerId/availability/check', 'checkAvailability')\n\n        this.on('checkAvailability', async (req) => {\n            return {\n                valid: !!req.data.partnerId\n            }\n        })\n\n        return super.init()\n    }    \n}\n```\n\n``` http\n\n// Standard call over rest adapter\nGET http://localhost:4004/rest/api/checkAvailability(partnerId='123456789')\n\n// Same call, but with custom route (/partners/:partnerId/availability/check)\nGET http://localhost:4004/rest/api/partner/123456789/availability/check\n\n// Standard call over odata v4 adapter\nGET http://localhost:4004/odata/v4/api/checkAvailability(partnerId='123456789')\n\n// Same call, but with custom route (/partners/:partnerId/availability/check)\nGET http://localhost:4004/odata/v4/api/partner/123456789/availability/check\n\n```\n\nThe own on handler only reacts, if path starts with / and the second parameter is a string. Otherwise it will be forwarded to cds standard implementation.\n\n### Pseudos in db statements\n\n``` js\n    await cds.create(Books, { ID: '$uuid', name: 'Test' })\n    await cds.update(Books).set({ errorAt: '$now', responsable: '$user' })\n```\n\n## License\n\n[MIT](LICENSE)","readmeFilename":"README.md"}