mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat(Twake Node): Update icon, add cred test and custom operation support (#3431)
* Update icon, add cred injection and test, update url for integration * ⚡ Fix error display for some edge cases Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import {
|
||||
IAuthenticateBearer,
|
||||
ICredentialTestRequest,
|
||||
ICredentialType,
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
@@ -15,4 +17,18 @@ export class TwakeCloudApi implements ICredentialType {
|
||||
default: '',
|
||||
},
|
||||
];
|
||||
authenticate = {
|
||||
type: 'bearer',
|
||||
properties: {
|
||||
tokenPropertyName: 'workspaceKey',
|
||||
},
|
||||
} as IAuthenticateBearer;
|
||||
|
||||
test: ICredentialTestRequest = {
|
||||
request: {
|
||||
baseURL: 'https://plugins.twake.app/plugins/n8n',
|
||||
url: '/channel',
|
||||
method: 'POST',
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user