@atzentis/booking-sdk
v0.1.12
Published
Atzentis Booking SDK — Core TypeScript client
Maintainers
Readme
@atzentis/booking-sdk
Core TypeScript client for atzentis.io — the Atzentis Hospitality Platform. Framework-agnostic with zero runtime dependencies.
Install
npm install @atzentis/booking-sdkQuick Start
import { BookingClient } from '@atzentis/booking-sdk';
const booking = new BookingClient({
baseUrl: 'https://api.atzentis.io',
apiKey: 'your-api-key',
});
// Properties
const properties = await booking.properties.list();
// Availability
const availability = await booking.availability.check({
propertyId: 'prop_123',
checkIn: '2026-06-01',
checkOut: '2026-06-05',
});
// Bookings
const result = await booking.bookings.create({
propertyId: 'prop_123',
spaceId: 'space_456',
guestId: 'guest_789',
checkIn: '2026-06-01',
checkOut: '2026-06-05',
});Services
Wraps all 205 endpoints of the atzentis.io v4.0 API across 28 services:
| Category | Services | | --- | --- | | Inventory | Properties, Spaces | | Booking | Availability, Bookings, Groups | | Guest | Profiles, Intelligence, ID Scanning | | Finance | Folios, Payments, POS Bridge | | Operations | Housekeeping, Night Audit, Staff, Supply, Tasks | | Rate | Plans, Periods, Restrictions | | Distribution | Channels, Mappings, Sync, iCal | | AI | Concierge, Revenue | | Compliance | Fiscal (myDATA, TSE) | | Platform | Webhooks, Settings, Notifications, SSE |
Booking Verticals
| Vertical | Space Types | Granularity | | --- | --- | --- | | Stays (nights) | room, sunbed, parking | night, day, month | | Tables (reservations) | table, locker | hour | | Services (appointments) | service, meeting_room, desk | hour |
Features
- ESM and CJS dual output
- Strict TypeScript with full type coverage
- Zod validation schemas for all request/response types
- Tree-shakeable exports
- Zero runtime dependencies
React
For React hooks and components, see @atzentis/booking-react.
Links
- atzentis.io — Hospitality Platform
- API Documentation
- GitHub
License
MIT
