
Product
Microsoft Teams Notifications Are Now Available in Socket
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.
@postio/api-types
Advanced tools
TypeScript types for the Postio API, generated from @postio/openapi.
TypeScript types for Postio — the UK validation API for addresses, emails and phone numbers.
First time? Sign up free — first 100 lookups on us, no card needed.
Generated from @postio/openapi
via openapi-typescript.
npm install --save-dev @postio/api-types
import type { paths, components, operations } from "@postio/api-types"
// The full request/response shape for an operation:
type SearchOp = operations["getV1AddressSearch"]
type SearchResponse = SearchOp["responses"]["200"]["content"]["application/json"]
// Or pull a schema directly:
type Address = components["schemas"]["Address"]
type ErrorEnvelope = components["schemas"]["ErrorEnvelope"]
// Path-level shapes (matches the OpenAPI document):
type AddressSearchPath = paths["/address/search"]
Lockstep with @postio/openapi and the underlying API spec. Bumping
the API spec version in postio-uk/postio-api cascades to a new
release of both packages.
pnpm install
pnpm build # generates types from local @postio/openapi
pnpm build:fetch # generates types from postio.co.uk/openapi.json
The generated src/index.ts and compiled dist/index.d.ts are both
gitignored. CI rebuilds them on every release.
MIT.
FAQs
TypeScript types for the Postio API, generated from @postio/openapi.
We found that @postio/api-types demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.

Security News
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.