@digitalstories/n8n-nodes-infomaniak
Version:
n8n nodes to interact with Infomaniak services (Kchat)
47 lines • 1.24 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.userFields = exports.userOperations = void 0;
exports.userOperations = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: ['user'],
},
},
options: [
{
name: 'Get Many',
value: 'listUsers',
action: 'Get many users',
description: 'Get a list of users',
},
{
name: 'Get',
value: 'getUser',
action: 'Get a user',
description: 'Get details of a user by ID',
},
],
default: 'listUsers',
},
];
exports.userFields = [
{
displayName: 'User ID',
name: 'userId',
type: 'string',
displayOptions: {
show: {
resource: ['user'],
operation: ['getUser'],
},
},
default: '',
description: 'The ID of the user to get details for',
},
];
//# sourceMappingURL=UserDescription.js.map