first commit
Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
import type { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
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';
|
||||
|
||||
export { create, deactive, getAll, getByEmail, getById, invite };
|
||||
|
||||
export const descriptions: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Operation',
|
||||
name: 'operation',
|
||||
type: 'options',
|
||||
noDataExpression: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: ['user'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
{
|
||||
name: 'Create',
|
||||
value: 'create',
|
||||
description: 'Create a new user',
|
||||
action: 'Create a user',
|
||||
},
|
||||
{
|
||||
name: 'Deactive',
|
||||
value: 'deactive',
|
||||
description:
|
||||
'Deactivates the user and revokes all its sessions by archiving its user object',
|
||||
action: 'Deactivate a user',
|
||||
},
|
||||
{
|
||||
name: 'Get By Email',
|
||||
value: 'getByEmail',
|
||||
description: 'Get a user by email',
|
||||
action: 'Get a user by email',
|
||||
},
|
||||
{
|
||||
name: 'Get By ID',
|
||||
value: 'getById',
|
||||
description: 'Get a user by ID',
|
||||
action: 'Get a user by ID',
|
||||
},
|
||||
{
|
||||
name: 'Get Many',
|
||||
value: 'getAll',
|
||||
description: 'Retrieve many users',
|
||||
action: 'Get many users',
|
||||
},
|
||||
{
|
||||
name: 'Invite',
|
||||
value: 'invite',
|
||||
description: 'Invite user to team',
|
||||
action: 'Invite a user',
|
||||
},
|
||||
],
|
||||
default: '',
|
||||
},
|
||||
...create.description,
|
||||
...deactive.description,
|
||||
...getAll.description,
|
||||
...getByEmail.description,
|
||||
...getById.description,
|
||||
...invite.description,
|
||||
];
|
||||
Reference in New Issue
Block a user