n8n-nodes-propstack 0.2.0 → 0.2.2
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/README.md +5 -4
- package/dist/nodes/Propstack/Propstack.node.js +0 -2
- package/dist/nodes/Propstack/Propstack.node.js.map +1 -1
- package/dist/nodes/Propstack/PropstackTrigger.node.d.ts +1 -8
- package/dist/nodes/Propstack/PropstackTrigger.node.js +75 -92
- package/dist/nodes/Propstack/PropstackTrigger.node.js.map +1 -1
- package/dist/nodes/Propstack/v1/PropstackV1.d.ts +3 -2
- package/dist/nodes/Propstack/v1/PropstackV1.js +12 -7
- package/dist/nodes/Propstack/v1/PropstackV1.js.map +1 -1
- package/dist/nodes/Propstack/v1/constants.d.ts +1 -6
- package/dist/nodes/Propstack/v1/constants.js +1 -6
- package/dist/nodes/Propstack/v1/constants.js.map +1 -1
- package/dist/nodes/Propstack/v1/helpers.d.ts +4 -0
- package/dist/nodes/Propstack/v1/helpers.js +16 -0
- package/dist/nodes/Propstack/v1/helpers.js.map +1 -1
- package/dist/nodes/Propstack/v1/listSearch.d.ts +2 -1
- package/dist/nodes/Propstack/v1/listSearch.js +58 -40
- package/dist/nodes/Propstack/v1/listSearch.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/activities/activityTypesGetAll.js +3 -1
- package/dist/nodes/Propstack/v1/resources/activities/activityTypesGetAll.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/activities/getAll.d.ts +1 -3
- package/dist/nodes/Propstack/v1/resources/activities/getAll.js +21 -244
- package/dist/nodes/Propstack/v1/resources/activities/getAll.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/contacts/create.js +26 -46
- package/dist/nodes/Propstack/v1/resources/contacts/create.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/contacts/get.js +7 -17
- package/dist/nodes/Propstack/v1/resources/contacts/get.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/contacts/getAll.js +16 -87
- package/dist/nodes/Propstack/v1/resources/contacts/getAll.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/contacts/update.js +28 -56
- package/dist/nodes/Propstack/v1/resources/contacts/update.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/deals/create.js +17 -26
- package/dist/nodes/Propstack/v1/resources/deals/create.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/deals/get.js +3 -6
- package/dist/nodes/Propstack/v1/resources/deals/get.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/deals/getAll.js +28 -128
- package/dist/nodes/Propstack/v1/resources/deals/getAll.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/deals/update.js +15 -26
- package/dist/nodes/Propstack/v1/resources/deals/update.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/documents/create.js +18 -29
- package/dist/nodes/Propstack/v1/resources/documents/create.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/documents/getAll.js +17 -51
- package/dist/nodes/Propstack/v1/resources/documents/getAll.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/documents/update.js +16 -29
- package/dist/nodes/Propstack/v1/resources/documents/update.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/emails/get.d.ts +1 -3
- package/dist/nodes/Propstack/v1/resources/emails/get.js +0 -3
- package/dist/nodes/Propstack/v1/resources/emails/get.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/emails/index.d.ts +1 -2
- package/dist/nodes/Propstack/v1/resources/emails/index.js +2 -22
- package/dist/nodes/Propstack/v1/resources/emails/index.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/emails/send.d.ts +0 -1
- package/dist/nodes/Propstack/v1/resources/emails/send.js +61 -51
- package/dist/nodes/Propstack/v1/resources/emails/send.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/emails/update.js +9 -33
- package/dist/nodes/Propstack/v1/resources/emails/update.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/events/getAll.js +17 -39
- package/dist/nodes/Propstack/v1/resources/events/getAll.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/features/create.d.ts +1 -3
- package/dist/nodes/Propstack/v1/resources/features/create.js +1 -50
- package/dist/nodes/Propstack/v1/resources/features/create.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/features/getAll.d.ts +1 -3
- package/dist/nodes/Propstack/v1/resources/features/getAll.js +0 -43
- package/dist/nodes/Propstack/v1/resources/features/getAll.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/features/index.js +22 -0
- package/dist/nodes/Propstack/v1/resources/features/index.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/features/parentGetAll.d.ts +1 -3
- package/dist/nodes/Propstack/v1/resources/features/parentGetAll.js +3 -35
- package/dist/nodes/Propstack/v1/resources/features/parentGetAll.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/notes/getAll.d.ts +1 -3
- package/dist/nodes/Propstack/v1/resources/notes/getAll.js +8 -83
- package/dist/nodes/Propstack/v1/resources/notes/getAll.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/projects/create.d.ts +0 -1
- package/dist/nodes/Propstack/v1/resources/projects/create.js +37 -38
- package/dist/nodes/Propstack/v1/resources/projects/create.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/projects/get.d.ts +0 -1
- package/dist/nodes/Propstack/v1/resources/projects/get.js +0 -1
- package/dist/nodes/Propstack/v1/resources/projects/get.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/projects/getAll.d.ts +0 -1
- package/dist/nodes/Propstack/v1/resources/projects/getAll.js +15 -27
- package/dist/nodes/Propstack/v1/resources/projects/getAll.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/projects/index.d.ts +1 -2
- package/dist/nodes/Propstack/v1/resources/projects/index.js +2 -11
- package/dist/nodes/Propstack/v1/resources/projects/index.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/projects/update.d.ts +0 -1
- package/dist/nodes/Propstack/v1/resources/projects/update.js +37 -38
- package/dist/nodes/Propstack/v1/resources/projects/update.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/properties/create.d.ts +0 -1
- package/dist/nodes/Propstack/v1/resources/properties/create.js +98 -113
- package/dist/nodes/Propstack/v1/resources/properties/create.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/properties/get.d.ts +0 -1
- package/dist/nodes/Propstack/v1/resources/properties/get.js +5 -9
- package/dist/nodes/Propstack/v1/resources/properties/get.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/properties/getAll.d.ts +0 -1
- package/dist/nodes/Propstack/v1/resources/properties/getAll.js +60 -163
- package/dist/nodes/Propstack/v1/resources/properties/getAll.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/properties/update.d.ts +0 -1
- package/dist/nodes/Propstack/v1/resources/properties/update.js +40 -67
- package/dist/nodes/Propstack/v1/resources/properties/update.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/searchProfiles/create.d.ts +3 -3
- package/dist/nodes/Propstack/v1/resources/searchProfiles/create.js +40 -278
- package/dist/nodes/Propstack/v1/resources/searchProfiles/create.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/searchProfiles/delete.d.ts +1 -3
- package/dist/nodes/Propstack/v1/resources/searchProfiles/delete.js +0 -19
- package/dist/nodes/Propstack/v1/resources/searchProfiles/delete.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/searchProfiles/getAll.d.ts +1 -3
- package/dist/nodes/Propstack/v1/resources/searchProfiles/getAll.js +15 -62
- package/dist/nodes/Propstack/v1/resources/searchProfiles/getAll.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/searchProfiles/index.js +180 -252
- package/dist/nodes/Propstack/v1/resources/searchProfiles/index.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/searchProfiles/update.d.ts +1 -3
- package/dist/nodes/Propstack/v1/resources/searchProfiles/update.js +4 -273
- package/dist/nodes/Propstack/v1/resources/searchProfiles/update.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/snippets/getAll.d.ts +2 -0
- package/dist/nodes/Propstack/v1/resources/snippets/getAll.js +24 -0
- package/dist/nodes/Propstack/v1/resources/snippets/getAll.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/snippets/index.d.ts +4 -0
- package/dist/nodes/Propstack/v1/resources/snippets/index.js +73 -0
- package/dist/nodes/Propstack/v1/resources/snippets/index.js.map +1 -0
- package/dist/nodes/Propstack/v1/resources/tasks/create.d.ts +1 -3
- package/dist/nodes/Propstack/v1/resources/tasks/create.js +25 -221
- package/dist/nodes/Propstack/v1/resources/tasks/create.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/tasks/getAll.d.ts +1 -1
- package/dist/nodes/Propstack/v1/resources/tasks/getAll.js +28 -38
- package/dist/nodes/Propstack/v1/resources/tasks/getAll.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/tasks/update.d.ts +1 -1
- package/dist/nodes/Propstack/v1/resources/tasks/update.js +26 -73
- package/dist/nodes/Propstack/v1/resources/tasks/update.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/teams/getAll.d.ts +1 -3
- package/dist/nodes/Propstack/v1/resources/teams/getAll.js +4 -51
- package/dist/nodes/Propstack/v1/resources/teams/getAll.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/teams/index.d.ts +0 -4
- package/dist/nodes/Propstack/v1/resources/teams/index.js +1 -214
- package/dist/nodes/Propstack/v1/resources/teams/index.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/webhooks/create.d.ts +1 -1
- package/dist/nodes/Propstack/v1/resources/webhooks/create.js +5 -11
- package/dist/nodes/Propstack/v1/resources/webhooks/create.js.map +1 -1
- package/dist/nodes/Propstack/v1/resources/webhooks/getAll.d.ts +1 -1
- package/dist/nodes/Propstack/v1/resources/webhooks/getAll.js +7 -6
- package/dist/nodes/Propstack/v1/resources/webhooks/getAll.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/nodes/Propstack/v1/resources/emails/getAll.d.ts +0 -4
- package/dist/nodes/Propstack/v1/resources/emails/getAll.js +0 -104
- package/dist/nodes/Propstack/v1/resources/emails/getAll.js.map +0 -1
- package/dist/nodes/Propstack/v1/resources/projects/delete.d.ts +0 -4
- package/dist/nodes/Propstack/v1/resources/projects/delete.js +0 -17
- package/dist/nodes/Propstack/v1/resources/projects/delete.js.map +0 -1
- package/dist/nodes/Propstack/v1/resources/teams/create.d.ts +0 -4
- package/dist/nodes/Propstack/v1/resources/teams/create.js +0 -133
- package/dist/nodes/Propstack/v1/resources/teams/create.js.map +0 -1
- package/dist/nodes/Propstack/v1/resources/teams/delete.d.ts +0 -4
- package/dist/nodes/Propstack/v1/resources/teams/delete.js +0 -17
- package/dist/nodes/Propstack/v1/resources/teams/delete.js.map +0 -1
- package/dist/nodes/Propstack/v1/resources/teams/get.d.ts +0 -4
- package/dist/nodes/Propstack/v1/resources/teams/get.js +0 -17
- package/dist/nodes/Propstack/v1/resources/teams/get.js.map +0 -1
- package/dist/nodes/Propstack/v1/resources/teams/update.d.ts +0 -4
- package/dist/nodes/Propstack/v1/resources/teams/update.js +0 -45
- package/dist/nodes/Propstack/v1/resources/teams/update.js.map +0 -1
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.emailsDescription = exports.emailsUpdate = exports.emailsSend = exports.
|
|
3
|
+
exports.emailsDescription = exports.emailsUpdate = exports.emailsSend = exports.emailsGet = void 0;
|
|
4
4
|
const send_1 = require("./send");
|
|
5
5
|
Object.defineProperty(exports, "emailsSend", { enumerable: true, get: function () { return send_1.emailsSend; } });
|
|
6
6
|
const get_1 = require("./get");
|
|
7
7
|
Object.defineProperty(exports, "emailsGet", { enumerable: true, get: function () { return get_1.emailsGet; } });
|
|
8
|
-
const getAll_1 = require("./getAll");
|
|
9
|
-
Object.defineProperty(exports, "emailsGetAll", { enumerable: true, get: function () { return getAll_1.emailsGetAll; } });
|
|
10
8
|
const update_1 = require("./update");
|
|
11
9
|
Object.defineProperty(exports, "emailsUpdate", { enumerable: true, get: function () { return update_1.emailsUpdate; } });
|
|
12
10
|
const emailIdField = {
|
|
@@ -14,7 +12,7 @@ const emailIdField = {
|
|
|
14
12
|
name: "emailId",
|
|
15
13
|
type: "resourceLocator",
|
|
16
14
|
required: true,
|
|
17
|
-
default: { mode: "
|
|
15
|
+
default: { mode: "id", value: "" },
|
|
18
16
|
description: "The email to operate on",
|
|
19
17
|
displayOptions: {
|
|
20
18
|
show: {
|
|
@@ -23,16 +21,6 @@ const emailIdField = {
|
|
|
23
21
|
},
|
|
24
22
|
},
|
|
25
23
|
modes: [
|
|
26
|
-
{
|
|
27
|
-
displayName: "From List",
|
|
28
|
-
name: "list",
|
|
29
|
-
type: "list",
|
|
30
|
-
typeOptions: {
|
|
31
|
-
searchListMethod: "searchEmails",
|
|
32
|
-
searchable: true,
|
|
33
|
-
searchFilterRequired: false,
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
24
|
{
|
|
37
25
|
displayName: "By ID",
|
|
38
26
|
name: "id",
|
|
@@ -59,12 +47,6 @@ exports.emailsDescription = [
|
|
|
59
47
|
action: "Get email",
|
|
60
48
|
description: "Retrieve an email",
|
|
61
49
|
},
|
|
62
|
-
{
|
|
63
|
-
name: "Get Many",
|
|
64
|
-
value: "getAll",
|
|
65
|
-
action: "Get many emails",
|
|
66
|
-
description: "Retrieve a list of emails",
|
|
67
|
-
},
|
|
68
50
|
{
|
|
69
51
|
name: "Send",
|
|
70
52
|
value: "send",
|
|
@@ -81,8 +63,6 @@ exports.emailsDescription = [
|
|
|
81
63
|
default: "send",
|
|
82
64
|
},
|
|
83
65
|
emailIdField,
|
|
84
|
-
...get_1.emailsGetDescription,
|
|
85
|
-
...getAll_1.emailsGetAllDescription,
|
|
86
66
|
...send_1.emailsSendDescription,
|
|
87
67
|
...update_1.emailsUpdateDescription,
|
|
88
68
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/emails/index.ts"],"names":[],"mappings":";;;AACA,iCAA2D;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/emails/index.ts"],"names":[],"mappings":";;;AACA,iCAA2D;AAIvC,2FAJX,iBAAU,OAIW;AAH9B,+BAAkC;AAGzB,0FAHA,eAAS,OAGA;AAFlB,qCAAiE;AAEjC,6FAFvB,qBAAY,OAEuB;AAE5C,MAAM,YAAY,GAAoB;IACpC,WAAW,EAAE,OAAO;IACpB,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,iBAAiB;IACvB,QAAQ,EAAE,IAAI;IACd,OAAO,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE;IAClC,WAAW,EAAE,yBAAyB;IACtC,cAAc,EAAE;QACd,IAAI,EAAE;YACJ,QAAQ,EAAE,CAAC,QAAQ,CAAC;YACpB,SAAS,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC;SAC7B;KACF;IACD,KAAK,EAAE;QACL;YACE,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,YAAY;SAC1B;KACF;CACF,CAAC;AAEW,QAAA,iBAAiB,GAAsB;IAClD;QACE,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,QAAQ,CAAC;aACrB;SACF;QACD,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,WAAW;gBACnB,WAAW,EAAE,mBAAmB;aACjC;YACD;gBACE,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,MAAM;gBACb,MAAM,EAAE,YAAY;gBACpB,WAAW,EAAE,eAAe;aAC7B;YACD;gBACE,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,cAAc;gBACtB,WAAW,EAAE,0BAA0B;aACxC;SACF;QACD,OAAO,EAAE,MAAM;KAChB;IACD,YAAY;IACZ,GAAG,4BAAqB;IACxB,GAAG,gCAAuB;CAC3B,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from "n8n-workflow";
|
|
2
2
|
export declare const emailsSendDescription: INodeProperties[];
|
|
3
3
|
export declare function emailsSend(this: IExecuteFunctions): Promise<INodeExecutionData[]>;
|
|
4
|
-
export default emailsSendDescription;
|
|
@@ -10,15 +10,33 @@ const showForEmailsSend = {
|
|
|
10
10
|
};
|
|
11
11
|
exports.emailsSendDescription = [
|
|
12
12
|
{
|
|
13
|
-
displayName: "Broker
|
|
13
|
+
displayName: "Broker",
|
|
14
14
|
name: "broker_id",
|
|
15
|
-
type: "
|
|
15
|
+
type: "resourceLocator",
|
|
16
16
|
required: true,
|
|
17
|
-
default: "",
|
|
17
|
+
default: { mode: "list", value: "" },
|
|
18
18
|
displayOptions: {
|
|
19
19
|
show: showForEmailsSend,
|
|
20
20
|
},
|
|
21
|
-
description: "Sender
|
|
21
|
+
description: "Sender user account",
|
|
22
|
+
modes: [
|
|
23
|
+
{
|
|
24
|
+
displayName: "From List",
|
|
25
|
+
name: "list",
|
|
26
|
+
type: "list",
|
|
27
|
+
typeOptions: {
|
|
28
|
+
searchListMethod: "searchBrokers",
|
|
29
|
+
searchable: true,
|
|
30
|
+
searchFilterRequired: false,
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
displayName: "By ID",
|
|
35
|
+
name: "id",
|
|
36
|
+
type: "string",
|
|
37
|
+
placeholder: "e.g. 372213",
|
|
38
|
+
},
|
|
39
|
+
],
|
|
22
40
|
},
|
|
23
41
|
{
|
|
24
42
|
displayName: "To",
|
|
@@ -32,15 +50,33 @@ exports.emailsSendDescription = [
|
|
|
32
50
|
description: "Recipient email addresses (comma-separated)",
|
|
33
51
|
},
|
|
34
52
|
{
|
|
35
|
-
displayName: "Snippet
|
|
53
|
+
displayName: "Snippet",
|
|
36
54
|
name: "snippet_id",
|
|
37
|
-
type: "
|
|
55
|
+
type: "resourceLocator",
|
|
38
56
|
required: true,
|
|
39
|
-
default: "",
|
|
57
|
+
default: { mode: "list", value: "" },
|
|
40
58
|
displayOptions: {
|
|
41
59
|
show: showForEmailsSend,
|
|
42
60
|
},
|
|
43
|
-
description: "
|
|
61
|
+
description: "Email template to send",
|
|
62
|
+
modes: [
|
|
63
|
+
{
|
|
64
|
+
displayName: "From List",
|
|
65
|
+
name: "list",
|
|
66
|
+
type: "list",
|
|
67
|
+
typeOptions: {
|
|
68
|
+
searchListMethod: "searchSnippets",
|
|
69
|
+
searchable: true,
|
|
70
|
+
searchFilterRequired: false,
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
displayName: "By ID",
|
|
75
|
+
name: "id",
|
|
76
|
+
type: "string",
|
|
77
|
+
placeholder: "e.g. 924852",
|
|
78
|
+
},
|
|
79
|
+
],
|
|
44
80
|
},
|
|
45
81
|
{
|
|
46
82
|
displayName: "Additional Fields",
|
|
@@ -104,50 +140,25 @@ exports.emailsSendDescription = [
|
|
|
104
140
|
],
|
|
105
141
|
},
|
|
106
142
|
];
|
|
107
|
-
function
|
|
108
|
-
const
|
|
109
|
-
|
|
110
|
-
body.snippet_id = this.getNodeParameter("snippet_id", 0);
|
|
143
|
+
async function emailsSend() {
|
|
144
|
+
const brokerId = (0, helpers_1.extractResourceLocatorValue)(this.getNodeParameter("broker_id", 0));
|
|
145
|
+
const snippetId = (0, helpers_1.extractResourceLocatorValue)(this.getNodeParameter("snippet_id", 0));
|
|
111
146
|
const to = this.getNodeParameter("to", 0);
|
|
112
|
-
body.to = to.split(",").map((email) => email.trim());
|
|
113
147
|
const options = this.getNodeParameter("additionalFields", 0);
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
.map((id) => parseInt(id.trim(), 10));
|
|
129
|
-
}
|
|
130
|
-
if (options.property_ids) {
|
|
131
|
-
body.property_ids = options.property_ids
|
|
132
|
-
.split(",")
|
|
133
|
-
.map((id) => parseInt(id.trim(), 10));
|
|
134
|
-
}
|
|
135
|
-
if (options.project_ids) {
|
|
136
|
-
body.project_ids = options.project_ids
|
|
137
|
-
.split(",")
|
|
138
|
-
.map((id) => parseInt(id.trim(), 10));
|
|
139
|
-
}
|
|
140
|
-
if (options.message_category_id) {
|
|
141
|
-
body.message_category_id = parseInt(options.message_category_id, 10);
|
|
142
|
-
}
|
|
143
|
-
if (options.client_source_id) {
|
|
144
|
-
body.client_source_id = parseInt(options.client_source_id, 10);
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
return body;
|
|
148
|
-
}
|
|
149
|
-
async function emailsSend() {
|
|
150
|
-
const body = buildEmailsSendBody.call(this);
|
|
148
|
+
const body = {
|
|
149
|
+
broker_id: parseInt(brokerId, 10),
|
|
150
|
+
snippet_id: parseInt(snippetId, 10),
|
|
151
|
+
to: to.split(",").map((email) => email.trim()),
|
|
152
|
+
...(0, helpers_1.buildQs)(options, {
|
|
153
|
+
cc: (0, helpers_1.splitCsv)("cc"),
|
|
154
|
+
bcc: (0, helpers_1.splitCsv)("bcc"),
|
|
155
|
+
client_ids: (0, helpers_1.splitCsvInt)("client_ids"),
|
|
156
|
+
property_ids: (0, helpers_1.splitCsvInt)("property_ids"),
|
|
157
|
+
project_ids: (0, helpers_1.splitCsvInt)("project_ids"),
|
|
158
|
+
message_category_id: (0, helpers_1.toInt)("message_category_id"),
|
|
159
|
+
client_source_id: (0, helpers_1.toInt)("client_source_id"),
|
|
160
|
+
}),
|
|
161
|
+
};
|
|
151
162
|
const response = await helpers_1.propstackRequest.call(this, {
|
|
152
163
|
method: "POST",
|
|
153
164
|
url: constants_1.API_ENDPOINTS.EMAILS_SEND,
|
|
@@ -155,5 +166,4 @@ async function emailsSend() {
|
|
|
155
166
|
});
|
|
156
167
|
return this.helpers.returnJsonArray(Array.isArray(response) ? response : [response]);
|
|
157
168
|
}
|
|
158
|
-
exports.default = exports.emailsSendDescription;
|
|
159
169
|
//# sourceMappingURL=send.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/emails/send.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"send.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/emails/send.ts"],"names":[],"mappings":";;;AAoJA,gCAmCC;AAhLD,+CAAgD;AAChD,2CAAqH;AAErH,MAAM,iBAAiB,GAAG;IACxB,SAAS,EAAE,CAAC,MAAM,CAAC;IACnB,QAAQ,EAAE,CAAC,QAAQ,CAAC;CACrB,CAAC;AAEW,QAAA,qBAAqB,GAAsB;IACtD;QACE,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,iBAAiB;QACvB,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;QACpC,cAAc,EAAE;YACd,IAAI,EAAE,iBAAiB;SACxB;QACD,WAAW,EAAE,qBAAqB;QAClC,KAAK,EAAE;YACL;gBACE,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,MAAM;gBACZ,WAAW,EAAE;oBACX,gBAAgB,EAAE,eAAe;oBACjC,UAAU,EAAE,IAAI;oBAChB,oBAAoB,EAAE,KAAK;iBAC5B;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|
-
const body = {};
|
|
69
|
-
const options = this.getNodeParameter("additionalFields", 0);
|
|
70
|
-
if (options) {
|
|
71
|
-
if (options.read !== undefined && options.read !== "") {
|
|
72
|
-
body.read = options.read;
|
|
73
|
-
}
|
|
74
|
-
if (options.archived !== undefined &&
|
|
75
|
-
options.archived !== "") {
|
|
76
|
-
body.archived = options.archived;
|
|
77
|
-
}
|
|
78
|
-
if (options.message_category_id) {
|
|
79
|
-
body.message_category_id = parseInt(options.message_category_id, 10);
|
|
80
|
-
}
|
|
81
|
-
if (options.client_ids) {
|
|
82
|
-
body.client_ids = options.client_ids
|
|
83
|
-
.split(",")
|
|
84
|
-
.map((id) => parseInt(id.trim(), 10));
|
|
85
|
-
}
|
|
86
|
-
if (options.property_ids) {
|
|
87
|
-
body.property_ids = options.property_ids
|
|
88
|
-
.split(",")
|
|
89
|
-
.map((id) => parseInt(id.trim(), 10));
|
|
90
|
-
}
|
|
91
|
-
if (options.project_ids) {
|
|
92
|
-
body.project_ids = options.project_ids
|
|
93
|
-
.split(",")
|
|
94
|
-
.map((id) => parseInt(id.trim(), 10));
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
return body;
|
|
98
|
-
}
|
|
99
67
|
async function emailsUpdate() {
|
|
100
68
|
const emailId = (0, helpers_1.extractResourceLocatorValue)(this.getNodeParameter("emailId", 0));
|
|
101
|
-
const
|
|
69
|
+
const options = this.getNodeParameter("additionalFields", 0);
|
|
70
|
+
const body = (0, helpers_1.buildQs)(options, {
|
|
71
|
+
read: "read",
|
|
72
|
+
archived: "archived",
|
|
73
|
+
message_category_id: (0, helpers_1.toInt)("message_category_id"),
|
|
74
|
+
client_ids: (0, helpers_1.splitCsvInt)("client_ids"),
|
|
75
|
+
property_ids: (0, helpers_1.splitCsvInt)("property_ids"),
|
|
76
|
+
project_ids: (0, helpers_1.splitCsvInt)("project_ids"),
|
|
77
|
+
});
|
|
102
78
|
const response = await helpers_1.propstackRequest.call(this, {
|
|
103
79
|
method: "PUT",
|
|
104
80
|
url: constants_1.API_ENDPOINTS.EMAILS_UPDATE(emailId),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/emails/update.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/emails/update.ts"],"names":[],"mappings":";;;AAwEA,oCAyBC;AA1FD,+CAAgD;AAChD,2CAA2G;AAE3G,MAAM,mBAAmB,GAAG;IAC1B,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,QAAQ,CAAC;CACrB,CAAC;AAEW,QAAA,uBAAuB,GAAsB;IACxD;QACE,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,WAAW;QACxB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE,mBAAmB;SAC1B;QACD,OAAO,EAAE;YACP;gBACE,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;gBACd,WAAW,EAAE,8BAA8B;aAC5C;YACD;gBACE,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,yCAAyC;aACvD;YACD;gBACE,WAAW,EAAE,qBAAqB;gBAClC,IAAI,EAAE,qBAAqB;gBAC3B,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,2BAA2B;aACzC;YACD;gBACE,WAAW,EAAE,aAAa;gBAC1B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,0CAA0C;aACxD;YACD;gBACE,WAAW,EA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|
|
@@ -113,50 +113,28 @@ exports.eventsGetAllDescription = [
|
|
|
113
113
|
];
|
|
114
114
|
async function eventsGetAll() {
|
|
115
115
|
const options = this.getNodeParameter("additionalFields", 0);
|
|
116
|
-
const qs = {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
if (options.noteType) {
|
|
131
|
-
qs.note_type = parseInt(options.noteType, 10);
|
|
132
|
-
}
|
|
133
|
-
if (options.property) {
|
|
134
|
-
qs.property = parseInt(options.property, 10);
|
|
135
|
-
}
|
|
136
|
-
if (options.project) {
|
|
137
|
-
qs.project = parseInt(options.project, 10);
|
|
138
|
-
}
|
|
139
|
-
if (options.recurring !== undefined) {
|
|
140
|
-
qs.recurring = options.recurring;
|
|
141
|
-
}
|
|
142
|
-
if (options.startsAtAfter) {
|
|
143
|
-
qs.starts_at_after = options.startsAtAfter;
|
|
144
|
-
}
|
|
145
|
-
if (options.startsAtBefore) {
|
|
146
|
-
qs.starts_at_before = options.startsAtBefore;
|
|
147
|
-
}
|
|
148
|
-
if (options.state)
|
|
149
|
-
qs.state = options.state;
|
|
150
|
-
if (options.tag) {
|
|
151
|
-
qs.tag = parseInt(options.tag, 10);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
116
|
+
const qs = (0, helpers_1.buildQs)(options, {
|
|
117
|
+
broker: (0, helpers_1.toInt)("broker"),
|
|
118
|
+
client: (0, helpers_1.toInt)("client"),
|
|
119
|
+
endsAtAfter: (v) => ["ends_at_after", v],
|
|
120
|
+
endsAtBefore: (v) => ["ends_at_before", v],
|
|
121
|
+
noteType: (0, helpers_1.toInt)("note_type"),
|
|
122
|
+
property: (0, helpers_1.toInt)("property"),
|
|
123
|
+
project: (0, helpers_1.toInt)("project"),
|
|
124
|
+
recurring: "recurring",
|
|
125
|
+
startsAtAfter: (v) => ["starts_at_after", v],
|
|
126
|
+
startsAtBefore: (v) => ["starts_at_before", v],
|
|
127
|
+
state: "state",
|
|
128
|
+
tag: (0, helpers_1.toInt)("tag"),
|
|
129
|
+
});
|
|
154
130
|
const response = await helpers_1.propstackRequest.call(this, {
|
|
155
131
|
method: "GET",
|
|
156
132
|
url: constants_1.API_ENDPOINTS.EVENTS_GET_ALL,
|
|
157
133
|
qs,
|
|
158
134
|
});
|
|
159
|
-
|
|
135
|
+
const body = response;
|
|
136
|
+
const results = Array.isArray(body.events) ? body.events : [];
|
|
137
|
+
return this.helpers.returnJsonArray(results);
|
|
160
138
|
}
|
|
161
139
|
exports.default = exports.eventsGetAllDescription;
|
|
162
140
|
//# sourceMappingURL=getAll.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/events/getAll.ts"],"names":[],"mappings":";;;AAuHA,
|
|
1
|
+
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/events/getAll.ts"],"names":[],"mappings":";;;AAuHA,oCA6BC;AA7ID,+CAAgD;AAChD,2CAAiE;AAEjE,MAAM,mBAAmB,GAAG;IAC1B,SAAS,EAAE,CAAC,QAAQ,CAAC;IACrB,QAAQ,EAAE,CAAC,QAAQ,CAAC;CACrB,CAAC;AAEW,QAAA,uBAAuB,GAAsB;IACxD;QACE,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,WAAW;QACxB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACd,IAAI,EAAE,mBAAmB;SAC1B;QACD,OAAO,EAAE;YACP;gBACE,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,4BAA4B;aAC1C;YACD;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E,EAAE,CAAC,CAAC,kBAAkB,EAAE,CAAC,CAAC;QAC9C,KAAK,EAAE,OAAO;QACd,GAAG,EAAE,IAAA,eAAK,EAAC,KAAK,CAAC;KAClB,CAAC,CAAC;IAEH,MAAM,QAAQ,GAAG,MAAM,0BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE;QACjD,MAAM,EAAE,KAAK;QACb,GAAG,EAAE,yBAAa,CAAC,cAAc;QACjC,EAAE;KACH,CAAC,CAAC;IAEH,MAAM,IAAI,GAAG,QAAuB,CAAC;IACrC,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;AAC/C,CAAC;AAED,kBAAe,+BAAuB,CAAC"}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import type { IExecuteFunctions, INodeExecutionData
|
|
2
|
-
export declare const featuresCreateDescription: INodeProperties[];
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData } from "n8n-workflow";
|
|
3
2
|
export declare function featuresCreate(this: IExecuteFunctions): Promise<INodeExecutionData[]>;
|
|
4
|
-
export default featuresCreateDescription;
|
|
@@ -1,53 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.featuresCreateDescription = void 0;
|
|
4
3
|
exports.featuresCreate = featuresCreate;
|
|
5
4
|
const constants_1 = require("../../constants");
|
|
6
5
|
const helpers_1 = require("../../helpers");
|
|
7
|
-
|
|
8
|
-
operation: ["create"],
|
|
9
|
-
resource: ["features"],
|
|
10
|
-
};
|
|
11
|
-
exports.featuresCreateDescription = [
|
|
12
|
-
{
|
|
13
|
-
displayName: "Entity",
|
|
14
|
-
name: "entity",
|
|
15
|
-
type: "options",
|
|
16
|
-
required: true,
|
|
17
|
-
default: "for_clients",
|
|
18
|
-
displayOptions: {
|
|
19
|
-
show: showForFeaturesCreate,
|
|
20
|
-
},
|
|
21
|
-
options: [
|
|
22
|
-
{ name: "Activities", value: "for_activities" },
|
|
23
|
-
{ name: "Clients", value: "for_clients" },
|
|
24
|
-
{ name: "Properties", value: "for_properties" },
|
|
25
|
-
],
|
|
26
|
-
description: "Entity type for the feature",
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
displayName: "Name",
|
|
30
|
-
name: "name",
|
|
31
|
-
type: "string",
|
|
32
|
-
required: true,
|
|
33
|
-
default: "",
|
|
34
|
-
displayOptions: {
|
|
35
|
-
show: showForFeaturesCreate,
|
|
36
|
-
},
|
|
37
|
-
description: "Feature name (must be unique)",
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
displayName: "Parent Feature ID",
|
|
41
|
-
name: "superGroupId",
|
|
42
|
-
type: "string",
|
|
43
|
-
default: "",
|
|
44
|
-
displayOptions: {
|
|
45
|
-
show: showForFeaturesCreate,
|
|
46
|
-
},
|
|
47
|
-
description: "Parent category ID",
|
|
48
|
-
},
|
|
49
|
-
];
|
|
50
|
-
function buildFeaturesCreateBody() {
|
|
6
|
+
async function featuresCreate() {
|
|
51
7
|
const body = {};
|
|
52
8
|
body.entity = this.getNodeParameter("entity", 0);
|
|
53
9
|
body.name = this.getNodeParameter("name", 0);
|
|
@@ -55,10 +11,6 @@ function buildFeaturesCreateBody() {
|
|
|
55
11
|
if (superGroupId) {
|
|
56
12
|
body.super_group_id = parseInt(superGroupId, 10);
|
|
57
13
|
}
|
|
58
|
-
return body;
|
|
59
|
-
}
|
|
60
|
-
async function featuresCreate() {
|
|
61
|
-
const body = buildFeaturesCreateBody.call(this);
|
|
62
14
|
const response = await helpers_1.propstackRequest.call(this, {
|
|
63
15
|
method: "POST",
|
|
64
16
|
url: constants_1.API_ENDPOINTS.FEATURES_CREATE,
|
|
@@ -66,5 +18,4 @@ async function featuresCreate() {
|
|
|
66
18
|
});
|
|
67
19
|
return this.helpers.returnJsonArray(Array.isArray(response) ? response : [response]);
|
|
68
20
|
}
|
|
69
|
-
exports.default = exports.featuresCreateDescription;
|
|
70
21
|
//# sourceMappingURL=create.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/features/create.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/features/create.ts"],"names":[],"mappings":";;AASA,wCAwBC;AA3BD,+CAAgD;AAChD,2CAA8E;AAEvE,KAAK,UAAU,cAAc;IAGlC,MAAM,IAAI,GAAgB,EAAE,CAAC;IAE7B,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC,CAAW,CAAC;IAC3D,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,gBAAgB,CAAC,MAAM,EAAE,CAAC,CAAW,CAAC;IAEvD,MAAM,YAAY,GAAG,IAAA,qCAA2B,EAC9C,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,CAAC,CAAC,CACzC,CAAC;IACF,IAAI,YAAY,EAAE,CAAC;QACjB,IAAI,CAAC,cAAc,GAAG,QAAQ,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;IACnD,CAAC;IAED,MAAM,QAAQ,GAAG,MAAM,0BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE;QACjD,MAAM,EAAE,MAAM;QACd,GAAG,EAAE,yBAAa,CAAC,eAAe;QAClC,IAAI;KACL,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC,OAAO,CAAC,eAAe,CACjC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAChD,CAAC;AACJ,CAAC"}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import type { IExecuteFunctions, INodeExecutionData
|
|
2
|
-
export declare const featuresGetAllDescription: INodeProperties[];
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData } from "n8n-workflow";
|
|
3
2
|
export declare function featuresGetAll(this: IExecuteFunctions): Promise<INodeExecutionData[]>;
|
|
4
|
-
export default featuresGetAllDescription;
|
|
@@ -1,50 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.featuresGetAllDescription = void 0;
|
|
4
3
|
exports.featuresGetAll = featuresGetAll;
|
|
5
4
|
const constants_1 = require("../../constants");
|
|
6
5
|
const helpers_1 = require("../../helpers");
|
|
7
|
-
const showForFeaturesGetAll = {
|
|
8
|
-
operation: ["getAll"],
|
|
9
|
-
resource: ["features"],
|
|
10
|
-
};
|
|
11
|
-
exports.featuresGetAllDescription = [
|
|
12
|
-
{
|
|
13
|
-
displayName: "Entity",
|
|
14
|
-
name: "entity",
|
|
15
|
-
type: "options",
|
|
16
|
-
required: true,
|
|
17
|
-
default: "for_clients",
|
|
18
|
-
displayOptions: {
|
|
19
|
-
show: showForFeaturesGetAll,
|
|
20
|
-
},
|
|
21
|
-
options: [
|
|
22
|
-
{ name: "Activities", value: "for_activities" },
|
|
23
|
-
{ name: "Clients", value: "for_clients" },
|
|
24
|
-
{ name: "Properties", value: "for_properties" },
|
|
25
|
-
],
|
|
26
|
-
description: "Entity type to retrieve features for",
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
displayName: "Additional Fields",
|
|
30
|
-
name: "additionalFields",
|
|
31
|
-
type: "collection",
|
|
32
|
-
placeholder: "Add Field",
|
|
33
|
-
default: {},
|
|
34
|
-
displayOptions: {
|
|
35
|
-
show: showForFeaturesGetAll,
|
|
36
|
-
},
|
|
37
|
-
options: [
|
|
38
|
-
{
|
|
39
|
-
displayName: "Parent Feature ID",
|
|
40
|
-
name: "superGroupId",
|
|
41
|
-
type: "string",
|
|
42
|
-
default: "",
|
|
43
|
-
description: "Filter by parent category ID",
|
|
44
|
-
},
|
|
45
|
-
],
|
|
46
|
-
},
|
|
47
|
-
];
|
|
48
6
|
async function featuresGetAll() {
|
|
49
7
|
const entity = this.getNodeParameter("entity", 0);
|
|
50
8
|
const options = this.getNodeParameter("additionalFields", 0);
|
|
@@ -61,5 +19,4 @@ async function featuresGetAll() {
|
|
|
61
19
|
});
|
|
62
20
|
return this.helpers.returnJsonArray(Array.isArray(response) ? response : [response]);
|
|
63
21
|
}
|
|
64
|
-
exports.default = exports.featuresGetAllDescription;
|
|
65
22
|
//# sourceMappingURL=getAll.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/features/getAll.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/features/getAll.ts"],"names":[],"mappings":";;AASA,wCA0BC;AA7BD,+CAAgD;AAChD,2CAAiD;AAE1C,KAAK,UAAU,cAAc;IAGlC,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC,CAAW,CAAC;IAC5D,MAAM,OAAO,GAAG,IAAI,CAAC,gBAAgB,CACnC,kBAAkB,EAClB,CAAC,CACa,CAAC;IAEjB,MAAM,EAAE,GAAgB;QACtB,MAAM;KACP,CAAC;IAEF,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,YAAY,EAAE,CAAC;QAC1B,EAAE,CAAC,WAAW,GAAG,QAAQ,CAAC,OAAO,CAAC,YAAsB,EAAE,EAAE,CAAC,CAAC;IAChE,CAAC;IAED,MAAM,QAAQ,GAAG,MAAM,0BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE;QACjD,MAAM,EAAE,KAAK;QACb,GAAG,EAAE,yBAAa,CAAC,gBAAgB;QACnC,EAAE;KACH,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC,OAAO,CAAC,eAAe,CACjC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAChD,CAAC;AACJ,CAAC"}
|
|
@@ -100,6 +100,28 @@ exports.featuresFields = [
|
|
|
100
100
|
},
|
|
101
101
|
],
|
|
102
102
|
},
|
|
103
|
+
{
|
|
104
|
+
displayName: "Additional Fields",
|
|
105
|
+
name: "additionalFields",
|
|
106
|
+
type: "collection",
|
|
107
|
+
placeholder: "Add Field",
|
|
108
|
+
default: {},
|
|
109
|
+
displayOptions: {
|
|
110
|
+
show: {
|
|
111
|
+
resource: ["features"],
|
|
112
|
+
operation: ["getAll"],
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
options: [
|
|
116
|
+
{
|
|
117
|
+
displayName: "Parent Feature ID",
|
|
118
|
+
name: "superGroupId",
|
|
119
|
+
type: "string",
|
|
120
|
+
default: "",
|
|
121
|
+
description: "Filter by parent category ID",
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
},
|
|
103
125
|
{
|
|
104
126
|
displayName: "Include Child Features",
|
|
105
127
|
name: "includeGroups",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/features/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAsB;IACnD;QACE,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,UAAU,CAAC;aACvB;SACF;QACD,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,gBAAgB;gBACxB,WAAW,EAAE,sBAAsB;aACpC;YACD;g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AK,EAAE,EAAE,EAAE;QACpC,WAAW,EAAE,kCAAkC;QAC/C,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,UAAU,CAAC;gBACtB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,KAAK,EAAE;YACL;gBACE,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,MAAM;gBACZ,WAAW,EAAE;oBACX,gBAAgB,EAAE,sBAAsB;oBACxC,UAAU,EAAE,IAAI;oBAChB,oBAAoB,EAAE,KAAK;iBAC5B;aACF;YACD;gBACE,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,YAAY;aAC1B;SACF;KACF;IACD;QACE,WAAW,EAAE,wBAAwB;QACrC,IAAI,EAAE,eAAe;QACrB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,UAAU,CAAC;gBACtB,SAAS,EAAE,CAAC,mBAAmB,CAAC;aACjC;SACF;QACD,WAAW,EAAE,mCAAmC;KACjD;CACF,CAAC;AAEF,mCAA0C;AAAjC,wGAAA,cAAc,OAAA;AACvB,mCAA0C;AAAjC,wGAAA,cAAc,OAAA;AACvB,+CAAsD;AAA7C,oHAAA,oBAAoB,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/features/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAsB;IACnD;QACE,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,UAAU,CAAC;aACvB;SACF;QACD,OAAO,EAAE;YACP;gBACE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BAAmB,CAAC;aACjC;SACF;QACD,WAAW,EAAE,mCAAmC;KACjD;CACF,CAAC;AAEF,mCAA0C;AAAjC,wGAAA,cAAc,OAAA;AACvB,mCAA0C;AAAjC,wGAAA,cAAc,OAAA;AACvB,+CAAsD;AAA7C,oHAAA,oBAAoB,OAAA"}
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import type { IExecuteFunctions, INodeExecutionData
|
|
2
|
-
export declare const featuresParentGetAllDescription: INodeProperties[];
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData } from "n8n-workflow";
|
|
3
2
|
export declare function featuresParentGetAll(this: IExecuteFunctions): Promise<INodeExecutionData[]>;
|
|
4
|
-
export default featuresParentGetAllDescription;
|