basecamp-for-n8n 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/credentials/BasecampOAuth2Api.credentials.d.ts +8 -0
  2. package/dist/credentials/BasecampOAuth2Api.credentials.js +58 -0
  3. package/dist/credentials/BasecampOAuth2Api.credentials.js.map +1 -0
  4. package/dist/nodes/Basecamp/Basecamp.node.d.ts +5 -0
  5. package/dist/nodes/Basecamp/Basecamp.node.js +489 -0
  6. package/dist/nodes/Basecamp/Basecamp.node.js.map +1 -0
  7. package/dist/nodes/Basecamp/CampfireLineDescription.d.ts +3 -0
  8. package/dist/nodes/Basecamp/CampfireLineDescription.js +188 -0
  9. package/dist/nodes/Basecamp/CampfireLineDescription.js.map +1 -0
  10. package/dist/nodes/Basecamp/CommentDescription.d.ts +3 -0
  11. package/dist/nodes/Basecamp/CommentDescription.js +226 -0
  12. package/dist/nodes/Basecamp/CommentDescription.js.map +1 -0
  13. package/dist/nodes/Basecamp/GenericFunctions.d.ts +10 -0
  14. package/dist/nodes/Basecamp/GenericFunctions.js +93 -0
  15. package/dist/nodes/Basecamp/GenericFunctions.js.map +1 -0
  16. package/dist/nodes/Basecamp/MessageDescription.d.ts +3 -0
  17. package/dist/nodes/Basecamp/MessageDescription.js +275 -0
  18. package/dist/nodes/Basecamp/MessageDescription.js.map +1 -0
  19. package/dist/nodes/Basecamp/PeopleDescription.d.ts +3 -0
  20. package/dist/nodes/Basecamp/PeopleDescription.js +136 -0
  21. package/dist/nodes/Basecamp/PeopleDescription.js.map +1 -0
  22. package/dist/nodes/Basecamp/ProjectDescription.d.ts +3 -0
  23. package/dist/nodes/Basecamp/ProjectDescription.js +329 -0
  24. package/dist/nodes/Basecamp/ProjectDescription.js.map +1 -0
  25. package/dist/nodes/Basecamp/TodoDescription.d.ts +3 -0
  26. package/dist/nodes/Basecamp/TodoDescription.js +412 -0
  27. package/dist/nodes/Basecamp/TodoDescription.js.map +1 -0
  28. package/dist/nodes/Basecamp/TodoListDescription.d.ts +3 -0
  29. package/dist/nodes/Basecamp/TodoListDescription.js +252 -0
  30. package/dist/nodes/Basecamp/TodoListDescription.js.map +1 -0
  31. package/package.json +48 -0
@@ -0,0 +1,8 @@
1
+ import type { ICredentialType, INodeProperties } from 'n8n-workflow';
2
+ export declare class BasecampOAuth2Api implements ICredentialType {
3
+ name: string;
4
+ displayName: string;
5
+ extends: string[];
6
+ documentationUrl: string;
7
+ properties: INodeProperties[];
8
+ }
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BasecampOAuth2Api = void 0;
4
+ class BasecampOAuth2Api {
5
+ constructor() {
6
+ this.name = 'basecampOAuth2Api';
7
+ this.displayName = 'Basecamp OAuth2 API';
8
+ this.extends = ['oAuth2Api'];
9
+ this.documentationUrl = 'https://github.com/basecamp/bc3-api';
10
+ this.properties = [
11
+ {
12
+ displayName: 'Grant Type',
13
+ name: 'grantType',
14
+ type: 'hidden',
15
+ default: 'authorizationCode',
16
+ },
17
+ {
18
+ displayName: 'Authorization URL',
19
+ name: 'authUrl',
20
+ type: 'hidden',
21
+ default: 'https://launchpad.37signals.com/authorization/new?type=web_server',
22
+ },
23
+ {
24
+ displayName: 'Access Token URL',
25
+ name: 'accessTokenUrl',
26
+ type: 'hidden',
27
+ default: 'https://launchpad.37signals.com/authorization/token?type=web_server',
28
+ },
29
+ {
30
+ displayName: 'Scope',
31
+ name: 'scope',
32
+ type: 'hidden',
33
+ default: '',
34
+ },
35
+ {
36
+ displayName: 'Auth URI Query Parameters',
37
+ name: 'authQueryParameters',
38
+ type: 'hidden',
39
+ default: '',
40
+ },
41
+ {
42
+ displayName: 'Authentication',
43
+ name: 'authentication',
44
+ type: 'hidden',
45
+ default: 'body',
46
+ },
47
+ {
48
+ displayName: 'Account ID',
49
+ name: 'accountId',
50
+ type: 'string',
51
+ default: '',
52
+ description: 'Your Basecamp account ID. Find it in your Basecamp URL: https://3.basecamp.com/{ACCOUNT_ID}/...',
53
+ },
54
+ ];
55
+ }
56
+ }
57
+ exports.BasecampOAuth2Api = BasecampOAuth2Api;
58
+ //# sourceMappingURL=BasecampOAuth2Api.credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BasecampOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/BasecampOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,iBAAiB;IAA9B;QACC,SAAI,GAAG,mBAAmB,CAAC;QAC3B,gBAAW,GAAG,qBAAqB,CAAC;QACpC,YAAO,GAAG,CAAC,WAAW,CAAC,CAAC;QACxB,qBAAgB,GAAG,qCAAqC,CAAC;QAEzD,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,mBAAmB;aAC5B;YACD;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,mEAAmE;aAC5E;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,qEAAqE;aAC9E;YACD;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,2BAA2B;gBACxC,IAAI,EAAE,qBAAqB;gBAC3B,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,MAAM;aACf;YACD;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,iGAAiG;aAC9G;SACD,CAAC;IACH,CAAC;CAAA;AAnDD,8CAmDC"}
@@ -0,0 +1,5 @@
1
+ import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
2
+ export declare class Basecamp implements INodeType {
3
+ description: INodeTypeDescription;
4
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
5
+ }
@@ -0,0 +1,489 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Basecamp = void 0;
4
+ const GenericFunctions_1 = require("./GenericFunctions");
5
+ const ProjectDescription_1 = require("./ProjectDescription");
6
+ const TodoListDescription_1 = require("./TodoListDescription");
7
+ const TodoDescription_1 = require("./TodoDescription");
8
+ const MessageDescription_1 = require("./MessageDescription");
9
+ const CampfireLineDescription_1 = require("./CampfireLineDescription");
10
+ const CommentDescription_1 = require("./CommentDescription");
11
+ const PeopleDescription_1 = require("./PeopleDescription");
12
+ class Basecamp {
13
+ constructor() {
14
+ this.description = {
15
+ displayName: 'Basecamp',
16
+ name: 'basecamp',
17
+ icon: 'file:basecamp.svg',
18
+ group: ['transform'],
19
+ version: 1,
20
+ subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
21
+ description: 'Basecamp 4 — projects, to-do lists, to-dos, messages, campfire, comments, people',
22
+ defaults: {
23
+ name: 'Basecamp',
24
+ },
25
+ inputs: ['main'],
26
+ outputs: ['main'],
27
+ credentials: [
28
+ {
29
+ name: 'basecampOAuth2Api',
30
+ required: true,
31
+ },
32
+ ],
33
+ properties: [
34
+ {
35
+ displayName: 'Resource',
36
+ name: 'resource',
37
+ type: 'options',
38
+ noDataExpression: true,
39
+ options: [
40
+ { name: 'Campfire Line', value: 'campfireLine' },
41
+ { name: 'Comment', value: 'comment' },
42
+ { name: 'Message', value: 'message' },
43
+ { name: 'People', value: 'people' },
44
+ { name: 'Project', value: 'project' },
45
+ { name: 'To-Do', value: 'todo' },
46
+ { name: 'To-Do List', value: 'todoList' },
47
+ ],
48
+ default: 'project',
49
+ },
50
+ ...ProjectDescription_1.projectOperations,
51
+ ...ProjectDescription_1.projectFields,
52
+ ...TodoListDescription_1.todoListOperations,
53
+ ...TodoListDescription_1.todoListFields,
54
+ ...TodoDescription_1.todoOperations,
55
+ ...TodoDescription_1.todoFields,
56
+ ...MessageDescription_1.messageOperations,
57
+ ...MessageDescription_1.messageFields,
58
+ ...CampfireLineDescription_1.campfireLineOperations,
59
+ ...CampfireLineDescription_1.campfireLineFields,
60
+ ...CommentDescription_1.commentOperations,
61
+ ...CommentDescription_1.commentFields,
62
+ ...PeopleDescription_1.peopleOperations,
63
+ ...PeopleDescription_1.peopleFields,
64
+ ],
65
+ };
66
+ }
67
+ async execute() {
68
+ const items = this.getInputData();
69
+ const returnData = [];
70
+ const resource = this.getNodeParameter('resource', 0);
71
+ const operation = this.getNodeParameter('operation', 0);
72
+ for (let i = 0; i < items.length; i++) {
73
+ try {
74
+ let responseData = {};
75
+ // ============================================================
76
+ // PROJECT
77
+ // ============================================================
78
+ if (resource === 'project') {
79
+ // ----- Create -----
80
+ if (operation === 'create') {
81
+ const name = this.getNodeParameter('name', i);
82
+ const additionalFields = this.getNodeParameter('additionalFields', i);
83
+ const body = { name };
84
+ if (additionalFields.description) {
85
+ body.description = additionalFields.description;
86
+ }
87
+ if (additionalFields.admissions) {
88
+ body.admissions = additionalFields.admissions;
89
+ }
90
+ if (additionalFields.startDate && additionalFields.endDate) {
91
+ body.schedule_attributes = {
92
+ start_date: additionalFields.startDate.split('T')[0],
93
+ end_date: additionalFields.endDate.split('T')[0],
94
+ };
95
+ }
96
+ responseData = await GenericFunctions_1.basecampApiRequest.call(this, 'POST', '/projects.json', body);
97
+ }
98
+ // ----- Create from Template -----
99
+ if (operation === 'createFromTemplate') {
100
+ const templateId = this.getNodeParameter('templateId', i);
101
+ const name = this.getNodeParameter('name', i);
102
+ const description = this.getNodeParameter('description', i);
103
+ const body = {
104
+ project: {
105
+ name,
106
+ ...(description ? { description } : {}),
107
+ },
108
+ };
109
+ responseData = await GenericFunctions_1.basecampApiRequest.call(this, 'POST', `/templates/${templateId}/project_constructions.json`, body);
110
+ }
111
+ // ----- Get -----
112
+ if (operation === 'get') {
113
+ const projectId = this.getNodeParameter('projectId', i);
114
+ responseData = await GenericFunctions_1.basecampApiRequest.call(this, 'GET', `/projects/${projectId}.json`);
115
+ }
116
+ // ----- Get All -----
117
+ if (operation === 'getAll') {
118
+ const returnAll = this.getNodeParameter('returnAll', i);
119
+ const filters = this.getNodeParameter('filters', i);
120
+ const qs = {};
121
+ if (filters.status) {
122
+ qs.status = filters.status;
123
+ }
124
+ if (returnAll) {
125
+ responseData = await GenericFunctions_1.basecampApiRequestAllItems.call(this, 'GET', '/projects.json', {}, qs);
126
+ }
127
+ else {
128
+ const limit = this.getNodeParameter('limit', i);
129
+ const allItems = await GenericFunctions_1.basecampApiRequestAllItems.call(this, 'GET', '/projects.json', {}, qs);
130
+ responseData = allItems.slice(0, limit);
131
+ }
132
+ }
133
+ // ----- Update -----
134
+ if (operation === 'update') {
135
+ const projectId = this.getNodeParameter('projectId', i);
136
+ const updateFields = this.getNodeParameter('updateFields', i);
137
+ const body = {};
138
+ if (updateFields.name)
139
+ body.name = updateFields.name;
140
+ if (updateFields.description !== undefined)
141
+ body.description = updateFields.description;
142
+ if (updateFields.admissions)
143
+ body.admissions = updateFields.admissions;
144
+ if (updateFields.startDate && updateFields.endDate) {
145
+ body.schedule_attributes = {
146
+ start_date: updateFields.startDate.split('T')[0],
147
+ end_date: updateFields.endDate.split('T')[0],
148
+ };
149
+ }
150
+ responseData = await GenericFunctions_1.basecampApiRequest.call(this, 'PUT', `/projects/${projectId}.json`, body);
151
+ }
152
+ // ----- Delete -----
153
+ if (operation === 'delete') {
154
+ const projectId = this.getNodeParameter('projectId', i);
155
+ await GenericFunctions_1.basecampApiRequest.call(this, 'DELETE', `/projects/${projectId}.json`);
156
+ responseData = { success: true };
157
+ }
158
+ }
159
+ // ============================================================
160
+ // TO-DO LIST
161
+ // ============================================================
162
+ if (resource === 'todoList') {
163
+ // ----- Create -----
164
+ if (operation === 'create') {
165
+ const projectId = this.getNodeParameter('projectId', i);
166
+ const todosetId = this.getNodeParameter('todosetId', i);
167
+ const name = this.getNodeParameter('name', i);
168
+ const description = this.getNodeParameter('description', i);
169
+ const body = { name };
170
+ if (description)
171
+ body.description = description;
172
+ responseData = await GenericFunctions_1.basecampApiRequest.call(this, 'POST', `/buckets/${projectId}/todosets/${todosetId}/todolists.json`, body);
173
+ }
174
+ // ----- Get -----
175
+ if (operation === 'get') {
176
+ const projectId = this.getNodeParameter('projectId', i);
177
+ const todoListId = this.getNodeParameter('todoListId', i);
178
+ responseData = await GenericFunctions_1.basecampApiRequest.call(this, 'GET', `/buckets/${projectId}/todolists/${todoListId}.json`);
179
+ }
180
+ // ----- Get All -----
181
+ if (operation === 'getAll') {
182
+ const projectId = this.getNodeParameter('projectId', i);
183
+ const todosetId = this.getNodeParameter('todosetId', i);
184
+ const returnAll = this.getNodeParameter('returnAll', i);
185
+ if (returnAll) {
186
+ responseData = await GenericFunctions_1.basecampApiRequestAllItems.call(this, 'GET', `/buckets/${projectId}/todosets/${todosetId}/todolists.json`);
187
+ }
188
+ else {
189
+ const limit = this.getNodeParameter('limit', i);
190
+ const allItems = await GenericFunctions_1.basecampApiRequestAllItems.call(this, 'GET', `/buckets/${projectId}/todosets/${todosetId}/todolists.json`);
191
+ responseData = allItems.slice(0, limit);
192
+ }
193
+ }
194
+ // ----- Update -----
195
+ if (operation === 'update') {
196
+ const projectId = this.getNodeParameter('projectId', i);
197
+ const todoListId = this.getNodeParameter('todoListId', i);
198
+ const name = this.getNodeParameter('name', i);
199
+ const description = this.getNodeParameter('description', i);
200
+ const body = { name };
201
+ if (description)
202
+ body.description = description;
203
+ responseData = await GenericFunctions_1.basecampApiRequest.call(this, 'PUT', `/buckets/${projectId}/todolists/${todoListId}.json`, body);
204
+ }
205
+ }
206
+ // ============================================================
207
+ // TO-DO
208
+ // ============================================================
209
+ if (resource === 'todo') {
210
+ // ----- Create -----
211
+ if (operation === 'create') {
212
+ const projectId = this.getNodeParameter('projectId', i);
213
+ const todoListId = this.getNodeParameter('todoListId', i);
214
+ const content = this.getNodeParameter('content', i);
215
+ const additionalFields = this.getNodeParameter('additionalFields', i);
216
+ const body = { content };
217
+ if (additionalFields.description)
218
+ body.description = additionalFields.description;
219
+ if (additionalFields.notify !== undefined)
220
+ body.notify = additionalFields.notify;
221
+ if (additionalFields.due_on) {
222
+ body.due_on = additionalFields.due_on.split('T')[0];
223
+ }
224
+ if (additionalFields.starts_on) {
225
+ body.starts_on = additionalFields.starts_on.split('T')[0];
226
+ }
227
+ if (additionalFields.assignee_ids) {
228
+ body.assignee_ids = additionalFields.assignee_ids
229
+ .split(',').map((id) => parseInt(id.trim(), 10));
230
+ }
231
+ if (additionalFields.completion_subscriber_ids) {
232
+ body.completion_subscriber_ids = additionalFields.completion_subscriber_ids
233
+ .split(',').map((id) => parseInt(id.trim(), 10));
234
+ }
235
+ responseData = await GenericFunctions_1.basecampApiRequest.call(this, 'POST', `/buckets/${projectId}/todolists/${todoListId}/todos.json`, body);
236
+ }
237
+ // ----- Get -----
238
+ if (operation === 'get') {
239
+ const projectId = this.getNodeParameter('projectId', i);
240
+ const todoId = this.getNodeParameter('todoId', i);
241
+ responseData = await GenericFunctions_1.basecampApiRequest.call(this, 'GET', `/buckets/${projectId}/todos/${todoId}.json`);
242
+ }
243
+ // ----- Get All -----
244
+ if (operation === 'getAll') {
245
+ const projectId = this.getNodeParameter('projectId', i);
246
+ const todoListId = this.getNodeParameter('todoListId', i);
247
+ const returnAll = this.getNodeParameter('returnAll', i);
248
+ const filters = this.getNodeParameter('filters', i);
249
+ const qs = {};
250
+ if (filters.status)
251
+ qs.status = filters.status;
252
+ if (filters.completed)
253
+ qs.completed = filters.completed;
254
+ if (returnAll) {
255
+ responseData = await GenericFunctions_1.basecampApiRequestAllItems.call(this, 'GET', `/buckets/${projectId}/todolists/${todoListId}/todos.json`, {}, qs);
256
+ }
257
+ else {
258
+ const limit = this.getNodeParameter('limit', i);
259
+ const allItems = await GenericFunctions_1.basecampApiRequestAllItems.call(this, 'GET', `/buckets/${projectId}/todolists/${todoListId}/todos.json`, {}, qs);
260
+ responseData = allItems.slice(0, limit);
261
+ }
262
+ }
263
+ // ----- Update -----
264
+ if (operation === 'update') {
265
+ const projectId = this.getNodeParameter('projectId', i);
266
+ const todoId = this.getNodeParameter('todoId', i);
267
+ const content = this.getNodeParameter('content', i);
268
+ const updateFields = this.getNodeParameter('updateFields', i);
269
+ const body = { content };
270
+ if (updateFields.description !== undefined)
271
+ body.description = updateFields.description;
272
+ if (updateFields.notify !== undefined)
273
+ body.notify = updateFields.notify;
274
+ if (updateFields.due_on) {
275
+ body.due_on = updateFields.due_on.split('T')[0];
276
+ }
277
+ if (updateFields.starts_on) {
278
+ body.starts_on = updateFields.starts_on.split('T')[0];
279
+ }
280
+ if (updateFields.assignee_ids) {
281
+ body.assignee_ids = updateFields.assignee_ids
282
+ .split(',').map((id) => parseInt(id.trim(), 10));
283
+ }
284
+ if (updateFields.completion_subscriber_ids) {
285
+ body.completion_subscriber_ids = updateFields.completion_subscriber_ids
286
+ .split(',').map((id) => parseInt(id.trim(), 10));
287
+ }
288
+ responseData = await GenericFunctions_1.basecampApiRequest.call(this, 'PUT', `/buckets/${projectId}/todos/${todoId}.json`, body);
289
+ }
290
+ // ----- Complete -----
291
+ if (operation === 'complete') {
292
+ const projectId = this.getNodeParameter('projectId', i);
293
+ const todoId = this.getNodeParameter('todoId', i);
294
+ await GenericFunctions_1.basecampApiRequest.call(this, 'POST', `/buckets/${projectId}/todos/${todoId}/completion.json`);
295
+ responseData = { success: true };
296
+ }
297
+ // ----- Uncomplete -----
298
+ if (operation === 'uncomplete') {
299
+ const projectId = this.getNodeParameter('projectId', i);
300
+ const todoId = this.getNodeParameter('todoId', i);
301
+ await GenericFunctions_1.basecampApiRequest.call(this, 'DELETE', `/buckets/${projectId}/todos/${todoId}/completion.json`);
302
+ responseData = { success: true };
303
+ }
304
+ }
305
+ // ============================================================
306
+ // MESSAGE
307
+ // ============================================================
308
+ if (resource === 'message') {
309
+ // ----- Create -----
310
+ if (operation === 'create') {
311
+ const projectId = this.getNodeParameter('projectId', i);
312
+ const messageBoardId = this.getNodeParameter('messageBoardId', i);
313
+ const subject = this.getNodeParameter('subject', i);
314
+ const additionalFields = this.getNodeParameter('additionalFields', i);
315
+ const body = {
316
+ subject,
317
+ status: 'active',
318
+ };
319
+ if (additionalFields.content)
320
+ body.content = additionalFields.content;
321
+ if (additionalFields.category_id)
322
+ body.category_id = additionalFields.category_id;
323
+ responseData = await GenericFunctions_1.basecampApiRequest.call(this, 'POST', `/buckets/${projectId}/message_boards/${messageBoardId}/messages.json`, body);
324
+ }
325
+ // ----- Get -----
326
+ if (operation === 'get') {
327
+ const projectId = this.getNodeParameter('projectId', i);
328
+ const messageId = this.getNodeParameter('messageId', i);
329
+ responseData = await GenericFunctions_1.basecampApiRequest.call(this, 'GET', `/buckets/${projectId}/messages/${messageId}.json`);
330
+ }
331
+ // ----- Get All -----
332
+ if (operation === 'getAll') {
333
+ const projectId = this.getNodeParameter('projectId', i);
334
+ const messageBoardId = this.getNodeParameter('messageBoardId', i);
335
+ const returnAll = this.getNodeParameter('returnAll', i);
336
+ if (returnAll) {
337
+ responseData = await GenericFunctions_1.basecampApiRequestAllItems.call(this, 'GET', `/buckets/${projectId}/message_boards/${messageBoardId}/messages.json`);
338
+ }
339
+ else {
340
+ const limit = this.getNodeParameter('limit', i);
341
+ const allItems = await GenericFunctions_1.basecampApiRequestAllItems.call(this, 'GET', `/buckets/${projectId}/message_boards/${messageBoardId}/messages.json`);
342
+ responseData = allItems.slice(0, limit);
343
+ }
344
+ }
345
+ // ----- Update -----
346
+ if (operation === 'update') {
347
+ const projectId = this.getNodeParameter('projectId', i);
348
+ const messageId = this.getNodeParameter('messageId', i);
349
+ const updateFields = this.getNodeParameter('updateFields', i);
350
+ const body = {};
351
+ if (updateFields.subject)
352
+ body.subject = updateFields.subject;
353
+ if (updateFields.content !== undefined)
354
+ body.content = updateFields.content;
355
+ if (updateFields.category_id)
356
+ body.category_id = updateFields.category_id;
357
+ responseData = await GenericFunctions_1.basecampApiRequest.call(this, 'PUT', `/buckets/${projectId}/messages/${messageId}.json`, body);
358
+ }
359
+ }
360
+ // ============================================================
361
+ // CAMPFIRE LINE
362
+ // ============================================================
363
+ if (resource === 'campfireLine') {
364
+ // ----- Create -----
365
+ if (operation === 'create') {
366
+ const projectId = this.getNodeParameter('projectId', i);
367
+ const campfireId = this.getNodeParameter('campfireId', i);
368
+ const content = this.getNodeParameter('content', i);
369
+ responseData = await GenericFunctions_1.basecampApiRequest.call(this, 'POST', `/buckets/${projectId}/chats/${campfireId}/lines.json`, { content });
370
+ }
371
+ // ----- Get -----
372
+ if (operation === 'get') {
373
+ const projectId = this.getNodeParameter('projectId', i);
374
+ const campfireId = this.getNodeParameter('campfireId', i);
375
+ const lineId = this.getNodeParameter('lineId', i);
376
+ responseData = await GenericFunctions_1.basecampApiRequest.call(this, 'GET', `/buckets/${projectId}/chats/${campfireId}/lines/${lineId}.json`);
377
+ }
378
+ // ----- Get All -----
379
+ if (operation === 'getAll') {
380
+ const projectId = this.getNodeParameter('projectId', i);
381
+ const campfireId = this.getNodeParameter('campfireId', i);
382
+ const returnAll = this.getNodeParameter('returnAll', i);
383
+ if (returnAll) {
384
+ responseData = await GenericFunctions_1.basecampApiRequestAllItems.call(this, 'GET', `/buckets/${projectId}/chats/${campfireId}/lines.json`);
385
+ }
386
+ else {
387
+ const limit = this.getNodeParameter('limit', i);
388
+ const allItems = await GenericFunctions_1.basecampApiRequestAllItems.call(this, 'GET', `/buckets/${projectId}/chats/${campfireId}/lines.json`);
389
+ responseData = allItems.slice(0, limit);
390
+ }
391
+ }
392
+ }
393
+ // ============================================================
394
+ // COMMENT
395
+ // ============================================================
396
+ if (resource === 'comment') {
397
+ // ----- Create -----
398
+ if (operation === 'create') {
399
+ const projectId = this.getNodeParameter('projectId', i);
400
+ const recordingId = this.getNodeParameter('recordingId', i);
401
+ const content = this.getNodeParameter('content', i);
402
+ responseData = await GenericFunctions_1.basecampApiRequest.call(this, 'POST', `/buckets/${projectId}/recordings/${recordingId}/comments.json`, { content });
403
+ }
404
+ // ----- Get -----
405
+ if (operation === 'get') {
406
+ const projectId = this.getNodeParameter('projectId', i);
407
+ const commentId = this.getNodeParameter('commentId', i);
408
+ responseData = await GenericFunctions_1.basecampApiRequest.call(this, 'GET', `/buckets/${projectId}/comments/${commentId}.json`);
409
+ }
410
+ // ----- Get All -----
411
+ if (operation === 'getAll') {
412
+ const projectId = this.getNodeParameter('projectId', i);
413
+ const recordingId = this.getNodeParameter('recordingId', i);
414
+ const returnAll = this.getNodeParameter('returnAll', i);
415
+ if (returnAll) {
416
+ responseData = await GenericFunctions_1.basecampApiRequestAllItems.call(this, 'GET', `/buckets/${projectId}/recordings/${recordingId}/comments.json`);
417
+ }
418
+ else {
419
+ const limit = this.getNodeParameter('limit', i);
420
+ const allItems = await GenericFunctions_1.basecampApiRequestAllItems.call(this, 'GET', `/buckets/${projectId}/recordings/${recordingId}/comments.json`);
421
+ responseData = allItems.slice(0, limit);
422
+ }
423
+ }
424
+ // ----- Update -----
425
+ if (operation === 'update') {
426
+ const projectId = this.getNodeParameter('projectId', i);
427
+ const commentId = this.getNodeParameter('commentId', i);
428
+ const content = this.getNodeParameter('content', i);
429
+ responseData = await GenericFunctions_1.basecampApiRequest.call(this, 'PUT', `/buckets/${projectId}/comments/${commentId}.json`, { content });
430
+ }
431
+ }
432
+ // ============================================================
433
+ // PEOPLE
434
+ // ============================================================
435
+ if (resource === 'people') {
436
+ // ----- Get -----
437
+ if (operation === 'get') {
438
+ const personId = this.getNodeParameter('personId', i);
439
+ responseData = await GenericFunctions_1.basecampApiRequest.call(this, 'GET', `/people/${personId}.json`);
440
+ }
441
+ // ----- Get All -----
442
+ if (operation === 'getAll') {
443
+ const returnAll = this.getNodeParameter('returnAll', i);
444
+ if (returnAll) {
445
+ responseData = await GenericFunctions_1.basecampApiRequestAllItems.call(this, 'GET', '/people.json');
446
+ }
447
+ else {
448
+ const limit = this.getNodeParameter('limit', i);
449
+ const allItems = await GenericFunctions_1.basecampApiRequestAllItems.call(this, 'GET', '/people.json');
450
+ responseData = allItems.slice(0, limit);
451
+ }
452
+ }
453
+ // ----- Get All by Project -----
454
+ if (operation === 'getAllByProject') {
455
+ const projectId = this.getNodeParameter('projectId', i);
456
+ const returnAll = this.getNodeParameter('returnAll', i);
457
+ if (returnAll) {
458
+ responseData = await GenericFunctions_1.basecampApiRequestAllItems.call(this, 'GET', `/projects/${projectId}/people.json`);
459
+ }
460
+ else {
461
+ const limit = this.getNodeParameter('limit', i);
462
+ const allItems = await GenericFunctions_1.basecampApiRequestAllItems.call(this, 'GET', `/projects/${projectId}/people.json`);
463
+ responseData = allItems.slice(0, limit);
464
+ }
465
+ }
466
+ }
467
+ // ============================================================
468
+ // Return Data
469
+ // ============================================================
470
+ if (Array.isArray(responseData)) {
471
+ returnData.push(...responseData.map((item) => ({ json: item })));
472
+ }
473
+ else {
474
+ returnData.push({ json: responseData });
475
+ }
476
+ }
477
+ catch (error) {
478
+ if (this.continueOnFail()) {
479
+ returnData.push({ json: { error: error.message }, pairedItem: i });
480
+ continue;
481
+ }
482
+ throw error;
483
+ }
484
+ }
485
+ return [returnData];
486
+ }
487
+ }
488
+ exports.Basecamp = Basecamp;
489
+ //# sourceMappingURL=Basecamp.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Basecamp.node.js","sourceRoot":"","sources":["../../../nodes/Basecamp/Basecamp.node.ts"],"names":[],"mappings":";;;AAQA,yDAG4B;AAE5B,6DAAwE;AACxE,+DAA2E;AAC3E,uDAA+D;AAC/D,6DAAwE;AACxE,uEAAuF;AACvF,6DAAwE;AACxE,2DAAqE;AAErE,M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AAS,cAAc,CACjD,CAAC;wBACH,CAAC;6BAAM,CAAC;4BACP,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,CAAC,CAAW,CAAC;4BAC1D,MAAM,QAAQ,GAAG,MAAM,6CAA0B,CAAC,IAAI,CACrD,IAAI,EAAE,KAAK,EAAE,aAAa,SAAS,cAAc,CACjD,CAAC;4BACF,YAAY,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;wBACzC,CAAC;oBACF,CAAC;gBACF,CAAC;gBAED,+DAA+D;gBAC/D,kCAAkC;gBAClC,+DAA+D;gBAC/D,IAAI,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE,CAAC;oBACjC,UAAU,CAAC,IAAI,CAAC,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;gBAClE,CAAC;qBAAM,CAAC;oBACP,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,CAAC;gBACzC,CAAC;YAEF,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBAChB,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;oBAC3B,UAAU,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,EAAE,KAAK,EAAG,KAAe,CAAC,OAAO,EAAE,EAAE,UAAU,EAAE,CAAC,EAAE,CAAC,CAAC;oBAC9E,SAAS;gBACV,CAAC;gBACD,MAAM,KAAK,CAAC;YACb,CAAC;QACF,CAAC;QAED,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC;CACD;AA3lBD,4BA2lBC"}
@@ -0,0 +1,3 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const campfireLineOperations: INodeProperties[];
3
+ export declare const campfireLineFields: INodeProperties[];