@crm-kraft/n8n-nodes-close 2.0.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.
- package/dist/credentials/CloseApi.credentials.d.ts +23 -0
- package/dist/credentials/CloseApi.credentials.d.ts.map +1 -0
- package/dist/credentials/CloseApi.credentials.js +38 -0
- package/dist/credentials/CloseApi.credentials.js.map +1 -0
- package/dist/nodes/Close/Close.node.d.ts +14 -0
- package/dist/nodes/Close/Close.node.d.ts.map +1 -0
- package/dist/nodes/Close/Close.node.js +893 -0
- package/dist/nodes/Close/Close.node.js.map +1 -0
- package/dist/nodes/Close/GenericFunctions.d.ts +4 -0
- package/dist/nodes/Close/GenericFunctions.d.ts.map +1 -0
- package/dist/nodes/Close/GenericFunctions.js +46 -0
- package/dist/nodes/Close/GenericFunctions.js.map +1 -0
- package/dist/nodes/Close/close.svg +16 -0
- package/dist/nodes/CloseTrigger/CloseTrigger.node.d.ts +18 -0
- package/dist/nodes/CloseTrigger/CloseTrigger.node.d.ts.map +1 -0
- package/dist/nodes/CloseTrigger/CloseTrigger.node.js +361 -0
- package/dist/nodes/CloseTrigger/CloseTrigger.node.js.map +1 -0
- package/dist/nodes/CloseTrigger/close.svg +16 -0
- package/dist/nodes/close.svg +16 -0
- package/package.json +60 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class CloseApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
documentationUrl: string;
|
|
6
|
+
properties: INodeProperties[];
|
|
7
|
+
authenticate: {
|
|
8
|
+
type: "generic";
|
|
9
|
+
properties: {
|
|
10
|
+
auth: {
|
|
11
|
+
username: string;
|
|
12
|
+
password: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
test: {
|
|
17
|
+
request: {
|
|
18
|
+
baseURL: string;
|
|
19
|
+
url: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=CloseApi.credentials.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloseApi.credentials.d.ts","sourceRoot":"","sources":["../../credentials/CloseApi.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEhE,qBAAa,QAAS,YAAW,eAAe;IAC/C,IAAI,SAAc;IAClB,WAAW,SAAmB;IAC9B,gBAAgB,SAAkC;IAClD,UAAU,EAAE,eAAe,EAAE,CAU3B;IACF,YAAY;;;;;;;;MAQV;IACF,IAAI;;;;;MAKF;CACF"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CloseApi = void 0;
|
|
4
|
+
class CloseApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'closeApi';
|
|
7
|
+
this.displayName = 'Close.com API';
|
|
8
|
+
this.documentationUrl = 'https://developer.close.com/';
|
|
9
|
+
this.properties = [
|
|
10
|
+
{
|
|
11
|
+
displayName: 'API Key',
|
|
12
|
+
name: 'apiKey',
|
|
13
|
+
type: 'string',
|
|
14
|
+
typeOptions: { password: true },
|
|
15
|
+
default: '',
|
|
16
|
+
required: true,
|
|
17
|
+
description: 'Your Close.com API Key',
|
|
18
|
+
},
|
|
19
|
+
];
|
|
20
|
+
this.authenticate = {
|
|
21
|
+
type: 'generic',
|
|
22
|
+
properties: {
|
|
23
|
+
auth: {
|
|
24
|
+
username: '={{$credentials.apiKey}}',
|
|
25
|
+
password: '',
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
this.test = {
|
|
30
|
+
request: {
|
|
31
|
+
baseURL: 'https://api.close.com',
|
|
32
|
+
url: '/api/v1/me/',
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.CloseApi = CloseApi;
|
|
38
|
+
//# sourceMappingURL=CloseApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CloseApi.credentials.js","sourceRoot":"","sources":["../../credentials/CloseApi.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,QAAQ;IAArB;QACC,SAAI,GAAG,UAAU,CAAC;QAClB,gBAAW,GAAG,eAAe,CAAC;QAC9B,qBAAgB,GAAG,8BAA8B,CAAC;QAClD,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,EAAE,wBAAwB;aACrC;SACD,CAAC;QACF,iBAAY,GAAG;YACd,IAAI,EAAE,SAAkB;YACxB,UAAU,EAAE;gBACX,IAAI,EAAE;oBACL,QAAQ,EAAE,0BAA0B;oBACpC,QAAQ,EAAE,EAAE;iBACZ;aACD;SACD,CAAC;QACF,SAAI,GAAG;YACN,OAAO,EAAE;gBACR,OAAO,EAAE,uBAAuB;gBAChC,GAAG,EAAE,aAAa;aAClB;SACD,CAAC;IACH,CAAC;CAAA;AA9BD,4BA8BC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IExecuteFunctions, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
2
|
+
export declare class Close implements INodeType {
|
|
3
|
+
description: INodeTypeDescription;
|
|
4
|
+
methods: {
|
|
5
|
+
loadOptions: {
|
|
6
|
+
getLeadStatuses(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
7
|
+
getOpportunityStatuses(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
8
|
+
getCustomActivityTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
9
|
+
getUsers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=Close.node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Close.node.d.ts","sourceRoot":"","sources":["../../../nodes/Close/Close.node.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACpB,SAAS,EACT,oBAAoB,EAGpB,MAAM,cAAc,CAAC;AAGtB,qBAAa,KAAM,YAAW,SAAS;IACtC,WAAW,EAAE,oBAAoB,CAojB/B;IAEF,OAAO;;kCAEuB,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;yCAIhD,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;yCAIvD,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;2BAIrE,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;;MAQ5E;IAEI,OAAO,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC;CA6RvE"}
|