/**
 * Role a user takes within a Zoom webinar.
 */
export enum ZoomRole {
  PANELIST = 'Panelist',
  ATTENDEE = 'Attendee',
}

/**
 * Zoom REST resource segments used when adding a user to a webinar.
 */
export enum ZoomUserEndpoint {
  PANELISTS = 'panelists',
  REGISTRANTS = 'registrants',
}

/**
 * Action accepted by Zoom's registrant-status endpoint
 * (`.../registrants/status`). `CANCEL` revokes a registrant's join access
 * without deleting their record; `APPROVE` restores a previously
 * cancelled/denied registrant. Panelists have no status concept in Zoom's
 * API — this only applies to registrants.
 */
export enum ZoomRegistrantStatusAction {
  APPROVE = 'approve',
  CANCEL = 'cancel',
  DENY = 'deny',
}

/**
 * SDK join-token role values expected by the Zoom Meeting/Webinar SDK.
 * 1 = host/panelist, 0 = attendee.
 */
export enum ZoomSdkRole {
  HOST = 1,
  ATTENDEE = 0,
}
