trello-node: remove attachmentList operation

This commit is contained in:
trojanh 2020-01-17 18:53:04 +05:30
parent 902f1c0f20
commit 6510bb2da7
2 changed files with 0 additions and 113 deletions

View file

@ -549,120 +549,11 @@ export class Trello implements INodeType {
value: 'update',
description: 'Update a card',
},
{
name: 'AttachmentList',
value: 'attachmentList',
description: 'List all attachments',
},
],
default: 'create',
description: 'The operation to perform.',
},
// ----------------------------------
// card:attachmentList
// ----------------------------------
{
displayName: 'Card ID',
name: 'id',
type: 'string',
default: '',
required: true,
displayOptions: {
show: {
operation: [
'attachmentList',
],
resource: [
'card',
],
},
},
description: 'The ID of the card to get.',
},
{
displayName: 'Additional Fields',
name: 'additionalFields',
type: 'collection',
placeholder: 'Add Field',
displayOptions: {
show: {
operation: [
'attachmentList',
],
resource: [
'card',
],
},
},
default: {},
options: [
{
displayName: 'Fields',
name: 'fields',
type: 'string',
default: 'all',
description: 'Fields to return. Either "all" or a comma-separated list:<br />badges, checkItemStates, closed, dateLastActivity, desc,<br />descData, due, email, idBoard, idChecklists, idLabels, idList,<br />idMembers, idShort, idAttachmentCover, manualCoverAttachment<br />, labels, name, pos, shortUrl, url',
},
{
displayName: 'Board',
name: 'board',
type: 'boolean',
default: false,
description: 'Whether to return the board object the card is on.',
},
{
displayName: 'Board Fields',
name: 'board_fields',
type: 'string',
default: 'all',
description: 'Fields to return. Either "all" or a comma-separated list:<br />name, desc, descData, closed, idOrganization, pinned, url, prefs',
},
{
displayName: 'Custom Field Items',
name: 'customFieldItems',
type: 'boolean',
default: false,
description: 'Whether to include the customFieldItems.',
},
{
displayName: 'Members',
name: 'members',
type: 'boolean',
default: false,
description: 'Whether to return member objects for members on the card.',
},
{
displayName: 'Member Fields',
name: 'member_fields',
type: 'string',
default: 'all',
description: 'Fields to return. Either "all" or a comma-separated list:<br />avatarHash, fullName, initials, username',
},
{
displayName: 'Plugin Data',
name: 'pluginData',
type: 'boolean',
default: false,
description: 'Whether to include pluginData on the card with the response.',
},
{
displayName: 'Stickers',
name: 'stickers',
type: 'boolean',
default: false,
description: 'Whether to include sticker models with the response.',
},
{
displayName: 'Sticker Fields',
name: 'sticker_fields',
type: 'string',
default: 'all',
description: 'Fields to return. Either "all" or a comma-separated list of sticker fields.',
},
],
},
// ----------------------------------
// card:create
// ----------------------------------

View file

@ -1,4 +0,0 @@
{
"text": "asdf",
"number": 1
}