n8n-nodes-blossom 3.0.1 → 3.0.3
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 +2 -2
- package/dist/credentials/BlossomApi.credentials.js +3 -3
- package/dist/credentials/BlossomApi.credentials.js.map +1 -1
- package/dist/nodes/Blossom/Blossom.node.d.ts +2 -1
- package/dist/nodes/Blossom/Blossom.node.js +179 -4
- package/dist/nodes/Blossom/Blossom.node.js.map +1 -1
- package/dist/nodes/Blossom/resources/data/getMeetings.d.ts +2 -0
- package/dist/nodes/Blossom/resources/data/getMeetings.js +99 -0
- package/dist/nodes/Blossom/resources/data/getMeetings.js.map +1 -0
- package/dist/nodes/Blossom/resources/data/index.js +38 -10
- package/dist/nodes/Blossom/resources/data/index.js.map +1 -1
- package/dist/nodes/Blossom/resources/data/setDueDate.d.ts +2 -0
- package/dist/nodes/Blossom/resources/data/setDueDate.js +113 -0
- package/dist/nodes/Blossom/resources/data/setDueDate.js.map +1 -0
- package/dist/nodes/Blossom/resources/group/attachInstance.d.ts +2 -0
- package/dist/nodes/Blossom/resources/group/attachInstance.js +61 -0
- package/dist/nodes/Blossom/resources/group/attachInstance.js.map +1 -0
- package/dist/nodes/Blossom/resources/group/attachSubGroup.d.ts +2 -0
- package/dist/nodes/Blossom/resources/group/attachSubGroup.js +61 -0
- package/dist/nodes/Blossom/resources/group/attachSubGroup.js.map +1 -0
- package/dist/nodes/Blossom/resources/group/detachInstance.d.ts +2 -0
- package/dist/nodes/Blossom/resources/group/detachInstance.js +32 -0
- package/dist/nodes/Blossom/resources/group/detachInstance.js.map +1 -0
- package/dist/nodes/Blossom/resources/group/detachSubGroup.d.ts +2 -0
- package/dist/nodes/Blossom/resources/group/detachSubGroup.js +32 -0
- package/dist/nodes/Blossom/resources/group/detachSubGroup.js.map +1 -0
- package/dist/nodes/Blossom/resources/group/importGroupsCSV.d.ts +2 -0
- package/dist/nodes/Blossom/resources/group/importGroupsCSV.js +79 -0
- package/dist/nodes/Blossom/resources/group/importGroupsCSV.js.map +1 -0
- package/dist/nodes/Blossom/resources/group/index.js +69 -5
- package/dist/nodes/Blossom/resources/group/index.js.map +1 -1
- package/dist/nodes/Blossom/resources/manager/attach.d.ts +2 -0
- package/dist/nodes/Blossom/resources/manager/attach.js +77 -0
- package/dist/nodes/Blossom/resources/manager/attach.js.map +1 -0
- package/dist/nodes/Blossom/resources/manager/detach.d.ts +2 -0
- package/dist/nodes/Blossom/resources/manager/detach.js +43 -0
- package/dist/nodes/Blossom/resources/manager/detach.js.map +1 -0
- package/dist/nodes/Blossom/resources/manager/index.d.ts +2 -0
- package/dist/nodes/Blossom/resources/manager/index.js +49 -0
- package/dist/nodes/Blossom/resources/manager/index.js.map +1 -0
- package/dist/nodes/Blossom/resources/membership/importGroupsMembersCSV.d.ts +2 -0
- package/dist/nodes/Blossom/resources/membership/importGroupsMembersCSV.js +42 -0
- package/dist/nodes/Blossom/resources/membership/importGroupsMembersCSV.js.map +1 -0
- package/dist/nodes/Blossom/resources/membership/index.js +8 -0
- package/dist/nodes/Blossom/resources/membership/index.js.map +1 -1
- package/dist/nodes/Blossom/resources/performance/importAssignmentPerformancesCSV.d.ts +2 -0
- package/dist/nodes/Blossom/resources/performance/importAssignmentPerformancesCSV.js +32 -0
- package/dist/nodes/Blossom/resources/performance/importAssignmentPerformancesCSV.js.map +1 -0
- package/dist/nodes/Blossom/resources/performance/importGroupPerformancesCSV.d.ts +2 -0
- package/dist/nodes/Blossom/resources/performance/importGroupPerformancesCSV.js +32 -0
- package/dist/nodes/Blossom/resources/performance/importGroupPerformancesCSV.js.map +1 -0
- package/dist/nodes/Blossom/resources/performance/index.d.ts +2 -0
- package/dist/nodes/Blossom/resources/performance/index.js +45 -0
- package/dist/nodes/Blossom/resources/performance/index.js.map +1 -0
- package/dist/nodes/Blossom/resources/performance/uploadDiploma.d.ts +2 -0
- package/dist/nodes/Blossom/resources/performance/uploadDiploma.js +104 -0
- package/dist/nodes/Blossom/resources/performance/uploadDiploma.js.map +1 -0
- package/dist/nodes/Blossom/resources/supplier/delete.d.ts +2 -0
- package/dist/nodes/Blossom/resources/supplier/delete.js +32 -0
- package/dist/nodes/Blossom/resources/supplier/delete.js.map +1 -0
- package/dist/nodes/Blossom/resources/supplier/index.d.ts +2 -0
- package/dist/nodes/Blossom/resources/supplier/index.js +49 -0
- package/dist/nodes/Blossom/resources/supplier/index.js.map +1 -0
- package/dist/nodes/Blossom/resources/supplier/update.d.ts +2 -0
- package/dist/nodes/Blossom/resources/supplier/update.js +67 -0
- package/dist/nodes/Blossom/resources/supplier/update.js.map +1 -0
- package/dist/nodes/Blossom/resources/user/avatarSet.d.ts +2 -0
- package/dist/nodes/Blossom/resources/user/avatarSet.js +78 -0
- package/dist/nodes/Blossom/resources/user/avatarSet.js.map +1 -0
- package/dist/nodes/Blossom/resources/user/deleteUsersCSV.d.ts +2 -0
- package/dist/nodes/Blossom/resources/user/deleteUsersCSV.js +42 -0
- package/dist/nodes/Blossom/resources/user/deleteUsersCSV.js.map +1 -0
- package/dist/nodes/Blossom/resources/user/importUsersCSV.d.ts +2 -0
- package/dist/nodes/Blossom/resources/user/importUsersCSV.js +93 -0
- package/dist/nodes/Blossom/resources/user/importUsersCSV.js.map +1 -0
- package/dist/nodes/Blossom/resources/user/index.js +63 -11
- package/dist/nodes/Blossom/resources/user/index.js.map +1 -1
- package/dist/nodes/Blossom/resources/user/powerManager.d.ts +2 -0
- package/dist/nodes/Blossom/resources/user/powerManager.js +64 -0
- package/dist/nodes/Blossom/resources/user/powerManager.js.map +1 -0
- package/dist/nodes/Blossom/resources/user/userAuthorities.d.ts +2 -0
- package/dist/nodes/Blossom/resources/user/userAuthorities.js +101 -0
- package/dist/nodes/Blossom/resources/user/userAuthorities.js.map +1 -0
- package/dist/nodes/Blossom/resources/utility/index.d.ts +2 -0
- package/dist/nodes/Blossom/resources/utility/index.js +77 -0
- package/dist/nodes/Blossom/resources/utility/index.js.map +1 -0
- package/dist/nodes/Blossom/resources/utility/removeEmptyOrgUnits.d.ts +2 -0
- package/dist/nodes/Blossom/resources/utility/removeEmptyOrgUnits.js +21 -0
- package/dist/nodes/Blossom/resources/utility/removeEmptyOrgUnits.js.map +1 -0
- package/dist/nodes/Blossom/resources/utility/runAutoEnrollmentRules.d.ts +2 -0
- package/dist/nodes/Blossom/resources/utility/runAutoEnrollmentRules.js +20 -0
- package/dist/nodes/Blossom/resources/utility/runAutoEnrollmentRules.js.map +1 -0
- package/dist/nodes/Blossom/resources/utility/runScheduledImports.d.ts +2 -0
- package/dist/nodes/Blossom/resources/utility/runScheduledImports.js +20 -0
- package/dist/nodes/Blossom/resources/utility/runScheduledImports.js.map +1 -0
- package/dist/nodes/Blossom/resources/utility/test.d.ts +2 -0
- package/dist/nodes/Blossom/resources/utility/test.js +20 -0
- package/dist/nodes/Blossom/resources/utility/test.js.map +1 -0
- package/dist/nodes/Blossom/shared/errorHandling.d.ts +36 -0
- package/dist/nodes/Blossom/shared/errorHandling.js +102 -0
- package/dist/nodes/Blossom/shared/errorHandling.js.map +1 -0
- package/dist/nodes/Blossom/shared/fileUpload.d.ts +7 -0
- package/dist/nodes/Blossom/shared/fileUpload.js +114 -0
- package/dist/nodes/Blossom/shared/fileUpload.js.map +1 -0
- package/dist/nodes/Blossom/shared/transport.d.ts +2 -1
- package/dist/nodes/Blossom/shared/transport.js +22 -4
- package/dist/nodes/Blossom/shared/transport.js.map +1 -1
- package/dist/package.json +6 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -1
- package/dist/nodes/GithubIssues/GithubIssues.node.d.ts +0 -14
- package/dist/nodes/GithubIssues/GithubIssues.node.js +0 -101
- package/dist/nodes/GithubIssues/GithubIssues.node.js.map +0 -1
package/README.md
CHANGED
|
@@ -285,7 +285,7 @@ Errors are automatically converted to n8n error format with appropriate messages
|
|
|
285
285
|
|
|
286
286
|
```bash
|
|
287
287
|
# Clone the repository
|
|
288
|
-
git clone https://github.com/
|
|
288
|
+
git clone https://github.com/HirezRa/n8n-nodes-blossom.git
|
|
289
289
|
cd n8n-nodes-blossom
|
|
290
290
|
|
|
291
291
|
# Install dependencies
|
|
@@ -322,7 +322,7 @@ Contributions are welcome! Please feel free to submit a Pull Request.
|
|
|
322
322
|
## Support
|
|
323
323
|
|
|
324
324
|
For issues and questions:
|
|
325
|
-
- [GitHub Issues](https://github.com/
|
|
325
|
+
- [GitHub Issues](https://github.com/HirezRa/n8n-nodes-blossom/issues)
|
|
326
326
|
- [n8n Community Forum](https://community.n8n.io/)
|
|
327
327
|
|
|
328
328
|
## About Blossom
|
|
@@ -5,7 +5,7 @@ class BlossomApi {
|
|
|
5
5
|
constructor() {
|
|
6
6
|
this.name = 'blossomApi';
|
|
7
7
|
this.displayName = 'Blossom API';
|
|
8
|
-
this.icon =
|
|
8
|
+
this.icon = 'file:../nodes/Blossom/blossom.svg';
|
|
9
9
|
this.documentationUrl = 'https://docs.blossom-kc.com/api';
|
|
10
10
|
this.properties = [
|
|
11
11
|
{
|
|
@@ -13,7 +13,7 @@ class BlossomApi {
|
|
|
13
13
|
name: 'baseUrl',
|
|
14
14
|
type: 'string',
|
|
15
15
|
default: 'https://your-instance.blossom-kc.com',
|
|
16
|
-
description: 'Base URL of the Blossom API instance',
|
|
16
|
+
description: 'Base URL of the Blossom API instance (e.g., https://your-instance.blossom-kc.com). Do not include /WebServices/sync_2 in the URL.',
|
|
17
17
|
required: true,
|
|
18
18
|
},
|
|
19
19
|
{
|
|
@@ -47,7 +47,7 @@ class BlossomApi {
|
|
|
47
47
|
};
|
|
48
48
|
this.test = {
|
|
49
49
|
request: {
|
|
50
|
-
baseURL: '={{$credentials.baseUrl}}',
|
|
50
|
+
baseURL: '={{$credentials.baseUrl.endsWith("/WebServices/sync_2") ? $credentials.baseUrl.slice(0, -20) : $credentials.baseUrl.endsWith("/WebServices/sync_2/") ? $credentials.baseUrl.slice(0, -21) : $credentials.baseUrl}}',
|
|
51
51
|
url: '/WebServices/sync_2/Test',
|
|
52
52
|
method: 'GET',
|
|
53
53
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlossomApi.credentials.js","sourceRoot":"","sources":["../../credentials/BlossomApi.credentials.ts"],"names":[],"mappings":";;;AAQA,MAAa,UAAU;IAAvB;QACC,SAAI,GAAG,YAAY,CAAC;QAEpB,gBAAW,GAAG,aAAa,CAAC;QAE5B,SAAI,GAAS,
|
|
1
|
+
{"version":3,"file":"BlossomApi.credentials.js","sourceRoot":"","sources":["../../credentials/BlossomApi.credentials.ts"],"names":[],"mappings":";;;AAQA,MAAa,UAAU;IAAvB;QACC,SAAI,GAAG,YAAY,CAAC;QAEpB,gBAAW,GAAG,aAAa,CAAC;QAE5B,SAAI,GAAS,mCAAmC,CAAC;QAEjD,qBAAgB,GAAG,iCAAiC,CAAC;QAErD,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,sCAAsC;gBAC/C,WAAW,EAAE,mIAAmI;gBAChJ,QAAQ,EAAE,IAAI;aACd;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,uCAAuC;gBACpD,QAAQ,EAAE,IAAI;aACd;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,uCAAuC;gBACpD,QAAQ,EAAE,IAAI;aACd;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,IAAI,EAAE;oBACL,QAAQ,EAAE,4BAA4B;oBACtC,QAAQ,EAAE,4BAA4B;iBACtC;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,oNAAoN;gBAC7N,GAAG,EAAE,0BAA0B;gBAC/B,MAAM,EAAE,KAAK;aACb;SACD,CAAC;IACH,CAAC;CAAA;AAxDD,gCAwDC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { type INodeType, type INodeTypeDescription } from 'n8n-workflow';
|
|
1
|
+
import { type IExecuteFunctions, type INodeExecutionData, type INodeType, type INodeTypeDescription } from 'n8n-workflow';
|
|
2
2
|
export declare class Blossom implements INodeType {
|
|
3
3
|
description: INodeTypeDescription;
|
|
4
|
+
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
4
5
|
}
|
|
@@ -5,7 +5,13 @@ const n8n_workflow_1 = require("n8n-workflow");
|
|
|
5
5
|
const user_1 = require("./resources/user");
|
|
6
6
|
const group_1 = require("./resources/group");
|
|
7
7
|
const membership_1 = require("./resources/membership");
|
|
8
|
+
const manager_1 = require("./resources/manager");
|
|
9
|
+
const supplier_1 = require("./resources/supplier");
|
|
10
|
+
const utility_1 = require("./resources/utility");
|
|
11
|
+
const performance_1 = require("./resources/performance");
|
|
8
12
|
const data_1 = require("./resources/data");
|
|
13
|
+
const transport_1 = require("./shared/transport");
|
|
14
|
+
const fileUpload_1 = require("./shared/fileUpload");
|
|
9
15
|
class Blossom {
|
|
10
16
|
constructor() {
|
|
11
17
|
this.description = {
|
|
@@ -43,20 +49,36 @@ class Blossom {
|
|
|
43
49
|
noDataExpression: true,
|
|
44
50
|
options: [
|
|
45
51
|
{
|
|
46
|
-
name: '
|
|
47
|
-
value: '
|
|
52
|
+
name: 'Data',
|
|
53
|
+
value: 'data',
|
|
48
54
|
},
|
|
49
55
|
{
|
|
50
56
|
name: 'Group',
|
|
51
57
|
value: 'group',
|
|
52
58
|
},
|
|
59
|
+
{
|
|
60
|
+
name: 'Manager',
|
|
61
|
+
value: 'manager',
|
|
62
|
+
},
|
|
53
63
|
{
|
|
54
64
|
name: 'Membership',
|
|
55
65
|
value: 'membership',
|
|
56
66
|
},
|
|
57
67
|
{
|
|
58
|
-
name: '
|
|
59
|
-
value: '
|
|
68
|
+
name: 'Performance',
|
|
69
|
+
value: 'performance',
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: 'Supplier',
|
|
73
|
+
value: 'supplier',
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
name: 'User',
|
|
77
|
+
value: 'user',
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
name: 'Utility',
|
|
81
|
+
value: 'utility',
|
|
60
82
|
},
|
|
61
83
|
],
|
|
62
84
|
default: 'user',
|
|
@@ -64,10 +86,163 @@ class Blossom {
|
|
|
64
86
|
...user_1.userDescription,
|
|
65
87
|
...group_1.groupDescription,
|
|
66
88
|
...membership_1.membershipDescription,
|
|
89
|
+
...manager_1.managerDescription,
|
|
90
|
+
...supplier_1.supplierDescription,
|
|
91
|
+
...utility_1.utilityDescription,
|
|
92
|
+
...performance_1.performanceDescription,
|
|
67
93
|
...data_1.dataDescription,
|
|
68
94
|
],
|
|
69
95
|
};
|
|
70
96
|
}
|
|
97
|
+
async execute() {
|
|
98
|
+
const items = this.getInputData();
|
|
99
|
+
const returnData = [];
|
|
100
|
+
const resource = this.getNodeParameter('resource', 0);
|
|
101
|
+
const operation = this.getNodeParameter('operation', 0);
|
|
102
|
+
for (let i = 0; i < items.length; i++) {
|
|
103
|
+
try {
|
|
104
|
+
let responseData = {};
|
|
105
|
+
if (resource === 'user' && operation === 'importUsersCSV') {
|
|
106
|
+
const operationName = 'Import Users CSV';
|
|
107
|
+
const domain = this.getNodeParameter('domain', i);
|
|
108
|
+
const csvFile = this.getNodeParameter('csvFile', i);
|
|
109
|
+
const importOptions = this.getNodeParameter('importOptions', i, {});
|
|
110
|
+
const { fileBuffer, fileName, mimeType } = await fileUpload_1.extractBinaryFile.call(this, i, csvFile, 'users.csv', 'text/csv');
|
|
111
|
+
const csvContent = fileBuffer.toString('utf-8');
|
|
112
|
+
const firstLine = csvContent.split('\n')[0] || '';
|
|
113
|
+
const hasManagerOu = firstLine.includes('manager_ou') || firstLine.includes('ou_name');
|
|
114
|
+
const optionParts = [];
|
|
115
|
+
if (importOptions.keep_old_values !== false)
|
|
116
|
+
optionParts.push('keep_old_values=1');
|
|
117
|
+
if (importOptions.temp_password)
|
|
118
|
+
optionParts.push('temp_password=1');
|
|
119
|
+
if (importOptions.new_user_notification)
|
|
120
|
+
optionParts.push('new_user_notification=1');
|
|
121
|
+
if (importOptions.password_not_required)
|
|
122
|
+
optionParts.push('password_not_required=1');
|
|
123
|
+
if (importOptions.update_password)
|
|
124
|
+
optionParts.push('update_password=1');
|
|
125
|
+
if (importOptions.manager_ou || hasManagerOu)
|
|
126
|
+
optionParts.push('manager_ou=1');
|
|
127
|
+
if (importOptions.clean_ou)
|
|
128
|
+
optionParts.push('clean_ou=1');
|
|
129
|
+
const optionsPath = optionParts.length > 0 ? `/${optionParts.join('&')}` : '/keep_old_values=1';
|
|
130
|
+
const endpoint = `/WebServices/sync_2/ImportUsersCSV/${domain}${optionsPath}`;
|
|
131
|
+
responseData = await fileUpload_1.blossomFileUpload.call(this, endpoint, fileBuffer, fileName, mimeType, 'sheet_file', operationName);
|
|
132
|
+
}
|
|
133
|
+
else if (resource === 'user' && operation === 'deleteUsersCSV') {
|
|
134
|
+
const operationName = 'Delete Users CSV';
|
|
135
|
+
const domain = this.getNodeParameter('domain', i);
|
|
136
|
+
const csvFile = this.getNodeParameter('csvFile', i);
|
|
137
|
+
const { fileBuffer, fileName, mimeType } = await fileUpload_1.extractBinaryFile.call(this, i, csvFile, 'delete_users.csv', 'text/csv');
|
|
138
|
+
const endpoint = `/WebServices/sync_2/DeleteUsersCSV/${domain}`;
|
|
139
|
+
responseData = await fileUpload_1.blossomFileUpload.call(this, endpoint, fileBuffer, fileName, mimeType, 'sheet_file', operationName);
|
|
140
|
+
}
|
|
141
|
+
else if (resource === 'user' && operation === 'avatarSet') {
|
|
142
|
+
const operationName = 'Set Avatar';
|
|
143
|
+
const domain = this.getNodeParameter('domain', i);
|
|
144
|
+
const userIdentifierType = this.getNodeParameter('userIdentifierType', i);
|
|
145
|
+
const userIdentifierValue = this.getNodeParameter('userIdentifierValue', i);
|
|
146
|
+
const action = this.getNodeParameter('action', i);
|
|
147
|
+
const removeFlag = action === 'remove' ? '1' : '0';
|
|
148
|
+
if (action === 'upload') {
|
|
149
|
+
const binaryPropertyName = this.getNodeParameter('binaryPropertyName', i);
|
|
150
|
+
const { fileBuffer, fileName, mimeType } = await fileUpload_1.extractBinaryFile.call(this, i, binaryPropertyName, 'avatar.jpg', 'image/jpeg');
|
|
151
|
+
const endpoint = `/WebServices/sync_2/AvatarSet/${domain}/${userIdentifierType}=${userIdentifierValue}/${removeFlag}`;
|
|
152
|
+
responseData = await fileUpload_1.blossomFileUpload.call(this, endpoint, fileBuffer, fileName, mimeType, 'avatarfile', operationName);
|
|
153
|
+
}
|
|
154
|
+
else {
|
|
155
|
+
const endpoint = `/WebServices/sync_2/AvatarSet/${domain}/${userIdentifierType}=${userIdentifierValue}/1`;
|
|
156
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', endpoint, undefined, {}, {}, operationName);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
else if (resource === 'group' && operation === 'importGroupsCSV') {
|
|
160
|
+
const operationName = 'Import Groups CSV';
|
|
161
|
+
const domain = this.getNodeParameter('domain', i);
|
|
162
|
+
const csvFile = this.getNodeParameter('csvFile', i);
|
|
163
|
+
const importOptions = this.getNodeParameter('importOptions', i, {});
|
|
164
|
+
const { fileBuffer, fileName, mimeType } = await fileUpload_1.extractBinaryFile.call(this, i, csvFile, 'groups.csv', 'text/csv');
|
|
165
|
+
const optionParts = [];
|
|
166
|
+
if (importOptions.keep_old_values)
|
|
167
|
+
optionParts.push('keep_old_values=1');
|
|
168
|
+
if (importOptions.manager_type)
|
|
169
|
+
optionParts.push(`manager_type=${importOptions.manager_type}`);
|
|
170
|
+
if (importOptions.override_existing_permissions)
|
|
171
|
+
optionParts.push('override_existing_permissions=1');
|
|
172
|
+
if (importOptions.remove_existing_managers)
|
|
173
|
+
optionParts.push('remove_existing_managers=1');
|
|
174
|
+
if (importOptions.set_primary_manager)
|
|
175
|
+
optionParts.push('set_primary_manager=1');
|
|
176
|
+
const optionsPath = optionParts.length > 0 ? `/${optionParts.join('&')}` : '/keep_old_values=1';
|
|
177
|
+
const endpoint = `/WebServices/sync_2/ImportGroupsCSV/${domain}${optionsPath}`;
|
|
178
|
+
responseData = await fileUpload_1.blossomFileUpload.call(this, endpoint, fileBuffer, fileName, mimeType, 'sheet_file', operationName);
|
|
179
|
+
}
|
|
180
|
+
else if (resource === 'membership' && operation === 'importGroupsMembersCSV') {
|
|
181
|
+
const operationName = 'Import Groups Members CSV';
|
|
182
|
+
const domain = this.getNodeParameter('domain', i);
|
|
183
|
+
const csvFile = this.getNodeParameter('csvFile', i);
|
|
184
|
+
const { fileBuffer, fileName, mimeType } = await fileUpload_1.extractBinaryFile.call(this, i, csvFile, 'members.csv', 'text/csv');
|
|
185
|
+
const endpoint = `/WebServices/sync_2/ImportGroupsMembersCSV/${domain}`;
|
|
186
|
+
responseData = await fileUpload_1.blossomFileUpload.call(this, endpoint, fileBuffer, fileName, mimeType, 'sheet_file', operationName);
|
|
187
|
+
}
|
|
188
|
+
else if (resource === 'performance' && operation === 'importAssignmentPerformancesCSV') {
|
|
189
|
+
const operationName = 'Import Assignment Performances CSV';
|
|
190
|
+
const domain = this.getNodeParameter('domain', i);
|
|
191
|
+
const csvFile = this.getNodeParameter('csvFile', i);
|
|
192
|
+
const { fileBuffer, fileName, mimeType } = await fileUpload_1.extractBinaryFile.call(this, i, csvFile, 'performances.csv', 'text/csv');
|
|
193
|
+
const endpoint = `/WebServices/sync_2/ImportAssignmentPerformancesCSV/${domain}`;
|
|
194
|
+
responseData = await fileUpload_1.blossomFileUpload.call(this, endpoint, fileBuffer, fileName, mimeType, 'sheet_file', operationName);
|
|
195
|
+
}
|
|
196
|
+
else if (resource === 'performance' && operation === 'importGroupPerformancesCSV') {
|
|
197
|
+
const operationName = 'Import Group Performances CSV';
|
|
198
|
+
const domain = this.getNodeParameter('domain', i);
|
|
199
|
+
const csvFile = this.getNodeParameter('csvFile', i);
|
|
200
|
+
const { fileBuffer, fileName, mimeType } = await fileUpload_1.extractBinaryFile.call(this, i, csvFile, 'performances.csv', 'text/csv');
|
|
201
|
+
const endpoint = `/WebServices/sync_2/ImportGroupPerformancesCSV/${domain}`;
|
|
202
|
+
responseData = await fileUpload_1.blossomFileUpload.call(this, endpoint, fileBuffer, fileName, mimeType, 'sheet_file', operationName);
|
|
203
|
+
}
|
|
204
|
+
else if (resource === 'performance' && operation === 'uploadDiploma') {
|
|
205
|
+
const operationName = 'Upload Diploma';
|
|
206
|
+
const domain = this.getNodeParameter('domain', i);
|
|
207
|
+
const userIdentifierType = this.getNodeParameter('userIdentifierType', i);
|
|
208
|
+
const userIdentifierValue = this.getNodeParameter('userIdentifierValue', i);
|
|
209
|
+
const groupIdentifierType = this.getNodeParameter('groupIdentifierType', i);
|
|
210
|
+
const groupIdentifierValue = this.getNodeParameter('groupIdentifierValue', i);
|
|
211
|
+
const action = this.getNodeParameter('action', i);
|
|
212
|
+
const removeFlag = action === 'remove' ? '1' : '0';
|
|
213
|
+
if (action === 'upload') {
|
|
214
|
+
const binaryPropertyName = this.getNodeParameter('binaryPropertyName', i);
|
|
215
|
+
const { fileBuffer, fileName, mimeType } = await fileUpload_1.extractBinaryFile.call(this, i, binaryPropertyName, 'diploma.pdf', 'application/pdf');
|
|
216
|
+
const endpoint = `/WebServices/sync_2/UploadDiploma/${domain}/${userIdentifierType}=${userIdentifierValue}/${groupIdentifierType}=${groupIdentifierValue}/${removeFlag}`;
|
|
217
|
+
responseData = await fileUpload_1.blossomFileUpload.call(this, endpoint, fileBuffer, fileName, mimeType, 'diploma_file', operationName);
|
|
218
|
+
}
|
|
219
|
+
else {
|
|
220
|
+
const endpoint = `/WebServices/sync_2/UploadDiploma/${domain}/${userIdentifierType}=${userIdentifierValue}/${groupIdentifierType}=${groupIdentifierValue}/1`;
|
|
221
|
+
responseData = await transport_1.blossomApiRequest.call(this, 'POST', endpoint, undefined, {}, {}, operationName);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
else {
|
|
225
|
+
responseData = {};
|
|
226
|
+
}
|
|
227
|
+
returnData.push({
|
|
228
|
+
json: responseData,
|
|
229
|
+
pairedItem: { item: i },
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
catch (error) {
|
|
233
|
+
if (this.continueOnFail()) {
|
|
234
|
+
returnData.push({
|
|
235
|
+
json: { error: error.message },
|
|
236
|
+
pairedItem: { item: i },
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
else {
|
|
240
|
+
throw error;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
return [returnData];
|
|
245
|
+
}
|
|
71
246
|
}
|
|
72
247
|
exports.Blossom = Blossom;
|
|
73
248
|
//# sourceMappingURL=Blossom.node.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blossom.node.js","sourceRoot":"","sources":["../../../nodes/Blossom/Blossom.node.ts"],"names":[],"mappings":";;;AAAA,+
|
|
1
|
+
{"version":3,"file":"Blossom.node.js","sourceRoot":"","sources":["../../../nodes/Blossom/Blossom.node.ts"],"names":[],"mappings":";;;AAAA,+CAOsB;AACtB,2CAAmD;AACnD,6CAAqD;AACrD,uDAA+D;AAC/D,iDAAyD;AACzD,mDAA2D;AAC3D,iDAAyD;AACzD,yDAAiE;AACjE,2CAAmD;AACnD,kDAAuD;AACvD,oDAA2E;AAE3E,MAAa,OAAO;IAApB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,kBAAkB;YACxB,KAAK,EAAE,CAAC,WA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AC;IACrB,CAAC;CACD;AAjWD,0BAiWC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getMeetingsDescription = void 0;
|
|
4
|
+
const showOnlyForGetMeetings = {
|
|
5
|
+
operation: ['getMeetings'],
|
|
6
|
+
resource: ['data'],
|
|
7
|
+
};
|
|
8
|
+
exports.getMeetingsDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Domain',
|
|
11
|
+
name: 'domain',
|
|
12
|
+
type: 'number',
|
|
13
|
+
default: 1,
|
|
14
|
+
required: true,
|
|
15
|
+
displayOptions: {
|
|
16
|
+
show: showOnlyForGetMeetings,
|
|
17
|
+
},
|
|
18
|
+
description: 'Domain ID',
|
|
19
|
+
routing: {
|
|
20
|
+
send: {
|
|
21
|
+
type: 'body',
|
|
22
|
+
property: 'domain',
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
displayName: 'Start Date',
|
|
28
|
+
name: 'startDate',
|
|
29
|
+
type: 'dateTime',
|
|
30
|
+
default: '',
|
|
31
|
+
required: true,
|
|
32
|
+
displayOptions: {
|
|
33
|
+
show: showOnlyForGetMeetings,
|
|
34
|
+
},
|
|
35
|
+
description: 'Start date and time (ISO 8601 format)',
|
|
36
|
+
routing: {
|
|
37
|
+
send: {
|
|
38
|
+
type: 'body',
|
|
39
|
+
property: 'start_date',
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
displayName: 'End Date',
|
|
45
|
+
name: 'endDate',
|
|
46
|
+
type: 'dateTime',
|
|
47
|
+
default: '',
|
|
48
|
+
required: true,
|
|
49
|
+
displayOptions: {
|
|
50
|
+
show: showOnlyForGetMeetings,
|
|
51
|
+
},
|
|
52
|
+
description: 'End date and time (ISO 8601 format)',
|
|
53
|
+
routing: {
|
|
54
|
+
send: {
|
|
55
|
+
type: 'body',
|
|
56
|
+
property: 'end_date',
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
displayName: 'Filters',
|
|
62
|
+
name: 'filters',
|
|
63
|
+
type: 'collection',
|
|
64
|
+
placeholder: 'Add Filter',
|
|
65
|
+
default: {},
|
|
66
|
+
displayOptions: {
|
|
67
|
+
show: showOnlyForGetMeetings,
|
|
68
|
+
},
|
|
69
|
+
options: [
|
|
70
|
+
{
|
|
71
|
+
displayName: 'User Names',
|
|
72
|
+
name: 'user_name',
|
|
73
|
+
type: 'string',
|
|
74
|
+
typeOptions: {
|
|
75
|
+
multipleValues: true,
|
|
76
|
+
},
|
|
77
|
+
default: [],
|
|
78
|
+
description: 'Array of user names',
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
displayName: 'Group External IDs',
|
|
82
|
+
name: 'group_external_id',
|
|
83
|
+
type: 'string',
|
|
84
|
+
typeOptions: {
|
|
85
|
+
multipleValues: true,
|
|
86
|
+
},
|
|
87
|
+
default: [],
|
|
88
|
+
description: 'Array of group external IDs',
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
routing: {
|
|
92
|
+
send: {
|
|
93
|
+
type: 'body',
|
|
94
|
+
property: 'filters',
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
];
|
|
99
|
+
//# sourceMappingURL=getMeetings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMeetings.js","sourceRoot":"","sources":["../../../../../nodes/Blossom/resources/data/getMeetings.ts"],"names":[],"mappings":";;;AAEA,MAAM,sBAAsB,GAAG;IAC9B,SAAS,EAAE,CAAC,aAAa,CAAC;IAC1B,QAAQ,EAAE,CAAC,MAAM,CAAC;CAClB,CAAC;AAEW,QAAA,sBAAsB,GAAsB;IACxD;QACC,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,Q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;gBACjC,IAAI,EAAE,mBAAmB;gBACzB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,cAAc,EAAE,IAAI;iBACpB;gBACD,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,6BAA6B;aAC1C;SACD;QACD,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,SAAS;aACnB;SACD;KACD;CACD,CAAC"}
|
|
@@ -4,6 +4,8 @@ exports.dataDescription = void 0;
|
|
|
4
4
|
const userCompletion_1 = require("./userCompletion");
|
|
5
5
|
const membersStatus_1 = require("./membersStatus");
|
|
6
6
|
const groups_1 = require("./groups");
|
|
7
|
+
const setDueDate_1 = require("./setDueDate");
|
|
8
|
+
const getMeetings_1 = require("./getMeetings");
|
|
7
9
|
const showOnlyForData = {
|
|
8
10
|
resource: ['data'],
|
|
9
11
|
};
|
|
@@ -18,14 +20,26 @@ exports.dataDescription = [
|
|
|
18
20
|
},
|
|
19
21
|
options: [
|
|
20
22
|
{
|
|
21
|
-
name: 'Get
|
|
22
|
-
value: '
|
|
23
|
-
action: 'Get
|
|
24
|
-
description: 'Get
|
|
23
|
+
name: 'Get Groups',
|
|
24
|
+
value: 'getGroups',
|
|
25
|
+
action: 'Get list of groups',
|
|
26
|
+
description: 'Get list of groups/workspaces',
|
|
25
27
|
routing: {
|
|
26
28
|
request: {
|
|
27
29
|
method: 'POST',
|
|
28
|
-
url: '/WebServices/api_remote/
|
|
30
|
+
url: '/WebServices/api_remote/groups',
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'Get Meetings',
|
|
36
|
+
value: 'getMeetings',
|
|
37
|
+
action: 'Get meetings information',
|
|
38
|
+
description: 'Get meetings information for workspace(s) and/or user(s)',
|
|
39
|
+
routing: {
|
|
40
|
+
request: {
|
|
41
|
+
method: 'POST',
|
|
42
|
+
url: '/WebServices/api_remote/get_meetings',
|
|
29
43
|
},
|
|
30
44
|
},
|
|
31
45
|
},
|
|
@@ -42,14 +56,26 @@ exports.dataDescription = [
|
|
|
42
56
|
},
|
|
43
57
|
},
|
|
44
58
|
{
|
|
45
|
-
name: 'Get
|
|
46
|
-
value: '
|
|
47
|
-
action: 'Get
|
|
48
|
-
description: 'Get
|
|
59
|
+
name: 'Get User Completion',
|
|
60
|
+
value: 'getCompletion',
|
|
61
|
+
action: 'Get user completion status',
|
|
62
|
+
description: 'Get user completion status for qualifications, courses, and assignments',
|
|
49
63
|
routing: {
|
|
50
64
|
request: {
|
|
51
65
|
method: 'POST',
|
|
52
|
-
url: '/WebServices/api_remote/
|
|
66
|
+
url: '/WebServices/api_remote/user_completion',
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
name: 'Set Due Date',
|
|
72
|
+
value: 'setDueDate',
|
|
73
|
+
action: 'Set due date for user',
|
|
74
|
+
description: 'Set due date for a user in a workspace',
|
|
75
|
+
routing: {
|
|
76
|
+
request: {
|
|
77
|
+
method: 'POST',
|
|
78
|
+
url: '/WebServices/api_remote/set_due_date',
|
|
53
79
|
},
|
|
54
80
|
},
|
|
55
81
|
},
|
|
@@ -59,5 +85,7 @@ exports.dataDescription = [
|
|
|
59
85
|
...userCompletion_1.userCompletionDescription,
|
|
60
86
|
...membersStatus_1.membersStatusDescription,
|
|
61
87
|
...groups_1.groupsDescription,
|
|
88
|
+
...setDueDate_1.setDueDateDescription,
|
|
89
|
+
...getMeetings_1.getMeetingsDescription,
|
|
62
90
|
];
|
|
63
91
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Blossom/resources/data/index.ts"],"names":[],"mappings":";;;AACA,qDAA6D;AAC7D,mDAA2D;AAC3D,qCAA6C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Blossom/resources/data/index.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;aACD;YACD;gBACC,IAAI,EAAE,cAAc;gBACpB,KAAK,EAAE,YAAY;gBACnB,MAAM,EAAE,uBAAuB;gBAC/B,WAAW,EAAE,wCAAwC;gBACrD,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,sCAAsC;qBAC3C;iBACD;aACD;SACD;QACD,OAAO,EAAE,eAAe;KACxB;IACD,GAAG,0CAAyB;IAC5B,GAAG,wCAAwB;IAC3B,GAAG,0BAAiB;IACpB,GAAG,kCAAqB;IACxB,GAAG,oCAAsB;CACzB,CAAC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.setDueDateDescription = void 0;
|
|
4
|
+
const showOnlyForSetDueDate = {
|
|
5
|
+
operation: ['setDueDate'],
|
|
6
|
+
resource: ['data'],
|
|
7
|
+
};
|
|
8
|
+
exports.setDueDateDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Domain',
|
|
11
|
+
name: 'domain',
|
|
12
|
+
type: 'number',
|
|
13
|
+
default: 1,
|
|
14
|
+
required: true,
|
|
15
|
+
displayOptions: {
|
|
16
|
+
show: showOnlyForSetDueDate,
|
|
17
|
+
},
|
|
18
|
+
description: 'Domain ID',
|
|
19
|
+
routing: {
|
|
20
|
+
send: {
|
|
21
|
+
type: 'body',
|
|
22
|
+
property: 'domain',
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
displayName: 'Due Date',
|
|
28
|
+
name: 'dueDate',
|
|
29
|
+
type: 'string',
|
|
30
|
+
default: '',
|
|
31
|
+
required: true,
|
|
32
|
+
displayOptions: {
|
|
33
|
+
show: showOnlyForSetDueDate,
|
|
34
|
+
},
|
|
35
|
+
description: 'Date or relative: "-0hours" for immediate expiration',
|
|
36
|
+
placeholder: '2030-01-01 or -0hours',
|
|
37
|
+
routing: {
|
|
38
|
+
send: {
|
|
39
|
+
type: 'body',
|
|
40
|
+
property: 'due_date',
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
displayName: 'Group',
|
|
46
|
+
name: 'group',
|
|
47
|
+
type: 'collection',
|
|
48
|
+
placeholder: 'Add Group Identifier',
|
|
49
|
+
default: {},
|
|
50
|
+
required: true,
|
|
51
|
+
displayOptions: {
|
|
52
|
+
show: showOnlyForSetDueDate,
|
|
53
|
+
},
|
|
54
|
+
options: [
|
|
55
|
+
{
|
|
56
|
+
displayName: 'Group External ID',
|
|
57
|
+
name: 'group_external_id',
|
|
58
|
+
type: 'string',
|
|
59
|
+
default: '',
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
displayName: 'Group ID',
|
|
63
|
+
name: 'group_id',
|
|
64
|
+
type: 'string',
|
|
65
|
+
default: '',
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
routing: {
|
|
69
|
+
send: {
|
|
70
|
+
type: 'body',
|
|
71
|
+
property: 'group',
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
displayName: 'User',
|
|
77
|
+
name: 'user',
|
|
78
|
+
type: 'collection',
|
|
79
|
+
placeholder: 'Add User Identifier',
|
|
80
|
+
default: {},
|
|
81
|
+
required: true,
|
|
82
|
+
displayOptions: {
|
|
83
|
+
show: showOnlyForSetDueDate,
|
|
84
|
+
},
|
|
85
|
+
options: [
|
|
86
|
+
{
|
|
87
|
+
displayName: 'User External ID',
|
|
88
|
+
name: 'user_external_id',
|
|
89
|
+
type: 'string',
|
|
90
|
+
default: '',
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
displayName: 'User ID',
|
|
94
|
+
name: 'user_id',
|
|
95
|
+
type: 'string',
|
|
96
|
+
default: '',
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
displayName: 'User Name',
|
|
100
|
+
name: 'user_name',
|
|
101
|
+
type: 'string',
|
|
102
|
+
default: '',
|
|
103
|
+
},
|
|
104
|
+
],
|
|
105
|
+
routing: {
|
|
106
|
+
send: {
|
|
107
|
+
type: 'body',
|
|
108
|
+
property: 'user',
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
];
|
|
113
|
+
//# sourceMappingURL=setDueDate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setDueDate.js","sourceRoot":"","sources":["../../../../../nodes/Blossom/resources/data/setDueDate.ts"],"names":[],"mappings":";;;AAEA,MAAM,qBAAqB,GAAG;IAC7B,SAAS,EAAE,CAAC,YAAY,CAAC;IACzB,QAAQ,EAAE,CAAC,MAAM,CAAC;CAClB,CAAC;AAEW,QAAA,qBAAqB,GAAsB;IACvD;QACC,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,CAAC;QACV,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE,qBAAqB;SAC3B;QACD,WAAW,EAAE,WAAW;QACxB,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,QAAQ;aAClB;SACD;KACD;IACD;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE,qBAAqB;SAC3B;QACD,WAAW,EAAE,sDAAsD;QACnE,WAAW,EAAE,uBAAuB;QACpC,OAAO,EAAE;YACR,IAAI,EAAE;gBACL,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,UAAU;aACpB;SACD;KACD;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,sB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