Meeting Type methods: publish
The Meeting Type Verbs publish as typed SDK methods, with inputs, result, refusals and an example.
Reference for Meeting Type, one group of Meeting Type methods.
MeetingType.publish
Publish puts a Meeting Type’s booking link live on the Startup’s Domain, where each pick books a Meeting into its Availability. Verb page.
interface MeetingTypeVerbs {
publish(input: MeetingTypePublishInput, options?: SB.CallOptions): SB.Call<MeetingType>
}Emits MeetingType.published.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
meetingType | Meeting Type | required | The Meeting Type to publish. |
Returns
| Output | Type | Required | Description |
|---|---|---|---|
meetingType | Meeting Type | required | The Meeting Type, with its booking link in url. |
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |
Example
import { $ } from 'startup-builder'
const meetingType = await $.MeetingType.publish({ meetingType: 'mtgtype_qw2d5yGLVN' })