{"_id":"@maced/api-client","_rev":"17-e6789505a703c90f38e05ac9feaab0cd","name":"@maced/api-client","dist-tags":{"latest":"0.10.1"},"versions":{"0.1.0":{"name":"@maced/api-client","version":"0.1.0","keywords":["maced","pentest","security","api","client","sdk"],"license":"MIT","_id":"@maced/api-client@0.1.0","maintainers":[{"name":"claudfuen","email":"imclaudfuen@gmail.com"}],"homepage":"https://api.maced.ai/docs","bugs":{"url":"https://github.com/goatedventures/maced/issues"},"dist":{"shasum":"59ff27f5d51fbac47f49d47a381bb224ae1b5e39","tarball":"https://registry.npmjs.org/@maced/api-client/-/api-client-0.1.0.tgz","fileCount":7,"integrity":"sha512-FyHyQ94pSqBp9FeCSVe9UAkMcMH/AHnrKFsLtahn3Qc8cVw/wW6ZPxlupB1xpYOWoYCuHBHsFOsYIFZBeq1Apg==","signatures":[{"sig":"MEQCIGqBet40VwnkoCrQSNVRrXtWfHXw70npLyI3QaYBfx0FAiB2qMNQ16VTgBrEMmxeqNIMmhE8FlHcNQRoVEgtVVrJew==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30933},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./types":{"types":"./dist/generated.d.ts"}},"gitHead":"6777e068426e8975eee2a1e1490906a5fc6d84d4","scripts":{"test":"bun test","build":"rm -rf dist && tsc -p tsconfig.build.json && cp src/generated.d.ts dist/generated.d.ts","generate":"openapi-typescript https://api.maced.ai/openapi.json --output src/generated.d.ts","check-types":"tsc --noEmit","generate:local":"openapi-typescript http://localhost:3100/openapi.json --output src/generated.d.ts","prepublishOnly":"bun run build && bun test"},"_npmUser":{"name":"claudfuen","email":"imclaudfuen@gmail.com"},"repository":{"url":"git+https://github.com/goatedventures/maced.git","type":"git","directory":"packages/api-client"},"_npmVersion":"11.6.2","description":"Typed TypeScript client for the Maced API (api.maced.ai).","directories":{},"_nodeVersion":"24.12.0","dependencies":{"openapi-fetch":"^0.12.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.9","typescript":"^5.9.2","openapi-typescript":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.1.0_1776713965420_0.10375302726934188","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@maced/api-client","version":"0.2.1","keywords":["maced","pentest","security","api","client","sdk"],"license":"MIT","_id":"@maced/api-client@0.2.1","maintainers":[{"name":"claudfuen","email":"imclaudfuen@gmail.com"}],"homepage":"https://api.maced.ai/docs","bugs":{"url":"https://github.com/goatedventures/maced/issues"},"dist":{"shasum":"54b48cae4aaf263f97b72d732ceaa9e2868be1f8","tarball":"https://registry.npmjs.org/@maced/api-client/-/api-client-0.2.1.tgz","fileCount":20,"integrity":"sha512-lMzKPyL1g/mAwPRCY4AiBV5FLU7xmafHivJAZ+5gYF/6gw0wM53GtPdVxfuZx9X2JxUb/kl6D5gwko6xm8s3gg==","signatures":[{"sig":"MEQCIH28ISL5QcfM959bC5BjrhTgoAmit6wkXJLvmQ7pffiWAiBoOHdWrdvffMR+jC4rniJvm/tibct0Nw/lqwQM9x9osA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":82222},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./types":{"types":"./dist/generated.d.ts"}},"gitHead":"52337a802f5488d9ccab7bb199b93240704006ca","scripts":{"test":"bun test","build":"rm -rf dist && tsc -p tsconfig.build.json && cp src/generated.d.ts dist/generated.d.ts","generate":"openapi-typescript https://api.maced.ai/openapi.json --output src/generated.d.ts","check-types":"tsc --noEmit","generate:local":"openapi-typescript http://localhost:3100/openapi.json --output src/generated.d.ts","prepublishOnly":"bun run build && bun test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:65d17d9e-53f4-4921-bc66-dc950fbc6dce"}},"repository":{"url":"git+https://github.com/goatedventures/maced.git","type":"git","directory":"packages/api-client"},"_npmVersion":"11.5.1","description":"Typed TypeScript client for the Maced API (api.maced.ai).","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"openapi-fetch":"^0.12.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.9","typescript":"^5.9.2","openapi-typescript":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.2.1_1776715379591_0.45665887403851735","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@maced/api-client","version":"0.3.0","keywords":["maced","pentest","security","api","client","sdk"],"license":"MIT","_id":"@maced/api-client@0.3.0","maintainers":[{"name":"claudfuen","email":"imclaudfuen@gmail.com"}],"homepage":"https://api.maced.ai/docs","bugs":{"url":"https://github.com/goatedventures/maced/issues"},"dist":{"shasum":"5ea552a4312e8a69a0d50cc13db8895941e87e84","tarball":"https://registry.npmjs.org/@maced/api-client/-/api-client-0.3.0.tgz","fileCount":20,"integrity":"sha512-PPHzhpLWGtAspvSXOlyiUkBZYQnngGvFFK8R9CoPxVSCRC6PxMUvdYlDM8NjBcEIw8icS9siNLm4kVU1frB7RA==","signatures":[{"sig":"MEQCIDIF0jMhvIZFWz406DrI4OkOfCeKso6YHRoU3AZsodm1AiAD6Xw17dMISIeR8WCbdQbSskAnF8RoJUmya8BX1sSgKw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":91978},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./types":{"types":"./dist/generated.d.ts"}},"gitHead":"5c8c78ee3fa0ca70062a73c6b23250c3bce63811","scripts":{"test":"bun test","build":"rm -rf dist && tsc -p tsconfig.build.json && cp src/generated.d.ts dist/generated.d.ts","generate":"openapi-typescript https://api.maced.ai/openapi.json --output src/generated.d.ts","check-types":"tsc --noEmit","generate:local":"openapi-typescript http://localhost:3100/openapi.json --output src/generated.d.ts","prepublishOnly":"bun run build && bun test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:65d17d9e-53f4-4921-bc66-dc950fbc6dce"}},"repository":{"url":"git+https://github.com/goatedventures/maced.git","type":"git","directory":"packages/api-client"},"_npmVersion":"11.5.1","description":"Typed TypeScript client for the Maced API (api.maced.ai).","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"openapi-fetch":"^0.12.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.9","typescript":"^5.9.2","openapi-typescript":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.3.0_1776715880650_0.7235624964138414","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@maced/api-client","version":"0.3.1","keywords":["maced","pentest","security","api","client","sdk"],"license":"MIT","_id":"@maced/api-client@0.3.1","maintainers":[{"name":"claudfuen","email":"imclaudfuen@gmail.com"}],"homepage":"https://api.maced.ai/docs","bugs":{"url":"https://github.com/goatedventures/maced/issues"},"dist":{"shasum":"658964c09e117a0642d1d8a588fab6caa1b957cc","tarball":"https://registry.npmjs.org/@maced/api-client/-/api-client-0.3.1.tgz","fileCount":20,"integrity":"sha512-O36mbj/SU3lFGHyqt4esXI7bjOAxKy//9rIOt/UAEZ8MWLz/Cwe7jA58PRQkcE2qtKYx8qGcM2KKvDTLMfQsrA==","signatures":[{"sig":"MEQCIEvGSU4ODZeq4sPZgPtskj7b84XVHssGQTnD4wsAJbuwAiBaH/Bk7rVQmVxdBFp4VXx1+4e2OK0+yE4ksH07BMThTA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":95636},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./types":{"types":"./dist/generated.d.ts"}},"gitHead":"db2ca2ff12b4d7952b50381ed37bad82c71efe57","scripts":{"test":"bun test","build":"rm -rf dist && tsc -p tsconfig.build.json && cp src/generated.d.ts dist/generated.d.ts","generate":"openapi-typescript https://api.maced.ai/openapi.json --output src/generated.d.ts","check-types":"tsc --noEmit","generate:local":"openapi-typescript http://localhost:3100/openapi.json --output src/generated.d.ts","prepublishOnly":"bun run build && bun test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:65d17d9e-53f4-4921-bc66-dc950fbc6dce"}},"repository":{"url":"git+https://github.com/goatedventures/maced.git","type":"git","directory":"packages/api-client"},"_npmVersion":"11.5.1","description":"Typed TypeScript client for the Maced API (api.maced.ai).","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"openapi-fetch":"^0.12.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.9","typescript":"^5.9.2","openapi-typescript":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.3.1_1776716421435_0.5055618809680038","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@maced/api-client","version":"0.3.2","keywords":["maced","pentest","security","api","client","sdk"],"license":"MIT","_id":"@maced/api-client@0.3.2","maintainers":[{"name":"claudfuen","email":"imclaudfuen@gmail.com"}],"homepage":"https://api.maced.ai/docs","bugs":{"url":"https://github.com/goatedventures/maced/issues"},"dist":{"shasum":"96215f94a1b2654b9ba8174b2be5887059354975","tarball":"https://registry.npmjs.org/@maced/api-client/-/api-client-0.3.2.tgz","fileCount":20,"integrity":"sha512-kGfjELIYeuU7A3R74F4BlJyhEhTEk8GjrwqzOCncaFjZ72Dz8KLZ097Ht+LkGR3OTykCx/X35Ei/KHI0oIsi3Q==","signatures":[{"sig":"MEQCIHaS2BoGyVJphp8TZFVfiZkOceKJQmoaRZOAVTfYsL5yAiBQ/Rvj3pVKb2FQhsYYJNfqsokNdNDd2ieUM+Qc5m9NLA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":97401},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./types":{"types":"./dist/generated.d.ts"}},"gitHead":"1c9c5deff9a30faaa3ebd7224f0898a4ac3b86ce","scripts":{"test":"bun test","build":"rm -rf dist && tsc -p tsconfig.build.json && cp src/generated.d.ts dist/generated.d.ts","generate":"openapi-typescript https://api.maced.ai/openapi.json --output src/generated.d.ts","check-types":"tsc --noEmit","check-examples":"tsc -p examples/tsconfig.json --noEmit","generate:local":"openapi-typescript http://localhost:3100/openapi.json --output src/generated.d.ts","prepublishOnly":"bun run build && bun test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:65d17d9e-53f4-4921-bc66-dc950fbc6dce"}},"repository":{"url":"git+https://github.com/goatedventures/maced.git","type":"git","directory":"packages/api-client"},"_npmVersion":"11.5.1","description":"Typed TypeScript client for the Maced API (api.maced.ai).","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"openapi-fetch":"^0.12.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.9","typescript":"^5.9.2","openapi-typescript":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.3.2_1776718861307_0.7877529560278873","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@maced/api-client","version":"0.4.0","keywords":["maced","pentest","security","api","client","sdk"],"license":"MIT","_id":"@maced/api-client@0.4.0","maintainers":[{"name":"claudfuen","email":"imclaudfuen@gmail.com"}],"homepage":"https://api.maced.ai/docs","bugs":{"url":"https://github.com/goatedventures/maced/issues"},"dist":{"shasum":"79f78f753df5d5537890e7153dacc4683169f025","tarball":"https://registry.npmjs.org/@maced/api-client/-/api-client-0.4.0.tgz","fileCount":24,"integrity":"sha512-kb6ONrcdq2zdzAt3L076VoRNGeW9xXNsiNcNAY4kGJ039wmEk31uwZaqQtvXWqDXlS7SdOCxCs1E94AqspT9LA==","signatures":[{"sig":"MEQCIDlv6vxK9S5EOASfEwGdQmEdhY6Nzgz4tXvzaOMTvQssAiAulvy1lcT32ZMljPE7gkliTTX10M7/y/4yib3VsdTwuQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":116486},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./types":{"types":"./dist/generated.d.ts"}},"gitHead":"a5fc258365724f7dfd0ca7bc125c825766cdc4e5","scripts":{"test":"bun test","build":"rm -rf dist && tsc -p tsconfig.build.json && cp src/generated.d.ts dist/generated.d.ts","generate":"openapi-typescript https://api.maced.ai/openapi.json --output src/generated.d.ts","check-types":"tsc --noEmit","check-examples":"tsc -p examples/tsconfig.json --noEmit","generate:local":"openapi-typescript http://localhost:3100/openapi.json --output src/generated.d.ts","prepublishOnly":"bun run build && bun test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:65d17d9e-53f4-4921-bc66-dc950fbc6dce"}},"repository":{"url":"git+https://github.com/goatedventures/maced.git","type":"git","directory":"packages/api-client"},"_npmVersion":"11.5.1","description":"Typed TypeScript client for the Maced API (api.maced.ai).","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"openapi-fetch":"^0.12.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.9","typescript":"^5.9.2","openapi-typescript":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.4.0_1776728899290_0.5989246043144087","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@maced/api-client","version":"0.5.0","keywords":["maced","pentest","security","api","client","sdk"],"license":"MIT","_id":"@maced/api-client@0.5.0","maintainers":[{"name":"claudfuen","email":"imclaudfuen@gmail.com"}],"homepage":"https://api.maced.ai/docs","bugs":{"url":"https://github.com/goatedventures/maced/issues"},"dist":{"shasum":"f77fd05382ba63269c890f0927932c2b8e8cd5ab","tarball":"https://registry.npmjs.org/@maced/api-client/-/api-client-0.5.0.tgz","fileCount":24,"integrity":"sha512-agxRC7vrX9lq/E2zve2yubpXmWGM2C8+0+Nwv8LCmljx8twqoEqfHO0BTxSAt9e5rZUGv2Jm1Oz8FWOfntaiZg==","signatures":[{"sig":"MEUCIDd5Qrnrab2OCe5JRdtaA98BqqbszPgX1FI6nVtyQly3AiEAhxqAS/ZeRCJtEsco8upU3yG25p6CoJ8TaNf+wbOj4zE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":125625},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./types":{"types":"./dist/generated.d.ts"}},"gitHead":"c694acc41760c119d99dd390c8e9e8d64e30c5f7","scripts":{"test":"bun test","build":"rm -rf dist && tsc -p tsconfig.build.json && cp src/generated.d.ts dist/generated.d.ts","generate":"openapi-typescript https://api.maced.ai/openapi.json --output src/generated.d.ts","check-types":"tsc --noEmit","check-examples":"tsc -p examples/tsconfig.json --noEmit","generate:local":"openapi-typescript http://localhost:3100/openapi.json --output src/generated.d.ts","prepublishOnly":"bun run build && bun test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:65d17d9e-53f4-4921-bc66-dc950fbc6dce"}},"repository":{"url":"git+https://github.com/goatedventures/maced.git","type":"git","directory":"packages/api-client"},"_npmVersion":"11.5.1","description":"Typed TypeScript client for the Maced API (api.maced.ai).","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"openapi-fetch":"^0.12.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.9","typescript":"^5.9.2","openapi-typescript":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.5.0_1776729642517_0.3451843825331806","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@maced/api-client","version":"0.6.0","keywords":["maced","pentest","security","api","client","sdk"],"license":"MIT","_id":"@maced/api-client@0.6.0","maintainers":[{"name":"claudfuen","email":"imclaudfuen@gmail.com"}],"homepage":"https://api.maced.ai/docs","bugs":{"url":"https://github.com/goatedventures/maced/issues"},"dist":{"shasum":"0c95d78206feb3974ca0a25a12b020d0876c7c15","tarball":"https://registry.npmjs.org/@maced/api-client/-/api-client-0.6.0.tgz","fileCount":24,"integrity":"sha512-M2Vysy8UjmUxVzRl8qy2RPxXXCAd6+Dv83hKsJdcdFi/8qDjOTnHFYlcZVJc4tlGToHqkc7WVDxZuL2jTvMT9Q==","signatures":[{"sig":"MEYCIQDfR0P+88GsdV4sTBOjrzKG+uACpoE+xbqh0O2ReV50TwIhAMzgn2olfvBgDLeJCfVmYE2VXzg1oXeR9HE0DQMCkg1j","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":131465},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./types":{"types":"./dist/generated.d.ts"}},"gitHead":"dff5a32121a871d267521c1d62b4094618a1b2b1","scripts":{"test":"bun test","build":"rm -rf dist && tsc -p tsconfig.build.json && cp src/generated.d.ts dist/generated.d.ts","generate":"openapi-typescript https://api.maced.ai/openapi.json --output src/generated.d.ts","check-types":"tsc --noEmit","check-examples":"tsc -p examples/tsconfig.json --noEmit","generate:local":"openapi-typescript http://localhost:3100/openapi.json --output src/generated.d.ts","prepublishOnly":"bun run build && bun test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:65d17d9e-53f4-4921-bc66-dc950fbc6dce"}},"repository":{"url":"git+https://github.com/goatedventures/maced.git","type":"git","directory":"packages/api-client"},"_npmVersion":"11.5.1","description":"Typed TypeScript client for the Maced API (api.maced.ai).","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"openapi-fetch":"^0.12.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.9","typescript":"^5.9.2","openapi-typescript":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.6.0_1776730262716_0.452112507624437","host":"s3://npm-registry-packages-npm-production"}},"0.6.1":{"name":"@maced/api-client","version":"0.6.1","keywords":["maced","pentest","security","api","client","sdk"],"license":"MIT","_id":"@maced/api-client@0.6.1","maintainers":[{"name":"claudfuen","email":"imclaudfuen@gmail.com"}],"homepage":"https://api.maced.ai/docs","bugs":{"url":"https://github.com/goatedventures/maced/issues"},"dist":{"shasum":"e84cd6390017ce969c0dd61e6bae1477433d703d","tarball":"https://registry.npmjs.org/@maced/api-client/-/api-client-0.6.1.tgz","fileCount":24,"integrity":"sha512-1BICieAr/wZ0Hp4ysItw9pnMAwDCTJU4q/1rSLvNazZOasfsU45VH1N9+HsyvrQM+1MimlAG7N9AxpGUqUGVuw==","signatures":[{"sig":"MEUCIGFpi1hV57aDdVGTNUWH4NYLPHx/MznDFQ6K85Mla70hAiEAtjMuQAWc3QmOdho6qXakfQ4H5FPqEU3DMkYJlQ5mtDY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":131539},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./types":{"types":"./dist/generated.d.ts"}},"gitHead":"09895f94a809b6708bd971cc0d38187f9ed185cc","scripts":{"test":"bun test","build":"rm -rf dist && tsc -p tsconfig.build.json && cp src/generated.d.ts dist/generated.d.ts","generate":"openapi-typescript https://api.maced.ai/openapi.json --output src/generated.d.ts","check-types":"tsc --noEmit","check-examples":"tsc -p examples/tsconfig.json --noEmit","generate:local":"openapi-typescript http://localhost:3100/openapi.json --output src/generated.d.ts","prepublishOnly":"bun run build && bun test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:65d17d9e-53f4-4921-bc66-dc950fbc6dce"}},"repository":{"url":"git+https://github.com/goatedventures/maced.git","type":"git","directory":"packages/api-client"},"_npmVersion":"11.5.1","description":"Typed TypeScript client for the Maced API (api.maced.ai).","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"openapi-fetch":"^0.12.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.9","typescript":"^5.9.2","openapi-typescript":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.6.1_1776822825142_0.3816745784909361","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@maced/api-client","version":"0.7.0","keywords":["maced","pentest","security","api","client","sdk"],"license":"MIT","_id":"@maced/api-client@0.7.0","maintainers":[{"name":"claudfuen","email":"imclaudfuen@gmail.com"}],"homepage":"https://api.maced.ai/docs","bugs":{"url":"https://github.com/goatedventures/maced/issues"},"dist":{"shasum":"0c6efa271ebad86bb22866ca2d1b24fb438e3bad","tarball":"https://registry.npmjs.org/@maced/api-client/-/api-client-0.7.0.tgz","fileCount":24,"integrity":"sha512-WW8FJtfWSW4OlScAXst3QLsTtQciB1fLTU66kRyaVzghnv2TpEYz3VsDR4j+eZzOGKYNXYnUpDYPU6bvdOXnUw==","signatures":[{"sig":"MEYCIQCvm7makMqKXQTVly7F2Od4tYyR1Fh3g1/BT0Mh0IKGyAIhAJAudAFASxmStcv2O0L21xee1zZhKLkxC9f1cHTitEjH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":138769},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./types":{"types":"./dist/generated.d.ts"}},"gitHead":"70fc4ccc5c9c55573de655f899b9cb198ecaf799","scripts":{"test":"bun test","build":"rm -rf dist && tsc -p tsconfig.build.json && cp src/generated.d.ts dist/generated.d.ts","generate":"openapi-typescript https://api.maced.ai/openapi.json --output src/generated.d.ts","check-types":"tsc --noEmit","check-examples":"tsc -p examples/tsconfig.json --noEmit","generate:local":"openapi-typescript http://localhost:3100/openapi.json --output src/generated.d.ts","prepublishOnly":"bun run build && bun test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:65d17d9e-53f4-4921-bc66-dc950fbc6dce"}},"repository":{"url":"git+https://github.com/goatedventures/maced.git","type":"git","directory":"packages/api-client"},"_npmVersion":"11.5.1","description":"Typed TypeScript client for the Maced API (api.maced.ai).","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"openapi-fetch":"^0.12.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.9","typescript":"^5.9.2","openapi-typescript":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.7.0_1776889174388_0.22726723478524158","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@maced/api-client","version":"0.8.0","keywords":["maced","pentest","security","api","client","sdk"],"license":"MIT","_id":"@maced/api-client@0.8.0","maintainers":[{"name":"claudfuen","email":"imclaudfuen@gmail.com"}],"homepage":"https://api.maced.ai/docs","bugs":{"url":"https://github.com/goatedventures/maced/issues"},"dist":{"shasum":"954a820b2922e2c5b36dee4d55705d1805f7f6ba","tarball":"https://registry.npmjs.org/@maced/api-client/-/api-client-0.8.0.tgz","fileCount":24,"integrity":"sha512-tqtFdx0uuk/Ti57FnMLQOKdxpMLnAWWM28pxNN8YzjJcIE4yGuPgOTMYhENP79Xds7TQjBuvIvqPPYGdtKcVhA==","signatures":[{"sig":"MEUCIA3zlE0vsvEj+ieEaD3F5gg2MUlOam5Cx+PNSwGpZ5XgAiEA5qsIQV4TJw9MgqzWlggrgzxrMB/iUG+BSRl1jq3KuGQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":143568},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./types":{"types":"./dist/generated.d.ts"}},"gitHead":"f448063b8c79ff39d7963e7b2232abc08cfbc201","scripts":{"test":"bun test","build":"rm -rf dist && tsc -p tsconfig.build.json && cp src/generated.d.ts dist/generated.d.ts","generate":"openapi-typescript https://api.maced.ai/openapi.json --output src/generated.d.ts","check-types":"tsc --noEmit","check-examples":"tsc -p examples/tsconfig.json --noEmit","generate:local":"openapi-typescript http://localhost:3100/openapi.json --output src/generated.d.ts","prepublishOnly":"bun run build && bun test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:65d17d9e-53f4-4921-bc66-dc950fbc6dce"}},"repository":{"url":"git+https://github.com/goatedventures/maced.git","type":"git","directory":"packages/api-client"},"_npmVersion":"11.5.1","description":"Typed TypeScript client for the Maced API (api.maced.ai).","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"openapi-fetch":"^0.12.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.9","typescript":"^5.9.2","openapi-typescript":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.8.0_1776894190099_0.9997495907105485","host":"s3://npm-registry-packages-npm-production"}},"0.8.1":{"name":"@maced/api-client","version":"0.8.1","keywords":["maced","pentest","security","api","client","sdk"],"license":"MIT","_id":"@maced/api-client@0.8.1","maintainers":[{"name":"claudfuen","email":"imclaudfuen@gmail.com"}],"homepage":"https://api.maced.ai/docs","bugs":{"url":"https://github.com/goatedventures/maced/issues"},"dist":{"shasum":"07a99080cb2e925e7993312c1f39138eef87bf4a","tarball":"https://registry.npmjs.org/@maced/api-client/-/api-client-0.8.1.tgz","fileCount":24,"integrity":"sha512-k62GPGUMFtE/X/pnbIRAn2uOlVu6qYYJv64xx7uV3rX2fzxQA5uCVS05KeZZqjQMZWOt57XvIuvCdcn0yLAo+Q==","signatures":[{"sig":"MEUCIQD0e5ZfN5jWHr7VpTApLQBgX5l1+F06/PwLpxZvAxkpCgIgPL220gSMldLbFmbnAnHMXvUtXZPZSDapflGubskLKQI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":144790},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./types":{"types":"./dist/generated.d.ts"}},"gitHead":"55f453db39fe9f04ab21b601cfe8f4f4bfebd42c","scripts":{"test":"bun test","build":"rm -rf dist && tsc -p tsconfig.build.json && cp src/generated.d.ts dist/generated.d.ts","generate":"openapi-typescript https://api.maced.ai/openapi.json --output src/generated.d.ts","check-types":"tsc --noEmit","check-examples":"tsc -p examples/tsconfig.json --noEmit","generate:local":"openapi-typescript http://localhost:3100/openapi.json --output src/generated.d.ts","prepublishOnly":"bun run build && bun test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:65d17d9e-53f4-4921-bc66-dc950fbc6dce"}},"repository":{"url":"git+https://github.com/goatedventures/maced.git","type":"git","directory":"packages/api-client"},"_npmVersion":"11.5.1","description":"Typed TypeScript client for the Maced API (api.maced.ai).","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"openapi-fetch":"^0.12.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.9","typescript":"^5.9.2","openapi-typescript":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.8.1_1776895613418_0.574167746993451","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"@maced/api-client","version":"0.9.0","keywords":["maced","pentest","security","api","client","sdk"],"license":"MIT","_id":"@maced/api-client@0.9.0","maintainers":[{"name":"claudfuen","email":"imclaudfuen@gmail.com"}],"homepage":"https://api.maced.ai/docs","bugs":{"url":"https://github.com/goatedventures/maced/issues"},"dist":{"shasum":"5ea3077e278de42a036b5abe3d0ffd2c00218490","tarball":"https://registry.npmjs.org/@maced/api-client/-/api-client-0.9.0.tgz","fileCount":24,"integrity":"sha512-/bCo2w3jrWLkE8TJ5XZS212GIajq9Dv6dbxeKRBOG1ODrd7pZBbCsYdfYbeWIlMDF3F1lwrWmf3fz2fKr9qwSg==","signatures":[{"sig":"MEQCIGSjX66nIzyvHScjNJP3ZujS9gfBu4ILUx7DQpopIU7qAiBfTY9w3GVregzJwCwz1YYUO1tXUHJIW7S3d8tW7I3rCA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":171963},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./types":{"types":"./dist/generated.d.ts"}},"gitHead":"212db77baf3bd4da578000911b0be17a4d1028b1","scripts":{"test":"bun test","build":"rm -rf dist && tsc -p tsconfig.build.json && cp src/generated.d.ts dist/generated.d.ts","generate":"openapi-typescript https://api.maced.ai/openapi.json --output src/generated.d.ts","check-types":"tsc --noEmit","check-examples":"tsc -p examples/tsconfig.json --noEmit","generate:local":"openapi-typescript http://localhost:3100/openapi.json --output src/generated.d.ts","prepublishOnly":"bun run build && bun test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:65d17d9e-53f4-4921-bc66-dc950fbc6dce"}},"deprecated":"stale build — types don't match wire format; use 0.9.1+","repository":{"url":"git+https://github.com/goatedventures/maced.git","type":"git","directory":"packages/api-client"},"_npmVersion":"11.5.1","description":"Typed TypeScript client for the Maced API (api.maced.ai).","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"openapi-fetch":"^0.12.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.9","typescript":"^5.9.2","openapi-typescript":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.9.0_1776904505836_0.9790480377558983","host":"s3://npm-registry-packages-npm-production"}},"0.9.1":{"name":"@maced/api-client","version":"0.9.1","keywords":["maced","pentest","security","api","client","sdk"],"license":"MIT","_id":"@maced/api-client@0.9.1","maintainers":[{"name":"claudfuen","email":"imclaudfuen@gmail.com"}],"homepage":"https://api.maced.ai/docs","bugs":{"url":"https://github.com/goatedventures/maced/issues"},"dist":{"shasum":"2224f47ce09b5283080099992ea6b8af0aeba814","tarball":"https://registry.npmjs.org/@maced/api-client/-/api-client-0.9.1.tgz","fileCount":28,"integrity":"sha512-fcAZYfqm49ift9fxZ4ZEiGKPces68kkVeQggZTMFTbon40Sh7kCpAZuWN7n4fjxfBqaXCUw3mo8BRECFf5a+sQ==","signatures":[{"sig":"MEUCIQDuXKusNLnZGqmcVClHZqpaD9DutQsxrWoDtG5x8PVSaAIgJHLEbhLg6mlA3gSxTf0JMDzTR+WTTDo97zVnphSuk4A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":175305},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./types":{"types":"./dist/generated.d.ts"}},"gitHead":"fc937096e33428e813d4940277be2229e06b4623","scripts":{"test":"bun test","build":"rm -rf dist && tsc -p tsconfig.build.json && cp src/generated.d.ts dist/generated.d.ts","generate":"openapi-typescript https://api.maced.ai/openapi.json --output src/generated.d.ts","check-types":"tsc --noEmit","check-examples":"tsc -p examples/tsconfig.json --noEmit","generate:local":"openapi-typescript http://localhost:3100/openapi.json --output src/generated.d.ts","prepublishOnly":"bun run build && bun test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:65d17d9e-53f4-4921-bc66-dc950fbc6dce"}},"repository":{"url":"git+https://github.com/goatedventures/maced.git","type":"git","directory":"packages/api-client"},"_npmVersion":"11.5.1","description":"Typed TypeScript client for the Maced API (api.maced.ai).","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"openapi-fetch":"^0.12.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.9","typescript":"^5.9.2","openapi-typescript":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.9.1_1776978134137_0.12111373408280146","host":"s3://npm-registry-packages-npm-production"}},"0.9.2":{"name":"@maced/api-client","version":"0.9.2","keywords":["maced","pentest","security","api","client","sdk"],"license":"MIT","_id":"@maced/api-client@0.9.2","maintainers":[{"name":"claudfuen","email":"imclaudfuen@gmail.com"}],"homepage":"https://api.maced.ai/docs","bugs":{"url":"https://github.com/goatedventures/maced/issues"},"dist":{"shasum":"6d80254491ee192d90ad562936cfb22f408abc6f","tarball":"https://registry.npmjs.org/@maced/api-client/-/api-client-0.9.2.tgz","fileCount":28,"integrity":"sha512-1KWEmblSN4Kc0BJFjc35ttKTCBkfUQposNibFvCGhhoteRK4GnaJ0qYeNmB+l86atGGgrgppoBBsRf9ssq4jjw==","signatures":[{"sig":"MEUCIH4D2CQe6WX9BUQ9ex16wfhdmTofhvxpIDE5iGcT/FtqAiEAgiSBegLWkqXaWggfstJ1Vr1hB2EImObOHn0iIGLz2Nc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":177832},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./types":{"types":"./dist/generated.d.ts"}},"gitHead":"e79f7a838857b8cd13cf719a944e09f382bbcb2f","scripts":{"test":"bun test","build":"rm -rf dist && tsc -p tsconfig.build.json && cp src/generated.d.ts dist/generated.d.ts","generate":"openapi-typescript https://api.maced.ai/openapi.json --output src/generated.d.ts","check-types":"tsc --noEmit","check-examples":"tsc -p examples/tsconfig.json --noEmit","generate:local":"openapi-typescript http://localhost:3100/openapi.json --output src/generated.d.ts","prepublishOnly":"bun run build && bun test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:65d17d9e-53f4-4921-bc66-dc950fbc6dce"}},"repository":{"url":"git+https://github.com/goatedventures/maced.git","type":"git","directory":"packages/api-client"},"_npmVersion":"11.5.1","description":"Typed TypeScript client for the Maced API (api.maced.ai).","directories":{},"sideEffects":false,"_nodeVersion":"22.22.2","dependencies":{"openapi-fetch":"^0.12.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"^1.3.9","typescript":"^5.9.2","openapi-typescript":"^7.5.0"},"_npmOperationalInternal":{"tmp":"tmp/api-client_0.9.2_1777654218127_0.6188720335797879","host":"s3://npm-registry-packages-npm-production"}},"0.10.1":{"name":"@maced/api-client","version":"0.10.1","description":"Typed TypeScript client for the Maced API (api.maced.ai).","license":"MIT","homepage":"https://api.maced.ai/docs","repository":{"type":"git","url":"git+https://github.com/goatedventures/maced.git","directory":"packages/api-client"},"keywords":["maced","pentest","security","api","client","sdk"],"type":"module","sideEffects":false,"engines":{"node":">=18"},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./types":{"types":"./dist/generated.d.ts"}},"publishConfig":{"access":"public"},"scripts":{"build":"rm -rf dist && tsc -p tsconfig.build.json && cp src/generated.d.ts dist/generated.d.ts","check-examples":"tsc -p examples/tsconfig.json --noEmit","generate":"openapi-typescript https://api.maced.ai/openapi.json --output src/generated.d.ts","generate:local":"openapi-typescript http://localhost:3100/openapi.json --output src/generated.d.ts","check-types":"tsc --noEmit","test":"bun test","prepublishOnly":"bun run build && bun test"},"dependencies":{"openapi-fetch":"^0.12.2"},"devDependencies":{"@types/bun":"^1.3.9","openapi-typescript":"^7.5.0","typescript":"^5.9.2"},"_id":"@maced/api-client@0.10.1","gitHead":"fba99b8815a1ef6c230a91d5b6f6a454d347a7c7","bugs":{"url":"https://github.com/goatedventures/maced/issues"},"_nodeVersion":"22.23.1","_npmVersion":"11.5.1","dist":{"integrity":"sha512-fuJ7sT7cenFZVe5ucPnXk5B1Aocdk0lU0+c/UxF10fDUXacDeRgGN0aKtAvACipIcA/aA7u6tdKGhKsAqOZqGw==","shasum":"334f9c52c4660e0445f880e1b3bbdcf5b79c27fb","tarball":"https://registry.npmjs.org/@maced/api-client/-/api-client-0.10.1.tgz","fileCount":28,"unpackedSize":180865,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEpZd5W2L8RPYG9mNBDDPvAAdUWOGAk+231ZdPiwj/zdAiA9ltBrkPsHPKPHszVZzbVyEblzLh69K4UqRLb90/0C0g=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:65d17d9e-53f4-4921-bc66-dc950fbc6dce"}},"directories":{},"maintainers":[{"name":"claudfuen","email":"imclaudfuen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/api-client_0.10.1_1785374954347_0.36477152987832606"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-20T19:39:25.322Z","modified":"2026-07-30T01:29:14.696Z","0.1.0":"2026-04-20T19:39:25.616Z","0.2.1":"2026-04-20T20:02:59.721Z","0.3.0":"2026-04-20T20:11:20.831Z","0.3.1":"2026-04-20T20:20:21.581Z","0.3.2":"2026-04-20T21:01:01.453Z","0.4.0":"2026-04-20T23:48:19.416Z","0.5.0":"2026-04-21T00:00:42.683Z","0.6.0":"2026-04-21T00:11:02.858Z","0.6.1":"2026-04-22T01:53:45.287Z","0.7.0":"2026-04-22T20:19:34.520Z","0.8.0":"2026-04-22T21:43:10.338Z","0.8.1":"2026-04-22T22:06:53.573Z","0.9.0":"2026-04-23T00:35:06.141Z","0.9.1":"2026-04-23T21:02:14.288Z","0.9.2":"2026-05-01T16:50:18.274Z","0.10.1":"2026-07-30T01:29:14.523Z"},"bugs":{"url":"https://github.com/goatedventures/maced/issues"},"license":"MIT","homepage":"https://api.maced.ai/docs","keywords":["maced","pentest","security","api","client","sdk"],"repository":{"type":"git","url":"git+https://github.com/goatedventures/maced.git","directory":"packages/api-client"},"description":"Typed TypeScript client for the Maced API (api.maced.ai).","maintainers":[{"name":"claudfuen","email":"imclaudfuen@gmail.com"}],"readme":"# @maced/api-client\n\n> Typed TypeScript SDK for the [Maced API](https://api.maced.ai/docs).\n\n[![npm](https://img.shields.io/npm/v/@maced/api-client.svg)](https://www.npmjs.com/package/@maced/api-client)\n[![types](https://img.shields.io/npm/types/@maced/api-client.svg)](https://www.npmjs.com/package/@maced/api-client)\n\n## ⚠️ Backend only\n\n**Do not use this SDK in browsers, React Native, Electron, or any client\nthat ships to end users.** API keys (`mc_live_*` / `mc_dev_*`) are secrets:\nthey trigger paid pentests and return private report content. Anyone who\nsees your bundle can read the key.\n\nIf you want to surface Maced data in a frontend, put a thin endpoint on\n*your* backend that calls `@maced/api-client`, and have your frontend\ncall *that* endpoint. Standard BFF pattern:\n\n```\nReact / Mobile  →  your backend (uses @maced/api-client)  →  api.maced.ai\n     public                    private                          private\n```\n\nSame reason `stripe` is a separate SDK from `@stripe/stripe-js`.\n\n\n- **Fully typed** — every endpoint, param, response, and error\n- **Ergonomic** — `maced.pentests.create(...)` + full-verb escape hatch\n- **Reliable** — built-in retry, timeout, and request cancellation\n- **Observable** — pluggable `onRequest` / `onResponse` / `onError` hooks\n- **Safe** — throws `MacedApiError` with structured body + status helpers\n- **Small** — ~4kB packed, zero runtime deps beyond `openapi-fetch`\n- **Works everywhere** — Node 18+, Bun, Deno, Cloudflare Workers, browsers\n\n## Install\n\n```bash\nbun add @maced/api-client\n# or\npnpm add @maced/api-client\n# or\nnpm install @maced/api-client\n```\n\n## Quickstart\n\n```ts\nimport { createMacedClient } from \"@maced/api-client\";\n\nconst maced = createMacedClient({ apiKey: process.env.MACED_API_KEY! });\n\n// Create a pentest\nconst run = await maced.pentests.create({\n  targetUrl: \"https://target.example.com\",\n});\n\n// Wait for completion (polls /v1/pentests/:id until terminal)\nconst done = await maced.pentests.waitForCompletion(run.id, {\n  onProgress: (r) =>\n    console.log(`${r.progress.completedAgents}/${r.progress.totalAgents} agents`),\n});\n\n// Fetch the report\nif (done.status === \"completed\") {\n  const report = await maced.pentests.report(done.id);\n  console.log(report.markdown);\n}\n```\n\nGet an API key at **https://maced.ai/settings/api**.\n\n### Scan profiles\n\nExisting create calls default to the full deep scan. You can also choose a profile or specific checks:\n\n```ts\nawait maced.pentests.create({\n  targetUrl: \"https://target.example.com\",\n  scanDepth: \"quick\",\n});\n\nawait maced.pentests.create({\n  targetUrl: \"https://target.example.com\",\n  scanDepth: \"standard\",\n  evidenceLevel: \"safe_proof\",\n});\n\nawait maced.pentests.create({\n  targetUrl: \"https://target.example.com\",\n  scanDepth: \"deep\",\n  evidenceLevel: \"impact_proof\",\n});\n\nawait maced.pentests.create({\n  targetUrl: \"https://target.example.com\",\n  scanDepth: \"standard\",\n  checks: [\"xss\", \"injection\", \"idor_bola\"],\n});\n```\n\n## API\n\n### Client factory\n\n```ts\ncreateMacedClient(options: MacedClientOptions): MacedClient\n```\n\n| option       | type                  | default               | notes |\n|--------------|-----------------------|-----------------------|-------|\n| `apiKey`     | `string` **required** | —                     | `mc_live_*` or `mc_dev_*` |\n| `baseUrl`    | `string`              | `https://api.maced.ai`| Point at staging, a fork, a proxy |\n| `timeoutMs`  | `number`              | `30_000`              | Per-request AbortSignal. `0` disables |\n| `retry`      | `RetryOptions`        | 3 attempts, 250ms base| 408/425/429/5xx with exp. backoff + jitter. Honors `Retry-After` |\n| `logger`     | `LoggingHooks`        | —                     | `onRequest` / `onResponse` / `onError` |\n| `userAgent`  | `string`              | —                     | Appended to the SDK User-Agent |\n| `fetch`      | `typeof fetch`        | `globalThis.fetch`    | Custom transport / test override |\n\n### Pentests\n\n```ts\nmaced.pentests.create(body)             // → PentestCreated\nmaced.pentests.list({ status?, limit? }) // → Pentest[]\nmaced.pentests.get(id)                  // → PentestWithProgress\nmaced.pentests.report(id)               // → PentestReport (markdown + cost + duration)\nmaced.pentests.events(id)               // → PentestEvent[] (live agent events)\nmaced.pentests.issues(id)               // → Issue[]\nmaced.pentests.progress(id)             // → PentestProgress\nmaced.pentests.cancel(id)               // → Pentest\nmaced.pentests.waitForCompletion(id, opts?) // polls until terminal\nmaced.pentests.streamEvents(id, opts?)       // AsyncIterable<PentestEvent>\n```\n\n### Issues\n\n```ts\nmaced.issues.list({ severity?, status?, pentestId? }) // → Issue[]\nmaced.issues.update(issueId, { status })              // → Issue\n```\n\n### Domains\n\n```ts\nmaced.domains.list()                    // → VerifiedDomain[]\nmaced.domains.verify(domain)            // → DomainVerificationChallenge\nmaced.domains.check(domain)             // → { verified: boolean }\n```\n\n### Webhooks\n\n```ts\nmaced.webhooks.getSecret()                             // → { secret }\nverifyMacedWebhook(rawBody, signature, secret, opts?)  // → MacedWebhookEvent (throws on bad sig)\n```\n\n### Usage\n\n```ts\nmaced.usage.get()                       // → UsageSummary (calendar month-to-date, UTC)\nmaced.usage.get({ period: \"week\" })     // → last 7 days\nmaced.usage.get({ from: \"...\", to: \"...\" })  // → arbitrary ISO window\n```\n\n### Escape hatch — raw typed fetch\n\n```ts\nconst { data, error, response } = await maced.http.GET(\"/v1/pentests\", {\n  params: { query: { status: \"running\" } },\n});\n```\n\nReturns an `openapi-fetch` `{ data, error, response }` tuple — never throws. Use\nthis when you want to inspect the raw `Response`, forward it, or prefer Result\npatterns over exceptions.\n\n## Error handling\n\nNamespaced methods throw `MacedApiError` on non-2xx responses:\n\n```ts\nimport { MacedApiError } from \"@maced/api-client\";\n\ntry {\n  await maced.pentests.create({ targetUrl: \"javascript:alert(1)\" });\n} catch (err) {\n  if (err instanceof MacedApiError) {\n    console.log(err.status);          // 400\n    console.log(err.body);            // { error: \"targetUrl must be http(s)\" }\n    console.log(err.method);          // \"POST\"\n    console.log(err.endpoint);        // \"/v1/pentests\"\n    if (err.isUnauthorized) { /* rotate key */ }\n    if (err.isRateLimited)   { /* back off — SDK already retried with backoff */ }\n    if (err.isServerError)   { /* alert ops */ }\n  }\n  throw err;\n}\n```\n\n## Recipes\n\n### Stream agent events live\n\n```ts\nfor await (const event of maced.pentests.streamEvents(runId)) {\n  console.log(`[${event.agent}] ${event.description ?? event.tool}`);\n}\n// Terminates automatically when the run reaches completed / failed / cancelled.\n```\n\nBuilt on polling + ID-based dedup. Each event yielded at most once. Cancel\nwith an `AbortSignal`:\n\n```ts\nconst ctrl = new AbortController();\nsetTimeout(() => ctrl.abort(), 5 * 60 * 1000);\nfor await (const event of maced.pentests.streamEvents(id, { signal: ctrl.signal })) {\n  //\n}\n```\n\n### Idempotent pentest creation\n\nIf your caller might crash between receiving the run id and persisting it,\npass an `idempotencyKey` so retries return the same run instead of creating\nduplicates. The server holds the replay window for 24h.\n\n```ts\nconst run = await maced.pentests.create(\n  { targetUrl: \"https://target\" },\n  { idempotencyKey: crypto.randomUUID() },\n);\n```\n\n### Build your own UI from structured findings\n\nEvery issue ships with structured reproduction + attack-path data so you can\nrender a custom report, build a triage UI, or feed a SIEM — no markdown\nparsing required:\n\n```ts\nconst issues = await maced.pentests.issues(runId);\n\nfor (const i of issues) {\n  console.log(`${i.severity.toUpperCase()} · ${i.title}`);\n  console.log(`  CVSS: ${i.cvssScore ?? \"—\"} | CWE: ${i.cweId ?? \"—\"}`);\n  console.log(`  Endpoint: ${i.affectedEndpoint ?? \"—\"}`);\n\n  // Step-by-step repro, each marked verified by the agent\n  for (const step of i.validationSteps ?? []) {\n    console.log(`    ${step.verified ? \"✓\" : \"·\"} ${step.description}`);\n  }\n\n  // Narrative attack path\n  if (i.attackPath) {\n    console.log(`  Likelihood: ${i.attackPath.likelihood} (${i.attackPath.likelihoodRationale})`);\n    console.log(`  Impact:     ${i.attackPath.impact} (${i.attackPath.impactRationale})`);\n  }\n\n  // Polymorphic evidence — HTTP transcripts, screenshot URLs, code snippets\n  for (const ev of i.evidence ?? []) {\n    switch (ev.type) {\n      case \"http\":       console.log(`  [HTTP] ${ev.method} ${ev.url} → ${ev.responseStatus}`); break;\n      case \"screenshot\": console.log(`  [IMG]  ${ev.screenshotUrl}`); break;\n      case \"code\":       console.log(`  [CODE] ${ev.filePath}:${ev.startLine}-${ev.endLine}`); break;\n    }\n  }\n}\n```\n\nUse `i.summary` for a 2-3 paragraph human-readable explanation, or\n`maced.pentests.report(id).markdown` for the full narrative report ready\nto render to PDF with your own branding.\n\n### Reseller pattern — attribute runs + meter end-customers\n\n```ts\n// On create — stash your customer ID + their webhook on each run\nconst run = await maced.pentests.create({\n  targetUrl: customerTarget,\n  webhookUrl: `https://my-backend.example.com/webhooks/maced`,\n  metadata: { customerId: \"acme_123\", plan: \"enterprise\" },\n});\n\n// When fetched back, metadata is typed + returned verbatim\nconst detail = await maced.pentests.get(run.id);\nconsole.log(detail.metadata?.customerId); // \"acme_123\"\n\n// Bill end-customers against actual Maced cost\nconst { totalCostUsd, completedRuns } = await maced.usage.get({ period: \"month\" });\nconst markup = 2.5;\nchargeCustomer({ usd: totalCostUsd * markup });\n```\n\n### Receive signed webhooks\n\nFetch your org's signing secret once, store it somewhere safe (env var,\nsecret manager), then verify every inbound webhook:\n\n```ts\nimport { MacedClient, verifyMacedWebhook, MacedWebhookSignatureError } from \"@maced/api-client\";\n\n// One-time, from a dev shell or deploy script\nconst maced = createMacedClient({ apiKey: process.env.MACED_API_KEY! });\nconst { secret } = await maced.webhooks.getSecret();\n// → \"whsec_5a8d...\" — persist to your secret manager\n\n// In your webhook handler (Next.js app router shown)\nexport async function POST(req: Request) {\n  const raw = await req.text();\n  const sig = req.headers.get(\"x-maced-signature\");\n  try {\n    const event = await verifyMacedWebhook(raw, sig, process.env.MACED_WEBHOOK_SECRET!);\n    switch (event.event) {\n      case \"pentest.completed\":\n        await sendCustomerReport(event.runId, event.report);\n        break;\n      case \"pentest.failed\":\n        await alertOps(event.runId, event.error);\n        break;\n    }\n    return new Response(null, { status: 204 });\n  } catch (err) {\n    if (err instanceof MacedWebhookSignatureError) {\n      return new Response(err.code, { status: 400 });\n    }\n    throw err;\n  }\n}\n```\n\nVerification is HMAC-SHA256 over `${timestamp}.${rawBody}`, timing-safe\ncomparison, 5-minute clock tolerance (replay protection).\n\n### Guard against accidental production calls\n\n```ts\nconst maced = createMacedClient({ apiKey: process.env.MACED_API_KEY! });\n\nif (process.env.NODE_ENV === \"test\" && maced.environment !== \"test\") {\n  throw new Error(\"Refusing to run tests against a live Maced key\");\n}\n```\n\n### Create a pentest and wait for the report\n\n```ts\nconst run = await maced.pentests.create({\n  targetUrl: \"https://target.example.com\",\n  scope: \"black-box\",\n  notificationEmail: \"security@acme.com\",\n});\n\nconst done = await maced.pentests.waitForCompletion(run.id, {\n  intervalMs: 10_000,\n  timeoutMs: 60 * 60 * 1000, // 1h\n  onProgress: (r) => {\n    console.log(`${r.status}: ${r.progress.completedAgents}/${r.progress.totalAgents}`);\n  },\n});\n\nif (done.status !== \"completed\") {\n  throw new Error(`Pentest finished as ${done.status}`);\n}\n\nconst report = await maced.pentests.report(done.id);\nawait Bun.write(\"./report.md\", report.markdown);\n```\n\n### Triage critical issues across all pentests\n\n```ts\nconst open = await maced.issues.list({ severity: \"critical\", status: \"open\" });\n\nfor (const issue of open) {\n  console.log(`[${issue.severity}] ${issue.title} — ${issue.runId}`);\n}\n\n// Close issues you've already fixed\nawait Promise.all(\n  resolvedIds.map((id) => maced.issues.update(id, { status: \"resolved\" })),\n);\n```\n\n### Verify a domain\n\n```ts\nconst { txtRecord, txtValue, verified } = await maced.domains.verify(\"acme.com\");\nif (!verified) {\n  console.log(`Publish a TXT record at ${txtRecord} with value ${txtValue}`);\n}\n\n// Later, after DNS propagates:\nconst { verified: ok } = await maced.domains.check(\"acme.com\");\n```\n\n### Plug Sentry / PostHog for observability\n\n```ts\nimport * as Sentry from \"@sentry/node\";\n\nconst maced = createMacedClient({\n  apiKey: process.env.MACED_API_KEY!,\n  logger: {\n    onError: ({ method, url, status }) =>\n      Sentry.captureMessage(`Maced API ${method} ${url} ${status}`),\n    onResponse: ({ durationMs, url }) => {\n      if (durationMs > 2_000) Sentry.captureMessage(`slow: ${url} ${durationMs}ms`);\n    },\n  },\n});\n```\n\n### Disable retries for idempotency-sensitive flows\n\n```ts\nconst maced = createMacedClient({\n  apiKey: process.env.MACED_API_KEY!,\n  retry: { maxAttempts: 1 },\n});\n```\n\n### Cancel an in-flight request\n\n```ts\nconst controller = new AbortController();\nsetTimeout(() => controller.abort(), 5_000);\n\nconst { data, error } = await maced.http.GET(\"/v1/pentests\", {\n  signal: controller.signal,\n});\n```\n\n## Environments\n\n`mc_live_*` keys hit production pentests and consume credits. `mc_dev_*` keys\nrun simulated pentests against the same API surface — use them in CI and tests.\n\nThe client cares only about the key prefix — both hit `api.maced.ai`.\n\n## Runtime support\n\n| Runtime            | Status |\n|--------------------|--------|\n| Node 18+           | ✅ |\n| Node 20 / 22       | ✅ |\n| Bun                | ✅ |\n| Deno               | ✅ (via `npm:@maced/api-client`) |\n| Cloudflare Workers | ✅ |\n| Edge / Vercel Edge | ✅ |\n| Browsers           | ❌ — see \"Backend only\" banner above |\n| React Native       | ❌ — same |\n| Electron renderer  | ❌ — same |\n\n## Versioning\n\nTypes are regenerated from the live OpenAPI spec on every API change via a\nGitHub Action. Each regeneration that produces a diff bumps a patch version\nand publishes with [npm provenance](https://docs.npmjs.com/generating-provenance-statements).\n\nMajor versions (breaking changes to the SDK surface itself) follow semver.\n\n## Links\n\n- **API docs:** https://api.maced.ai/docs\n- **OpenAPI spec:** https://api.maced.ai/openapi.json\n- **Dashboard:** https://maced.ai\n- **Generate keys:** https://maced.ai/settings/api\n- **Issues:** https://github.com/goatedventures/maced/issues\n\n## License\n\nMIT\n","readmeFilename":"README.md"}