n8n-nodes-aimfox 1.0.10 → 1.0.11
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/nodes/Aimfox/properties/account/fields.d.ts +2 -0
- package/dist/nodes/Aimfox/properties/account/fields.js +75 -0
- package/dist/nodes/Aimfox/properties/account/fields.js.map +1 -0
- package/dist/nodes/Aimfox/properties/account/operations.js +31 -0
- package/dist/nodes/Aimfox/properties/account/operations.js.map +1 -1
- package/dist/nodes/Aimfox/properties/blacklist/fields.js +31 -1
- package/dist/nodes/Aimfox/properties/blacklist/fields.js.map +1 -1
- package/dist/nodes/Aimfox/properties/blacklist/operations.js +48 -6
- package/dist/nodes/Aimfox/properties/blacklist/operations.js.map +1 -1
- package/dist/nodes/Aimfox/properties/campaign/fields.js +115 -0
- package/dist/nodes/Aimfox/properties/campaign/fields.js.map +1 -1
- package/dist/nodes/Aimfox/properties/campaign/operations.js +33 -0
- package/dist/nodes/Aimfox/properties/campaign/operations.js.map +1 -1
- package/dist/nodes/Aimfox/properties/customVariable/fields.d.ts +2 -0
- package/dist/nodes/Aimfox/properties/customVariable/fields.js +58 -0
- package/dist/nodes/Aimfox/properties/customVariable/fields.js.map +1 -0
- package/dist/nodes/Aimfox/properties/customVariable/operations.d.ts +2 -0
- package/dist/nodes/Aimfox/properties/customVariable/operations.js +60 -0
- package/dist/nodes/Aimfox/properties/customVariable/operations.js.map +1 -0
- package/dist/nodes/Aimfox/properties/index.js +30 -20
- package/dist/nodes/Aimfox/properties/index.js.map +1 -1
- package/dist/nodes/Aimfox/properties/label/fields.js +19 -4
- package/dist/nodes/Aimfox/properties/label/fields.js.map +1 -1
- package/dist/nodes/Aimfox/properties/label/operations.js +41 -11
- package/dist/nodes/Aimfox/properties/label/operations.js.map +1 -1
- package/dist/nodes/Aimfox/properties/lead/fields.js +30 -0
- package/dist/nodes/Aimfox/properties/lead/fields.js.map +1 -1
- package/dist/nodes/Aimfox/properties/lead/operations.js +55 -0
- package/dist/nodes/Aimfox/properties/lead/operations.js.map +1 -1
- package/dist/nodes/Aimfox/properties/note/fields.js +17 -2
- package/dist/nodes/Aimfox/properties/note/fields.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.aimfoxNodeProperties = void 0;
|
|
4
|
+
const fields_1 = require("./account/fields");
|
|
4
5
|
const operations_1 = require("./account/operations");
|
|
5
|
-
const
|
|
6
|
+
const fields_2 = require("./blacklist/fields");
|
|
6
7
|
const operations_2 = require("./blacklist/operations");
|
|
7
|
-
const
|
|
8
|
+
const fields_3 = require("./campaign/fields");
|
|
8
9
|
const operations_3 = require("./campaign/operations");
|
|
9
|
-
const
|
|
10
|
+
const fields_4 = require("./conversation/fields");
|
|
10
11
|
const operations_4 = require("./conversation/operations");
|
|
11
|
-
const
|
|
12
|
-
const operations_5 = require("./
|
|
13
|
-
const
|
|
14
|
-
const operations_6 = require("./
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
12
|
+
const fields_5 = require("./customVariable/fields");
|
|
13
|
+
const operations_5 = require("./customVariable/operations");
|
|
14
|
+
const fields_6 = require("./label/fields");
|
|
15
|
+
const operations_6 = require("./label/operations");
|
|
16
|
+
const fields_7 = require("./lead/fields");
|
|
17
|
+
const operations_7 = require("./lead/operations");
|
|
18
|
+
const fields_8 = require("./note/fields");
|
|
19
|
+
const fields_9 = require("./template/fields");
|
|
20
|
+
const operations_8 = require("./template/operations");
|
|
18
21
|
const resourceOptions = {
|
|
19
22
|
displayName: 'Resource',
|
|
20
23
|
name: 'resource',
|
|
@@ -37,6 +40,10 @@ const resourceOptions = {
|
|
|
37
40
|
name: 'Conversation',
|
|
38
41
|
value: 'conversation',
|
|
39
42
|
},
|
|
43
|
+
{
|
|
44
|
+
name: 'Custom Variable',
|
|
45
|
+
value: 'customVariable',
|
|
46
|
+
},
|
|
40
47
|
{
|
|
41
48
|
name: 'Label',
|
|
42
49
|
value: 'label',
|
|
@@ -58,15 +65,18 @@ exports.aimfoxNodeProperties = [
|
|
|
58
65
|
operations_2.blacklistOperations,
|
|
59
66
|
operations_4.conversationOperations,
|
|
60
67
|
operations_3.campaignOperations,
|
|
61
|
-
operations_5.
|
|
62
|
-
operations_6.
|
|
63
|
-
operations_7.
|
|
64
|
-
|
|
65
|
-
...
|
|
66
|
-
...
|
|
67
|
-
...
|
|
68
|
-
...
|
|
69
|
-
...
|
|
70
|
-
...
|
|
68
|
+
operations_5.customVariableOperations,
|
|
69
|
+
operations_6.labelOperations,
|
|
70
|
+
operations_7.leadOperations,
|
|
71
|
+
operations_8.templateOperations,
|
|
72
|
+
...fields_1.accountFields,
|
|
73
|
+
...fields_2.blacklistFields,
|
|
74
|
+
...fields_3.campaignFields,
|
|
75
|
+
...fields_4.conversationFields,
|
|
76
|
+
...fields_5.customVariableFields,
|
|
77
|
+
...fields_6.labelFields,
|
|
78
|
+
...fields_7.leadFields,
|
|
79
|
+
...fields_8.noteFields,
|
|
80
|
+
...fields_9.templateFields,
|
|
71
81
|
];
|
|
72
82
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/Aimfox/properties/index.ts"],"names":[],"mappings":";;;AACA,qDAAyD;AACzD,+CAAqD;AACrD,uDAA6D;AAC7D,8CAAmD;AACnD,sDAA2D;AAC3D,kDAA2D;AAC3D,0DAAmE;AACnE,2CAA6C;AAC7C,mDAAqD;AACrD,0CAA2C;AAC3C,kDAAmD;AACnD,0CAA2C;AAC3C,8CAAmD;AACnD,sDAA2D;AAE3D,MAAM,eAAe,GAAoB;IACxC,WAAW,EAAE,UAAU;IACvB,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,SAAS;IACf,gBAAgB,EAAE,IAAI;IACtB,OAAO,EAAE;QACR;YACC,IAAI,EAAE,SAAS;YACf,KAAK,EAAE,SAAS;SAChB;QACD;YACC,IAAI,EAAE,WAAW;YACjB,KAAK,EAAE,WAAW;SAClB;QACD;YACC,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,UAAU;SACjB;QACD;YACC,IAAI,EAAE,cAAc;YACpB,KAAK,EAAE,cAAc;SACrB;QACD;YACC,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,OAAO;SACd;QACD;YACC,IAAI,EAAE,MAAM;YACZ,KAAK,EAAE,MAAM;SACb;QACD;YACC,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,UAAU;SACjB;KACD;IACD,OAAO,EAAE,SAAS;CAClB,CAAC;AAEW,QAAA,oBAAoB,GAAG;IACnC,eAAe;IACf,8BAAiB;IACjB,gCAAmB;IACnB,mCAAsB;IACtB,+BAAkB;IAClB,4BAAe;IACf,2BAAc;IACd,+BAAkB;IAClB,GAAG,wBAAe;IAClB,GAAG,uBAAc;IACjB,GAAG,2BAAkB;IACrB,GAAG,oBAAW;IACd,GAAG,mBAAU;IACb,GAAG,mBAAU;IACb,GAAG,uBAAc;CACjB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/Aimfox/properties/index.ts"],"names":[],"mappings":";;;AACA,6CAAiD;AACjD,qDAAyD;AACzD,+CAAqD;AACrD,uDAA6D;AAC7D,8CAAmD;AACnD,sDAA2D;AAC3D,kDAA2D;AAC3D,0DAAmE;AACnE,oDAA+D;AAC/D,4DAAuE;AACvE,2CAA6C;AAC7C,mDAAqD;AACrD,0CAA2C;AAC3C,kDAAmD;AACnD,0CAA2C;AAC3C,8CAAmD;AACnD,sDAA2D;AAE3D,MAAM,eAAe,GAAoB;IACxC,WAAW,EAAE,UAAU;IACvB,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,SAAS;IACf,gBAAgB,EAAE,IAAI;IACtB,OAAO,EAAE;QACR;YACC,IAAI,EAAE,SAAS;YACf,KAAK,EAAE,SAAS;SAChB;QACD;YACC,IAAI,EAAE,WAAW;YACjB,KAAK,EAAE,WAAW;SAClB;QACD;YACC,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,UAAU;SACjB;QACD;YACC,IAAI,EAAE,cAAc;YACpB,KAAK,EAAE,cAAc;SACrB;QACD;YACC,IAAI,EAAE,iBAAiB;YACvB,KAAK,EAAE,gBAAgB;SACvB;QACD;YACC,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,OAAO;SACd;QACD;YACC,IAAI,EAAE,MAAM;YACZ,KAAK,EAAE,MAAM;SACb;QACD;YACC,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,UAAU;SACjB;KACD;IACD,OAAO,EAAE,SAAS;CAClB,CAAC;AAEW,QAAA,oBAAoB,GAAG;IACnC,eAAe;IACf,8BAAiB;IACjB,gCAAmB;IACnB,mCAAsB;IACtB,+BAAkB;IAClB,qCAAwB;IACxB,4BAAe;IACf,2BAAc;IACd,+BAAkB;IAClB,GAAG,sBAAa;IAChB,GAAG,wBAAe;IAClB,GAAG,uBAAc;IACjB,GAAG,2BAAkB;IACrB,GAAG,6BAAoB;IACvB,GAAG,oBAAW;IACd,GAAG,mBAAU;IACb,GAAG,mBAAU;IACb,GAAG,uBAAc;CACjB,CAAC"}
|
|
@@ -17,6 +17,21 @@ exports.labelFields = [
|
|
|
17
17
|
description: 'The ID of the label',
|
|
18
18
|
required: true,
|
|
19
19
|
},
|
|
20
|
+
{
|
|
21
|
+
displayName: 'Label ID',
|
|
22
|
+
name: 'workspaceLabelId',
|
|
23
|
+
type: 'string',
|
|
24
|
+
displayOptions: {
|
|
25
|
+
show: {
|
|
26
|
+
resource: ['label'],
|
|
27
|
+
operation: ['editLabel', 'deleteLabel'],
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
default: '',
|
|
31
|
+
placeholder: '83b3aa1d-cda0-42b3-845c-afccf1192dc5',
|
|
32
|
+
description: 'The ID of the label to edit or delete',
|
|
33
|
+
required: true,
|
|
34
|
+
},
|
|
20
35
|
{
|
|
21
36
|
displayName: 'Label Name',
|
|
22
37
|
name: 'labelName',
|
|
@@ -24,12 +39,12 @@ exports.labelFields = [
|
|
|
24
39
|
displayOptions: {
|
|
25
40
|
show: {
|
|
26
41
|
resource: ['label'],
|
|
27
|
-
operation: ['addLabel'],
|
|
42
|
+
operation: ['addLabel', 'editLabel'],
|
|
28
43
|
},
|
|
29
44
|
},
|
|
30
45
|
default: '',
|
|
31
46
|
placeholder: 'Label Name',
|
|
32
|
-
description: 'The name of the label
|
|
47
|
+
description: 'The name of the label',
|
|
33
48
|
required: true,
|
|
34
49
|
},
|
|
35
50
|
{
|
|
@@ -39,7 +54,7 @@ exports.labelFields = [
|
|
|
39
54
|
displayOptions: {
|
|
40
55
|
show: {
|
|
41
56
|
resource: ['label'],
|
|
42
|
-
operation: ['addLabel'],
|
|
57
|
+
operation: ['addLabel', 'editLabel'],
|
|
43
58
|
},
|
|
44
59
|
},
|
|
45
60
|
options: [
|
|
@@ -51,7 +66,7 @@ exports.labelFields = [
|
|
|
51
66
|
{ name: 'Yellow', value: 'yellow' },
|
|
52
67
|
],
|
|
53
68
|
default: 'info',
|
|
54
|
-
description: 'The color of the label
|
|
69
|
+
description: 'The color of the label',
|
|
55
70
|
required: true,
|
|
56
71
|
},
|
|
57
72
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../nodes/Aimfox/properties/label/fields.ts"],"names":[],"mappings":";;;AAEa,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,gBAAgB,EAAE,qBAAqB,CAAC;aACpD;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,sCAAsC;QACnD,WAAW,EAAE,qBAAqB;QAClC,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../nodes/Aimfox/properties/label/fields.ts"],"names":[],"mappings":";;;AAEa,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,gBAAgB,EAAE,qBAAqB,CAAC;aACpD;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,sCAAsC;QACnD,WAAW,EAAE,qBAAqB;QAClC,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,WAAW,EAAE,aAAa,CAAC;aACvC;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,sCAAsC;QACnD,WAAW,EAAE,uCAAuC;QACpD,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,UAAU,EAAE,WAAW,CAAC;aACpC;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,YAAY;QACzB,WAAW,EAAE,uBAAuB;QACpC,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,UAAU,EAAE,WAAW,CAAC;aACpC;SACD;QACD,OAAO,EAAE;YACR,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;YAC/B,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE;YACrC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE;YACnC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE;YACtC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE;YAChC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;SACnC;QACD,OAAO,EAAE,MAAM;QACf,WAAW,EAAE,wBAAwB;QACrC,QAAQ,EAAE,IAAI;KACd;CACD,CAAC"}
|
|
@@ -13,27 +13,44 @@ exports.labelOperations = {
|
|
|
13
13
|
},
|
|
14
14
|
options: [
|
|
15
15
|
{
|
|
16
|
-
name: '
|
|
17
|
-
value: '
|
|
18
|
-
action: '
|
|
19
|
-
description: '
|
|
16
|
+
name: 'Add Label',
|
|
17
|
+
value: 'addLabel',
|
|
18
|
+
action: 'Add label',
|
|
19
|
+
description: 'Add a new label to the selected workspace',
|
|
20
20
|
routing: {
|
|
21
21
|
request: {
|
|
22
|
-
method: '
|
|
22
|
+
method: 'POST',
|
|
23
23
|
url: '/labels',
|
|
24
24
|
headers: {},
|
|
25
|
+
body: {
|
|
26
|
+
name: '={{$parameter["labelName"]}}',
|
|
27
|
+
color: '={{$parameter["labelColor"]}}',
|
|
28
|
+
},
|
|
25
29
|
},
|
|
26
30
|
},
|
|
27
31
|
},
|
|
28
32
|
{
|
|
29
|
-
name: '
|
|
30
|
-
value: '
|
|
31
|
-
action: '
|
|
32
|
-
description: '
|
|
33
|
+
name: 'Delete Label',
|
|
34
|
+
value: 'deleteLabel',
|
|
35
|
+
action: 'Delete label',
|
|
36
|
+
description: 'Delete a label from the workspace',
|
|
33
37
|
routing: {
|
|
34
38
|
request: {
|
|
35
|
-
method: '
|
|
36
|
-
url: '/
|
|
39
|
+
method: 'DELETE',
|
|
40
|
+
url: '=/labels/{{$parameter["workspaceLabelId"]}}',
|
|
41
|
+
headers: {},
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'Edit Label',
|
|
47
|
+
value: 'editLabel',
|
|
48
|
+
action: 'Edit label',
|
|
49
|
+
description: 'Edit an existing label in the workspace',
|
|
50
|
+
routing: {
|
|
51
|
+
request: {
|
|
52
|
+
method: 'PATCH',
|
|
53
|
+
url: '=/labels/{{$parameter["workspaceLabelId"]}}',
|
|
37
54
|
headers: {},
|
|
38
55
|
body: {
|
|
39
56
|
name: '={{$parameter["labelName"]}}',
|
|
@@ -42,6 +59,19 @@ exports.labelOperations = {
|
|
|
42
59
|
},
|
|
43
60
|
},
|
|
44
61
|
},
|
|
62
|
+
{
|
|
63
|
+
name: 'List Labels',
|
|
64
|
+
value: 'listLabels',
|
|
65
|
+
action: 'List labels',
|
|
66
|
+
description: 'List all labels for the selected workspace',
|
|
67
|
+
routing: {
|
|
68
|
+
request: {
|
|
69
|
+
method: 'GET',
|
|
70
|
+
url: '/labels',
|
|
71
|
+
headers: {},
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
},
|
|
45
75
|
],
|
|
46
76
|
default: 'listLabels',
|
|
47
77
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../../nodes/Aimfox/properties/label/operations.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAoB;IAC/C,WAAW,EAAE,WAAW;IACxB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,SAAS;IACf,gBAAgB,EAAE,IAAI;IACtB,cAAc,EAAE;QACf,IAAI,EAAE;YACL,QAAQ,EAAE,CAAC,OAAO,CAAC;SACnB;KACD;IACD,OAAO,EAAE;QACR;YACC,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../../nodes/Aimfox/properties/label/operations.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAoB;IAC/C,WAAW,EAAE,WAAW;IACxB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,SAAS;IACf,gBAAgB,EAAE,IAAI;IACtB,cAAc,EAAE;QACf,IAAI,EAAE;YACL,QAAQ,EAAE,CAAC,OAAO,CAAC;SACnB;KACD;IACD,OAAO,EAAE;QACR;YACC,IAAI,EAAE,WAAW;YACjB,KAAK,EAAE,UAAU;YACjB,MAAM,EAAE,WAAW;YACnB,WAAW,EAAE,2CAA2C;YACxD,OAAO,EAAE;gBACR,OAAO,EAAE;oBACR,MAAM,EAAE,MAAM;oBACd,GAAG,EAAE,SAAS;oBACd,OAAO,EAAE,EAAE;oBACX,IAAI,EAAE;wBACL,IAAI,EAAE,8BAA8B;wBACpC,KAAK,EAAE,+BAA+B;qBACtC;iBACD;aACD;SACD;QACD;YACC,IAAI,EAAE,cAAc;YACpB,KAAK,EAAE,aAAa;YACpB,MAAM,EAAE,cAAc;YACtB,WAAW,EAAE,mCAAmC;YAChD,OAAO,EAAE;gBACR,OAAO,EAAE;oBACR,MAAM,EAAE,QAAQ;oBAChB,GAAG,EAAE,6CAA6C;oBAClD,OAAO,EAAE,EAAE;iBACX;aACD;SACD;QACD;YACC,IAAI,EAAE,YAAY;YAClB,KAAK,EAAE,WAAW;YAClB,MAAM,EAAE,YAAY;YACpB,WAAW,EAAE,yCAAyC;YACtD,OAAO,EAAE;gBACR,OAAO,EAAE;oBACR,MAAM,EAAE,OAAO;oBACf,GAAG,EAAE,6CAA6C;oBAClD,OAAO,EAAE,EAAE;oBACX,IAAI,EAAE;wBACL,IAAI,EAAE,8BAA8B;wBACpC,KAAK,EAAE,+BAA+B;qBACtC;iBACD;aACD;SACD;QACD;YACC,IAAI,EAAE,aAAa;YACnB,KAAK,EAAE,YAAY;YACnB,MAAM,EAAE,aAAa;YACrB,WAAW,EAAE,4CAA4C;YACzD,OAAO,EAAE;gBACR,OAAO,EAAE;oBACR,MAAM,EAAE,KAAK;oBACb,GAAG,EAAE,SAAS;oBACd,OAAO,EAAE,EAAE;iBACX;aACD;SACD;KACD;IACD,OAAO,EAAE,YAAY;CACrB,CAAC"}
|
|
@@ -17,5 +17,35 @@ exports.leadFields = [
|
|
|
17
17
|
description: 'The LinkedIn ID of the lead to retrieve',
|
|
18
18
|
required: true,
|
|
19
19
|
},
|
|
20
|
+
{
|
|
21
|
+
displayName: 'Account ID',
|
|
22
|
+
name: 'accountId',
|
|
23
|
+
type: 'string',
|
|
24
|
+
displayOptions: {
|
|
25
|
+
show: {
|
|
26
|
+
resource: ['lead'],
|
|
27
|
+
operation: ['getLeadCustomVariables'],
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
default: '',
|
|
31
|
+
placeholder: '885983605',
|
|
32
|
+
description: 'The ID of the account that owns the lead',
|
|
33
|
+
required: true,
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
displayName: 'Lead URN',
|
|
37
|
+
name: 'leadUrn',
|
|
38
|
+
type: 'string',
|
|
39
|
+
displayOptions: {
|
|
40
|
+
show: {
|
|
41
|
+
resource: ['lead'],
|
|
42
|
+
operation: ['getLeadCustomVariables'],
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
default: '',
|
|
46
|
+
placeholder: 'ACoAAALFnSUBDfSrz2kO3C8PelRi1DHIPNWuOlo',
|
|
47
|
+
description: 'The LinkedIn URN of the lead',
|
|
48
|
+
required: true,
|
|
49
|
+
},
|
|
20
50
|
];
|
|
21
51
|
//# sourceMappingURL=fields.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../nodes/Aimfox/properties/lead/fields.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAsB;IAC5C;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,SAAS,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,eAAe,CAAC;aAChF;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,YAAY;QACzB,WAAW,EAAE,yCAAyC;QACtD,QAAQ,EAAE,IAAI;KACd;CACD,CAAC"}
|
|
1
|
+
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../nodes/Aimfox/properties/lead/fields.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAsB;IAC5C;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,SAAS,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,eAAe,CAAC;aAChF;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,YAAY;QACzB,WAAW,EAAE,yCAAyC;QACtD,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,wBAAwB,CAAC;aACrC;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,WAAW;QACxB,WAAW,EAAE,0CAA0C;QACvD,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,wBAAwB,CAAC;aACrC;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,yCAAyC;QACtD,WAAW,EAAE,8BAA8B;QAC3C,QAAQ,EAAE,IAAI;KACd;CACD,CAAC"}
|
|
@@ -41,6 +41,19 @@ exports.leadOperations = {
|
|
|
41
41
|
},
|
|
42
42
|
},
|
|
43
43
|
},
|
|
44
|
+
{
|
|
45
|
+
name: 'Delete Note From Lead',
|
|
46
|
+
value: 'deleteNoteFromLead',
|
|
47
|
+
action: 'Delete note from lead',
|
|
48
|
+
description: 'Delete a note from the selected lead',
|
|
49
|
+
routing: {
|
|
50
|
+
request: {
|
|
51
|
+
method: 'DELETE',
|
|
52
|
+
url: '=/leads/{{$parameter["leadId"]}}/notes/{{$parameter["noteId"]}}',
|
|
53
|
+
headers: {},
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
},
|
|
44
57
|
{
|
|
45
58
|
name: 'Get Lead',
|
|
46
59
|
value: 'getLead',
|
|
@@ -54,6 +67,32 @@ exports.leadOperations = {
|
|
|
54
67
|
},
|
|
55
68
|
},
|
|
56
69
|
},
|
|
70
|
+
{
|
|
71
|
+
name: 'Get Lead Custom Variables',
|
|
72
|
+
value: 'getLeadCustomVariables',
|
|
73
|
+
action: 'Get lead custom variables',
|
|
74
|
+
description: 'Get custom variables for a specific lead',
|
|
75
|
+
routing: {
|
|
76
|
+
request: {
|
|
77
|
+
method: 'GET',
|
|
78
|
+
url: '=/accounts/{{$parameter["accountId"]}}/leads/{{$parameter["leadUrn"]}}/custom-variables',
|
|
79
|
+
headers: {},
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
name: 'List Lead Notes',
|
|
85
|
+
value: 'listLeadNotes',
|
|
86
|
+
action: 'List lead notes',
|
|
87
|
+
description: 'List all notes for the selected lead',
|
|
88
|
+
routing: {
|
|
89
|
+
request: {
|
|
90
|
+
method: 'GET',
|
|
91
|
+
url: '=/leads/{{$parameter["leadId"]}}/notes',
|
|
92
|
+
headers: {},
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
},
|
|
57
96
|
{
|
|
58
97
|
name: 'List Recent Leads',
|
|
59
98
|
value: 'listRecentLeads',
|
|
@@ -80,6 +119,22 @@ exports.leadOperations = {
|
|
|
80
119
|
},
|
|
81
120
|
},
|
|
82
121
|
},
|
|
122
|
+
{
|
|
123
|
+
name: 'Update Note',
|
|
124
|
+
value: 'updateNote',
|
|
125
|
+
action: 'Update note',
|
|
126
|
+
description: 'Update a note for the selected lead',
|
|
127
|
+
routing: {
|
|
128
|
+
request: {
|
|
129
|
+
method: 'PATCH',
|
|
130
|
+
url: '=/leads/{{$parameter["leadId"]}}/notes/{{$parameter["noteId"]}}',
|
|
131
|
+
headers: {},
|
|
132
|
+
body: {
|
|
133
|
+
text: '={{$parameter["noteText"]}}',
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
},
|
|
83
138
|
],
|
|
84
139
|
default: 'listRecentLeads',
|
|
85
140
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../../nodes/Aimfox/properties/lead/operations.ts"],"names":[],"mappings":";;;AAEa,QAAA,cAAc,GAAoB;IAC9C,WAAW,EAAE,WAAW;IACxB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,SAAS;IACf,gBAAgB,EAAE,IAAI;IACtB,cAAc,EAAE;QACf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M,EAAE,QAAQ;oBAChB,GAAG,EAAE,mEAAmE;oBACxE,OAAO,EAAE,EAAE;iBACX;aACD;SACD;KACD;IACD,OAAO,EAAE,iBAAiB;CAC1B,CAAC"}
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../../nodes/Aimfox/properties/lead/operations.ts"],"names":[],"mappings":";;;AAEa,QAAA,cAAc,GAAoB;IAC9C,WAAW,EAAE,WAAW;IACxB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,SAAS;IACf,gBAAgB,EAAE,IAAI;IACtB,cAAc,EAAE;QACf,IAAI,EAAE;YACL,QAAQ,EAAE,CAAC,MAAM,CAAC;SAClB;KACD;IACD,OAAO,EAAE;QACR;YACC,IAAI,EAAE,mBAAmB;YACzB,KAAK,EAAE,gBAAgB;YACvB,MAAM,EAAE,mBAAmB;YAC3B,WAAW,EAAE,sCAAsC;YACnD,OAAO,EAAE;gBACR,OAAO,EAAE;oBACR,MAAM,EAAE,MAAM;oBACd,GAAG,EAAE,mEAAmE;oBACxE,OAAO,EAAE,EAAE;iBACX;aACD;SACD;QACD;YACC,IAAI,EAAE,kBAAkB;YACxB,KAAK,EAAE,eAAe;YACtB,MAAM,EAAE,kBAAkB;YAC1B,WAAW,EAAE,qCAAqC;YAClD,OAAO,EAAE;gBACR,OAAO,EAAE;oBACR,MAAM,EAAE,MAAM;oBACd,GAAG,EAAE,wCAAwC;oBAC7C,OAAO,EAAE,EAAE;oBACX,IAAI,EAAE;wBACL,IAAI,EAAE,6BAA6B;qBACnC;iBACD;aACD;SACD;QACD;YACC,IAAI,EAAE,uBAAuB;YAC7B,KAAK,EAAE,oBAAoB;YAC3B,MAAM,EAAE,uBAAuB;YAC/B,WAAW,EAAE,sCAAsC;YACnD,OAAO,EAAE;gBACR,OAAO,EAAE;oBACR,MAAM,EAAE,QAAQ;oBAChB,GAAG,EAAE,iEAAiE;oBACtE,OAAO,EAAE,EAAE;iBACX;aACD;SACD;QACD;YACC,IAAI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AAM,EAAE,aAAa;YACrB,WAAW,EAAE,qCAAqC;YAClD,OAAO,EAAE;gBACR,OAAO,EAAE;oBACR,MAAM,EAAE,OAAO;oBACf,GAAG,EAAE,iEAAiE;oBACtE,OAAO,EAAE,EAAE;oBACX,IAAI,EAAE;wBACL,IAAI,EAAE,6BAA6B;qBACnC;iBACD;aACD;SACD;KACD;IACD,OAAO,EAAE,iBAAiB;CAC1B,CAAC"}
|
|
@@ -9,12 +9,27 @@ exports.noteFields = [
|
|
|
9
9
|
displayOptions: {
|
|
10
10
|
show: {
|
|
11
11
|
resource: ['lead'],
|
|
12
|
-
operation: ['addNoteToLead'],
|
|
12
|
+
operation: ['addNoteToLead', 'updateNote'],
|
|
13
13
|
},
|
|
14
14
|
},
|
|
15
15
|
default: '',
|
|
16
16
|
placeholder: 'Note text',
|
|
17
|
-
description: 'The text of the note
|
|
17
|
+
description: 'The text of the note',
|
|
18
|
+
required: true,
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
displayName: 'Note ID',
|
|
22
|
+
name: 'noteId',
|
|
23
|
+
type: 'string',
|
|
24
|
+
displayOptions: {
|
|
25
|
+
show: {
|
|
26
|
+
resource: ['lead'],
|
|
27
|
+
operation: ['updateNote', 'deleteNoteFromLead'],
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
default: '',
|
|
31
|
+
placeholder: '48ae319e-e276-4492-bacd-2eb064230c97',
|
|
32
|
+
description: 'The ID of the note',
|
|
18
33
|
required: true,
|
|
19
34
|
},
|
|
20
35
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../nodes/Aimfox/properties/note/fields.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAsB;IAC5C;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../../../nodes/Aimfox/properties/note/fields.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAsB;IAC5C;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,eAAe,EAAE,YAAY,CAAC;aAC1C;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,WAAW;QACxB,WAAW,EAAE,sBAAsB;QACnC,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,YAAY,EAAE,oBAAoB,CAAC;aAC/C;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,sCAAsC;QACnD,WAAW,EAAE,oBAAoB;QACjC,QAAQ,EAAE,IAAI;KACd;CACD,CAAC"}
|