UNPKG

@bedrijfsdatanl/n8n-nodes-bedrijfsdata

Version:

n8n node for Bedrijfsdata.nl API - Search and retrieve Dutch company information

168 lines 5.41 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ragUrlGetOperationProperties = void 0; exports.ragUrlGetOperationProperties = [ { displayName: 'URL', name: 'url', type: 'string', default: '', description: '(Required) Enter the URL you want to retrieve', required: true, routing: { request: { qs: { url: '={{ $value ? $value : undefined }}', }, }, }, displayOptions: { show: { resource: ['rag'], operation: ['get_url'], }, }, }, { displayName: 'Localization Options', name: 'localizationOptions', placeholder: 'Add localization option', type: 'collection', default: {}, displayOptions: { show: { resource: ['rag'], operation: ['get_url'], }, }, options: [ { displayName: 'Country (ISO 639-1)', name: 'country', type: 'string', default: 'NL', description: '(Optional) Enter a country to browse from (ex: US or NL)', routing: { request: { qs: { country: '={{ $value ? $value : undefined }}', }, }, } }, { displayName: 'Language (ISO 3166-1 Alpha-2)', name: 'lang', type: 'string', default: 'nl', description: '(Optional) Enter a language to browse in (ex: us or nl)', routing: { request: { qs: { lang: '={{ $value ? $value : undefined }}', }, }, } }, ], }, { displayName: 'Output Options', name: 'outputOptions', placeholder: 'Add output option', type: 'collection', default: {}, displayOptions: { show: { resource: ['rag'], operation: ['get_url'], }, }, options: [ { displayName: 'Add Cleaned HTML', name: 'add_reader', type: 'options', default: 0, options: [ { name: 'Disable', value: 0 }, { name: 'Cleaned HTML', value: 1 }, ], routing: { request: { qs: { add_reader: '={{ $value ? $value : undefined }}', }, }, }, }, { displayName: 'Add Markdown', name: 'add_markdown', type: 'options', default: 0, options: [ { name: 'No Markdown', value: 0 }, { name: 'CommonMark', value: 1 }, { name: 'Cleaned Markdown without Images and Links', value: 2 }, ], routing: { request: { qs: { add_markdown: '={{ $value ? $value : undefined }}', }, }, }, }, { displayName: 'Add Raw Content', name: 'add_raw', type: 'options', default: 0, options: [ { name: 'Disable', value: 0 }, { name: 'Raw Content', value: 1 }, ], routing: { request: { qs: { add_raw: '={{ $value ? $value : undefined }}', }, }, }, }, { displayName: 'Add Raw HTML', name: 'add_html', type: 'options', default: 0, options: [ { name: 'Disable', value: 0 }, { name: 'Raw HTML', value: 1 }, ], routing: { request: { qs: { add_html: '={{ $value ? $value : undefined }}', }, }, }, }, { displayName: 'Max. Snippets Length', name: 'max_snippets_length', type: 'number', default: 10000, routing: { request: { qs: { max_snippets_length: '={{ ($value || $value === 0) ? $value : undefined }}', }, }, }, description: '(Optional) Enter a max. length for the snippets in the response. If a value greater than 0 is provided, a list of unique sentences is added to the result.', }, ], }, ]; //# sourceMappingURL=RagUrlGet.properties.js.map