n8n-nodes-propstack 0.2.1 → 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/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,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.teamsGetAll = exports.teamsFields = exports.teamsOperations = void 0;
|
|
4
4
|
exports.teamsOperations = [
|
|
5
5
|
{
|
|
6
6
|
displayName: "Operation",
|
|
@@ -13,222 +13,17 @@ exports.teamsOperations = [
|
|
|
13
13
|
},
|
|
14
14
|
},
|
|
15
15
|
options: [
|
|
16
|
-
{
|
|
17
|
-
name: "Create",
|
|
18
|
-
value: "create",
|
|
19
|
-
action: "Create team",
|
|
20
|
-
description: "Create a new team",
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
name: "Delete",
|
|
24
|
-
value: "delete",
|
|
25
|
-
action: "Delete team",
|
|
26
|
-
description: "Permanently remove a team",
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
name: "Get",
|
|
30
|
-
value: "get",
|
|
31
|
-
action: "Get team",
|
|
32
|
-
description: "Retrieve a team",
|
|
33
|
-
},
|
|
34
16
|
{
|
|
35
17
|
name: "Get Many",
|
|
36
18
|
value: "getAll",
|
|
37
19
|
action: "Get many teams",
|
|
38
20
|
description: "Retrieve a list of teams",
|
|
39
21
|
},
|
|
40
|
-
{
|
|
41
|
-
name: "Update",
|
|
42
|
-
value: "update",
|
|
43
|
-
action: "Update team",
|
|
44
|
-
description: "Update an existing team",
|
|
45
|
-
},
|
|
46
22
|
],
|
|
47
23
|
default: "getAll",
|
|
48
24
|
},
|
|
49
25
|
];
|
|
50
26
|
exports.teamsFields = [
|
|
51
|
-
{
|
|
52
|
-
displayName: "Team",
|
|
53
|
-
name: "teamId",
|
|
54
|
-
type: "resourceLocator",
|
|
55
|
-
required: true,
|
|
56
|
-
displayOptions: {
|
|
57
|
-
show: {
|
|
58
|
-
resource: ["teams"],
|
|
59
|
-
operation: ["get", "update", "delete"],
|
|
60
|
-
},
|
|
61
|
-
},
|
|
62
|
-
default: { mode: "list", value: "" },
|
|
63
|
-
description: "The team to operate on",
|
|
64
|
-
modes: [
|
|
65
|
-
{
|
|
66
|
-
displayName: "From List",
|
|
67
|
-
name: "list",
|
|
68
|
-
type: "list",
|
|
69
|
-
typeOptions: {
|
|
70
|
-
searchListMethod: "searchTeams",
|
|
71
|
-
searchable: true,
|
|
72
|
-
searchFilterRequired: false,
|
|
73
|
-
},
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
displayName: "By ID",
|
|
77
|
-
name: "id",
|
|
78
|
-
type: "string",
|
|
79
|
-
placeholder: "e.g. 12345",
|
|
80
|
-
},
|
|
81
|
-
],
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
displayName: "Name",
|
|
85
|
-
name: "name",
|
|
86
|
-
type: "string",
|
|
87
|
-
required: true,
|
|
88
|
-
displayOptions: {
|
|
89
|
-
show: {
|
|
90
|
-
resource: ["teams"],
|
|
91
|
-
operation: ["create"],
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
default: "",
|
|
95
|
-
description: "Department name",
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
displayName: "Additional Fields",
|
|
99
|
-
name: "additionalFields",
|
|
100
|
-
type: "collection",
|
|
101
|
-
placeholder: "Add Field",
|
|
102
|
-
default: {},
|
|
103
|
-
displayOptions: {
|
|
104
|
-
show: {
|
|
105
|
-
resource: ["teams"],
|
|
106
|
-
operation: ["create"],
|
|
107
|
-
},
|
|
108
|
-
},
|
|
109
|
-
options: [
|
|
110
|
-
{
|
|
111
|
-
displayName: "Broker IDs",
|
|
112
|
-
name: "broker_ids",
|
|
113
|
-
type: "string",
|
|
114
|
-
default: "",
|
|
115
|
-
description: "Comma-separated list of broker IDs",
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
displayName: "Cancellation Policy Note",
|
|
119
|
-
name: "cancellation_policy_note",
|
|
120
|
-
type: "string",
|
|
121
|
-
default: "",
|
|
122
|
-
description: "Cancellation terms (HTML)",
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
displayName: "Imprint Note",
|
|
126
|
-
name: "imprint_note",
|
|
127
|
-
type: "string",
|
|
128
|
-
default: "",
|
|
129
|
-
description: "Legal imprint (HTML)",
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
displayName: "Logo URL",
|
|
133
|
-
name: "logo_url",
|
|
134
|
-
type: "string",
|
|
135
|
-
default: "",
|
|
136
|
-
description: "Logo image URL",
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
displayName: "Position",
|
|
140
|
-
name: "position",
|
|
141
|
-
type: "number",
|
|
142
|
-
default: 0,
|
|
143
|
-
description: "Display order",
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
displayName: "Privacy Note",
|
|
147
|
-
name: "privacy_note",
|
|
148
|
-
type: "string",
|
|
149
|
-
default: "",
|
|
150
|
-
description: "Privacy policy (HTML)",
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
displayName: "Terms Note",
|
|
154
|
-
name: "terms_note",
|
|
155
|
-
type: "string",
|
|
156
|
-
default: "",
|
|
157
|
-
description: "Terms of service (HTML)",
|
|
158
|
-
},
|
|
159
|
-
],
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
displayName: "Additional Fields",
|
|
163
|
-
name: "additionalFields",
|
|
164
|
-
type: "collection",
|
|
165
|
-
placeholder: "Add Field",
|
|
166
|
-
default: {},
|
|
167
|
-
displayOptions: {
|
|
168
|
-
show: {
|
|
169
|
-
resource: ["teams"],
|
|
170
|
-
operation: ["update"],
|
|
171
|
-
},
|
|
172
|
-
},
|
|
173
|
-
options: [
|
|
174
|
-
{
|
|
175
|
-
displayName: "Broker IDs",
|
|
176
|
-
name: "broker_ids",
|
|
177
|
-
type: "string",
|
|
178
|
-
default: "",
|
|
179
|
-
description: "Comma-separated list of broker IDs",
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
displayName: "Cancellation Policy Note",
|
|
183
|
-
name: "cancellation_policy_note",
|
|
184
|
-
type: "string",
|
|
185
|
-
default: "",
|
|
186
|
-
description: "Cancellation terms (HTML)",
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
displayName: "Imprint Note",
|
|
190
|
-
name: "imprint_note",
|
|
191
|
-
type: "string",
|
|
192
|
-
default: "",
|
|
193
|
-
description: "Legal imprint (HTML)",
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
displayName: "Logo URL",
|
|
197
|
-
name: "logo_url",
|
|
198
|
-
type: "string",
|
|
199
|
-
default: "",
|
|
200
|
-
description: "Logo image URL",
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
displayName: "Name",
|
|
204
|
-
name: "name",
|
|
205
|
-
type: "string",
|
|
206
|
-
default: "",
|
|
207
|
-
description: "Department name",
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
displayName: "Position",
|
|
211
|
-
name: "position",
|
|
212
|
-
type: "number",
|
|
213
|
-
default: 0,
|
|
214
|
-
description: "Display order",
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
displayName: "Privacy Note",
|
|
218
|
-
name: "privacy_note",
|
|
219
|
-
type: "string",
|
|
220
|
-
default: "",
|
|
221
|
-
description: "Privacy policy (HTML)",
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
displayName: "Terms Note",
|
|
225
|
-
name: "terms_note",
|
|
226
|
-
type: "string",
|
|
227
|
-
default: "",
|
|
228
|
-
description: "Terms of service (HTML)",
|
|
229
|
-
},
|
|
230
|
-
],
|
|
231
|
-
},
|
|
232
27
|
{
|
|
233
28
|
displayName: "Return All",
|
|
234
29
|
name: "returnAll",
|
|
@@ -260,14 +55,6 @@ exports.teamsFields = [
|
|
|
260
55
|
default: 50,
|
|
261
56
|
},
|
|
262
57
|
];
|
|
263
|
-
var create_1 = require("./create");
|
|
264
|
-
Object.defineProperty(exports, "teamsCreate", { enumerable: true, get: function () { return create_1.teamsCreate; } });
|
|
265
|
-
var delete_1 = require("./delete");
|
|
266
|
-
Object.defineProperty(exports, "teamsDelete", { enumerable: true, get: function () { return delete_1.teamsDelete; } });
|
|
267
|
-
var get_1 = require("./get");
|
|
268
|
-
Object.defineProperty(exports, "teamsGet", { enumerable: true, get: function () { return get_1.teamsGet; } });
|
|
269
58
|
var getAll_1 = require("./getAll");
|
|
270
59
|
Object.defineProperty(exports, "teamsGetAll", { enumerable: true, get: function () { return getAll_1.teamsGetAll; } });
|
|
271
|
-
var update_1 = require("./update");
|
|
272
|
-
Object.defineProperty(exports, "teamsUpdate", { enumerable: true, get: function () { return update_1.teamsUpdate; } });
|
|
273
60
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/teams/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAsB;IAChD;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,OAAO,CAAC;aACpB;SACF;QACD,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/teams/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAsB;IAChD;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,OAAO,CAAC;aACpB;SACF;QACD,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,gBAAgB;gBACxB,WAAW,EAAE,0BAA0B;aACxC;SACF;QACD,OAAO,EAAE,QAAQ;KAClB;CACF,CAAC;AAEW,QAAA,WAAW,GAAsB;IAC5C;QACE,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,WAAW,EAAE,2DAA2D;QACxE,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACtB;SACF;QACD,OAAO,EAAE,KAAK;KACf;IACD;QACE,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,iCAAiC;QAC9C,cAAc,EAAE;YACd,IAAI,EAAE;gBACJ,QAAQ,EAAE,CAAC,OAAO,CAAC;gBACnB,SAAS,EAAE,CAAC,QAAQ,CAAC;gBACrB,SAAS,EAAE,CAAC,KAAK,CAAC;aACnB;SACF;QACD,WAAW,EAAE;YACX,QAAQ,EAAE,CAAC;SACZ;QACD,OAAO,EAAE,EAAE;KACZ;CACF,CAAC;AAEF,mCAAuC;AAA9B,qGAAA,WAAW,OAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IExecuteFunctions, INodeExecutionData } from "n8n-workflow";
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData } from "n8n-workflow";
|
|
2
2
|
export declare function webhooksCreate(this: IExecuteFunctions): Promise<INodeExecutionData[]>;
|
|
@@ -6,20 +6,14 @@ const helpers_1 = require("../../helpers");
|
|
|
6
6
|
async function webhooksCreate() {
|
|
7
7
|
const targetUrl = this.getNodeParameter("targetUrl", 0);
|
|
8
8
|
const event = this.getNodeParameter("event", 0);
|
|
9
|
-
const body = {
|
|
10
|
-
target_url: targetUrl,
|
|
11
|
-
event,
|
|
12
|
-
};
|
|
13
9
|
const response = await helpers_1.propstackRequest.call(this, {
|
|
14
10
|
method: "POST",
|
|
15
11
|
url: constants_1.API_ENDPOINTS.WEBHOOKS_CREATE,
|
|
16
|
-
body
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
{
|
|
20
|
-
json: response,
|
|
21
|
-
pairedItem: { item: 0 },
|
|
12
|
+
body: {
|
|
13
|
+
target_url: targetUrl,
|
|
14
|
+
event,
|
|
22
15
|
},
|
|
23
|
-
|
|
16
|
+
});
|
|
17
|
+
return this.helpers.returnJsonArray(Array.isArray(response) ? response : [response]);
|
|
24
18
|
}
|
|
25
19
|
//# sourceMappingURL=create.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/webhooks/create.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/webhooks/create.ts"],"names":[],"mappings":";;AAQA,wCAkBC;AArBD,+CAAgD;AAChD,2CAAiD;AAE1C,KAAK,UAAU,cAAc;IAGlC,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC,WAAW,EAAE,CAAC,CAAW,CAAC;IAClE,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,CAAC,CAAW,CAAC;IAE1D,MAAM,QAAQ,GAAG,MAAM,0BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE;QACjD,MAAM,EAAE,MAAM;QACd,GAAG,EAAE,yBAAa,CAAC,eAAe;QAClC,IAAI,EAAE;YACJ,UAAU,EAAE,SAAS;YACrB,KAAK;SACN;KACF,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,2 +1,2 @@
|
|
|
1
|
-
import { IExecuteFunctions, INodeExecutionData } from "n8n-workflow";
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData } from "n8n-workflow";
|
|
2
2
|
export declare function webhooksGetAll(this: IExecuteFunctions): Promise<INodeExecutionData[]>;
|
|
@@ -8,11 +8,12 @@ async function webhooksGetAll() {
|
|
|
8
8
|
method: "GET",
|
|
9
9
|
url: constants_1.API_ENDPOINTS.WEBHOOKS_GET_ALL,
|
|
10
10
|
});
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
const body = response;
|
|
12
|
+
const data = Array.isArray(body.hooks)
|
|
13
|
+
? body.hooks
|
|
14
|
+
: Array.isArray(response)
|
|
15
|
+
? response
|
|
16
|
+
: [response];
|
|
17
|
+
return this.helpers.returnJsonArray(data);
|
|
17
18
|
}
|
|
18
19
|
//# sourceMappingURL=getAll.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/webhooks/getAll.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"getAll.js","sourceRoot":"","sources":["../../../../../../nodes/Propstack/v1/resources/webhooks/getAll.ts"],"names":[],"mappings":";;AASA,wCAgBC;AAnBD,+CAAgD;AAChD,2CAAiD;AAE1C,KAAK,UAAU,cAAc;IAGlC,MAAM,QAAQ,GAAG,MAAM,0BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE;QACjD,MAAM,EAAE,KAAK;QACb,GAAG,EAAE,yBAAa,CAAC,gBAAgB;KACpC,CAAC,CAAC;IAEH,MAAM,IAAI,GAAG,QAAuB,CAAC;IACrC,MAAM,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC;QACpC,CAAC,CAAC,IAAI,CAAC,KAAK;QACZ,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;YACvB,CAAC,CAAC,QAAQ;YACV,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;IAEjB,OAAO,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;AAC5C,CAAC"}
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-propstack",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Propstack CRM API community node for n8n — automate real estate CRM workflows.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/hansdoebel/n8n-nodes-propstack#readme",
|