{"_id":"@agiflowai/dataplane-api-client","_rev":"1-48d64f99cff6b624fb81a1b6ebdeb2e6","name":"@agiflowai/dataplane-api-client","description":"AGIFlow dataplan api","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.0":{"name":"@agiflowai/dataplane-api-client","version":"0.0.0","author":{"name":"Vuong Ngo"},"license":"Apache-2.0","_id":"@agiflowai/dataplane-api-client@0.0.0","maintainers":[{"name":"agiflow-ai","email":"agiflow.ai@gmail.com"}],"dist":{"shasum":"129d6146650c2b18e5e9d4f8c7637e6c1fd12701","tarball":"https://registry.npmjs.org/@agiflowai/dataplane-api-client/-/dataplane-api-client-0.0.0.tgz","fileCount":19,"integrity":"sha512-UzA5JWtvairCNa9ev82MR2v2XNYGVtuTUHH/PpWTLzavClvqHYdf+FMXzyCQuruP+L2R5xZ+QojDmHgms9Dy1Q==","signatures":[{"sig":"MEYCIQDDFly9l+TrkdqQs3MNi39rjE5keqNN4FGAxakedLq9EgIhAMcW6j9sHXC1FuIemsClYutE3F+VrXw4iqqduxWa6Yly","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":92249},"main":"./dist/index.js","_from":"file:agiflowai-dataplane-api-client-0.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","scripts":{"lint":"pnpm run lint:js","test":"echo \"Error: no test specified\"","build":"st build ts package","fixcode":"pnpm run lint:js:fix","lint:js":"eslint --ext .ts --ext .tsx src/","typecheck":"tsc --noEmit","build:watch":"st build ts package --watch","lint:js:fix":"eslint --ext .ts --ext .tsx --cache --quiet --fix src/"},"_npmUser":{"name":"agiflow-ai","email":"agiflow.ai@gmail.com"},"_resolved":"/private/var/folders/35/_klvbykx3s99bpfh7lcqwrgw0000gn/T/63fc4de9e00a4edef6a765227eb5ec24/agiflowai-dataplane-api-client-0.0.0.tgz","_integrity":"sha512-UzA5JWtvairCNa9ev82MR2v2XNYGVtuTUHH/PpWTLzavClvqHYdf+FMXzyCQuruP+L2R5xZ+QojDmHgms9Dy1Q==","_npmVersion":"10.2.4","description":"AGIFlow dataplan api","directories":{},"jsnext:main":"./dist/index.js","sideEffects":false,"_nodeVersion":"20.11.0","dependencies":{"zod":"3.23.8"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"29.7.0","eslint":"8.57.0","rollup":"4.17.2","typescript":"5.4.5","@types/node":"20.10.5","openapi-typescript":"6.7.4","rollup-plugin-copy":"3.4.0","@agiflowai/tool-cli":"0.0.0","@rushstack/eslint-config":"3.7.0","@agiflowai/rig-eslint-config":"0.0.0","@agiflowai/rig-rollup-config":"0.0.0","@agiflowai/rig-prettier-config":"1.0.0","@agiflowai/rig-typescript-config":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/dataplane-api-client_0.0.0_1720416856447_0.459567856308045","host":"s3://npm-registry-packages"}},"0.0.1":{"name":"@agiflowai/dataplane-api-client","version":"0.0.1","description":"AGIFlow dataplan api","main":"./dist/index.js","jsnext:main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","sideEffects":false,"homepage":"https://github.com/AgiFlow/agiflow-sdks/tree/main/packages/universal/dataplan-api-client","publishConfig":{"registry":"https://registry.npmjs.org/"},"dependencies":{"zod":"3.23.8"},"devDependencies":{"@rushstack/eslint-config":"3.7.0","@types/node":"20.10.5","openapi-typescript":"6.7.4","eslint":"8.57.0","jest":"29.7.0","rollup":"4.17.2","rollup-plugin-copy":"3.4.0","typescript":"5.4.5","@agiflowai/rig-prettier-config":"1.0.1","@agiflowai/rig-eslint-config":"0.0.1","@agiflowai/tool-cli":"0.0.1","@agiflowai/rig-typescript-config":"0.0.1","@agiflowai/rig-rollup-config":"0.0.1"},"author":{"name":"Vuong Ngo"},"license":"Apache-2.0","scripts":{"build":"st build ts package","build:watch":"st build ts package --watch","test":"echo \"Error: no test specified\"","lint":"pnpm run lint:js","lint:js":"eslint --ext .ts --ext .tsx src/","lint:js:fix":"eslint --ext .ts --ext .tsx --cache --quiet --fix src/","fixcode":"pnpm run lint:js:fix","typecheck":"tsc --noEmit"},"_id":"@agiflowai/dataplane-api-client@0.0.1","_integrity":"sha512-8Te1P+erzhNXWEhTHseufJotYO50g3QNuon/uuHWFzh1OGz8eEjmZKIo4RMJ8XUOS5xmQB/DYhlGOh9ZACSXBw==","_resolved":"/private/var/folders/35/_klvbykx3s99bpfh7lcqwrgw0000gn/T/be84dd734de686faf989405165d5e576/agiflowai-dataplane-api-client-0.0.1.tgz","_from":"file:agiflowai-dataplane-api-client-0.0.1.tgz","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-8Te1P+erzhNXWEhTHseufJotYO50g3QNuon/uuHWFzh1OGz8eEjmZKIo4RMJ8XUOS5xmQB/DYhlGOh9ZACSXBw==","shasum":"fb08d3ed3922eb73d794392a68dc60bdf8375290","tarball":"https://registry.npmjs.org/@agiflowai/dataplane-api-client/-/dataplane-api-client-0.0.1.tgz","fileCount":20,"unpackedSize":93212,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQfkhDTKGT+TzXm1d6R9Hg6GkrPSTbZINVYzL2iGWLPAIgb/gVmp1MrFuqSsM+SZH/qKI8Sg/cZgaJ5csDr+CSeJE="}]},"_npmUser":{"name":"agiflow-ai","email":"agiflow.ai@gmail.com"},"directories":{},"maintainers":[{"name":"agiflow-ai","email":"agiflow.ai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dataplane-api-client_0.0.1_1720430823267_0.2954737541294943"},"_hasShrinkwrap":false}},"time":{"created":"2024-07-08T05:34:16.352Z","modified":"2024-07-08T09:27:03.574Z","0.0.0":"2024-07-08T05:34:16.633Z","0.0.1":"2024-07-08T09:27:03.391Z"},"maintainers":[{"name":"agiflow-ai","email":"agiflow.ai@gmail.com"}],"author":{"name":"Vuong Ngo"},"license":"Apache-2.0","readme":"# @agiflowai/universal-analytics-client\n\nWelcome to the **@agiflowai/universal-analytics-client** package! This package is designed to automatically generate a TypeScript client based on your OpenAPI specification, simplifying the process of interacting with your API.\n\n## Features\n\n- **Automatic Generation**: Generate TypeScript clients directly from your OpenAPI spec.\n- **Type Safety**: Ensure type safety with TypeScript definitions.\n- **Easy Integration**: Seamlessly integrate with your existing projects.\n- **Customizable**: Customize the generated client to fit your specific needs.\n\n## Installation\n\nInstall the package using npm or yarn:\n\n```bash\nnpm install @agiflowai/universal-analytics-client\n```\n\nor\n\n```bash\nyarn add @agiflowai/universal-analytics-client\n```\n\n## Usage with openapi-fetch\n\n1. Install **openapi-fetch** dependency  \n\n```bash\nyarn add openapi-fetch\n```\n\n2. Create client:  \n\n```typescript\nimport createClient from 'openapi-fetch';\nimport { paths } from '@agiflowai/universal-analytics-client';\n\nconst client = createClient<paths>({\n  baseUrl: process.env.BASE_URL,\n  fetch,\n});\n```\n\n3. Use the client:  \n\n``` typescript\nconst res = await client.GET('...') // type inferred\n```\n\n## Contributing\n\nContributions are welcome! If you have any suggestions or improvements, please create a pull request or open an issue.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","readmeFilename":"Readme.md","homepage":"https://github.com/AgiFlow/agiflow-sdks/tree/main/packages/universal/dataplan-api-client"}