mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
⚡ Some minor fixes for GSuite Admin Node
This commit is contained in:
@@ -4,11 +4,11 @@ import {
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
IDataObject,
|
IDataObject,
|
||||||
INodeExecutionData,
|
|
||||||
INodeTypeDescription,
|
|
||||||
INodeType,
|
|
||||||
ILoadOptionsFunctions,
|
ILoadOptionsFunctions,
|
||||||
|
INodeExecutionData,
|
||||||
INodePropertyOptions,
|
INodePropertyOptions,
|
||||||
|
INodeType,
|
||||||
|
INodeTypeDescription,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@@ -17,8 +17,8 @@ import {
|
|||||||
} from './GenericFunctions';
|
} from './GenericFunctions';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
userOperations,
|
|
||||||
userFields,
|
userFields,
|
||||||
|
userOperations,
|
||||||
} from './UserDescription';
|
} from './UserDescription';
|
||||||
|
|
||||||
export class GSuiteAdmin implements INodeType {
|
export class GSuiteAdmin implements INodeType {
|
||||||
@@ -310,6 +310,7 @@ export class GSuiteAdmin implements INodeType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (Object.keys(body.name).length === 0) {
|
if (Object.keys(body.name).length === 0) {
|
||||||
|
//@ts-ignore
|
||||||
delete body.name;
|
delete body.name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -665,14 +665,14 @@ export const userFields = [
|
|||||||
type: 'string',
|
type: 'string',
|
||||||
default: '',
|
default: '',
|
||||||
description: `Free text search terms to find users that match these terms in any field, except for extended properties.</br>
|
description: `Free text search terms to find users that match these terms in any field, except for extended properties.</br>
|
||||||
For more information on constructing user queries, see <a href="https://developers.google.com/admin-sdk/directory/v1/guides/search-users">Search for Users</a>`,
|
For more information on constructing user queries, see <a href="https://developers.google.com/admin-sdk/directory/v1/guides/search-users" target="_blank">Search for Users</a>`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Show Deleted',
|
displayName: 'Show Deleted',
|
||||||
name: 'showDeleted',
|
name: 'showDeleted',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: false,
|
default: false,
|
||||||
description: 'Whether to include deleted users (with status equals "cancelled") in the result.',
|
description: 'If set to true, retrieves the list of deleted users.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Sort Order',
|
displayName: 'Sort Order',
|
||||||
|
|||||||
Reference in New Issue
Block a user