Files
Automata/packages/nodes-base/nodes/SyncroMSP/v1/actions/ticket/getAll/description.ts
Michael Kret 91d7e16c81 n8n-3867-progressively-apply-prettier-to-all (#3873)
* 🔨 formatting nodes with prettier
2022-08-17 17:50:24 +02:00

95 lines
1.7 KiB
TypeScript

import { TicketProperties } from '../../Interfaces';
export const ticketGetAllDescription: TicketProperties = [
{
displayName: 'Return All',
name: 'returnAll',
type: 'boolean',
displayOptions: {
show: {
resource: ['ticket'],
operation: ['getAll'],
},
},
default: false,
noDataExpression: true,
description: 'Whether to return all results or only up to a given limit',
},
{
displayName: 'Limit',
name: 'limit',
type: 'number',
typeOptions: {
minValue: 1,
},
displayOptions: {
show: {
resource: ['ticket'],
operation: ['getAll'],
returnAll: [false],
},
},
default: 25,
description: 'Max number of results to return',
},
{
displayName: 'Filters',
name: 'filters',
type: 'collection',
placeholder: 'Add Filter',
displayOptions: {
show: {
resource: ['ticket'],
operation: ['getAll'],
},
},
default: {},
options: [
{
displayName: 'Search Query',
name: 'query',
type: 'string',
default: '',
placeholder: 'John Doe',
description: 'Search query, it can be anything related to ticket data like user etc',
},
{
displayName: 'Status',
name: 'status',
type: 'options',
options: [
{
name: 'Customer Reply',
value: 'Customer Reply',
},
{
name: 'In Progress',
value: 'In Progress',
},
{
name: 'New',
value: 'New',
},
{
name: 'Resolved',
value: 'Resolved',
},
{
name: 'Scheduled',
value: 'Scheduled',
},
{
name: 'Waiting for Parts',
value: 'Waiting for Parts',
},
{
name: 'Waiting on Customer',
value: 'Waiting on Customer',
},
],
default: 'New',
},
],
},
];