@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,6 @@
1
+ import { IExecuteFunctions } from 'n8n-workflow';
2
+ import { INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
3
+ export declare class ScalePadLifecycleManager implements INodeType {
4
+ description: INodeTypeDescription;
5
+ execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
6
+ }