2023-01-27 03:22:44 -08:00
import type { INodeProperties } from 'n8n-workflow' ;
2021-07-17 02:43:45 -07:00
import * as placeholders from './placeholders' ;
2021-12-03 00:44:16 -08:00
export const documentOperations : INodeProperties [ ] = [
2021-07-17 02:43:45 -07:00
{
displayName : 'Operation' ,
name : 'operation' ,
type : 'options' ,
2022-05-20 14:47:24 -07:00
noDataExpression : true ,
2021-07-17 02:43:45 -07:00
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
2021-07-17 02:43:45 -07:00
} ,
} ,
options : [
{
name : 'Create' ,
value : 'create' ,
description : 'Create a document' ,
2022-07-10 13:50:51 -07:00
action : 'Create a document' ,
2021-07-17 02:43:45 -07:00
} ,
{
name : 'Delete' ,
value : 'delete' ,
description : 'Delete a document' ,
2022-07-10 13:50:51 -07:00
action : 'Delete a document' ,
2021-07-17 02:43:45 -07:00
} ,
{
name : 'Get' ,
value : 'get' ,
description : 'Get a document' ,
2022-07-10 13:50:51 -07:00
action : 'Get a document' ,
2021-07-17 02:43:45 -07:00
} ,
{
2022-09-07 07:51:14 -07:00
name : 'Get Many' ,
2021-07-17 02:43:45 -07:00
value : 'getAll' ,
2022-09-13 03:36:36 -07:00
description : 'Get many documents' ,
2022-09-08 08:10:13 -07:00
action : 'Get many documents' ,
2021-07-17 02:43:45 -07:00
} ,
{
name : 'Update' ,
value : 'update' ,
description : 'Update a document' ,
2022-07-10 13:50:51 -07:00
action : 'Update a document' ,
2021-07-17 02:43:45 -07:00
} ,
] ,
default : 'get' ,
} ,
2021-12-03 00:44:16 -08:00
] ;
2021-07-17 02:43:45 -07:00
2021-12-03 00:44:16 -08:00
export const documentFields : INodeProperties [ ] = [
2021-07-17 02:43:45 -07:00
// ----------------------------------------
// document: delete
// ----------------------------------------
{
displayName : 'Index ID' ,
name : 'indexId' ,
description : 'ID of the index containing the document to delete' ,
type : 'string' ,
required : true ,
default : '' ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'delete' ] ,
2021-07-17 02:43:45 -07:00
} ,
} ,
} ,
{
displayName : 'Document ID' ,
name : 'documentId' ,
description : 'ID of the document to delete' ,
type : 'string' ,
required : true ,
default : '' ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'delete' ] ,
2021-07-17 02:43:45 -07:00
} ,
} ,
} ,
// ----------------------------------------
// document: get
// ----------------------------------------
{
displayName : 'Index ID' ,
name : 'indexId' ,
description : 'ID of the index containing the document to retrieve' ,
type : 'string' ,
required : true ,
default : '' ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'get' ] ,
2021-07-17 02:43:45 -07:00
} ,
} ,
} ,
{
displayName : 'Document ID' ,
name : 'documentId' ,
description : 'ID of the document to retrieve' ,
type : 'string' ,
required : true ,
default : '' ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'get' ] ,
2021-07-17 02:43:45 -07:00
} ,
} ,
} ,
{
2022-05-20 14:47:24 -07:00
displayName : 'Simplify' ,
2021-07-17 02:43:45 -07:00
name : 'simple' ,
type : 'boolean' ,
default : true ,
description : 'Whether to return a simplified version of the response instead of the raw data' ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'get' ] ,
2021-07-17 02:43:45 -07:00
} ,
} ,
} ,
{
displayName : 'Options' ,
name : 'options' ,
type : 'collection' ,
placeholder : 'Add Option' ,
default : { } ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'get' ] ,
2021-07-17 02:43:45 -07:00
} ,
} ,
options : [
{
displayName : 'Source Excludes' ,
name : '_source_excludes' ,
description : 'Comma-separated list of source fields to exclude from the response' ,
type : 'string' ,
default : '' ,
} ,
{
displayName : 'Source Includes' ,
name : '_source_includes' ,
description : 'Comma-separated list of source fields to include in the response' ,
type : 'string' ,
default : '' ,
} ,
{
displayName : 'Stored Fields' ,
name : 'stored_fields' ,
2022-08-01 13:47:55 -07:00
description :
'Whether to retrieve the document fields stored in the index rather than the document <code>_source</code>. Defaults to false.' ,
2021-07-17 02:43:45 -07:00
type : 'boolean' ,
default : false ,
} ,
] ,
} ,
// ----------------------------------------
// document: getAll
// ----------------------------------------
{
displayName : 'Index ID' ,
name : 'indexId' ,
description : 'ID of the index containing the documents to retrieve' ,
type : 'string' ,
required : true ,
default : '' ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'getAll' ] ,
2021-07-17 02:43:45 -07:00
} ,
} ,
} ,
{
displayName : 'Return All' ,
name : 'returnAll' ,
type : 'boolean' ,
default : false ,
description : 'Whether to return all results or only up to a given limit' ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'getAll' ] ,
2021-07-17 02:43:45 -07:00
} ,
} ,
} ,
2022-10-18 12:09:36 -07:00
{
2022-11-22 04:43:28 -08:00
displayName :
'By default, you cannot page through more than 10,000 hits. To page through more hits, add "Sort" from options.' ,
2022-10-18 12:09:36 -07:00
name : 'paginateNotice' ,
type : 'notice' ,
default : '' ,
displayOptions : {
show : {
2022-11-22 04:43:28 -08:00
resource : [ 'document' ] ,
operation : [ 'getAll' ] ,
returnAll : [ true ] ,
2022-10-18 12:09:36 -07:00
} ,
} ,
} ,
2021-07-17 02:43:45 -07:00
{
displayName : 'Limit' ,
name : 'limit' ,
type : 'number' ,
default : 50 ,
2022-05-06 14:01:25 -07:00
description : 'Max number of results to return' ,
2021-07-17 02:43:45 -07:00
typeOptions : {
minValue : 1 ,
} ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'getAll' ] ,
returnAll : [ false ] ,
2021-07-17 02:43:45 -07:00
} ,
} ,
} ,
2021-07-18 05:21:30 -07:00
{
2022-05-20 14:47:24 -07:00
displayName : 'Simplify' ,
2021-07-18 05:21:30 -07:00
name : 'simple' ,
type : 'boolean' ,
default : true ,
description : 'Whether to return a simplified version of the response instead of the raw data' ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'getAll' ] ,
2021-07-18 05:21:30 -07:00
} ,
} ,
} ,
2021-07-17 02:43:45 -07:00
{
displayName : 'Options' ,
name : 'options' ,
type : 'collection' ,
placeholder : 'Add Option' ,
default : { } ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'getAll' ] ,
2021-07-17 02:43:45 -07:00
} ,
} ,
options : [
{
displayName : 'Allow No Indices' ,
name : 'allow_no_indices' ,
2022-06-20 07:54:01 -07:00
// eslint-disable-next-line n8n-nodes-base/node-param-description-boolean-without-whether
2022-08-01 13:47:55 -07:00
description :
'If false, return an error if any of the following targets only missing/closed indices: wildcard expression, index alias, or <code>_all</code> value. Defaults to true.' ,
2021-07-17 02:43:45 -07:00
type : 'boolean' ,
default : true ,
} ,
{
displayName : 'Allow Partial Search Results' ,
name : 'allow_partial_search_results' ,
2022-06-20 07:54:01 -07:00
// eslint-disable-next-line n8n-nodes-base/node-param-description-boolean-without-whether
2022-08-01 13:47:55 -07:00
description :
'<p>If true, return partial results if there are shard request timeouts or shard failures.</p><p>If false, returns an error with no partial results. Defaults to true.</p>.' ,
2021-07-17 02:43:45 -07:00
type : 'boolean' ,
default : true ,
} ,
{
displayName : 'Batched Reduce Size' ,
name : 'batched_reduce_size' ,
2022-08-01 13:47:55 -07:00
description :
'Number of shard results that should be reduced at once on the coordinating node. Defaults to 512.' ,
2021-07-17 02:43:45 -07:00
type : 'number' ,
typeOptions : {
minValue : 2 ,
} ,
default : 512 ,
} ,
{
displayName : 'CCS Minimize Roundtrips' ,
name : 'ccs_minimize_roundtrips' ,
2022-08-01 13:47:55 -07:00
description :
'Whether network round-trips between the coordinating node and the remote clusters are minimized when executing cross-cluster search (CCS) requests. Defaults to true.' ,
2021-07-17 02:43:45 -07:00
type : 'boolean' ,
default : true ,
} ,
{
displayName : 'Doc Value Fields' ,
name : 'docvalue_fields' ,
2022-08-01 13:47:55 -07:00
description :
'Comma-separated list of fields to return as the docvalue representation of a field for each hit' ,
2021-07-17 02:43:45 -07:00
type : 'string' ,
default : '' ,
} ,
{
displayName : 'Expand Wildcards' ,
name : 'expand_wildcards' ,
2022-08-01 13:47:55 -07:00
description :
'Type of index that wildcard expressions can match. Defaults to <code>open</code>' ,
2021-07-17 02:43:45 -07:00
type : 'options' ,
options : [
{
name : 'All' ,
value : 'all' ,
} ,
{
name : 'Closed' ,
value : 'closed' ,
} ,
{
name : 'Hidden' ,
value : 'hidden' ,
} ,
{
name : 'None' ,
value : 'none' ,
} ,
{
name : 'Open' ,
value : 'open' ,
} ,
] ,
default : 'open' ,
} ,
{
displayName : 'Explain' ,
name : 'explain' ,
2022-08-01 13:47:55 -07:00
description :
'Whether to return detailed information about score computation as part of a hit. Defaults to false.' ,
2021-07-17 02:43:45 -07:00
type : 'boolean' ,
default : false ,
} ,
{
displayName : 'Ignore Throttled' ,
name : 'ignore_throttled' ,
2022-08-01 13:47:55 -07:00
description :
'Whether concrete, expanded or aliased indices are ignored when frozen. Defaults to true.' ,
2021-07-17 02:43:45 -07:00
type : 'boolean' ,
default : true ,
} ,
{
displayName : 'Ignore Unavailable' ,
name : 'ignore_unavailable' ,
2022-08-01 13:47:55 -07:00
description :
'Whether missing or closed indices are not included in the response. Defaults to false.' ,
2021-07-17 02:43:45 -07:00
type : 'boolean' ,
default : false ,
} ,
{
displayName : 'Max Concurrent Shard Requests' ,
name : 'max_concurrent_shard_requests' ,
2022-08-01 13:47:55 -07:00
description :
'Define the number of shard requests per node this search executes concurrently. Defaults to 5.' ,
2021-07-17 02:43:45 -07:00
type : 'number' ,
default : 5 ,
} ,
{
displayName : 'Pre-Filter Shard Size' ,
name : 'pre_filter_shard_size' ,
2022-08-01 13:47:55 -07:00
description :
'Define a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting. Only used if the number of shards the search request expands to exceeds the threshold.' ,
2021-07-17 02:43:45 -07:00
type : 'number' ,
typeOptions : {
minValue : 1 ,
} ,
default : 1 ,
} ,
{
displayName : 'Query' ,
name : 'query' ,
2022-08-01 13:47:55 -07:00
description :
'Query in the <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html">Elasticsearch Query DSL</a>' ,
2021-07-17 02:43:45 -07:00
type : 'json' ,
typeOptions : {
alwaysOpenEditWindow : true ,
} ,
default : '' ,
placeholder : placeholders.query ,
} ,
{
displayName : 'Request Cache' ,
name : 'request_cache' ,
2022-08-01 13:47:55 -07:00
description :
'Whether the caching of search results is enabled for requests where size is 0. See <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/shard-request-cache.html">Elasticsearch shard request cache settings</a>.' ,
2021-07-17 02:43:45 -07:00
type : 'boolean' ,
default : false ,
} ,
{
displayName : 'Routing' ,
name : 'routing' ,
description : 'Target this primary shard' ,
type : 'string' ,
default : '' ,
} ,
{
displayName : 'Search Type' ,
name : 'search_type' ,
2022-08-01 13:47:55 -07:00
description :
'How distributed term frequencies are calculated for relevance scoring. Defaults to Query then Fetch.' ,
2021-07-17 02:43:45 -07:00
type : 'options' ,
options : [
{
name : 'DFS Query Then Fetch' ,
value : 'dfs_query_then_fetch' ,
} ,
{
name : 'Query Then Fetch' ,
value : 'query_then_fetch' ,
} ,
] ,
default : 'query_then_fetch' ,
} ,
{
displayName : 'Sequence Number and Primary Term' ,
name : 'seq_no_primary_term' ,
2022-08-01 13:47:55 -07:00
description :
'Whether to return the sequence number and primary term of the last modification of each hit. See <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/optimistic-concurrency-control.html">Optimistic concurrency control</a>.' ,
2021-07-17 02:43:45 -07:00
type : 'boolean' ,
default : false ,
} ,
{
displayName : 'Sort' ,
name : 'sort' ,
description : 'Comma-separated list of <code>field:direction</code> pairs' ,
type : 'string' ,
default : '' ,
} ,
2022-07-10 03:11:12 -07:00
{
displayName : 'Source Excludes' ,
name : '_source_excludes' ,
description : 'Comma-separated list of source fields to exclude from the response' ,
type : 'string' ,
default : '' ,
} ,
{
displayName : 'Source Includes' ,
name : '_source_includes' ,
description : 'Comma-separated list of source fields to include in the response' ,
type : 'string' ,
default : '' ,
} ,
2021-07-17 02:43:45 -07:00
{
displayName : 'Stats' ,
name : 'stats' ,
description : 'Tag of the request for logging and statistical purposes' ,
type : 'string' ,
default : '' ,
} ,
{
displayName : 'Stored Fields' ,
name : 'stored_fields' ,
2022-08-01 13:47:55 -07:00
description :
'Whether to retrieve the document fields stored in the index rather than the document <code>_source</code>. Defaults to false.' ,
2021-07-17 02:43:45 -07:00
type : 'boolean' ,
default : false ,
} ,
{
displayName : 'Terminate After' ,
name : 'terminate_after' ,
description : 'Max number of documents to collect for each shard' ,
type : 'number' ,
default : 0 ,
} ,
{
displayName : 'Timeout' ,
name : 'timeout' ,
2022-08-01 13:47:55 -07:00
description :
'Period to wait for active shards. Defaults to <code>1m</code> (one minute). See the <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#time-units">Elasticsearch time units reference</a>' ,
2021-07-17 02:43:45 -07:00
type : 'string' ,
default : '1m' ,
} ,
{
displayName : 'Track Scores' ,
name : 'track_scores' ,
2022-08-01 13:47:55 -07:00
description :
'Whether to calculate and return document scores, even if the scores are not used for sorting. Defaults to false.' ,
2021-07-17 02:43:45 -07:00
type : 'boolean' ,
default : false ,
} ,
{
displayName : 'Track Total Hits' ,
name : 'track_total_hits' ,
2022-04-22 09:29:51 -07:00
description : 'Number of hits matching the query to count accurately. Defaults to 10000.' ,
2021-07-17 02:43:45 -07:00
type : 'number' ,
default : 10000 ,
} ,
{
displayName : 'Version' ,
name : 'version' ,
2022-06-20 07:54:01 -07:00
description : 'Whether to return document version as part of a hit. Defaults to false.' ,
2021-07-17 02:43:45 -07:00
type : 'boolean' ,
default : false ,
} ,
] ,
} ,
// ----------------------------------------
// document: create
// ----------------------------------------
{
displayName : 'Index ID' ,
name : 'indexId' ,
description : 'ID of the index to add the document to' ,
type : 'string' ,
required : true ,
default : '' ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'create' ] ,
2021-07-17 02:43:45 -07:00
} ,
} ,
} ,
{
displayName : 'Data to Send' ,
name : 'dataToSend' ,
type : 'options' ,
options : [
{
name : 'Define Below for Each Column' ,
value : 'defineBelow' ,
description : 'Set the value for each destination column' ,
} ,
{
2022-06-03 10:23:49 -07:00
name : 'Auto-Map Input Data to Columns' ,
2021-07-17 02:43:45 -07:00
value : 'autoMapInputData' ,
description : 'Use when node input properties match destination column names' ,
} ,
] ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'create' ] ,
2021-07-17 02:43:45 -07:00
} ,
} ,
default : 'defineBelow' ,
description : 'Whether to insert the input data this node receives in the new row' ,
} ,
{
displayName : 'Inputs to Ignore' ,
name : 'inputsToIgnore' ,
type : 'string' ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'create' ] ,
dataToSend : [ 'autoMapInputData' ] ,
2021-07-17 02:43:45 -07:00
} ,
} ,
default : '' ,
2022-08-01 13:47:55 -07:00
description :
'List of input properties to avoid sending, separated by commas. Leave empty to send all properties.' ,
2021-07-17 02:43:45 -07:00
placeholder : 'Enter properties...' ,
} ,
{
displayName : 'Fields to Send' ,
name : 'fieldsUi' ,
placeholder : 'Add Field' ,
type : 'fixedCollection' ,
typeOptions : {
multipleValueButtonText : 'Add Field to Send' ,
multipleValues : true ,
} ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'create' ] ,
dataToSend : [ 'defineBelow' ] ,
2021-07-17 02:43:45 -07:00
} ,
} ,
default : { } ,
options : [
{
displayName : 'Field' ,
name : 'fieldValues' ,
values : [
{
displayName : 'Field Name' ,
name : 'fieldId' ,
type : 'string' ,
default : '' ,
} ,
{
displayName : 'Field Value' ,
name : 'fieldValue' ,
type : 'string' ,
default : '' ,
} ,
] ,
} ,
] ,
} ,
{
displayName : 'Additional Fields' ,
name : 'additionalFields' ,
type : 'collection' ,
placeholder : 'Add Field' ,
default : { } ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'create' ] ,
2021-07-17 02:43:45 -07:00
} ,
} ,
options : [
{
displayName : 'Document ID' ,
name : 'documentId' ,
description : 'ID of the document to create and add to the index' ,
type : 'string' ,
default : '' ,
} ,
{
displayName : 'Routing' ,
name : 'routing' ,
description : 'Target this primary shard' ,
type : 'string' ,
default : '' ,
} ,
{
displayName : 'Timeout' ,
name : 'timeout' ,
2022-08-01 13:47:55 -07:00
description :
'Period to wait for active shards. Defaults to <code>1m</code> (one minute). See the <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#time-units">Elasticsearch time units reference</a>' ,
2021-07-17 02:43:45 -07:00
type : 'string' ,
default : '1m' ,
} ,
] ,
} ,
feat(Elasticsearch Node): Add credential tests, index pipelines and index refresh (#2420)
* 🐛 ES query string not passed to request
* 🔑 Add ES credential test
* ✨ Add ES index pipelines and index refresh
* :hammer: merge fix
* :zap: renamed additional filds as options
* :zap: added ignore ssl to credentials
* :zap: Improvements
* :zap: Improvements
* feat(Redis Node): Add push and pop operations (#3127)
* ✨ Add push and pop operations
* :zap: linter fixes
* :zap: linter fixes
* 🐛 Fix errors and remove overwrite
* 🐛 Remove errant hint
* :zap: Small change
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* refactor: Telemetry updates (#3529)
* Init unit tests for telemetry
* Update telemetry tests
* Test Workflow execution errored event
* Add new tracking logic in pulse
* cleanup
* interfaces
* Add event_version for Workflow execution count event
* add version_cli in all events
* add user saved credentials event
* update manual wf exec finished, fixes
* improve typings, lint
* add node_graph_string in User clicked execute workflow button event
* add User set node operation or mode event
* Add instance started event in FE
* Add User clicked retry execution button event
* add expression editor event
* add input node type to add node event
* add User stopped workflow execution wvent
* add error message in saved credential event
* update stop execution event
* add execution preflight event
* Remove instance started even tfrom FE, add session started to FE,BE
* improve typing
* remove node_graph as property from all events
* move back from default export
* move psl npm package to cli package
* cr
* update webhook node domain logic
* fix is_valid for User saved credentials event
* fix Expression Editor variable selector event
* add caused_by_credential in preflight event
* undo webhook_domain
* change node_type to full type
* add webhook_domain property in manual execution event (#3680)
* add webhook_domain property in manual execution event
* lint fix
* feat(SpreadsheetFile Node): Allow skipping headers when writing spreadsheets (#3234)
* ⚡ Allow skipping headers when writing spreadsheets
* Fix type on sheet options
* fix(Telegram Node): Fix sending binaryData media (photo, document, video etc.) (#3408)
* fixed send media (photo, document, video etc.) issues on Telegram Node
* fixed send media (photo, document, video etc.) issues on Telegram Node
* file name is optional now
* :zap: lock file and linter fix
* :zap: improvements
* :zap: fixes
* :zap: Improvements
* :zap: Add placeholder to File Name
* :zap: Add error message
* :fire: Remove requestWithAuthentication
* :zap: Fix typo
* :shirt: Fix linting issues
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* feat(Freshworks CRM Node): Add Search + Lookup functionality (#3131)
* Add fields and Ops for Lookup Search
* Adds Search (Search + Lookup) operations
* :hammer: credentials update
* :hammer: improvements
* :zap: clean up and linter fixes
* :zap: merged search and query, more hints
* :zap: Improvements
* :zap: Add generic type to authentication method
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* feat(Jira Trigger Node): Add optional query auth for security (#3172)
* ✨ Add query auth for Jira Trigger security
* :zap: small fixes:
* :zap: Response with 403 when invalid query authentication
* :shirt: Fix linting issues
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* :zap: Changed authentication to use the generic type
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Ahsan Virani <ahsan.virani@gmail.com>
Co-authored-by: Nicholas Penree <nick@penree.com>
Co-authored-by: Taha Sönmez <35905778+tahasonmez@users.noreply.github.com>
Co-authored-by: Jan Thiel <JanThiel@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-07-10 02:00:47 -07:00
{
displayName : 'Options' ,
name : 'options' ,
type : 'collection' ,
placeholder : 'Add Field' ,
default : { } ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'create' ] ,
feat(Elasticsearch Node): Add credential tests, index pipelines and index refresh (#2420)
* 🐛 ES query string not passed to request
* 🔑 Add ES credential test
* ✨ Add ES index pipelines and index refresh
* :hammer: merge fix
* :zap: renamed additional filds as options
* :zap: added ignore ssl to credentials
* :zap: Improvements
* :zap: Improvements
* feat(Redis Node): Add push and pop operations (#3127)
* ✨ Add push and pop operations
* :zap: linter fixes
* :zap: linter fixes
* 🐛 Fix errors and remove overwrite
* 🐛 Remove errant hint
* :zap: Small change
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* refactor: Telemetry updates (#3529)
* Init unit tests for telemetry
* Update telemetry tests
* Test Workflow execution errored event
* Add new tracking logic in pulse
* cleanup
* interfaces
* Add event_version for Workflow execution count event
* add version_cli in all events
* add user saved credentials event
* update manual wf exec finished, fixes
* improve typings, lint
* add node_graph_string in User clicked execute workflow button event
* add User set node operation or mode event
* Add instance started event in FE
* Add User clicked retry execution button event
* add expression editor event
* add input node type to add node event
* add User stopped workflow execution wvent
* add error message in saved credential event
* update stop execution event
* add execution preflight event
* Remove instance started even tfrom FE, add session started to FE,BE
* improve typing
* remove node_graph as property from all events
* move back from default export
* move psl npm package to cli package
* cr
* update webhook node domain logic
* fix is_valid for User saved credentials event
* fix Expression Editor variable selector event
* add caused_by_credential in preflight event
* undo webhook_domain
* change node_type to full type
* add webhook_domain property in manual execution event (#3680)
* add webhook_domain property in manual execution event
* lint fix
* feat(SpreadsheetFile Node): Allow skipping headers when writing spreadsheets (#3234)
* ⚡ Allow skipping headers when writing spreadsheets
* Fix type on sheet options
* fix(Telegram Node): Fix sending binaryData media (photo, document, video etc.) (#3408)
* fixed send media (photo, document, video etc.) issues on Telegram Node
* fixed send media (photo, document, video etc.) issues on Telegram Node
* file name is optional now
* :zap: lock file and linter fix
* :zap: improvements
* :zap: fixes
* :zap: Improvements
* :zap: Add placeholder to File Name
* :zap: Add error message
* :fire: Remove requestWithAuthentication
* :zap: Fix typo
* :shirt: Fix linting issues
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* feat(Freshworks CRM Node): Add Search + Lookup functionality (#3131)
* Add fields and Ops for Lookup Search
* Adds Search (Search + Lookup) operations
* :hammer: credentials update
* :hammer: improvements
* :zap: clean up and linter fixes
* :zap: merged search and query, more hints
* :zap: Improvements
* :zap: Add generic type to authentication method
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* feat(Jira Trigger Node): Add optional query auth for security (#3172)
* ✨ Add query auth for Jira Trigger security
* :zap: small fixes:
* :zap: Response with 403 when invalid query authentication
* :shirt: Fix linting issues
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* :zap: Changed authentication to use the generic type
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Ahsan Virani <ahsan.virani@gmail.com>
Co-authored-by: Nicholas Penree <nick@penree.com>
Co-authored-by: Taha Sönmez <35905778+tahasonmez@users.noreply.github.com>
Co-authored-by: Jan Thiel <JanThiel@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-07-10 02:00:47 -07:00
} ,
} ,
options : [
{
displayName : 'Pipeline ID' ,
name : 'pipeline' ,
description : 'ID of the pipeline to use to preprocess incoming documents' ,
type : 'string' ,
default : '' ,
} ,
{
displayName : 'Refresh' ,
name : 'refresh' ,
2022-08-01 13:47:55 -07:00
description :
'If true, Elasticsearch refreshes the affected shards to make this operation visible to search,if wait_for then wait for a refresh to make this operation visible to search,if false do nothing with refreshes' ,
feat(Elasticsearch Node): Add credential tests, index pipelines and index refresh (#2420)
* 🐛 ES query string not passed to request
* 🔑 Add ES credential test
* ✨ Add ES index pipelines and index refresh
* :hammer: merge fix
* :zap: renamed additional filds as options
* :zap: added ignore ssl to credentials
* :zap: Improvements
* :zap: Improvements
* feat(Redis Node): Add push and pop operations (#3127)
* ✨ Add push and pop operations
* :zap: linter fixes
* :zap: linter fixes
* 🐛 Fix errors and remove overwrite
* 🐛 Remove errant hint
* :zap: Small change
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* refactor: Telemetry updates (#3529)
* Init unit tests for telemetry
* Update telemetry tests
* Test Workflow execution errored event
* Add new tracking logic in pulse
* cleanup
* interfaces
* Add event_version for Workflow execution count event
* add version_cli in all events
* add user saved credentials event
* update manual wf exec finished, fixes
* improve typings, lint
* add node_graph_string in User clicked execute workflow button event
* add User set node operation or mode event
* Add instance started event in FE
* Add User clicked retry execution button event
* add expression editor event
* add input node type to add node event
* add User stopped workflow execution wvent
* add error message in saved credential event
* update stop execution event
* add execution preflight event
* Remove instance started even tfrom FE, add session started to FE,BE
* improve typing
* remove node_graph as property from all events
* move back from default export
* move psl npm package to cli package
* cr
* update webhook node domain logic
* fix is_valid for User saved credentials event
* fix Expression Editor variable selector event
* add caused_by_credential in preflight event
* undo webhook_domain
* change node_type to full type
* add webhook_domain property in manual execution event (#3680)
* add webhook_domain property in manual execution event
* lint fix
* feat(SpreadsheetFile Node): Allow skipping headers when writing spreadsheets (#3234)
* ⚡ Allow skipping headers when writing spreadsheets
* Fix type on sheet options
* fix(Telegram Node): Fix sending binaryData media (photo, document, video etc.) (#3408)
* fixed send media (photo, document, video etc.) issues on Telegram Node
* fixed send media (photo, document, video etc.) issues on Telegram Node
* file name is optional now
* :zap: lock file and linter fix
* :zap: improvements
* :zap: fixes
* :zap: Improvements
* :zap: Add placeholder to File Name
* :zap: Add error message
* :fire: Remove requestWithAuthentication
* :zap: Fix typo
* :shirt: Fix linting issues
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* feat(Freshworks CRM Node): Add Search + Lookup functionality (#3131)
* Add fields and Ops for Lookup Search
* Adds Search (Search + Lookup) operations
* :hammer: credentials update
* :hammer: improvements
* :zap: clean up and linter fixes
* :zap: merged search and query, more hints
* :zap: Improvements
* :zap: Add generic type to authentication method
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* feat(Jira Trigger Node): Add optional query auth for security (#3172)
* ✨ Add query auth for Jira Trigger security
* :zap: small fixes:
* :zap: Response with 403 when invalid query authentication
* :shirt: Fix linting issues
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* :zap: Changed authentication to use the generic type
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Ahsan Virani <ahsan.virani@gmail.com>
Co-authored-by: Nicholas Penree <nick@penree.com>
Co-authored-by: Taha Sönmez <35905778+tahasonmez@users.noreply.github.com>
Co-authored-by: Jan Thiel <JanThiel@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-07-10 02:00:47 -07:00
type : 'options' ,
default : 'false' ,
options : [
{
name : 'True' ,
value : 'true' ,
description : 'Refreshes the affected shards to make this operation visible to search' ,
} ,
{
name : 'Wait For' ,
value : 'wait_for' ,
description : 'Wait for a refresh to make this operation visible' ,
} ,
{
name : 'False' ,
value : 'false' ,
description : 'Do nothing with refreshes' ,
} ,
] ,
} ,
] ,
} ,
2021-07-17 02:43:45 -07:00
// ----------------------------------------
// document: update
// ----------------------------------------
{
displayName : 'Index ID' ,
name : 'indexId' ,
description : 'ID of the document to update' ,
type : 'string' ,
required : true ,
default : '' ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'update' ] ,
2021-07-17 02:43:45 -07:00
} ,
} ,
} ,
{
displayName : 'Document ID' ,
name : 'documentId' ,
description : 'ID of the document to update' ,
type : 'string' ,
required : true ,
default : '' ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'update' ] ,
2021-07-17 02:43:45 -07:00
} ,
} ,
} ,
{
displayName : 'Data to Send' ,
name : 'dataToSend' ,
type : 'options' ,
options : [
{
name : 'Define Below for Each Column' ,
value : 'defineBelow' ,
description : 'Set the value for each destination column' ,
} ,
{
2022-06-03 10:23:49 -07:00
name : 'Auto-Map Input Data to Columns' ,
2021-07-17 02:43:45 -07:00
value : 'autoMapInputData' ,
description : 'Use when node input properties match destination column names' ,
} ,
] ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'update' ] ,
2021-07-17 02:43:45 -07:00
} ,
} ,
default : 'defineBelow' ,
description : 'Whether to insert the input data this node receives in the new row' ,
} ,
{
displayName : 'Inputs to Ignore' ,
name : 'inputsToIgnore' ,
type : 'string' ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'update' ] ,
dataToSend : [ 'autoMapInputData' ] ,
2021-07-17 02:43:45 -07:00
} ,
} ,
default : '' ,
2022-08-01 13:47:55 -07:00
description :
'List of input properties to avoid sending, separated by commas. Leave empty to send all properties.' ,
2021-07-17 02:43:45 -07:00
placeholder : 'Enter properties...' ,
} ,
{
displayName : 'Fields to Send' ,
name : 'fieldsUi' ,
placeholder : 'Add Field' ,
type : 'fixedCollection' ,
typeOptions : {
multipleValueButtonText : 'Add Field to Send' ,
multipleValues : true ,
} ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'update' ] ,
dataToSend : [ 'defineBelow' ] ,
2021-07-17 02:43:45 -07:00
} ,
} ,
default : { } ,
options : [
{
displayName : 'Field' ,
name : 'fieldValues' ,
values : [
{
displayName : 'Field Name' ,
name : 'fieldId' ,
type : 'string' ,
default : '' ,
} ,
{
displayName : 'Field Value' ,
name : 'fieldValue' ,
type : 'string' ,
default : '' ,
} ,
] ,
} ,
] ,
} ,
feat(Elasticsearch Node): Add credential tests, index pipelines and index refresh (#2420)
* 🐛 ES query string not passed to request
* 🔑 Add ES credential test
* ✨ Add ES index pipelines and index refresh
* :hammer: merge fix
* :zap: renamed additional filds as options
* :zap: added ignore ssl to credentials
* :zap: Improvements
* :zap: Improvements
* feat(Redis Node): Add push and pop operations (#3127)
* ✨ Add push and pop operations
* :zap: linter fixes
* :zap: linter fixes
* 🐛 Fix errors and remove overwrite
* 🐛 Remove errant hint
* :zap: Small change
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* refactor: Telemetry updates (#3529)
* Init unit tests for telemetry
* Update telemetry tests
* Test Workflow execution errored event
* Add new tracking logic in pulse
* cleanup
* interfaces
* Add event_version for Workflow execution count event
* add version_cli in all events
* add user saved credentials event
* update manual wf exec finished, fixes
* improve typings, lint
* add node_graph_string in User clicked execute workflow button event
* add User set node operation or mode event
* Add instance started event in FE
* Add User clicked retry execution button event
* add expression editor event
* add input node type to add node event
* add User stopped workflow execution wvent
* add error message in saved credential event
* update stop execution event
* add execution preflight event
* Remove instance started even tfrom FE, add session started to FE,BE
* improve typing
* remove node_graph as property from all events
* move back from default export
* move psl npm package to cli package
* cr
* update webhook node domain logic
* fix is_valid for User saved credentials event
* fix Expression Editor variable selector event
* add caused_by_credential in preflight event
* undo webhook_domain
* change node_type to full type
* add webhook_domain property in manual execution event (#3680)
* add webhook_domain property in manual execution event
* lint fix
* feat(SpreadsheetFile Node): Allow skipping headers when writing spreadsheets (#3234)
* ⚡ Allow skipping headers when writing spreadsheets
* Fix type on sheet options
* fix(Telegram Node): Fix sending binaryData media (photo, document, video etc.) (#3408)
* fixed send media (photo, document, video etc.) issues on Telegram Node
* fixed send media (photo, document, video etc.) issues on Telegram Node
* file name is optional now
* :zap: lock file and linter fix
* :zap: improvements
* :zap: fixes
* :zap: Improvements
* :zap: Add placeholder to File Name
* :zap: Add error message
* :fire: Remove requestWithAuthentication
* :zap: Fix typo
* :shirt: Fix linting issues
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* feat(Freshworks CRM Node): Add Search + Lookup functionality (#3131)
* Add fields and Ops for Lookup Search
* Adds Search (Search + Lookup) operations
* :hammer: credentials update
* :hammer: improvements
* :zap: clean up and linter fixes
* :zap: merged search and query, more hints
* :zap: Improvements
* :zap: Add generic type to authentication method
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* feat(Jira Trigger Node): Add optional query auth for security (#3172)
* ✨ Add query auth for Jira Trigger security
* :zap: small fixes:
* :zap: Response with 403 when invalid query authentication
* :shirt: Fix linting issues
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* :zap: Changed authentication to use the generic type
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Ahsan Virani <ahsan.virani@gmail.com>
Co-authored-by: Nicholas Penree <nick@penree.com>
Co-authored-by: Taha Sönmez <35905778+tahasonmez@users.noreply.github.com>
Co-authored-by: Jan Thiel <JanThiel@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-07-10 02:00:47 -07:00
{
displayName : 'Options' ,
name : 'options' ,
type : 'collection' ,
placeholder : 'Add Field' ,
default : { } ,
displayOptions : {
show : {
2022-08-01 13:47:55 -07:00
resource : [ 'document' ] ,
operation : [ 'update' ] ,
feat(Elasticsearch Node): Add credential tests, index pipelines and index refresh (#2420)
* 🐛 ES query string not passed to request
* 🔑 Add ES credential test
* ✨ Add ES index pipelines and index refresh
* :hammer: merge fix
* :zap: renamed additional filds as options
* :zap: added ignore ssl to credentials
* :zap: Improvements
* :zap: Improvements
* feat(Redis Node): Add push and pop operations (#3127)
* ✨ Add push and pop operations
* :zap: linter fixes
* :zap: linter fixes
* 🐛 Fix errors and remove overwrite
* 🐛 Remove errant hint
* :zap: Small change
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* refactor: Telemetry updates (#3529)
* Init unit tests for telemetry
* Update telemetry tests
* Test Workflow execution errored event
* Add new tracking logic in pulse
* cleanup
* interfaces
* Add event_version for Workflow execution count event
* add version_cli in all events
* add user saved credentials event
* update manual wf exec finished, fixes
* improve typings, lint
* add node_graph_string in User clicked execute workflow button event
* add User set node operation or mode event
* Add instance started event in FE
* Add User clicked retry execution button event
* add expression editor event
* add input node type to add node event
* add User stopped workflow execution wvent
* add error message in saved credential event
* update stop execution event
* add execution preflight event
* Remove instance started even tfrom FE, add session started to FE,BE
* improve typing
* remove node_graph as property from all events
* move back from default export
* move psl npm package to cli package
* cr
* update webhook node domain logic
* fix is_valid for User saved credentials event
* fix Expression Editor variable selector event
* add caused_by_credential in preflight event
* undo webhook_domain
* change node_type to full type
* add webhook_domain property in manual execution event (#3680)
* add webhook_domain property in manual execution event
* lint fix
* feat(SpreadsheetFile Node): Allow skipping headers when writing spreadsheets (#3234)
* ⚡ Allow skipping headers when writing spreadsheets
* Fix type on sheet options
* fix(Telegram Node): Fix sending binaryData media (photo, document, video etc.) (#3408)
* fixed send media (photo, document, video etc.) issues on Telegram Node
* fixed send media (photo, document, video etc.) issues on Telegram Node
* file name is optional now
* :zap: lock file and linter fix
* :zap: improvements
* :zap: fixes
* :zap: Improvements
* :zap: Add placeholder to File Name
* :zap: Add error message
* :fire: Remove requestWithAuthentication
* :zap: Fix typo
* :shirt: Fix linting issues
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* feat(Freshworks CRM Node): Add Search + Lookup functionality (#3131)
* Add fields and Ops for Lookup Search
* Adds Search (Search + Lookup) operations
* :hammer: credentials update
* :hammer: improvements
* :zap: clean up and linter fixes
* :zap: merged search and query, more hints
* :zap: Improvements
* :zap: Add generic type to authentication method
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* feat(Jira Trigger Node): Add optional query auth for security (#3172)
* ✨ Add query auth for Jira Trigger security
* :zap: small fixes:
* :zap: Response with 403 when invalid query authentication
* :shirt: Fix linting issues
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* :zap: Changed authentication to use the generic type
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Ahsan Virani <ahsan.virani@gmail.com>
Co-authored-by: Nicholas Penree <nick@penree.com>
Co-authored-by: Taha Sönmez <35905778+tahasonmez@users.noreply.github.com>
Co-authored-by: Jan Thiel <JanThiel@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-07-10 02:00:47 -07:00
} ,
} ,
options : [
{
displayName : 'Refresh' ,
name : 'refresh' ,
2022-08-01 13:47:55 -07:00
description :
'If true, Elasticsearch refreshes the affected shards to make this operation visible to search,if wait_for then wait for a refresh to make this operation visible to search,if false do nothing with refreshes' ,
feat(Elasticsearch Node): Add credential tests, index pipelines and index refresh (#2420)
* 🐛 ES query string not passed to request
* 🔑 Add ES credential test
* ✨ Add ES index pipelines and index refresh
* :hammer: merge fix
* :zap: renamed additional filds as options
* :zap: added ignore ssl to credentials
* :zap: Improvements
* :zap: Improvements
* feat(Redis Node): Add push and pop operations (#3127)
* ✨ Add push and pop operations
* :zap: linter fixes
* :zap: linter fixes
* 🐛 Fix errors and remove overwrite
* 🐛 Remove errant hint
* :zap: Small change
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* refactor: Telemetry updates (#3529)
* Init unit tests for telemetry
* Update telemetry tests
* Test Workflow execution errored event
* Add new tracking logic in pulse
* cleanup
* interfaces
* Add event_version for Workflow execution count event
* add version_cli in all events
* add user saved credentials event
* update manual wf exec finished, fixes
* improve typings, lint
* add node_graph_string in User clicked execute workflow button event
* add User set node operation or mode event
* Add instance started event in FE
* Add User clicked retry execution button event
* add expression editor event
* add input node type to add node event
* add User stopped workflow execution wvent
* add error message in saved credential event
* update stop execution event
* add execution preflight event
* Remove instance started even tfrom FE, add session started to FE,BE
* improve typing
* remove node_graph as property from all events
* move back from default export
* move psl npm package to cli package
* cr
* update webhook node domain logic
* fix is_valid for User saved credentials event
* fix Expression Editor variable selector event
* add caused_by_credential in preflight event
* undo webhook_domain
* change node_type to full type
* add webhook_domain property in manual execution event (#3680)
* add webhook_domain property in manual execution event
* lint fix
* feat(SpreadsheetFile Node): Allow skipping headers when writing spreadsheets (#3234)
* ⚡ Allow skipping headers when writing spreadsheets
* Fix type on sheet options
* fix(Telegram Node): Fix sending binaryData media (photo, document, video etc.) (#3408)
* fixed send media (photo, document, video etc.) issues on Telegram Node
* fixed send media (photo, document, video etc.) issues on Telegram Node
* file name is optional now
* :zap: lock file and linter fix
* :zap: improvements
* :zap: fixes
* :zap: Improvements
* :zap: Add placeholder to File Name
* :zap: Add error message
* :fire: Remove requestWithAuthentication
* :zap: Fix typo
* :shirt: Fix linting issues
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* feat(Freshworks CRM Node): Add Search + Lookup functionality (#3131)
* Add fields and Ops for Lookup Search
* Adds Search (Search + Lookup) operations
* :hammer: credentials update
* :hammer: improvements
* :zap: clean up and linter fixes
* :zap: merged search and query, more hints
* :zap: Improvements
* :zap: Add generic type to authentication method
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* feat(Jira Trigger Node): Add optional query auth for security (#3172)
* ✨ Add query auth for Jira Trigger security
* :zap: small fixes:
* :zap: Response with 403 when invalid query authentication
* :shirt: Fix linting issues
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
* :zap: Changed authentication to use the generic type
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Ahsan Virani <ahsan.virani@gmail.com>
Co-authored-by: Nicholas Penree <nick@penree.com>
Co-authored-by: Taha Sönmez <35905778+tahasonmez@users.noreply.github.com>
Co-authored-by: Jan Thiel <JanThiel@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-07-10 02:00:47 -07:00
type : 'options' ,
default : 'false' ,
options : [
{
name : 'True' ,
value : 'true' ,
description : 'Refreshes the affected shards to make this operation visible to search' ,
} ,
{
name : 'Wait For' ,
value : 'wait_for' ,
description : 'Wait for a refresh to make this operation visible' ,
} ,
{
name : 'False' ,
value : 'false' ,
description : 'Do nothing with refreshes' ,
} ,
] ,
} ,
] ,
} ,
2021-12-03 00:44:16 -08:00
] ;