@lohisoftsro/yappointment-sdk
v0.1.0
Published
Official TypeScript SDK for the yAppointment Integration Platform
Maintainers
Readme
@lohisoftsro/yappointment-sdk
Official TypeScript SDK for the yAppointment Integration Platform.
Installation
npm install @lohisoftsro/yappointment-sdkUsage
import { YApp } from '@lohisoftsro/yappointment-sdk'
const yapp = new YApp({ apiKey: process.env.YAPP_SECRET_KEY })
const bookings = await yapp.bookings.list({ from: '2026-04-01', to: '2026-04-30' })Development
npm install
npm run generate # regenerate from OpenAPI spec
npm run build
npm testSee docs/superpowers/specs/2026-04-19-integration-platform-design.md section 9 for the full design.
Release
The SDK is published to npm as @lohisoftsro/yappointment-sdk. See RELEASING.md for the full process.
Quick version:
cd sdk-js
npm version patch # or minor / major
npm run build # regenerates from OpenAPI spec + builds ESM/CJS
npm test
npm publishprepublishOnly ensures build + tests pass before publishing.
