Remove meeting feature

Drop meetings and meeting_attendees tables, remove all meeting-related
code across GraphQL, MCP, CLI, N8N, webhooks, frontend, and e2e tests.

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2026-04-16 17:57:34 +02:00
parent c32aff5e9e
commit 6c5c1fa818
45 changed files with 24 additions and 4906 deletions

View File

@@ -21,7 +21,6 @@ import * as document from './document';
import * as execute from './execute';
import * as framework from './framework';
import * as measure from './measure';
import * as meeting from './meeting';
import * as organization from './organization';
import * as user from './user';
import * as risk from './risk';
@@ -48,7 +47,6 @@ export const resources: Record<string, ResourceModule> = {
execute: execute as ResourceModule,
framework: framework as ResourceModule,
measure: measure as ResourceModule,
meeting: meeting as ResourceModule,
organization: organization as ResourceModule,
user: user as ResourceModule,
risk: risk as ResourceModule,

View File

@@ -1,188 +0,0 @@
// Copyright (c) 2025-2026 Probo Inc <hello@getprobo.com>.
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
// AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
// OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
import type { INodeProperties, IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
import { proboApiRequest } from '../../GenericFunctions';
export const description: INodeProperties[] = [
{
displayName: 'Organization ID',
name: 'organizationId',
type: 'string',
displayOptions: {
show: {
resource: ['meeting'],
operation: ['create'],
},
},
default: '',
description: 'The ID of the organization',
required: true,
},
{
displayName: 'Name',
name: 'name',
type: 'string',
displayOptions: {
show: {
resource: ['meeting'],
operation: ['create'],
},
},
default: '',
description: 'The name of the meeting',
required: true,
},
{
displayName: 'Date',
name: 'date',
type: 'dateTime',
displayOptions: {
show: {
resource: ['meeting'],
operation: ['create'],
},
},
default: '',
description: 'The date and time of the meeting',
required: true,
},
{
displayName: 'Attendee IDs',
name: 'attendeeIds',
type: 'string',
displayOptions: {
show: {
resource: ['meeting'],
operation: ['create'],
},
},
default: '',
description: 'Comma-separated list of attendee IDs (People IDs)',
},
{
displayName: 'Minutes',
name: 'minutes',
type: 'string',
typeOptions: {
rows: 4,
},
displayOptions: {
show: {
resource: ['meeting'],
operation: ['create'],
},
},
default: '',
description: 'The minutes of the meeting',
},
{
displayName: 'Options',
name: 'options',
type: 'collection',
placeholder: 'Add Option',
default: {},
displayOptions: {
show: {
resource: ['meeting'],
operation: ['create'],
},
},
options: [
{
displayName: 'Include Attendees',
name: 'includeAttendees',
type: 'boolean',
default: false,
description: 'Whether to include attendees in the response',
},
{
displayName: 'Include Organization',
name: 'includeOrganization',
type: 'boolean',
default: false,
description: 'Whether to include organization in the response',
},
],
},
];
export async function execute(
this: IExecuteFunctions,
itemIndex: number,
): Promise<INodeExecutionData> {
const organizationId = this.getNodeParameter('organizationId', itemIndex) as string;
const name = this.getNodeParameter('name', itemIndex) as string;
const date = this.getNodeParameter('date', itemIndex) as string;
const attendeeIdsStr = this.getNodeParameter('attendeeIds', itemIndex, '') as string;
const minutes = this.getNodeParameter('minutes', itemIndex, '') as string;
const options = this.getNodeParameter('options', itemIndex, {}) as {
includeAttendees?: boolean;
includeOrganization?: boolean;
};
const attendeesFragment = options.includeAttendees
? `attendees {
id
fullName
}`
: '';
const organizationFragment = options.includeOrganization
? `organization {
id
name
}`
: '';
const query = `
mutation CreateMeeting($input: CreateMeetingInput!) {
createMeeting(input: $input) {
meetingEdge {
node {
id
name
date
minutes
${attendeesFragment}
${organizationFragment}
createdAt
updatedAt
}
}
}
}
`;
const attendeeIds = attendeeIdsStr ? attendeeIdsStr.split(',').map((id) => id.trim()).filter(Boolean) : undefined;
const input: Record<string, unknown> = {
organizationId,
name,
date: new Date(date).toISOString(),
};
if (attendeeIds && attendeeIds.length > 0) {
input.attendeeIds = attendeeIds;
}
if (minutes) {
input.minutes = minutes;
}
const responseData = await proboApiRequest.call(this, query, { input });
return {
json: responseData,
pairedItem: { item: itemIndex },
};
}

View File

@@ -1,55 +0,0 @@
// Copyright (c) 2025-2026 Probo Inc <hello@getprobo.com>.
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
// AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
// OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
import type { INodeProperties, IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
import { proboApiRequest } from '../../GenericFunctions';
export const description: INodeProperties[] = [
{
displayName: 'Meeting ID',
name: 'meetingId',
type: 'string',
displayOptions: {
show: {
resource: ['meeting'],
operation: ['delete'],
},
},
default: '',
description: 'The ID of the meeting to delete',
required: true,
},
];
export async function execute(
this: IExecuteFunctions,
itemIndex: number,
): Promise<INodeExecutionData> {
const meetingId = this.getNodeParameter('meetingId', itemIndex) as string;
const query = `
mutation DeleteMeeting($input: DeleteMeetingInput!) {
deleteMeeting(input: $input) {
deletedMeetingId
}
}
`;
const responseData = await proboApiRequest.call(this, query, { input: { meetingId } });
return {
json: responseData,
pairedItem: { item: itemIndex },
};
}

View File

@@ -1,115 +0,0 @@
// Copyright (c) 2025-2026 Probo Inc <hello@getprobo.com>.
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
// AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
// OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
import type { INodeProperties, IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
import { proboApiRequest } from '../../GenericFunctions';
export const description: INodeProperties[] = [
{
displayName: 'Meeting ID',
name: 'meetingId',
type: 'string',
displayOptions: {
show: {
resource: ['meeting'],
operation: ['get'],
},
},
default: '',
description: 'The ID of the meeting',
required: true,
},
{
displayName: 'Options',
name: 'options',
type: 'collection',
placeholder: 'Add Option',
default: {},
displayOptions: {
show: {
resource: ['meeting'],
operation: ['get'],
},
},
options: [
{
displayName: 'Include Attendees',
name: 'includeAttendees',
type: 'boolean',
default: false,
description: 'Whether to include attendees in the response',
},
{
displayName: 'Include Organization',
name: 'includeOrganization',
type: 'boolean',
default: false,
description: 'Whether to include organization in the response',
},
],
},
];
export async function execute(
this: IExecuteFunctions,
itemIndex: number,
): Promise<INodeExecutionData> {
const meetingId = this.getNodeParameter('meetingId', itemIndex) as string;
const options = this.getNodeParameter('options', itemIndex, {}) as {
includeAttendees?: boolean;
includeOrganization?: boolean;
};
const attendeesFragment = options.includeAttendees
? `attendees {
id
fullName
}`
: '';
const organizationFragment = options.includeOrganization
? `organization {
id
name
}`
: '';
const query = `
query GetMeeting($meetingId: ID!) {
node(id: $meetingId) {
... on Meeting {
id
name
date
minutes
${attendeesFragment}
${organizationFragment}
createdAt
updatedAt
}
}
}
`;
const variables = {
meetingId,
};
const responseData = await proboApiRequest.call(this, query, variables);
return {
json: responseData,
pairedItem: { item: itemIndex },
};
}

View File

@@ -1,164 +0,0 @@
// Copyright (c) 2025-2026 Probo Inc <hello@getprobo.com>.
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
// AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
// OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
import type { INodeProperties, IExecuteFunctions, INodeExecutionData, IDataObject } from 'n8n-workflow';
import { proboApiRequestAllItems } from '../../GenericFunctions';
export const description: INodeProperties[] = [
{
displayName: 'Organization ID',
name: 'organizationId',
type: 'string',
displayOptions: {
show: {
resource: ['meeting'],
operation: ['getAll'],
},
},
default: '',
description: 'The ID of the organization',
required: true,
},
{
displayName: 'Return All',
name: 'returnAll',
type: 'boolean',
displayOptions: {
show: {
resource: ['meeting'],
operation: ['getAll'],
},
},
default: false,
description: 'Whether to return all results or only up to a given limit',
},
{
displayName: 'Limit',
name: 'limit',
type: 'number',
displayOptions: {
show: {
resource: ['meeting'],
operation: ['getAll'],
returnAll: [false],
},
},
typeOptions: {
minValue: 1,
},
default: 50,
description: 'Max number of results to return',
},
{
displayName: 'Options',
name: 'options',
type: 'collection',
placeholder: 'Add Option',
default: {},
displayOptions: {
show: {
resource: ['meeting'],
operation: ['getAll'],
},
},
options: [
{
displayName: 'Include Attendees',
name: 'includeAttendees',
type: 'boolean',
default: false,
description: 'Whether to include attendees in the response',
},
{
displayName: 'Include Organization',
name: 'includeOrganization',
type: 'boolean',
default: false,
description: 'Whether to include organization in the response',
},
],
},
];
export async function execute(
this: IExecuteFunctions,
itemIndex: number,
): Promise<INodeExecutionData> {
const organizationId = this.getNodeParameter('organizationId', itemIndex) as string;
const returnAll = this.getNodeParameter('returnAll', itemIndex) as boolean;
const limit = this.getNodeParameter('limit', itemIndex, 50) as number;
const options = this.getNodeParameter('options', itemIndex, {}) as {
includeAttendees?: boolean;
includeOrganization?: boolean;
};
const attendeesFragment = options.includeAttendees
? `attendees {
id
fullName
}`
: '';
const organizationFragment = options.includeOrganization
? `organization {
id
name
}`
: '';
const query = `
query GetMeetings($organizationId: ID!, $first: Int, $after: CursorKey) {
node(id: $organizationId) {
... on Organization {
meetings(first: $first, after: $after) {
edges {
node {
id
name
date
minutes
${attendeesFragment}
${organizationFragment}
createdAt
updatedAt
}
}
pageInfo {
hasNextPage
endCursor
}
}
}
}
}
`;
const meetings = await proboApiRequestAllItems.call(
this,
query,
{ organizationId },
(response) => {
const data = response?.data as IDataObject | undefined;
const node = data?.node as IDataObject | undefined;
return node?.meetings as IDataObject | undefined;
},
returnAll,
limit,
);
return {
json: { meetings },
pairedItem: { item: itemIndex },
};
}

View File

@@ -1,74 +0,0 @@
// Copyright (c) 2025-2026 Probo Inc <hello@getprobo.com>.
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
// AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
// OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
import type { INodeProperties } from 'n8n-workflow';
import * as createOp from './create.operation';
import * as updateOp from './update.operation';
import * as deleteOp from './delete.operation';
import * as getOp from './get.operation';
import * as getAllOp from './getAll.operation';
export const description: INodeProperties[] = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: ['meeting'],
},
},
options: [
{
name: 'Create',
value: 'create',
description: 'Create a new meeting',
action: 'Create a meeting',
},
{
name: 'Delete',
value: 'delete',
description: 'Delete a meeting',
action: 'Delete a meeting',
},
{
name: 'Get',
value: 'get',
description: 'Get a meeting',
action: 'Get a meeting',
},
{
name: 'Get Many',
value: 'getAll',
description: 'Get many meetings',
action: 'Get many meetings',
},
{
name: 'Update',
value: 'update',
description: 'Update an existing meeting',
action: 'Update a meeting',
},
],
default: 'create',
},
...createOp.description,
...updateOp.description,
...deleteOp.description,
...getOp.description,
...getAllOp.description,
];
export { createOp as create, updateOp as update, deleteOp as delete, getOp as get, getAllOp as getAll };

View File

@@ -1,182 +0,0 @@
// Copyright (c) 2025-2026 Probo Inc <hello@getprobo.com>.
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
// AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
// OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
import type { INodeProperties, IExecuteFunctions, INodeExecutionData } from 'n8n-workflow';
import { proboApiRequest } from '../../GenericFunctions';
export const description: INodeProperties[] = [
{
displayName: 'Meeting ID',
name: 'meetingId',
type: 'string',
displayOptions: {
show: {
resource: ['meeting'],
operation: ['update'],
},
},
default: '',
description: 'The ID of the meeting to update',
required: true,
},
{
displayName: 'Name',
name: 'name',
type: 'string',
displayOptions: {
show: {
resource: ['meeting'],
operation: ['update'],
},
},
default: '',
description: 'The name of the meeting',
},
{
displayName: 'Date',
name: 'date',
type: 'dateTime',
displayOptions: {
show: {
resource: ['meeting'],
operation: ['update'],
},
},
default: '',
description: 'The date and time of the meeting',
},
{
displayName: 'Attendee IDs',
name: 'attendeeIds',
type: 'string',
displayOptions: {
show: {
resource: ['meeting'],
operation: ['update'],
},
},
default: '',
description: 'Comma-separated list of attendee IDs (People IDs)',
},
{
displayName: 'Minutes',
name: 'minutes',
type: 'string',
typeOptions: {
rows: 4,
},
displayOptions: {
show: {
resource: ['meeting'],
operation: ['update'],
},
},
default: '',
description: 'The minutes of the meeting',
},
{
displayName: 'Options',
name: 'options',
type: 'collection',
placeholder: 'Add Option',
default: {},
displayOptions: {
show: {
resource: ['meeting'],
operation: ['update'],
},
},
options: [
{
displayName: 'Include Attendees',
name: 'includeAttendees',
type: 'boolean',
default: false,
description: 'Whether to include attendees in the response',
},
{
displayName: 'Include Organization',
name: 'includeOrganization',
type: 'boolean',
default: false,
description: 'Whether to include organization in the response',
},
],
},
];
export async function execute(
this: IExecuteFunctions,
itemIndex: number,
): Promise<INodeExecutionData> {
const meetingId = this.getNodeParameter('meetingId', itemIndex) as string;
const name = this.getNodeParameter('name', itemIndex, '') as string;
const date = this.getNodeParameter('date', itemIndex, '') as string;
const attendeeIdsStr = this.getNodeParameter('attendeeIds', itemIndex, '') as string;
const minutes = this.getNodeParameter('minutes', itemIndex, '') as string;
const options = this.getNodeParameter('options', itemIndex, {}) as {
includeAttendees?: boolean;
includeOrganization?: boolean;
};
const attendeesFragment = options.includeAttendees
? `attendees {
id
fullName
}`
: '';
const organizationFragment = options.includeOrganization
? `organization {
id
name
}`
: '';
const query = `
mutation UpdateMeeting($input: UpdateMeetingInput!) {
updateMeeting(input: $input) {
meeting {
id
name
date
minutes
${attendeesFragment}
${organizationFragment}
createdAt
updatedAt
}
}
}
`;
const attendeeIds = attendeeIdsStr ? attendeeIdsStr.split(',').map((id) => id.trim()).filter(Boolean) : undefined;
const input: Record<string, unknown> = { meetingId };
if (name) input.name = name;
if (date) input.date = new Date(date).toISOString();
if (attendeeIds && attendeeIds.length > 0) {
input.attendeeIds = attendeeIds;
}
if (minutes !== undefined && minutes !== null) {
input.minutes = minutes;
}
const responseData = await proboApiRequest.call(this, query, { input });
return {
json: responseData,
pairedItem: { item: itemIndex },
};
}