2020-07-09 02:36:28 -07:00
|
|
|
import { INodeProperties } from 'n8n-workflow';
|
|
|
|
|
2021-12-03 00:44:16 -08:00
|
|
|
export const fields: INodeProperties[] = [
|
2020-07-09 02:36:28 -07:00
|
|
|
{
|
|
|
|
displayName: 'Search Parameters',
|
|
|
|
name: 'search_parameters',
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'You can use a variety of query parameters to search and filter items',
|
2020-07-09 02:36:28 -07:00
|
|
|
placeholder: 'Add parameter',
|
|
|
|
type: 'fixedCollection',
|
|
|
|
typeOptions: {
|
2020-08-25 02:22:14 -07:00
|
|
|
multipleValues: true,
|
2020-07-09 02:36:28 -07:00
|
|
|
},
|
|
|
|
default: {},
|
|
|
|
options: [
|
|
|
|
{
|
|
|
|
displayName: 'Parameters',
|
|
|
|
name: 'parameters',
|
|
|
|
values: [
|
|
|
|
{
|
|
|
|
displayName: 'Parameter Name',
|
|
|
|
name: 'name',
|
|
|
|
type: 'string',
|
|
|
|
default: '',
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Name of the search parameter to set',
|
2020-07-09 02:36:28 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Parameter Value',
|
|
|
|
name: 'value',
|
|
|
|
type: 'string',
|
|
|
|
default: '',
|
2022-05-06 14:01:25 -07:00
|
|
|
description: 'Value of the search parameter to set',
|
2020-08-25 02:22:14 -07:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
2020-10-22 06:46:03 -07:00
|
|
|
},
|
2021-12-03 00:44:16 -08:00
|
|
|
];
|