@impozly/n8n-nodes-impozly 0.1.4 → 0.1.5

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 { ICredentialType, INodeProperties } from 'n8n-workflow';
1
+ import type { IAuthenticateGeneric, Icon, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
2
2
  /**
3
3
  * Impozly API key credential.
4
4
  * Auth scheme: X-Api-Key header (Studio plan required for API access).
@@ -6,25 +6,9 @@ import type { ICredentialType, INodeProperties } from 'n8n-workflow';
6
6
  export declare class ImpozlyApi implements ICredentialType {
7
7
  name: string;
8
8
  displayName: string;
9
- icon: {
10
- readonly light: "file:../nodes/Impozly/impozly.svg";
11
- readonly dark: "file:../nodes/Impozly/impozly.dark.svg";
12
- };
9
+ icon: Icon;
13
10
  documentationUrl: string;
14
11
  properties: INodeProperties[];
15
- authenticate: {
16
- type: "generic";
17
- properties: {
18
- headers: {
19
- 'X-Api-Key': string;
20
- };
21
- };
22
- };
23
- test: {
24
- request: {
25
- baseURL: string;
26
- url: string;
27
- method: "GET";
28
- };
29
- };
12
+ authenticate: IAuthenticateGeneric;
13
+ test: ICredentialTestRequest;
30
14
  }
@@ -41,12 +41,11 @@ class ImpozlyApi {
41
41
  },
42
42
  },
43
43
  };
44
- // Lightweight credential test — a missing job should return 404 (auth OK),
45
- // a bad key returns 401/403.
44
+ // Credential test — list jobs returns 200 with valid auth, 401/403 without.
46
45
  test = {
47
46
  request: {
48
47
  baseURL: '={{$credentials.baseUrl}}',
49
- url: '/api/v1/gangup/jobs/credential-test',
48
+ url: '/api/v1/gangup/jobs',
50
49
  method: 'GET',
51
50
  },
52
51
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ImpozlyApi.credentials.js","sourceRoot":"","sources":["../../credentials/ImpozlyApi.credentials.ts"],"names":[],"mappings":";;;AAEA;;;GAGG;AACH,MAAa,UAAU;IACtB,IAAI,GAAG,YAA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QAC/B;YACC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,qBAAqB;YAC9B,WAAW,EAAE,2BAA2B;YACxC,WAAW,EAAE,sDAAsD;YACnE,QAAQ,EAAE,IAAI;SACd;QACD;YACC,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE;gBACZ,QAAQ,EAAE,IAAI;aACd;YACD,WAAW,EAAE,yDAAyD;YACtE,QAAQ,EAAE,IAAI;SACd;KACD,CAAC;IAEF,sDAAsD;IACtD,YAAY,GAAyB;QACpC,IAAI,EAAE,SAAS;QACf,UAAU,EAAE;YACX,OAAO,EAAE;gBACR,WAAW,EAAE,0BAA0B;aACvC;SACD;KACD,CAAC;IAEF,4EAA4E;IAC5E,IAAI,GAA2B;QAC9B,OAAO,EAAE;YACR,OAAO,EAAE,2BAA2B;YACpC,GAAG,EAAE,qBAAqB;YAC1B,MAAM,EAAE,KAAK;SACb;KACD,CAAC;CACF;AAlDD,gCAkDC"}
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@impozly/n8n-nodes-impozly",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Impozly PDF imposition community node for n8n",
5
5
  "license": "MIT",
6
6
  "homepage": "https://impozly.com",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@impozly/n8n-nodes-impozly",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Impozly PDF imposition community node for n8n",
5
5
  "license": "MIT",
6
6
  "homepage": "https://impozly.com",