description:'Comma-separated IDs of the departments associated with the requester. Choose from the list or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
description:'Choose from the list or specify an ID. You can also specify the ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
description:'Comma-separated secondary emails associated with the requester',
},
{
displayName:'Time Format',
name:'time_format',
type:'options',
default:'12h',
options:[
{
name:'12-Hour Format',
value:'12h',
},
{
name:'24-Hour Format',
value:'24h',
},
],
},
{
displayName:'Work Phone',
name:'work_phone_number',
type:'string',
default:'',
},
],
},
// ----------------------------------------
// requester: delete
// ----------------------------------------
{
displayName:'Requester ID',
name:'requesterId',
description:'ID of the requester to delete',
type:'string',
required: true,
default:'',
displayOptions:{
show:{
resource:[
'requester',
],
operation:[
'delete',
],
},
},
},
// ----------------------------------------
// requester: get
// ----------------------------------------
{
displayName:'Requester ID',
name:'requesterId',
description:'ID of the requester to retrieve',
type:'string',
required: true,
default:'',
displayOptions:{
show:{
resource:[
'requester',
],
operation:[
'get',
],
},
},
},
// ----------------------------------------
// requester: getAll
// ----------------------------------------
{
displayName:'Return All',
name:'returnAll',
type:'boolean',
default:false,
description:'Whether to return all results or only up to a given limit',
displayOptions:{
show:{
resource:[
'requester',
],
operation:[
'getAll',
],
},
},
},
{
displayName:'Limit',
name:'limit',
type:'number',
default:50,
description:'How many results to return',
typeOptions:{
minValue: 1,
},
displayOptions:{
show:{
resource:[
'requester',
],
operation:[
'getAll',
],
returnAll:[
false,
],
},
},
},
{
displayName:'Filters',
name:'filters',
type:'collection',
placeholder:'Add Filter',
default:{},
displayOptions:{
show:{
resource:[
'requester',
],
operation:[
'getAll',
],
},
},
options:[
{
displayName:'Department Name/ID',
name:'department_id',
description:'Choose from the list or specify an ID. You can also specify the ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
description:'Choose from the list or specify an ID. You can also specify the ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
description:'Comma-separated IDs of the departments associated with the requester. Choose from the list or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',
description:'Choose from the list or specify an ID. You can also specify the ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>.',