n8n-nodes-upload-post 0.1.8 → 0.1.11
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.
- package/README.md +2 -2
- package/dist/credentials/UploadPost.svg +271 -0
- package/dist/credentials/UploadPostApi.credentials.d.ts +1 -0
- package/dist/credentials/UploadPostApi.credentials.js +6 -4
- package/dist/credentials/UploadPostApi.credentials.js.map +1 -1
- package/dist/nodes/UploadPost/UploadPost.node.js +387 -507
- package/dist/nodes/UploadPost/UploadPost.node.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodePro
|
|
|
2
2
|
export declare class UploadPostApi implements ICredentialType {
|
|
3
3
|
name: string;
|
|
4
4
|
displayName: string;
|
|
5
|
+
readonly icon = "file:UploadPost.svg";
|
|
5
6
|
documentationUrl: string;
|
|
6
7
|
properties: INodeProperties[];
|
|
7
8
|
authenticate: IAuthenticateGeneric;
|
|
@@ -5,7 +5,8 @@ class UploadPostApi {
|
|
|
5
5
|
constructor() {
|
|
6
6
|
this.name = 'uploadPostApi';
|
|
7
7
|
this.displayName = 'Upload Post API';
|
|
8
|
-
this.
|
|
8
|
+
this.icon = 'file:UploadPost.svg';
|
|
9
|
+
this.documentationUrl = 'https://docs.upload-post.com';
|
|
9
10
|
this.properties = [
|
|
10
11
|
{
|
|
11
12
|
displayName: 'API Key',
|
|
@@ -15,15 +16,16 @@ class UploadPostApi {
|
|
|
15
16
|
password: true,
|
|
16
17
|
},
|
|
17
18
|
default: '',
|
|
18
|
-
|
|
19
|
+
placeholder: 'Enter your Upload-Post API Key',
|
|
20
|
+
description: 'You can find your API key here: https://app.upload-post.com/api-keys',
|
|
19
21
|
},
|
|
20
22
|
];
|
|
21
23
|
this.authenticate = {
|
|
22
24
|
type: 'generic',
|
|
23
25
|
properties: {
|
|
24
26
|
headers: {
|
|
25
|
-
'Authorization': '=Apikey {{
|
|
26
|
-
}
|
|
27
|
+
'Authorization': '=Apikey {{$credentials.apiKey}}'
|
|
28
|
+
}
|
|
27
29
|
},
|
|
28
30
|
};
|
|
29
31
|
this.test = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadPostApi.credentials.js","sourceRoot":"","sources":["../../credentials/UploadPostApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,aAAa;IAA1B;QACC,SAAI,GAAG,eAAe,CAAC;QACvB,gBAAW,GAAG,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"UploadPostApi.credentials.js","sourceRoot":"","sources":["../../credentials/UploadPostApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,aAAa;IAA1B;QACC,SAAI,GAAG,eAAe,CAAC;QACvB,gBAAW,GAAG,iBAAiB,CAAC;QACvB,SAAI,GAAG,qBAAqB,CAAC;QAEtC,qBAAgB,GAAG,8BAA8B,CAAC;QAElD,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,gCAAgC;gBAC7C,WAAW,EAAE,sEAAsE;aACnF;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,eAAe,EAAE,iCAAiC;iBAClD;aACD;SACD,CAAC;QAIF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,iCAAiC;gBAC1C,GAAG,EAAE,iBAAiB;gBACtB,MAAM,EAAE,KAAK;gBACb,OAAO,EAAE;oBACR,eAAe,EAAE,mCAAmC;iBACpD;aACD;SACD,CAAC;IACH,CAAC;CAAA;AA1CD,sCA0CC"}
|