{"_id":"@antoinepairet/icc-api","_rev":"7-3cb1f362b2f03439d6ae78afb6afada1","name":"@antoinepairet/icc-api","dist-tags":{"latest":"2.3.0"},"versions":{"1.1.1":{"name":"@antoinepairet/icc-api","version":"1.1.1","description":"Typescript version of iCure standalone API client","main":"dist/index.js","types":"dist/index.d.ts","dependencies":{"base64-js":"^1.3.0","fhc-api":"^1.0.32","libphonenumber-js":"^1.5.1","lodash":"^4.17.10","moment":"^2.22.1","text-encoding":"^0.7.0","uuid-encoder":"^1.1.0"},"devDependencies":{"@types/base64-js":"^1.2.5","@types/lodash":"^4.14.116","@types/moment":"^2.13.0","@types/text-encoding":"0.0.34","husky":"^0.14.3","prettier":"^1.13.5","pretty-quick":"^1.6.0","typescript":"^2.9.2"},"scripts":{"gen":"java -classpath swagger-codegen-cli.jar io.swagger.codegen.SwaggerCodegen generate -i https://icure.cloud/rest/v1/swagger.json -l typescript --additional-properties classPrefix=icc -o ./icc-api","genloc":"java -classpath swagger-codegen-cli.jar io.swagger.codegen.SwaggerCodegen generate -i http://127.0.0.1:16043/rest/v1/swagger.json -l typescript --additional-properties classPrefix=icc -o ./icc-api","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepare":"rm -rf dist && npm run build","precommit":"pretty-quick --staged"},"repository":{"type":"git","url":"git+https://github.com/taktik/icc-api.git"},"prettier":{"semi":false,"printWidth":100},"author":{"name":"Taktik sa - B12 Consulting"},"license":"MIT","bugs":{"url":"https://github.com/taktik/icc-api/issues"},"homepage":"https://github.com/taktik/icc-api#readme","gitHead":"f2b124281c7d96a40826b625e774d94056a27d97","_id":"@antoinepairet/icc-api@1.1.1","_npmVersion":"6.4.1","_nodeVersion":"8.9.3","_npmUser":{"name":"antoinepairet","email":"antoinepairet@gmail.com"},"dist":{"integrity":"sha512-HdNTSwsNjhfRX8+cTfadP1vLP81BPuAX/sX4Xe4C9zz7QkAhPWsLN7OJy7B9tWvj9rJht0TPMvkAvc/oUHdFng==","shasum":"ff794dae4b388eabec03100752e4d66cca0a0b89","tarball":"https://registry.npmjs.org/@antoinepairet/icc-api/-/icc-api-1.1.1.tgz","fileCount":689,"unpackedSize":17264160,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9WzlCRA9TVsSAnZWagAA2hwP/3YB1UfrrCeICs/8buwA\nFfuGTALpzR3Is+CFw+UP4og+R/RR7wqkjgbEd55s02N/feo10iG/fF2f6dX/\nzCoQsEXdLrD4WW4AFrxk8p0daWZznWklzNWa/NIljmhe2eQYdYlGrsB5zdPu\nWpqQ9bQ/CVuy6tMrt9bcIe3TEbpAqMZglo6dC5apVh0S7czU7FfhMfAipt1t\nLvlMNcFYO/ntRlAV+JpKGL3vNjCpiiKRXptMxtxPoDpMXu0c/aTy32nc6yZR\nDZSSGedWONNkxm42zKmTS/DaFcqNB1HWdxNGuX0sj3u+kI+m565lTUpwMk5a\nYKeniJs+/L+cFoYcSUF6jzFtMcrTNS+ScPAxSW8pTyQXhDNNu9AHaxNT6R5G\n/3XdDGwS/Z7QESbtSj8sEO1osCqyDj5wRhmS3brkTyvOWbarmIaYJKD3UyR7\nYNwsC4ekICkgMiYU5lm5/rHrTWSgG5Y24jA1jQXiB8R9LdVhhzpGRxg7f+P5\nAmo0AQYshHMoOUMJU5+s/gRboZzQxLS17uhxJ0RySMGFuatz6dPoZo9S1zfn\nRt0KXR9gNxjgHmqn2vUPVAP5rF73yiXbnQJR4ly4Tn6tbuSD0cMhKo3Ayf7i\nTYaqqRLPEjFAOTA/3lJ9ZC5ZHxJq+sYiEGKgkcKTpzPNz3yJgSn+pQQ0+9TU\ns3ht\r\n=ub/J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDc7khV+tGc3W8uw4/LClBT+5/dHWaPaKDYkmHQudzAQwIgMsGENR88BPJqzLTMsPgc+B3pca8hgqrbSYTUj5UE7qg="}]},"maintainers":[{"name":"antoinepairet","email":"antoinepairet@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/icc-api_1.1.1_1542810852037_0.2500137272662444"},"_hasShrinkwrap":false},"1.1.2":{"name":"@antoinepairet/icc-api","version":"1.1.2","description":"Typescript version of iCure standalone API client","main":"dist/index.js","types":"dist/index.d.ts","dependencies":{"base64-js":"^1.3.0","fhc-api":"^1.0.32","libphonenumber-js":"^1.5.1","lodash":"^4.17.10","moment":"^2.22.1","text-encoding":"^0.7.0","uuid-encoder":"^1.1.0"},"devDependencies":{"@types/base64-js":"^1.2.5","@types/lodash":"^4.14.116","@types/moment":"^2.13.0","@types/text-encoding":"0.0.34","husky":"^0.14.3","prettier":"^1.13.5","pretty-quick":"^1.6.0","typescript":"^2.9.2"},"scripts":{"gen":"java -classpath swagger-codegen-cli.jar io.swagger.codegen.SwaggerCodegen generate -i https://icure.cloud/rest/v1/swagger.json -l typescript --additional-properties classPrefix=icc -o ./icc-api","genloc":"java -classpath swagger-codegen-cli.jar io.swagger.codegen.SwaggerCodegen generate -i http://127.0.0.1:16043/rest/v1/swagger.json -l typescript --additional-properties classPrefix=icc -o ./icc-api","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepare":"rm -rf dist && npm run build","precommit":"pretty-quick --staged"},"repository":{"type":"git","url":"git+https://github.com/taktik/icc-api.git"},"prettier":{"semi":false,"printWidth":100},"author":{"name":"Taktik sa - B12 Consulting"},"license":"MIT","bugs":{"url":"https://github.com/taktik/icc-api/issues"},"homepage":"https://github.com/taktik/icc-api#readme","gitHead":"eaa38809409aa7366db66f716ff0f3236f3438ea","_id":"@antoinepairet/icc-api@1.1.2","_npmVersion":"6.4.1","_nodeVersion":"8.9.3","_npmUser":{"name":"antoinepairet","email":"antoinepairet@gmail.com"},"dist":{"integrity":"sha512-X1BzBuMO1XHUWdljHWafQDGhWR7O/j4S8jKAhkUMbIFVHhzUl6Zew4jdIvN9xkDfqb73rQpfebgiicGKUSIGnQ==","shasum":"f374811b5ef8d7cb2609a1ab53799888b0c35438","tarball":"https://registry.npmjs.org/@antoinepairet/icc-api/-/icc-api-1.1.2.tgz","fileCount":689,"unpackedSize":17264160,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9W3VCRA9TVsSAnZWagAAwfAQAIgNqel1lMyIzqaiiUz+\nJK8i9gLiyV/gV5znmfzt2FMy6P2oOX9Nc7Xaylb4Wvzi4ruquI0LX2pc/Wjg\n/QWNgIgY+9BP6ZNHMNGni7aDHUVdvonoeSE9dj5kWiygSZCKfpz2EWT0NdmX\nFQu1XLg7d7kl8L/jR9MeF7G9v5axn5i8u8lszrGpnjGWnj7UQwsgR8p2LPF3\naN1p0umk0a0xVRX0va/2dO5vjqoi4MwX+mgpZ3PElwvPCogugknUtwjXXXkK\nzLJWSVwsThu564sXtJZSlOenZQb/4YvMZd2KRy+JqykINlSKQmdJg69uPO8a\nU6N4w8NTHwFAnUlh+YK57Xly1/hb6JCc9m+w+lBaSMOl7UR797Goxwk/3kJv\nNVGQxeOGlw476XKbrehz/PBCckaLUB35etQ83U6kHRW2UmyUmzAA1Jc5wt9U\nS6MeBVeWN5wk9P5VSUIPG8W6wgdawT0puf1SFc4wE0klYmqq4v5EZ392Y4yb\n/iAE+8BdVpzbLAcUFT2k9fFLscsIz6mf4wmwfW5h/gi8E/zBiLzPETXL4S/j\nE5cYYhg4bku0Bh9tVs1uFXd759q5TkVtIWBxxiCakkbEU8v2WcO+9ot66sCB\nupzXFakyjCd+V7ReyJk5rXvp3O2FO0hJC+7a5UEpVpwdajknrxd19GWDUl5I\nP5Cx\r\n=v4Ht\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAKqUTNSMZ9KNi/IistKkcb4SgBoCePj7wVdBpzQEj0jAiEAjpGgk29JXpz6yg8CNC2QF41EZL13b93pA+8Wby1T8BA="}]},"maintainers":[{"name":"antoinepairet","email":"antoinepairet@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/icc-api_1.1.2_1542811092278_0.11661641797138067"},"_hasShrinkwrap":false},"1.1.3":{"name":"@antoinepairet/icc-api","version":"1.1.3","description":"Typescript version of iCure standalone API client","main":"dist/index.js","types":"dist/index.d.ts","dependencies":{"base64-js":"^1.3.0","fhc-api":"^1.0.32","libphonenumber-js":"^1.5.1","lodash":"^4.17.10","moment":"^2.22.1","text-encoding":"^0.7.0","uuid-encoder":"^1.1.0"},"devDependencies":{"@types/base64-js":"^1.2.5","@types/lodash":"^4.14.116","@types/moment":"^2.13.0","@types/text-encoding":"0.0.34","husky":"^0.14.3","prettier":"^1.13.5","pretty-quick":"^1.6.0","typescript":"^2.9.2"},"scripts":{"gen":"java -classpath swagger-codegen-cli.jar io.swagger.codegen.SwaggerCodegen generate -i https://icure.cloud/rest/v1/swagger.json -l typescript --additional-properties classPrefix=icc -o ./icc-api","genloc":"java -classpath swagger-codegen-cli.jar io.swagger.codegen.SwaggerCodegen generate -i http://127.0.0.1:16043/rest/v1/swagger.json -l typescript --additional-properties classPrefix=icc -o ./icc-api","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepare":"rm -rf dist && npm run build","precommit":"pretty-quick --staged"},"repository":{"type":"git","url":"git+https://github.com/taktik/icc-api.git"},"prettier":{"semi":false,"printWidth":100},"author":{"name":"Taktik sa - B12 Consulting"},"license":"MIT","bugs":{"url":"https://github.com/taktik/icc-api/issues"},"homepage":"https://github.com/taktik/icc-api#readme","gitHead":"061e2e88bc86acacffae92009f57c265eae22c09","_id":"@antoinepairet/icc-api@1.1.3","_npmVersion":"6.4.1","_nodeVersion":"8.9.3","_npmUser":{"name":"antoinepairet","email":"antoinepairet@gmail.com"},"dist":{"integrity":"sha512-fBPrmT3C1NL8+pPepgQyJs/AgIvlum7TrjXY2C9XkLBxtHcIonVp2ec3oJos5o3tOdceorUZTCyC/SxbBDBflg==","shasum":"358743ad6371d5a399fd8abc7c3919cecc3dcb24","tarball":"https://registry.npmjs.org/@antoinepairet/icc-api/-/icc-api-1.1.3.tgz","fileCount":688,"unpackedSize":2015292,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9XHhCRA9TVsSAnZWagAAKI0P/jinfMahhfmOY23N/MdE\nKJpUm0djadvP6IrIJes+V3Tnk6Ui8z2B/CQqWZCsGwGOT6fqb3xN7pEVMl4B\nt9g5hWC0DS7lc73HSeTd6cJ6dK3D0lGgOfktD9xdpQrLgm8ZGi4sXAjj9/QV\nWTbWD1pDaJ1kDGt3BIunOP7S7PR4J2XEn0EJi5K75mLsEtl77cw3styaUrkd\n0jS104kbZKViXUGIaJ3tVnhPVJ29lX2EKzbzdQBDNwpF57kiFuDtDmXqUHNO\nRBlUwlBRMVlJrXt9Kr4gZXieco0q+KqyKrsl4gLDSmV0ekGrOejUJc/ERb5J\nIs5OyKkOSXa9cn68dTP4HW1g9FusJ0Ao4W7cslZBWByUtLgMEw8ZI2r1L98G\ncIaLpNiZVSbzZ+zvNjjMJp1lRO4eoQKHBVvj4aYiZ3j0RbBOG/C6JGRcB40N\nX/conLPxCfIqUXF3E/hBr5kylW8eU0uaS7l4DIpVh8QZiZAUMH5p+/St1/5K\ngmlTea4LZ3q3tCFSxdcbiCMB1/affICzzYxImiZXt9SqOJwNZ7uxSXaJSZ6+\nyzIy2eCkMkT8bo+5tntIk4hHYt5KjUClN1Gz3NA+drKkYb2ZU4qlzfgC9mii\njGhLV0LE4F3FYyZpEQjdzQP+1RezTllexrNkDTfm2UFCNBXZlAOeEs6geYKP\n6HGz\r\n=46TN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLZmU1Tq0VuPMMc5xLhgR1NQB/imMkpeEFKOPxYdxvoQIhANEw98CitgvtI7nhS4xFpl+Vb7BWUdof1uywjK/I/1MB"}]},"maintainers":[{"name":"antoinepairet","email":"antoinepairet@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/icc-api_1.1.3_1542812128801_0.25840502734662496"},"_hasShrinkwrap":false},"1.0.107":{"name":"@antoinepairet/icc-api","version":"1.0.107","description":"Typescript version of iCure standalone API client","main":"dist/index.js","types":"dist/index.d.ts","dependencies":{"base64-js":"^1.3.0","fhc-api":"github:antoinepairet/fhc-api#master","libphonenumber-js":"^1.5.1","lodash":"^4.17.10","moment":"^2.22.1","text-encoding":"^0.7.0","uuid-encoder":"^1.1.0"},"devDependencies":{"@types/base64-js":"^1.2.5","@types/lodash":"^4.14.116","@types/moment":"^2.13.0","@types/text-encoding":"0.0.34","husky":"^0.14.3","prettier":"^1.13.5","pretty-quick":"^1.6.0","rimraf":"^2.6.2","typescript":"^2.9.2"},"scripts":{"gen":"java -classpath swagger-codegen-cli.jar io.swagger.codegen.SwaggerCodegen generate -i https://icure.cloud/rest/v1/swagger.json -l typescript --additional-properties classPrefix=icc -o ./icc-api","genloc":"java -classpath swagger-codegen-cli.jar io.swagger.codegen.SwaggerCodegen generate -i http://127.0.0.1:16043/rest/v1/swagger.json -l typescript --additional-properties classPrefix=icc -o ./icc-api","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepare":"rimraf dist && npm run build","precommit":"pretty-quick --staged","pretty-quick":"pretty-quick"},"repository":{"type":"git","url":"git+https://github.com/taktik/icc-api.git"},"prettier":{"semi":false,"printWidth":100},"author":{"name":"Taktik sa - B12 Consulting"},"license":"MIT","bugs":{"url":"https://github.com/taktik/icc-api/issues"},"homepage":"https://github.com/taktik/icc-api#readme","gitHead":"49760e49fcdb5c5909789ac55f859fb96955f4c5","_id":"@antoinepairet/icc-api@1.0.107","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-zyFY/git0cdezGLlwiN5Wpke+2AuxjRTX2HOhrRCRTnMGkuJzy0dUDlrQxeOPmOQ6kVK3Ih9yvHI49HmSlOnPQ==","shasum":"1686d8d18b89ceb5ad5c8eb457efc5bd927e7e8d","tarball":"https://registry.npmjs.org/@antoinepairet/icc-api/-/icc-api-1.0.107.tgz","fileCount":717,"unpackedSize":17421201,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1UNQCRA9TVsSAnZWagAALGMQAJBgSPOrDXKG1Z8707yB\nj57Cekxg4B0sXoW9+LBeW/E4c67PnUzPhUXBbJRUdS9G+bDHKC4gPaTFJZqM\nWGjMWROEOaD/0FaSF5terJQmy/hRY8LfPQ5kKdXYYAQhLpTS0WP6wiIcaPP/\nPj2aQYcnabo1+tFSzj7QUsfVWCmf4RRZ9duPG6j50n0JMQV6xZyTo9THdJzM\nSsf32jtnxbJcFtPtjGJ92O6ZgdNts9YqG4rJtPDjbugj2dX1GhWMSfxNpOfz\nL0OthmyEyrBFqLF1Bjhbr8lx1D9uErNDHjND9ogkpdthQE0CIqU7NCs8bzvw\n8s1ubyw3iScAlb35vw9AyKm1ACoiLVpAE7k4kwQ9r9mU5+YDhGJklD3zWPGR\nnRvqPrFJIFiYCJQU1yorBbOEdWGnJkCyZueNH0Q3jw0clj7fNm2HG/ZtD5aH\n+XAx1VCUx51wR5Loqlftulw6VeGoJ823ffVHDOED1QDJRHw8qiaHzcC9sxeN\nTNdqylo5s+o9CnmmNKNUxSEJPZJg6CZIeUcKx1ocX5Icj8NrshevncTqol2s\nZ+XOG9UAZtdDwCGzj3rlSRW+daAFB1lGLRGG5cntH3m/uGeF3TXe459PviQT\nKixzjN5eALUbCRkAZFLJPkQynGgWYKsfbKWdBD00Hn7cf8UihEsaP19B7b9Y\nOCJ2\r\n=y4wS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYIIj+tQ+6pe0ff9KEAZRtWtO14KrMZCUKOSRvZurs8wIgFs00n1kSzY8ZhBsfyXrWgKqS/tkPSd80z34XemlEAec="}]},"maintainers":[{"name":"antoinepairet","email":"antoinepairet@gmail.com"}],"_npmUser":{"name":"antoinepairet","email":"antoinepairet@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/icc-api_1.0.107_1557480270928_0.7656161828324994"},"_hasShrinkwrap":false},"2.0.0":{"name":"@antoinepairet/icc-api","version":"2.0.0","description":"Typescript version of iCure standalone API client","main":"dist/index.js","types":"dist/index.d.ts","dependencies":{"@antoinepairet/fhc-api":"^1.0.37","base64-js":"^1.3.0","libphonenumber-js":"^1.5.1","lodash":"^4.17.10","moment":"^2.22.1","text-encoding":"^0.7.0","uuid-encoder":"^1.1.0"},"devDependencies":{"@types/base64-js":"^1.2.5","@types/lodash":"^4.14.116","@types/moment":"^2.13.0","@types/text-encoding":"0.0.34","husky":"^0.14.3","prettier":"^1.13.5","pretty-quick":"^1.6.0","rimraf":"^2.6.2","typescript":"^2.9.2"},"scripts":{"gen":"java -classpath swagger-codegen-cli.jar io.swagger.codegen.SwaggerCodegen generate -i https://icure.cloud/rest/v1/swagger.json -l typescript --additional-properties classPrefix=icc -o ./icc-api","genloc":"java -classpath swagger-codegen-cli.jar io.swagger.codegen.SwaggerCodegen generate -i http://127.0.0.1:16043/rest/v1/swagger.json -l typescript --additional-properties classPrefix=icc -o ./icc-api","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepare":"rimraf dist && npm run build","precommit":"pretty-quick --staged","pretty-quick":"pretty-quick"},"repository":{"type":"git","url":"git+https://github.com/taktik/icc-api.git"},"prettier":{"semi":false,"printWidth":100},"author":{"name":"Taktik sa - B12 Consulting"},"license":"MIT","bugs":{"url":"https://github.com/taktik/icc-api/issues"},"homepage":"https://github.com/taktik/icc-api#readme","gitHead":"e139e32d21301efa4d57ce4403ac868fbf218d67","_id":"@antoinepairet/icc-api@2.0.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-HT8d0yvc+K7uIC55cEJ+E/tT0AZGHCIfcSpsskfXYm1Z980eqVYf6T6MKxsgYSXYowHERMuHvhPekxUkkj8ong==","shasum":"6623c6ad1b7a0a3113e1a11145d745b08c452d4b","tarball":"https://registry.npmjs.org/@antoinepairet/icc-api/-/icc-api-2.0.0.tgz","fileCount":717,"unpackedSize":17420531,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1UlqCRA9TVsSAnZWagAAEZMP/R4DD4tNXPYQ05t+X2Wq\nbWE6WUuGy9L+LxVWk9dxpHaeykSC5oVSCoDFjM2cmEEt2MXKnj5F7dYnbJwy\nm8959BNu3oCyGKOGCHyBa2sD+cbruJ9BbeHwajX+i0SViicI6W26tUkfOlYE\nDXhChDpEqJA721nzPKbmkfaEYCrC6SMlHfP3s7q50XaiqcWxJxWKVMR5jDqt\n7kMpQpBZRCy/f7rDHngrOuxQ36X66MkhEgHTYsCsWpa41P3Ky8Gn4DnrkUwu\npTbm38IT/6wui73dPOJyD787HWULzOi1O+WMpRqPUP1LqGmnONKtVEp0hFyX\nYvyItuGCZeBf4FwUmbqBm9bBSpf1u4Yz8f4vk5ehkPt6rmzWfVUJoI80HrL3\nIqb+mqPPrclyA/a8LVLXkQWIoy+RM7SEqeg+MHmnR3e4WlXAGQCuG4vpYSdl\nWg5OIDXgbReCmmmObOltMsOGHD0+RiYUP9dv6MZnwm0xCm9iAZwTCB0loMMy\nDepdt7OCZTKlpkCdIwFokisg5aTE8lIN6db6CaYFhOidakvvsUR/3O3RBXQZ\nB8MUolcXTasdP/FHsdSp44wgjnuZJdkhE+GJOXtxbFarQmx7IFIYjaIVMB44\niYh/1DRILqCVIxIbbeHG8LNBvqQeMg7hNMV5WRfyzwLCWYvYW6SiCpHT/bia\nAgYF\r\n=QaOi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDdAIXDnNuAfXvQyNpQ3wfjDfyR2yCfB/4ncAgDCuEGUAiEA5NYxJDsxlypDq0YuStV26Y6ynO04bij9IwhsruJiyMM="}]},"maintainers":[{"name":"antoinepairet","email":"antoinepairet@gmail.com"}],"_npmUser":{"name":"antoinepairet","email":"antoinepairet@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/icc-api_2.0.0_1557481833424_0.9121953785192958"},"_hasShrinkwrap":false},"2.2.0":{"name":"@antoinepairet/icc-api","version":"2.2.0","description":"Typescript version of iCure standalone API client","main":"dist/index.js","types":"dist/index.d.ts","dependencies":{"@antoinepairet/fhc-api":"^1.2.4","base64-js":"^1.3.0","libphonenumber-js":"^1.5.1","lodash":"^4.17.11","moment":"^2.22.1","text-encoding":"^0.7.0","uuid-encoder":"^1.1.0"},"devDependencies":{"@types/base64-js":"^1.2.5","@types/lodash":"^4.14.116","@types/moment":"^2.13.0","@types/text-encoding":"0.0.34","husky":"^0.14.3","prettier":"^1.13.5","pretty-quick":"^1.6.0","rimraf":"^2.6.2","typescript":"^2.9.2"},"scripts":{"gen":"java -classpath swagger-codegen-cli.jar io.swagger.codegen.SwaggerCodegen generate -i https://icure.cloud/rest/v1/swagger.json -l typescript --additional-properties classPrefix=icc -o ./icc-api","genloc":"java -classpath swagger-codegen-cli.jar io.swagger.codegen.SwaggerCodegen generate -i http://127.0.0.1:16043/rest/v1/swagger.json -l typescript --additional-properties classPrefix=icc -o ./icc-api","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepare":"rimraf dist && npm run build","precommit":"pretty-quick --staged","pretty-quick":"pretty-quick"},"repository":{"type":"git","url":"git+https://github.com/taktik/icc-api.git"},"prettier":{"semi":false,"printWidth":100},"author":{"name":"Taktik sa - B12 Consulting"},"license":"MIT","bugs":{"url":"https://github.com/taktik/icc-api/issues"},"homepage":"https://github.com/taktik/icc-api#readme","gitHead":"ceba16bb8c4e8a9fec3db265e11b2bbdff18693f","_id":"@antoinepairet/icc-api@2.2.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-xhGlW7mnKgum+t4jxHeowj/z2Wyk819v6YIkYgic1ohzKoCV9m/wawgFKGhGeyqWyLnVMffAwPCjY5Xhxxk7aQ==","shasum":"97a4eabc0b0ef1ff237e2d3a8ecb20aac6c0f8c6","tarball":"https://registry.npmjs.org/@antoinepairet/icc-api/-/icc-api-2.2.0.tgz","fileCount":750,"unpackedSize":17501648,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3UkzCRA9TVsSAnZWagAA4NoQAIWIuM3Is17EkZWCOM1k\nPqTpX61irR82m0EahuXDzMX2vZA7oBvRjfI5xg4ZtTPP5ScFShMv6lSQ2Zx/\nAfBCy6CWJ9AZ8vQxIdsrtR8DCLmgV+3Ji7nOo30QKF1M9019vIbQUc4r9kGn\nRAsq3UQ+//6pFwCGOBsr7T1LmdvuC4FTyioweV+PnfNPT964vcwvDzRMjXts\n37z7kteJ4jOicQLa2rWEL9E9Jby4ihKCQvRYDM7vcGhRKsQku7d6Mpzer5Z3\nAaxAvyazIo+fag0GzIG/ULodA2BB+vGkO6czr9nvApmkJMizYazUD+NP64Ba\nnqP7RxQEftHWuSs/kJLk+k5UxkI0xlb6NFQO8IA83HtYAI+RaE7kazZE9ol9\nxYJx+lVVvXAE45FOKQZqFltaGeFXgaGkbBZ+IMsGGFBHUrxmIP7qNyaHWTyj\nGt/pl8vxEVBYmqt/9m3Ki9LT3zSstQKWUtJZD/3t1Au1CHGvyCXOX52MbaDW\n9mCgkI7535nGJddA45AmJTXl12sDmPY1pgaGh4ReFfgWbS8XakYrlJ9y0kcw\nXUISofaDUj6zGeUqUHKxq67AsC3IixgihnDYBNU4bvih5ysqPE1tBsybW7tx\n4+NaLdsP7iGpWR9d2gs/YNwt/mKdUqQBBhWH400rZXTnu+GXQVQZVFLVkt6k\nBlCH\r\n=xW1h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHIYb8gL6jRuPaEC8ArDtLGox7m3waor1gFkB+4PM3ekAiEAwc7clm3aI97yfOv2bfkGj5ZKoydNbX24CaBptL8ycdo="}]},"maintainers":[{"name":"antoinepairet","email":"antoinepairet@gmail.com"}],"_npmUser":{"name":"antoinepairet","email":"antoinepairet@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/icc-api_2.2.0_1558006066125_0.9215059105720196"},"_hasShrinkwrap":false},"2.3.0":{"name":"@antoinepairet/icc-api","version":"2.3.0","description":"Typescript version of iCure standalone API client","main":"dist/index.js","types":"dist/index.d.ts","dependencies":{"@antoinepairet/fhc-api":"^1.2.4","base64-js":"^1.3.0","libphonenumber-js":"^1.5.1","lodash":"^4.17.11","moment":"^2.22.1","text-encoding":"^0.7.0","uuid-encoder":"^1.1.0"},"devDependencies":{"@types/base64-js":"^1.2.5","@types/lodash":"^4.14.116","@types/moment":"^2.13.0","@types/text-encoding":"0.0.34","husky":"^0.14.3","prettier":"^1.13.5","pretty-quick":"^1.6.0","rimraf":"^2.6.2","typescript":"^2.9.2"},"scripts":{"gen":"java -classpath swagger-codegen-cli.jar io.swagger.codegen.SwaggerCodegen generate -i https://icure.cloud/rest/v1/swagger.json -l typescript --additional-properties classPrefix=icc -o ./icc-api","genloc":"java -classpath swagger-codegen-cli.jar io.swagger.codegen.SwaggerCodegen generate -i http://127.0.0.1:16043/rest/v1/swagger.json -l typescript --additional-properties classPrefix=icc -o ./icc-api","test":"echo \"Error: no test specified\" && exit 1","build":"tsc","prepare":"rimraf dist && npm run build","precommit":"pretty-quick --staged","pretty-quick":"pretty-quick"},"repository":{"type":"git","url":"git+https://github.com/taktik/icc-api.git"},"prettier":{"semi":false,"printWidth":100},"author":{"name":"Taktik sa - B12 Consulting"},"license":"MIT","bugs":{"url":"https://github.com/taktik/icc-api/issues"},"homepage":"https://github.com/taktik/icc-api#readme","gitHead":"36a4715224c38eac90b3e218b1d0864c161e87ed","_id":"@antoinepairet/icc-api@2.3.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-fLM9GYG/ESHJmI0ii5KCaPPhSim/Z3U/O9+erBsiE7a/TZTqCtjlchP9MOIuJ+i3D3ZA8ZjV66Db3/SPv7IV2g==","shasum":"9840bfa1359a8106169e3813d1ea0c10509b8dbe","tarball":"https://registry.npmjs.org/@antoinepairet/icc-api/-/icc-api-2.3.0.tgz","fileCount":753,"unpackedSize":17511847,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdC5S6CRA9TVsSAnZWagAAcOMP/Al0iGE6ROGlpVkxlYU+\naY5E7wUf2E/0B0jIjQKTa6PSavOOK0JORWi2QXMi1zIA41QkpegXnA7qKVlE\n8E0jWuepZPAeRxbz4agH8IaHFkY/3cEx6K0N6d6zatlfdPzC8Ihqmrjc6c19\nTuXScjgUhLV+nLX/NqGbcUBVMHJn99976PQ6P7kIlYY6EVgPVZWrPuLkYA9h\nbJ+S63NvH0k4l0O2vVrWIZ+RNxNKruA+KNARiM8YXzoUfkxIfLQQS9RqGh7n\nLAKtPSMM+UTedSVBJqAugEZ9O3PEcZ+A//Nv0j0Yr+cUDE8z36Nz/0A7gSAQ\n9r1mefJfDsxEuQq87rGCcU2LEYdB+aacLaxw619a4qfZxZi3VW4VcLZCcWkL\n4Rt+D60iif5vVVnMh6sslLrd6Tki82M12os5HNO0Jskqp6/hkrWodctNdjhf\niUqEfwoYUKYaCJuYRYzgDuwkfGS6XjIwsJa7XJmObtE09uYn49HTo1F1Cmnl\n+PNrsQ3epgB4D30ROJMJtak8gxSsAfOVAEFzdWXY+KYPAzCaPN1UXTtDKzfC\nXm7xW/lTJklqj9Gi6msFBpEDtem3p6tmz2HHOSN2eKM8gETGn5BEvPBN7Y+u\nmVsYmMU06PIlIwIGR4BCwknaXPkPpMF0dORgrlxRmv68XLL9Iaw1iHpvH7e5\n9J+E\r\n=t4zJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICcoQprKeEtvYk0P7ygP/ElalWb0zcx84Sq/HJ4J1BDSAiB26fpvU1aLlxYZ9uHPsOFx/XADKi7VqzZv4YWvR89J1Q=="}]},"maintainers":[{"name":"antoinepairet","email":"antoinepairet@gmail.com"}],"_npmUser":{"name":"antoinepairet","email":"antoinepairet@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/icc-api_2.3.0_1561040057840_0.6474560309456592"},"_hasShrinkwrap":false}},"time":{"created":"2018-11-21T14:34:12.037Z","1.1.1":"2018-11-21T14:34:12.586Z","modified":"2022-04-04T14:22:59.868Z","1.1.2":"2018-11-21T14:38:12.745Z","1.1.3":"2018-11-21T14:55:29.023Z","1.0.107":"2019-05-10T09:24:31.434Z","2.0.0":"2019-05-10T09:50:33.886Z","2.2.0":"2019-05-16T11:27:46.596Z","2.3.0":"2019-06-20T14:14:18.332Z"},"maintainers":[{"name":"antoinepairet","email":"antoinepairet@gmail.com"}],"description":"Typescript version of iCure standalone API client","homepage":"https://github.com/taktik/icc-api#readme","repository":{"type":"git","url":"git+https://github.com/taktik/icc-api.git"},"author":{"name":"Taktik sa - B12 Consulting"},"bugs":{"url":"https://github.com/taktik/icc-api/issues"},"license":"MIT","readme":"# Crypto model in iCure\n\n## Lexic\n\n- `\"ABCD\"` is a **non** encrypted key (uuid, ...)\n- `{AB}` is the encryption key of the pair `AB`, where hcParty `A` gives delegation to hcParty `B`.\n  The encryption key is stored encrypted in the hcPartyKeys of hcParty `A` document (see below)\n- `<ABCD>_{AB}` is the key `ABCD` encrypted with encryption key `{AB}`\n- `<{AB}>_{A}` is the encryption key `{AB}` encrypted with the public key of hcParty `A`\n\nThe encryption keys are stored in the hcParty document that gives delegation to other user, since only the user can modify his hcParty document in CouchDB.\nThe hcParty `B` needs to access the hcParty `A` document to decrypt (with his private key) the encryption key `{AB}` stored in the field hcPartyKeys.\n\n```\n## HCP A ##\nhcPartyKeys: {\n   A: [ <{AA}>_{A}, <{AA}>_{A} ]\n   B: [ <{AB}>_{A}, <{AB}>_{B} ]\n}\n```\n\n## Document type relations\n\n```\n## Patient 1234 ##\nID: \"1234\"\nDelegations: { A->A: <ABCD>_{AA}, A->B: <ABCD>_{AB} }\nEncryptionKeys: { A->A: <DCBA>_{AA}, A->B: <DCBA>_{AB} }\n```\n\n```\n## Contact 4567 ##\nID: \"4567\"\nSecretForeignKeys: [ \"ABCD\" ]\nCryptedForeignKeys: { A->A: <1234>_{AA}, A->B: <1234>_{AB} }\nEncryptionKeys: { A->A: <EFGH>_{AA}, A->B: <EFGH>_{AB} }\n```\n\nThe **delegations** of the **patient** document store the encrypted secretForeignKeys that you find in clear in the **contact** document. And allows, once decrypted, to find the contacts of a patient.\n\nOn the other side, the **cryptedForeignKeys** of the **contact** document allows, once decrypted, to find the corresponding **patient** document.\n\nThe **encryptionKeys** of a document are used to encrypt the content of the corresponding document. As for the delegations, the document encryption keys are stored encrypted with the encryption keys `{AA}`, `{AB}`, ...\n\nThe **healthElement** documents are linked to patient documents in the same way as the contact. This means that the healthElement documents have also **SecretForeignKeys** and **CryptedForeignKeys**, beside the **encryptionKeys**.\n\n## Delegations\n\n- Delegations === encrypted foreign key of all patient icureStoredDocument => it makes the link from a patient to a storedDocument\n- CryptedForeignKeys === encrypted patient.ID => it makes the link from a storedDocument to a patient\n- EncryptionKeys === encrypted encryptionKey (probably symmetric)\n\n## Multi profession\n\nContacts and delegations need to be segmented.\n=> need to have segmented auto-delegations\n\n# Usage\n\n## Instalation\n\nInstall from npm\n\n```\nnpm install --save icc-api\n```\n\n## ES6 import\n\nExample\nES6 include\n\n```javaScript\nimport * as IccApi from 'icc-api'\n```\n","readmeFilename":"README.md"}