description:'ID of the department initiating the release. 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:'ID of the agent group to which the release is assigned. 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:'Whether to return all results or only up to a given limit',
displayOptions:{
show:{
resource:[
'release',
],
operation:[
'getAll',
],
},
},
},
{
displayName:'Limit',
name:'limit',
type:'number',
default:50,
description:'How many results to return',
typeOptions:{
minValue: 1,
},
displayOptions:{
show:{
resource:[
'release',
],
operation:[
'getAll',
],
returnAll:[
false,
],
},
},
},
// ----------------------------------------
// release: update
// ----------------------------------------
{
displayName:'Release ID',
name:'releaseId',
description:'ID of the release to update',
type:'string',
required: true,
default:'',
displayOptions:{
show:{
resource:[
'release',
],
operation:[
'update',
],
},
},
},
{
displayName:'Update Fields',
name:'updateFields',
type:'collection',
placeholder:'Add Field',
default:{},
displayOptions:{
show:{
resource:[
'release',
],
operation:[
'update',
],
},
},
options:[
{
displayName:'Department Name/ID',
name:'department_id',
type:'options',
default:'',
description:'ID of the department initiating the release. 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:'ID of the agent group to which the release is assigned. 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>.',