description:'ID of the folder you want to create the new folder in. if not defined it will be created on the root folder',
},
{
displayName:'Options',
name:'options',
type:'collection',
displayOptions:{
show:{
operation:[
'create',
],
resource:[
'folder',
],
},
},
default:{},
placeholder:'Add Field',
options:[
{
displayName:'Access',
name:'access',
type:'options',
options:[
{
name:'Collaborators',
value:'collaborators',
description:'Only emails from registered email addresses for collaborators will be accepted.',
},
{
name:'Open',
value:'open',
description:'It will accept emails from any email addres',
},
],
default:'',
description:'ID of the folder you want to create the new folder in',
},
{
displayName:'Fields',
name:'fields',
type:'string',
default:'',
description:'A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response.',
description:'The string to search for. This query is matched against item names, descriptions, text content of files, and various other fields of the different item types.',
},
{
displayName:'Return All',
name:'returnAll',
type:'boolean',
displayOptions:{
show:{
operation:[
'search',
],
resource:[
'folder',
],
},
},
default:false,
description:'If all results should be returned or only up to a given limit.',
},
{
displayName:'Limit',
name:'limit',
type:'number',
displayOptions:{
show:{
operation:[
'search',
],
resource:[
'folder',
],
returnAll:[
false,
],
},
},
typeOptions:{
minValue: 1,
maxValue: 500,
},
default:100,
description:'How many results to return.',
},
{
displayName:'Additional Fields',
name:'additionalFields',
type:'collection',
placeholder:'Add Field',
displayOptions:{
show:{
operation:[
'search',
],
resource:[
'folder',
],
},
},
default:{},
options:[
{
displayName:'Content Types',
name:'contet_types',
type:'string',
default:'',
description:`Limits search results to items with the given content types.</br>
description:'Defines the direction in which search results are ordered. Default value is DESC.',
},
{
displayName:'Fields',
name:'fields',
type:'string',
default:'',
description:'A comma-separated list of attributes to include in the response. This can be used to request fields that are not normally returned in a standard response.',
},
{
displayName:'File Extensions',
name:'file_extensions',
type:'string',
default:'',
placeholder:'pdf,png,gif',
description:'Limits search results to a comma-separated list of file extensions.',
},
{
displayName:'Folder IDs',
name:'ancestor_folder_ids',
type:'string',
default:'',
description:`Limits search results to items within the given list of folders.</br>