@pegasuss/n8n-nodes-suitecrm 0.1.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.
@@ -0,0 +1,8 @@
1
+ import { ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class SuiteCRMApi implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ documentationUrl: string;
6
+ properties: INodeProperties[];
7
+ }
8
+ //# sourceMappingURL=SuiteCRMApi.credentials.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SuiteCRMApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/SuiteCRMApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEhE,qBAAa,WAAY,YAAW,eAAe;IAClD,IAAI,SAAiB;IACrB,WAAW,SAAkB;IAC7B,gBAAgB,SAC2D;IAC3E,UAAU,EAAE,eAAe,EAAE,CA6B3B;CACF"}
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SuiteCRMApi = void 0;
4
+ class SuiteCRMApi {
5
+ constructor() {
6
+ this.name = 'suiteCRMApi';
7
+ this.displayName = 'SuiteCRM API';
8
+ this.documentationUrl = 'https://docs.suitecrm.com/developer/api/developer-setup-guide/json-api/';
9
+ this.properties = [
10
+ {
11
+ displayName: 'Base URL',
12
+ name: 'baseUrl',
13
+ type: 'string',
14
+ default: 'https://your-suitecrm.com',
15
+ placeholder: 'https://crm.yourcompany.com',
16
+ description: 'URL da sua instância SuiteCRM (sem barra no final). Ex: https://crm.empresa.com',
17
+ required: true,
18
+ },
19
+ {
20
+ displayName: 'Client ID',
21
+ name: 'clientId',
22
+ type: 'string',
23
+ default: '',
24
+ description: 'OAuth2 Client ID criado em Admin > OAuth2 Clients no SuiteCRM',
25
+ required: true,
26
+ },
27
+ {
28
+ displayName: 'Client Secret',
29
+ name: 'clientSecret',
30
+ type: 'string',
31
+ typeOptions: { password: true },
32
+ default: '',
33
+ description: 'OAuth2 Client Secret correspondente ao Client ID',
34
+ required: true,
35
+ },
36
+ ];
37
+ }
38
+ }
39
+ exports.SuiteCRMApi = SuiteCRMApi;
40
+ //# sourceMappingURL=SuiteCRMApi.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SuiteCRMApi.credentials.js","sourceRoot":"","sources":["../../credentials/SuiteCRMApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,WAAW;IAAxB;QACC,SAAI,GAAG,aAAa,CAAC;QACrB,gBAAW,GAAG,cAAc,CAAC;QAC7B,qBAAgB,GACf,yEAAyE,CAAC;QAC3E,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,2BAA2B;gBACpC,WAAW,EAAE,6BAA6B;gBAC1C,WAAW,EACV,iFAAiF;gBAClF,QAAQ,EAAE,IAAI;aACd;YACD;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EACV,+DAA+D;gBAChE,QAAQ,EAAE,IAAI;aACd;YACD;gBACC,WAAW,EAAE,eAAe;gBAC5B,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,kDAAkD;gBAC/D,QAAQ,EAAE,IAAI;aACd;SACD,CAAC;IACH,CAAC;CAAA;AAnCD,kCAmCC"}
@@ -0,0 +1,3 @@
1
+ export { SuiteCRM } from './nodes/SuiteCRM/SuiteCRM.node';
2
+ export { SuiteCRMApi } from './credentials/SuiteCRMApi.credentials';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SuiteCRMApi = exports.SuiteCRM = void 0;
4
+ var SuiteCRM_node_1 = require("./nodes/SuiteCRM/SuiteCRM.node");
5
+ Object.defineProperty(exports, "SuiteCRM", { enumerable: true, get: function () { return SuiteCRM_node_1.SuiteCRM; } });
6
+ var SuiteCRMApi_credentials_1 = require("./credentials/SuiteCRMApi.credentials");
7
+ Object.defineProperty(exports, "SuiteCRMApi", { enumerable: true, get: function () { return SuiteCRMApi_credentials_1.SuiteCRMApi; } });
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAA,gEAA0D;AAAjD,yGAAA,QAAQ,OAAA;AACjB,iFAAoE;AAA3D,sHAAA,WAAW,OAAA"}
@@ -0,0 +1,6 @@
1
+ import { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class SuiteCRM implements INodeType {
3
+ description: INodeTypeDescription;
4
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
5
+ }
6
+ //# sourceMappingURL=SuiteCRM.node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SuiteCRM.node.d.ts","sourceRoot":"","sources":["../../../nodes/SuiteCRM/SuiteCRM.node.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,EACT,oBAAoB,EAEpB,MAAM,cAAc,CAAC;AA4GtB,qBAAa,QAAS,YAAW,SAAS;IACzC,WAAW,EAAE,oBAAoB,CAs4B/B;IAKI,OAAO,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC;CAuTvE"}