{"_id":"@airscale/client","_rev":"2-418d0da3d69a9dbd9147b34b8711c58f","name":"@airscale/client","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@airscale/client","version":"0.1.0","_id":"@airscale/client@0.1.0","maintainers":[{"name":"airscale","email":"victor@airscale.io"}],"dist":{"shasum":"ffdb691f2a8f57f8a1418410478aa8c8768d802a","tarball":"https://registry.npmjs.org/@airscale/client/-/client-0.1.0.tgz","fileCount":16,"integrity":"sha512-IisY7C83WFtgzzieaxHR4oOZBrSpR9/8i2/LwGFjFlmIGe3SPJNbq9K7ro0nVVpCqaIraqEs8ttn3Q+08ydSRA==","signatures":[{"sig":"MEUCIQC4rbKU/cbiMrFkNwZSQ+GoiWJWYoHvon7iIlb+z37DAAIgEONkp5CwZQ6E5X1O+BBJ8ogyVo+cWmrAesQnATtzAgE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":215958},"main":"./dist/index.js","type":"module","_from":"file:/Users/victordetraz/Documents/Code-Claude/Airscale-code/outputs/airscale-cli-release-20260912/npm-packages/airscale-client-0.1.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"tsx src/client.test.ts && tsx src/schemas.test.ts && tsx src/convenience.test.ts && tsx src/contact.test.ts","build":"tsc","prepack":"npm run build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"airscale","email":"victor@airscale.io"},"_resolved":"/Users/victordetraz/Documents/Code-Claude/Airscale-code/outputs/airscale-cli-release-20260912/npm-packages/airscale-client-0.1.0.tgz","_integrity":"sha512-IisY7C83WFtgzzieaxHR4oOZBrSpR9/8i2/LwGFjFlmIGe3SPJNbq9K7ro0nVVpCqaIraqEs8ttn3Q+08ydSRA==","_npmVersion":"11.9.0","description":"Typed HTTP client and request schemas for the Airscale public API","directories":{},"_nodeVersion":"24.14.0","dependencies":{"zod":"^3.23.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.11.0","typescript":"^5.4.0"},"_npmOperationalInternal":{"tmp":"tmp/client_0.1.0_1789221831549_0.750540739390055","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@airscale/client","version":"0.1.1","description":"Typed HTTP client and request schemas for the Airscale public API","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"tsc","typecheck":"tsc --noEmit","test":"tsx src/client.test.ts && tsx src/schemas.test.ts && tsx src/convenience.test.ts && tsx src/contact.test.ts && node --import tsx --test src/cancellation.test.ts","prepack":"npm run build"},"dependencies":{"zod":"^3.23.0"},"devDependencies":{"tsx":"^4.11.0","typescript":"^5.4.0"},"publishConfig":{"access":"public"},"_id":"@airscale/client@0.1.1","_integrity":"sha512-CI6Fjv1w72zPSlmTg0hHHchiw014wrZ7uyS8T3CmNMVhb2Lg1X6MVKJC2hUGgX1hh0vCIPI9efE/N7bTyTXtxw==","_resolved":"/tmp/airscale-cli-publication-20260915/airscale-client-0.1.1.tgz","_from":"file:/tmp/airscale-cli-publication-20260915/airscale-client-0.1.1.tgz","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-CI6Fjv1w72zPSlmTg0hHHchiw014wrZ7uyS8T3CmNMVhb2Lg1X6MVKJC2hUGgX1hh0vCIPI9efE/N7bTyTXtxw==","shasum":"1149f56ce93db0a90e1636d5c3f3d604535bc0d2","tarball":"https://registry.npmjs.org/@airscale/client/-/client-0.1.1.tgz","fileCount":18,"unpackedSize":222420,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD+mPNwXrKCmsNC9Fhfg4AFCnCstIujpmdG9N9OxptFcQIhAJ4Zxqd6UCKdOSU9YvZtbdxB0bmsJblpgxWR1b+HYfQF"}]},"_npmUser":{"name":"airscale","email":"victor@airscale.io"},"directories":{},"maintainers":[{"name":"airscale","email":"victor@airscale.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/client_0.1.1_1789423587560_0.9983362810016101"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-12T14:03:51.336Z","modified":"2026-09-14T22:06:27.978Z","0.1.0":"2026-09-12T14:03:51.678Z","0.1.1":"2026-09-14T22:06:27.705Z"},"description":"Typed HTTP client and request schemas for the Airscale public API","maintainers":[{"name":"airscale","email":"victor@airscale.io"}],"readme":"# @airscale/client\n\nTyped HTTP client and Zod request schemas shared by the Airscale CLI and MCP server.\nUses standard Fetch APIs and runs in Node.js and Cloudflare Workers.\n\n```ts\nimport { createAirscaleClient, AirscaleError } from \"@airscale/client\";\n\nconst client = createAirscaleClient({ apiKey });\nconst credits = await client.credits();\n```\n\nThe client exposes `credits`, `findPeople`, `findCompanies`, and\n`findCompaniesFilterValues`. The `endpoints` registry, request schemas, and\n`call<T>(definition, input)` are available for other documented endpoints.\n`createClient` and `createClientFromConfig` retain the low-level MCP result form.\n\nConvenience methods throw `AirscaleError` with sanitized `status`, `data` (`body`\nis an alias), validation `issues`, and the original `retryAfter` header when\npresent. Requests are never retried automatically. Paid requests require the\ncaller to decide whether retrying is safe.\n\nFor a test server, pass `baseUrl` (including `/v1`), or inject `fetch` as the\nfactory's second argument. No environment or Node-specific globals are read by\nthe shared client itself. The package exports built ESM and TypeScript declarations.\n","readmeFilename":"README.md"}