@joshuanode/n8n-nodes-datto-backup 0.1.0-beta.6 → 0.1.0-beta.7
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,7 +3,6 @@ export declare class DattoBackupApi implements ICredentialType {
|
|
|
3
3
|
name: string;
|
|
4
4
|
displayName: string;
|
|
5
5
|
documentationUrl: string;
|
|
6
|
-
extends: string[];
|
|
7
6
|
icon: {
|
|
8
7
|
readonly light: "file:../nodes/DattoBackup/dattobackup.svg";
|
|
9
8
|
readonly dark: "file:../nodes/DattoBackup/dattobackup.svg";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DattoBackupApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/DattoBackupApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,oBAAoB,EACpB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,cAAe,YAAW,eAAe;IACrD,IAAI,SAAoB;IAExB,WAAW,SAAsB;IAEjC,gBAAgB,SAAqD;IAErE,
|
|
1
|
+
{"version":3,"file":"DattoBackupApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/DattoBackupApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,oBAAoB,EACpB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,cAAe,YAAW,eAAe;IACrD,IAAI,SAAoB;IAExB,WAAW,SAAsB;IAEjC,gBAAgB,SAAqD;IAErE,IAAI;;;MAGO;IAEX,UAAU,EAAE,eAAe,EAAE,CAoB3B;IAEF,YAAY,EAAE,oBAAoB,CAQhC;IAEF,IAAI,EAAE,sBAAsB,CAU1B;CACF"}
|
|
@@ -5,7 +5,6 @@ class DattoBackupApi {
|
|
|
5
5
|
name = 'dattoBackupApi';
|
|
6
6
|
displayName = 'Datto Backup API';
|
|
7
7
|
documentationUrl = 'https://portal.dattobackup.com/integrations/api';
|
|
8
|
-
extends = ['httpBasicAuth'];
|
|
9
8
|
icon = {
|
|
10
9
|
light: 'file:../nodes/DattoBackup/dattobackup.svg',
|
|
11
10
|
dark: 'file:../nodes/DattoBackup/dattobackup.svg',
|
|
@@ -13,7 +12,7 @@ class DattoBackupApi {
|
|
|
13
12
|
properties = [
|
|
14
13
|
{
|
|
15
14
|
displayName: 'Public API Key',
|
|
16
|
-
name: '
|
|
15
|
+
name: 'publicKey',
|
|
17
16
|
type: 'string',
|
|
18
17
|
default: '',
|
|
19
18
|
required: true,
|
|
@@ -21,7 +20,7 @@ class DattoBackupApi {
|
|
|
21
20
|
},
|
|
22
21
|
{
|
|
23
22
|
displayName: 'Secret API Key',
|
|
24
|
-
name: '
|
|
23
|
+
name: 'secretKey',
|
|
25
24
|
type: 'string',
|
|
26
25
|
typeOptions: {
|
|
27
26
|
password: true,
|
|
@@ -35,7 +34,7 @@ class DattoBackupApi {
|
|
|
35
34
|
type: 'generic',
|
|
36
35
|
properties: {
|
|
37
36
|
headers: {
|
|
38
|
-
Authorization: '=
|
|
37
|
+
Authorization: '=Basic {{Buffer.from($credentials.publicKey + ":" + $credentials.secretKey).toString("base64")}}',
|
|
39
38
|
},
|
|
40
39
|
},
|
|
41
40
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DattoBackupApi.credentials.js","sourceRoot":"","sources":["../../credentials/DattoBackupApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,cAAc;IAC1B,IAAI,GAAG,gBAAgB,CAAC;IAExB,WAAW,GAAG,kBAAkB,CAAC;IAEjC,gBAAgB,GAAG,iDAAiD,CAAC;IAErE,
|
|
1
|
+
{"version":3,"file":"DattoBackupApi.credentials.js","sourceRoot":"","sources":["../../credentials/DattoBackupApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,cAAc;IAC1B,IAAI,GAAG,gBAAgB,CAAC;IAExB,WAAW,GAAG,kBAAkB,CAAC;IAEjC,gBAAgB,GAAG,iDAAiD,CAAC;IAErE,IAAI,GAAG;QACN,KAAK,EAAE,2CAA2C;QAClD,IAAI,EAAE,2CAA2C;KACxC,CAAC;IAEX,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,gBAAgB;YAC7B,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,gFAAgF;SAC7F;QACD;YACC,WAAW,EAAE,gBAAgB;YAC7B,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE;gBACZ,QAAQ,EAAE,IAAI;aACd;YACD,OAAO,EAAE,EAAE;YACX,QAAQ,EAAE,IAAI;YACd,WAAW,EAAE,gFAAgF;SAC7F;KACD,CAAC;IAEF,YAAY,GAAyB;QACpC,IAAI,EAAE,SAAS;QACf,UAAU,EAAE;YACX,OAAO,EAAE;gBACR,aAAa,EACZ,kGAAkG;aACnG;SACD;KACD,CAAC;IAEF,IAAI,GAA2B;QAC9B,OAAO,EAAE;YACR,OAAO,EAAE,0BAA0B;YACnC,GAAG,EAAE,cAAc;YACnB,MAAM,EAAE,KAAK;YACb,EAAE,EAAE;gBACH,KAAK,EAAE,CAAC;gBACR,QAAQ,EAAE,CAAC;aACX;SACD;KACD,CAAC;CACF;AAvDD,wCAuDC"}
|
package/package.json
CHANGED