mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
docs: Stop assuming the user's gender in code comments (no-changelog) (#6015)
This commit is contained in:
committed by
GitHub
parent
9817a15da4
commit
c87262a312
@@ -23,7 +23,7 @@ export = {
|
|||||||
const sharedWorkflowsIds = await getSharedWorkflowIds(req.user);
|
const sharedWorkflowsIds = await getSharedWorkflowIds(req.user);
|
||||||
|
|
||||||
// user does not have workflows hence no executions
|
// user does not have workflows hence no executions
|
||||||
// or the execution he is trying to access belongs to a workflow he does not own
|
// or the execution they are trying to access belongs to a workflow they do not own
|
||||||
if (!sharedWorkflowsIds.length) {
|
if (!sharedWorkflowsIds.length) {
|
||||||
return res.status(404).json({ message: 'Not Found' });
|
return res.status(404).json({ message: 'Not Found' });
|
||||||
}
|
}
|
||||||
@@ -52,7 +52,7 @@ export = {
|
|||||||
const sharedWorkflowsIds = await getSharedWorkflowIds(req.user);
|
const sharedWorkflowsIds = await getSharedWorkflowIds(req.user);
|
||||||
|
|
||||||
// user does not have workflows hence no executions
|
// user does not have workflows hence no executions
|
||||||
// or the execution he is trying to access belongs to a workflow he does not own
|
// or the execution they are trying to access belongs to a workflow they do not own
|
||||||
if (!sharedWorkflowsIds.length) {
|
if (!sharedWorkflowsIds.length) {
|
||||||
return res.status(404).json({ message: 'Not Found' });
|
return res.status(404).json({ message: 'Not Found' });
|
||||||
}
|
}
|
||||||
@@ -90,7 +90,7 @@ export = {
|
|||||||
const sharedWorkflowsIds = await getSharedWorkflowIds(req.user);
|
const sharedWorkflowsIds = await getSharedWorkflowIds(req.user);
|
||||||
|
|
||||||
// user does not have workflows hence no executions
|
// user does not have workflows hence no executions
|
||||||
// or the execution he is trying to access belongs to a workflow he does not own
|
// or the execution they are trying to access belongs to a workflow they do not own
|
||||||
if (!sharedWorkflowsIds.length || (workflowId && !sharedWorkflowsIds.includes(workflowId))) {
|
if (!sharedWorkflowsIds.length || (workflowId && !sharedWorkflowsIds.includes(workflowId))) {
|
||||||
return res.status(200).json({ data: [], nextCursor: null });
|
return res.status(200).json({ data: [], nextCursor: null });
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ export = {
|
|||||||
|
|
||||||
const workflow = await WorkflowsService.delete(req.user, workflowId);
|
const workflow = await WorkflowsService.delete(req.user, workflowId);
|
||||||
if (!workflow) {
|
if (!workflow) {
|
||||||
// user trying to access a workflow he does not own
|
// user trying to access a workflow they do not own
|
||||||
// or workflow does not exist
|
// or workflow does not exist
|
||||||
return res.status(404).json({ message: 'Not Found' });
|
return res.status(404).json({ message: 'Not Found' });
|
||||||
}
|
}
|
||||||
@@ -78,7 +78,7 @@ export = {
|
|||||||
const sharedWorkflow = await getSharedWorkflow(req.user, id);
|
const sharedWorkflow = await getSharedWorkflow(req.user, id);
|
||||||
|
|
||||||
if (!sharedWorkflow) {
|
if (!sharedWorkflow) {
|
||||||
// user trying to access a workflow he does not own
|
// user trying to access a workflow they do not own
|
||||||
// or workflow does not exist
|
// or workflow does not exist
|
||||||
return res.status(404).json({ message: 'Not Found' });
|
return res.status(404).json({ message: 'Not Found' });
|
||||||
}
|
}
|
||||||
@@ -158,7 +158,7 @@ export = {
|
|||||||
const sharedWorkflow = await getSharedWorkflow(req.user, id);
|
const sharedWorkflow = await getSharedWorkflow(req.user, id);
|
||||||
|
|
||||||
if (!sharedWorkflow) {
|
if (!sharedWorkflow) {
|
||||||
// user trying to access a workflow he does not own
|
// user trying to access a workflow they do not own
|
||||||
// or workflow does not exist
|
// or workflow does not exist
|
||||||
return res.status(404).json({ message: 'Not Found' });
|
return res.status(404).json({ message: 'Not Found' });
|
||||||
}
|
}
|
||||||
@@ -212,7 +212,7 @@ export = {
|
|||||||
const sharedWorkflow = await getSharedWorkflow(req.user, id);
|
const sharedWorkflow = await getSharedWorkflow(req.user, id);
|
||||||
|
|
||||||
if (!sharedWorkflow) {
|
if (!sharedWorkflow) {
|
||||||
// user trying to access a workflow he does not own
|
// user trying to access a workflow they do not own
|
||||||
// or workflow does not exist
|
// or workflow does not exist
|
||||||
return res.status(404).json({ message: 'Not Found' });
|
return res.status(404).json({ message: 'Not Found' });
|
||||||
}
|
}
|
||||||
@@ -246,7 +246,7 @@ export = {
|
|||||||
const sharedWorkflow = await getSharedWorkflow(req.user, id);
|
const sharedWorkflow = await getSharedWorkflow(req.user, id);
|
||||||
|
|
||||||
if (!sharedWorkflow) {
|
if (!sharedWorkflow) {
|
||||||
// user trying to access a workflow he does not own
|
// user trying to access a workflow they do not own
|
||||||
// or workflow does not exist
|
// or workflow does not exist
|
||||||
return res.status(404).json({ message: 'Not Found' });
|
return res.status(404).json({ message: 'Not Found' });
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -303,7 +303,7 @@ describe('GET /workflows/:id', () => {
|
|||||||
{
|
{
|
||||||
id: savedCredential.id,
|
id: savedCredential.id,
|
||||||
name: savedCredential.name,
|
name: savedCredential.name,
|
||||||
currentUserHasAccess: false, // although owner can see, he does not have access
|
currentUserHasAccess: false, // although owner can see, they do not have access
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|||||||
@@ -239,7 +239,7 @@ export class ActiveCampaign implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available custom fields to display them to user so that he can
|
// Get all the available custom fields to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getContactCustomFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getContactCustomFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -260,7 +260,7 @@ export class ActiveCampaign implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available custom fields to display them to user so that he can
|
// Get all the available custom fields to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getAccountCustomFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getAccountCustomFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -281,7 +281,7 @@ export class ActiveCampaign implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available tags to display them to user so that he can
|
// Get all the available tags to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ export class ActiveCampaignTrigger implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the events to display them to user so that he can
|
// Get all the events to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getEvents(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getEvents(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ export class Affinity implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available organizations to display them to user so that he can
|
// Get all the available organizations to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getOrganizations(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getOrganizations(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -103,7 +103,7 @@ export class Affinity implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available persons to display them to user so that he can
|
// Get all the available persons to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getPersons(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getPersons(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -127,7 +127,7 @@ export class Affinity implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available lists to display them to user so that he can
|
// Get all the available lists to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLists(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLists(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -1680,7 +1680,7 @@ export class Asana implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available workspaces to display them to user so that he can
|
// Get all the available workspaces to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
getWorkspaces,
|
getWorkspaces,
|
||||||
|
|
||||||
@@ -1764,7 +1764,7 @@ export class Asana implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the available teams to display them to user so that he can
|
// Get all the available teams to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTeams(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTeams(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const workspaceId = this.getCurrentNodeParameter('workspace');
|
const workspaceId = this.getCurrentNodeParameter('workspace');
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ export class AsanaTrigger implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available workspaces to display them to user so that he can
|
// Get all the available workspaces to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getWorkspaces(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getWorkspaces(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const workspaces = await getWorkspaces.call(this);
|
const workspaces = await getWorkspaces.call(this);
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ export class Automizy implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the tags to display them to user so that he can
|
// Get all the tags to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLists(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLists(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -786,7 +786,7 @@ export class AwsSes implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available templates to display them to user so that he can
|
// Get all the available templates to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTemplates(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTemplates(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ export class Bannerbear implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available templates to display them to user so that he can
|
// Get all the available templates to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTemplates(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTemplates(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -80,7 +80,7 @@ export class Bannerbear implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the available modifications to display them to user so that he can
|
// Get all the available modifications to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getModificationNames(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getModificationNames(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const templateId = this.getCurrentNodeParameter('templateId');
|
const templateId = this.getCurrentNodeParameter('templateId');
|
||||||
|
|||||||
@@ -269,7 +269,7 @@ export class Beeminder implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available groups to display them to user so that he can
|
// Get all the available groups to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getGoals(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getGoals(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const credentials = await this.getCredentials('beeminderApi');
|
const credentials = await this.getCredentials('beeminderApi');
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ export class Bitly implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available groups to display them to user so that he can
|
// Get all the available groups to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getGroups(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getGroups(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -98,7 +98,7 @@ export class Bitly implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available tags to display them to user so that he can
|
// Get all the available tags to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const groupId = this.getCurrentNodeParameter('group') as string;
|
const groupId = this.getCurrentNodeParameter('group') as string;
|
||||||
|
|||||||
@@ -221,7 +221,7 @@ export class ClickUp implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available teams to display them to user so that he can
|
// Get all the available teams to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTeams(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTeams(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -236,7 +236,7 @@ export class ClickUp implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available spaces to display them to user so that he can
|
// Get all the available spaces to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getSpaces(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getSpaces(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const teamId = this.getCurrentNodeParameter('team') as string;
|
const teamId = this.getCurrentNodeParameter('team') as string;
|
||||||
@@ -252,7 +252,7 @@ export class ClickUp implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available folders to display them to user so that he can
|
// Get all the available folders to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getFolders(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getFolders(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const spaceId = this.getCurrentNodeParameter('space') as string;
|
const spaceId = this.getCurrentNodeParameter('space') as string;
|
||||||
@@ -268,7 +268,7 @@ export class ClickUp implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available lists to display them to user so that he can
|
// Get all the available lists to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLists(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLists(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const folderId = this.getCurrentNodeParameter('folder') as string;
|
const folderId = this.getCurrentNodeParameter('folder') as string;
|
||||||
@@ -284,7 +284,7 @@ export class ClickUp implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available lists without a folder to display them to user so that he can
|
// Get all the available lists without a folder to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getFolderlessLists(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getFolderlessLists(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const spaceId = this.getCurrentNodeParameter('space') as string;
|
const spaceId = this.getCurrentNodeParameter('space') as string;
|
||||||
@@ -300,7 +300,7 @@ export class ClickUp implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available assignees to display them to user so that he can
|
// Get all the available assignees to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getAssignees(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getAssignees(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const listId = this.getCurrentNodeParameter('list') as string;
|
const listId = this.getCurrentNodeParameter('list') as string;
|
||||||
@@ -326,7 +326,7 @@ export class ClickUp implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available tags to display them to user so that he can
|
// Get all the available tags to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const spaceId = this.getCurrentNodeParameter('space') as string;
|
const spaceId = this.getCurrentNodeParameter('space') as string;
|
||||||
@@ -342,7 +342,7 @@ export class ClickUp implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available tags to display them to user so that he can
|
// Get all the available tags to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTimeEntryTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTimeEntryTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const teamId = this.getCurrentNodeParameter('team') as string;
|
const teamId = this.getCurrentNodeParameter('team') as string;
|
||||||
@@ -362,7 +362,7 @@ export class ClickUp implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available tags to display them to user so that he can
|
// Get all the available tags to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getStatuses(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getStatuses(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const listId = this.getCurrentNodeParameter('list') as string;
|
const listId = this.getCurrentNodeParameter('list') as string;
|
||||||
@@ -379,7 +379,7 @@ export class ClickUp implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the custom fields to display them to user so that he can
|
// Get all the custom fields to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCustomFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCustomFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const listId = this.getCurrentNodeParameter('list') as string;
|
const listId = this.getCurrentNodeParameter('list') as string;
|
||||||
@@ -396,7 +396,7 @@ export class ClickUp implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the available lists to display them to user so that he can
|
// Get all the available lists to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTasks(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTasks(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const listId = this.getCurrentNodeParameter('list') as string;
|
const listId = this.getCurrentNodeParameter('list') as string;
|
||||||
|
|||||||
@@ -242,7 +242,7 @@ export class ClickUpTrigger implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available teams to display them to user so that he can
|
// Get all the available teams to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTeams(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTeams(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -764,7 +764,7 @@ export class Clockify implements INodeType {
|
|||||||
body.start = moment.tz(body.start, timezone).utc().format();
|
body.start = moment.tz(body.start, timezone).utc().format();
|
||||||
} else {
|
} else {
|
||||||
// even if you do not want to update the start time, it always has to be set
|
// even if you do not want to update the start time, it always has to be set
|
||||||
// to make it more simple to the user, if he did not set a start time look for the current start time
|
// to make it more simple to the user, if they did not set a start time look for the current start time
|
||||||
// and set it
|
// and set it
|
||||||
const {
|
const {
|
||||||
timeInterval: { start },
|
timeInterval: { start },
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ export class Coda implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available docs to display them to user so that he can
|
// Get all the available docs to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getDocs(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getDocs(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -95,7 +95,7 @@ export class Coda implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available tables to display them to user so that he can
|
// Get all the available tables to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTables(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTables(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -119,7 +119,7 @@ export class Coda implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available columns to display them to user so that he can
|
// Get all the available columns to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getColumns(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getColumns(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -144,7 +144,7 @@ export class Coda implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available views to display them to user so that he can
|
// Get all the available views to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getViews(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getViews(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -166,7 +166,7 @@ export class Coda implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available formulas to display them to user so that he can
|
// Get all the available formulas to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getFormulas(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getFormulas(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -188,7 +188,7 @@ export class Coda implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available view rows to display them to user so that he can
|
// Get all the available view rows to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getViewRows(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getViewRows(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -211,7 +211,7 @@ export class Coda implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available view columns to display them to user so that he can
|
// Get all the available view columns to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getViewColumns(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getViewColumns(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ export class ConvertKit implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the tags to display them to user so that he can
|
// Get all the tags to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -116,7 +116,7 @@ export class ConvertKit implements INodeType {
|
|||||||
|
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the forms to display them to user so that he can
|
// Get all the forms to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getForms(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getForms(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -133,7 +133,7 @@ export class ConvertKit implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the sequences to display them to user so that he can
|
// Get all the sequences to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getSequences(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getSequences(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ export class ConvertKitTrigger implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the tags to display them to user so that he can
|
// Get all the tags to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -193,7 +193,7 @@ export class ConvertKitTrigger implements INodeType {
|
|||||||
|
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the forms to display them to user so that he can
|
// Get all the forms to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getForms(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getForms(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -214,7 +214,7 @@ export class ConvertKitTrigger implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the sequences to display them to user so that he can
|
// Get all the sequences to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getSequences(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getSequences(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -398,7 +398,7 @@ export class Crypto implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the hashes to display them to user so that he can
|
// Get all the hashes to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getHashes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getHashes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -384,7 +384,7 @@ export class DateTime implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the timezones to display them to user so that he can
|
// Get all the timezones to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTimezones(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTimezones(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ export class Demio implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the events to display them to user so that he can
|
// Get all the events to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getEvents(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getEvents(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -77,7 +77,7 @@ export class Demio implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the sessions to display them to user so that he can
|
// Get all the sessions to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getEventSessions(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getEventSessions(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const eventId = this.getCurrentNodeParameter('eventId') as string;
|
const eventId = this.getCurrentNodeParameter('eventId') as string;
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ export class Discourse implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the calendars to display them to user so that he can
|
// Get all the calendars to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCategories(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCategories(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ export class EventbriteTrigger implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available organizations to display them to user so that he can
|
// Get all the available organizations to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getOrganizations(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getOrganizations(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -202,7 +202,7 @@ export class EventbriteTrigger implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available events to display them to user so that he can
|
// Get all the available events to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getEvents(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getEvents(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [{ name: 'All', value: 'all' }];
|
const returnData: INodePropertyOptions[] = [{ name: 'All', value: 'all' }];
|
||||||
|
|||||||
@@ -161,7 +161,7 @@ export class FacebookTrigger implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available organizations to display them to user so that he can
|
// Get all the available organizations to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getObjectFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getObjectFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const object = this.getCurrentNodeParameter('object') as string;
|
const object = this.getCurrentNodeParameter('object') as string;
|
||||||
|
|||||||
@@ -597,7 +597,7 @@ export class FileMaker implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available topics to display them to user so that he can
|
// Get all the available topics to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLayouts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLayouts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
let returnData: INodePropertyOptions[];
|
let returnData: INodePropertyOptions[];
|
||||||
|
|||||||
@@ -1019,7 +1019,7 @@ export class Freshdesk implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the agents to display them to user so that he can
|
// Get all the agents to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getAgents(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getAgents(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -1036,7 +1036,7 @@ export class Freshdesk implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the groups to display them to user so that he can
|
// Get all the groups to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getGroups(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getGroups(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -1053,7 +1053,7 @@ export class Freshdesk implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the products to display them to user so that he can
|
// Get all the products to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getProducts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getProducts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -1070,7 +1070,7 @@ export class Freshdesk implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the companies to display them to user so that he can
|
// Get all the companies to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCompanies(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCompanies(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ export class GetResponse implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the campaigns to display them to user so that he can
|
// Get all the campaigns to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCampaigns(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCampaigns(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -99,7 +99,7 @@ export class GetResponse implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the tagd to display them to user so that he can
|
// Get all the tagd to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -112,7 +112,7 @@ export class GetResponse implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the custom fields to display them to user so that he can
|
// Get all the custom fields to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCustomFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCustomFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -138,7 +138,7 @@ export class GetResponseTrigger implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available teams to display them to user so that he can
|
// Get all the available teams to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLists(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLists(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ export class Ghost implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the authors to display them to user so that he can
|
// Get all the authors to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getAuthors(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getAuthors(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -100,7 +100,7 @@ export class Ghost implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the tags to display them to user so that he can
|
// Get all the tags to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ export class GoToWebinar implements INodeType {
|
|||||||
async getWebinarSessions(this: ILoadOptionsFunctions) {
|
async getWebinarSessions(this: ILoadOptionsFunctions) {
|
||||||
return loadWebinarSessions.call(this);
|
return loadWebinarSessions.call(this);
|
||||||
},
|
},
|
||||||
// Get all the timezones to display them to user so that he can
|
// Get all the timezones to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTimezones(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTimezones(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ export class GoogleAnalyticsV1 implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the dimensions to display them to user so that he can
|
// Get all the dimensions to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getDimensions(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getDimensions(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -119,7 +119,7 @@ export class GoogleAnalyticsV1 implements INodeType {
|
|||||||
|
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the views to display them to user so that he can
|
// Get all the views to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getViews(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getViews(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ export class GoogleCalendar implements INodeType {
|
|||||||
getTimezones,
|
getTimezones,
|
||||||
},
|
},
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the calendars to display them to user so that he can
|
// Get all the calendars to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getConferenceSolutations(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getConferenceSolutations(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -104,7 +104,7 @@ export class GoogleCalendar implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the colors to display them to user so that he can
|
// Get all the colors to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getColors(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getColors(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ export class GoogleChat implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the spaces to display them to user so that he can
|
// Get all the spaces to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getSpaces(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getSpaces(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ export class GoogleContacts implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the calendars to display them to user so that he can
|
// Get all the calendars to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getGroups(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getGroups(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ export class GoogleDocs implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the drives to display them to user so that he can
|
// Get all the drives to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getDrives(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getDrives(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [
|
const returnData: INodePropertyOptions[] = [
|
||||||
|
|||||||
@@ -402,7 +402,7 @@ export class GoogleDriveTrigger implements INodeType {
|
|||||||
folderSearch,
|
folderSearch,
|
||||||
},
|
},
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the calendars to display them to user so that he can
|
// Get all the calendars to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getDrives(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getDrives(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ export class GSuiteAdmin implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the domains to display them to user so that he can
|
// Get all the domains to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getDomains(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getDomains(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -83,7 +83,7 @@ export class GSuiteAdmin implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the schemas to display them to user so that he can
|
// Get all the schemas to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getSchemas(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getSchemas(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -194,7 +194,7 @@ export class GmailTrigger implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the labels to display them to user so that he can
|
// Get all the labels to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLabels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLabels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -142,7 +142,7 @@ export class GmailV1 implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the labels to display them to user so that he can
|
// Get all the labels to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLabels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLabels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -146,7 +146,7 @@ export class GmailV2 implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the labels to display them to user so that he can
|
// Get all the labels to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLabels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLabels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -175,7 +175,7 @@ export class GooglePerspective implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available languages to display them to user so that he can
|
// Get all the available languages to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLanguages(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLanguages(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -360,7 +360,7 @@ export class GoogleSlides implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the pages to display them to user so that he can
|
// Get all the pages to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getPages(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getPages(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ export class GoogleTasks implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the tasklists to display them to user so that he can select them easily
|
// Get all the tasklists to display them to user so that they can select them easily
|
||||||
|
|
||||||
async getTasks(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTasks(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ export class YouTube implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the languages to display them to user so that he can
|
// Get all the languages to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLanguages(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLanguages(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -116,7 +116,7 @@ export class YouTube implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the countries codes to display them to user so that he can
|
// Get all the countries codes to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCountriesCodes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCountriesCodes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -130,7 +130,7 @@ export class YouTube implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the video categories to display them to user so that he can
|
// Get all the video categories to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getVideoCategories(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getVideoCategories(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const countryCode = this.getCurrentNodeParameter('regionCode') as string;
|
const countryCode = this.getCurrentNodeParameter('regionCode') as string;
|
||||||
@@ -157,7 +157,7 @@ export class YouTube implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the playlists to display them to user so that he can
|
// Get all the playlists to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getPlaylists(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getPlaylists(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ export class Harvest implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available accounts to display them to user so that he can
|
// Get all the available accounts to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getAccounts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getAccounts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ export class HelpScout implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the countries codes to display them to user so that he can
|
// Get all the countries codes to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCountriesCodes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCountriesCodes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -101,7 +101,7 @@ export class HelpScout implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the tags to display them to user so that he can
|
// Get all the tags to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -121,7 +121,7 @@ export class HelpScout implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the mailboxes to display them to user so that he can
|
// Get all the mailboxes to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getMailboxes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getMailboxes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -202,7 +202,7 @@ export class Hubspot implements INodeType {
|
|||||||
/* CONTACT */
|
/* CONTACT */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
|
|
||||||
// Get all the contact lead statuses to display them to user so that he can
|
// Get all the contact lead statuses to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getContactLeadStatuses(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getContactLeadStatuses(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -223,7 +223,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the contact legal basics to display them to user so that he can
|
// Get all the contact legal basics to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getContactLealBasics(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getContactLealBasics(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -244,7 +244,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the contact lifecycle stages to display them to user so that he can
|
// Get all the contact lifecycle stages to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getContactLifeCycleStages(
|
async getContactLifeCycleStages(
|
||||||
this: ILoadOptionsFunctions,
|
this: ILoadOptionsFunctions,
|
||||||
@@ -267,7 +267,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the contact lifecycle stages to display them to user so that he can
|
// Get all the contact lifecycle stages to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getContactOriginalSources(
|
async getContactOriginalSources(
|
||||||
this: ILoadOptionsFunctions,
|
this: ILoadOptionsFunctions,
|
||||||
@@ -290,7 +290,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the contact preffered languages to display them to user so that he can
|
// Get all the contact preffered languages to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getContactPrefferedLanguages(
|
async getContactPrefferedLanguages(
|
||||||
this: ILoadOptionsFunctions,
|
this: ILoadOptionsFunctions,
|
||||||
@@ -313,7 +313,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the contact preffered languages to display them to user so that he can
|
// Get all the contact preffered languages to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getContactStatuses(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getContactStatuses(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -334,7 +334,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the contact properties to display them to user so that he can
|
// Get all the contact properties to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getContactProperties(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getContactProperties(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -351,7 +351,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the contact properties to display them to user so that he can
|
// Get all the contact properties to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getContactCustomProperties(
|
async getContactCustomProperties(
|
||||||
this: ILoadOptionsFunctions,
|
this: ILoadOptionsFunctions,
|
||||||
@@ -372,7 +372,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the contact number of employees options to display them to user so that he can
|
// Get all the contact number of employees options to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getContactNumberOfEmployees(
|
async getContactNumberOfEmployees(
|
||||||
this: ILoadOptionsFunctions,
|
this: ILoadOptionsFunctions,
|
||||||
@@ -399,7 +399,7 @@ export class Hubspot implements INodeType {
|
|||||||
/* COMPANY */
|
/* COMPANY */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
|
|
||||||
// Get all the company industries to display them to user so that he can
|
// Get all the company industries to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCompanyIndustries(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCompanyIndustries(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -420,7 +420,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the company lead statuses to display them to user so that he can
|
// Get all the company lead statuses to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCompanyleadStatuses(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCompanyleadStatuses(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -441,7 +441,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the company lifecycle stages to display them to user so that he can
|
// Get all the company lifecycle stages to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCompanylifecycleStages(
|
async getCompanylifecycleStages(
|
||||||
this: ILoadOptionsFunctions,
|
this: ILoadOptionsFunctions,
|
||||||
@@ -464,7 +464,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the company types stages to display them to user so that he can
|
// Get all the company types stages to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCompanyTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCompanyTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -485,7 +485,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the company types stages to display them to user so that he can
|
// Get all the company types stages to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCompanyTargetAccounts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCompanyTargetAccounts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -506,7 +506,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the company source types stages to display them to user so that he can
|
// Get all the company source types stages to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCompanySourceTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCompanySourceTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -527,7 +527,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the company web technologies stages to display them to user so that he can
|
// Get all the company web technologies stages to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCompanyWebTechnologies(
|
async getCompanyWebTechnologies(
|
||||||
this: ILoadOptionsFunctions,
|
this: ILoadOptionsFunctions,
|
||||||
@@ -550,7 +550,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the company properties to display them to user so that he can
|
// Get all the company properties to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCompanyProperties(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCompanyProperties(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -567,7 +567,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the company custom properties to display them to user so that he can
|
// Get all the company custom properties to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCompanyCustomProperties(
|
async getCompanyCustomProperties(
|
||||||
this: ILoadOptionsFunctions,
|
this: ILoadOptionsFunctions,
|
||||||
@@ -592,7 +592,7 @@ export class Hubspot implements INodeType {
|
|||||||
/* DEAL */
|
/* DEAL */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
|
|
||||||
// Get all the groups to display them to user so that he can
|
// Get all the groups to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getDealStages(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getDealStages(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -610,7 +610,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the deal types to display them to user so that he can
|
// Get all the deal types to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getDealTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getDealTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -627,7 +627,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the deal properties to display them to user so that he can
|
// Get all the deal properties to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getDealCustomProperties(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getDealCustomProperties(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -645,7 +645,7 @@ export class Hubspot implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the deal properties to display them to user so that he can
|
// Get all the deal properties to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getDealProperties(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getDealProperties(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -666,7 +666,7 @@ export class Hubspot implements INodeType {
|
|||||||
/* FORM */
|
/* FORM */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
|
|
||||||
// Get all the forms to display them to user so that he can
|
// Get all the forms to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getForms(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getForms(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -683,7 +683,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the subscription types to display them to user so that he can
|
// Get all the subscription types to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getSubscriptionTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getSubscriptionTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -710,7 +710,7 @@ export class Hubspot implements INodeType {
|
|||||||
/* TICKET */
|
/* TICKET */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
|
|
||||||
// Get all the ticket categories to display them to user so that he can
|
// Get all the ticket categories to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTicketCategories(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTicketCategories(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -731,7 +731,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData.sort((a, b) => (a.name < b.name ? 0 : 1));
|
return returnData.sort((a, b) => (a.name < b.name ? 0 : 1));
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the ticket pipelines to display them to user so that he can
|
// Get all the ticket pipelines to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTicketPipelines(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTicketPipelines(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -748,7 +748,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the ticket resolutions to display them to user so that he can
|
// Get all the ticket resolutions to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTicketPriorities(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTicketPriorities(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -769,7 +769,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the ticket properties to display them to user so that he can
|
// Get all the ticket properties to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTicketProperties(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTicketProperties(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -786,7 +786,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the ticket resolutions to display them to user so that he can
|
// Get all the ticket resolutions to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTicketResolutions(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTicketResolutions(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -807,7 +807,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData.sort((a, b) => (a.name < b.name ? 0 : 1));
|
return returnData.sort((a, b) => (a.name < b.name ? 0 : 1));
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the ticket sources to display them to user so that he can
|
// Get all the ticket sources to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTicketSources(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTicketSources(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -828,7 +828,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData.sort((a, b) => (a.name < b.name ? 0 : 1));
|
return returnData.sort((a, b) => (a.name < b.name ? 0 : 1));
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the ticket stages to display them to user so that he can
|
// Get all the ticket stages to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTicketStages(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTicketStages(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
let currentPipelineId = this.getCurrentNodeParameter('pipelineId') as string;
|
let currentPipelineId = this.getCurrentNodeParameter('pipelineId') as string;
|
||||||
@@ -857,7 +857,7 @@ export class Hubspot implements INodeType {
|
|||||||
/* COMMON */
|
/* COMMON */
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
|
|
||||||
// Get all the owners to display them to user so that he can
|
// Get all the owners to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getOwners(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getOwners(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -874,7 +874,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the companies to display them to user so that he can
|
// Get all the companies to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCompanies(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCompanies(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -903,7 +903,7 @@ export class Hubspot implements INodeType {
|
|||||||
return returnData.sort((a, b) => (a.name < b.name ? 0 : 1));
|
return returnData.sort((a, b) => (a.name < b.name ? 0 : 1));
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the companies to display them to user so that he can
|
// Get all the companies to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getContacts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getContacts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -236,7 +236,7 @@ export class HubspotTrigger implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available contacts to display them to user so that he can
|
// Get all the available contacts to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getContactProperties(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getContactProperties(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -252,7 +252,7 @@ export class HubspotTrigger implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available companies to display them to user so that he can
|
// Get all the available companies to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCompanyProperties(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCompanyProperties(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -268,7 +268,7 @@ export class HubspotTrigger implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available deals to display them to user so that he can
|
// Get all the available deals to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getDealProperties(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getDealProperties(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ export class Intercom implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available companies to display them to user so that he can
|
// Get all the available companies to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCompanies(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCompanies(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ export class InvoiceNinja implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available clients to display them to user so that he can
|
// Get all the available clients to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getClients(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getClients(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -166,7 +166,7 @@ export class InvoiceNinja implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available projects to display them to user so that he can
|
// Get all the available projects to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getProjects(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getProjects(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -186,7 +186,7 @@ export class InvoiceNinja implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available invoices to display them to user so that he can
|
// Get all the available invoices to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getInvoices(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getInvoices(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -206,7 +206,7 @@ export class InvoiceNinja implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available country codes to display them to user so that he can
|
// Get all the available country codes to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCountryCodes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCountryCodes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -220,7 +220,7 @@ export class InvoiceNinja implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available vendors to display them to user so that he can
|
// Get all the available vendors to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getVendors(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getVendors(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -235,7 +235,7 @@ export class InvoiceNinja implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available expense categories to display them to user so that he can
|
// Get all the available expense categories to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getExpenseCategories(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getExpenseCategories(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ export class Jira implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
listSearch: {
|
listSearch: {
|
||||||
// Get all the projects to display them to user so that he can
|
// Get all the projects to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getProjects(
|
async getProjects(
|
||||||
this: ILoadOptionsFunctions,
|
this: ILoadOptionsFunctions,
|
||||||
@@ -172,7 +172,7 @@ export class Jira implements INodeType {
|
|||||||
return { results: filterSortSearchListItems(returnData, filter) };
|
return { results: filterSortSearchListItems(returnData, filter) };
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the issue types to display them to user so that he can
|
// Get all the issue types to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getIssueTypes(this: ILoadOptionsFunctions): Promise<INodeListSearchResult> {
|
async getIssueTypes(this: ILoadOptionsFunctions): Promise<INodeListSearchResult> {
|
||||||
const projectId = this.getCurrentNodeParameter('project', { extractValue: true });
|
const projectId = this.getCurrentNodeParameter('project', { extractValue: true });
|
||||||
@@ -203,7 +203,7 @@ export class Jira implements INodeType {
|
|||||||
return { results: returnData };
|
return { results: returnData };
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the users to display them to user so that he can
|
// Get all the users to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getUsers(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult> {
|
async getUsers(this: ILoadOptionsFunctions, filter?: string): Promise<INodeListSearchResult> {
|
||||||
const jiraVersion = this.getCurrentNodeParameter('jiraVersion') as string;
|
const jiraVersion = this.getCurrentNodeParameter('jiraVersion') as string;
|
||||||
@@ -232,7 +232,7 @@ export class Jira implements INodeType {
|
|||||||
return { results: filterSortSearchListItems(returnData, filter) };
|
return { results: filterSortSearchListItems(returnData, filter) };
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the priorities to display them to user so that he can
|
// Get all the priorities to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getPriorities(this: ILoadOptionsFunctions): Promise<INodeListSearchResult> {
|
async getPriorities(this: ILoadOptionsFunctions): Promise<INodeListSearchResult> {
|
||||||
const returnData: INodeListSearchItems[] = [];
|
const returnData: INodeListSearchItems[] = [];
|
||||||
@@ -262,7 +262,7 @@ export class Jira implements INodeType {
|
|||||||
return { results: returnData };
|
return { results: returnData };
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the transitions (status) to display them to user so that he can
|
// Get all the transitions (status) to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTransitions(this: ILoadOptionsFunctions): Promise<INodeListSearchResult> {
|
async getTransitions(this: ILoadOptionsFunctions): Promise<INodeListSearchResult> {
|
||||||
const returnData: INodeListSearchItems[] = [];
|
const returnData: INodeListSearchItems[] = [];
|
||||||
@@ -294,7 +294,7 @@ export class Jira implements INodeType {
|
|||||||
return { results: returnData };
|
return { results: returnData };
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the custom fields to display them to user so that he can
|
// Get all the custom fields to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCustomFields(this: ILoadOptionsFunctions): Promise<INodeListSearchResult> {
|
async getCustomFields(this: ILoadOptionsFunctions): Promise<INodeListSearchResult> {
|
||||||
const returnData: INodeListSearchItems[] = [];
|
const returnData: INodeListSearchItems[] = [];
|
||||||
@@ -340,7 +340,7 @@ export class Jira implements INodeType {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the labels to display them to user so that he can
|
// Get all the labels to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLabels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLabels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -370,7 +370,7 @@ export class Jira implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the users to display them to user so that he can
|
// Get all the users to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getUsers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getUsers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const jiraVersion = this.getCurrentNodeParameter('jiraVersion') as string;
|
const jiraVersion = this.getCurrentNodeParameter('jiraVersion') as string;
|
||||||
@@ -399,7 +399,7 @@ export class Jira implements INodeType {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the groups to display them to user so that he can
|
// Get all the groups to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getGroups(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getGroups(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -429,7 +429,7 @@ export class Jira implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the components to display them to user so that he can
|
// Get all the components to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getProjectComponents(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getProjectComponents(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ export class JotFormTrigger implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available forms to display them to user so that he can
|
// Get all the available forms to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getForms(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getForms(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ export class Keap implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the tags to display them to user so that he can
|
// Get all the tags to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -158,7 +158,7 @@ export class Keap implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the users to display them to user so that he can
|
// Get all the users to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getUsers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getUsers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -173,7 +173,7 @@ export class Keap implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the countries to display them to user so that he can
|
// Get all the countries to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCountries(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCountries(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -188,7 +188,7 @@ export class Keap implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the provinces to display them to user so that he can
|
// Get all the provinces to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getProvinces(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getProvinces(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const countryCode = this.getCurrentNodeParameter('countryCode') as string;
|
const countryCode = this.getCurrentNodeParameter('countryCode') as string;
|
||||||
@@ -208,7 +208,7 @@ export class Keap implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the contact types to display them to user so that he can
|
// Get all the contact types to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getContactTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getContactTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -223,7 +223,7 @@ export class Keap implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the timezones to display them to user so that he can
|
// Get all the timezones to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTimezones(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTimezones(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ export class KeapTrigger implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the event types to display them to user so that he can
|
// Get all the event types to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getEvents(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getEvents(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -1579,7 +1579,7 @@ export class Mailchimp implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available lists to display them to user so that he can
|
// Get all the available lists to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLists(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLists(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -1595,7 +1595,7 @@ export class Mailchimp implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the available merge fields to display them to user so that he can
|
// Get all the available merge fields to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getMergeFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getMergeFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -1616,7 +1616,7 @@ export class Mailchimp implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the interest fields to display them to user so that he can
|
// Get all the interest fields to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getGroupCategories(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getGroupCategories(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -163,7 +163,7 @@ export class MailchimpTrigger implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available lists to display them to user so that he can
|
// Get all the available lists to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLists(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLists(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ export class MailerLite implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available custom fields to display them to user so that he can
|
// Get all the available custom fields to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCustomFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCustomFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ export class Mailjet implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available custom fields to display them to user so that he can
|
// Get all the available custom fields to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTemplates(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTemplates(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -685,7 +685,7 @@ export class Mandrill implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available templates to display them to user so that he can
|
// Get all the available templates to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTemplates(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTemplates(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ export class Mautic implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available companies to display them to user so that he can
|
// Get all the available companies to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCompanies(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCompanies(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -151,7 +151,7 @@ export class Mautic implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available tags to display them to user so that he can
|
// Get all the available tags to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -164,7 +164,7 @@ export class Mautic implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available stages to display them to user so that he can
|
// Get all the available stages to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getStages(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getStages(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -177,7 +177,7 @@ export class Mautic implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available company fields to display them to user so that he can
|
// Get all the available company fields to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCompanyFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCompanyFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -215,7 +215,7 @@ export class Mautic implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available contact fields to display them to user so that he can
|
// Get all the available contact fields to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getContactFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getContactFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -233,7 +233,7 @@ export class Mautic implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available segments to display them to user so that he can
|
// Get all the available segments to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getSegments(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getSegments(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -246,7 +246,7 @@ export class Mautic implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available campaings to display them to user so that he can
|
// Get all the available campaings to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCampaigns(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCampaigns(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -264,7 +264,7 @@ export class Mautic implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available emails to display them to user so that he can
|
// Get all the available emails to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getEmails(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getEmails(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -277,7 +277,7 @@ export class Mautic implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available list / segment emails to display them to user so that he can
|
// Get all the available list / segment emails to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getSegmentEmails(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getSegmentEmails(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -292,7 +292,7 @@ export class Mautic implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available campaign / template emails to display them to user so that he can
|
// Get all the available campaign / template emails to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCampaignEmails(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCampaignEmails(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ export class MauticTrigger implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the events to display them to user so that he can
|
// Get all the events to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getEvents(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getEvents(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -353,7 +353,7 @@ export class Medium implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available publications to display them to user so that he can
|
// Get all the available publications to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getPublications(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getPublications(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ export class MicrosoftExcel implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the workbooks to display them to user so that he can
|
// Get all the workbooks to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getWorkbooks(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getWorkbooks(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const qs: IDataObject = {
|
const qs: IDataObject = {
|
||||||
@@ -105,7 +105,7 @@ export class MicrosoftExcel implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the worksheets to display them to user so that he can
|
// Get all the worksheets to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getworksheets(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getworksheets(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const workbookId = this.getCurrentNodeParameter('workbook');
|
const workbookId = this.getCurrentNodeParameter('workbook');
|
||||||
@@ -131,7 +131,7 @@ export class MicrosoftExcel implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the tables to display them to user so that he can
|
// Get all the tables to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTables(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTables(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const workbookId = this.getCurrentNodeParameter('workbook');
|
const workbookId = this.getCurrentNodeParameter('workbook');
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ export class MicrosoftOutlook implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the categories to display them to user so that he can
|
// Get all the categories to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCategories(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCategories(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ export class MicrosoftTeams implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the team's channels to display them to user so that he can
|
// Get all the team's channels to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getChannels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getChannels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -100,7 +100,7 @@ export class MicrosoftTeams implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the teams to display them to user so that he can
|
// Get all the teams to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTeams(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTeams(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -115,7 +115,7 @@ export class MicrosoftTeams implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the groups to display them to user so that he can
|
// Get all the groups to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getGroups(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getGroups(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -134,7 +134,7 @@ export class MicrosoftTeams implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the plans to display them to user so that he can
|
// Get all the plans to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getPlans(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getPlans(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -157,7 +157,7 @@ export class MicrosoftTeams implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the plans to display them to user so that he can
|
// Get all the plans to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getBuckets(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getBuckets(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -180,7 +180,7 @@ export class MicrosoftTeams implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the plans to display them to user so that he can
|
// Get all the plans to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getMembers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getMembers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -203,7 +203,7 @@ export class MicrosoftTeams implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the labels to display them to user so that he can
|
// Get all the labels to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLabels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLabels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ export class MicrosoftToDo implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the team's channels to display them to user so that he can
|
// Get all the team's channels to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTaskLists(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTaskLists(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ export class MondayCom implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available boards to display them to user so that he can
|
// Get all the available boards to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getBoards(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getBoards(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -152,7 +152,7 @@ export class MondayCom implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available columns to display them to user so that he can
|
// Get all the available columns to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getColumns(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getColumns(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -187,7 +187,7 @@ export class MondayCom implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available groups to display them to user so that he can
|
// Get all the available groups to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getGroups(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getGroups(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -202,7 +202,7 @@ export class NotionV1 implements INodeType {
|
|||||||
}));
|
}));
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the timezones to display them to user so that he can
|
// Get all the timezones to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTimezones(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTimezones(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -207,7 +207,7 @@ export class NotionV2 implements INodeType {
|
|||||||
}));
|
}));
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the timezones to display them to user so that he can
|
// Get all the timezones to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTimezones(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTimezones(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ export class PagerDuty implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available escalation policies to display them to user so that he can
|
// Get all the available escalation policies to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getEscalationPolicies(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getEscalationPolicies(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -141,7 +141,7 @@ export class PagerDuty implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available priorities to display them to user so that he can
|
// Get all the available priorities to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getPriorities(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getPriorities(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -163,7 +163,7 @@ export class PagerDuty implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available services to display them to user so that he can
|
// Get all the available services to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getServices(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getServices(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -183,7 +183,7 @@ export class PagerDuty implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the timezones to display them to user so that he can
|
// Get all the timezones to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTimezones(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTimezones(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ export class PayPalTrigger implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the events types to display them to user so that he can
|
// Get all the events types to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getEvents(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getEvents(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [
|
const returnData: INodePropertyOptions[] = [
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ export class Phantombuster implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the arguments to display them to user so that he can
|
// Get all the arguments to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
// async getArguments(
|
// async getArguments(
|
||||||
// this: ILoadOptionsFunctions,
|
// this: ILoadOptionsFunctions,
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ export class PhilipsHue implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the lights to display them to user so that he can
|
// Get all the lights to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLights(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLights(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -3731,7 +3731,7 @@ export class Pipedrive implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all Organizations to display them to user so that he can
|
// Get all Organizations to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getActivityTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getActivityTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -3745,7 +3745,7 @@ export class Pipedrive implements INodeType {
|
|||||||
|
|
||||||
return sortOptionParameters(returnData);
|
return sortOptionParameters(returnData);
|
||||||
},
|
},
|
||||||
// Get all Filters to display them to user so that he can
|
// Get all Filters to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getFilters(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getFilters(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -3773,7 +3773,7 @@ export class Pipedrive implements INodeType {
|
|||||||
|
|
||||||
return sortOptionParameters(returnData);
|
return sortOptionParameters(returnData);
|
||||||
},
|
},
|
||||||
// Get all Organizations to display them to user so that he can
|
// Get all Organizations to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getOrganizationIds(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getOrganizationIds(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -3787,7 +3787,7 @@ export class Pipedrive implements INodeType {
|
|||||||
|
|
||||||
return sortOptionParameters(returnData);
|
return sortOptionParameters(returnData);
|
||||||
},
|
},
|
||||||
// Get all Users to display them to user so that he can
|
// Get all Users to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getUserIds(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getUserIds(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -3811,7 +3811,7 @@ export class Pipedrive implements INodeType {
|
|||||||
|
|
||||||
return sortOptionParameters(returnData);
|
return sortOptionParameters(returnData);
|
||||||
},
|
},
|
||||||
// Get all Deals to display them to user so that he can
|
// Get all Deals to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getDeals(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getDeals(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const { data } = (await pipedriveApiRequest.call(this, 'GET', '/deals', {})) as {
|
const { data } = (await pipedriveApiRequest.call(this, 'GET', '/deals', {})) as {
|
||||||
@@ -3819,7 +3819,7 @@ export class Pipedrive implements INodeType {
|
|||||||
};
|
};
|
||||||
return sortOptionParameters(data.map(({ id, title }) => ({ value: id, name: title })));
|
return sortOptionParameters(data.map(({ id, title }) => ({ value: id, name: title })));
|
||||||
},
|
},
|
||||||
// Get all Products to display them to user so that he can
|
// Get all Products to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getProducts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getProducts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const { data } = (await pipedriveApiRequest.call(this, 'GET', '/products', {})) as {
|
const { data } = (await pipedriveApiRequest.call(this, 'GET', '/products', {})) as {
|
||||||
@@ -3827,7 +3827,7 @@ export class Pipedrive implements INodeType {
|
|||||||
};
|
};
|
||||||
return sortOptionParameters(data.map(({ id, name }) => ({ value: id, name })));
|
return sortOptionParameters(data.map(({ id, name }) => ({ value: id, name })));
|
||||||
},
|
},
|
||||||
// Get all Products related to a deal and display them to user so that he can
|
// Get all Products related to a deal and display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getProductsDeal(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getProductsDeal(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const dealId = this.getCurrentNodeParameter('dealId');
|
const dealId = this.getCurrentNodeParameter('dealId');
|
||||||
@@ -3841,7 +3841,7 @@ export class Pipedrive implements INodeType {
|
|||||||
};
|
};
|
||||||
return sortOptionParameters(data.map(({ id, name }) => ({ value: id, name })));
|
return sortOptionParameters(data.map(({ id, name }) => ({ value: id, name })));
|
||||||
},
|
},
|
||||||
// Get all Stages to display them to user so that he can
|
// Get all Stages to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getStageIds(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getStageIds(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -3855,7 +3855,7 @@ export class Pipedrive implements INodeType {
|
|||||||
|
|
||||||
return sortOptionParameters(returnData);
|
return sortOptionParameters(returnData);
|
||||||
},
|
},
|
||||||
// Get all the Organization Custom Fields to display them to user so that he can
|
// Get all the Organization Custom Fields to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getOrganizationCustomFields(
|
async getOrganizationCustomFields(
|
||||||
this: ILoadOptionsFunctions,
|
this: ILoadOptionsFunctions,
|
||||||
@@ -3873,7 +3873,7 @@ export class Pipedrive implements INodeType {
|
|||||||
|
|
||||||
return sortOptionParameters(returnData);
|
return sortOptionParameters(returnData);
|
||||||
},
|
},
|
||||||
// Get all the Deal Custom Fields to display them to user so that he can
|
// Get all the Deal Custom Fields to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getDealCustomFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getDealCustomFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -3889,7 +3889,7 @@ export class Pipedrive implements INodeType {
|
|||||||
|
|
||||||
return sortOptionParameters(returnData);
|
return sortOptionParameters(returnData);
|
||||||
},
|
},
|
||||||
// Get all the Person Custom Fields to display them to user so that he can
|
// Get all the Person Custom Fields to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getPersonCustomFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getPersonCustomFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -3905,7 +3905,7 @@ export class Pipedrive implements INodeType {
|
|||||||
|
|
||||||
return sortOptionParameters(returnData);
|
return sortOptionParameters(returnData);
|
||||||
},
|
},
|
||||||
// Get all the person labels to display them to user so that he can
|
// Get all the person labels to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getPersonLabels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getPersonLabels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -3934,7 +3934,7 @@ export class Pipedrive implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the labels to display them to user so that he can
|
// Get all the labels to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getOrganizationLabels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getOrganizationLabels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -3964,7 +3964,7 @@ export class Pipedrive implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the persons to display them to user so that he can
|
// Get all the persons to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getPersons(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getPersons(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const { data } = (await pipedriveApiRequest.call(this, 'GET', '/persons', {})) as {
|
const { data } = (await pipedriveApiRequest.call(this, 'GET', '/persons', {})) as {
|
||||||
@@ -3974,7 +3974,7 @@ export class Pipedrive implements INodeType {
|
|||||||
return sortOptionParameters(data.map(({ id, name }) => ({ value: id, name })));
|
return sortOptionParameters(data.map(({ id, name }) => ({ value: id, name })));
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the lead labels to display them to user so that he can
|
// Get all the lead labels to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLeadLabels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLeadLabels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const { data } = (await pipedriveApiRequest.call(this, 'GET', '/leadLabels', {})) as {
|
const { data } = (await pipedriveApiRequest.call(this, 'GET', '/leadLabels', {})) as {
|
||||||
@@ -3984,7 +3984,7 @@ export class Pipedrive implements INodeType {
|
|||||||
return sortOptionParameters(data.map(({ id, name }) => ({ value: id, name })));
|
return sortOptionParameters(data.map(({ id, name }) => ({ value: id, name })));
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the labels to display them to user so that he can
|
// Get all the labels to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getDealLabels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getDealLabels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ export class Pushcut implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available devices to display them to user so that he can
|
// Get all the available devices to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getDevices(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getDevices(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -147,7 +147,7 @@ export class Pushcut implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available notifications to display them to user so that he can
|
// Get all the available notifications to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getNotifications(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getNotifications(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -211,7 +211,7 @@ export class Salesforce implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the lead statuses to display them to user so that he can
|
// Get all the lead statuses to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLeadStatuses(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLeadStatuses(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -236,7 +236,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the users to display them to user so that he can
|
// Get all the users to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getUsers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getUsers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -262,7 +262,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the users and case queues to display them to user so that he can
|
// Get all the users and case queues to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCaseOwners(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCaseOwners(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -308,7 +308,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the users and lead queues to display them to user so that he can
|
// Get all the users and lead queues to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLeadOwners(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLeadOwners(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -354,7 +354,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the lead sources to display them to user so that he can
|
// Get all the lead sources to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLeadSources(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLeadSources(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -376,7 +376,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the lead custom fields to display them to user so that he can
|
// Get all the lead custom fields to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCustomFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCustomFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -400,7 +400,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the record types to display them to user so that he can
|
// Get all the record types to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getRecordTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getRecordTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -430,7 +430,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the external id fields to display them to user so that he can
|
// Get all the external id fields to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getExternalIdFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getExternalIdFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -457,7 +457,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the accounts to display them to user so that he can
|
// Get all the accounts to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getAccounts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getAccounts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -483,7 +483,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the campaigns to display them to user so that he can
|
// Get all the campaigns to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCampaigns(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCampaigns(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -509,7 +509,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the stages to display them to user so that he can
|
// Get all the stages to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getStages(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getStages(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -534,7 +534,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the stages to display them to user so that he can
|
// Get all the stages to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getAccountTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getAccountTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -559,7 +559,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the account sources to display them to user so that he can
|
// Get all the account sources to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getAccountSources(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getAccountSources(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -584,7 +584,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the case types to display them to user so that he can
|
// Get all the case types to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCaseTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCaseTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -605,7 +605,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the case statuses to display them to user so that he can
|
// Get all the case statuses to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCaseStatuses(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCaseStatuses(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -626,7 +626,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the case reasons to display them to user so that he can
|
// Get all the case reasons to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCaseReasons(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCaseReasons(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -647,7 +647,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the case origins to display them to user so that he can
|
// Get all the case origins to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCaseOrigins(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCaseOrigins(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -668,7 +668,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the case priorities to display them to user so that he can
|
// Get all the case priorities to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCasePriorities(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCasePriorities(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -689,7 +689,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the task statuses to display them to user so that he can
|
// Get all the task statuses to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTaskStatuses(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTaskStatuses(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -710,7 +710,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the task types to display them to user so that he can
|
// Get all the task types to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTaskTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTaskTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -731,7 +731,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the task subjects to display them to user so that he can
|
// Get all the task subjects to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTaskSubjects(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTaskSubjects(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -752,7 +752,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the task call types to display them to user so that he can
|
// Get all the task call types to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTaskCallTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTaskCallTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -773,7 +773,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the task call priorities to display them to user so that he can
|
// Get all the task call priorities to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTaskPriorities(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTaskPriorities(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -794,7 +794,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the task recurrence types to display them to user so that he can
|
// Get all the task recurrence types to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTaskRecurrenceTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTaskRecurrenceTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -815,7 +815,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the task recurrence instances to display them to user so that he can
|
// Get all the task recurrence instances to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTaskRecurrenceInstances(
|
async getTaskRecurrenceInstances(
|
||||||
this: ILoadOptionsFunctions,
|
this: ILoadOptionsFunctions,
|
||||||
@@ -839,7 +839,7 @@ export class Salesforce implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the custom objects recurrence instances to display them to user so that he can
|
// Get all the custom objects recurrence instances to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCustomObjects(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCustomObjects(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -859,7 +859,7 @@ export class Salesforce implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the custom objects fields recurrence instances to display them to user so that he can
|
// Get all the custom objects fields recurrence instances to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCustomObjectFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCustomObjectFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -881,7 +881,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the account fields recurrence instances to display them to user so that he can
|
// Get all the account fields recurrence instances to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getAccountFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getAccountFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -902,7 +902,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the attachment fields recurrence instances to display them to user so that he can
|
// Get all the attachment fields recurrence instances to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getAtachmentFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getAtachmentFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -923,7 +923,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the case fields recurrence instances to display them to user so that he can
|
// Get all the case fields recurrence instances to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCaseFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCaseFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -940,7 +940,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the lead fields recurrence instances to display them to user so that he can
|
// Get all the lead fields recurrence instances to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLeadFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLeadFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -957,7 +957,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the opportunity fields recurrence instances to display them to user so that he can
|
// Get all the opportunity fields recurrence instances to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getOpportunityFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getOpportunityFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -978,7 +978,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the opportunity fields recurrence instances to display them to user so that he can
|
// Get all the opportunity fields recurrence instances to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTaskFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTaskFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -995,7 +995,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the users fields recurrence instances to display them to user so that he can
|
// Get all the users fields recurrence instances to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getUserFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getUserFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -1012,7 +1012,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the contact fields recurrence instances to display them to user so that he can
|
// Get all the contact fields recurrence instances to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getContactFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getContactFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -1033,7 +1033,7 @@ export class Salesforce implements INodeType {
|
|||||||
sortOptions(returnData);
|
sortOptions(returnData);
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// // Get all folders to display them to user so that he can
|
// // Get all folders to display them to user so that they can
|
||||||
// // select them easily
|
// // select them easily
|
||||||
// async getFolders(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
// async getFolders(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
// const returnData: INodePropertyOptions[] = [];
|
// const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ export class Salesmate implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available users to display them to user so that he can
|
// Get all the available users to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getUsers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getUsers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -90,7 +90,7 @@ export class Salesmate implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available contacs to display them to user so that he can
|
// Get all the available contacs to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getContacts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getContacts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -109,7 +109,7 @@ export class Salesmate implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available companies to display them to user so that he can
|
// Get all the available companies to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCompanies(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCompanies(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ export class Shopify implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available products to display them to user so that he can
|
// Get all the available products to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getProducts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getProducts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -133,7 +133,7 @@ export class Shopify implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available locations to display them to user so that he can
|
// Get all the available locations to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLocations(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLocations(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -178,7 +178,7 @@ export class SlackV1 implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the users to display them to user so that he can
|
// Get all the users to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getUsers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getUsers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -204,7 +204,7 @@ export class SlackV1 implements INodeType {
|
|||||||
|
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the users to display them to user so that he can
|
// Get all the users to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getChannels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getChannels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -238,7 +238,7 @@ export class SlackV1 implements INodeType {
|
|||||||
|
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the team fields to display them to user so that he can
|
// Get all the team fields to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTeamFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTeamFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -194,7 +194,7 @@ export class SlackV2 implements INodeType {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the users to display them to user so that he can
|
// Get all the users to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getUsers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getUsers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -220,7 +220,7 @@ export class SlackV2 implements INodeType {
|
|||||||
|
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the users to display them to user so that he can
|
// Get all the users to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getChannels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getChannels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -254,7 +254,7 @@ export class SlackV2 implements INodeType {
|
|||||||
|
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the users to display them to user so that he can
|
// Get all the users to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getChannelsName(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getChannelsName(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -287,7 +287,7 @@ export class SlackV2 implements INodeType {
|
|||||||
|
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the team fields to display them to user so that he can
|
// Get all the team fields to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTeamFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTeamFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -315,7 +315,7 @@ export class SurveyMonkeyTrigger implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the survey's collectors to display them to user so that he can
|
// Get all the survey's collectors to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCollectors(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCollectors(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const surveyId = this.getCurrentNodeParameter('surveyId');
|
const surveyId = this.getCurrentNodeParameter('surveyId');
|
||||||
@@ -337,7 +337,7 @@ export class SurveyMonkeyTrigger implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the surveys to display them to user so that he can
|
// Get all the surveys to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getSurveys(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getSurveys(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ export class TaigaTrigger implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available projects to display them to user so that he can
|
// Get all the available projects to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getUserProjects(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getUserProjects(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -586,7 +586,7 @@ export class TodoistV1 implements INodeType {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available projects to display them to user so that he can
|
// Get all the available projects to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getProjects(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getProjects(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -605,7 +605,7 @@ export class TodoistV1 implements INodeType {
|
|||||||
},
|
},
|
||||||
|
|
||||||
// Get all the available sections in the selected project, to display them
|
// Get all the available sections in the selected project, to display them
|
||||||
// to user so that he can select one easily
|
// to user so that they can select one easily
|
||||||
async getSections(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getSections(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|
||||||
@@ -675,7 +675,7 @@ export class TodoistV1 implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the available labels to display them to user so that he can
|
// Get all the available labels to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLabels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLabels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -586,7 +586,7 @@ export class TodoistV2 implements INodeType {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available projects to display them to user so that he can
|
// Get all the available projects to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getProjects(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getProjects(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -605,7 +605,7 @@ export class TodoistV2 implements INodeType {
|
|||||||
},
|
},
|
||||||
|
|
||||||
// Get all the available sections in the selected project, to display them
|
// Get all the available sections in the selected project, to display them
|
||||||
// to user so that he can select one easily
|
// to user so that they can select one easily
|
||||||
async getSections(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getSections(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|
||||||
@@ -675,7 +675,7 @@ export class TodoistV2 implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the available labels to display them to user so that he can
|
// Get all the available labels to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLabels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLabels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ export class Twist implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available workspaces to display them to user so that he can
|
// Get all the available workspaces to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getWorkspaces(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getWorkspaces(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -96,7 +96,7 @@ export class Twist implements INodeType {
|
|||||||
|
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available conversations to display them to user so that he can
|
// Get all the available conversations to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getConversations(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getConversations(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -113,7 +113,7 @@ export class Twist implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the available users to display them to user so that he can
|
// Get all the available users to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getUsers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getUsers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -130,7 +130,7 @@ export class Twist implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the available groups to display them to user so that he can
|
// Get all the available groups to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getGroups(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getGroups(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ export class Twitter implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available languages to display them to user so that he can
|
// Get all the available languages to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLanguages(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLanguages(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ export class WebflowTrigger implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the sites to display them to user so that he can
|
// Get all the sites to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getSites(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getSites(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ export class WooCommerce implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available categories to display them to user so that he can
|
// Get all the available categories to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCategories(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCategories(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -102,7 +102,7 @@ export class WooCommerce implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available tags to display them to user so that he can
|
// Get all the available tags to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ export class Wordpress implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available categories to display them to user so that he can
|
// Get all the available categories to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCategories(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCategories(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -76,7 +76,7 @@ export class Wordpress implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available tags to display them to user so that he can
|
// Get all the available tags to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -92,7 +92,7 @@ export class Wordpress implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available authors to display them to user so that he can
|
// Get all the available authors to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getAuthors(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getAuthors(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ export class Xero implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the item codes to display them to user so that he can
|
// Get all the item codes to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getItemCodes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getItemCodes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const organizationId = this.getCurrentNodeParameter('organizationId');
|
const organizationId = this.getCurrentNodeParameter('organizationId');
|
||||||
@@ -86,7 +86,7 @@ export class Xero implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the account codes to display them to user so that he can
|
// Get all the account codes to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getAccountCodes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getAccountCodes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const organizationId = this.getCurrentNodeParameter('organizationId');
|
const organizationId = this.getCurrentNodeParameter('organizationId');
|
||||||
@@ -104,7 +104,7 @@ export class Xero implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the tenants to display them to user so that he can
|
// Get all the tenants to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTenants(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTenants(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -126,7 +126,7 @@ export class Xero implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the brading themes to display them to user so that he can
|
// Get all the brading themes to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getBrandingThemes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getBrandingThemes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const organizationId = this.getCurrentNodeParameter('organizationId');
|
const organizationId = this.getCurrentNodeParameter('organizationId');
|
||||||
@@ -147,7 +147,7 @@ export class Xero implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the brading themes to display them to user so that he can
|
// Get all the brading themes to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCurrencies(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCurrencies(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const organizationId = this.getCurrentNodeParameter('organizationId');
|
const organizationId = this.getCurrentNodeParameter('organizationId');
|
||||||
@@ -165,7 +165,7 @@ export class Xero implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the tracking categories to display them to user so that he can
|
// Get all the tracking categories to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTrakingCategories(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTrakingCategories(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const organizationId = this.getCurrentNodeParameter('organizationId');
|
const organizationId = this.getCurrentNodeParameter('organizationId');
|
||||||
@@ -186,7 +186,7 @@ export class Xero implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// // Get all the tracking categories to display them to user so that he can
|
// // Get all the tracking categories to display them to user so that they can
|
||||||
// // select them easily
|
// // select them easily
|
||||||
// async getTrakingOptions(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
// async getTrakingOptions(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
// const organizationId = this.getCurrentNodeParameter('organizationId');
|
// const organizationId = this.getCurrentNodeParameter('organizationId');
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ export class Zendesk implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the custom fields to display them to user so that he can
|
// Get all the custom fields to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getCustomFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getCustomFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -152,7 +152,7 @@ export class Zendesk implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the groups to display them to user so that he can
|
// Get all the groups to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getGroups(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getGroups(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -167,7 +167,7 @@ export class Zendesk implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the tags to display them to user so that he can
|
// Get all the tags to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTags(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -183,7 +183,7 @@ export class Zendesk implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the locales to display them to user so that he can
|
// Get all the locales to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getLocales(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getLocales(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -199,7 +199,7 @@ export class Zendesk implements INodeType {
|
|||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
|
|
||||||
// Get all the user fields to display them to user so that he can
|
// Get all the user fields to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getUserFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getUserFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -144,7 +144,7 @@ export class ZendeskTrigger implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the fields to display them to user so that he can
|
// Get all the fields to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = triggerPlaceholders;
|
const returnData: INodePropertyOptions[] = triggerPlaceholders;
|
||||||
@@ -177,7 +177,7 @@ export class ZendeskTrigger implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the groups to display them to user so that he can
|
// Get all the groups to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getGroups(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getGroups(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -192,7 +192,7 @@ export class ZendeskTrigger implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the users to display them to user so that he can
|
// Get all the users to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getUsers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getUsers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ export class Zoom implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the timezones to display them to user so that he can select them easily
|
// Get all the timezones to display them to user so that they can select them easily
|
||||||
async getTimezones(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTimezones(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
for (const timezone of moment.tz.names()) {
|
for (const timezone of moment.tz.names()) {
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ export class Zulip implements INodeType {
|
|||||||
|
|
||||||
methods = {
|
methods = {
|
||||||
loadOptions: {
|
loadOptions: {
|
||||||
// Get all the available streams to display them to user so that he can
|
// Get all the available streams to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getStreams(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getStreams(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
@@ -90,7 +90,7 @@ export class Zulip implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available topics to display them to user so that he can
|
// Get all the available topics to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getTopics(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getTopics(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const streamId = this.getCurrentNodeParameter('stream') as string;
|
const streamId = this.getCurrentNodeParameter('stream') as string;
|
||||||
@@ -106,7 +106,7 @@ export class Zulip implements INodeType {
|
|||||||
}
|
}
|
||||||
return returnData;
|
return returnData;
|
||||||
},
|
},
|
||||||
// Get all the available users to display them to user so that he can
|
// Get all the available users to display them to user so that they can
|
||||||
// select them easily
|
// select them easily
|
||||||
async getUsers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
async getUsers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||||
const returnData: INodePropertyOptions[] = [];
|
const returnData: INodePropertyOptions[] = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user