n8n-nodes-blossom 2.0.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.
- package/LICENSE.md +19 -0
- package/README.md +473 -0
- package/dist/credentials/BlossomApi.credentials.d.ts +10 -0
- package/dist/credentials/BlossomApi.credentials.js +137 -0
- package/dist/credentials/BlossomApi.credentials.js.map +1 -0
- package/dist/icons/blossom.dark.svg +7 -0
- package/dist/icons/blossom.svg +7 -0
- package/dist/icons/github.dark.svg +3 -0
- package/dist/icons/github.svg +3 -0
- package/dist/nodes/Blossom/Blossom.node.d.ts +5 -0
- package/dist/nodes/Blossom/Blossom.node.js +566 -0
- package/dist/nodes/Blossom/Blossom.node.js.map +1 -0
- package/dist/nodes/Blossom/Blossom.node.json +19 -0
- package/dist/nodes/Blossom/resources/groups/index.d.ts +2 -0
- package/dist/nodes/Blossom/resources/groups/index.js +439 -0
- package/dist/nodes/Blossom/resources/groups/index.js.map +1 -0
- package/dist/nodes/Blossom/resources/memberships/index.d.ts +2 -0
- package/dist/nodes/Blossom/resources/memberships/index.js +228 -0
- package/dist/nodes/Blossom/resources/memberships/index.js.map +1 -0
- package/dist/nodes/Blossom/resources/performances/index.d.ts +2 -0
- package/dist/nodes/Blossom/resources/performances/index.js +55 -0
- package/dist/nodes/Blossom/resources/performances/index.js.map +1 -0
- package/dist/nodes/Blossom/resources/suppliers/index.d.ts +2 -0
- package/dist/nodes/Blossom/resources/suppliers/index.js +156 -0
- package/dist/nodes/Blossom/resources/suppliers/index.js.map +1 -0
- package/dist/nodes/Blossom/resources/users/index.d.ts +2 -0
- package/dist/nodes/Blossom/resources/users/index.js +355 -0
- package/dist/nodes/Blossom/resources/users/index.js.map +1 -0
- package/dist/nodes/Blossom/resources/utilities/index.d.ts +2 -0
- package/dist/nodes/Blossom/resources/utilities/index.js +254 -0
- package/dist/nodes/Blossom/resources/utilities/index.js.map +1 -0
- package/dist/nodes/Blossom/shared/transport.d.ts +3 -0
- package/dist/nodes/Blossom/shared/transport.js +107 -0
- package/dist/nodes/Blossom/shared/transport.js.map +1 -0
- package/dist/package.json +54 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +54 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type INodeType, type INodeTypeDescription, type IExecuteFunctions, type INodeExecutionData } from 'n8n-workflow';
|
|
2
|
+
export declare class Blossom implements INodeType {
|
|
3
|
+
description: INodeTypeDescription;
|
|
4
|
+
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,566 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Blossom = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const transport_1 = require("./shared/transport");
|
|
6
|
+
const users_1 = require("./resources/users");
|
|
7
|
+
const groups_1 = require("./resources/groups");
|
|
8
|
+
const memberships_1 = require("./resources/memberships");
|
|
9
|
+
const utilities_1 = require("./resources/utilities");
|
|
10
|
+
const suppliers_1 = require("./resources/suppliers");
|
|
11
|
+
const performances_1 = require("./resources/performances");
|
|
12
|
+
class Blossom {
|
|
13
|
+
constructor() {
|
|
14
|
+
this.description = {
|
|
15
|
+
displayName: 'Blossom',
|
|
16
|
+
name: 'blossom',
|
|
17
|
+
icon: { light: 'file:../../icons/blossom.svg', dark: 'file:../../icons/blossom.dark.svg' },
|
|
18
|
+
group: ['input'],
|
|
19
|
+
version: 1,
|
|
20
|
+
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
|
21
|
+
description: 'Interact with Blossom API - Generic integration for any Blossom instance',
|
|
22
|
+
defaults: {
|
|
23
|
+
name: 'Blossom',
|
|
24
|
+
},
|
|
25
|
+
usableAsTool: true,
|
|
26
|
+
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
27
|
+
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
28
|
+
credentials: [
|
|
29
|
+
{
|
|
30
|
+
name: 'blossomApi',
|
|
31
|
+
required: true,
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
properties: [
|
|
35
|
+
{
|
|
36
|
+
displayName: 'Resource',
|
|
37
|
+
name: 'resource',
|
|
38
|
+
type: 'options',
|
|
39
|
+
noDataExpression: true,
|
|
40
|
+
options: [
|
|
41
|
+
{
|
|
42
|
+
name: 'Generic API',
|
|
43
|
+
value: 'generic',
|
|
44
|
+
description: 'Make generic API requests to any endpoint',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'Group',
|
|
48
|
+
value: 'groups',
|
|
49
|
+
description: 'Manage groups, courses, roles, and organizational units',
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: 'Membership',
|
|
53
|
+
value: 'memberships',
|
|
54
|
+
description: 'Manage user-group memberships and managers',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: 'Performance',
|
|
58
|
+
value: 'performances',
|
|
59
|
+
description: 'Import assignment and group performances',
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
name: 'Supplier',
|
|
63
|
+
value: 'suppliers',
|
|
64
|
+
description: 'Manage suppliers and external institutions',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name: 'User',
|
|
68
|
+
value: 'users',
|
|
69
|
+
description: 'Manage users (create, update, delete, import)',
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: 'Utility',
|
|
73
|
+
value: 'utilities',
|
|
74
|
+
description: 'Utility functions (test, auto-enrollment, authorities)',
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
default: 'users',
|
|
78
|
+
},
|
|
79
|
+
...users_1.usersDescription,
|
|
80
|
+
...groups_1.groupsDescription,
|
|
81
|
+
...memberships_1.membershipsDescription,
|
|
82
|
+
...utilities_1.utilitiesDescription,
|
|
83
|
+
...suppliers_1.suppliersDescription,
|
|
84
|
+
...performances_1.performancesDescription,
|
|
85
|
+
{
|
|
86
|
+
displayName: 'Operation',
|
|
87
|
+
name: 'operation',
|
|
88
|
+
type: 'options',
|
|
89
|
+
noDataExpression: true,
|
|
90
|
+
displayOptions: {
|
|
91
|
+
show: {
|
|
92
|
+
resource: ['generic'],
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
options: [
|
|
96
|
+
{
|
|
97
|
+
name: 'Make Request',
|
|
98
|
+
value: 'makeRequest',
|
|
99
|
+
description: 'Make a generic API request to any endpoint',
|
|
100
|
+
action: 'Make request a generic',
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
default: 'makeRequest',
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
displayName: 'Endpoint',
|
|
107
|
+
name: 'endpoint',
|
|
108
|
+
type: 'string',
|
|
109
|
+
default: 'WebServices/sync_2',
|
|
110
|
+
required: true,
|
|
111
|
+
displayOptions: {
|
|
112
|
+
show: {
|
|
113
|
+
resource: ['generic'],
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
description: 'The API endpoint to call (relative to base URL)',
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
displayName: 'HTTP Method',
|
|
120
|
+
name: 'method',
|
|
121
|
+
type: 'options',
|
|
122
|
+
options: [
|
|
123
|
+
{ name: 'DELETE', value: 'DELETE' },
|
|
124
|
+
{ name: 'GET', value: 'GET' },
|
|
125
|
+
{ name: 'PATCH', value: 'PATCH' },
|
|
126
|
+
{ name: 'POST', value: 'POST' },
|
|
127
|
+
{ name: 'PUT', value: 'PUT' },
|
|
128
|
+
],
|
|
129
|
+
default: 'GET',
|
|
130
|
+
displayOptions: {
|
|
131
|
+
show: {
|
|
132
|
+
resource: ['generic'],
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
description: 'The HTTP method to use',
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
displayName: 'Query Parameters',
|
|
139
|
+
name: 'queryParameters',
|
|
140
|
+
type: 'fixedCollection',
|
|
141
|
+
typeOptions: {
|
|
142
|
+
multipleValues: true,
|
|
143
|
+
},
|
|
144
|
+
default: {},
|
|
145
|
+
displayOptions: {
|
|
146
|
+
show: {
|
|
147
|
+
resource: ['generic'],
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
options: [
|
|
151
|
+
{
|
|
152
|
+
name: 'parameters',
|
|
153
|
+
displayName: 'Parameters',
|
|
154
|
+
values: [
|
|
155
|
+
{
|
|
156
|
+
displayName: 'Name',
|
|
157
|
+
name: 'name',
|
|
158
|
+
type: 'string',
|
|
159
|
+
default: '',
|
|
160
|
+
description: 'Parameter name',
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
displayName: 'Value',
|
|
164
|
+
name: 'value',
|
|
165
|
+
type: 'string',
|
|
166
|
+
default: '',
|
|
167
|
+
description: 'Parameter value',
|
|
168
|
+
},
|
|
169
|
+
],
|
|
170
|
+
},
|
|
171
|
+
],
|
|
172
|
+
description: 'Query parameters to send with the request',
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
displayName: 'Body Parameters',
|
|
176
|
+
name: 'bodyParameters',
|
|
177
|
+
type: 'fixedCollection',
|
|
178
|
+
typeOptions: {
|
|
179
|
+
multipleValues: true,
|
|
180
|
+
},
|
|
181
|
+
default: {},
|
|
182
|
+
displayOptions: {
|
|
183
|
+
show: {
|
|
184
|
+
resource: ['generic'],
|
|
185
|
+
method: ['POST', 'PUT', 'PATCH'],
|
|
186
|
+
},
|
|
187
|
+
},
|
|
188
|
+
options: [
|
|
189
|
+
{
|
|
190
|
+
name: 'parameters',
|
|
191
|
+
displayName: 'Parameters',
|
|
192
|
+
values: [
|
|
193
|
+
{
|
|
194
|
+
displayName: 'Name',
|
|
195
|
+
name: 'name',
|
|
196
|
+
type: 'string',
|
|
197
|
+
default: '',
|
|
198
|
+
description: 'Parameter name',
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
displayName: 'Value',
|
|
202
|
+
name: 'value',
|
|
203
|
+
type: 'string',
|
|
204
|
+
default: '',
|
|
205
|
+
description: 'Parameter value',
|
|
206
|
+
},
|
|
207
|
+
],
|
|
208
|
+
},
|
|
209
|
+
],
|
|
210
|
+
description: 'Body parameters to send with the request',
|
|
211
|
+
},
|
|
212
|
+
],
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
async execute() {
|
|
216
|
+
const items = this.getInputData();
|
|
217
|
+
const returnData = [];
|
|
218
|
+
for (let i = 0; i < items.length; i++) {
|
|
219
|
+
try {
|
|
220
|
+
const resource = this.getNodeParameter('resource', i);
|
|
221
|
+
const operation = this.getNodeParameter('operation', i);
|
|
222
|
+
let responseData;
|
|
223
|
+
if (resource === 'users') {
|
|
224
|
+
const domain = this.getNodeParameter('domain', i);
|
|
225
|
+
if (operation === 'updateUser') {
|
|
226
|
+
const userDetails = this.getNodeParameter('userDetails.details', i, {});
|
|
227
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/UpdateUser`, {}, {
|
|
228
|
+
domain: parseInt(domain),
|
|
229
|
+
details: userDetails
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
else if (operation === 'deleteUser') {
|
|
233
|
+
const userIdentifier = this.getNodeParameter('userIdentifier.identifier', i, {});
|
|
234
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/DeleteUser`, {}, {
|
|
235
|
+
domain: parseInt(domain),
|
|
236
|
+
user_identifier: userIdentifier
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
else if (operation === 'importUsersCSV') {
|
|
240
|
+
const csvFile = this.getNodeParameter('csvFile', i);
|
|
241
|
+
const importOptions = this.getNodeParameter('importOptions.options', i, {});
|
|
242
|
+
const qs = { domain };
|
|
243
|
+
Object.entries(importOptions).forEach(([key, value]) => {
|
|
244
|
+
qs[key] = String(value);
|
|
245
|
+
});
|
|
246
|
+
const formData = {
|
|
247
|
+
sheet_file: {
|
|
248
|
+
value: csvFile,
|
|
249
|
+
options: {
|
|
250
|
+
filename: 'users.csv',
|
|
251
|
+
contentType: 'text/csv'
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
};
|
|
255
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/ImportUsersCSV/${domain}`, qs, formData);
|
|
256
|
+
}
|
|
257
|
+
else if (operation === 'deleteUsersCSV') {
|
|
258
|
+
const csvFile = this.getNodeParameter('csvFile', i);
|
|
259
|
+
const formData = {
|
|
260
|
+
sheet_file: {
|
|
261
|
+
value: csvFile,
|
|
262
|
+
options: {
|
|
263
|
+
filename: 'delete_users.csv',
|
|
264
|
+
contentType: 'text/csv'
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
};
|
|
268
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/DeleteUsersCSV/${domain}`, {}, formData);
|
|
269
|
+
}
|
|
270
|
+
else if (operation === 'setAvatar') {
|
|
271
|
+
const userIdentifier = this.getNodeParameter('userIdentifier.identifier', i, {});
|
|
272
|
+
const avatarFile = this.getNodeParameter('avatarFile', i);
|
|
273
|
+
const removeAvatar = this.getNodeParameter('removeAvatar', i);
|
|
274
|
+
let formData = {};
|
|
275
|
+
if (!removeAvatar && avatarFile) {
|
|
276
|
+
formData = {
|
|
277
|
+
avatarfile: {
|
|
278
|
+
value: avatarFile,
|
|
279
|
+
options: {
|
|
280
|
+
filename: 'avatar.jpg',
|
|
281
|
+
contentType: 'image/jpeg'
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/AvatarSet/${domain}/${Object.entries(userIdentifier).map(([k, v]) => `${k}=${v}`).join(',')}/${removeAvatar ? '1' : '0'}`, {}, formData);
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
else if (resource === 'groups') {
|
|
290
|
+
const domain = this.getNodeParameter('domain', i);
|
|
291
|
+
if (operation === 'updateGroup') {
|
|
292
|
+
const groupDetails = this.getNodeParameter('groupDetails.details', i, {});
|
|
293
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/UpdateGroup`, {}, {
|
|
294
|
+
domain: parseInt(domain),
|
|
295
|
+
details: groupDetails
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
else if (operation === 'deleteGroup') {
|
|
299
|
+
const groupIdentifier = this.getNodeParameter('groupIdentifier.identifier', i, {});
|
|
300
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/DeleteGroup`, {}, {
|
|
301
|
+
domain: parseInt(domain),
|
|
302
|
+
group_identifier: groupIdentifier
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
else if (operation === 'importGroupsCSV') {
|
|
306
|
+
const csvFile = this.getNodeParameter('csvFile', i);
|
|
307
|
+
const importOptions = this.getNodeParameter('importOptions.options', i, {});
|
|
308
|
+
const formData = {
|
|
309
|
+
sheet_file: {
|
|
310
|
+
value: csvFile,
|
|
311
|
+
options: {
|
|
312
|
+
filename: 'groups.csv',
|
|
313
|
+
contentType: 'text/csv'
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
};
|
|
317
|
+
const qs = { domain };
|
|
318
|
+
Object.entries(importOptions).forEach(([key, value]) => {
|
|
319
|
+
qs[key] = String(value);
|
|
320
|
+
});
|
|
321
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/ImportGroupsCSV/${domain}`, qs, formData);
|
|
322
|
+
}
|
|
323
|
+
else if (operation === 'attachSubGroup') {
|
|
324
|
+
const subGroupIdentifier = this.getNodeParameter('subGroupIdentifier.identifier', i, {});
|
|
325
|
+
const parentGroupIdentifier = this.getNodeParameter('parentGroupIdentifier.identifier', i, {});
|
|
326
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/AttachSubGroup`, {}, {
|
|
327
|
+
domain: parseInt(domain),
|
|
328
|
+
sub_group_identifier: subGroupIdentifier,
|
|
329
|
+
parent_group_identifier: parentGroupIdentifier
|
|
330
|
+
});
|
|
331
|
+
}
|
|
332
|
+
else if (operation === 'detachSubGroup') {
|
|
333
|
+
const groupIdentifier = this.getNodeParameter('groupIdentifier.identifier', i, {});
|
|
334
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/DetachSubGroup`, {}, {
|
|
335
|
+
domain: parseInt(domain),
|
|
336
|
+
group_identifier: groupIdentifier
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
else if (operation === 'attachInstance') {
|
|
340
|
+
const groupIdentifier = this.getNodeParameter('groupIdentifier.identifier', i, {});
|
|
341
|
+
const templateIdentifier = this.getNodeParameter('templateIdentifier.identifier', i, {});
|
|
342
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/AttachInstance`, {}, {
|
|
343
|
+
domain: parseInt(domain),
|
|
344
|
+
group_identifier: groupIdentifier,
|
|
345
|
+
template_identifier: templateIdentifier
|
|
346
|
+
});
|
|
347
|
+
}
|
|
348
|
+
else if (operation === 'detachInstance') {
|
|
349
|
+
const groupIdentifier = this.getNodeParameter('groupIdentifier.identifier', i, {});
|
|
350
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/DetachInstance`, {}, {
|
|
351
|
+
domain: parseInt(domain),
|
|
352
|
+
group_identifier: groupIdentifier
|
|
353
|
+
});
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
else if (resource === 'memberships') {
|
|
357
|
+
const domain = this.getNodeParameter('domain', i);
|
|
358
|
+
if (operation === 'attachUserToGroup') {
|
|
359
|
+
const userIdentifier = this.getNodeParameter('userIdentifier.identifier', i, {});
|
|
360
|
+
const groupIdentifier = this.getNodeParameter('groupIdentifier.identifier', i, {});
|
|
361
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/AttachUserToGroup`, {}, {
|
|
362
|
+
domain: parseInt(domain),
|
|
363
|
+
user_identifier: userIdentifier,
|
|
364
|
+
group_identifier: groupIdentifier
|
|
365
|
+
});
|
|
366
|
+
}
|
|
367
|
+
else if (operation === 'detachUserFromGroup') {
|
|
368
|
+
const userIdentifier = this.getNodeParameter('userIdentifier.identifier', i, {});
|
|
369
|
+
const groupIdentifier = this.getNodeParameter('groupIdentifier.identifier', i, {});
|
|
370
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/DetachUserFromGroup`, {}, {
|
|
371
|
+
domain: parseInt(domain),
|
|
372
|
+
user_identifier: userIdentifier,
|
|
373
|
+
group_identifier: groupIdentifier
|
|
374
|
+
});
|
|
375
|
+
}
|
|
376
|
+
else if (operation === 'detachUserFromOu') {
|
|
377
|
+
const userIdentifier = this.getNodeParameter('userIdentifier.identifier', i, {});
|
|
378
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/DetachUserFromOu`, {}, {
|
|
379
|
+
domain: parseInt(domain),
|
|
380
|
+
user_identifier: userIdentifier
|
|
381
|
+
});
|
|
382
|
+
}
|
|
383
|
+
else if (operation === 'importGroupsMembersCSV') {
|
|
384
|
+
const csvFile = this.getNodeParameter('csvFile', i);
|
|
385
|
+
const importOptions = this.getNodeParameter('importOptions.options', i, {});
|
|
386
|
+
const formData = {
|
|
387
|
+
sheet_file: {
|
|
388
|
+
value: csvFile,
|
|
389
|
+
options: {
|
|
390
|
+
filename: 'group_members.csv',
|
|
391
|
+
contentType: 'text/csv'
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
};
|
|
395
|
+
const qs = { domain };
|
|
396
|
+
Object.entries(importOptions).forEach(([key, value]) => {
|
|
397
|
+
qs[key] = String(value);
|
|
398
|
+
});
|
|
399
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/ImportGroupsMembersCSV/${domain}`, qs, formData);
|
|
400
|
+
}
|
|
401
|
+
else if (operation === 'attachManager') {
|
|
402
|
+
const userIdentifier = this.getNodeParameter('userIdentifier.identifier', i, {});
|
|
403
|
+
const groupIdentifier = this.getNodeParameter('groupIdentifier.identifier', i, {});
|
|
404
|
+
const managerType = this.getNodeParameter('managerType', i);
|
|
405
|
+
const setPrimary = this.getNodeParameter('setPrimary', i);
|
|
406
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/AttachManager`, {}, {
|
|
407
|
+
domain: parseInt(domain),
|
|
408
|
+
user_identifier: userIdentifier,
|
|
409
|
+
group_identifier: groupIdentifier,
|
|
410
|
+
manager_type: managerType,
|
|
411
|
+
set_primary: parseInt(setPrimary)
|
|
412
|
+
});
|
|
413
|
+
}
|
|
414
|
+
else if (operation === 'detachManager') {
|
|
415
|
+
const userIdentifier = this.getNodeParameter('userIdentifier.identifier', i, {});
|
|
416
|
+
const groupIdentifier = this.getNodeParameter('groupIdentifier.identifier', i, {});
|
|
417
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/DetachManager`, {}, {
|
|
418
|
+
domain: parseInt(domain),
|
|
419
|
+
user_identifier: userIdentifier,
|
|
420
|
+
group_identifier: groupIdentifier
|
|
421
|
+
});
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
else if (resource === 'utilities') {
|
|
425
|
+
if (operation === 'test') {
|
|
426
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'GET', 'WebServices/sync_2/Test');
|
|
427
|
+
}
|
|
428
|
+
else if (operation === 'runAutoEnrollmentRules') {
|
|
429
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', 'WebServices/sync_2/RunAutoEnrollmentRules');
|
|
430
|
+
}
|
|
431
|
+
else if (operation === 'runScheduledImports') {
|
|
432
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', 'WebServices/sync_2/RunScheduledImports');
|
|
433
|
+
}
|
|
434
|
+
else if (operation === 'removeEmptyOrgUnits') {
|
|
435
|
+
const domain = this.getNodeParameter('domain', i);
|
|
436
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', 'WebServices/sync_2/RemoveEmptyOrgUnits', {}, {
|
|
437
|
+
domain: parseInt(domain)
|
|
438
|
+
});
|
|
439
|
+
}
|
|
440
|
+
else if (operation === 'userAuthorities') {
|
|
441
|
+
const domain = this.getNodeParameter('domain', i);
|
|
442
|
+
const userIdentifier = this.getNodeParameter('userIdentifier.identifier', i, {});
|
|
443
|
+
const authorities = this.getNodeParameter('authorities.authorities', i, {});
|
|
444
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', 'WebServices/sync_2/UserAuthorities', {}, {
|
|
445
|
+
domain: parseInt(domain),
|
|
446
|
+
user_identifier: userIdentifier,
|
|
447
|
+
authorities: authorities
|
|
448
|
+
});
|
|
449
|
+
}
|
|
450
|
+
else if (operation === 'powerManager') {
|
|
451
|
+
const domain = this.getNodeParameter('domain', i);
|
|
452
|
+
const userIdentifier = this.getNodeParameter('userIdentifier.identifier', i, {});
|
|
453
|
+
const powerManagerType = this.getNodeParameter('powerManagerType', i);
|
|
454
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', 'WebServices/sync_2/PowerManager', {}, {
|
|
455
|
+
domain: parseInt(domain),
|
|
456
|
+
user_identifier: userIdentifier,
|
|
457
|
+
type: powerManagerType
|
|
458
|
+
});
|
|
459
|
+
}
|
|
460
|
+
else if (operation === 'uploadDiploma') {
|
|
461
|
+
const domain = this.getNodeParameter('domain', i);
|
|
462
|
+
const userIdentifier = this.getNodeParameter('userIdentifier.identifier', i, {});
|
|
463
|
+
const groupIdentifier = this.getNodeParameter('groupIdentifier.identifier', i, {});
|
|
464
|
+
const diplomaFile = this.getNodeParameter('diplomaFile', i);
|
|
465
|
+
const removeDiploma = this.getNodeParameter('removeDiploma', i);
|
|
466
|
+
let formData = {};
|
|
467
|
+
if (!removeDiploma && diplomaFile) {
|
|
468
|
+
formData = {
|
|
469
|
+
diploma_file: {
|
|
470
|
+
value: diplomaFile,
|
|
471
|
+
options: {
|
|
472
|
+
filename: 'diploma.pdf',
|
|
473
|
+
contentType: 'application/pdf'
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
};
|
|
477
|
+
}
|
|
478
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/UploadDiploma/${domain}/${Object.entries(userIdentifier).map(([k, v]) => `${k}=${v}`).join(',')}/${Object.entries(groupIdentifier).map(([k, v]) => `${k}=${v}`).join(',')}/${removeDiploma ? '1' : '0'}`, {}, formData);
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
else if (resource === 'suppliers') {
|
|
482
|
+
const domain = this.getNodeParameter('domain', i);
|
|
483
|
+
if (operation === 'updateSupplier') {
|
|
484
|
+
const supplierType = this.getNodeParameter('supplierType', i);
|
|
485
|
+
const supplierDetails = this.getNodeParameter('supplierDetails.details', i, {});
|
|
486
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/UpdateSupplier`, {}, {
|
|
487
|
+
domain: parseInt(domain),
|
|
488
|
+
type: supplierType,
|
|
489
|
+
details: supplierDetails
|
|
490
|
+
});
|
|
491
|
+
}
|
|
492
|
+
else if (operation === 'deleteSupplier') {
|
|
493
|
+
const externalId = this.getNodeParameter('externalId', i);
|
|
494
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/DeleteSupplier`, {}, {
|
|
495
|
+
domain: parseInt(domain),
|
|
496
|
+
ext_id: externalId
|
|
497
|
+
});
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
else if (resource === 'performances') {
|
|
501
|
+
const domain = this.getNodeParameter('domain', i);
|
|
502
|
+
const csvFile = this.getNodeParameter('csvFile', i);
|
|
503
|
+
if (operation === 'importAssignmentPerformancesCSV') {
|
|
504
|
+
const formData = {
|
|
505
|
+
sheet_file: {
|
|
506
|
+
value: csvFile,
|
|
507
|
+
options: {
|
|
508
|
+
filename: 'assignment_performances.csv',
|
|
509
|
+
contentType: 'text/csv'
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
};
|
|
513
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/ImportAssignmentPerformancesCSV/${domain}`, {}, formData);
|
|
514
|
+
}
|
|
515
|
+
else if (operation === 'importGroupPerformancesCSV') {
|
|
516
|
+
const formData = {
|
|
517
|
+
sheet_file: {
|
|
518
|
+
value: csvFile,
|
|
519
|
+
options: {
|
|
520
|
+
filename: 'group_performances.csv',
|
|
521
|
+
contentType: 'text/csv'
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
};
|
|
525
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', `WebServices/sync_2/ImportGroupPerformancesCSV/${domain}`, {}, formData);
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
else if (resource === 'generic') {
|
|
529
|
+
if (operation === 'makeRequest') {
|
|
530
|
+
const endpoint = this.getNodeParameter('endpoint', i);
|
|
531
|
+
const method = this.getNodeParameter('method', i);
|
|
532
|
+
const queryParams = this.getNodeParameter('queryParameters.parameters', i, []);
|
|
533
|
+
const bodyParams = this.getNodeParameter('bodyParameters.parameters', i, []);
|
|
534
|
+
const qs = {};
|
|
535
|
+
for (const param of queryParams) {
|
|
536
|
+
qs[param.name] = param.value;
|
|
537
|
+
}
|
|
538
|
+
const body = {};
|
|
539
|
+
for (const param of bodyParams) {
|
|
540
|
+
body[param.name] = param.value;
|
|
541
|
+
}
|
|
542
|
+
responseData = await transport_1.blossomApiRequest.call(this, method, endpoint, qs, Object.keys(body).length > 0 ? body : undefined);
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
returnData.push({
|
|
546
|
+
json: responseData,
|
|
547
|
+
pairedItem: { item: i },
|
|
548
|
+
});
|
|
549
|
+
}
|
|
550
|
+
catch (error) {
|
|
551
|
+
if (this.continueOnFail()) {
|
|
552
|
+
returnData.push({
|
|
553
|
+
json: { error: error.message },
|
|
554
|
+
pairedItem: { item: i },
|
|
555
|
+
});
|
|
556
|
+
}
|
|
557
|
+
else {
|
|
558
|
+
throw error;
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
return [returnData];
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
exports.Blossom = Blossom;
|
|
566
|
+
//# sourceMappingURL=Blossom.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Blossom.node.js","sourceRoot":"","sources":["../../../nodes/Blossom/Blossom.node.ts"],"names":[],"mappings":";;;AAAA,+CAQsB;AACtB,kDAAuD;AACvD,6CAAqD;AACrD,+CAAuD;AACvD,yDAAiE;AACjE,qDAA6D;AAC7D,qDAA6D;AAC7D,2DAAmE;AAEnE,MAAa,OAAO;IAApB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,EAAE,KAAK,EAAE,8BAA8B,EAAE,IAAI,EAAE,mCAAmC,EAAE;YAC1F,KAAK,EAAE,CAAC,OAAO,CAAC;YAChB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EAAE,0EAA0E;YACvF,QAAQ,EAAE;gBACT,IAAI,EAAE,SAAS;aACf;YACD,YAAY,EAAE,IAAI;YAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,YAAY;oBAClB,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,UAAU,EAAE;gBACX;oBACC,WAAW,EAAE,UAAU;oBACvB,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE;wBACR;4BACC,IAAI,EAAE,aAAa;4BACnB,KAAK,EAAE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jJ,CAAC;gBACF,CAAC;gBAED,UAAU,CAAC,IAAI,CAAC;oBACf,IAAI,EAAE,YAA2B;oBACjC,UAAU,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;iBACvB,CAAC,CAAC;YACJ,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBAChB,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;oBAC3B,UAAU,CAAC,IAAI,CAAC;wBACf,IAAI,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE;wBAC9B,UAAU,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;qBACvB,CAAC,CAAC;gBACJ,CAAC;qBAAM,CAAC;oBACP,MAAM,KAAK,CAAC;gBACb,CAAC;YACF,CAAC;QACF,CAAC;QAED,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC;CACD;AApjBD,0BAojBC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"node": "n8n-nodes-blossom",
|
|
3
|
+
"nodeVersion": "1.0",
|
|
4
|
+
"codexVersion": "1.0",
|
|
5
|
+
"categories": ["Development", "Communication"],
|
|
6
|
+
"resources": {
|
|
7
|
+
"credentialDocumentation": [
|
|
8
|
+
{
|
|
9
|
+
"url": "https://github.com/yourusername/n8n-nodes-blossom#credentials"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"primaryDocumentation": [
|
|
13
|
+
{
|
|
14
|
+
"url": "https://github.com/yourusername/n8n-nodes-blossom"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"alias": ["Blossom", "API", "Generic"]
|
|
19
|
+
}
|