{"_id":"@adaptive-ds/waha-client","_rev":"7-ec1e489467c92e88ec9099d0e66db9cb","name":"@adaptive-ds/waha-client","dist-tags":{"latest":"0.6.1"},"versions":{"0.1.0":{"name":"@adaptive-ds/waha-client","version":"0.1.0","keywords":["waha","whatsapp","api-client","typescript","cli","valibot","result"],"license":"MIT","_id":"@adaptive-ds/waha-client@0.1.0","maintainers":[{"name":"david1gp","email":"david1gruppenplan@gmail.com"}],"homepage":"https://github.com/david1gp/waha-client","bugs":{"url":"https://github.com/david1gp/waha-client/issues"},"bin":{"waha-client":"dist/cli.js"},"dist":{"shasum":"1ac7bd1fcb476734607e70cd44be339772341061","tarball":"https://registry.npmjs.org/@adaptive-ds/waha-client/-/waha-client-0.1.0.tgz","fileCount":3,"integrity":"sha512-DAmftc314YHGz4Pa8qmRKe8m9nzWmmF2VgTAPVzDx1j1F8mQ5skM/DcT6NafPkUFVf2hxSKe/hCnOnJ+n87sag==","signatures":[{"sig":"MEQCIHrLz+ijRsGPfaiaNV3e1ICi+P63xIGQKU+bEoimRSxsAiBRpVttgom/NrUCxmX+OtKG4RK+FAkXcRLDwVBZDM+DSw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6428},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./*.js":{"types":"./dist/*.d.ts","import":"./dist/*.js"}},"gitHead":"0f298b65371ef8fbb302c9e5a0f07adfe06c12ab","imports":{"#result":"@adaptive-ds/result"},"private":false,"scripts":{"dev":"bun run src/cli.ts","tsc":"tsc --noEmit","test":"bun test","build":"rm -rf ./dist && bun tsc -p ./tsconfig.lib.json","clean":"rm -rf ./dist","reset":"rm -rf ./node_modules","format":"biome format --write src test package.json tsconfig.json tsconfig.lib.json biome.json","test:w":"bun test --watch","update":"bun update","release":"bash ./ops/release.sh","update:commit":"bun update && git add package.json && bun run tsc && git commit -m \"chore(deps): update dependencies\" && git push"},"_npmUser":{"name":"david1gp","email":"david1gruppenplan@gmail.com"},"prettier":{"semi":false,"printWidth":120,"trailingComma":"all"},"repository":{"url":"git+https://github.com/david1gp/waha-client.git","type":"git"},"_npmVersion":"10.9.4","description":"TypeScript client and CLI for the WAHA (WhatsApp HTTP API). Full API coverage, Result-typed, Valibot-validated.","directories":{},"_nodeVersion":"22.21.1","dependencies":{"@stricli/core":"^1.2.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.13","typescript":"^6.0.3","@biomejs/biome":"^2.5.2"},"peerDependencies":{"valibot":"^1.2.0","@adaptive-ds/result":">=0.4.0"},"_npmOperationalInternal":{"tmp":"tmp/waha-client_0.1.0_1785240708410_0.829401832166492","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@adaptive-ds/waha-client","version":"0.2.1","keywords":["waha","whatsapp","api-client","typescript","cli","valibot","result"],"license":"MIT","_id":"@adaptive-ds/waha-client@0.2.1","maintainers":[{"name":"david1gp","email":"david1gruppenplan@gmail.com"}],"homepage":"https://github.com/david1gp/waha-client","bugs":{"url":"https://github.com/david1gp/waha-client/issues"},"bin":{"waha-client":"dist/cli.js"},"dist":{"shasum":"49614d82d61bf53a936b590b0d346f47b9ea6b99","tarball":"https://registry.npmjs.org/@adaptive-ds/waha-client/-/waha-client-0.2.1.tgz","fileCount":803,"integrity":"sha512-SXZ3AighCPlESCYsUOqkk1NutKr5kQWaPIskI8DhKSVc5Fxx2elfyF9O/fGVgo6HipeUwBcdeuw0pp8mDrL4IQ==","signatures":[{"sig":"MEUCIF14vNOltrDrgZ74wogD0FEand6UW3J9UvZvpzLXSmceAiEAvc7flH63sw/EXBNB5iFUzJR6qY/lowBkvF5rq8mhPMc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adaptive-ds%2fwaha-client@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":752358},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./*.js":{"types":"./dist/*.d.ts","import":"./dist/*.js"}},"gitHead":"e975a9042f7462cb9184558f22b2eb613723bf7e","imports":{"#result":"@adaptive-ds/result"},"private":false,"scripts":{"dev":"bun run src/cli.ts","tsc":"tsc --noEmit","test":"bun test","build":"rm -rf ./dist && tsc -p ./tsconfig.lib.json","clean":"rm -rf ./dist","reset":"rm -rf ./node_modules","format":"biome format --write src test package.json tsconfig.json tsconfig.lib.json biome.json","test:w":"bun test --watch","update":"bun update","release":"bash ./ops/release.sh","update:commit":"bun update && git add package.json && bun run tsc && git commit -m \"chore(deps): update dependencies\" && git push"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0767ccf8-50f6-44ef-9bc8-7a90af656ac5"}},"prettier":{"semi":false,"printWidth":120,"trailingComma":"all"},"repository":{"url":"git+https://github.com/david1gp/waha-client.git","type":"git"},"_npmVersion":"12.0.1","description":"TypeScript client and CLI for the WAHA (WhatsApp HTTP API). Full API coverage, Result-typed, Valibot-validated.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@stricli/core":"^1.2.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.13","typescript":"^6.0.3","@biomejs/biome":"^2.5.2"},"peerDependencies":{"valibot":"^1.2.0","@adaptive-ds/result":">=0.4.0"},"_npmOperationalInternal":{"tmp":"tmp/waha-client_0.2.1_1785242006479_0.4494136674234943","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@adaptive-ds/waha-client","version":"0.3.0","keywords":["waha","whatsapp","api-client","typescript","cli","valibot","result"],"license":"MIT","_id":"@adaptive-ds/waha-client@0.3.0","maintainers":[{"name":"david1gp","email":"david1gruppenplan@gmail.com"}],"homepage":"https://github.com/david1gp/waha-client","bugs":{"url":"https://github.com/david1gp/waha-client/issues"},"bin":{"waha-client":"dist/cli.js"},"dist":{"shasum":"e34f147e13096be5bb5428e8a16a03ca973d08d2","tarball":"https://registry.npmjs.org/@adaptive-ds/waha-client/-/waha-client-0.3.0.tgz","fileCount":819,"integrity":"sha512-w/1T5rRMXo3XKaXkdiUxnJbQT9f+I/iX6uaYSXoMaT7jfUjAK8Hy0t7fvWKtyJDJ9F8CdYiQNgTOsGBoG0Y/rw==","signatures":[{"sig":"MEUCIQC9AQhec2oyOhkYT/ead5OMg7volEAZjysGSNN4gkDfvwIgf78pT6kiwCF9PjhvIc4dZ0intEw24Gek29rmHaO7OXY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adaptive-ds%2fwaha-client@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":779809},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./*.js":{"types":"./dist/*.d.ts","import":"./dist/*.js"}},"gitHead":"b216b309a667b4b6437404f625c3ffa81095cd14","imports":{"#result":"@adaptive-ds/result"},"private":false,"scripts":{"dev":"bun run src/cli.ts","tsc":"tsc --noEmit","test":"bun test","build":"rm -rf ./dist && tsc -p ./tsconfig.lib.json","clean":"rm -rf ./dist","reset":"rm -rf ./node_modules","format":"biome format --write src test package.json tsconfig.json tsconfig.lib.json biome.json","test:w":"bun test --watch","update":"bun update","release":"bash ./ops/release.sh","update:commit":"bun update && git add package.json && bun run tsc && git commit -m \"chore(deps): update dependencies\" && git push"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0767ccf8-50f6-44ef-9bc8-7a90af656ac5"}},"prettier":{"semi":false,"printWidth":120,"trailingComma":"all"},"repository":{"url":"git+https://github.com/david1gp/waha-client.git","type":"git"},"_npmVersion":"12.0.2","description":"TypeScript client and CLI for the WAHA (WhatsApp HTTP API). Full API coverage, Result-typed, Valibot-validated.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"@stricli/core":"^1.2.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.13","typescript":"^6.0.3","@biomejs/biome":"^2.5.2"},"peerDependencies":{"valibot":"^1.2.0","@adaptive-ds/result":">=0.4.0"},"_npmOperationalInternal":{"tmp":"tmp/waha-client_0.3.0_1787736767429_0.1409494585096327","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@adaptive-ds/waha-client","version":"0.4.1","keywords":["waha","whatsapp","api-client","typescript","cli","valibot","result"],"license":"MIT","_id":"@adaptive-ds/waha-client@0.4.1","maintainers":[{"name":"david1gp","email":"david1gruppenplan@gmail.com"}],"homepage":"https://github.com/david1gp/waha-client","bugs":{"url":"https://github.com/david1gp/waha-client/issues"},"bin":{"waha-client":"dist/cli.js"},"dist":{"shasum":"9c89165c81a3fb8a19cc2f4f0fdadc4754c6c73d","tarball":"https://registry.npmjs.org/@adaptive-ds/waha-client/-/waha-client-0.4.1.tgz","fileCount":847,"integrity":"sha512-qAm1TtAV+tY6jcPwyE670OCzvG+FRieDoWKO0G/QCyWdWL+e3y56+GwHBiYCDuM7dZM5H1IZDWL9Mhq8JtGE3A==","signatures":[{"sig":"MEUCIFWYfqg66VrAgNQYQ4AxH95Laf0JtuRhJnkPX2MP/BUmAiEA1qwFpvBjoccrVCN8fNxHGu0OoPy7LwgYIjny2/ns43A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDXJ04caiJtqA8OqD5lvZvG5RAsNwBjQuJM/Wcz3wGAUAIhAMuSQsRp4VJDbwOaohxYZBMX0Rdx7obf9wg9u1yUYtrN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adaptive-ds%2fwaha-client@0.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":815488},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./*.js":{"types":"./dist/*.d.ts","import":"./dist/*.js"}},"gitHead":"721e15f5f510c8cdd65110fceb526c2ddf3567f1","imports":{"#result":"@adaptive-ds/result"},"private":false,"scripts":{"dev":"bun run src/cli.ts","tsc":"tsc --noEmit","test":"bun test","build":"rm -rf ./dist && tsc -p ./tsconfig.lib.json","clean":"rm -rf ./dist","reset":"rm -rf ./node_modules","format":"biome format --write src test package.json tsconfig.json tsconfig.lib.json biome.json","test:w":"bun test --watch","update":"bun update","release":"bash ./ops/release.sh","update:commit":"bun update && git add package.json && bun run tsc && git commit -m \"chore(deps): update dependencies\" && git push"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0767ccf8-50f6-44ef-9bc8-7a90af656ac5"}},"prettier":{"semi":false,"printWidth":120,"trailingComma":"all"},"repository":{"url":"git+https://github.com/david1gp/waha-client.git","type":"git"},"_npmVersion":"12.0.2","description":"TypeScript client and CLI for the WAHA (WhatsApp HTTP API). Full API coverage, Result-typed, Valibot-validated.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@stricli/core":"^1.2.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.13","typescript":"^6.0.3","@biomejs/biome":"^2.5.2"},"peerDependencies":{"valibot":"^1.2.0","@adaptive-ds/result":">=0.4.0"},"_npmOperationalInternal":{"tmp":"tmp/waha-client_0.4.1_1790008202343_0.279729852607411","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@adaptive-ds/waha-client","version":"0.5.0","keywords":["waha","whatsapp","api-client","typescript","cli","valibot","result"],"license":"MIT","_id":"@adaptive-ds/waha-client@0.5.0","maintainers":[{"name":"david1gp","email":"david1gruppenplan@gmail.com"}],"homepage":"https://github.com/david1gp/waha-client","bugs":{"url":"https://github.com/david1gp/waha-client/issues"},"bin":{"waha-client":"dist/cli.js"},"dist":{"shasum":"8aba117724480c1741e91cfa57ac00c1a66ba2e8","tarball":"https://registry.npmjs.org/@adaptive-ds/waha-client/-/waha-client-0.5.0.tgz","fileCount":851,"integrity":"sha512-Jj7H5ts4SPSkCTIDM4GM3N8Tk7+I9p07bQzZrVlR/QOuhzvG49m9C8QFwqnjzVyWoYdre5kJE4B6Hx9XZg2Dqw==","signatures":[{"sig":"MEQCID86KhgIixY594KrHOFvhtjiy86W3ehivZMYHabq4BakAiBISrShUaCQCmC/RAUIM84G8xWTcKRspoBKH4cItAotOg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIAdYDlmOCfAxsRa18GI30i+/v9jrC5jkPSvyBhsyFsUpAiEA/qw+HpqQHTJQc2mDyVR1m3acYnh+uUsTT7C++5jVfks=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adaptive-ds%2fwaha-client@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":827248},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./*.js":{"types":"./dist/*.d.ts","import":"./dist/*.js"}},"gitHead":"a6e1d24d38bd358c5954665abec3f34aa6d79509","imports":{"#result":"@adaptive-ds/result"},"private":false,"scripts":{"dev":"bun run src/cli.ts","tsc":"tsc --noEmit","test":"bun test","build":"rm -rf ./dist && tsc -p ./tsconfig.lib.json","clean":"rm -rf ./dist","reset":"rm -rf ./node_modules","format":"biome format --write src test package.json tsconfig.json tsconfig.lib.json biome.json","test:w":"bun test --watch","update":"bun update","release":"bash ./ops/release.sh","update:commit":"bun update && git add package.json && bun run tsc && git commit -m \"chore(deps): update dependencies\" && git push"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0767ccf8-50f6-44ef-9bc8-7a90af656ac5"}},"prettier":{"semi":false,"printWidth":120,"trailingComma":"all"},"repository":{"url":"git+https://github.com/david1gp/waha-client.git","type":"git"},"_npmVersion":"12.0.2","description":"TypeScript client and CLI for the WAHA (WhatsApp HTTP API). Full API coverage, Result-typed, Valibot-validated.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@stricli/core":"^1.2.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.13","typescript":"^6.0.3","@biomejs/biome":"^2.5.2"},"peerDependencies":{"valibot":"^1.2.0","@adaptive-ds/result":">=0.4.0"},"_npmOperationalInternal":{"tmp":"tmp/waha-client_0.5.0_1790014831821_0.9215188185618859","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@adaptive-ds/waha-client","version":"0.6.0","keywords":["waha","whatsapp","api-client","typescript","cli","valibot","result"],"license":"MIT","_id":"@adaptive-ds/waha-client@0.6.0","maintainers":[{"name":"david1gp","email":"david1gruppenplan@gmail.com"}],"homepage":"https://github.com/david1gp/waha-client","bugs":{"url":"https://github.com/david1gp/waha-client/issues"},"bin":{"waha-client":"dist/cli.js"},"dist":{"shasum":"8abb2af097b1e2452375e04c7b1bc65681085c95","tarball":"https://registry.npmjs.org/@adaptive-ds/waha-client/-/waha-client-0.6.0.tgz","fileCount":2219,"integrity":"sha512-CqOd9JjUVS2qAnFHoudmGd4linuiwNSEB/lyLlVH2V7/59dHy/GlJL71+fS5XWyASTHbNvcO++hNRbKMRSZLjw==","signatures":[{"sig":"MEYCIQDkEyGCm56rb4LoW3sezTsEGx6SZmhUjjxQlwvts7NAgAIhAMwGLt/qIDb2h2tGak9ot/EtfCevwrCrkc9NF15M9SQL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCgowj6LIiZk8ktQO7k6VliTtY13peoowkHepcKps0XSAIgE6T3adz9S5zMXogHzUj5DveY726Or6NeJVfHKoI/evo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adaptive-ds%2fwaha-client@0.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1284751},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./*.js":{"types":"./dist/*.d.ts","import":"./dist/*.js"},"./apps/*.js":{"types":"./dist/apps/*.d.ts","import":"./dist/apps/*.js"},"./auth/*.js":{"types":"./dist/auth/*.d.ts","import":"./dist/auth/*.js"},"./lids/*.js":{"types":"./dist/lids/*.d.ts","import":"./dist/lids/*.js"},"./calls/*.js":{"types":"./dist/calls/*.d.ts","import":"./dist/calls/*.js"},"./chats/*.js":{"types":"./dist/chats/*.d.ts","import":"./dist/chats/*.js"},"./media/*.js":{"types":"./dist/media/*.d.ts","import":"./dist/media/*.js"},"./client/*.js":{"types":"./dist/client/*.d.ts","import":"./dist/client/*.js"},"./events/*.js":{"types":"./dist/events/*.d.ts","import":"./dist/events/*.js"},"./groups/*.js":{"types":"./dist/groups/*.d.ts","import":"./dist/groups/*.js"},"./labels/*.js":{"types":"./dist/labels/*.d.ts","import":"./dist/labels/*.js"},"./server/*.js":{"types":"./dist/server/*.d.ts","import":"./dist/server/*.js"},"./status/*.js":{"types":"./dist/status/*.d.ts","import":"./dist/status/*.js"},"./apiKeys/*.js":{"types":"./dist/apiKeys/*.d.ts","import":"./dist/apiKeys/*.js"},"./profile/*.js":{"types":"./dist/profile/*.d.ts","import":"./dist/profile/*.js"},"./channels/*.js":{"types":"./dist/channels/*.d.ts","import":"./dist/channels/*.js"},"./contacts/*.js":{"types":"./dist/contacts/*.d.ts","import":"./dist/contacts/*.js"},"./messages/*.js":{"types":"./dist/messages/*.d.ts","import":"./dist/messages/*.js"},"./presence/*.js":{"types":"./dist/presence/*.d.ts","import":"./dist/presence/*.js"},"./sessions/*.js":{"types":"./dist/sessions/*.d.ts","import":"./dist/sessions/*.js"}},"gitHead":"4aee58c6647d2f50cdcf0ea11289bed0f2b4dd79","imports":{"#result":"@adaptive-ds/result"},"private":false,"scripts":{"dev":"bun run src/cli.ts","tsc":"tsc --noEmit","test":"bun test","build":"rm -rf ./dist && tsc -p ./tsconfig.lib.json","clean":"rm -rf ./dist","reset":"rm -rf ./node_modules","format":"biome format --write src test package.json tsconfig.json tsconfig.lib.json biome.json","test:w":"bun test --watch","update":"bun update","release":"bash ./ops/release.sh","update:commit":"bun update && git add package.json && bun run tsc && git commit -m \"chore(deps): update dependencies\" && git push"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0767ccf8-50f6-44ef-9bc8-7a90af656ac5"}},"prettier":{"semi":false,"printWidth":120,"trailingComma":"all"},"repository":{"url":"git+https://github.com/david1gp/waha-client.git","type":"git"},"_npmVersion":"12.0.2","description":"TypeScript client and CLI for the WAHA (WhatsApp HTTP API). Full API coverage, Result-typed, Valibot-validated.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@stricli/core":"^1.2.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.13","typescript":"^6.0.3","@biomejs/biome":"^2.5.2"},"peerDependencies":{"valibot":"^1.2.0","@adaptive-ds/result":">=0.4.0"},"_npmOperationalInternal":{"tmp":"tmp/waha-client_0.6.0_1790068568798_0.4787903769754256","host":"s3://npm-registry-packages-npm-production"}},"0.6.1":{"_id":"@adaptive-ds/waha-client@0.6.1","bin":{"waha-client":"dist/cli.js"},"bugs":{"url":"https://github.com/david1gp/waha-client/issues"},"dist":{"shasum":"2e8cd3ec5d970e81d99e0409ccecc2739745fd8d","tarball":"https://registry.npmjs.org/@adaptive-ds/waha-client/-/waha-client-0.6.1.tgz","fileCount":2219,"integrity":"sha512-24BK+BwxcD05hs4gwAeNu0JqsMaKRCUSCaR1iPaFHg7Lck6pwBmpoAkIiTZ/lq3ULKvHfbxN8ZWQQnLGxEBzzQ==","signatures":[{"sig":"MEUCIQC9yqHQ3/Izu40nnZ65wktt3qlRcse63awI+2fzFjfChwIgJSCr5L66fMsP15uPO+8S8h9fVRyzQStYe1o1MM/pzzA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGC8hGcyhaThRbgdeMCoBNJFLoOmE9zDNrOX+Vy/D4QwAiEAo8h8pfJZCHfr75m5o26uYRt3+ynZSeZh+T0stRlLLwM="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@adaptive-ds%2fwaha-client@0.6.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1284777},"main":"dist/index.js","name":"@adaptive-ds/waha-client","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./*.js":{"types":"./dist/*.d.ts","import":"./dist/*.js"},"./apps/*.js":{"types":"./dist/apps/*.d.ts","import":"./dist/apps/*.js"},"./auth/*.js":{"types":"./dist/auth/*.d.ts","import":"./dist/auth/*.js"},"./lids/*.js":{"types":"./dist/lids/*.d.ts","import":"./dist/lids/*.js"},"./calls/*.js":{"types":"./dist/calls/*.d.ts","import":"./dist/calls/*.js"},"./chats/*.js":{"types":"./dist/chats/*.d.ts","import":"./dist/chats/*.js"},"./media/*.js":{"types":"./dist/media/*.d.ts","import":"./dist/media/*.js"},"./client/*.js":{"types":"./dist/client/*.d.ts","import":"./dist/client/*.js"},"./events/*.js":{"types":"./dist/events/*.d.ts","import":"./dist/events/*.js"},"./groups/*.js":{"types":"./dist/groups/*.d.ts","import":"./dist/groups/*.js"},"./labels/*.js":{"types":"./dist/labels/*.d.ts","import":"./dist/labels/*.js"},"./server/*.js":{"types":"./dist/server/*.d.ts","import":"./dist/server/*.js"},"./status/*.js":{"types":"./dist/status/*.d.ts","import":"./dist/status/*.js"},"./apiKeys/*.js":{"types":"./dist/apiKeys/*.d.ts","import":"./dist/apiKeys/*.js"},"./profile/*.js":{"types":"./dist/profile/*.d.ts","import":"./dist/profile/*.js"},"./channels/*.js":{"types":"./dist/channels/*.d.ts","import":"./dist/channels/*.js"},"./contacts/*.js":{"types":"./dist/contacts/*.d.ts","import":"./dist/contacts/*.js"},"./messages/*.js":{"types":"./dist/messages/*.d.ts","import":"./dist/messages/*.js"},"./presence/*.js":{"types":"./dist/presence/*.d.ts","import":"./dist/presence/*.js"},"./sessions/*.js":{"types":"./dist/sessions/*.d.ts","import":"./dist/sessions/*.js"}},"gitHead":"109d88e0a2f0d88052cb4e5f3f8c0908f388482d","imports":{"#result":"@adaptive-ds/result"},"license":"MIT","private":false,"scripts":{"dev":"bun run src/cli.ts","tsc":"tsc --noEmit","test":"bun test","build":"rm -rf ./dist && tsc -p ./tsconfig.lib.json && chmod +x ./dist/cli.js","clean":"rm -rf ./dist","reset":"rm -rf ./node_modules","format":"biome format --write src test package.json tsconfig.json tsconfig.lib.json biome.json","test:w":"bun test --watch","update":"bun update","release":"bash ./ops/release.sh","update:commit":"bun update && git add package.json && bun run tsc && git commit -m \"chore(deps): update dependencies\" && git push"},"version":"0.6.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0767ccf8-50f6-44ef-9bc8-7a90af656ac5"}},"homepage":"https://github.com/david1gp/waha-client","keywords":["waha","whatsapp","api-client","typescript","cli","valibot","result"],"prettier":{"semi":false,"printWidth":120,"trailingComma":"all"},"repository":{"url":"git+https://github.com/david1gp/waha-client.git","type":"git"},"_npmVersion":"12.0.2","description":"TypeScript client and CLI for the WAHA (WhatsApp HTTP API). Full API coverage, Result-typed, Valibot-validated.","directories":{},"maintainers":[{"name":"david1gp","email":"david1gruppenplan@gmail.com"}],"_nodeVersion":"24.20.0","dependencies":{"@stricli/core":"^1.2.5"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.13","typescript":"^6.0.3","@biomejs/biome":"^2.5.2"},"peerDependencies":{"valibot":"^1.2.0","@adaptive-ds/result":">=0.4.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/waha-client_0.6.1_1790068799362_0.9389607935659392"}}},"time":{"created":"2026-07-28T12:11:48.256Z","modified":"2026-09-22T09:19:59.815Z","0.1.0":"2026-07-28T12:11:48.555Z","0.2.1":"2026-07-28T12:33:26.615Z","0.3.0":"2026-08-26T09:32:47.850Z","0.4.1":"2026-09-21T16:30:02.443Z","0.5.0":"2026-09-21T18:20:31.965Z","0.6.0":"2026-09-22T09:16:09.100Z","0.6.1":"2026-09-22T09:19:59.484Z"},"bugs":{"url":"https://github.com/david1gp/waha-client/issues"},"license":"MIT","homepage":"https://github.com/david1gp/waha-client","keywords":["waha","whatsapp","api-client","typescript","cli","valibot","result"],"repository":{"url":"git+https://github.com/david1gp/waha-client.git","type":"git"},"description":"TypeScript client and CLI for the WAHA (WhatsApp HTTP API). Full API coverage, Result-typed, Valibot-validated.","maintainers":[{"name":"david1gp","email":"david1gruppenplan@gmail.com"}],"readme":"# @adaptive-ds/waha-client\n\nTypeScript client library and CLI for [WAHA](https://waha.devlike.pro/) (WhatsApp HTTP API).\n\nFull endpoint coverage, `Result`-typed errors, Valibot validation, session defaults, and binary responses as `Uint8Array`.\n\n## Features\n\n- **Full WAHA coverage** — sessions, auth (QR / code / passkey), profile, chatting, chats, groups, channels, contacts, lids, labels, presence, status, calls, media convert, events, API keys, apps, storage, server, screenshot\n- **Result type** — every fallible call returns `Result<T>` / `PromiseResult<T>` via [`@adaptive-ds/result`](https://github.com/david1gp/result)\n- **Valibot-validated** — request options checked at the edge; no silent `any`\n- **Session defaults** — set `session` once on the client config; override per call\n- **Binary as `Uint8Array`** — QR images, screenshots, media files (not raw `Response`)\n- **Library + CLI** — import functions or run `waha-client` from the shell\n\n## Install\n\n```bash\nbun add @adaptive-ds/waha-client\n```\n\n## Library\n\n```ts\nimport {\n  wahaClientFromEnv,\n  wahaClientConfig,\n  sessionList,\n  authQrGet,\n  messageTextSend,\n} from \"@adaptive-ds/waha-client\"\n\n// From env (WAHA_BASE_URL, WAHA_API_KEY, WAHA_SESSION, …)\nconst fromEnv = wahaClientFromEnv()\nif (!fromEnv.success) throw new Error(fromEnv.errorMessage)\nconst config = fromEnv.data\n\n// Or explicit config\n// const cfg = wahaClientConfig({ baseUrl: \"http://localhost:3000\", apiKey: \"…\", session: \"default\" })\n// if (!cfg.success) throw new Error(cfg.errorMessage)\n\nconst sessions = await sessionList({ config })\nif (!sessions.success) throw new Error(sessions.errorMessage)\n\nconst qr = await authQrGet({ config }) // Uint8Array PNG by default\nif (!qr.success) throw new Error(qr.errorMessage)\n\nconst sent = await messageTextSend({\n  config,\n  chatId: \"1234567890@c.us\",\n  text: \"hello\",\n})\nif (!sent.success) throw new Error(sent.errorMessage)\n```\n\n### Group responses\n\nHTTP group info methods (`groupList`, `groupGet`, `groupCreate`, and `groupJoinInfoGet`) return `GroupInfo` with `jid` and\n`name`. The former `id` and `subject` response fields are not returned.\n\n### WebSocket events\n\n`wahaWebSocketObserve` observes one typed WAHA event, then closes the connection. Supply a Valibot `payloadSchema` so\nthe event payload is validated at runtime. An optional typed `predicate` runs after validation; returning `false`\nignores that event and keeps observation open. Predicate exceptions return the stable redacted error\n`WebSocket event predicate failed`. It uses `config.session` by default, accepts an explicit session override, and uses\n`config.timeoutMs` for cleanup. Await `ready` before triggering delivery, then await `event`; call `close()` to cancel.\n\n```ts\nimport * as a from \"valibot\"\nimport { wahaWebSocketObserve } from \"@adaptive-ds/waha-client\"\n\nconst observation = wahaWebSocketObserve({\n  config,\n  session: \"default\",\n  events: [\"message\"],\n  payloadSchema: a.object({ body: a.string() }),\n  predicate: (event) => event.payload.body === \"target code\",\n})\nconst ready = await observation.ready\nif (!ready.success) throw new Error(ready.errorMessage)\n\nconst event = await observation.event\nif (!event.success) throw new Error(event.errorMessage)\nconsole.log(event.data.payload.body)\n```\n\n## Environment\n\n- `WAHA_BASE_URL` (required) — WAHA server base URL (e.g. `http://localhost:3000`)\n- `WAHA_API_KEY` (optional) — sent as `X-Api-Key`\n- `WAHA_SESSION` (optional) — default session name for session-scoped endpoints\n- `WAHA_TIMEOUT_MS` (optional) — request timeout\n- `WAHA_RETRIES` (optional) — retry count\n\nBun loads `.env` automatically when you run via `bun`.\n\n## CLI\n\n```bash\nexport WAHA_BASE_URL=http://localhost:3000\nexport WAHA_API_KEY=your-key\nexport WAHA_SESSION=default\n\n# or: bunx waha-client … / bun run src/cli.ts …\nwaha-client --help\nwaha-client version\nwaha-client sessions list|get|create|update|start|stop|logout|restart|delete|me|capping|timelock|start-all|stop-all|logout-all\nwaha-client auth qr|request-code|passkey-challenge|passkey-confirmation|passkey-confirm|passkey-post\nwaha-client profile get|name-set|status-set|picture-set|picture-delete\nwaha-client server ping|health|version|status|stop|environment|debug-cpu|debug-heapsnapshot|debug-browser-trace|screenshot\nwaha-client events observe|observe-one|create|cancel\nwaha-client messages send-text|send-sticker|send-image|send-file|send-voice|send-video|send-link-custom-preview|send-buttons|send-list|forward|send-seen|set-reaction|set-star|send-poll|vote-poll|send-location|send-contact-vcard|reply-buttons|reply|send-link-preview|number-status|message-id-new|list\nwaha-client chats list|overview|overview-post|delete|picture|messages|messages-delete-all|message-read|message-get|message-delete|message-edit|message-pin|message-unpin|archive|unarchive|unread\nwaha-client groups list|get|create|count|refresh|join-info|join|delete|leave|picture|picture-set|picture-delete|description-set|subject-set|info-admin-only|info-admin-only-set|messages-admin-only|messages-admin-only-set|member-add-mode|member-add-mode-set|membership-approval|membership-approval-set|invite-code|invite-code-revoke|participants|participants-v2|participants-add|participants-remove|join-requests|join-requests-approve|join-requests-reject|admin-promote|admin-demote\nwaha-client contacts list|list-one|check-exists|about|profile-picture|block|unblock|get|update\nwaha-client lids list|count|get|by-phone\nwaha-client channels list|create|get|delete|message-preview|follow|unfollow|mute|unmute|search-by-view|search-by-text|search-views|search-countries|search-categories\nwaha-client labels list|create|update|delete|chat-list|chat-set|chats-by-label\nwaha-client presence set|list|get|subscribe|typing-start|typing-stop\nwaha-client status send-text|send-image|send-voice|send-video|delete|message-id-new\nwaha-client calls reject\nwaha-client media voice-convert|video-convert\nwaha-client storage file-get|file-delete|s3-object-get\nwaha-client api-keys create|list|media-create|control-create|update|delete\nwaha-client apps list|create|get|update|delete|chatwoot-locales\n\n# Examples\nwaha-client sessions get --session default\nwaha-client sessions create --name default --sessionConfigJson '{\"engine\":\"NOWEB\"}' --start\nwaha-client auth qr --format image --output qr.png\nwaha-client messages send-text --chatId 123@c.us --text \"hello\"\nwaha-client messages send-sticker --chatId 123@c.us --file ./sticker.webp --reply_to message-id\nwaha-client events observe --limit 25\n```\n\nOverride env per call with `--baseUrl`, `--apiKey`, `--session`.\n\nStdout is pretty JSON on success for regular commands. Errors are Result JSON on stderr with exit code 1.\n\nNested records and arrays are passed as JSON flags and are forwarded without reshaping. The main JSON inputs are\n`--sessionConfigJson`, `--appsJson`, `--responseJson`, `--eventJson`, `--previewJson`, `--buttonsJson`, `--messageJson`,\n`--pollJson`, `--contactsJson`, `--paginationJson`, `--filterJson`, `--participantsJson`, `--pictureJson`, `--labelsJson`,\n`--bodyJson`, and `--headerImageJson`. Use `waha-client <domain> <command> --help` for each command's required fields.\n\n`--file` accepts a local file, remote URL, or file JSON where the operation expects a `WahaFile`. Commands returning\nbytes (`auth qr --format image`, server diagnostics, `screenshot`, storage gets, and media conversion) accept\n`--output PATH`; with no output path they print `{ \"encoding\": \"base64\", \"data\": \"...\" }`, and with a path they write\nthe bytes and print no success JSON.\n\n`events observe` prints each validated event envelope as one compact JSON line, observes 10 events by default, and\naccepts a positive integer `--limit N`. It uses the `WAHA_TIMEOUT_MS` timeout (30 seconds by default), with no separate\nCLI timeout flag, and closes successfully after reaching the limit.\n\n## WAHA\n\nTalks to a running [WAHA](https://github.com/devlikeapro/waha) instance. See the [WAHA docs](https://waha.devlike.pro/) for server setup.\n\n## License\n\nMIT © David Siewert\n","readmeFilename":"README.md"}