Platform Integrations
Apple Business Connect
Sync booking actions and business data with Apple's ecosystem:
typescript
// Server-side only — import from integration package
import { AppleBusinessConnectClient, createBookAction } from "@booking/apple-business-connect";
const client = new AppleBusinessConnectClient({ token: process.env.APPLE_BUSINESS_CONNECT_TOKEN });
const bookAction = createBookAction({ /* booking data */ });
await client.submitAction(bookAction);What happens:
- Booking actions (book, reserve, waitlist) sync to Apple Business Connect
- Business data stays up-to-date across Apple services
Server-side only
This package must never be imported into client-side code.
Google Maps Booking
Sync merchants, services, and availability with Google Maps Booking:
typescript
// Server-side only — import from integration package
import { GoogleMapsBookingClient, createMerchant, createService } from "@booking/google-maps-booking";
const client = new GoogleMapsBookingClient({
privateKey: process.env.GOOGLE_MAPS_BOOKING_SERVICE_ACCOUNT_PRIVATE_KEY,
clientEmail: process.env.GOOGLE_MAPS_BOOKING_SERVICE_ACCOUNT_CLIENT_EMAIL,
});
const merchant = createMerchant({ /* merchant data */ });
await client.submitMerchant(merchant);What happens:
- Merchant and service feeds sync to Google Business Profile
- Availability slots update in real-time
- Booking Server callbacks handled via router
Server-side only
This package uses jose for Google service account JWT signing. Never import into client-side code.