n8n-nodes-clientify 0.2.9 → 0.2.10
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.
|
@@ -3,5 +3,19 @@ export declare class ClientifyApi implements ICredentialType {
|
|
|
3
3
|
name: string;
|
|
4
4
|
displayName: string;
|
|
5
5
|
documentationUrl: string;
|
|
6
|
+
authenticate: {
|
|
7
|
+
readonly type: "generic";
|
|
8
|
+
readonly properties: {
|
|
9
|
+
readonly headers: {
|
|
10
|
+
readonly Authorization: "=Token {{$credentials.apiKey}}";
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
test: {
|
|
15
|
+
readonly request: {
|
|
16
|
+
readonly baseURL: "={{$credentials.baseUrl}}";
|
|
17
|
+
readonly url: "/users/me/";
|
|
18
|
+
};
|
|
19
|
+
};
|
|
6
20
|
properties: INodeProperties[];
|
|
7
21
|
}
|
|
@@ -6,6 +6,20 @@ class ClientifyApi {
|
|
|
6
6
|
this.name = 'clientifyApi';
|
|
7
7
|
this.displayName = 'Clientify API';
|
|
8
8
|
this.documentationUrl = 'https://newapi.clientify.com/';
|
|
9
|
+
this.authenticate = {
|
|
10
|
+
type: 'generic',
|
|
11
|
+
properties: {
|
|
12
|
+
headers: {
|
|
13
|
+
Authorization: '=Token {{$credentials.apiKey}}',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
this.test = {
|
|
18
|
+
request: {
|
|
19
|
+
baseURL: '={{$credentials.baseUrl}}',
|
|
20
|
+
url: '/users/me/',
|
|
21
|
+
},
|
|
22
|
+
};
|
|
9
23
|
this.properties = [
|
|
10
24
|
{
|
|
11
25
|
displayName: 'API Key',
|
package/dist/package.json
CHANGED