mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
🔀 Merge branch 'mcolomer-uProc_integration'
This commit is contained in:
commit
46138f7f1e
|
@ -20,7 +20,10 @@ export async function uprocApiRequest(this: IHookFunctions | IExecuteFunctions |
|
|||
}
|
||||
const token = Buffer.from(`${credentials.email}:${credentials.apiKey}`).toString('base64');
|
||||
const options: OptionsWithUri = {
|
||||
headers: { Authorization: `Basic ${token}` },
|
||||
headers: {
|
||||
Authorization: `Basic ${token}`,
|
||||
'User-agent': 'n8n',
|
||||
},
|
||||
method,
|
||||
qs,
|
||||
body,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {
|
||||
IDataObject,
|
||||
INodeProperties,
|
||||
INodeProperties
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import {
|
||||
|
|
|
@ -1,36 +1 @@
|
|||
export const groups = {
|
||||
groups: [{
|
||||
'translated': 'Audio',
|
||||
'name': 'audio',
|
||||
}, {
|
||||
'translated': 'Communication',
|
||||
'name': 'communication',
|
||||
}, {
|
||||
'translated': 'Company',
|
||||
'name': 'company',
|
||||
}, {
|
||||
'translated': 'Finance',
|
||||
'name': 'finance',
|
||||
}, {
|
||||
'translated': 'Geographical',
|
||||
'name': 'geographic',
|
||||
}, {
|
||||
'translated': 'Image',
|
||||
'name': 'image',
|
||||
}, {
|
||||
'translated': 'Internet',
|
||||
'name': 'internet',
|
||||
}, {
|
||||
'translated': 'Personal',
|
||||
'name': 'personal',
|
||||
}, {
|
||||
'translated': 'Product',
|
||||
'name': 'product',
|
||||
}, {
|
||||
'translated': 'Security',
|
||||
'name': 'security',
|
||||
}, {
|
||||
'translated': 'Text',
|
||||
'name': 'text',
|
||||
}],
|
||||
};
|
||||
export const groups = {groups: [{'translated':'Audio','name':'audio'},{'translated':'Communication','name':'communication'},{'translated':'Company','name':'company'},{'translated':'Finance','name':'finance'},{'translated':'Geographical','name':'geographic'},{'translated':'Image','name':'image'},{'translated':'Internet','name':'internet'},{'translated':'Personal','name':'personal'},{'translated':'Product','name':'product'},{'translated':'Security','name':'security'},{'translated':'Text','name':'text'}]};
|
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
|||
import {
|
||||
IDataObject,
|
||||
INodeProperties,
|
||||
INodeProperties
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import {
|
||||
|
|
|
@ -75,7 +75,7 @@ export class UProc implements INodeType {
|
|||
displayName: 'Data Webhook',
|
||||
name: 'dataWebhook',
|
||||
type: 'string',
|
||||
description: 'URL to send tool response when tool has resolved your request. You can create your own webhook at <a href="https://beeceptor.com" target="_blank">Beeceptor</a>, <a href="https://www.integromat.com/" target="_blank">Integromat</a>, <a href="https://zapier.com/" target="_blank">Zapier</a> or <a href="https://n8n.io/" target="_blank">n8n</a>',
|
||||
description: 'URL to send tool response when tool has resolved your request. You can create your own webhook at en <a href="https://beeceptor.com" target="_blank">Beeceptor</a>, <a href="https://www.integromat.com/" target="_blank">Integromat</a>, <a href="https://zapier.com/" target="_blank">Zapier</a> or <a href="https://n8n.io/" target="_blank">n8n</a>',
|
||||
default: '',
|
||||
},
|
||||
],
|
||||
|
@ -92,7 +92,6 @@ export class UProc implements INodeType {
|
|||
const tool = this.getNodeParameter('tool', 0) as string;
|
||||
const additionalOptions = this.getNodeParameter('additionalOptions', 0) as IDataObject;
|
||||
|
||||
|
||||
const dataWebhook = additionalOptions.dataWebhook as string;
|
||||
|
||||
interface LooseObject {
|
||||
|
|
|
@ -17,4 +17,4 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.9 KiB |
Loading…
Reference in a new issue