Skip to content

Meeting Type methods: update, delete

The Meeting Type Verbs update, delete as typed SDK methods, with inputs, result, refusals and an example.

Reference for Meeting Type, one group of Meeting Type methods.

MeetingType.update

Changes the given properties of a Meeting Type. Verb page.

TypeScript
interface MeetingTypeVerbs {
  update(input: MeetingTypeUpdateInput, options?: SB.CallOptions): SB.Call<MeetingType>
}

Emits MeetingType.updated.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Meeting Type.
namestringWhat the booking page calls it, such as Intro call.
durationintegerMinutes each Meeting runs.
mediumstringHow people meet: video, phone or inPerson.
availabilityAvailabilityThe hours it books into.
urlurlThe booking link, served on the Startup’s Domain once published.
questionsstring[]What the booker answers before the time is held.
offerOfferThe Offer a paid booking accepts first, with its deposit and no-show rule.

Returns

OutputTypeRequiredDescription
meetingTypeMeeting TyperequiredThe Meeting Type.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

TypeScript
import { $ } from 'startup-builder'

const meetingType = await $.MeetingType.update({ id: 'mtgtype_qw2d5yGLVN', name: 'Problem interview' })

MeetingType.delete

Deletes a Meeting Type: a soft delete that keeps its history, undone by Thing.restore. Verb page.

TypeScript
interface MeetingTypeVerbs {
  delete(input: MeetingTypeDeleteInput, options?: SB.CallOptions): SB.Call<MeetingType>
}

Emits MeetingType.deleted.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Meeting Type.

Returns

OutputTypeRequiredDescription
meetingTypeMeeting TyperequiredThe Meeting Type.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

TypeScript
import { $ } from 'startup-builder'

const meetingType = await $.MeetingType.delete({ id: 'mtgtype_qw2d5yGLVN' })