{"_id":"@corsair-dev/unione","_rev":"2-28cedbd8da553ece0a560fc093239e5e","name":"@corsair-dev/unione","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@corsair-dev/unione","version":"0.1.0","keywords":["corsair","unione","plugin"],"author":"","license":"Apache-2.0","_id":"@corsair-dev/unione@0.1.0","maintainers":[{"name":"corsair.dev","email":"dev@corsair.dev"}],"dist":{"shasum":"f7d271bf8fee12de37145eebb2926b255cbf32aa","tarball":"https://registry.npmjs.org/@corsair-dev/unione/-/unione-0.1.0.tgz","fileCount":59,"integrity":"sha512-kPxHvhSaSZz2Qw9LGxZ6Rt3kZvL3/GRjZmep+IRr4cY9vekLBlSWh49oTtqbEMKLM8OubZ5jwTEgVMnSehZvUQ==","signatures":[{"sig":"MEQCIDvkc9aJw4r6f+NmtK9H03Cfv4O2GYvuMnn9PgfDP4HtAiB2GqETBG5u3meJKpNXJHGzhZ74GDEN48pht15XqC1hqg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":206598},"main":"./dist/index.js","type":"module","_from":"file:corsair-dev-unione-0.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js","dev-source":"./index.ts"}},"scripts":{"test":"jest","build":"rm -rf dist && tsc --build --force && tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"corsair.dev","email":"dev@corsair.dev"},"_resolved":"/tmp/f4d8b7594c9849d16c84153c1182e83a/corsair-dev-unione-0.1.0.tgz","_integrity":"sha512-kPxHvhSaSZz2Qw9LGxZ6Rt3kZvL3/GRjZmep+IRr4cY9vekLBlSWh49oTtqbEMKLM8OubZ5jwTEgVMnSehZvUQ==","_npmVersion":"10.9.8","description":"Unione plugin for Corsair","directories":{},"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"devDependencies":{"zod":"^4.1.13","jest":"^29.7.0","tsup":"^8.0.1","corsair":"0.1.119","ts-jest":"^29.4.9","typescript":"^5.9.3","@types/jest":"^29.5.14"},"peerDependencies":{"zod":"^4.1.13","corsair":">=0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/unione_0.1.0_1787454931552_0.6387566540433105","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@corsair-dev/unione","version":"0.1.1","description":"Unione plugin for Corsair","type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"dev-source":"./index.ts","types":"./dist/index.d.ts","default":"./dist/index.js"}},"peerDependencies":{"corsair":">=0.1.0","zod":"^4.1.13"},"devDependencies":{"@types/jest":"^29.5.14","jest":"^29.7.0","ts-jest":"^29.4.9","tsup":"^8.0.1","typescript":"^5.9.3","zod":"^4.1.13","corsair":"0.1.129"},"keywords":["corsair","unione","plugin"],"author":{"name":"Corsair","url":"https://corsair.dev"},"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/corsairdev/corsair.git","directory":"packages/unione"},"homepage":"https://docs.corsair.dev/plugins/unione","scripts":{"build":"rm -rf dist && tsc --build --force && tsup","typecheck":"tsc --noEmit","test":"jest"},"_id":"@corsair-dev/unione@0.1.1","bugs":{"url":"https://github.com/corsairdev/corsair/issues"},"_integrity":"sha512-PAgush3YALJihbL32E5VmbTH4Pj9UBAIrbXFZoANbInHIXJU3QPXcQJptkGjlgo5z61GyiRukUwRKH/yXtBj4Q==","_resolved":"/tmp/d7653cd8f0b3fc1a0defe4f081d00f42/corsair-dev-unione-0.1.1.tgz","_from":"file:corsair-dev-unione-0.1.1.tgz","_nodeVersion":"24.20.0","_npmVersion":"11.19.0","dist":{"integrity":"sha512-PAgush3YALJihbL32E5VmbTH4Pj9UBAIrbXFZoANbInHIXJU3QPXcQJptkGjlgo5z61GyiRukUwRKH/yXtBj4Q==","shasum":"57ae252add531ab89540d8a5e308c7a565eb664c","tarball":"https://registry.npmjs.org/@corsair-dev/unione/-/unione-0.1.1.tgz","fileCount":60,"unpackedSize":213370,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDaQmni06pY4uVz/GZuq6RioOtME3Xe8oAJm2pHgv46sQIhAPy985AXvD2weMQLVwm8NbbcJb8g+detVgaCovrFpEI5"}]},"_npmUser":{"name":"corsair.dev","email":"dev@corsair.dev"},"directories":{},"maintainers":[{"name":"corsair.dev","email":"dev@corsair.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/unione_0.1.1_1789062755016_0.6800055778692884"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-23T03:15:31.328Z","modified":"2026-09-10T17:52:35.303Z","0.1.0":"2026-08-23T03:15:31.681Z","0.1.1":"2026-09-10T17:52:35.159Z"},"license":"Apache-2.0","keywords":["corsair","unione","plugin"],"description":"Unione plugin for Corsair","maintainers":[{"name":"corsair.dev","email":"dev@corsair.dev"}],"readme":"# @corsair-dev/unione\n\nUnione plugin for Corsair.\n\n## Install\n\n```bash\npnpm add @corsair-dev/unione\n```\n\n## Endpoints\n\n| Operation | Operation ID | Risk | Description |\n|-----------|--------------|------|-------------|\n| `domain.delete` | `unione.api.domain.delete` | `destructive` | Tool to delete a sender domain from the account. Use only when you are certain: the domain must be re-added and re-verified to send from it again. |\n| `domain.manage` | `unione.api.domain.manage` | `write` | Tool to inspect and verify sender domains: fetch DNS records, trigger a verification or DKIM check, or list domains. Deleting a domain is a separate tool. |\n| `email.list` | `unione.api.email.list` | `write` | Tool to start an export of email events in a time range. Creates an asynchronous event dump and returns a dump_id; poll eventDump.get for the download URLs. It does not return events directly. |\n| `email.schedule` | `unione.api.email.schedule` | `write` | Tool to send a transactional email at a future time, at most 24 hours ahead. Same as email.send plus a send_at timestamp. |\n| `email.send` | `unione.api.email.send` | `write` | Tool to send a transactional email immediately. Requires recipients, from_email, subject, and either a body or a template_id. |\n| `email.statistics` | `unione.api.email.statistics` | `write` | Tool to start a per-day aggregate export of send statistics. Creates an asynchronous event dump and returns a dump_id; poll eventDump.get for the result. It does not return statistics directly. |\n| `email.subscribe` | `unione.api.email.subscribe` | `write` | Tool to resubscribe a recipient who previously unsubscribed. Use when you need to restore a user subscription status after they opt in again. |\n| `email.unsubscribe` | `unione.api.email.unsubscribe` | `write` | Tool to unsubscribe an email from future emails. Use when you need to stop all further transactional emails. |\n| `emailValidation.batch` | `unione.api.emailValidation.batch` | `read` | Tool to validate a list of email addresses. UniOne has no bulk method, so each address costs one validation from the account quota. Addresses that fail are returned with status \"error\" rather than failing the whole batch. |\n| `eventDump.create` | `unione.api.eventDump.create` | `write` | Tool to create an asynchronous CSV event dump. Use when you need to export transactional email events for a specified time window. |\n| `eventDump.createForJob` | `unione.api.eventDump.createForJob` | `write` | Tool to export the delivery events of one send job. UniOne has no method that reads a job directly, so this creates an event dump filtered by job_id and returns a dump_id to poll with eventDump.get. |\n| `eventDump.delete` | `unione.api.eventDump.delete` | `destructive` | Tool to delete an event dump file and remove it from the queue or storage. Use when you need to clean up an existing event dump by its dump_id. |\n| `eventDump.get` | `unione.api.eventDump.get` | `read` | Tool to retrieve the status and download URLs of an event dump. Use when you need to check if a dump is ready and get its files. |\n| `eventDump.list` | `unione.api.eventDump.list` | `read` | Tool to retrieve the full list of event dumps. Use when you need to view all existing event-dump tasks. |\n| `suppression.delete` | `unione.api.suppression.delete` | `write` | Tool to remove an email from the suppression list. Use when you need to re-enable sending emails to an address that was previously unsubscribed or suppressed. |\n| `suppression.get` | `unione.api.suppression.get` | `read` | Tool to check if an email is suppressed and retrieve the reason and date. Use when verifying why an email cannot receive messages. |\n| `suppression.list` | `unione.api.suppression.list` | `read` | Tool to return the suppression list since a given date. Use when auditing bounced, unsubscribed, or blocked recipients. |\n| `system.info` | `unione.api.system.info` | `read` | Tool to retrieve account details and the current billing period: emails included and sent, validations included and used. Use before sending large campaigns. |\n| `system.ping` | `unione.api.system.ping` | `read` | Tool to check API connectivity and that the API key is accepted. Use as a health check before a batch of operations. |\n| `tag.delete` | `unione.api.tag.delete` | `destructive` | Tool to delete a specific tag. Use when you have confirmed the tag ID you wish to remove. |\n| `tag.list` | `unione.api.tag.list` | `read` | Tool to retrieve all user-defined tags. Use when you need to fetch the full list of tags after authentication. |\n| `template.delete` | `unione.api.template.delete` | `destructive` | Tool to delete a template by ID. Use when you need to permanently remove a template from the account. |\n| `template.get` | `unione.api.template.get` | `read` | Tool to get template properties by ID. Use when you need to retrieve the full template configuration and content for a specific template. |\n| `template.list` | `unione.api.template.list` | `read` | Tool to list email templates. Use when you need to retrieve available templates for transactional emails. |\n| `template.set` | `unione.api.template.set` | `write` | Tool to set or update an email template. Use when you need to create or modify transactional email templates before sending messages. |\n| `webhook.delete` | `unione.api.webhook.delete` | `destructive` | Tool to delete a webhook event notification handler by its URL. Use when you need to stop receiving callback notifications for a specific webhook. |\n| `webhook.get` | `unione.api.webhook.get` | `read` | Tool to retrieve webhook configuration by its URL. Use when you need to check the current settings of an event notification handler. |\n| `webhook.list` | `unione.api.webhook.list` | `read` | Tool to list every webhook configured on the account. Use when you need to see all event notification handlers and their settings. |\n| `webhook.set` | `unione.api.webhook.set` | `write` | Tool to set or edit a webhook event notification handler. Use when you need to configure your webhook for event callbacks. |\n| `webhook.types` | `unione.api.webhook.types` | `read` | Tool to list the event names accepted by webhook.set. Returns a static list published in the UniOne callback docs; it makes no API call. |\n\n## Auth\n\nAuth: API key. Corsair prompts your tenant for credentials on first use.\n\n## Webhooks\n\nHandles 2 webhook events. See the reference for payloads and `webhookHooks`.\n\n## Reference\n\nFull docs, types, and examples: https://docs.corsair.dev/plugins/unione\n\n## License\n\nApache-2.0\n","readmeFilename":"README.md","homepage":"https://docs.corsair.dev/plugins/unione","repository":{"type":"git","url":"git+https://github.com/corsairdev/corsair.git","directory":"packages/unione"},"author":{"name":"Corsair","url":"https://corsair.dev"},"bugs":{"url":"https://github.com/corsairdev/corsair/issues"}}