Skip to content

BookingsApi

Defined in: packages/sdk/src/resources/BookingsApi.ts:10

Cal.com-backed bookings widget. enable flips the feature on + stores the merchant’s Cal username; disable flips it back off (Cal account stays intact — Vantage just stops embedding it).

  • Resource

new BookingsApi(opts): BookingsApi

Defined in: packages/sdk/src/request.ts:93

VantageClientOptions

BookingsApi

Resource.constructor

disable(websiteId): Promise<{ website: Website; }>

Defined in: packages/sdk/src/resources/BookingsApi.ts:17

string

Promise<{ website: Website; }>


enable(websiteId, input): Promise<{ calUsername: string; publicUrl: string; website: Website; }>

Defined in: packages/sdk/src/resources/BookingsApi.ts:11

string

string

string

Promise<{ calUsername: string; publicUrl: string; website: Website; }>