@joshuanode/n8n-nodes-scalepad 0.0.3 → 0.0.5

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 (42) hide show
  1. package/README.md +41 -121
  2. package/dist/nodes/ScalePadCore/ScalePadCore.node.js +798 -53
  3. package/dist/nodes/ScalePadCore/descriptions/ActionItemDescription.d.ts +3 -0
  4. package/dist/nodes/ScalePadCore/descriptions/ActionItemDescription.js +306 -0
  5. package/dist/nodes/ScalePadCore/descriptions/AssessmentDescription.d.ts +3 -0
  6. package/dist/nodes/ScalePadCore/descriptions/AssessmentDescription.js +291 -0
  7. package/dist/nodes/ScalePadCore/descriptions/AssessmentTemplateDescription.d.ts +3 -0
  8. package/dist/nodes/ScalePadCore/descriptions/AssessmentTemplateDescription.js +59 -0
  9. package/dist/nodes/ScalePadCore/descriptions/ContractDescription.js +242 -21
  10. package/dist/nodes/ScalePadCore/descriptions/GoalDescription.d.ts +3 -0
  11. package/dist/nodes/ScalePadCore/descriptions/GoalDescription.js +468 -0
  12. package/dist/nodes/ScalePadCore/descriptions/HardwareLifecycleDescription.js +5 -66
  13. package/dist/nodes/ScalePadCore/descriptions/InitiativeDescription.d.ts +3 -0
  14. package/dist/nodes/ScalePadCore/descriptions/InitiativeDescription.js +565 -0
  15. package/dist/nodes/ScalePadCore/descriptions/LmContractDescription.d.ts +3 -0
  16. package/dist/nodes/ScalePadCore/descriptions/LmContractDescription.js +342 -0
  17. package/dist/nodes/ScalePadCore/descriptions/MeetingDescription.d.ts +3 -0
  18. package/dist/nodes/ScalePadCore/descriptions/MeetingDescription.js +501 -0
  19. package/dist/nodes/ScalePadCore/descriptions/NoteDescription.d.ts +3 -0
  20. package/dist/nodes/ScalePadCore/descriptions/NoteDescription.js +289 -0
  21. package/dist/nodes/ScalePadLifecycleManager/ScalePadLifecycleManager.node.d.ts +6 -0
  22. package/dist/nodes/ScalePadLifecycleManager/ScalePadLifecycleManager.node.js +837 -0
  23. package/dist/nodes/ScalePadLifecycleManager/descriptions/ActionItemDescription.d.ts +3 -0
  24. package/dist/nodes/ScalePadLifecycleManager/descriptions/ActionItemDescription.js +306 -0
  25. package/dist/nodes/ScalePadLifecycleManager/descriptions/AssessmentDescription.d.ts +3 -0
  26. package/dist/nodes/ScalePadLifecycleManager/descriptions/AssessmentDescription.js +291 -0
  27. package/dist/nodes/ScalePadLifecycleManager/descriptions/AssessmentTemplateDescription.d.ts +3 -0
  28. package/dist/nodes/ScalePadLifecycleManager/descriptions/AssessmentTemplateDescription.js +59 -0
  29. package/dist/nodes/ScalePadLifecycleManager/descriptions/ContractDescription.d.ts +3 -0
  30. package/dist/nodes/ScalePadLifecycleManager/descriptions/ContractDescription.js +342 -0
  31. package/dist/nodes/ScalePadLifecycleManager/descriptions/GoalDescription.d.ts +3 -0
  32. package/dist/nodes/ScalePadLifecycleManager/descriptions/GoalDescription.js +468 -0
  33. package/dist/nodes/ScalePadLifecycleManager/descriptions/HardwareLifecycleDescription.d.ts +3 -0
  34. package/dist/nodes/ScalePadLifecycleManager/descriptions/HardwareLifecycleDescription.js +81 -0
  35. package/dist/nodes/ScalePadLifecycleManager/descriptions/InitiativeDescription.d.ts +3 -0
  36. package/dist/nodes/ScalePadLifecycleManager/descriptions/InitiativeDescription.js +565 -0
  37. package/dist/nodes/ScalePadLifecycleManager/descriptions/MeetingDescription.d.ts +3 -0
  38. package/dist/nodes/ScalePadLifecycleManager/descriptions/MeetingDescription.js +501 -0
  39. package/dist/nodes/ScalePadLifecycleManager/descriptions/NoteDescription.d.ts +3 -0
  40. package/dist/nodes/ScalePadLifecycleManager/descriptions/NoteDescription.js +289 -0
  41. package/dist/nodes/ScalePadLifecycleManager/scalepad.svg +17 -0
  42. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const actionItemOperations: INodeProperties[];
3
+ export declare const actionItemFields: INodeProperties[];
@@ -0,0 +1,306 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.actionItemFields = exports.actionItemOperations = void 0;
4
+ exports.actionItemOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: ['actionItem'],
13
+ },
14
+ },
15
+ options: [
16
+ {
17
+ name: 'Create',
18
+ value: 'create',
19
+ description: 'Create a new action item',
20
+ action: 'Create an action item',
21
+ },
22
+ {
23
+ name: 'Delete',
24
+ value: 'delete',
25
+ description: 'Delete an action item',
26
+ action: 'Delete an action item',
27
+ },
28
+ {
29
+ name: 'Get',
30
+ value: 'get',
31
+ description: 'Get an action item by ID',
32
+ action: 'Get an action item',
33
+ },
34
+ {
35
+ name: 'Get Many',
36
+ value: 'getAll',
37
+ description: 'Get many action items',
38
+ action: 'Get many action items',
39
+ },
40
+ {
41
+ name: 'Update',
42
+ value: 'update',
43
+ description: 'Update an action item',
44
+ action: 'Update an action item',
45
+ },
46
+ {
47
+ name: 'Toggle Completion',
48
+ value: 'toggleCompletion',
49
+ description: 'Toggle action item completion status',
50
+ action: 'Toggle action item completion',
51
+ },
52
+ ],
53
+ default: 'getAll',
54
+ },
55
+ ];
56
+ exports.actionItemFields = [
57
+ // Action Item ID for get/update/delete operations
58
+ {
59
+ displayName: 'Action Item ID',
60
+ name: 'actionItemId',
61
+ type: 'string',
62
+ required: true,
63
+ displayOptions: {
64
+ show: {
65
+ resource: ['actionItem'],
66
+ operation: ['get', 'update', 'delete', 'toggleCompletion'],
67
+ },
68
+ },
69
+ default: '',
70
+ description: 'The ID of the action item',
71
+ },
72
+ // Create operation fields
73
+ {
74
+ displayName: 'Client ID',
75
+ name: 'clientId',
76
+ type: 'string',
77
+ required: true,
78
+ displayOptions: {
79
+ show: {
80
+ resource: ['actionItem'],
81
+ operation: ['create'],
82
+ },
83
+ },
84
+ default: '',
85
+ description: 'The ID of the client for this action item',
86
+ },
87
+ {
88
+ displayName: 'Title',
89
+ name: 'title',
90
+ type: 'string',
91
+ required: true,
92
+ displayOptions: {
93
+ show: {
94
+ resource: ['actionItem'],
95
+ operation: ['create'],
96
+ },
97
+ },
98
+ default: '',
99
+ description: 'The title of the action item',
100
+ },
101
+ {
102
+ displayName: 'Additional Fields',
103
+ name: 'additionalFields',
104
+ type: 'collection',
105
+ placeholder: 'Add Field',
106
+ default: {},
107
+ displayOptions: {
108
+ show: {
109
+ resource: ['actionItem'],
110
+ operation: ['create'],
111
+ },
112
+ },
113
+ options: [
114
+ {
115
+ displayName: 'Description',
116
+ name: 'description',
117
+ type: 'string',
118
+ typeOptions: {
119
+ rows: 4,
120
+ },
121
+ default: '',
122
+ description: 'Description of the action item',
123
+ },
124
+ {
125
+ displayName: 'Assignee ID',
126
+ name: 'assignee_id',
127
+ type: 'string',
128
+ default: '',
129
+ description: 'User ID of the person assigned to this action item',
130
+ },
131
+ {
132
+ displayName: 'Due Date',
133
+ name: 'due_date',
134
+ type: 'dateTime',
135
+ default: '',
136
+ description: 'Due date for the action item',
137
+ },
138
+ {
139
+ displayName: 'Priority',
140
+ name: 'priority',
141
+ type: 'options',
142
+ options: [
143
+ { name: 'Low', value: 'low' },
144
+ { name: 'Medium', value: 'medium' },
145
+ { name: 'High', value: 'high' },
146
+ ],
147
+ default: 'medium',
148
+ description: 'Priority level of the action item',
149
+ },
150
+ ],
151
+ },
152
+ // Update operation fields
153
+ {
154
+ displayName: 'Update Fields',
155
+ name: 'updateFields',
156
+ type: 'collection',
157
+ placeholder: 'Add Field',
158
+ default: {},
159
+ displayOptions: {
160
+ show: {
161
+ resource: ['actionItem'],
162
+ operation: ['update'],
163
+ },
164
+ },
165
+ options: [
166
+ {
167
+ displayName: 'Title',
168
+ name: 'title',
169
+ type: 'string',
170
+ default: '',
171
+ description: 'The title of the action item',
172
+ },
173
+ {
174
+ displayName: 'Description',
175
+ name: 'description',
176
+ type: 'string',
177
+ typeOptions: {
178
+ rows: 4,
179
+ },
180
+ default: '',
181
+ description: 'Description of the action item',
182
+ },
183
+ {
184
+ displayName: 'Assignee ID',
185
+ name: 'assignee_id',
186
+ type: 'string',
187
+ default: '',
188
+ description: 'User ID of the person assigned to this action item',
189
+ },
190
+ {
191
+ displayName: 'Due Date',
192
+ name: 'due_date',
193
+ type: 'dateTime',
194
+ default: '',
195
+ description: 'Due date for the action item',
196
+ },
197
+ {
198
+ displayName: 'Priority',
199
+ name: 'priority',
200
+ type: 'options',
201
+ options: [
202
+ { name: 'Low', value: 'low' },
203
+ { name: 'Medium', value: 'medium' },
204
+ { name: 'High', value: 'high' },
205
+ ],
206
+ default: 'medium',
207
+ description: 'Priority level of the action item',
208
+ },
209
+ ],
210
+ },
211
+ // Toggle completion
212
+ {
213
+ displayName: 'Is Completed',
214
+ name: 'isCompleted',
215
+ type: 'boolean',
216
+ required: true,
217
+ displayOptions: {
218
+ show: {
219
+ resource: ['actionItem'],
220
+ operation: ['toggleCompletion'],
221
+ },
222
+ },
223
+ default: false,
224
+ description: 'Whether the action item is marked as completed',
225
+ },
226
+ // Get Many operation
227
+ {
228
+ displayName: 'Return All',
229
+ name: 'returnAll',
230
+ type: 'boolean',
231
+ displayOptions: {
232
+ show: {
233
+ resource: ['actionItem'],
234
+ operation: ['getAll'],
235
+ },
236
+ },
237
+ default: false,
238
+ description: 'Whether to return all results or only up to a given limit',
239
+ },
240
+ {
241
+ displayName: 'Limit',
242
+ name: 'limit',
243
+ type: 'number',
244
+ displayOptions: {
245
+ show: {
246
+ resource: ['actionItem'],
247
+ operation: ['getAll'],
248
+ returnAll: [false],
249
+ },
250
+ },
251
+ typeOptions: {
252
+ minValue: 1,
253
+ maxValue: 200,
254
+ },
255
+ default: 50,
256
+ description: 'Max number of results to return',
257
+ },
258
+ {
259
+ displayName: 'Filters',
260
+ name: 'filters',
261
+ type: 'collection',
262
+ placeholder: 'Add Filter',
263
+ default: {},
264
+ displayOptions: {
265
+ show: {
266
+ resource: ['actionItem'],
267
+ operation: ['getAll'],
268
+ },
269
+ },
270
+ options: [
271
+ {
272
+ displayName: 'Client ID',
273
+ name: 'clientId',
274
+ type: 'string',
275
+ default: '',
276
+ description: 'Filter by client ID',
277
+ },
278
+ {
279
+ displayName: 'Assignee ID',
280
+ name: 'assigneeId',
281
+ type: 'string',
282
+ default: '',
283
+ description: 'Filter by assignee user ID',
284
+ },
285
+ {
286
+ displayName: 'Is Completed',
287
+ name: 'isCompleted',
288
+ type: 'boolean',
289
+ default: false,
290
+ description: 'Filter by completion status',
291
+ },
292
+ {
293
+ displayName: 'Priority',
294
+ name: 'priority',
295
+ type: 'options',
296
+ options: [
297
+ { name: 'Low', value: 'low' },
298
+ { name: 'Medium', value: 'medium' },
299
+ { name: 'High', value: 'high' },
300
+ ],
301
+ default: 'medium',
302
+ description: 'Filter by priority',
303
+ },
304
+ ],
305
+ },
306
+ ];
@@ -0,0 +1,3 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const assessmentOperations: INodeProperties[];
3
+ export declare const assessmentFields: INodeProperties[];
@@ -0,0 +1,291 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.assessmentFields = exports.assessmentOperations = void 0;
4
+ exports.assessmentOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: ['assessment'],
13
+ },
14
+ },
15
+ options: [
16
+ {
17
+ name: 'Create',
18
+ value: 'create',
19
+ description: 'Create a new assessment',
20
+ action: 'Create an assessment',
21
+ },
22
+ {
23
+ name: 'Delete',
24
+ value: 'delete',
25
+ description: 'Delete an assessment',
26
+ action: 'Delete an assessment',
27
+ },
28
+ {
29
+ name: 'Get',
30
+ value: 'get',
31
+ description: 'Get an assessment by ID',
32
+ action: 'Get an assessment',
33
+ },
34
+ {
35
+ name: 'Get Many',
36
+ value: 'getAll',
37
+ description: 'Get many assessments',
38
+ action: 'Get many assessments',
39
+ },
40
+ {
41
+ name: 'Update',
42
+ value: 'update',
43
+ description: 'Update an assessment',
44
+ action: 'Update an assessment',
45
+ },
46
+ {
47
+ name: 'Update Completion Status',
48
+ value: 'updateCompletionStatus',
49
+ description: 'Mark assessment as completed or incomplete',
50
+ action: 'Update assessment completion status',
51
+ },
52
+ {
53
+ name: 'Evaluate',
54
+ value: 'evaluate',
55
+ description: 'Evaluate an assessment',
56
+ action: 'Evaluate an assessment',
57
+ },
58
+ ],
59
+ default: 'getAll',
60
+ },
61
+ ];
62
+ exports.assessmentFields = [
63
+ // Assessment ID for get/update/delete operations
64
+ {
65
+ displayName: 'Assessment ID',
66
+ name: 'assessmentId',
67
+ type: 'string',
68
+ required: true,
69
+ displayOptions: {
70
+ show: {
71
+ resource: ['assessment'],
72
+ operation: ['get', 'update', 'delete', 'updateCompletionStatus', 'evaluate'],
73
+ },
74
+ },
75
+ default: '',
76
+ description: 'The ID of the assessment',
77
+ },
78
+ // Create operation fields
79
+ {
80
+ displayName: 'Client ID',
81
+ name: 'clientId',
82
+ type: 'string',
83
+ required: true,
84
+ displayOptions: {
85
+ show: {
86
+ resource: ['assessment'],
87
+ operation: ['create'],
88
+ },
89
+ },
90
+ default: '',
91
+ description: 'The ID of the client for this assessment',
92
+ },
93
+ {
94
+ displayName: 'Template ID',
95
+ name: 'templateId',
96
+ type: 'string',
97
+ required: true,
98
+ displayOptions: {
99
+ show: {
100
+ resource: ['assessment'],
101
+ operation: ['create'],
102
+ },
103
+ },
104
+ default: '',
105
+ description: 'The ID of the assessment template to use',
106
+ },
107
+ {
108
+ displayName: 'Title',
109
+ name: 'title',
110
+ type: 'string',
111
+ required: true,
112
+ displayOptions: {
113
+ show: {
114
+ resource: ['assessment'],
115
+ operation: ['create'],
116
+ },
117
+ },
118
+ default: '',
119
+ description: 'The title of the assessment',
120
+ },
121
+ {
122
+ displayName: 'Additional Fields',
123
+ name: 'additionalFields',
124
+ type: 'collection',
125
+ placeholder: 'Add Field',
126
+ default: {},
127
+ displayOptions: {
128
+ show: {
129
+ resource: ['assessment'],
130
+ operation: ['create'],
131
+ },
132
+ },
133
+ options: [
134
+ {
135
+ displayName: 'Description',
136
+ name: 'description',
137
+ type: 'string',
138
+ typeOptions: {
139
+ rows: 4,
140
+ },
141
+ default: '',
142
+ description: 'Description of the assessment',
143
+ },
144
+ {
145
+ displayName: 'Scheduled Date',
146
+ name: 'scheduled_date',
147
+ type: 'dateTime',
148
+ default: '',
149
+ description: 'Scheduled date for the assessment',
150
+ },
151
+ ],
152
+ },
153
+ // Update operation fields
154
+ {
155
+ displayName: 'Update Fields',
156
+ name: 'updateFields',
157
+ type: 'collection',
158
+ placeholder: 'Add Field',
159
+ default: {},
160
+ displayOptions: {
161
+ show: {
162
+ resource: ['assessment'],
163
+ operation: ['update'],
164
+ },
165
+ },
166
+ options: [
167
+ {
168
+ displayName: 'Title',
169
+ name: 'title',
170
+ type: 'string',
171
+ default: '',
172
+ description: 'The title of the assessment',
173
+ },
174
+ {
175
+ displayName: 'Description',
176
+ name: 'description',
177
+ type: 'string',
178
+ typeOptions: {
179
+ rows: 4,
180
+ },
181
+ default: '',
182
+ description: 'Description of the assessment',
183
+ },
184
+ {
185
+ displayName: 'Scheduled Date',
186
+ name: 'scheduled_date',
187
+ type: 'dateTime',
188
+ default: '',
189
+ description: 'Scheduled date for the assessment',
190
+ },
191
+ ],
192
+ },
193
+ // Completion status
194
+ {
195
+ displayName: 'Is Completed',
196
+ name: 'isCompleted',
197
+ type: 'boolean',
198
+ required: true,
199
+ displayOptions: {
200
+ show: {
201
+ resource: ['assessment'],
202
+ operation: ['updateCompletionStatus'],
203
+ },
204
+ },
205
+ default: false,
206
+ description: 'Whether the assessment is marked as completed',
207
+ },
208
+ // Evaluate - scores/responses
209
+ {
210
+ displayName: 'Evaluation Data',
211
+ name: 'evaluationData',
212
+ type: 'json',
213
+ required: true,
214
+ displayOptions: {
215
+ show: {
216
+ resource: ['assessment'],
217
+ operation: ['evaluate'],
218
+ },
219
+ },
220
+ default: '{}',
221
+ description: 'JSON object containing the evaluation scores and responses',
222
+ },
223
+ // Get Many operation
224
+ {
225
+ displayName: 'Return All',
226
+ name: 'returnAll',
227
+ type: 'boolean',
228
+ displayOptions: {
229
+ show: {
230
+ resource: ['assessment'],
231
+ operation: ['getAll'],
232
+ },
233
+ },
234
+ default: false,
235
+ description: 'Whether to return all results or only up to a given limit',
236
+ },
237
+ {
238
+ displayName: 'Limit',
239
+ name: 'limit',
240
+ type: 'number',
241
+ displayOptions: {
242
+ show: {
243
+ resource: ['assessment'],
244
+ operation: ['getAll'],
245
+ returnAll: [false],
246
+ },
247
+ },
248
+ typeOptions: {
249
+ minValue: 1,
250
+ maxValue: 200,
251
+ },
252
+ default: 50,
253
+ description: 'Max number of results to return',
254
+ },
255
+ {
256
+ displayName: 'Filters',
257
+ name: 'filters',
258
+ type: 'collection',
259
+ placeholder: 'Add Filter',
260
+ default: {},
261
+ displayOptions: {
262
+ show: {
263
+ resource: ['assessment'],
264
+ operation: ['getAll'],
265
+ },
266
+ },
267
+ options: [
268
+ {
269
+ displayName: 'Client ID',
270
+ name: 'clientId',
271
+ type: 'string',
272
+ default: '',
273
+ description: 'Filter by client ID',
274
+ },
275
+ {
276
+ displayName: 'Template ID',
277
+ name: 'templateId',
278
+ type: 'string',
279
+ default: '',
280
+ description: 'Filter by template ID',
281
+ },
282
+ {
283
+ displayName: 'Is Completed',
284
+ name: 'isCompleted',
285
+ type: 'boolean',
286
+ default: false,
287
+ description: 'Filter by completion status',
288
+ },
289
+ ],
290
+ },
291
+ ];
@@ -0,0 +1,3 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const assessmentTemplateOperations: INodeProperties[];
3
+ export declare const assessmentTemplateFields: INodeProperties[];
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.assessmentTemplateFields = exports.assessmentTemplateOperations = void 0;
4
+ exports.assessmentTemplateOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: ['assessmentTemplate'],
13
+ },
14
+ },
15
+ options: [
16
+ {
17
+ name: 'Get Many',
18
+ value: 'getAll',
19
+ description: 'Get available assessment templates',
20
+ action: 'Get many assessment templates',
21
+ },
22
+ ],
23
+ default: 'getAll',
24
+ },
25
+ ];
26
+ exports.assessmentTemplateFields = [
27
+ // Get Many operation
28
+ {
29
+ displayName: 'Return All',
30
+ name: 'returnAll',
31
+ type: 'boolean',
32
+ displayOptions: {
33
+ show: {
34
+ resource: ['assessmentTemplate'],
35
+ operation: ['getAll'],
36
+ },
37
+ },
38
+ default: false,
39
+ description: 'Whether to return all results or only up to a given limit',
40
+ },
41
+ {
42
+ displayName: 'Limit',
43
+ name: 'limit',
44
+ type: 'number',
45
+ displayOptions: {
46
+ show: {
47
+ resource: ['assessmentTemplate'],
48
+ operation: ['getAll'],
49
+ returnAll: [false],
50
+ },
51
+ },
52
+ typeOptions: {
53
+ minValue: 1,
54
+ maxValue: 200,
55
+ },
56
+ default: 50,
57
+ description: 'Max number of results to return',
58
+ },
59
+ ];