n8n-nodes-base 1.89.0 → 1.90.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/credentials/CustomerIoApi.credentials.js +2 -2
  2. package/dist/credentials/CustomerIoApi.credentials.js.map +1 -1
  3. package/dist/nodes/Aws/__tests__/credentials.js +35 -0
  4. package/dist/nodes/Aws/__tests__/credentials.js.map +1 -0
  5. package/dist/nodes/Code/Pyodide.js +16 -1
  6. package/dist/nodes/Code/Pyodide.js.map +1 -1
  7. package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js +1 -1
  8. package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js.map +1 -1
  9. package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/methods/localResourceMapping.js +3 -1
  10. package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/methods/localResourceMapping.js.map +1 -1
  11. package/dist/nodes/Form/formCompletionUtils.js +1 -3
  12. package/dist/nodes/Form/formCompletionUtils.js.map +1 -1
  13. package/dist/nodes/Google/Sheet/GoogleSheetsTrigger.node.js +12 -4
  14. package/dist/nodes/Google/Sheet/GoogleSheetsTrigger.node.js.map +1 -1
  15. package/dist/nodes/Jira/GenericFunctions.js +7 -3
  16. package/dist/nodes/Jira/GenericFunctions.js.map +1 -1
  17. package/dist/nodes/Jira/Jira.node.js +4 -6
  18. package/dist/nodes/Jira/Jira.node.js.map +1 -1
  19. package/dist/nodes/Microsoft/AzureCosmosDb/test/credentials.js +36 -0
  20. package/dist/nodes/Microsoft/AzureCosmosDb/test/credentials.js.map +1 -0
  21. package/dist/nodes/Microsoft/Excel/test/credentials.js +36 -0
  22. package/dist/nodes/Microsoft/Excel/test/credentials.js.map +1 -0
  23. package/dist/nodes/Microsoft/Storage/test/credentials.js +57 -0
  24. package/dist/nodes/Microsoft/Storage/test/credentials.js.map +1 -0
  25. package/dist/nodes/Microsoft/Teams/test/credentials.js +36 -0
  26. package/dist/nodes/Microsoft/Teams/test/credentials.js.map +1 -0
  27. package/dist/nodes/SplitInBatches/v3/SplitInBatchesV3.node.js +1 -1
  28. package/dist/nodes/SplitInBatches/v3/SplitInBatchesV3.node.js.map +1 -1
  29. package/dist/nodes/Transform/Summarize/utils.js +7 -7
  30. package/dist/nodes/Transform/Summarize/utils.js.map +1 -1
  31. package/dist/nodes/Wordpress/__tests__/workflow/credentials.js +36 -0
  32. package/dist/nodes/Wordpress/__tests__/workflow/credentials.js.map +1 -0
  33. package/dist/test/globalSetup.js +3 -0
  34. package/dist/test/globalSetup.js.map +1 -1
  35. package/dist/test/nodes/ExecuteWorkflow.js +3 -2
  36. package/dist/test/nodes/ExecuteWorkflow.js.map +1 -1
  37. package/dist/test/nodes/Helpers.js +4 -17
  38. package/dist/test/nodes/Helpers.js.map +1 -1
  39. package/dist/test/nodes/credentials-helper.js +9 -13
  40. package/dist/test/nodes/credentials-helper.js.map +1 -1
  41. package/dist/types/nodes.json +3 -3
  42. package/dist/utils/workflowInputsResourceMapping/GenericFunctions.js +6 -1
  43. package/dist/utils/workflowInputsResourceMapping/GenericFunctions.js.map +1 -1
  44. package/package.json +11 -10
  45. package/dist/test/nodes/FakeCredentialsMap.js +0 -313
  46. package/dist/test/nodes/FakeCredentialsMap.js.map +0 -1
@@ -93,7 +93,12 @@ function getFieldEntries(context) {
93
93
  if (Array.isArray(result)) {
94
94
  const dataMode = String(inputSource);
95
95
  const workflow = context.getWorkflow();
96
- return { fields: result, dataMode, subworkflowInfo: { id: workflow.id } };
96
+ const node = context.getNode();
97
+ return {
98
+ fields: result,
99
+ dataMode,
100
+ subworkflowInfo: { workflowId: workflow.id, triggerId: node.id }
101
+ };
97
102
  }
98
103
  throw new import_n8n_workflow.NodeOperationError(context.getNode(), result);
99
104
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../utils/workflowInputsResourceMapping/GenericFunctions.ts"],"sourcesContent":["import { json as generateSchemaFromExample, type SchemaObject } from 'generate-schema';\nimport type { JSONSchema7 } from 'json-schema';\nimport _ from 'lodash';\nimport type {\n\tFieldValueOption,\n\tFieldType,\n\tIWorkflowNodeContext,\n\tINodeExecutionData,\n\tIDataObject,\n\tResourceMapperField,\n\tILocalLoadOptionsFunctions,\n\tWorkflowInputsData,\n\tIExecuteFunctions,\n\tISupplyDataFunctions,\n} from 'n8n-workflow';\nimport { jsonParse, NodeOperationError, EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE } from 'n8n-workflow';\n\nimport {\n\tJSON_EXAMPLE,\n\tINPUT_SOURCE,\n\tWORKFLOW_INPUTS,\n\tVALUES,\n\tTYPE_OPTIONS,\n\tPASSTHROUGH,\n} from './constants';\n\nconst SUPPORTED_TYPES = TYPE_OPTIONS.map((x) => x.value);\n\nfunction parseJsonSchema(schema: JSONSchema7): FieldValueOption[] | string {\n\tif (!schema?.properties) {\n\t\treturn 'Invalid JSON schema. Missing key `properties` in schema';\n\t}\n\n\tif (typeof schema.properties !== 'object') {\n\t\treturn 'Invalid JSON schema. Key `properties` is not an object';\n\t}\n\n\tconst result: FieldValueOption[] = [];\n\tfor (const [name, v] of Object.entries(schema.properties)) {\n\t\tif (typeof v !== 'object') {\n\t\t\treturn `Invalid JSON schema. Value for property '${name}' is not an object`;\n\t\t}\n\n\t\tconst type = v?.type;\n\n\t\tif (type === 'null') {\n\t\t\tresult.push({ name, type: 'any' });\n\t\t} else if (Array.isArray(type)) {\n\t\t\t// Schema allows an array of types, but we don't\n\t\t\treturn `Invalid JSON schema. Array of types for property '${name}' is not supported by n8n. Either provide a single type or use type 'any' to allow any type`;\n\t\t} else if (typeof type !== 'string') {\n\t\t\treturn `Invalid JSON schema. Unexpected non-string type ${type} for property '${name}'`;\n\t\t} else if (!SUPPORTED_TYPES.includes(type as never)) {\n\t\t\treturn `Invalid JSON schema. Unsupported type ${type} for property '${name}'. Supported types are ${JSON.stringify(SUPPORTED_TYPES, null, 1)}`;\n\t\t} else {\n\t\t\tresult.push({ name, type: type as FieldType });\n\t\t}\n\t}\n\treturn result;\n}\n\nfunction parseJsonExample(context: IWorkflowNodeContext): JSONSchema7 {\n\tconst jsonString = context.getNodeParameter(JSON_EXAMPLE, 0, '') as string;\n\tconst json = jsonParse<SchemaObject>(jsonString);\n\n\treturn generateSchemaFromExample(json) as JSONSchema7;\n}\n\nexport function getFieldEntries(context: IWorkflowNodeContext): {\n\tdataMode: WorkflowInputsData['dataMode'];\n\tfields: FieldValueOption[];\n\tsubworkflowInfo?: WorkflowInputsData['subworkflowInfo'];\n} {\n\tconst inputSource = context.getNodeParameter(INPUT_SOURCE, 0, PASSTHROUGH);\n\tlet result: FieldValueOption[] | string = 'Internal Error: Invalid input source';\n\ttry {\n\t\tif (inputSource === WORKFLOW_INPUTS) {\n\t\t\tresult = context.getNodeParameter(\n\t\t\t\t`${WORKFLOW_INPUTS}.${VALUES}`,\n\t\t\t\t0,\n\t\t\t\t[],\n\t\t\t) as FieldValueOption[];\n\t\t} else if (inputSource === JSON_EXAMPLE) {\n\t\t\tconst schema = parseJsonExample(context);\n\t\t\tresult = parseJsonSchema(schema);\n\t\t} else if (inputSource === PASSTHROUGH) {\n\t\t\tresult = [];\n\t\t}\n\t} catch (e: unknown) {\n\t\tresult =\n\t\t\te && typeof e === 'object' && 'message' in e && typeof e.message === 'string'\n\t\t\t\t? e.message\n\t\t\t\t: `Unknown error occurred: ${JSON.stringify(e)}`;\n\t}\n\n\tif (Array.isArray(result)) {\n\t\tconst dataMode = String(inputSource);\n\t\tconst workflow = context.getWorkflow();\n\t\treturn { fields: result, dataMode, subworkflowInfo: { id: workflow.id } };\n\t}\n\tthrow new NodeOperationError(context.getNode(), result);\n}\n\nexport function getWorkflowInputValues(\n\tthis: IExecuteFunctions | ISupplyDataFunctions,\n): INodeExecutionData[] {\n\tconst inputData = this.getInputData();\n\n\treturn inputData.map(({ json, binary }, itemIndex) => {\n\t\tconst itemFieldValues = this.getNodeParameter(\n\t\t\t'workflowInputs.value',\n\t\t\titemIndex,\n\t\t\t{},\n\t\t) as IDataObject;\n\n\t\treturn {\n\t\t\tjson: {\n\t\t\t\t...json,\n\t\t\t\t...itemFieldValues,\n\t\t\t},\n\t\t\tindex: itemIndex,\n\t\t\tpairedItem: {\n\t\t\t\titem: itemIndex,\n\t\t\t},\n\t\t\tbinary,\n\t\t};\n\t});\n}\n\nexport function getCurrentWorkflowInputData(this: IExecuteFunctions | ISupplyDataFunctions) {\n\tconst inputData: INodeExecutionData[] = getWorkflowInputValues.call(this);\n\n\tconst schema = this.getNodeParameter('workflowInputs.schema', 0, []) as ResourceMapperField[];\n\n\tif (schema.length === 0) {\n\t\treturn inputData;\n\t} else {\n\t\tconst removedKeys = new Set(schema.filter((x) => x.removed).map((x) => x.displayName));\n\n\t\tconst filteredInputData: INodeExecutionData[] = inputData.map((item, index) => ({\n\t\t\tindex,\n\t\t\tpairedItem: { item: index },\n\t\t\tjson: _.pickBy(item.json, (_v, key) => !removedKeys.has(key)),\n\t\t}));\n\n\t\treturn filteredInputData;\n\t}\n}\n\nexport async function loadWorkflowInputMappings(\n\tthis: ILocalLoadOptionsFunctions,\n): Promise<WorkflowInputsData> {\n\tconst nodeLoadContext = await this.getWorkflowNodeContext(EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE);\n\tlet fields: ResourceMapperField[] = [];\n\tlet dataMode: string = PASSTHROUGH;\n\tlet subworkflowInfo: { id?: string } | undefined;\n\n\tif (nodeLoadContext) {\n\t\tconst fieldValues = getFieldEntries(nodeLoadContext);\n\t\tdataMode = fieldValues.dataMode;\n\t\tsubworkflowInfo = fieldValues.subworkflowInfo;\n\n\t\tfields = fieldValues.fields.map((currentWorkflowInput) => {\n\t\t\tconst field: ResourceMapperField = {\n\t\t\t\tid: currentWorkflowInput.name,\n\t\t\t\tdisplayName: currentWorkflowInput.name,\n\t\t\t\trequired: false,\n\t\t\t\tdefaultMatch: false,\n\t\t\t\tdisplay: true,\n\t\t\t\tcanBeUsedToMatch: true,\n\t\t\t};\n\n\t\t\tif (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C3F,QAAM,YAAkC,uBAAuB,KAAK,IAAI;AAExE,QAAM,SAAS,KAAK,iBAAiB,yBAAyB,GAAG,CAAC,CAAC;AAEnE,MAAI,OAAO,WAAW,GAAG;AACxB,WAAO;AAAA,EACR,OAAO;AACN,UAAM,cAAc,IAAI,IAAI,OAAO,OAAO,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE,WAAW,CAAC;AAErF,UAAM,oBAA0C,UAAU,IAAI,CAAC,MAAM,WAAW;AAAA,MAC/E;AAAA,MACA,YAAY,EAAE,MAAM,MAAM;AAAA,MAC1B,MAAM,cAAAC,QAAE,OAAO,KAAK,MAAM,CAAC,IAAI,QAAQ,CAAC,YAAY,IAAI,GAAG,CAAC;AAAA,IAC7D,EAAE;AAEF,WAAO;AAAA,EACR;AACD;AAEA,eAAsB,4BAES;AAC9B,QAAM,kBAAkB,MAAM,KAAK,uBAAuB,sDAAkC;AAC5F,MAAI,SAAgC,CAAC;AACrC,MAAI,WAAmB;AACvB,MAAI;AAEJ,MAAI,iBAAiB;AACpB,UAAM,cAAc,gBAAgB,eAAe;AACnD,eAAW,YAAY;AACvB,sBAAkB,YAAY;AAE9B,aAAS,YAAY,OAAO,IAAI,CAAC,yBAAyB;AACzD,YAAM,QAA6B;AAAA,QAClC,IAAI,qBAAqB;AAAA,QACzB,aAAa,qBAAqB;AAAA,QAClC,UAAU;AAAA,QACV,cAAc;AAAA,QACd,SAAS;AAAA,QACT,kBAAkB;AAAA,MACnB;AAEA,UAAI,qBAAqB,SAAS,OAAO;AACxC,cAAM,OAAO,qBAAqB;AAAA,MACnC;AAEA,aAAO;AAAA,IACR,CAAC;AAAA,EACF;AACA,SAAO,EAAE,QAAQ,UAAU,gBAAgB;AAC5C;","names":["generateSchemaFromExample","_"]}
1
+ {"version":3,"sources":["../../../utils/workflowInputsResourceMapping/GenericFunctions.ts"],"sourcesContent":["import { json as generateSchemaFromExample, type SchemaObject } from 'generate-schema';\nimport type { JSONSchema7 } from 'json-schema';\nimport _ from 'lodash';\nimport type {\n\tFieldValueOption,\n\tFieldType,\n\tIWorkflowNodeContext,\n\tINodeExecutionData,\n\tIDataObject,\n\tResourceMapperField,\n\tILocalLoadOptionsFunctions,\n\tWorkflowInputsData,\n\tIExecuteFunctions,\n\tISupplyDataFunctions,\n} from 'n8n-workflow';\nimport { jsonParse, NodeOperationError, EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE } from 'n8n-workflow';\n\nimport {\n\tJSON_EXAMPLE,\n\tINPUT_SOURCE,\n\tWORKFLOW_INPUTS,\n\tVALUES,\n\tTYPE_OPTIONS,\n\tPASSTHROUGH,\n} from './constants';\n\nconst SUPPORTED_TYPES = TYPE_OPTIONS.map((x) => x.value);\n\nfunction parseJsonSchema(schema: JSONSchema7): FieldValueOption[] | string {\n\tif (!schema?.properties) {\n\t\treturn 'Invalid JSON schema. Missing key `properties` in schema';\n\t}\n\n\tif (typeof schema.properties !== 'object') {\n\t\treturn 'Invalid JSON schema. Key `properties` is not an object';\n\t}\n\n\tconst result: FieldValueOption[] = [];\n\tfor (const [name, v] of Object.entries(schema.properties)) {\n\t\tif (typeof v !== 'object') {\n\t\t\treturn `Invalid JSON schema. Value for property '${name}' is not an object`;\n\t\t}\n\n\t\tconst type = v?.type;\n\n\t\tif (type === 'null') {\n\t\t\tresult.push({ name, type: 'any' });\n\t\t} else if (Array.isArray(type)) {\n\t\t\t// Schema allows an array of types, but we don't\n\t\t\treturn `Invalid JSON schema. Array of types for property '${name}' is not supported by n8n. Either provide a single type or use type 'any' to allow any type`;\n\t\t} else if (typeof type !== 'string') {\n\t\t\treturn `Invalid JSON schema. Unexpected non-string type ${type} for property '${name}'`;\n\t\t} else if (!SUPPORTED_TYPES.includes(type as never)) {\n\t\t\treturn `Invalid JSON schema. Unsupported type ${type} for property '${name}'. Supported types are ${JSON.stringify(SUPPORTED_TYPES, null, 1)}`;\n\t\t} else {\n\t\t\tresult.push({ name, type: type as FieldType });\n\t\t}\n\t}\n\treturn result;\n}\n\nfunction parseJsonExample(context: IWorkflowNodeContext): JSONSchema7 {\n\tconst jsonString = context.getNodeParameter(JSON_EXAMPLE, 0, '') as string;\n\tconst json = jsonParse<SchemaObject>(jsonString);\n\n\treturn generateSchemaFromExample(json) as JSONSchema7;\n}\n\nexport function getFieldEntries(context: IWorkflowNodeContext): {\n\tdataMode: WorkflowInputsData['dataMode'];\n\tfields: FieldValueOption[];\n\tsubworkflowInfo?: WorkflowInputsData['subworkflowInfo'];\n} {\n\tconst inputSource = context.getNodeParameter(INPUT_SOURCE, 0, PASSTHROUGH);\n\tlet result: FieldValueOption[] | string = 'Internal Error: Invalid input source';\n\ttry {\n\t\tif (inputSource === WORKFLOW_INPUTS) {\n\t\t\tresult = context.getNodeParameter(\n\t\t\t\t`${WORKFLOW_INPUTS}.${VALUES}`,\n\t\t\t\t0,\n\t\t\t\t[],\n\t\t\t) as FieldValueOption[];\n\t\t} else if (inputSource === JSON_EXAMPLE) {\n\t\t\tconst schema = parseJsonExample(context);\n\t\t\tresult = parseJsonSchema(schema);\n\t\t} else if (inputSource === PASSTHROUGH) {\n\t\t\tresult = [];\n\t\t}\n\t} catch (e: unknown) {\n\t\tresult =\n\t\t\te && typeof e === 'object' && 'message' in e && typeof e.message === 'string'\n\t\t\t\t? e.message\n\t\t\t\t: `Unknown error occurred: ${JSON.stringify(e)}`;\n\t}\n\n\tif (Array.isArray(result)) {\n\t\tconst dataMode = String(inputSource);\n\t\tconst workflow = context.getWorkflow();\n\t\tconst node = context.getNode();\n\t\treturn {\n\t\t\tfields: result,\n\t\t\tdataMode,\n\t\t\tsubworkflowInfo: { workflowId: workflow.id, triggerId: node.id },\n\t\t};\n\t}\n\tthrow new NodeOperationError(context.getNode(), result);\n}\n\nexport function getWorkflowInputValues(\n\tthis: IExecuteFunctions | ISupplyDataFunctions,\n): INodeExecutionData[] {\n\tconst inputData = this.getInputData();\n\n\treturn inputData.map(({ json, binary }, itemIndex) => {\n\t\tconst itemFieldValues = this.getNodeParameter(\n\t\t\t'workflowInputs.value',\n\t\t\titemIndex,\n\t\t\t{},\n\t\t) as IDataObject;\n\n\t\treturn {\n\t\t\tjson: {\n\t\t\t\t...json,\n\t\t\t\t...itemFieldValues,\n\t\t\t},\n\t\t\tindex: itemIndex,\n\t\t\tpairedItem: {\n\t\t\t\titem: itemIndex,\n\t\t\t},\n\t\t\tbinary,\n\t\t};\n\t});\n}\n\nexport function getCurrentWorkflowInputData(this: IExecuteFunctions | ISupplyDataFunctions) {\n\tconst inputData: INodeExecutionData[] = getWorkflowInputValues.call(this);\n\n\tconst schema = this.getNodeParameter('workflowInputs.schema', 0, []) as ResourceMapperField[];\n\n\tif (schema.length === 0) {\n\t\treturn inputData;\n\t} else {\n\t\tconst removedKeys = new Set(schema.filter((x) => x.removed).map((x) => x.displayName));\n\n\t\tconst filteredInputData: INodeExecutionData[] = inputData.map((item, index) => ({\n\t\t\tindex,\n\t\t\tpairedItem: { item: index },\n\t\t\tjson: _.pickBy(item.json, (_v, key) => !removedKeys.has(key)),\n\t\t}));\n\n\t\treturn filteredInputData;\n\t}\n}\n\nexport async function loadWorkflowInputMappings(\n\tthis: ILocalLoadOptionsFunctions,\n): Promise<WorkflowInputsData> {\n\tconst nodeLoadContext = await this.getWorkflowNodeContext(EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE);\n\tlet fields: ResourceMapperField[] = [];\n\tlet dataMode: string = PASSTHROUGH;\n\tlet subworkflowInfo: { workflowId?: string; triggerId?: string } | undefined;\n\n\tif (nodeLoadContext) {\n\t\tconst fieldValues = getFieldEntries(nodeLoadContext);\n\t\tdataMode = fieldValues.dataMode;\n\t\tsubworkflowInfo = fieldValues.subworkflowInfo;\n\n\t\tfields = fieldValues.fields.map((currentWorkflowInput) => {\n\t\t\tconst field: ResourceMapperField = {\n\t\t\t\tid: currentWorkflowInput.name,\n\t\t\t\tdisplayName: currentWorkflowInput.name,\n\t\t\t\trequired: false,\n\t\t\t\tdefaultMatch: false,\n\t\t\t\tdisplay: true,\n\t\t\t\tcanBeUsedToMatch: true,\n\t\t\t};\n\n\t\t\tif (currentWorkflowInput.type !== 'any') {\n\t\t\t\tfield.type = currentWorkflowInput.type;\n\t\t\t}\n\n\t\t\treturn field;\n\t\t});\n\t}\n\treturn { fields, dataMode, subworkflowInfo };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAAqE;AAErE,oBAAc;AAad,0BAAkF;AAElF,uBAOO;AAEP,MAAM,kBAAkB,8BAAa,IAAI,CAAC,MAAM,EAAE,KAAK;AAEvD,SAAS,gBAAgB,QAAkD;AAC1E,MAAI,CAAC,QAAQ,YAAY;AACxB,WAAO;AAAA,EACR;AAEA,MAAI,OAAO,OAAO,eAAe,UAAU;AAC1C,WAAO;AAAA,EACR;AAEA,QAAM,SAA6B,CAAC;AACpC,aAAW,CAAC,MAAM,CAAC,KAAK,OAAO,QAAQ,OAAO,UAAU,GAAG;AAC1D,QAAI,OAAO,MAAM,UAAU;AAC1B,aAAO,4CAA4C,IAAI;AAAA,IACxD;AAEA,UAAM,OAAO,GAAG;AAEhB,QAAI,SAAS,QAAQ;AACpB,aAAO,KAAK,EAAE,MAAM,MAAM,MAAM,CAAC;AAAA,IAClC,WAAW,MAAM,QAAQ,IAAI,GAAG;AAE/B,aAAO,qDAAqD,IAAI;AAAA,IACjE,WAAW,OAAO,SAAS,UAAU;AACpC,aAAO,mDAAmD,IAAI,kBAAkB,IAAI;AAAA,IACrF,WAAW,CAAC,gBAAgB,SAAS,IAAa,GAAG;AACpD,aAAO,yCAAyC,IAAI,kBAAkB,IAAI,0BAA0B,KAAK,UAAU,iBAAiB,MAAM,CAAC,CAAC;AAAA,IAC7I,OAAO;AACN,aAAO,KAAK,EAAE,MAAM,KAAwB,CAAC;AAAA,IAC9C;AAAA,EACD;AACA,SAAO;AACR;AAEA,SAAS,iBAAiB,SAA4C;AACrE,QAA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SchemaFromExample","_"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-base",
3
- "version": "1.89.0",
3
+ "version": "1.90.1",
4
4
  "description": "Base nodes of n8n",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -833,8 +833,8 @@
833
833
  "@types/cheerio": "^0.22.15",
834
834
  "@types/eventsource": "^1.1.2",
835
835
  "@types/express": "^5.0.1",
836
- "@types/html-to-text": "^9.0.1",
837
836
  "@types/gm": "^1.25.0",
837
+ "@types/html-to-text": "^9.0.1",
838
838
  "@types/js-nacl": "^1.3.0",
839
839
  "@types/jsonwebtoken": "^9.0.9",
840
840
  "@types/lodash": "^4.14.195",
@@ -853,13 +853,13 @@
853
853
  "@types/xml2js": "^0.4.14",
854
854
  "eslint-plugin-n8n-nodes-base": "^1.16.3",
855
855
  "@n8n/typescript-config": "1.2.0",
856
- "n8n-core": "1.89.0"
856
+ "n8n-core": "1.90.1"
857
857
  },
858
858
  "dependencies": {
859
859
  "@aws-sdk/client-sso-oidc": "3.666.0",
860
860
  "@kafkajs/confluent-schema-registry": "3.8.0",
861
- "@n8n/vm2": "3.9.25",
862
861
  "@mozilla/readability": "0.6.0",
862
+ "@n8n/vm2": "3.9.25",
863
863
  "alasql": "4.4.0",
864
864
  "amqplib": "0.10.3",
865
865
  "aws4": "1.11.0",
@@ -873,8 +873,8 @@
873
873
  "eventsource": "2.0.2",
874
874
  "fast-glob": "3.2.12",
875
875
  "fflate": "0.7.4",
876
- "get-system-fonts": "2.0.2",
877
876
  "generate-schema": "2.6.0",
877
+ "get-system-fonts": "2.0.2",
878
878
  "gm": "1.25.1",
879
879
  "html-to-text": "9.0.5",
880
880
  "iconv-lite": "0.6.3",
@@ -901,10 +901,10 @@
901
901
  "nodemailer": "6.9.9",
902
902
  "otpauth": "9.1.1",
903
903
  "pdfjs-dist": "2.16.105",
904
- "pg-promise": "11.9.1",
905
904
  "pg": "8.12.0",
905
+ "pg-promise": "11.9.1",
906
906
  "promise-ftp": "1.3.5",
907
- "pyodide": "0.23.4",
907
+ "pyodide": "0.27.5",
908
908
  "redis": "4.6.14",
909
909
  "rfc2047": "4.0.1",
910
910
  "rhea": "1.0.24",
@@ -921,10 +921,11 @@
921
921
  "uuid": "10.0.0",
922
922
  "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz",
923
923
  "xml2js": "0.6.2",
924
- "@n8n/config": "1.37.0",
924
+ "xmlhttprequest-ssl": "3.1.0",
925
925
  "@n8n/di": "0.5.0",
926
- "@n8n/imap": "0.9.0",
927
- "n8n-workflow": "1.88.0"
926
+ "@n8n/config": "1.38.0",
927
+ "n8n-workflow": "1.89.0",
928
+ "@n8n/imap": "0.9.0"
928
929
  },
929
930
  "license": "SEE LICENSE IN LICENSE.md",
930
931
  "homepage": "https://n8n.io",
@@ -1,313 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var FakeCredentialsMap_exports = {};
20
- __export(FakeCredentialsMap_exports, {
21
- FAKE_CREDENTIALS_DATA: () => FAKE_CREDENTIALS_DATA
22
- });
23
- module.exports = __toCommonJS(FakeCredentialsMap_exports);
24
- const FAKE_CREDENTIALS_DATA = {
25
- [JSON.stringify({ id: "20", name: "Airtable account" })]: {
26
- apiKey: "key456"
27
- },
28
- [JSON.stringify({ id: "G45TOKX5kBEraTr1", name: "JWT Auth test PEM" })]: {
29
- keyType: "pemKey",
30
- privateKey: `
31
- -----BEGIN PRIVATE KEY-----
32
- MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCfw0m1K+M1/6Tw
33
- CvLYDv0gmxa+reEdKBfT0/hfkkjFWqbMRo0f4CQ3PwrOavS+80PDy6nVL21BmGev
34
- w1bF7KXmqOzr+yKOUJ8A4u6vXUQKzVSFBqb2YZmZL1s7va9aaO6pVANTbmYHpTjh
35
- SBnBrXgidVOXNX1c+IG+OZZMiTFWg4lJTE9rvMbLh4o5FPwdZlA1rLAux4KXVNNr
36
- mE7T5/tsuikR06KMJS6V6YR4PZmTsy/3D2clADXDCtbUdEe0eBYoUmRLMhRL6umq
37
- h98Dsm5ZG+YB2dn0ThR/g7DPVwvmnrK2S5e4hpqFYxQ8V8pGx7dQLsc/utbvsn32
38
- dctGivkFAgMBAAECggEABDB0QdZtRlC2S/8VgBnghFbcwVJA6WlQOqM/y43D77zh
39
- S9D7yV6wxGwYRfJjCZDKcZtpECiGtmYfLeoy38zFSueaEtQKg23UxYqt1JZe/uOE
40
- eFqEzUgg5XXq8AWY0AeZXoJP9gOalE++TpX76uq4EDtAXmIuL95qVIkhCk+8pfaR
41
- avLcejnyYGSJAG1J9pXHNChXXDVPd7PrIa20A44osvusifVMlcIYM3qkv167ULzX
42
- 4nu2hZwlNxGKtpVPldFY/qu5S7SdLo/2BQinrMSSKRSFihA4Uuod8GK0+UwjE4gO
43
- TD15bjqIcadlAYV6bn34sHnMU9hjhPB5NyXiINYdsQKBgQDNu0XFjYyAgwORaZYs
44
- jVTJg+fQ9wM7xnlfxXCVb9eoOGF0blW9VjIEz8lLjmPlPFFVS+EPN0andHHqH4t5
45
- SQZVZxgNMcodWs8BJTVZUkXa+IljHXT1Vkb2zvtH96ADzs3c43+tNpmKhjG3XK1U
46
- rL/v8feU31nwQb7imOmYmzbHCQKBgQDGzJ/pRLByB24W6FRfHIItP81vVg5ckCXi
47
- sIhzHUdUmTdVbdAxeS6IW2oAc/IuksvmiZMLYsm+sIFFePJQrBsoD41R5VsFcJqE
48
- o5x0DUzbOzqaV4HPOHDniibudyryZKnBvkXlCjyCv4iPKaFhH4T1aB+wdK4pJPo2
49
- fyABs2lFHQKBgQDHz6IFK+QREK3PdhA/twhpK65jWvUOAkbxyE3/JX/7xr6IGX02
50
- hdfQqoqj0midRMbto+OzJol9q+/TZs3MfysimR1X+0qE1iSExUGaPfjQomC1He/x
51
- M9l6bi7Jh+wmpp10cpQXhBb93jW9E8rYmWtVPNmsAn1UhlZBuCfwapd6GQKBgATM
52
- f7ezzsaR41huN0ssdv/8oErluucFG8UDGegddtFV+X34bqQjFrp36nEkW15AcOeZ
53
- vpDxy4js3dH9f2vvG6C172VgsffJphE5mdc7UvWf0mRTZHDKHf+Y2CO9gK3lPCvP
54
- GgTTYG6PjQ5XpOuhRSZfYxRxXJrlp5yVKQKhgBMJAoGBAMc6ktd0iqHAYCW3d9QP
55
- e618RiMlVIYZIUlLWAUQWQSf3linqMjo1rCbbI/lSxE216XwI/VBX50gg/Oy3aUl
56
- CibHHk2aKGlxVxe0Huv5gcjbZgVh1EMi4oxh4600IrWRH1Uz5AleXnheNiappKnA
57
- lOMhy99LXMlAOL7qOBnZHgrm
58
- -----END PRIVATE KEY-----
59
- `,
60
- publicKey: `
61
- -----BEGIN PUBLIC KEY-----
62
- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAn8NJtSvjNf+k8Ary2A79
63
- IJsWvq3hHSgX09P4X5JIxVqmzEaNH+AkNz8Kzmr0vvNDw8up1S9tQZhnr8NWxeyl
64
- 5qjs6/sijlCfAOLur11ECs1UhQam9mGZmS9bO72vWmjuqVQDU25mB6U44UgZwa14
65
- InVTlzV9XPiBvjmWTIkxVoOJSUxPa7zGy4eKORT8HWZQNaywLseCl1TTa5hO0+f7
66
- bLopEdOijCUulemEeD2Zk7Mv9w9nJQA1wwrW1HRHtHgWKFJkSzIUS+rpqoffA7Ju
67
- WRvmAdnZ9E4Uf4Owz1cL5p6ytkuXuIaahWMUPFfKRse3UC7HP7rW77J99nXLRor5
68
- BQIDAQAB
69
- -----END PUBLIC KEY-----
70
- `,
71
- algorithm: "RS256"
72
- },
73
- airtableApi: {
74
- apiKey: "key123"
75
- },
76
- azureStorageOAuth2Api: {
77
- grantType: "authorizationCode",
78
- authUrl: "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
79
- accessTokenUrl: "https://login.microsoftonline.com/common/oauth2/v2.0/token",
80
- clientId: "CLIENTID",
81
- clientSecret: "CLIENTSECRET",
82
- scope: "https://storage.azure.com/user_impersonation",
83
- authQueryParameters: "response_mode=query",
84
- authentication: "body",
85
- oauthTokenData: {
86
- token_type: "Bearer",
87
- scope: "https://storage.azure.com/user_impersonation",
88
- expires_in: 4730,
89
- ext_expires_in: 4730,
90
- access_token: "ACCESSTOKEN",
91
- callbackQueryString: {
92
- session_state: "SESSIONSTATE"
93
- }
94
- },
95
- account: "myaccount",
96
- baseUrl: "https://myaccount.blob.core.windows.net"
97
- },
98
- azureStorageSharedKeyApi: {
99
- account: "devstoreaccount1",
100
- key: "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==",
101
- baseUrl: "https://myaccount.blob.core.windows.net"
102
- },
103
- gongApi: {
104
- baseUrl: "https://api.gong.io",
105
- accessKey: "accessKey123",
106
- accessKeySecret: "accessKeySecret123"
107
- },
108
- gongOAuth2Api: {
109
- grantType: "authorizationCode",
110
- authUrl: "https://app.gong.io/oauth2/authorize",
111
- accessTokenUrl: "https://app.gong.io/oauth2/generate-customer-token",
112
- clientId: "CLIENTID",
113
- clientSecret: "CLIENTSECRET",
114
- scope: "api:calls:read:transcript api:provisioning:read api:workspaces:read api:meetings:user:delete api:crm:get-objects api:data-privacy:delete api:crm:schema api:flows:write api:crm:upload api:meetings:integration:status api:calls:read:extensive api:meetings:user:update api:integration-settings:write api:settings:scorecards:read api:stats:scorecards api:stats:interaction api:stats:user-actions api:crm:integration:delete api:calls:read:basic api:calls:read:media-url api:digital-interactions:write api:crm:integrations:read api:library:read api:data-privacy:read api:users:read api:logs:read api:calls:create api:meetings:user:create api:stats:user-actions:detailed api:settings:trackers:read api:crm:integration:register api:provisioning:read-write api:engagement-data:write api:permission-profile:read api:permission-profile:write api:flows:read api:crm-calls:manual-association:read",
115
- authQueryParameters: "",
116
- authentication: "header",
117
- oauthTokenData: {
118
- access_token: "ACCESSTOKEN",
119
- refresh_token: "REFRESHTOKEN",
120
- scope: "api:calls:read:transcript api:provisioning:read api:workspaces:read api:meetings:user:delete api:crm:get-objects api:data-privacy:delete api:crm:schema api:flows:write api:crm:upload api:meetings:integration:status api:calls:read:extensive api:meetings:user:update api:integration-settings:write api:settings:scorecards:read api:stats:scorecards api:stats:interaction api:stats:user-actions api:crm:integration:delete api:calls:read:basic api:calls:read:media-url api:digital-interactions:write api:crm:integrations:read api:library:read api:data-privacy:read api:users:read api:logs:read api:calls:create api:meetings:user:create api:stats:user-actions:detailed api:settings:trackers:read api:crm:integration:register api:provisioning:read-write api:engagement-data:write api:permission-profile:read api:permission-profile:write api:flows:read api:crm-calls:manual-association:read",
121
- token_type: "bearer",
122
- expires_in: 86400,
123
- api_base_url_for_customer: "https://api.gong.io"
124
- },
125
- baseUrl: "https://api.gong.io"
126
- },
127
- microsoftAzureCosmosDbSharedKeyApi: {
128
- account: "n8n-us-east-account",
129
- key: "I3rwpzP0XoFpNzJ7hRIUXjwgpD1qaVKi71NZBbk7oOHUXrbd80WAoIAAoRaT47W9hHO3b6us1yABACDbVdilag==",
130
- database: "database_1",
131
- baseUrl: "https://n8n-us-east-account.documents.azure.com/dbs/database_1"
132
- },
133
- microsoftEntraOAuth2Api: {
134
- grantType: "authorizationCode",
135
- authUrl: "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
136
- accessTokenUrl: "https://login.microsoftonline.com/common/oauth2/v2.0/token",
137
- clientId: "CLIENTID",
138
- clientSecret: "CLIENTSECRET",
139
- scope: "openid offline_access AccessReview.ReadWrite.All Directory.ReadWrite.All NetworkAccessPolicy.ReadWrite.All DelegatedAdminRelationship.ReadWrite.All EntitlementManagement.ReadWrite.All User.ReadWrite.All Directory.AccessAsUser.All Sites.FullControl.All",
140
- authQueryParameters: "response_mode=query",
141
- authentication: "body",
142
- oauthTokenData: {
143
- token_type: "Bearer",
144
- scope: "AccessReview.ReadWrite.All DelegatedAdminRelationship.ReadWrite.All Directory.AccessAsUser.All Directory.Read.All Directory.ReadWrite.All EntitlementManagement.ReadWrite.All Group.ReadWrite.All NetworkAccessPolicy.ReadWrite.All openid Sites.FullControl.All User.DeleteRestore.All User.EnableDisableAccount.All User.Export.All User.Invite.All User.ManageIdentities.All User.Read User.Read.All User.ReadBasic.All User.ReadWrite User.ReadWrite.All User.RevokeSessions.All profile email",
145
- expires_in: 4822,
146
- ext_expires_in: 4822,
147
- access_token: "ACCESSTOKEN",
148
- refresh_token: "REFRESHTOKEN",
149
- id_token: "IDTOKEN",
150
- callbackQueryString: {
151
- session_state: "SESSIONSTATE"
152
- }
153
- }
154
- },
155
- microsoftExcelOAuth2Api: {
156
- scope: "openid",
157
- oauthTokenData: {
158
- access_token: "token"
159
- }
160
- },
161
- microsoftTeamsOAuth2Api: {
162
- scope: "openid",
163
- oauthTokenData: {
164
- access_token: "token"
165
- }
166
- },
167
- n8nApi: {
168
- apiKey: "key123",
169
- baseUrl: "https://test.app.n8n.cloud/api/v1"
170
- },
171
- npmApi: {
172
- accessToken: "fake-npm-access-token",
173
- registryUrl: "https://fake.npm.registry"
174
- },
175
- totpApi: {
176
- label: "GitHub:john-doe",
177
- secret: "BVDRSBXQB2ZEL5HE"
178
- },
179
- aws: {
180
- region: "eu-central-1",
181
- accessKeyId: "key",
182
- secretAccessKey: "secret"
183
- },
184
- twitterOAuth2Api: {
185
- grantType: "pkce",
186
- authUrl: "https://twitter.com/i/oauth2/authorize",
187
- accessTokenUrl: "https://api.twitter.com/2/oauth2/token",
188
- clientId: "CLIENTID",
189
- clientSecret: "CLIENTSECRET",
190
- scope: "tweet.read users.read tweet.write tweet.moderate.write users.read follows.read follows.write offline.access like.read like.write dm.write dm.read list.read list.write",
191
- authQueryParameters: "",
192
- authentication: "header",
193
- oauthTokenData: {
194
- token_type: "bearer",
195
- expires_in: 7200,
196
- access_token: "ACCESSTOKEN",
197
- scope: "tweet.moderate.write follows.read offline.access list.write dm.read list.read tweet.write like.write like.read users.read dm.write tweet.read follows.write",
198
- refresh_token: "REFRESHTOKEN"
199
- }
200
- },
201
- jwtAuth: {
202
- keyType: "passphrase",
203
- secret: "baz",
204
- algorithm: "HS256"
205
- },
206
- telegramApi: {
207
- accessToken: "testToken",
208
- baseUrl: "https://api.telegram.org"
209
- },
210
- gmailOAuth2: {
211
- grantType: "authorizationCode",
212
- authUrl: "https://accounts.google.com/o/oauth2/v2/auth",
213
- accessTokenUrl: "https://oauth2.googleapis.com/token",
214
- clientId: "CLIENTID",
215
- clientSecret: "CLIENTSECRET",
216
- scope: "https://www.googleapis.com/auth/gmail.labels https://www.googleapis.com/auth/gmail.addons.current.action.compose https://www.googleapis.com/auth/gmail.addons.current.message.action https://mail.google.com/ https://www.googleapis.com/auth/gmail.modify https://www.googleapis.com/auth/gmail.compose",
217
- authQueryParameters: "access_type=offline&prompt=consent",
218
- authentication: "body",
219
- oauthTokenData: {
220
- access_token: "ACCESSTOKEN",
221
- refresh_token: "REFRESHTOKEN",
222
- scope: "https://www.googleapis.com/auth/gmail.labels https://www.googleapis.com/auth/gmail.addons.current.action.compose https://www.googleapis.com/auth/gmail.addons.current.message.action https://mail.google.com/ https://www.googleapis.com/auth/gmail.modify https://www.googleapis.com/auth/gmail.compose",
223
- token_type: "bearer",
224
- expires_in: 86400
225
- }
226
- },
227
- youTubeOAuth2Api: {
228
- grantType: "authorizationCode",
229
- authUrl: "https://accounts.google.com/o/oauth2/v2/auth",
230
- accessTokenUrl: "https://oauth2.googleapis.com/token",
231
- clientId: "CLIENTID",
232
- clientSecret: "CLIENTSECRET",
233
- scope: "https://www.googleapis.com/auth/youtube https://www.googleapis.com/auth/youtubepartner https://www.googleapis.com/auth/youtube.force-ssl https://www.googleapis.com/auth/youtube.upload https://www.googleapis.com/auth/youtubepartner-channel-audit",
234
- authQueryParameters: "access_type=offline&prompt=consent",
235
- authentication: "body",
236
- oauthTokenData: {
237
- access_token: "ACCESSTOKEN",
238
- refresh_token: "REFRESHTOKEN",
239
- scope: "https://www.googleapis.com/auth/youtube https://www.googleapis.com/auth/youtubepartner https://www.googleapis.com/auth/youtube.force-ssl https://www.googleapis.com/auth/youtube.upload https://www.googleapis.com/auth/youtubepartner-channel-audit",
240
- token_type: "bearer",
241
- expires_in: 86400
242
- }
243
- },
244
- notionApi: {
245
- apiKey: "key123"
246
- },
247
- philipsHueOAuth2Api: {
248
- grantType: "authorizationCode",
249
- appId: "APPID",
250
- authUrl: "https://api.meethue.com/v2/oauth2/authorize",
251
- accessTokenUrl: "https://api.meethue.com/v2/oauth2/token",
252
- authQueryParameters: "appid=APPID",
253
- scope: "",
254
- authentication: "header",
255
- oauthTokenData: {
256
- access_token: "ACCESSTOKEN",
257
- refresh_token: "REFRESHTOKEN",
258
- scope: "",
259
- token_type: "bearer",
260
- expires_in: 86400
261
- }
262
- },
263
- spotifyOAuth2Api: {
264
- accessTokenUrl: "https://accounts.spotify.com/api/token",
265
- authQueryParameters: "",
266
- authUrl: "https://accounts.spotify.com/authorize",
267
- authentication: "header",
268
- clientId: "CLIENT_ID",
269
- clientSecret: "CLIENT_SECRET",
270
- grantType: "authorizationCode",
271
- oauthTokenData: {
272
- access_token: "ACCESS_TOKEN",
273
- expires_in: 3600,
274
- refresh_token: "REFRESH_TOKEN",
275
- scope: "playlist-read-private playlist-read-collaborative user-modify-playback-state user-library-read user-follow-read playlist-modify-private playlist-modify-public user-read-playback-state user-read-currently-playing user-read-recently-played",
276
- token_type: "Bearer"
277
- },
278
- scope: "user-read-playback-state playlist-read-collaborative user-modify-playback-state playlist-modify-public user-read-currently-playing playlist-read-private user-read-recently-played playlist-modify-private user-library-read user-follow-read",
279
- server: "https://api.spotify.com/"
280
- },
281
- baserowApi: {
282
- host: "https://api.baserow.io",
283
- username: "nathan@n8n.io",
284
- password: "fake-password"
285
- },
286
- wordpressApi: {
287
- url: "https://myblog.com",
288
- allowUnauthorizedCerts: false,
289
- username: "nodeqa",
290
- password: "fake-password"
291
- },
292
- discordWebhookApi: {
293
- webhookUri: "https://discord.com/webhook"
294
- },
295
- salesforceOAuth2Api: {
296
- grantType: "pkce",
297
- environment: "production",
298
- authUrl: "https://login.salesforce.com/services/oauth2/authorize",
299
- accessTokenUrl: "https://login.salesforce.com/services/oauth2/token",
300
- scope: "full refresh_token",
301
- authQueryParameters: "",
302
- authentication: "header",
303
- oauthTokenData: {
304
- access_token: "ACCESSTOKEN",
305
- instance_url: "https://salesforce.instance"
306
- }
307
- }
308
- };
309
- // Annotate the CommonJS export names for ESM import in node:
310
- 0 && (module.exports = {
311
- FAKE_CREDENTIALS_DATA
312
- });
313
- //# sourceMappingURL=FakeCredentialsMap.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../test/nodes/FakeCredentialsMap.ts"],"sourcesContent":["// If your test needs data from credentials, you can add it here.\n// as JSON.stringify({ id: 'credentials_ID', name: 'credentials_name' }) for specific credentials\n// or as 'credentials_type' for all credentials of that type\n// expected keys for credentials can be found in packages/nodes-base/credentials/[credentials_type].credentials.ts\nexport const FAKE_CREDENTIALS_DATA = {\n\t[JSON.stringify({ id: '20', name: 'Airtable account' })]: {\n\t\tapiKey: 'key456',\n\t},\n\t[JSON.stringify({ id: 'G45TOKX5kBEraTr1', name: 'JWT Auth test PEM' })]: {\n\t\tkeyType: 'pemKey',\n\t\tprivateKey: `\n-----BEGIN PRIVATE KEY-----\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yCv4iPKaFhH4T1aB+wdK4pJPo2\nfyABs2lFHQKBgQDHz6IFK+QREK3PdhA/twhpK65jWvUOAkbxyE3/JX/7xr6IGX02\nhdfQqoqj0midRMbto+OzJol9q+/TZs3MfysimR1X+0qE1iSExUGaPfjQomC1He/x\nM9l6bi7Jh+wmpp10cpQXhBb93jW9E8rYmWtVPNmsAn1UhlZBuCfwapd6GQKBgATM\nf7ezzsaR41huN0ssdv/8oErluucFG8UDGegddtFV+X34bqQjFrp36nEkW15AcOeZ\nvpDxy4js3dH9f2vvG6C172VgsffJphE5mdc7UvWf0mRTZHDKHf+Y2CO9gK3lPCvP\nGgTTYG6PjQ5XpOuhRSZfYxRxXJrlp5yVKQKhgBMJAoGBAMc6ktd0iqHAYCW3d9QP\ne618RiMlVIYZIUlLWAUQWQSf3linqMjo1rCbbI/lSxE216XwI/VBX50gg/Oy3aUl\nCibHHk2aKGlxVxe0Huv5gcjbZgVh1EMi4oxh4600IrWRH1Uz5AleXnheNiappKnA\nlOMhy99LXMlAOL7qOBnZHgrm\n-----END PRIVATE KEY-----\n\t\t`,\n\t\tpublicKey: `\n-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAn8NJtSvjNf+k8Ary2A79\nIJsWvq3hHSgX09P4X5JIxVqmzEaNH+AkNz8Kzmr0vvNDw8up1S9tQZhnr8NWxeyl\n5qjs6/sijlCfAOLur11ECs1UhQam9mGZmS9bO72vWmjuqVQDU25mB6U44UgZwa14\nInVTlzV9XPiBvjmWTIkxVoOJSUxPa7zGy4eKORT8HWZQNaywLseCl1TTa5hO0+f7\nbLopEdOijCUulemEeD2Zk7Mv9w9nJQA1wwrW1HRHtHgWKFJkSzIUS+rpqoffA7Ju\nWRvmAdnZ9E4Uf4Owz1cL5p6ytkuXuIaahWMUPFfKRse3UC7HP7rW77J99nXLRor5\nBQIDAQAB\n-----END PUBLIC KEY-----\n\t\t`,\n\t\talgorithm: 'RS256',\n\t},\n\tairtableApi: {\n\t\tapiKey: 'key123',\n\t},\n\tazureStorageOAuth2Api: {\n\t\tgrantType: 'authorizationCode',\n\t\tauthUrl: 'https://login.microsoftonline.com/common/oauth2/v2.0/authorize',\n\t\taccessTokenUrl: 'https://login.microsoftonline.com/common/oauth2/v2.0/token',\n\t\tclientId: 'CLIENTID',\n\t\tclientSecret: 'CLIENTSECRET',\n\t\tscope: 'https://storage.azure.com/user_impersonation',\n\t\tauthQueryParameters: 'response_mode=query',\n\t\tauthentication: 'body',\n\t\toauthTokenData: {\n\t\t\ttoken_type: 'Bearer',\n\t\t\tscope: 'https://storage.azure.com/user_impersonation',\n\t\t\texpires_in: 4730,\n\t\t\text_expires_in: 4730,\n\t\t\taccess_token: 'ACCESSTOKEN',\n\t\t\tcallbackQueryString: {\n\t\t\t\tsession_state: 'SESSIONSTATE',\n\t\t\t},\n\t\t},\n\t\taccount: 'myaccount',\n\t\tbaseUrl: 'https://myaccount.blob.core.windows.net',\n\t},\n\tazureStorageSharedKeyApi: {\n\t\taccount: 'devstoreaccount1',\n\t\tkey: 'Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==',\n\t\tbaseUrl: 'https://myaccount.blob.core.windows.net',\n\t},\n\tgongApi: {\n\t\tbaseUrl: 'https://api.gong.io',\n\t\taccessKey: 'accessKey123',\n\t\taccessKeySecret: 'accessKeySecret123',\n\t},\n\tgongOAuth2Api: {\n\t\tgrantType: 'authorizationCode',\n\t\tauthUrl: 'https://app.gong.io/oauth2/authorize',\n\t\taccessTokenUrl: 'https://app.gong.io/oauth2/generate-customer-token',\n\t\tclientId: 'CLIENTID',\n\t\tclientSecret: 'CLIENTSECRET',\n\t\tscope:\n\t\t\t'api:calls:read:transcript api:provisioning:read api:workspaces:read api:meetings:user:delete api:crm:get-objects api:data-privacy:delete api:crm:schema api:flows:write api:crm:upload api:meetings:integration:status api:calls:read:extensive api:meetings:user:update api:integration-settings:write api:settings:scorecards:read api:stats:scorecards api:stats:interaction api:stats:user-actions api:crm:integration:delete api:calls:read:basic api:calls:read:media-url api:digital-interactions:write api:crm:integrations:read api:library:read api:data-privacy:read api:users:read api:logs:read api:calls:create api:meetings:user:create api:stats:user-actions:detailed api:settings:trackers:read api:crm:integration:register api:provisioning:read-write api:engagement-data:write api:permission-profile:read api:permission-profile:write api:flows:read api:crm-calls:manual-association:read',\n\t\tauthQueryParameters: '',\n\t\tauthentication: 'header',\n\t\toauthTokenData: {\n\t\t\taccess_token: 'ACCESSTOKEN',\n\t\t\trefresh_token: 'REFRESHTOKEN',\n\t\t\tscope:\n\t\t\t\t'api:calls:read:transcript api:provisioning:read api:workspaces:read api:meetings:user:delete api:crm:get-objects api:data-privacy:delete api:crm:schema api:flows:write api:crm:upload api:meetings:integration:status api:calls:read:extensive api:meetings:user:update api:integration-settings:write api:settings:scorecards:read api:stats:scorecards api:stats:interaction api:stats:user-actions api:crm:integration:delete api:calls:read:basic api:calls:read:media-url api:digital-interactions:write api:crm:integrations:read api:library:read api:data-privacy:read api:users:read api:logs:read api:calls:create api:meetings:user:create api:stats:user-actions:detailed api:settings:trackers:read api:crm:integration:register api:provisioning:read-write api:engagement-data:write api:permission-profile:read api:permission-profile:write api:flows:read api:crm-calls:manual-association:read',\n\t\t\ttoken_type: 'bearer',\n\t\t\texpires_in: 86400,\n\t\t\tapi_base_url_for_customer: 'https://api.gong.io',\n\t\t},\n\t\tbaseUrl: 'https://api.gong.io',\n\t},\n\tmicrosoftAzureCosmosDbSharedKeyApi: {\n\t\taccount: 'n8n-us-east-account',\n\t\tkey: 'I3rwpzP0XoFpNzJ7hRIUXjwgpD1qaVKi71NZBbk7oOHUXrbd80WAoIAAoRaT47W9hHO3b6us1yABACDbVdilag==',\n\t\tdatabase: 'database_1',\n\t\tbaseUrl: 'https://n8n-us-east-account.documents.azure.com/dbs/database_1',\n\t},\n\tmicrosoftEntraOAuth2Api: {\n\t\tgrantType: 'authorizationCode',\n\t\tauthUrl: 'https://login.microsoftonline.com/common/oauth2/v2.0/authorize',\n\t\taccessTokenUrl: 'https://login.microsoftonline.com/common/oauth2/v2.0/token',\n\t\tclientId: 'CLIENTID',\n\t\tclientSecret: 'CLIENTSECRET',\n\t\tscope:\n\t\t\t'openid offline_access AccessReview.ReadWrite.All Directory.ReadWrite.All NetworkAccessPolicy.ReadWrite.All DelegatedAdminRelationship.ReadWrite.All EntitlementManagement.ReadWrite.All User.ReadWrite.All Directory.AccessAsUser.All Sites.FullControl.All',\n\t\tauthQueryParameters: 'response_mode=query',\n\t\tauthentication: 'body',\n\t\toauthTokenData: {\n\t\t\ttoken_type: 'Bearer',\n\t\t\tscope:\n\t\t\t\t'AccessReview.ReadWrite.All DelegatedAdminRelationship.ReadWrite.All Directory.AccessAsUser.All Directory.Read.All Directory.ReadWrite.All EntitlementManagement.ReadWrite.All Group.ReadWrite.All NetworkAccessPolicy.ReadWrite.All openid Sites.FullControl.All User.DeleteRestore.All User.EnableDisableAccount.All User.Export.All User.Invite.All User.ManageIdentities.All User.Read User.Read.All User.ReadBasic.All User.ReadWrite User.ReadWrite.All User.RevokeSessions.All profile email',\n\t\t\texpires_in: 4822,\n\t\t\text_expires_in: 4822,\n\t\t\taccess_token: 'ACCESSTOKEN',\n\t\t\trefresh_token: 'REFRESHTOKEN',\n\t\t\tid_token: 'IDTOKEN',\n\t\t\tcallbackQueryString: {\n\t\t\t\tsession_state: 'SESSIONSTATE',\n\t\t\t},\n\t\t},\n\t},\n\tmicrosoftExcelOAuth2Api: {\n\t\tscope: 'openid',\n\t\toauthTokenData: {\n\t\t\taccess_token: 'token',\n\t\t},\n\t},\n\tmicrosoftTeamsOAuth2Api: {\n\t\tscope: 'openid',\n\t\toauthTokenData: {\n\t\t\taccess_token: 'token',\n\t\t},\n\t},\n\tn8nApi: {\n\t\tapiKey: 'key123',\n\t\tbaseUrl: 'https://test.app.n8n.cloud/api/v1',\n\t},\n\tnpmApi: {\n\t\taccessToken: 'fake-npm-access-token',\n\t\tregistryUrl: 'https://fake.npm.registry',\n\t},\n\ttotpApi: {\n\t\tlabel: 'GitHub:john-doe',\n\t\tsecret: 'BVDRSBXQB2ZEL5HE',\n\t},\n\taws: {\n\t\tregion: 'eu-central-1',\n\t\taccessKeyId: 'key',\n\t\tsecretAccessKey: 'secret',\n\t},\n\ttwitterOAuth2Api: {\n\t\tgrantType: 'pkce',\n\t\tauthUrl: 'https://twitter.com/i/oauth2/authorize',\n\t\taccessTokenUrl: 'https://api.twitter.com/2/oauth2/token',\n\t\tclientId: 'CLIENTID',\n\t\tclientSecret: 'CLIENTSECRET',\n\t\tscope:\n\t\t\t'tweet.read users.read tweet.write tweet.moderate.write users.read follows.read follows.write offline.access like.read like.write dm.write dm.read list.read list.write',\n\t\tauthQueryParameters: '',\n\t\tauthentication: 'header',\n\t\toauthTokenData: {\n\t\t\ttoken_type: 'bearer',\n\t\t\texpires_in: 7200,\n\t\t\taccess_token: 'ACCESSTOKEN',\n\t\t\tscope:\n\t\t\t\t'tweet.moderate.write follows.read offline.access list.write dm.read list.read tweet.write like.write like.read users.read dm.write tweet.read follows.write',\n\t\t\trefresh_token: 'REFRESHTOKEN',\n\t\t},\n\t},\n\tjwtAuth: {\n\t\tkeyType: 'passphrase',\n\t\tsecret: 'baz',\n\t\talgorithm: 'HS256',\n\t},\n\ttelegramApi: {\n\t\taccessToken: 'testToken',\n\t\tbaseUrl: 'https://api.telegram.org',\n\t},\n\tgmailOAuth2: {\n\t\tgrantType: 'authorizationCode',\n\t\tauthUrl: 'https://accounts.google.com/o/oauth2/v2/auth',\n\t\taccessTokenUrl: 'https://oauth2.googleapis.com/token',\n\t\tclientId: 'CLIENTID',\n\t\tclientSecret: 'CLIENTSECRET',\n\t\tscope:\n\t\t\t'https://www.googleapis.com/auth/gmail.labels https://www.googleapis.com/auth/gmail.addons.current.action.compose https://www.googleapis.com/auth/gmail.addons.current.message.action https://mail.google.com/ https://www.googleapis.com/auth/gmail.modify https://www.googleapis.com/auth/gmail.compose',\n\t\tauthQueryParameters: 'access_type=offline&prompt=consent',\n\t\tauthentication: 'body',\n\t\toauthTokenData: {\n\t\t\taccess_token: 'ACCESSTOKEN',\n\t\t\trefresh_token: 'REFRESHTOKEN',\n\t\t\tscope:\n\t\t\t\t'https://www.googleapis.com/auth/gmail.labels https://www.googleapis.com/auth/gmail.addons.current.action.compose https://www.googleapis.com/auth/gmail.addons.current.message.action https://mail.google.com/ https://www.googleapis.com/auth/gmail.modify https://www.googleapis.com/auth/gmail.compose',\n\t\t\ttoken_type: 'bearer',\n\t\t\texpires_in: 86400,\n\t\t},\n\t},\n\tyouTubeOAuth2Api: {\n\t\tgrantType: 'authorizationCode',\n\t\tauthUrl: 'https://accounts.google.com/o/oauth2/v2/auth',\n\t\taccessTokenUrl: 'https://oauth2.googleapis.com/token',\n\t\tclientId: 'CLIENTID',\n\t\tclientSecret: 'CLIENTSECRET',\n\t\tscope:\n\t\t\t'https://www.googleapis.com/auth/youtube https://www.googleapis.com/auth/youtubepartner https://www.googleapis.com/auth/youtube.force-ssl https://www.googleapis.com/auth/youtube.upload https://www.googleapis.com/auth/youtubepartner-channel-audit',\n\t\tauthQueryParameters: 'access_type=offline&prompt=consent',\n\t\tauthentication: 'body',\n\t\toauthTokenData: {\n\t\t\taccess_token: 'ACCESSTOKEN',\n\t\t\trefresh_token: 'REFRESHTOKEN',\n\t\t\tscope:\n\t\t\t\t'https://www.googleapis.com/auth/youtube https://www.googleapis.com/auth/youtubepartner https://www.googleapis.com/auth/youtube.force-ssl https://www.googleapis.com/auth/youtube.upload https://www.googleapis.com/auth/youtubepartner-channel-audit',\n\t\t\ttoken_type: 'bearer',\n\t\t\texpires_in: 86400,\n\t\t},\n\t},\n\tnotionApi: {\n\t\tapiKey: 'key123',\n\t},\n\tphilipsHueOAuth2Api: {\n\t\tgrantType: 'authorizationCode',\n\t\tappId: 'APPID',\n\t\tauthUrl: 'https://api.meethue.com/v2/oauth2/authorize',\n\t\taccessTokenUrl: 'https://api.meethue.com/v2/oauth2/token',\n\t\tauthQueryParameters: 'appid=APPID',\n\t\tscope: '',\n\t\tauthentication: 'header',\n\t\toauthTokenData: {\n\t\t\taccess_token: 'ACCESSTOKEN',\n\t\t\trefresh_token: 'REFRESHTOKEN',\n\t\t\tscope: '',\n\t\t\ttoken_type: 'bearer',\n\t\t\texpires_in: 86400,\n\t\t},\n\t},\n\tspotifyOAuth2Api: {\n\t\taccessTokenUrl: 'https://accounts.spotify.com/api/token',\n\t\tauthQueryParameters: '',\n\t\tauthUrl: 'https://accounts.spotify.com/authorize',\n\t\tauthentication: 'header',\n\t\tclientId: 'CLIENT_ID',\n\t\tclientSecret: 'CLIENT_SECRET',\n\t\tgrantType: 'authorizationCode',\n\t\toauthTokenData: {\n\t\t\taccess_token: 'ACCESS_TOKEN',\n\t\t\texpires_in: 3600,\n\t\t\trefresh_token: 'REFRESH_TOKEN',\n\t\t\tscope:\n\t\t\t\t'playlist-read-private playlist-read-collaborative user-modify-playback-state user-library-read user-follow-read playlist-modify-private playlist-modify-public user-read-playback-state user-read-currently-playing user-read-recently-played',\n\t\t\ttoken_type: 'Bearer',\n\t\t},\n\t\tscope:\n\t\t\t'user-read-playback-state playlist-read-collaborative user-modify-playback-state playlist-modify-public user-read-currently-playing playlist-read-private user-read-recently-played playlist-modify-private user-library-read user-follow-read',\n\t\tserver: 'https://api.spotify.com/',\n\t},\n\tbaserowApi: {\n\t\thost: 'https://api.baserow.io',\n\t\tusername: 'nathan@n8n.io',\n\t\tpassword: 'fake-password',\n\t},\n\twordpressApi: {\n\t\turl: 'https://myblog.com',\n\t\tallowUnauthorizedCerts: false,\n\t\tusername: 'nodeqa',\n\t\tpassword: 'fake-password',\n\t},\n\tdiscordWebhookApi: {\n\t\twebhookUri: 'https://discord.com/webhook',\n\t},\n\tsalesforceOAuth2Api: {\n\t\tgrantType: 'pkce',\n\t\tenvironment: 'production',\n\t\tauthUrl: 'https://login.salesforce.com/services/oauth2/authorize',\n\t\taccessTokenUrl: 'https://login.salesforce.com/services/oauth2/token',\n\t\tscope: 'full refresh_token',\n\t\tauthQueryParameters: '',\n\t\tauthentication: 'header',\n\t\toauthTokenData: {\n\t\t\taccess_token: 'ACCESSTOKEN',\n\t\t\tinstance_url: 'https://salesforce.instance',\n\t\t},\n\t},\n} as const;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIO,MAAM,wBAAwB;AAAA,EACpC,CAAC,KAAK,UAAU,EAAE,IAAI,MAAM,MAAM,mBAAmB,CAAC,CAAC,GAAG;AAAA,IACzD,QAAQ;AAAA,EACT;AAAA,EACA,CAAC,KAAK,UAAU,EAAE,IAAI,oBAAoB,MAAM,oBAAoB,CAAC,CAAC,GAAG;AAAA,IACxE,SAAS;AAAA,IACT,YAAY;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IA8BZ,WAAW;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAWX,WAAW;AAAA,EACZ;AAAA,EACA,aAAa;AAAA,IACZ,QAAQ;AAAA,EACT;AAAA,EACA,uBAAuB;AAAA,IACtB,WAAW;AAAA,IACX,SAAS;AAAA,IACT,gBAAgB;AAAA,IAChB,UAAU;AAAA,IACV,cAAc;AAAA,IACd,OAAO;AAAA,IACP,qBAAqB;AAAA,IACrB,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,MACf,YAAY;AAAA,MACZ,OAAO;AAAA,MACP,YAAY;AAAA,MACZ,gBAAgB;AAAA,MAChB,cAAc;AAAA,MACd,qBAAqB;AAAA,QACpB,eAAe;AAAA,MAChB;AAAA,IACD;AAAA,IACA,SAAS;AAAA,IACT,SAAS;AAAA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