import * as create from './create'; import * as deactive from './deactive'; import * as getAll from './getAll'; import * as getByEmail from './getByEmail'; import * as getById from './getById'; import * as invite from './invite'; import { INodeProperties } from 'n8n-workflow'; export { create, deactive, getAll, getByEmail, getById, invite, }; export const descriptions: INodeProperties[] = [ { displayName: 'Operation', name: 'operation', type: 'options', displayOptions: { show: { resource: [ 'user', ], }, }, options: [ { name: 'Create', value: 'create', description: 'Create a new user', }, { name: 'Deactive', value: 'deactive', description: 'Deactivates the user and revokes all its sessions by archiving its user object.', }, { name: 'Get All', value: 'getAll', description: 'Retrieve all users', }, { name: 'Get By Email', value: 'getByEmail', description: 'Get a user by email', }, { name: 'Get By ID', value: 'getById', description: 'Get a user by id', }, { name: 'Invite', value: 'invite', description: 'Invite user to team', }, ], default: '', description: 'The operation to perform.', }, ...create.description, ...deactive.description, ...getAll.description, ...getByEmail.description, ...getById.description, ...invite.description, ];