{"_id":"@api-emulator/duke-energy","name":"@api-emulator/duke-energy","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@api-emulator/duke-energy","version":"0.1.0","license":"MIT","type":"module","main":"./api-emulator.mjs","exports":{".":"./api-emulator.mjs"},"homepage":"https://api-emulator.jsj.sh","repository":{"type":"git","url":"git+https://github.com/jsj/api-emulator-registry.git","directory":"@duke-energy"},"bugs":{"url":"https://github.com/jsj/api-emulator/issues"},"peerDependencies":{"api-emulator":">=0.6.0"},"publishConfig":{"access":"public"},"_id":"@api-emulator/duke-energy@0.1.0","description":"Duke Energy customer APIs provide Auth0 token exchange, account lists, account details, balances, meters, and usage graph workflows.","_integrity":"sha512-W/lXHZAUU1HoeeDPEg4RS6OCXVRij8zIE8G3703hVqAxxwDpUql/aNgVG05U32LhPsjdRVd6qNHs3oNXq0xz6A==","_resolved":"/tmp/api-emulator-provider-packages-UPh1Ik/api-emulator-duke-energy-0.1.0.tgz","_from":"file:/tmp/api-emulator-provider-packages-UPh1Ik/api-emulator-duke-energy-0.1.0.tgz","_nodeVersion":"24.15.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-W/lXHZAUU1HoeeDPEg4RS6OCXVRij8zIE8G3703hVqAxxwDpUql/aNgVG05U32LhPsjdRVd6qNHs3oNXq0xz6A==","shasum":"c4a7ea281f6b85af5ffce85e9bd6948bbe85939c","tarball":"https://registry.npmjs.org/@api-emulator/duke-energy/-/duke-energy-0.1.0.tgz","fileCount":3,"unpackedSize":7028,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@api-emulator%2fduke-energy@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBkBNglrw4+DBVdjabS/FX1S3z2tlIt6wJPibFjqQ8hHAiAMUJ0KJ3wDCubS2IvPYL9slbUAKYVDgbzPOrBw8JMF+w=="}]},"_npmUser":{"name":"jsjackson","email":"james.sorley.jackson@gmail.com"},"directories":{},"maintainers":[{"name":"jsjackson","email":"james.sorley.jackson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/duke-energy_0.1.0_1779326408049_0.14131280806586854"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-21T01:20:07.868Z","0.1.0":"2026-05-21T01:20:08.222Z","modified":"2026-05-21T01:20:08.671Z"},"maintainers":[{"name":"jsjackson","email":"james.sorley.jackson@gmail.com"}],"description":"Duke Energy customer APIs provide Auth0 token exchange, account lists, account details, balances, meters, and usage graph workflows.","homepage":"https://api-emulator.jsj.sh","repository":{"type":"git","url":"git+https://github.com/jsj/api-emulator-registry.git","directory":"@duke-energy"},"bugs":{"url":"https://github.com/jsj/api-emulator/issues"},"license":"MIT","readme":"# @api-emulator/duke-energy\n\nDuke Energy customer APIs provide Auth0 token exchange, account lists, account details, balances, meters, and usage graph workflows.\n\nPart of [api-emulator](https://github.com/jsj/api-emulator) — local drop-in replacement services for CI and no-network sandboxes.\n\n## Install\n\n```bash\nnpm install @api-emulator/duke-energy\n```\n\n## Run\n\n```bash\nnpx -p api-emulator api --plugin ./@duke-energy/api-emulator.mjs --service duke-energy\n```\n\n## Endpoints\n\n- `POST /login/auth-token`\n- `GET /account-list`\n- `GET /account-details-v2`\n- `POST /account/usage/graph`\n- `GET /inspect/contract`\n- `GET /inspect/state`\n\n## Auth\n\nUses fake local credentials only; provide any deterministic bearer token or API key expected by the client under test.\n\n## Seed Configuration\n\n```yaml\nduke-energy:\n  # Add provider-specific seed state here.\n```\n\n## Links\n\n- [Official API docs](https://github.com/hunterjm/aiodukeenergy)\n- [api-emulator](https://github.com/jsj/api-emulator)\n","readmeFilename":"README.md","_rev":"1-587e8929bab4ab7c9c62932f1dfd8c47"}