{"_id":"@companix/yookassa","_rev":"11-e3b5197ce00e287a4fd180fe64e9f3a3","name":"@companix/yookassa","dist-tags":{"latest":"0.1.1"},"versions":{"0.0.1":{"name":"@companix/yookassa","version":"0.0.1","keywords":["nest","nestjs","nestjs-module","yookassa","payment"],"_id":"@companix/yookassa@0.0.1","maintainers":[{"name":"troovi","email":"pavel555666888@mail.ru"}],"homepage":"https://github.com/troovi/libs#readme","bugs":{"url":"https://github.com/troovi/libs/issues"},"dist":{"shasum":"abe5db0aa9819be4b81230e620669602f9e55e40","tarball":"https://registry.npmjs.org/@companix/yookassa/-/yookassa-0.0.1.tgz","fileCount":194,"integrity":"sha512-GN9LfC42XhK1VVJAE2tVJbuCN3+yDB7aGGeFBPHPczYOwhR+CmsKKl54U3p8yYSUTO8oIv/K/bOD8bJDyvqphA==","signatures":[{"sig":"MEYCIQCwUjUWh1SOC1KDQVoahLBGAd3DMMjedM4sBQc1IbhO1QIhAMTPMOBBjDo2sxq4W3bzgSfnLTgUMwwh/Xin74OTdZxn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":161555},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"7a3306ca03721057a416555322e707be3e17d8d7","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json"},"_npmUser":{"name":"troovi","email":"pavel555666888@mail.ru"},"repository":{"url":"git+https://github.com/troovi/libs.git","type":"git"},"_npmVersion":"10.8.2","description":"A NestJS library for integrating with YooKassa API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"undici":"^7.25.0","ipaddr.js":"^2.4.0"},"_hasShrinkwrap":false,"devDependencies":{"@nestjs/core":"^11.1.17","@nestjs/common":"^11.1.17"},"peerDependencies":{"@nestjs/core":"^10.0.0 || ^11.0.0","@nestjs/common":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/yookassa_0.0.1_1779094021477_0.7183527109190306","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@companix/yookassa","version":"0.0.2","keywords":["nest","nestjs","nestjs-module","yookassa","payment"],"_id":"@companix/yookassa@0.0.2","maintainers":[{"name":"troovi","email":"pavel555666888@mail.ru"}],"homepage":"https://github.com/troovi/libs#readme","bugs":{"url":"https://github.com/troovi/libs/issues"},"dist":{"shasum":"681f28d2bb9694e071277ab38a086c91ca1e0e68","tarball":"https://registry.npmjs.org/@companix/yookassa/-/yookassa-0.0.2.tgz","fileCount":197,"integrity":"sha512-eLmxqaI7e7JMQvc/jjxOUsLvX+c73qs0ypEbWFngICQTQNZG11f2v0ivPACrd3uTtQkYdr9DOD5qm/WBtJJ/Ig==","signatures":[{"sig":"MEUCIEsXlYXuRsSCXV1JvGrSB8xdh9Gb4a5mz8FwhMCwwdbZAiEAuoe7IhGwTCzfCL8yePgF6W45aqQSl6qgG6z1d5ZzheA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":165704},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"db284c2fdc007c904aef5e9e5bbe3ba328a25254","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json"},"_npmUser":{"name":"troovi","email":"pavel555666888@mail.ru"},"repository":{"url":"git+https://github.com/troovi/libs.git","type":"git"},"_npmVersion":"10.8.2","description":"A NestJS library for integrating with YooKassa API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"undici":"^7.25.0","ipaddr.js":"^2.4.0"},"_hasShrinkwrap":false,"devDependencies":{"@nestjs/core":"^11.1.17","@nestjs/common":"^11.1.17"},"peerDependencies":{"@nestjs/core":"^10.0.0 || ^11.0.0","@nestjs/common":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/yookassa_0.0.2_1779095296188_0.04758650841131051","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@companix/yookassa","version":"0.0.3","keywords":["nest","nestjs","nestjs-module","yookassa","payment"],"_id":"@companix/yookassa@0.0.3","maintainers":[{"name":"troovi","email":"pavel555666888@mail.ru"}],"homepage":"https://github.com/troovi/libs#readme","bugs":{"url":"https://github.com/troovi/libs/issues"},"dist":{"shasum":"478815d7db2a0a4c339bb1c224de534840c0819c","tarball":"https://registry.npmjs.org/@companix/yookassa/-/yookassa-0.0.3.tgz","fileCount":197,"integrity":"sha512-on9O77FAjg70sjy3sxTosZCsQjD75jiDV1I/s7emH7AwRAeZoPYWMxcKKkXbuzQpCt7ZcNVVaH4Z1LDvJem5LQ==","signatures":[{"sig":"MEQCIHXtnl9tB21PzO/Xg4xCIvlTcnsMF8vUimmsMXiqJGKdAiAdGzYUs3FNlTsHxx9ZI0SDAT3Jo04D0CQDZ3J4Rmk5YQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":165257},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"e27ca005f0de666e2706fc86913286609c599b3f","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json"},"_npmUser":{"name":"troovi","email":"pavel555666888@mail.ru"},"repository":{"url":"git+https://github.com/troovi/libs.git","type":"git"},"_npmVersion":"10.8.2","description":"A NestJS library for integrating with YooKassa API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"undici":"^7.25.0","ipaddr.js":"^2.4.0"},"_hasShrinkwrap":false,"devDependencies":{"@nestjs/core":"^11.1.17","@nestjs/common":"^11.1.17"},"peerDependencies":{"@nestjs/core":"^10.0.0 || ^11.0.0","@nestjs/common":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/yookassa_0.0.3_1779095462867_0.39076930243326236","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@companix/yookassa","version":"0.0.4","keywords":["nest","nestjs","nestjs-module","yookassa","payment"],"_id":"@companix/yookassa@0.0.4","maintainers":[{"name":"troovi","email":"pavel555666888@mail.ru"}],"homepage":"https://github.com/troovi/libs#readme","bugs":{"url":"https://github.com/troovi/libs/issues"},"dist":{"shasum":"754a3983ff41b811bed0fffe0896ce96e3c4bfd1","tarball":"https://registry.npmjs.org/@companix/yookassa/-/yookassa-0.0.4.tgz","fileCount":197,"integrity":"sha512-Du+4ncLde2TjrmZlTv0Cak7A37OM28GceT7j4bJ1yFH71qj0+2t8vjLnGmqnNsXd2CKnlutQcPPesGZlKM3QSQ==","signatures":[{"sig":"MEUCIH+1TyCOFq7aqwdrAT0Lg8pDfHOUg4r6dbKyTDuP9DG/AiEA4sh0SbTByna2GP8M4CRsoP8NNTrky5qIgSjW2WrLZdU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":460779},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"8f864bccc506b8a74a6f81ecb21535ae270f7f72","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json"},"_npmUser":{"name":"troovi","email":"pavel555666888@mail.ru"},"repository":{"url":"git+https://github.com/troovi/libs.git","type":"git"},"_npmVersion":"10.8.2","description":"A NestJS library for integrating with YooKassa API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"undici":"^7.25.0","ipaddr.js":"^2.4.0"},"_hasShrinkwrap":false,"devDependencies":{"@nestjs/core":"^11.1.17","@nestjs/common":"^11.1.17"},"peerDependencies":{"@nestjs/core":"^10.0.0 || ^11.0.0","@nestjs/common":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/yookassa_0.0.4_1779102534768_0.20808662485896456","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@companix/yookassa","version":"0.0.5","keywords":["nest","nestjs","nestjs-module","yookassa","payment"],"_id":"@companix/yookassa@0.0.5","maintainers":[{"name":"troovi","email":"pavel555666888@mail.ru"}],"homepage":"https://github.com/troovi/libs#readme","bugs":{"url":"https://github.com/troovi/libs/issues"},"dist":{"shasum":"686c8437336b2deae36a44ef4ab8f796fc9a9329","tarball":"https://registry.npmjs.org/@companix/yookassa/-/yookassa-0.0.5.tgz","fileCount":200,"integrity":"sha512-AVHPoENC4k7t2vEdC9Li+ePnHvgSilmCsH9BN54iKq+oGDZ1RxfUlq3HmfngWiWoKtSvltlaE/e4nL6sJwFQtA==","signatures":[{"sig":"MEQCIH9TmkoZCmJ7Sp0tTAZdwkl/qhHhG2jn05rbXC3Yq8MrAiAazCzAuDxgpCVHiSbgQcc7jBmuQbUp/z3lz74cVIvf0A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":463282},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"30a2abef94cc95192d127943a76a376fbf2b3375","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json"},"_npmUser":{"name":"troovi","email":"pavel555666888@mail.ru"},"repository":{"url":"git+https://github.com/troovi/libs.git","type":"git"},"_npmVersion":"10.8.2","description":"A NestJS library for integrating with YooKassa API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"undici":"^7.25.0","ipaddr.js":"^2.4.0"},"_hasShrinkwrap":false,"devDependencies":{"@nestjs/core":"^11.1.17","@nestjs/common":"^11.1.17"},"peerDependencies":{"@nestjs/core":"^10.0.0 || ^11.0.0","@nestjs/common":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/yookassa_0.0.5_1779106349205_0.8347026291282758","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@companix/yookassa","version":"0.0.6","keywords":["nest","nestjs","nestjs-module","yookassa","payment"],"_id":"@companix/yookassa@0.0.6","maintainers":[{"name":"troovi","email":"pavel555666888@mail.ru"}],"homepage":"https://github.com/troovi/libs#readme","bugs":{"url":"https://github.com/troovi/libs/issues"},"dist":{"shasum":"7fcaa0b8d7acf35240bbdb2424c7d989a4b87c9d","tarball":"https://registry.npmjs.org/@companix/yookassa/-/yookassa-0.0.6.tgz","fileCount":200,"integrity":"sha512-7W5LcbnBexLAyaQuHfAqWXdmmcPW9+x7vuk4llLGOw+IDA1nUVgYbTURJwnES9bNESVuFZVTEPxxT7gZ2MO70w==","signatures":[{"sig":"MEUCIQCBL3kjqTX4AFvAeRrPOPfc3nuS+kmS1J+ajIJ798nTrAIgEDu9vucIrPBbQZYGEWcOZgdI7gBnQjEsqQ9qZzPWYkE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":463381},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"debaf71fdf6463000c9f2b13f52f1e305a793d3c","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json"},"_npmUser":{"name":"troovi","email":"pavel555666888@mail.ru"},"repository":{"url":"git+https://github.com/troovi/libs.git","type":"git"},"_npmVersion":"10.8.2","description":"A NestJS library for integrating with YooKassa API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"undici":"^7.25.0","ipaddr.js":"^2.4.0"},"_hasShrinkwrap":false,"devDependencies":{"@nestjs/core":"^11.1.17","@nestjs/common":"^11.1.17"},"peerDependencies":{"@nestjs/core":"^10.0.0 || ^11.0.0","@nestjs/common":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/yookassa_0.0.6_1779106484912_0.7508627415774847","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@companix/yookassa","version":"0.0.7","keywords":["nest","nestjs","nestjs-module","yookassa","payment"],"_id":"@companix/yookassa@0.0.7","maintainers":[{"name":"troovi","email":"pavel555666888@mail.ru"}],"homepage":"https://github.com/troovi/libs#readme","bugs":{"url":"https://github.com/troovi/libs/issues"},"dist":{"shasum":"407246471b53515e0f24d4e7291773fea4701afc","tarball":"https://registry.npmjs.org/@companix/yookassa/-/yookassa-0.0.7.tgz","fileCount":200,"integrity":"sha512-YPNZIsohpwl2nrmnNA+FG9KrwjzwdjW3jLw+y4NlDwk3BHEHH0TH5gJzNXI3KhZ/PlgLNFj3/fXbQGpjQAGOtQ==","signatures":[{"sig":"MEQCICzQftLBnxkck7peTeI67xrIvZl6uU0l/Wd3XyNd8RP5AiAa4T030uJoiGGjF1t/r+z3XNhnkwTiMknAqin9RdTJ0g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":468470},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"93d32e39938fd9671074deeebbe9dbeebaaad8cd","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json"},"_npmUser":{"name":"troovi","email":"pavel555666888@mail.ru"},"repository":{"url":"git+https://github.com/troovi/libs.git","type":"git"},"_npmVersion":"10.8.2","description":"A NestJS library for integrating with YooKassa API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"undici":"^7.25.0","ipaddr.js":"^2.4.0"},"_hasShrinkwrap":false,"devDependencies":{"@nestjs/core":"^11.1.17","@nestjs/common":"^11.1.17"},"peerDependencies":{"@nestjs/core":"^10.0.0 || ^11.0.0","@nestjs/common":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/yookassa_0.0.7_1779164943164_0.7191582332249733","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@companix/yookassa","version":"0.0.8","keywords":["nest","nestjs","nestjs-module","yookassa","payment"],"_id":"@companix/yookassa@0.0.8","maintainers":[{"name":"troovi","email":"pavel555666888@mail.ru"}],"homepage":"https://github.com/troovi/libs#readme","bugs":{"url":"https://github.com/troovi/libs/issues"},"dist":{"shasum":"5107e9d6767288bd87918a43dcb679f4b85859f4","tarball":"https://registry.npmjs.org/@companix/yookassa/-/yookassa-0.0.8.tgz","fileCount":200,"integrity":"sha512-voW9GWeliyyATfuZoSq07MIxUUEiq4GBnbvyZmMh0UpzHxLDNmiqdlxrUkRJ2YH7H3096o12QEmgP77uGnWNgA==","signatures":[{"sig":"MEQCIC/p4TQwUpED3pZv8uvvZYc3cPsdEZr/GdeFW6KeXgJbAiAU4tSdO//4wVUgPVp4StL1eNo8xxOD3MifS8/ehToFKA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":464870},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"cb7578fba740a8cf80a54c3eb90a35771240c56d","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json"},"_npmUser":{"name":"troovi","email":"pavel555666888@mail.ru"},"repository":{"url":"git+https://github.com/troovi/libs.git","type":"git"},"_npmVersion":"10.8.2","description":"A NestJS library for integrating with YooKassa API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"undici":"^7.25.0","ipaddr.js":"^2.4.0"},"_hasShrinkwrap":false,"devDependencies":{"@nestjs/core":"^11.1.17","@nestjs/common":"^11.1.17"},"peerDependencies":{"@nestjs/core":"^10.0.0 || ^11.0.0","@nestjs/common":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/yookassa_0.0.8_1779206592440_0.8012629171849619","host":"s3://npm-registry-packages-npm-production"}},"0.0.9":{"name":"@companix/yookassa","version":"0.0.9","keywords":["nest","nestjs","nestjs-module","yookassa","payment"],"_id":"@companix/yookassa@0.0.9","maintainers":[{"name":"troovi","email":"pavel555666888@mail.ru"}],"homepage":"https://github.com/troovi/libs#readme","bugs":{"url":"https://github.com/troovi/libs/issues"},"dist":{"shasum":"6d2d5590cd873efa122fc12e229380e3094ad74c","tarball":"https://registry.npmjs.org/@companix/yookassa/-/yookassa-0.0.9.tgz","fileCount":200,"integrity":"sha512-D6odG5CF6HFGLMehoMlpRQm4bA3AMYRvKIXoIw5ALQ+Bao9PTQdffw4i0DNuEajsD4VOB1OyXt2hY9+TNpkBiw==","signatures":[{"sig":"MEYCIQCuWl0Brz/qPqNDua5eWHjJSmvBbr6toFlzSCrz4BO75QIhAOtp20IpDsM3NQwG3pF3vwN01FmQjgxZaNgo1BS60oFv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":466611},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"1e790a03074bd42dc6c8e427cbca0e369f87da63","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json"},"_npmUser":{"name":"troovi","email":"pavel555666888@mail.ru"},"repository":{"url":"git+https://github.com/troovi/libs.git","type":"git"},"_npmVersion":"10.8.2","description":"A NestJS library for integrating with YooKassa API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"undici":"^7.25.0","ipaddr.js":"^2.4.0"},"_hasShrinkwrap":false,"devDependencies":{"@nestjs/core":"^11.1.17","@nestjs/common":"^11.1.17"},"peerDependencies":{"@nestjs/core":"^10.0.0 || ^11.0.0","@nestjs/common":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/yookassa_0.0.9_1779556278360_0.8426499952055662","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@companix/yookassa","version":"0.1.0","keywords":["nest","nestjs","nestjs-module","yookassa","payment"],"_id":"@companix/yookassa@0.1.0","maintainers":[{"name":"troovi","email":"pavel555666888@mail.ru"}],"homepage":"https://github.com/troovi/libs#readme","bugs":{"url":"https://github.com/troovi/libs/issues"},"dist":{"shasum":"5d06f6fc96596f8c3c3a4cf9b56a1fe37c4a1947","tarball":"https://registry.npmjs.org/@companix/yookassa/-/yookassa-0.1.0.tgz","fileCount":200,"integrity":"sha512-Vu/DdccV8dZqZlKAWT2uV3GT0KQHZJU8iM0FagY+wINiBvUEhs4unRcIxVD5gterUPSowWfvCMlvxIkBywZAUw==","signatures":[{"sig":"MEQCIBhno3adNUwneG53EqvaU4wYUsUV4pJR6+rcTgcK/K3KAiBfUFMLHt3YwFRZVYHApAb5TqnyayZ2NhipDugcBLq+ug==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":464870},"main":"./dist/index.js","types":"./dist/index.d.ts","gitHead":"a790fa7c910dd06e51840c87d7ae35f7779edb06","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json"},"_npmUser":{"name":"troovi","email":"pavel555666888@mail.ru"},"repository":{"url":"git+https://github.com/troovi/libs.git","type":"git"},"_npmVersion":"10.8.2","description":"A NestJS library for integrating with YooKassa API","directories":{},"_nodeVersion":"20.20.2","dependencies":{"undici":"^7.25.0","ipaddr.js":"^2.4.0"},"_hasShrinkwrap":false,"devDependencies":{"@nestjs/core":"^11.1.17","@nestjs/common":"^11.1.17"},"peerDependencies":{"@nestjs/core":"^10.0.0 || ^11.0.0","@nestjs/common":"^10.0.0 || ^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/yookassa_0.1.0_1779557777297_0.5768417787223601","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@companix/yookassa","version":"0.1.1","description":"A NestJS library for integrating with YooKassa API","keywords":["nest","nestjs","nestjs-module","yookassa","payment"],"repository":{"type":"git","url":"git+https://github.com/troovi/libs.git"},"main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"build":"rm -rf dist && tsc -p tsconfig.json"},"devDependencies":{"@nestjs/common":"^11.1.17","@nestjs/core":"^11.1.17"},"dependencies":{"ipaddr.js":"^2.4.0","undici":"^7.25.0"},"peerDependencies":{"@nestjs/common":"^10.0.0 || ^11.0.0","@nestjs/core":"^10.0.0 || ^11.0.0"},"_id":"@companix/yookassa@0.1.1","gitHead":"6aab95a2f399c09232f988dcd9e2d52355af9c43","bugs":{"url":"https://github.com/troovi/libs/issues"},"homepage":"https://github.com/troovi/libs#readme","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-eHYC5XOcnQigRkMojtrfcNCnAk6cJWX4nmgAjcdxVH4bIu6hryVgwAXuZFLbkbxIbOfBh81ybUu6gu1Ee52byg==","shasum":"a25a94f36a5dd2adb213b0cd7088bb2056bcd00c","tarball":"https://registry.npmjs.org/@companix/yookassa/-/yookassa-0.1.1.tgz","fileCount":200,"unpackedSize":466295,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDaVWs8jLqvuC38tY82zvyHdUVaiaw7d+1279rfgoP0FAIhAL77F7Vo1G4T8k8NmV/N4Z/rhgQka33FHRzs/UzIFXlf"}]},"_npmUser":{"name":"troovi","email":"pavel555666888@mail.ru"},"directories":{},"maintainers":[{"name":"troovi","email":"pavel555666888@mail.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/yookassa_0.1.1_1779559045970_0.28944441785348873"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-18T08:47:01.339Z","modified":"2026-05-23T17:57:26.236Z","0.0.1":"2026-05-18T08:47:01.689Z","0.0.2":"2026-05-18T09:08:16.344Z","0.0.3":"2026-05-18T09:11:02.998Z","0.0.4":"2026-05-18T11:08:54.915Z","0.0.5":"2026-05-18T12:12:29.389Z","0.0.6":"2026-05-18T12:14:45.062Z","0.0.7":"2026-05-19T04:29:03.348Z","0.0.8":"2026-05-19T16:03:12.664Z","0.0.9":"2026-05-23T17:11:18.511Z","0.1.0":"2026-05-23T17:36:17.460Z","0.1.1":"2026-05-23T17:57:26.118Z"},"bugs":{"url":"https://github.com/troovi/libs/issues"},"homepage":"https://github.com/troovi/libs#readme","keywords":["nest","nestjs","nestjs-module","yookassa","payment"],"repository":{"type":"git","url":"git+https://github.com/troovi/libs.git"},"description":"A NestJS library for integrating with YooKassa API","maintainers":[{"name":"troovi","email":"pavel555666888@mail.ru"}],"readme":"# @companix/yookassa\n\nNestJS-библиотека для работы с API YooKassa. Пакет предоставляет типизированные DTO для запросов и ответов, HTTP-клиент с Basic Auth и набор сервисов для платежей, возвратов, чеков, выплат, сделок, webhook и других разделов API.\n\n## Установка\n\n```sh\nnpm i @companix/yookassa\n```\n\nПакет рассчитан на NestJS 10 или 11.\n\n## Подключение\n\nПодключите `YookassaModule` в корневом модуле приложения:\n\n```ts\nimport { Module } from '@nestjs/common'\nimport { YookassaModule } from '@companix/yookassa'\n\n@Module({\n  imports: [\n    YookassaModule.forRoot({\n      shopId: process.env.YOOKASSA_SHOP_ID!,\n      apiKey: process.env.YOOKASSA_API_KEY!\n    })\n  ]\n})\nexport class AppModule {}\n```\n\nДля конфигурации через `ConfigService` используйте `forRootAsync`:\n\n```ts\nimport { Module } from '@nestjs/common'\nimport { ConfigModule, ConfigService } from '@nestjs/config'\nimport { YookassaModule } from '@companix/yookassa'\n\n@Module({\n  imports: [\n    ConfigModule.forRoot(),\n    YookassaModule.forRootAsync({\n      imports: [ConfigModule],\n      useFactory: (config: ConfigService) => ({\n        shopId: config.getOrThrow('YOOKASSA_SHOP_ID'),\n        apiKey: config.getOrThrow('YOOKASSA_API_KEY'),\n        proxyUrl: config.get('YOOKASSA_PROXY_URL')\n      }),\n      inject: [ConfigService]\n    })\n  ]\n})\nexport class AppModule {}\n```\n\nПараметры модуля:\n\n- `shopId` - идентификатор магазина YooKassa.\n- `apiKey` - секретный ключ API.\n- `proxyUrl` - опциональный HTTP/HTTPS-прокси, например `http://127.0.0.1:8080`.\n\n## Использование\n\n`YookassaModule` является глобальным модулем, поэтому после подключения можно внедрять `YookassaService` в любые провайдеры.\n\n```ts\nimport { Injectable } from '@nestjs/common'\nimport { CurrencyEnum, YookassaService } from '@companix/yookassa'\n\n@Injectable()\nexport class OrdersService {\n  public constructor(private readonly yookassa: YookassaService) {}\n\n  public async createPayment(orderId: string) {\n    const payment = await this.yookassa.payments.create({\n      amount: {\n        value: '1000.00',\n        currency: CurrencyEnum.RUB\n      },\n      capture: true,\n      description: `Оплата заказа ${orderId}`,\n      confirmation: {\n        type: 'redirect',\n        return_url: `https://example.com/orders/${orderId}/payment`\n      },\n      metadata: {\n        orderId\n      }\n    })\n\n    return payment.confirmation\n  }\n}\n```\n\nМожно внедрять и отдельные сервисы, если нужен только один раздел API:\n\n```ts\nimport { Injectable } from '@nestjs/common'\nimport { PaymentService } from '@companix/yookassa'\n\n@Injectable()\nexport class PaymentsService {\n  public constructor(private readonly payments: PaymentService) {}\n\n  public getPayment(id: string) {\n    return this.payments.getById(id)\n  }\n}\n```\n\n## Webhook\n\nДля защиты endpoint от запросов не из YooKassa используйте декоратор `@YookassaWebhook()`. Он подключает guard, который проверяет IP отправителя по whitelist YooKassa. Если приложение работает за reverse proxy, убедитесь, что корректно пробрасывается `x-forwarded-for`.\n\n```ts\nimport { Body, Controller, Post } from '@nestjs/common'\nimport { WebhookNotification, YookassaWebhook } from '@companix/yookassa'\n\n@Controller('webhooks')\nexport class WebhooksController {\n  @Post('yookassa')\n  @YookassaWebhook()\n  public async handleYookassaWebhook(@Body() payload: WebhookNotification) {\n    if (payload.event === 'payment.succeeded') {\n      const payment = payload.object\n\n      // Обновите заказ по payment.metadata или payment.id.\n    }\n  }\n}\n```\n\nСоздать webhook в YooKassa можно через сервис:\n\n```ts\nawait yookassa.webhooks.create({\n  event: 'payment.succeeded',\n  url: 'https://example.com/webhooks/yookassa'\n})\n```\n\n## Доступные сервисы\n\n`YookassaService` объединяет сервисы по разделам API:\n\n- `payments` - `create`, `getAll`, `getById`, `capture`, `cancel`.\n- `refunds` - `create`, `getAll`, `getById`.\n- `invoices` - `create`, `getById`.\n- `paymentMethods` - `create`, `getById`.\n- `receipts` - `create`, `getAll`, `getById`.\n- `payouts` - `create`, `getAll`, `search`, `getById`.\n- `sbpBanks` - `getAll`.\n- `personalData` - `create`, `getById`.\n- `deals` - `create`, `getAll`, `getById`.\n- `webhooks` - `create`, `getAll`, `delete`.\n- `me` - `get`.\n\n## Типы и enum\n\nПакет экспортирует типы запросов, ответов, webhook-уведомлений, общие интерфейсы и enum:\n\n```ts\nimport type {\n  CreatePaymentRequest,\n  CreatePaymentResponse,\n  GetPaymentResponse,\n  WebhookNotification\n} from '@companix/yookassa'\nimport { CurrencyEnum } from '@companix/yookassa'\n```\n\n## Ошибки\n\nОшибки API и сетевые ошибки приводятся к `YookassaError`.\n\n```ts\ntry {\n  await yookassa.payments.getById('payment-id')\n} catch (error) {\n  if (error instanceof YookassaError) {\n    console.error(error.message)\n  }\n}\n```\n\n## Сборка\n\n```sh\nnpm run build -w @companix/yookassa\n```\n","readmeFilename":"README.md"}