fix naming conventions

This commit is contained in:
shraddha shaligram 2020-06-24 10:47:35 -07:00
parent 5d98f5673f
commit e3cf858ebc
4 changed files with 64 additions and 64 deletions

View file

@ -69,7 +69,7 @@ export const meetingFields = [
description: 'User ID or email address of user.',
},
{
displayName: 'Additional fields',
displayName: 'Additional Fields',
name: 'additionalFields',
type: 'collection',
placeholder: 'Add Field',
@ -101,7 +101,7 @@ export const meetingFields = [
description: 'Alternative hosts email IDs.',
},
{
displayName: 'Auto recording',
displayName: 'Auto Recording',
name: 'auto_recording',
type: 'options',
options: [
@ -179,14 +179,14 @@ export const meetingFields = [
description: 'Allow participants to join the meeting before host starts it.',
},
{
displayName: 'Meeting topic',
displayName: 'Meeting Topic',
name: 'topic',
type: 'string',
default: '',
description: `Meeting topic.`,
},
{
displayName: 'Meeting type',
displayName: 'Meeting Type',
name: 'type',
type: 'options',
options: [
@ -199,11 +199,11 @@ export const meetingFields = [
value: 2,
},
{
name: 'Recurring meeting with no fixed time',
name: 'Recurring Meeting with no fixed time',
value: 3,
},
{
name: 'Recurring meeting with no fixed time',
name: 'Recurring Meeting with fixed time',
value: 8,
},
@ -219,7 +219,7 @@ export const meetingFields = [
description: 'Mute participants upon entry.',
},
{
displayName: 'Participant video',
displayName: 'Participant Video',
name: 'participant_video',
type: 'boolean',
default: false,
@ -233,7 +233,7 @@ export const meetingFields = [
description: 'Password to join the meeting with maximum 10 characters.',
},
{
displayName: 'Registration type',
displayName: 'Registration Type',
name: 'registration_type',
type: 'options',
options: [
@ -254,14 +254,14 @@ export const meetingFields = [
description: 'Registration type. Used for recurring meetings with fixed time only',
},
{
displayName: 'Schedule for',
displayName: 'Schedule For',
name: 'scheduleFor',
type: 'string',
default: '',
description: 'Schedule meeting for someone else from your account, provide their email ID.',
},
{
displayName: 'Start time',
displayName: 'Start Time',
name: 'startTime',
type: 'dateTime',
default: '',
@ -308,7 +308,7 @@ export const meetingFields = [
description: 'Meeting ID.',
},
{
displayName: 'Additional fields',
displayName: 'Additional Fields',
name: 'additionalFields',
type: 'collection',
placeholder: 'Add Field',
@ -404,7 +404,7 @@ export const meetingFields = [
description: 'How many results to return.',
},
{
displayName: 'Additional fields',
displayName: 'Additional Fields',
name: 'additionalFields',
type: 'collection',
placeholder: 'Add Field',
@ -490,7 +490,7 @@ export const meetingFields = [
description: 'Meeting occurrence ID.',
},
{
displayName: 'Schedule a reminder',
displayName: 'Schedule Reminder',
name: 'scheduleForReminder',
type: 'boolean',
default: false,
@ -521,7 +521,7 @@ export const meetingFields = [
description: 'Meeting ID.',
},
{
displayName: 'Additional fields',
displayName: 'Additional Fields',
name: 'additionalFields',
type: 'collection',
placeholder: 'Add Field',
@ -573,16 +573,16 @@ export const meetingFields = [
description: 'Determine how participants can join audio portion of the meeting.',
},
{
displayName: 'Auto recording',
displayName: 'Auto Recording',
name: 'auto_recording',
type: 'options',
options: [
{
name: 'Record on local',
name: 'Record on Local',
value: 'local',
},
{
name: 'Record on cloud',
name: 'Record on Cloud',
value: 'cloud',
},
{
@ -602,7 +602,7 @@ export const meetingFields = [
description: 'Duration.',
},
{
displayName: 'Join before Host',
displayName: 'Join Before Host',
name: 'join_before_host',
type: 'boolean',
default: false,
@ -637,14 +637,14 @@ export const meetingFields = [
description: 'Occurrence ID.',
},
{
displayName: 'Meeting topic',
displayName: 'Meeting Topic',
name: 'topic',
type: 'string',
default: '',
description: `Meeting topic.`,
},
{
displayName: 'Meeting type',
displayName: 'Meeting Type',
name: 'type',
type: 'options',
options: [
@ -657,11 +657,11 @@ export const meetingFields = [
value: 2,
},
{
name: 'Recurring meeting with no fixed time',
name: 'Recurring Meeting with no fixed time',
value: 3,
},
{
name: 'Recurring meeting with no fixed time',
name: 'Recurring Meeting with fixed time',
value: 8,
},
@ -670,7 +670,7 @@ export const meetingFields = [
description: 'Meeting type.',
},
{
displayName: 'Muting before entry',
displayName: 'Muting Before Entry',
name: 'mute_upon_entry',
type: 'boolean',
default: false,
@ -691,7 +691,7 @@ export const meetingFields = [
description: 'Start video when participant joins the meeting.',
},
{
displayName: 'Registration type',
displayName: 'Registration Type',
name: 'registration_type',
type: 'options',
options: [
@ -712,14 +712,14 @@ export const meetingFields = [
description: 'Registration type. Used for recurring meetings with fixed time only',
},
{
displayName: 'Schedule for',
displayName: 'Schedule For',
name: 'scheduleFor',
type: 'string',
default: '',
description: 'Schedule meeting for someone else from your account, provide their email ID.',
},
{
displayName: 'Start time',
displayName: 'Start Time',
name: 'startTime',
type: 'dateTime',
default: '',

View file

@ -22,12 +22,12 @@ export const meetingRegistrantOperations = [
{
name: 'Update',
value: 'update',
description: 'Update Meeting Registrant status',
description: 'Update Meeting Registrant Status',
},
{
name: 'Get All',
value: 'getAll',
description: 'Retrieve all meeting registrants',
description: 'Retrieve all Meeting Registrants',
},
],
@ -77,7 +77,7 @@ export const meetingRegistrantFields = [
description: 'Valid email-id of registrant.',
},
{
displayName: 'First name',
displayName: 'First Name',
name: 'firstName',
required: true,
type: 'string',
@ -95,7 +95,7 @@ export const meetingRegistrantFields = [
description: 'First Name.',
},
{
displayName: 'Additional fields',
displayName: 'Additional Fields',
name: 'additionalFields',
type: 'collection',
placeholder: 'Add Field',
@ -141,7 +141,7 @@ export const meetingRegistrantFields = [
description: 'Valid country of registrant.',
},
{
displayName: 'Job title',
displayName: 'Job Title',
name: 'job_title',
type: 'string',
default: '',
@ -176,7 +176,7 @@ export const meetingRegistrantFields = [
description: 'Valid phone number of registrant.',
},
{
displayName: 'Purchasing time frame',
displayName: 'Purchasing Time Frame',
name: 'purchasing_time_frame',
type: 'options',
options: [
@ -205,7 +205,7 @@ export const meetingRegistrantFields = [
description: 'Meeting type.',
},
{
displayName: 'Role in purchase process',
displayName: 'Role in Purchase Process',
name: 'role_in_purchase_process',
type: 'options',
options: [
@ -238,7 +238,7 @@ export const meetingRegistrantFields = [
description: 'Valid state of registrant.',
},
{
displayName: 'Zip code',
displayName: 'Zip Code',
name: 'zip',
type: 'string',
default: '',
@ -310,7 +310,7 @@ export const meetingRegistrantFields = [
description: 'How many results to return.',
},
{
displayName: 'Additional fields',
displayName: 'Additional Fields',
name: 'additionalFields',
type: 'collection',
placeholder: 'Add Field',
@ -412,7 +412,7 @@ export const meetingRegistrantFields = [
description: `Registrant Status.`,
},
{
displayName: 'Additional fields',
displayName: 'Additional Fields',
name: 'additionalFields',
type: 'collection',
placeholder: 'Add Field',

View file

@ -69,7 +69,7 @@ export const webinarFields = [
description: 'User ID or email address of user.',
},
{
displayName: 'Additional fields',
displayName: 'Additional Fields',
name: 'additionalFields',
type: 'collection',
placeholder: 'Add Field',
@ -101,20 +101,20 @@ export const webinarFields = [
description: 'Alternative hosts email IDs.',
},
{
displayName: 'Approval type',
displayName: 'Approval Type',
name: 'approval_type',
type: 'options',
options: [
{
name: 'Automatically approve',
name: 'Automatically Approve',
value: 0,
},
{
name: 'Manually approve',
name: 'Manually Approve',
value: 1,
},
{
name: 'No registration required',
name: 'No Registration Required',
value: 2,
},
],
@ -144,16 +144,16 @@ export const webinarFields = [
description: 'Determine how participants can join audio portion of the webinar.',
},
{
displayName: 'Auto recording',
displayName: 'Auto Recording',
name: 'auto_recording',
type: 'options',
options: [
{
name: 'Record on local',
name: 'Record on Local',
value: 'local',
},
{
name: 'Record on cloud',
name: 'Record on Cloud',
value: 'cloud',
},
{
@ -200,7 +200,7 @@ export const webinarFields = [
description: 'Enable Practice session.',
},
{
displayName: 'Registration type',
displayName: 'Registration Type',
name: 'registration_type',
type: 'options',
options: [
@ -221,7 +221,7 @@ export const webinarFields = [
description: 'Registration type. Used for recurring webinar with fixed time only',
},
{
displayName: 'Start time',
displayName: 'Start Time',
name: 'startTime',
type: 'dateTime',
default: '',
@ -238,14 +238,14 @@ export const webinarFields = [
description: `Time zone used in the response. The default is the time zone of the calendar.`,
},
{
displayName: 'Webinar topic',
displayName: 'Webinar Topic',
name: 'topic',
type: 'string',
default: '',
description: `Webinar topic.`,
},
{
displayName: 'Webinar type',
displayName: 'Webinar Type',
name: 'type',
type: 'options',
options: [
@ -258,7 +258,7 @@ export const webinarFields = [
value: 6,
},
{
name: 'Recurring webinar with fixed time',
name: 'Recurring webinar with fixed time',
value: 9,
},
],
@ -290,7 +290,7 @@ export const webinarFields = [
description: 'Webinar ID.',
},
{
displayName: 'Additional fields',
displayName: 'Additional Fields',
name: 'additionalFields',
type: 'collection',
placeholder: 'Add Field',
@ -456,7 +456,7 @@ export const webinarFields = [
description: 'User ID or email address of user.',
},
{
displayName: 'Additional fields',
displayName: 'Additional Fields',
name: 'additionalFields',
type: 'collection',
placeholder: 'Add Field',
@ -488,20 +488,20 @@ export const webinarFields = [
description: 'Alternative hosts email IDs.',
},
{
displayName: 'Approval type',
displayName: 'Approval Type',
name: 'approval_type',
type: 'options',
options: [
{
name: 'Automatically approve',
name: 'Automatically Approve',
value: 0,
},
{
name: 'Manually approve',
name: 'Manually Approve',
value: 1,
},
{
name: 'No registration required',
name: 'No Registration Required',
value: 2,
},
],
@ -509,16 +509,16 @@ export const webinarFields = [
description: 'Approval type.',
},
{
displayName: 'Auto recording',
displayName: 'Auto Recording',
name: 'auto_recording',
type: 'options',
options: [
{
name: 'Record on local',
name: 'Record on Local',
value: 'local',
},
{
name: 'Record on cloud',
name: 'Record on Cloud',
value: 'cloud',
},
{
@ -594,7 +594,7 @@ export const webinarFields = [
description: 'Enable Practice session.',
},
{
displayName: 'Registration type',
displayName: 'Registration Type',
name: 'registration_type',
type: 'options',
options: [
@ -615,7 +615,7 @@ export const webinarFields = [
description: 'Registration type. Used for recurring webinars with fixed time only.',
},
{
displayName: 'Start time',
displayName: 'Start Time',
name: 'startTime',
type: 'dateTime',
default: '',
@ -632,14 +632,14 @@ export const webinarFields = [
description: `Time zone used in the response. The default is the time zone of the calendar.`,
},
{
displayName: 'Webinar topic',
displayName: 'Webinar Topic',
name: 'topic',
type: 'string',
default: '',
description: `Webinar topic.`,
},
{
displayName: 'Webinar type',
displayName: 'Webinar Type',
name: 'type',
type: 'options',
options: [
@ -652,7 +652,7 @@ export const webinarFields = [
value: 6,
},
{
name: 'Recurring webinar with fixed time',
name: 'Recurring webinar with fixed time',
value: 9,
},
],

View file

@ -483,7 +483,7 @@ export class Zoom implements INodeType {
}
}
if (resource === 'meetingRegistrant') {
if (resource === 'meetingRegistrants') {
if (operation === 'create') {
//https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrantcreate
const meetingId = this.getNodeParameter('meetingId', i) as string;