@joshuanode/n8n-nodes-scalepad 0.0.4 → 0.0.6

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 +73 -131
  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,342 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.lmContractFields = exports.lmContractOperations = void 0;
4
+ exports.lmContractOperations = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: ['lmContract'],
13
+ },
14
+ },
15
+ options: [
16
+ {
17
+ name: 'Create',
18
+ value: 'create',
19
+ description: 'Create a new contract',
20
+ action: 'Create a contract',
21
+ },
22
+ {
23
+ name: 'Delete',
24
+ value: 'delete',
25
+ description: 'Delete a contract',
26
+ action: 'Delete a contract',
27
+ },
28
+ {
29
+ name: 'Get',
30
+ value: 'get',
31
+ description: 'Get a contract by ID',
32
+ action: 'Get a contract',
33
+ },
34
+ {
35
+ name: 'Get Many',
36
+ value: 'getAll',
37
+ description: 'Get many contracts',
38
+ action: 'Get many contracts',
39
+ },
40
+ {
41
+ name: 'Update',
42
+ value: 'update',
43
+ description: 'Update a contract',
44
+ action: 'Update a contract',
45
+ },
46
+ ],
47
+ default: 'getAll',
48
+ },
49
+ ];
50
+ exports.lmContractFields = [
51
+ // Contract ID for get/update/delete operations
52
+ {
53
+ displayName: 'Contract ID',
54
+ name: 'contractId',
55
+ type: 'string',
56
+ required: true,
57
+ displayOptions: {
58
+ show: {
59
+ resource: ['lmContract'],
60
+ operation: ['get', 'update', 'delete'],
61
+ },
62
+ },
63
+ default: '',
64
+ description: 'The ID of the contract',
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: ['lmContract'],
75
+ operation: ['create'],
76
+ },
77
+ },
78
+ default: '',
79
+ description: 'The ID of the client for this contract',
80
+ },
81
+ {
82
+ displayName: 'Name',
83
+ name: 'name',
84
+ type: 'string',
85
+ required: true,
86
+ displayOptions: {
87
+ show: {
88
+ resource: ['lmContract'],
89
+ operation: ['create'],
90
+ },
91
+ },
92
+ default: '',
93
+ description: 'The name of the contract',
94
+ },
95
+ {
96
+ displayName: 'Additional Fields',
97
+ name: 'additionalFields',
98
+ type: 'collection',
99
+ placeholder: 'Add Field',
100
+ default: {},
101
+ displayOptions: {
102
+ show: {
103
+ resource: ['lmContract'],
104
+ operation: ['create'],
105
+ },
106
+ },
107
+ options: [
108
+ {
109
+ displayName: 'Description',
110
+ name: 'description',
111
+ type: 'string',
112
+ typeOptions: {
113
+ rows: 4,
114
+ },
115
+ default: '',
116
+ description: 'Description of the contract',
117
+ },
118
+ {
119
+ displayName: 'Contract Type',
120
+ name: 'contract_type',
121
+ type: 'options',
122
+ options: [
123
+ { name: 'Service Agreement', value: 'service_agreement' },
124
+ { name: 'Maintenance', value: 'maintenance' },
125
+ { name: 'License', value: 'license' },
126
+ { name: 'Subscription', value: 'subscription' },
127
+ { name: 'Other', value: 'other' },
128
+ ],
129
+ default: 'service_agreement',
130
+ description: 'Type of contract',
131
+ },
132
+ {
133
+ displayName: 'Start Date',
134
+ name: 'start_date',
135
+ type: 'dateTime',
136
+ default: '',
137
+ description: 'Contract start date',
138
+ },
139
+ {
140
+ displayName: 'End Date',
141
+ name: 'end_date',
142
+ type: 'dateTime',
143
+ default: '',
144
+ description: 'Contract end date',
145
+ },
146
+ {
147
+ displayName: 'Value',
148
+ name: 'value',
149
+ type: 'number',
150
+ typeOptions: {
151
+ minValue: 0,
152
+ },
153
+ default: 0,
154
+ description: 'Contract value',
155
+ },
156
+ {
157
+ displayName: 'Renewal Type',
158
+ name: 'renewal_type',
159
+ type: 'options',
160
+ options: [
161
+ { name: 'Auto-Renew', value: 'auto_renew' },
162
+ { name: 'Manual', value: 'manual' },
163
+ { name: 'None', value: 'none' },
164
+ ],
165
+ default: 'manual',
166
+ description: 'How the contract renews',
167
+ },
168
+ {
169
+ displayName: 'Vendor',
170
+ name: 'vendor',
171
+ type: 'string',
172
+ default: '',
173
+ description: 'Vendor name for the contract',
174
+ },
175
+ ],
176
+ },
177
+ // Update operation fields
178
+ {
179
+ displayName: 'Update Fields',
180
+ name: 'updateFields',
181
+ type: 'collection',
182
+ placeholder: 'Add Field',
183
+ default: {},
184
+ displayOptions: {
185
+ show: {
186
+ resource: ['lmContract'],
187
+ operation: ['update'],
188
+ },
189
+ },
190
+ options: [
191
+ {
192
+ displayName: 'Name',
193
+ name: 'name',
194
+ type: 'string',
195
+ default: '',
196
+ description: 'The name of the contract',
197
+ },
198
+ {
199
+ displayName: 'Description',
200
+ name: 'description',
201
+ type: 'string',
202
+ typeOptions: {
203
+ rows: 4,
204
+ },
205
+ default: '',
206
+ description: 'Description of the contract',
207
+ },
208
+ {
209
+ displayName: 'Contract Type',
210
+ name: 'contract_type',
211
+ type: 'options',
212
+ options: [
213
+ { name: 'Service Agreement', value: 'service_agreement' },
214
+ { name: 'Maintenance', value: 'maintenance' },
215
+ { name: 'License', value: 'license' },
216
+ { name: 'Subscription', value: 'subscription' },
217
+ { name: 'Other', value: 'other' },
218
+ ],
219
+ default: 'service_agreement',
220
+ description: 'Type of contract',
221
+ },
222
+ {
223
+ displayName: 'Start Date',
224
+ name: 'start_date',
225
+ type: 'dateTime',
226
+ default: '',
227
+ description: 'Contract start date',
228
+ },
229
+ {
230
+ displayName: 'End Date',
231
+ name: 'end_date',
232
+ type: 'dateTime',
233
+ default: '',
234
+ description: 'Contract end date',
235
+ },
236
+ {
237
+ displayName: 'Value',
238
+ name: 'value',
239
+ type: 'number',
240
+ typeOptions: {
241
+ minValue: 0,
242
+ },
243
+ default: 0,
244
+ description: 'Contract value',
245
+ },
246
+ {
247
+ displayName: 'Renewal Type',
248
+ name: 'renewal_type',
249
+ type: 'options',
250
+ options: [
251
+ { name: 'Auto-Renew', value: 'auto_renew' },
252
+ { name: 'Manual', value: 'manual' },
253
+ { name: 'None', value: 'none' },
254
+ ],
255
+ default: 'manual',
256
+ description: 'How the contract renews',
257
+ },
258
+ {
259
+ displayName: 'Vendor',
260
+ name: 'vendor',
261
+ type: 'string',
262
+ default: '',
263
+ description: 'Vendor name for the contract',
264
+ },
265
+ ],
266
+ },
267
+ // Get Many operation
268
+ {
269
+ displayName: 'Return All',
270
+ name: 'returnAll',
271
+ type: 'boolean',
272
+ displayOptions: {
273
+ show: {
274
+ resource: ['lmContract'],
275
+ operation: ['getAll'],
276
+ },
277
+ },
278
+ default: false,
279
+ description: 'Whether to return all results or only up to a given limit',
280
+ },
281
+ {
282
+ displayName: 'Limit',
283
+ name: 'limit',
284
+ type: 'number',
285
+ displayOptions: {
286
+ show: {
287
+ resource: ['lmContract'],
288
+ operation: ['getAll'],
289
+ returnAll: [false],
290
+ },
291
+ },
292
+ typeOptions: {
293
+ minValue: 1,
294
+ maxValue: 200,
295
+ },
296
+ default: 50,
297
+ description: 'Max number of results to return',
298
+ },
299
+ {
300
+ displayName: 'Filters',
301
+ name: 'filters',
302
+ type: 'collection',
303
+ placeholder: 'Add Filter',
304
+ default: {},
305
+ displayOptions: {
306
+ show: {
307
+ resource: ['lmContract'],
308
+ operation: ['getAll'],
309
+ },
310
+ },
311
+ options: [
312
+ {
313
+ displayName: 'Client ID',
314
+ name: 'clientId',
315
+ type: 'string',
316
+ default: '',
317
+ description: 'Filter by client ID',
318
+ },
319
+ {
320
+ displayName: 'Contract Type',
321
+ name: 'contractType',
322
+ type: 'options',
323
+ options: [
324
+ { name: 'Service Agreement', value: 'service_agreement' },
325
+ { name: 'Maintenance', value: 'maintenance' },
326
+ { name: 'License', value: 'license' },
327
+ { name: 'Subscription', value: 'subscription' },
328
+ { name: 'Other', value: 'other' },
329
+ ],
330
+ default: 'service_agreement',
331
+ description: 'Filter by contract type',
332
+ },
333
+ {
334
+ displayName: 'Vendor',
335
+ name: 'vendor',
336
+ type: 'string',
337
+ default: '',
338
+ description: 'Filter by vendor name',
339
+ },
340
+ ],
341
+ },
342
+ ];
@@ -0,0 +1,3 @@
1
+ import { INodeProperties } from 'n8n-workflow';
2
+ export declare const meetingOperations: INodeProperties[];
3
+ export declare const meetingFields: INodeProperties[];