n8n-nodes-alterlab 0.7.1 → 0.9.0

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.
@@ -1,4 +1,4 @@
1
- import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
1
+ import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from "n8n-workflow";
2
2
  export declare class AlterLabApi implements ICredentialType {
3
3
  name: string;
4
4
  displayName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"AlterLabApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/AlterLabApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,oBAAoB,EACpB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,WAAY,YAAW,eAAe;IAClD,IAAI,SAAiB;IACrB,WAAW,SAAkB;IAC7B,gBAAgB,SACkF;IAElG,UAAU,EAAE,eAAe,EAAE,CAkB3B;IAEF,YAAY,EAAE,oBAAoB,CAOhC;IAEF,IAAI,EAAE,sBAAsB,CAM1B;CACF"}
1
+ {"version":3,"file":"AlterLabApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/AlterLabApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,sBAAsB,EACtB,eAAe,EACf,eAAe,EAChB,MAAM,cAAc,CAAC;AAEtB,qBAAa,WAAY,YAAW,eAAe;IACjD,IAAI,SAAiB;IACrB,WAAW,SAAkB;IAC7B,gBAAgB,SACmF;IAEnG,UAAU,EAAE,eAAe,EAAE,CAmB3B;IAEF,YAAY,EAAE,oBAAoB,CAOhC;IAEF,IAAI,EAAE,sBAAsB,CAM1B;CACH"}
@@ -3,40 +3,40 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AlterLabApi = void 0;
4
4
  class AlterLabApi {
5
5
  constructor() {
6
- this.name = 'alterLabApi';
7
- this.displayName = 'AlterLab API';
8
- this.documentationUrl = 'https://docs.alterlab.io/api?utm_source=n8n&utm_medium=integration&utm_campaign=community_node';
6
+ this.name = "alterLabApi";
7
+ this.displayName = "AlterLab API";
8
+ this.documentationUrl = "https://docs.alterlab.io/api?utm_source=n8n&utm_medium=integration&utm_campaign=community_node";
9
9
  this.properties = [
10
10
  {
11
- displayName: 'API Key',
12
- name: 'apiKey',
13
- type: 'string',
11
+ displayName: "API Key",
12
+ name: "apiKey",
13
+ type: "string",
14
14
  typeOptions: { password: true },
15
- default: '',
15
+ default: "",
16
16
  required: true,
17
17
  description: 'Your AlterLab API key. <a href="https://app.alterlab.io/dashboard/keys?utm_source=n8n&utm_medium=integration&utm_campaign=community_node" target="_blank">Find your API key</a> or <a href="https://app.alterlab.io/signin?redirect=/dashboard/keys&source=n8n&utm_source=n8n&utm_medium=integration&utm_campaign=community_node" target="_blank">sign up free — $1 balance, up to 5,000 scrapes</a>.',
18
18
  },
19
19
  {
20
- displayName: 'Base URL',
21
- name: 'baseUrl',
22
- type: 'string',
23
- default: 'https://api.alterlab.io',
24
- description: 'AlterLab API base URL. Only change for self-hosted instances.',
20
+ displayName: "Base URL",
21
+ name: "baseUrl",
22
+ type: "string",
23
+ default: "https://api.alterlab.io",
24
+ description: "AlterLab API base URL. Only change for self-hosted instances.",
25
25
  },
26
26
  ];
27
27
  this.authenticate = {
28
- type: 'generic',
28
+ type: "generic",
29
29
  properties: {
30
30
  headers: {
31
- 'X-API-Key': '={{$credentials.apiKey}}',
31
+ "X-API-Key": "={{$credentials.apiKey}}",
32
32
  },
33
33
  },
34
34
  };
35
35
  this.test = {
36
36
  request: {
37
- baseURL: '={{$credentials.baseUrl}}',
38
- url: '/api/v1/usage',
39
- method: 'GET',
37
+ baseURL: "={{$credentials.baseUrl}}",
38
+ url: "/api/v1/usage",
39
+ method: "GET",
40
40
  },
41
41
  };
42
42
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AlterLabApi.credentials.js","sourceRoot":"","sources":["../../credentials/AlterLabApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,WAAW;IAAxB;QACC,SAAI,GAAG,aAAa,CAAC;QACrB,gBAAW,GAAG,cAAc,CAAC;QAC7B,qBAAgB,GACf,gGAAgG,CAAC;QAElG,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EACV,uYAAuY;aACxY;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,yBAAyB;gBAClC,WAAW,EAAE,+DAA+D;aAC5E;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,WAAW,EAAE,0BAA0B;iBACvC;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,2BAA2B;gBACpC,GAAG,EAAE,eAAe;gBACpB,MAAM,EAAE,KAAK;aACb;SACD,CAAC;IACH,CAAC;CAAA;AA1CD,kCA0CC"}
1
+ {"version":3,"file":"AlterLabApi.credentials.js","sourceRoot":"","sources":["../../credentials/AlterLabApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,WAAW;IAAxB;QACE,SAAI,GAAG,aAAa,CAAC;QACrB,gBAAW,GAAG,cAAc,CAAC;QAC7B,qBAAgB,GACd,gGAAgG,CAAC;QAEnG,eAAU,GAAsB;YAC9B;gBACE,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,IAAI;gBACd,WAAW,EACT,uYAAuY;aAC1Y;YACD;gBACE,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,yBAAyB;gBAClC,WAAW,EACT,+DAA+D;aAClE;SACF,CAAC;QAEF,iBAAY,GAAyB;YACnC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,WAAW,EAAE,0BAA0B;iBACxC;aACF;SACF,CAAC;QAEF,SAAI,GAA2B;YAC7B,OAAO,EAAE;gBACP,OAAO,EAAE,2BAA2B;gBACpC,GAAG,EAAE,eAAe;gBACpB,MAAM,EAAE,KAAK;aACd;SACF,CAAC;IACJ,CAAC;CAAA;AA3CD,kCA2CC"}
@@ -1,4 +1,4 @@
1
- import type { ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
1
+ import type { ICredentialTestRequest, ICredentialType, INodeProperties } from "n8n-workflow";
2
2
  export declare class AlterLabOAuth2Api implements ICredentialType {
3
3
  name: string;
4
4
  displayName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"AlterLabOAuth2Api.credentials.d.ts","sourceRoot":"","sources":["../../credentials/AlterLabOAuth2Api.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,MAAM,cAAc,CAAC;AAEtB,qBAAa,iBAAkB,YAAW,eAAe;IACxD,IAAI,SAAuB;IAC3B,WAAW,SAAyB;IACpC,gBAAgB,SACkF;IAElG,OAAO,WAAiB;IAExB,UAAU,EAAE,eAAe,EAAE,CAiD3B;IAEF,IAAI,EAAE,sBAAsB,CAM1B;CACF"}
1
+ {"version":3,"file":"AlterLabOAuth2Api.credentials.d.ts","sourceRoot":"","sources":["../../credentials/AlterLabOAuth2Api.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,eAAe,EACf,eAAe,EAChB,MAAM,cAAc,CAAC;AAEtB,qBAAa,iBAAkB,YAAW,eAAe;IACvD,IAAI,SAAuB;IAC3B,WAAW,SAAyB;IACpC,gBAAgB,SACmF;IAEnG,OAAO,WAAiB;IAExB,UAAU,EAAE,eAAe,EAAE,CAiD3B;IAEF,IAAI,EAAE,sBAAsB,CAM1B;CACH"}
@@ -3,65 +3,65 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AlterLabOAuth2Api = void 0;
4
4
  class AlterLabOAuth2Api {
5
5
  constructor() {
6
- this.name = 'alterLabOAuth2Api';
7
- this.displayName = 'AlterLab OAuth2 API';
8
- this.documentationUrl = 'https://docs.alterlab.io/api?utm_source=n8n&utm_medium=integration&utm_campaign=community_node';
9
- this.extends = ['oAuth2Api'];
6
+ this.name = "alterLabOAuth2Api";
7
+ this.displayName = "AlterLab OAuth2 API";
8
+ this.documentationUrl = "https://docs.alterlab.io/api?utm_source=n8n&utm_medium=integration&utm_campaign=community_node";
9
+ this.extends = ["oAuth2Api"];
10
10
  this.properties = [
11
11
  {
12
- displayName: 'Grant Type',
13
- name: 'grantType',
14
- type: 'hidden',
15
- default: 'authorizationCode',
12
+ displayName: "Grant Type",
13
+ name: "grantType",
14
+ type: "hidden",
15
+ default: "authorizationCode",
16
16
  },
17
17
  {
18
- displayName: 'Authorization URL',
19
- name: 'authorizationUrl',
20
- type: 'hidden',
21
- default: 'https://app.alterlab.io/oauth/authorize',
18
+ displayName: "Authorization URL",
19
+ name: "authorizationUrl",
20
+ type: "hidden",
21
+ default: "https://app.alterlab.io/oauth/authorize",
22
22
  },
23
23
  {
24
- displayName: 'Access Token URL',
25
- name: 'accessTokenUrl',
26
- type: 'hidden',
27
- default: 'https://api.alterlab.io/api/v1/oauth/token',
24
+ displayName: "Access Token URL",
25
+ name: "accessTokenUrl",
26
+ type: "hidden",
27
+ default: "https://api.alterlab.io/api/v1/oauth/token",
28
28
  },
29
29
  {
30
- displayName: 'Client ID',
31
- name: 'clientId',
32
- type: 'hidden',
33
- default: 'n8n-community-node',
30
+ displayName: "Client ID",
31
+ name: "clientId",
32
+ type: "hidden",
33
+ default: "n8n-community-node",
34
34
  },
35
35
  {
36
- displayName: 'Client Secret',
37
- name: 'clientSecret',
38
- type: 'hidden',
39
- default: 'altrlab_n8n_Kx7mP2vQ9wR4jH6nB3cT5zY8',
36
+ displayName: "Client Secret",
37
+ name: "clientSecret",
38
+ type: "hidden",
39
+ default: "altrlab_n8n_Kx7mP2vQ9wR4jH6nB3cT5zY8",
40
40
  },
41
41
  {
42
- displayName: 'Scope',
43
- name: 'scope',
44
- type: 'hidden',
45
- default: 'scrape',
42
+ displayName: "Scope",
43
+ name: "scope",
44
+ type: "hidden",
45
+ default: "scrape",
46
46
  },
47
47
  {
48
- displayName: 'Auth URI Query Parameters',
49
- name: 'authQueryParameters',
50
- type: 'hidden',
51
- default: '',
48
+ displayName: "Auth URI Query Parameters",
49
+ name: "authQueryParameters",
50
+ type: "hidden",
51
+ default: "",
52
52
  },
53
53
  {
54
- displayName: 'Authentication',
55
- name: 'authentication',
56
- type: 'hidden',
57
- default: 'body',
54
+ displayName: "Authentication",
55
+ name: "authentication",
56
+ type: "hidden",
57
+ default: "body",
58
58
  },
59
59
  ];
60
60
  this.test = {
61
61
  request: {
62
- baseURL: 'https://api.alterlab.io',
63
- url: '/api/v1/usage',
64
- method: 'GET',
62
+ baseURL: "https://api.alterlab.io",
63
+ url: "/api/v1/usage",
64
+ method: "GET",
65
65
  },
66
66
  };
67
67
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AlterLabOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/AlterLabOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAMA,MAAa,iBAAiB;IAA9B;QACC,SAAI,GAAG,mBAAmB,CAAC;QAC3B,gBAAW,GAAG,qBAAqB,CAAC;QACpC,qBAAgB,GACf,gGAAgG,CAAC;QAElG,YAAO,GAAG,CAAC,WAAW,CAAC,CAAC;QAExB,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,mBAAmB;aAC5B;YACD;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,kBAAkB;gBACxB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,yCAAyC;aAClD;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,4CAA4C;aACrD;YACD;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,oBAAoB;aAC7B;YACD;gBACC,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,sCAAsC;aAC/C;YACD;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,QAAQ;aACjB;YACD;gBACC,WAAW,EAAE,2BAA2B;gBACxC,IAAI,EAAE,qBAAqB;gBAC3B,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,MAAM;aACf;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,yBAAyB;gBAClC,GAAG,EAAE,eAAe;gBACpB,MAAM,EAAE,KAAK;aACb;SACD,CAAC;IACH,CAAC;CAAA;AAlED,8CAkEC"}
1
+ {"version":3,"file":"AlterLabOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/AlterLabOAuth2Api.credentials.ts"],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;gBACpB,MAAM,EAAE,KAAK;aACd;SACF,CAAC;IACJ,CAAC;CAAA;AAlED,8CAkEC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AlterLab.node.d.ts","sourceRoot":"","sources":["../../../nodes/AlterLab/AlterLab.node.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,oBAAoB,EAErB,MAAM,cAAc,CAAC;AAKtB,qBAAa,QAAS,YAAW,SAAS;IACxC,WAAW,EAAE,oBAAoB,CAuxB/B;IAEI,OAAO,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC;CAywBxE"}
1
+ {"version":3,"file":"AlterLab.node.d.ts","sourceRoot":"","sources":["../../../nodes/AlterLab/AlterLab.node.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,oBAAoB,EAErB,MAAM,cAAc,CAAC;AAKtB,qBAAa,QAAS,YAAW,SAAS;IACxC,WAAW,EAAE,oBAAoB,CAgkD/B;IAEI,OAAO,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC;CAy6CxE"}