2020-06-22 11:51:15 -07:00
|
|
|
import {
|
|
|
|
INodeProperties,
|
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
2021-12-03 00:44:16 -08:00
|
|
|
export const meetingOperations: INodeProperties[] = [
|
2020-06-22 11:51:15 -07:00
|
|
|
{
|
|
|
|
displayName: 'Operation',
|
|
|
|
name: 'operation',
|
|
|
|
type: 'options',
|
2022-05-20 14:47:24 -07:00
|
|
|
noDataExpression: true,
|
2020-06-22 11:51:15 -07:00
|
|
|
displayOptions: {
|
|
|
|
show: {
|
|
|
|
resource: [
|
|
|
|
'meeting',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
options: [
|
|
|
|
{
|
|
|
|
name: 'Create',
|
|
|
|
value: 'create',
|
|
|
|
description: 'Create a meeting',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Delete',
|
|
|
|
value: 'delete',
|
|
|
|
description: 'Delete a meeting',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Get',
|
|
|
|
value: 'get',
|
|
|
|
description: 'Retrieve a meeting',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Get All',
|
|
|
|
value: 'getAll',
|
|
|
|
description: 'Retrieve all meetings',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Update',
|
|
|
|
value: 'update',
|
|
|
|
description: 'Update a meeting',
|
2020-06-23 20:29:47 -07:00
|
|
|
},
|
2020-06-22 11:51:15 -07:00
|
|
|
],
|
|
|
|
default: 'create',
|
2020-06-24 16:28:08 -07:00
|
|
|
},
|
2021-12-03 00:44:16 -08:00
|
|
|
];
|
2020-06-22 11:51:15 -07:00
|
|
|
|
2021-12-03 00:44:16 -08:00
|
|
|
export const meetingFields: INodeProperties[] = [
|
2020-06-22 11:51:15 -07:00
|
|
|
/* -------------------------------------------------------------------------- */
|
2020-06-24 16:28:08 -07:00
|
|
|
/* meeting:create */
|
2020-06-22 11:51:15 -07:00
|
|
|
/* -------------------------------------------------------------------------- */
|
2020-07-06 06:05:05 -07:00
|
|
|
{
|
|
|
|
displayName: 'Topic',
|
|
|
|
name: 'topic',
|
|
|
|
type: 'string',
|
|
|
|
typeOptions: {
|
|
|
|
alwaysOpenEditWindow: true,
|
|
|
|
},
|
|
|
|
default: '',
|
|
|
|
displayOptions: {
|
|
|
|
show: {
|
|
|
|
operation: [
|
|
|
|
'create',
|
|
|
|
|
|
|
|
],
|
|
|
|
resource: [
|
|
|
|
'meeting',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Topic of the meeting',
|
2020-07-06 06:05:05 -07:00
|
|
|
},
|
2020-06-22 11:51:15 -07:00
|
|
|
{
|
2020-06-24 10:47:35 -07:00
|
|
|
displayName: 'Additional Fields',
|
2020-06-22 11:51:15 -07:00
|
|
|
name: 'additionalFields',
|
|
|
|
type: 'collection',
|
|
|
|
placeholder: 'Add Field',
|
|
|
|
default: {},
|
|
|
|
displayOptions: {
|
|
|
|
show: {
|
|
|
|
operation: [
|
|
|
|
'create',
|
|
|
|
|
|
|
|
],
|
|
|
|
resource: [
|
|
|
|
'meeting',
|
|
|
|
],
|
2020-06-23 20:29:47 -07:00
|
|
|
},
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
options: [
|
|
|
|
{
|
2020-06-23 12:14:04 -07:00
|
|
|
displayName: 'Agenda',
|
|
|
|
name: 'agenda',
|
2020-06-22 11:51:15 -07:00
|
|
|
type: 'string',
|
2020-06-24 16:28:08 -07:00
|
|
|
typeOptions: {
|
|
|
|
alwaysOpenEditWindow: true,
|
|
|
|
},
|
2020-06-22 11:51:15 -07:00
|
|
|
default: '',
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Meeting agenda',
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Duration',
|
|
|
|
name: 'duration',
|
|
|
|
type: 'number',
|
2020-06-24 16:28:08 -07:00
|
|
|
typeOptions: {
|
|
|
|
minValue: 0,
|
|
|
|
},
|
|
|
|
default: 0,
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Meeting duration (minutes)',
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
2020-06-23 12:14:04 -07:00
|
|
|
{
|
|
|
|
displayName: 'Password',
|
|
|
|
name: 'password',
|
|
|
|
type: 'string',
|
|
|
|
default: '',
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Password to join the meeting with maximum 10 characters',
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
{
|
2020-06-24 16:28:08 -07:00
|
|
|
displayName: 'Schedule For',
|
|
|
|
name: 'scheduleFor',
|
|
|
|
type: 'string',
|
|
|
|
default: '',
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Schedule meeting for someone else from your account, provide their email ID',
|
2020-06-24 16:28:08 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Settings',
|
|
|
|
name: 'settings',
|
|
|
|
type: 'collection',
|
|
|
|
placeholder: 'Add Setting',
|
|
|
|
default: {},
|
2020-06-22 11:51:15 -07:00
|
|
|
options: [
|
|
|
|
{
|
2020-06-24 16:28:08 -07:00
|
|
|
displayName: 'Audio',
|
|
|
|
name: 'audio',
|
|
|
|
type: 'options',
|
|
|
|
options: [
|
|
|
|
{
|
|
|
|
name: 'Both Telephony and VoiP',
|
|
|
|
value: 'both',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Telephony',
|
|
|
|
value: 'telephony',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'VOIP',
|
|
|
|
value: 'voip',
|
|
|
|
},
|
|
|
|
|
|
|
|
],
|
|
|
|
default: 'both',
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Determine how participants can join audio portion of the meeting',
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
{
|
2020-06-24 16:28:08 -07:00
|
|
|
displayName: 'Alternative Hosts',
|
|
|
|
name: 'alternativeHosts',
|
|
|
|
type: 'string',
|
|
|
|
default: '',
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Alternative hosts email IDs',
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
{
|
2020-06-24 16:28:08 -07:00
|
|
|
displayName: 'Auto Recording',
|
|
|
|
name: 'autoRecording',
|
|
|
|
type: 'options',
|
|
|
|
options: [
|
|
|
|
{
|
|
|
|
name: 'Record on Local',
|
|
|
|
value: 'local',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Record on Cloud',
|
|
|
|
value: 'cloud',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Disabled',
|
|
|
|
value: 'none',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
default: 'none',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Host Meeting in China',
|
|
|
|
name: 'cnMeeting',
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Host Meeting in India',
|
|
|
|
name: 'inMeeting',
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Host Video',
|
|
|
|
name: 'hostVideo',
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Start video when host joins the meeting',
|
2020-06-24 16:28:08 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Join Before Host',
|
|
|
|
name: 'joinBeforeHost',
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Allow participants to join the meeting before host starts it',
|
2020-06-24 16:28:08 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Muting Upon Entry',
|
|
|
|
name: 'muteUponEntry',
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Mute participants upon entry',
|
2020-06-24 16:28:08 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Participant Video',
|
|
|
|
name: 'participantVideo',
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Start video when participant joins the meeting',
|
2020-06-24 16:28:08 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Registration Type',
|
|
|
|
name: 'registrationType',
|
|
|
|
type: 'options',
|
|
|
|
options: [
|
|
|
|
{
|
2020-08-04 02:35:28 -07:00
|
|
|
name: 'Attendees register once and can attend any of the occurrences',
|
2020-06-24 16:28:08 -07:00
|
|
|
value: 1,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Attendees need to register for every occurrence',
|
|
|
|
value: 2,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Attendees register once and can choose one or more occurrences to attend',
|
|
|
|
value: 3,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
default: 1,
|
2022-04-22 09:29:51 -07:00
|
|
|
description: 'Registration type. Used for recurring meetings with fixed time only.',
|
2020-06-24 16:28:08 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Watermark',
|
|
|
|
name: 'watermark',
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Adds watermark when viewing a shared screen',
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
],
|
2020-06-23 12:14:04 -07:00
|
|
|
},
|
|
|
|
{
|
2020-06-24 10:47:35 -07:00
|
|
|
displayName: 'Start Time',
|
2020-06-23 12:14:04 -07:00
|
|
|
name: 'startTime',
|
|
|
|
type: 'dateTime',
|
|
|
|
default: '',
|
|
|
|
description: 'Start time should be used only for scheduled or recurring meetings with fixed time',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Timezone',
|
|
|
|
name: 'timeZone',
|
|
|
|
type: 'options',
|
|
|
|
typeOptions: {
|
|
|
|
loadOptionsMethod: 'getTimezones',
|
|
|
|
},
|
|
|
|
default: '',
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Time zone used in the response. The default is the time zone of the calendar.',
|
2020-06-23 12:14:04 -07:00
|
|
|
},
|
2020-07-06 06:05:05 -07:00
|
|
|
{
|
|
|
|
displayName: 'Type',
|
|
|
|
name: 'type',
|
|
|
|
type: 'options',
|
|
|
|
options: [
|
|
|
|
{
|
|
|
|
name: 'Instant Meeting',
|
|
|
|
value: 1,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Scheduled Meeting',
|
|
|
|
value: 2,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Recurring Meeting with no fixed time',
|
|
|
|
value: 3,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Recurring Meeting with fixed time',
|
|
|
|
value: 8,
|
|
|
|
},
|
|
|
|
|
|
|
|
],
|
|
|
|
default: 2,
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Meeting type',
|
2020-07-06 06:05:05 -07:00
|
|
|
},
|
2020-06-22 11:51:15 -07:00
|
|
|
],
|
|
|
|
},
|
|
|
|
/* -------------------------------------------------------------------------- */
|
|
|
|
/* meeting:get */
|
|
|
|
/* -------------------------------------------------------------------------- */
|
|
|
|
{
|
2020-07-06 06:05:05 -07:00
|
|
|
displayName: 'ID',
|
2020-06-22 18:39:21 -07:00
|
|
|
name: 'meetingId',
|
2020-06-22 11:51:15 -07:00
|
|
|
type: 'string',
|
|
|
|
default: '',
|
|
|
|
required: true,
|
|
|
|
displayOptions: {
|
|
|
|
show: {
|
|
|
|
operation: [
|
|
|
|
'get',
|
|
|
|
],
|
|
|
|
resource: [
|
|
|
|
'meeting',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Meeting ID',
|
2020-06-22 18:39:21 -07:00
|
|
|
},
|
|
|
|
{
|
2020-06-24 10:47:35 -07:00
|
|
|
displayName: 'Additional Fields',
|
2020-06-22 18:39:21 -07:00
|
|
|
name: 'additionalFields',
|
|
|
|
type: 'collection',
|
|
|
|
placeholder: 'Add Field',
|
|
|
|
default: {},
|
|
|
|
displayOptions: {
|
|
|
|
show: {
|
|
|
|
operation: [
|
|
|
|
'get',
|
|
|
|
|
|
|
|
],
|
|
|
|
resource: [
|
|
|
|
'meeting',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
options: [
|
|
|
|
{
|
2020-06-23 13:40:43 -07:00
|
|
|
displayName: 'Occurrence ID',
|
|
|
|
name: 'occurrenceId',
|
2020-06-22 18:39:21 -07:00
|
|
|
type: 'string',
|
|
|
|
default: '',
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'To view meeting details of a particular occurrence of the recurring meeting',
|
2020-06-22 18:39:21 -07:00
|
|
|
},
|
|
|
|
{
|
2020-06-23 13:40:43 -07:00
|
|
|
displayName: 'Show Previous Occurrences',
|
|
|
|
name: 'showPreviousOccurrences',
|
2020-06-22 18:39:21 -07:00
|
|
|
type: 'boolean',
|
2022-04-22 09:29:51 -07:00
|
|
|
default: false,
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'To view meeting details of all previous occurrences of the recurring meeting',
|
2020-06-22 18:39:21 -07:00
|
|
|
},
|
|
|
|
],
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
/* -------------------------------------------------------------------------- */
|
2020-06-24 16:28:08 -07:00
|
|
|
/* meeting:getAll */
|
2020-06-22 11:51:15 -07:00
|
|
|
/* -------------------------------------------------------------------------- */
|
|
|
|
{
|
|
|
|
displayName: 'Return All',
|
|
|
|
name: 'returnAll',
|
|
|
|
type: 'boolean',
|
|
|
|
displayOptions: {
|
|
|
|
show: {
|
|
|
|
operation: [
|
|
|
|
'getAll',
|
|
|
|
],
|
|
|
|
resource: [
|
|
|
|
'meeting',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
default: false,
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Whether to return all results or only up to a given limit',
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Limit',
|
|
|
|
name: 'limit',
|
|
|
|
type: 'number',
|
|
|
|
displayOptions: {
|
|
|
|
show: {
|
|
|
|
operation: [
|
|
|
|
'getAll',
|
|
|
|
],
|
|
|
|
resource: [
|
|
|
|
'meeting',
|
|
|
|
],
|
|
|
|
returnAll: [
|
|
|
|
false,
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
typeOptions: {
|
|
|
|
minValue: 1,
|
2020-06-23 20:29:47 -07:00
|
|
|
maxValue: 300,
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
default: 30,
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Max number of results to return',
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
{
|
2020-06-24 16:28:08 -07:00
|
|
|
displayName: 'Filters',
|
|
|
|
name: 'filters',
|
2020-06-22 11:51:15 -07:00
|
|
|
type: 'collection',
|
2020-06-24 16:28:08 -07:00
|
|
|
placeholder: 'Add Filter',
|
2020-06-22 11:51:15 -07:00
|
|
|
default: {},
|
|
|
|
displayOptions: {
|
|
|
|
show: {
|
|
|
|
operation: [
|
|
|
|
'getAll',
|
|
|
|
|
|
|
|
],
|
|
|
|
resource: [
|
|
|
|
'meeting',
|
|
|
|
],
|
2020-06-22 18:39:21 -07:00
|
|
|
},
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
options: [
|
|
|
|
{
|
|
|
|
displayName: 'Type',
|
|
|
|
name: 'type',
|
|
|
|
type: 'options',
|
|
|
|
options: [
|
|
|
|
{
|
|
|
|
name: 'Scheduled',
|
|
|
|
value: 'scheduled',
|
2020-10-22 06:46:03 -07:00
|
|
|
description: 'This includes all valid past meetings, live meetings and upcoming scheduled meetings',
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Live',
|
|
|
|
value: 'live',
|
2020-06-24 16:28:08 -07:00
|
|
|
description: 'All ongoing meetings',
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Upcoming',
|
|
|
|
value: 'upcoming',
|
2020-06-24 16:28:08 -07:00
|
|
|
description: 'All upcoming meetings including live meetings',
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
],
|
|
|
|
default: 'live',
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Meeting type',
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
2020-06-24 16:28:08 -07:00
|
|
|
],
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
/* -------------------------------------------------------------------------- */
|
2020-06-24 16:28:08 -07:00
|
|
|
/* meeting:delete */
|
2020-06-22 11:51:15 -07:00
|
|
|
/* -------------------------------------------------------------------------- */
|
|
|
|
{
|
2020-07-06 06:05:05 -07:00
|
|
|
displayName: 'ID',
|
2020-06-22 11:51:15 -07:00
|
|
|
name: 'meetingId',
|
|
|
|
type: 'string',
|
|
|
|
default: '',
|
|
|
|
required: true,
|
|
|
|
displayOptions: {
|
|
|
|
show: {
|
|
|
|
operation: [
|
2020-06-23 20:29:47 -07:00
|
|
|
'delete',
|
2020-06-22 11:51:15 -07:00
|
|
|
],
|
|
|
|
resource: [
|
|
|
|
'meeting',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Meeting ID',
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Additional Fields',
|
|
|
|
name: 'additionalFields',
|
|
|
|
type: 'collection',
|
|
|
|
placeholder: 'Add Field',
|
|
|
|
default: {},
|
|
|
|
displayOptions: {
|
|
|
|
show: {
|
|
|
|
operation: [
|
|
|
|
'delete',
|
|
|
|
],
|
|
|
|
resource: [
|
|
|
|
'meeting',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
options: [
|
|
|
|
{
|
2020-08-04 02:35:28 -07:00
|
|
|
displayName: 'Occurrence ID',
|
2020-06-23 13:40:43 -07:00
|
|
|
name: 'occurrenceId',
|
2020-06-22 11:51:15 -07:00
|
|
|
type: 'string',
|
|
|
|
default: '',
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Meeting occurrence ID',
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
{
|
2020-06-24 10:47:35 -07:00
|
|
|
displayName: 'Schedule Reminder',
|
2020-06-22 11:51:15 -07:00
|
|
|
name: 'scheduleForReminder',
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
2020-06-22 18:39:21 -07:00
|
|
|
description: 'Notify hosts and alternative hosts about meeting cancellation via email',
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
],
|
|
|
|
|
|
|
|
},
|
|
|
|
/* -------------------------------------------------------------------------- */
|
2020-06-24 16:28:08 -07:00
|
|
|
/* meeting:update */
|
2020-06-22 11:51:15 -07:00
|
|
|
/* -------------------------------------------------------------------------- */
|
|
|
|
{
|
2020-07-06 06:05:05 -07:00
|
|
|
displayName: 'ID',
|
2020-06-22 11:51:15 -07:00
|
|
|
name: 'meetingId',
|
|
|
|
type: 'string',
|
|
|
|
default: '',
|
|
|
|
required: true,
|
|
|
|
displayOptions: {
|
|
|
|
show: {
|
|
|
|
operation: [
|
|
|
|
'update',
|
|
|
|
],
|
|
|
|
resource: [
|
|
|
|
'meeting',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Meeting ID',
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
{
|
2020-06-24 16:28:08 -07:00
|
|
|
displayName: 'Update Fields',
|
|
|
|
name: 'updateFields',
|
2020-06-22 11:51:15 -07:00
|
|
|
type: 'collection',
|
|
|
|
placeholder: 'Add Field',
|
|
|
|
default: {},
|
|
|
|
displayOptions: {
|
|
|
|
show: {
|
|
|
|
operation: [
|
|
|
|
'update',
|
|
|
|
],
|
|
|
|
resource: [
|
|
|
|
'meeting',
|
|
|
|
],
|
2020-06-22 18:39:21 -07:00
|
|
|
},
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
options: [
|
2020-06-22 18:39:21 -07:00
|
|
|
{
|
2020-06-23 12:14:04 -07:00
|
|
|
displayName: 'Agenda',
|
|
|
|
name: 'agenda',
|
2020-06-22 18:39:21 -07:00
|
|
|
type: 'string',
|
2020-06-24 16:28:08 -07:00
|
|
|
typeOptions: {
|
|
|
|
alwaysOpenEditWindow: true,
|
|
|
|
},
|
2020-06-22 18:39:21 -07:00
|
|
|
default: '',
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Meeting agenda',
|
2020-06-22 18:39:21 -07:00
|
|
|
},
|
2020-06-22 11:51:15 -07:00
|
|
|
{
|
|
|
|
displayName: 'Duration',
|
|
|
|
name: 'duration',
|
|
|
|
type: 'number',
|
2020-06-24 16:28:08 -07:00
|
|
|
typeOptions: {
|
|
|
|
minValue: 0,
|
|
|
|
},
|
|
|
|
default: 0,
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Meeting duration (minutes)',
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
2020-06-23 12:14:04 -07:00
|
|
|
{
|
|
|
|
displayName: 'Password',
|
|
|
|
name: 'password',
|
|
|
|
type: 'string',
|
|
|
|
default: '',
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Password to join the meeting with maximum 10 characters',
|
2020-06-23 12:14:04 -07:00
|
|
|
},
|
|
|
|
{
|
2020-06-24 16:28:08 -07:00
|
|
|
displayName: 'Schedule For',
|
|
|
|
name: 'scheduleFor',
|
|
|
|
type: 'string',
|
|
|
|
default: '',
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Schedule meeting for someone else from your account, provide their email ID',
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
{
|
2020-06-24 16:28:08 -07:00
|
|
|
displayName: 'Settings',
|
|
|
|
name: 'settings',
|
|
|
|
type: 'collection',
|
|
|
|
placeholder: 'Add Setting',
|
|
|
|
default: {},
|
2020-06-22 11:51:15 -07:00
|
|
|
options: [
|
|
|
|
{
|
2020-06-24 16:28:08 -07:00
|
|
|
displayName: 'Audio',
|
|
|
|
name: 'audio',
|
|
|
|
type: 'options',
|
|
|
|
options: [
|
|
|
|
{
|
|
|
|
name: 'Both Telephony and VoiP',
|
|
|
|
value: 'both',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Telephony',
|
|
|
|
value: 'telephony',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'VOIP',
|
|
|
|
value: 'voip',
|
|
|
|
},
|
|
|
|
|
|
|
|
],
|
|
|
|
default: 'both',
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Determine how participants can join audio portion of the meeting',
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
{
|
2020-06-24 16:28:08 -07:00
|
|
|
displayName: 'Alternative Hosts',
|
|
|
|
name: 'alternativeHosts',
|
|
|
|
type: 'string',
|
|
|
|
default: '',
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Alternative hosts email IDs',
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
{
|
2020-06-24 16:28:08 -07:00
|
|
|
displayName: 'Auto Recording',
|
|
|
|
name: 'autoRecording',
|
|
|
|
type: 'options',
|
|
|
|
options: [
|
|
|
|
{
|
|
|
|
name: 'Record on Local',
|
|
|
|
value: 'local',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Record on Cloud',
|
|
|
|
value: 'cloud',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Disabled',
|
|
|
|
value: 'none',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
default: 'none',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Host Meeting in China',
|
|
|
|
name: 'cnMeeting',
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Host Meeting in India',
|
|
|
|
name: 'inMeeting',
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Host Video',
|
|
|
|
name: 'hostVideo',
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Start video when host joins the meeting',
|
2020-06-24 16:28:08 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Join Before Host',
|
|
|
|
name: 'joinBeforeHost',
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Allow participants to join the meeting before host starts it',
|
2020-06-24 16:28:08 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Muting Upon Entry',
|
|
|
|
name: 'muteUponEntry',
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Mute participants upon entry',
|
2020-06-24 16:28:08 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Participant Video',
|
|
|
|
name: 'participantVideo',
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Start video when participant joins the meeting',
|
2020-06-24 16:28:08 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Registration Type',
|
|
|
|
name: 'registrationType',
|
|
|
|
type: 'options',
|
|
|
|
options: [
|
|
|
|
{
|
2020-08-04 02:35:28 -07:00
|
|
|
name: 'Attendees register once and can attend any of the occurrences',
|
2020-06-24 16:28:08 -07:00
|
|
|
value: 1,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Attendees need to register for every occurrence',
|
|
|
|
value: 2,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Attendees register once and can choose one or more occurrences to attend',
|
|
|
|
value: 3,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
default: 1,
|
2022-04-22 09:29:51 -07:00
|
|
|
description: 'Registration type. Used for recurring meetings with fixed time only.',
|
2020-06-24 16:28:08 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Watermark',
|
|
|
|
name: 'watermark',
|
|
|
|
type: 'boolean',
|
|
|
|
default: false,
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Adds watermark when viewing a shared screen',
|
2020-06-22 11:51:15 -07:00
|
|
|
},
|
|
|
|
],
|
2020-06-23 12:14:04 -07:00
|
|
|
},
|
|
|
|
{
|
2020-06-24 10:47:35 -07:00
|
|
|
displayName: 'Start Time',
|
2020-06-23 12:14:04 -07:00
|
|
|
name: 'startTime',
|
|
|
|
type: 'dateTime',
|
|
|
|
default: '',
|
|
|
|
description: 'Start time should be used only for scheduled or recurring meetings with fixed time',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Timezone',
|
|
|
|
name: 'timeZone',
|
|
|
|
type: 'options',
|
|
|
|
typeOptions: {
|
|
|
|
loadOptionsMethod: 'getTimezones',
|
|
|
|
},
|
|
|
|
default: '',
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Time zone used in the response. The default is the time zone of the calendar.',
|
2020-06-23 12:14:04 -07:00
|
|
|
},
|
2020-07-06 06:05:05 -07:00
|
|
|
{
|
|
|
|
displayName: 'Topic',
|
|
|
|
name: 'topic',
|
|
|
|
type: 'string',
|
|
|
|
default: '',
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Meeting topic',
|
2020-07-06 06:05:05 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Type',
|
|
|
|
name: 'type',
|
|
|
|
type: 'options',
|
|
|
|
options: [
|
|
|
|
{
|
|
|
|
name: 'Instant Meeting',
|
|
|
|
value: 1,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Scheduled Meeting',
|
|
|
|
value: 2,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Recurring Meeting with no fixed time',
|
|
|
|
value: 3,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Recurring Meeting with fixed time',
|
|
|
|
value: 8,
|
|
|
|
},
|
|
|
|
|
|
|
|
],
|
|
|
|
default: 2,
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Meeting type',
|
2020-07-06 06:05:05 -07:00
|
|
|
},
|
2020-06-22 11:51:15 -07:00
|
|
|
],
|
|
|
|
},
|
2021-12-03 00:44:16 -08:00
|
|
|
];
|