Minor improvements zu Salesforce-Node

This commit is contained in:
Jan Oberhauser
2020-02-12 22:35:56 -08:00
parent 2eaeb4f4c2
commit f64a1a9bf1
10 changed files with 1553 additions and 1542 deletions

View File

@@ -19,29 +19,29 @@ export const attachmentOperations = [
description: 'Create a attachment',
},
{
name: 'Update',
value: 'update',
description: 'Update a attachment',
name: 'Delete',
value: 'delete',
description: 'Delete a attachment',
},
{
name: 'Get',
value: 'get',
description: 'Get a attachment',
},
{
name: 'Get Summary',
value: 'getSummary',
description: `Returns an overview of attachment's metadata.`,
},
{
name: 'Get All',
value: 'getAll',
description: 'Get all attachments',
},
{
name: 'Delete',
value: 'delete',
description: 'Delete a attachment',
name: 'Get Summary',
value: 'getSummary',
description: `Returns an overview of attachment's metadata.`,
},
{
name: 'Update',
value: 'update',
description: 'Update a attachment',
},
],
default: 'create',
@@ -127,14 +127,11 @@ export const attachmentFields = [
},
options: [
{
displayName: 'Owner',
name: 'owner',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getUsers',
},
displayName: 'Description',
name: 'description',
type: 'string',
default: '',
description: 'ID of the User who owns the attachment.',
description: `Text description of the Document. Limit: 255 characters.`,
},
{
displayName: 'Is Private',
@@ -144,11 +141,14 @@ export const attachmentFields = [
description: 'Indicates whether this record is viewable only by the owner and administrators (true) or viewable by all otherwise-allowed users (false). ',
},
{
displayName: 'Description',
name: 'description',
type: 'string',
displayName: 'Owner',
name: 'owner',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getUsers',
},
default: '',
description: `Text description of the Document. Limit: 255 characters.`,
description: 'ID of the User who owns the attachment.',
},
],
},
@@ -190,6 +190,28 @@ export const attachmentFields = [
},
},
options: [
{
displayName: 'Binary Property',
name: 'binaryPropertyName',
type: 'string',
default: 'data',
placeholder: '',
description: 'Name of the binary property which contains<br />the data for the file to be uploaded.',
},
{
displayName: 'Description',
name: 'description',
type: 'string',
default: '',
description: `Text description of the Document. Limit: 255 characters.`,
},
{
displayName: 'Is Private',
name: 'isPrivate',
type: 'boolean',
default: false,
description: 'Indicates whether this record is viewable only by the owner and administrators (true) or viewable by all otherwise-allowed users (false). ',
},
{
displayName: 'Name',
name: 'name',
@@ -207,28 +229,6 @@ export const attachmentFields = [
default: '',
description: 'ID of the User who owns the attachment.',
},
{
displayName: 'Is Private',
name: 'isPrivate',
type: 'boolean',
default: false,
description: 'Indicates whether this record is viewable only by the owner and administrators (true) or viewable by all otherwise-allowed users (false). ',
},
{
displayName: 'Description',
name: 'description',
type: 'string',
default: '',
description: `Text description of the Document. Limit: 255 characters.`,
},
{
displayName: 'Binary Property',
name: 'binaryPropertyName',
type: 'string',
default: 'data',
placeholder: '',
description: 'Name of the binary property which contains<br />the data for the file to be uploaded.',
},
],
},