@joshuanode/n8n-nodes-scalepad 0.0.4 → 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 (43) hide show
  1. package/README.md +41 -121
  2. package/dist/nodes/ScalePadCore/ScalePadCore.node.js +798 -11
  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.d.ts +3 -0
  13. package/dist/nodes/ScalePadCore/descriptions/HardwareLifecycleDescription.js +81 -0
  14. package/dist/nodes/ScalePadCore/descriptions/InitiativeDescription.d.ts +3 -0
  15. package/dist/nodes/ScalePadCore/descriptions/InitiativeDescription.js +565 -0
  16. package/dist/nodes/ScalePadCore/descriptions/LmContractDescription.d.ts +3 -0
  17. package/dist/nodes/ScalePadCore/descriptions/LmContractDescription.js +342 -0
  18. package/dist/nodes/ScalePadCore/descriptions/MeetingDescription.d.ts +3 -0
  19. package/dist/nodes/ScalePadCore/descriptions/MeetingDescription.js +501 -0
  20. package/dist/nodes/ScalePadCore/descriptions/NoteDescription.d.ts +3 -0
  21. package/dist/nodes/ScalePadCore/descriptions/NoteDescription.js +289 -0
  22. package/dist/nodes/ScalePadLifecycleManager/ScalePadLifecycleManager.node.d.ts +6 -0
  23. package/dist/nodes/ScalePadLifecycleManager/ScalePadLifecycleManager.node.js +837 -0
  24. package/dist/nodes/ScalePadLifecycleManager/descriptions/ActionItemDescription.d.ts +3 -0
  25. package/dist/nodes/ScalePadLifecycleManager/descriptions/ActionItemDescription.js +306 -0
  26. package/dist/nodes/ScalePadLifecycleManager/descriptions/AssessmentDescription.d.ts +3 -0
  27. package/dist/nodes/ScalePadLifecycleManager/descriptions/AssessmentDescription.js +291 -0
  28. package/dist/nodes/ScalePadLifecycleManager/descriptions/AssessmentTemplateDescription.d.ts +3 -0
  29. package/dist/nodes/ScalePadLifecycleManager/descriptions/AssessmentTemplateDescription.js +59 -0
  30. package/dist/nodes/ScalePadLifecycleManager/descriptions/ContractDescription.d.ts +3 -0
  31. package/dist/nodes/ScalePadLifecycleManager/descriptions/ContractDescription.js +342 -0
  32. package/dist/nodes/ScalePadLifecycleManager/descriptions/GoalDescription.d.ts +3 -0
  33. package/dist/nodes/ScalePadLifecycleManager/descriptions/GoalDescription.js +468 -0
  34. package/dist/nodes/ScalePadLifecycleManager/descriptions/HardwareLifecycleDescription.d.ts +3 -0
  35. package/dist/nodes/ScalePadLifecycleManager/descriptions/HardwareLifecycleDescription.js +81 -0
  36. package/dist/nodes/ScalePadLifecycleManager/descriptions/InitiativeDescription.d.ts +3 -0
  37. package/dist/nodes/ScalePadLifecycleManager/descriptions/InitiativeDescription.js +565 -0
  38. package/dist/nodes/ScalePadLifecycleManager/descriptions/MeetingDescription.d.ts +3 -0
  39. package/dist/nodes/ScalePadLifecycleManager/descriptions/MeetingDescription.js +501 -0
  40. package/dist/nodes/ScalePadLifecycleManager/descriptions/NoteDescription.d.ts +3 -0
  41. package/dist/nodes/ScalePadLifecycleManager/descriptions/NoteDescription.js +289 -0
  42. package/dist/nodes/ScalePadLifecycleManager/scalepad.svg +17 -0
  43. package/package.json +1 -1
@@ -0,0 +1,289 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.noteFields = exports.noteOperations = void 0;
4
+ exports.noteOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: ['note'],
13
+ },
14
+ },
15
+ options: [
16
+ {
17
+ name: 'Create',
18
+ value: 'create',
19
+ description: 'Create a new note',
20
+ action: 'Create a note',
21
+ },
22
+ {
23
+ name: 'Get',
24
+ value: 'get',
25
+ description: 'Get a note by ID',
26
+ action: 'Get a note',
27
+ },
28
+ {
29
+ name: 'Get Many',
30
+ value: 'getAll',
31
+ description: 'Get many notes',
32
+ action: 'Get many notes',
33
+ },
34
+ {
35
+ name: 'Update',
36
+ value: 'update',
37
+ description: 'Update a note',
38
+ action: 'Update a note',
39
+ },
40
+ {
41
+ name: 'Toggle Archive Status',
42
+ value: 'toggleArchiveStatus',
43
+ description: 'Archive or unarchive a note',
44
+ action: 'Toggle note archive status',
45
+ },
46
+ ],
47
+ default: 'getAll',
48
+ },
49
+ ];
50
+ exports.noteFields = [
51
+ // Note ID for get/update operations
52
+ {
53
+ displayName: 'Note ID',
54
+ name: 'noteId',
55
+ type: 'string',
56
+ required: true,
57
+ displayOptions: {
58
+ show: {
59
+ resource: ['note'],
60
+ operation: ['get', 'update', 'toggleArchiveStatus'],
61
+ },
62
+ },
63
+ default: '',
64
+ description: 'The ID of the note',
65
+ },
66
+ // Create operation fields
67
+ {
68
+ displayName: 'Client ID',
69
+ name: 'clientId',
70
+ type: 'string',
71
+ required: true,
72
+ displayOptions: {
73
+ show: {
74
+ resource: ['note'],
75
+ operation: ['create'],
76
+ },
77
+ },
78
+ default: '',
79
+ description: 'The ID of the client for this note',
80
+ },
81
+ {
82
+ displayName: 'Title',
83
+ name: 'title',
84
+ type: 'string',
85
+ required: true,
86
+ displayOptions: {
87
+ show: {
88
+ resource: ['note'],
89
+ operation: ['create'],
90
+ },
91
+ },
92
+ default: '',
93
+ description: 'The title of the note',
94
+ },
95
+ {
96
+ displayName: 'Content',
97
+ name: 'content',
98
+ type: 'string',
99
+ required: true,
100
+ typeOptions: {
101
+ rows: 6,
102
+ },
103
+ displayOptions: {
104
+ show: {
105
+ resource: ['note'],
106
+ operation: ['create'],
107
+ },
108
+ },
109
+ default: '',
110
+ description: 'The content of the note',
111
+ },
112
+ {
113
+ displayName: 'Additional Fields',
114
+ name: 'additionalFields',
115
+ type: 'collection',
116
+ placeholder: 'Add Field',
117
+ default: {},
118
+ displayOptions: {
119
+ show: {
120
+ resource: ['note'],
121
+ operation: ['create'],
122
+ },
123
+ },
124
+ options: [
125
+ {
126
+ displayName: 'Note Type',
127
+ name: 'note_type',
128
+ type: 'options',
129
+ options: [
130
+ { name: 'General', value: 'general' },
131
+ { name: 'Meeting', value: 'meeting' },
132
+ { name: 'Follow-up', value: 'follow_up' },
133
+ { name: 'Technical', value: 'technical' },
134
+ ],
135
+ default: 'general',
136
+ description: 'Type of note',
137
+ },
138
+ {
139
+ displayName: 'Is Pinned',
140
+ name: 'is_pinned',
141
+ type: 'boolean',
142
+ default: false,
143
+ description: 'Whether the note is pinned',
144
+ },
145
+ ],
146
+ },
147
+ // Update operation fields
148
+ {
149
+ displayName: 'Update Fields',
150
+ name: 'updateFields',
151
+ type: 'collection',
152
+ placeholder: 'Add Field',
153
+ default: {},
154
+ displayOptions: {
155
+ show: {
156
+ resource: ['note'],
157
+ operation: ['update'],
158
+ },
159
+ },
160
+ options: [
161
+ {
162
+ displayName: 'Title',
163
+ name: 'title',
164
+ type: 'string',
165
+ default: '',
166
+ description: 'The title of the note',
167
+ },
168
+ {
169
+ displayName: 'Content',
170
+ name: 'content',
171
+ type: 'string',
172
+ typeOptions: {
173
+ rows: 6,
174
+ },
175
+ default: '',
176
+ description: 'The content of the note',
177
+ },
178
+ {
179
+ displayName: 'Note Type',
180
+ name: 'note_type',
181
+ type: 'options',
182
+ options: [
183
+ { name: 'General', value: 'general' },
184
+ { name: 'Meeting', value: 'meeting' },
185
+ { name: 'Follow-up', value: 'follow_up' },
186
+ { name: 'Technical', value: 'technical' },
187
+ ],
188
+ default: 'general',
189
+ description: 'Type of note',
190
+ },
191
+ {
192
+ displayName: 'Is Pinned',
193
+ name: 'is_pinned',
194
+ type: 'boolean',
195
+ default: false,
196
+ description: 'Whether the note is pinned',
197
+ },
198
+ ],
199
+ },
200
+ // Archive status
201
+ {
202
+ displayName: 'Is Archived',
203
+ name: 'isArchived',
204
+ type: 'boolean',
205
+ required: true,
206
+ displayOptions: {
207
+ show: {
208
+ resource: ['note'],
209
+ operation: ['toggleArchiveStatus'],
210
+ },
211
+ },
212
+ default: false,
213
+ description: 'Whether the note should be archived',
214
+ },
215
+ // Get Many operation
216
+ {
217
+ displayName: 'Return All',
218
+ name: 'returnAll',
219
+ type: 'boolean',
220
+ displayOptions: {
221
+ show: {
222
+ resource: ['note'],
223
+ operation: ['getAll'],
224
+ },
225
+ },
226
+ default: false,
227
+ description: 'Whether to return all results or only up to a given limit',
228
+ },
229
+ {
230
+ displayName: 'Limit',
231
+ name: 'limit',
232
+ type: 'number',
233
+ displayOptions: {
234
+ show: {
235
+ resource: ['note'],
236
+ operation: ['getAll'],
237
+ returnAll: [false],
238
+ },
239
+ },
240
+ typeOptions: {
241
+ minValue: 1,
242
+ maxValue: 200,
243
+ },
244
+ default: 50,
245
+ description: 'Max number of results to return',
246
+ },
247
+ {
248
+ displayName: 'Filters',
249
+ name: 'filters',
250
+ type: 'collection',
251
+ placeholder: 'Add Filter',
252
+ default: {},
253
+ displayOptions: {
254
+ show: {
255
+ resource: ['note'],
256
+ operation: ['getAll'],
257
+ },
258
+ },
259
+ options: [
260
+ {
261
+ displayName: 'Client ID',
262
+ name: 'clientId',
263
+ type: 'string',
264
+ default: '',
265
+ description: 'Filter by client ID',
266
+ },
267
+ {
268
+ displayName: 'Is Archived',
269
+ name: 'isArchived',
270
+ type: 'boolean',
271
+ default: false,
272
+ description: 'Filter by archive status',
273
+ },
274
+ {
275
+ displayName: 'Note Type',
276
+ name: 'noteType',
277
+ type: 'options',
278
+ options: [
279
+ { name: 'General', value: 'general' },
280
+ { name: 'Meeting', value: 'meeting' },
281
+ { name: 'Follow-up', value: 'follow_up' },
282
+ { name: 'Technical', value: 'technical' },
283
+ ],
284
+ default: 'general',
285
+ description: 'Filter by note type',
286
+ },
287
+ ],
288
+ },
289
+ ];
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="128px" height="128px" viewBox="0 0 128 128" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>Logo/Lifecycle-Manager/Icon-Colored</title>
4
+ <g id="Logos" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
5
+ <g id="Logo/Lifecycle-Manager/Icon-Colored">
6
+ <path d="M85.6664718,70.813273 L94.387542,83.2589669 L109.376881,75.0829636 C104.107901,97.4307059 83.1228264,112.738001 59.9574837,110.694 L59.9574837,110.694 L52.5082363,96.1134609 L65.4989971,86.8473239 C74.8559786,86.2568347 82.9411374,79.8522988 85.6664718,70.813273 L85.6664718,70.813273 Z M32.249917,52.5989545 L41.4252096,65.4534486 C41.917817,74.7682066 48.1060003,82.8467157 56.9426668,85.7277551 L57.3229938,85.8480346 L44.9227221,94.5236825 L53.1895699,109.558444 C31.065305,104.297186 15.8413824,83.632583 17.5664815,60.7425082 L17.6239556,60.048202 L32.249917,52.5989545 Z M74.6742896,18.8502298 C96.8435226,24.0215519 112.156931,44.6852556 110.477691,67.6193945 L110.421593,68.3150497 L95.9318982,75.7188749 L86.6657611,62.6826919 L86.6203389,63.1823366 C86.172514,53.7780135 79.9408097,45.6540913 71.0593784,42.7282604 L70.6771325,42.6060616 L82.9865597,34.0212581 L74.6742896,18.8502298 Z M67.2602441,17.7507423 L67.951798,17.8055183 L75.4010455,32.4314797 L62.5011292,41.6521946 C53.4140479,42.2341259 45.5180769,48.3304565 42.5956145,56.984829 L42.4699211,57.3682898 L33.8396954,45.0134403 L18.7140893,53.3257104 C23.9753474,31.3363495 44.4618771,16.113776 67.2602441,17.7507423 Z" id="Combined-Shape" fill="#FFFFFF"></path>
7
+ <g id="LM_icon_colour_500px" transform="translate(0.000000, -0.000000)" fill-rule="nonzero">
8
+ <path d="M100.559772,0 L27.4402739,0 C12.3045924,0 0,12.2304912 0,27.3355547 C0,27.4711477 0,27.6067407 0,27.7423338 L0,100.664265 C-0.0271769642,115.715091 12.1684801,127.945582 27.2769392,128 C27.3313841,128 27.385829,128 27.4402739,128 L100.559772,128 C115.668231,128.054057 127.945555,115.877803 128,100.826976 C128,100.772739 128,100.718502 128,100.664265 L128,27.7423338 C128,12.6372703 115.722676,0 100.559772,0 L100.559772,0.406779087 L100.559772,0 Z" id="Path" fill="#4BA384"></path>
9
+ <g id="Group" transform="translate(17.749082, 17.898280)" fill="#FFFFFF">
10
+ <path d="M61.5227344,14.0474378 L50.3070855,24.0542034 C60.7877283,25.9525058 68.7639058,35.0914759 68.7639058,46.1016299 C68.7639058,48.6507789 68.3011242,51.118572 67.5116732,53.3965349 L70.8600344,68.8541402 L87.1662812,67.5795657 C90.5690873,61.1524561 92.5018812,53.8575512 92.5018812,46.1016299 C92.5018812,22.3728498 74.4806201,2.82033501 51.3143161,0.298304664 L61.5227344,14.0474378 Z" id="Path"></path>
11
+ <path d="M66.5044426,75.1185381 L63.4827507,60.5016096 C59.3449385,65.3829587 53.1654426,68.5015983 46.2509406,68.5015983 C39.3364386,68.5015983 33.1297203,65.3829587 29.0191305,60.474491 L14.4278979,55.864328 L7.29561629,70.9151542 C15.5167958,83.6880176 29.8902488,92.1490226 46.2509406,92.1490226 C61.5771793,92.1490226 75.1611813,84.7185246 83.6001404,73.2473543 L66.5044426,75.1185381 Z" id="Path"></path>
12
+ <path d="M11.1067591,48.9762021 L25.0446529,53.5050093 C24.2279795,51.1728092 23.7379754,48.6778975 23.7379754,46.0473927 C23.7379754,35.0372387 31.7141529,25.8982686 42.2220182,23.9999662 L53.8732263,13.4237099 L44.5631488,0 C19.7907203,0.894913992 0,21.1525125 0,46.0202741 C0,52.7728069 1.47001224,59.1999165 4.11058978,64.9761796 L11.1067591,48.9762021 Z" id="Path"></path>
13
+ </g>
14
+ </g>
15
+ </g>
16
+ </g>
17
+ </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joshuanode/n8n-nodes-scalepad",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "n8n community node for ScalePad Core API and Lifecycle Manager",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",