@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.
- package/README.md +41 -121
- package/dist/nodes/ScalePadCore/ScalePadCore.node.js +798 -53
- package/dist/nodes/ScalePadCore/descriptions/ActionItemDescription.d.ts +3 -0
- package/dist/nodes/ScalePadCore/descriptions/ActionItemDescription.js +306 -0
- package/dist/nodes/ScalePadCore/descriptions/AssessmentDescription.d.ts +3 -0
- package/dist/nodes/ScalePadCore/descriptions/AssessmentDescription.js +291 -0
- package/dist/nodes/ScalePadCore/descriptions/AssessmentTemplateDescription.d.ts +3 -0
- package/dist/nodes/ScalePadCore/descriptions/AssessmentTemplateDescription.js +59 -0
- package/dist/nodes/ScalePadCore/descriptions/ContractDescription.js +242 -21
- package/dist/nodes/ScalePadCore/descriptions/GoalDescription.d.ts +3 -0
- package/dist/nodes/ScalePadCore/descriptions/GoalDescription.js +468 -0
- package/dist/nodes/ScalePadCore/descriptions/HardwareLifecycleDescription.js +5 -66
- package/dist/nodes/ScalePadCore/descriptions/InitiativeDescription.d.ts +3 -0
- package/dist/nodes/ScalePadCore/descriptions/InitiativeDescription.js +565 -0
- package/dist/nodes/ScalePadCore/descriptions/LmContractDescription.d.ts +3 -0
- package/dist/nodes/ScalePadCore/descriptions/LmContractDescription.js +342 -0
- package/dist/nodes/ScalePadCore/descriptions/MeetingDescription.d.ts +3 -0
- package/dist/nodes/ScalePadCore/descriptions/MeetingDescription.js +501 -0
- package/dist/nodes/ScalePadCore/descriptions/NoteDescription.d.ts +3 -0
- package/dist/nodes/ScalePadCore/descriptions/NoteDescription.js +289 -0
- package/dist/nodes/ScalePadLifecycleManager/ScalePadLifecycleManager.node.d.ts +6 -0
- package/dist/nodes/ScalePadLifecycleManager/ScalePadLifecycleManager.node.js +837 -0
- package/dist/nodes/ScalePadLifecycleManager/descriptions/ActionItemDescription.d.ts +3 -0
- package/dist/nodes/ScalePadLifecycleManager/descriptions/ActionItemDescription.js +306 -0
- package/dist/nodes/ScalePadLifecycleManager/descriptions/AssessmentDescription.d.ts +3 -0
- package/dist/nodes/ScalePadLifecycleManager/descriptions/AssessmentDescription.js +291 -0
- package/dist/nodes/ScalePadLifecycleManager/descriptions/AssessmentTemplateDescription.d.ts +3 -0
- package/dist/nodes/ScalePadLifecycleManager/descriptions/AssessmentTemplateDescription.js +59 -0
- package/dist/nodes/ScalePadLifecycleManager/descriptions/ContractDescription.d.ts +3 -0
- package/dist/nodes/ScalePadLifecycleManager/descriptions/ContractDescription.js +342 -0
- package/dist/nodes/ScalePadLifecycleManager/descriptions/GoalDescription.d.ts +3 -0
- package/dist/nodes/ScalePadLifecycleManager/descriptions/GoalDescription.js +468 -0
- package/dist/nodes/ScalePadLifecycleManager/descriptions/HardwareLifecycleDescription.d.ts +3 -0
- package/dist/nodes/ScalePadLifecycleManager/descriptions/HardwareLifecycleDescription.js +81 -0
- package/dist/nodes/ScalePadLifecycleManager/descriptions/InitiativeDescription.d.ts +3 -0
- package/dist/nodes/ScalePadLifecycleManager/descriptions/InitiativeDescription.js +565 -0
- package/dist/nodes/ScalePadLifecycleManager/descriptions/MeetingDescription.d.ts +3 -0
- package/dist/nodes/ScalePadLifecycleManager/descriptions/MeetingDescription.js +501 -0
- package/dist/nodes/ScalePadLifecycleManager/descriptions/NoteDescription.d.ts +3 -0
- package/dist/nodes/ScalePadLifecycleManager/descriptions/NoteDescription.js +289 -0
- package/dist/nodes/ScalePadLifecycleManager/scalepad.svg +17 -0
- package/package.json +1 -1
|
@@ -13,6 +13,18 @@ exports.contractOperations = [
|
|
|
13
13
|
},
|
|
14
14
|
},
|
|
15
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
|
+
},
|
|
16
28
|
{
|
|
17
29
|
name: 'Get',
|
|
18
30
|
value: 'get',
|
|
@@ -25,11 +37,18 @@ exports.contractOperations = [
|
|
|
25
37
|
description: 'Get many contracts',
|
|
26
38
|
action: 'Get many contracts',
|
|
27
39
|
},
|
|
40
|
+
{
|
|
41
|
+
name: 'Update',
|
|
42
|
+
value: 'update',
|
|
43
|
+
description: 'Update a contract',
|
|
44
|
+
action: 'Update a contract',
|
|
45
|
+
},
|
|
28
46
|
],
|
|
29
47
|
default: 'getAll',
|
|
30
48
|
},
|
|
31
49
|
];
|
|
32
50
|
exports.contractFields = [
|
|
51
|
+
// Contract ID for get/update/delete operations
|
|
33
52
|
{
|
|
34
53
|
displayName: 'Contract ID',
|
|
35
54
|
name: 'contractId',
|
|
@@ -38,12 +57,214 @@ exports.contractFields = [
|
|
|
38
57
|
displayOptions: {
|
|
39
58
|
show: {
|
|
40
59
|
resource: ['contract'],
|
|
41
|
-
operation: ['get'],
|
|
60
|
+
operation: ['get', 'update', 'delete'],
|
|
42
61
|
},
|
|
43
62
|
},
|
|
44
63
|
default: '',
|
|
45
|
-
description: 'The ID of the contract
|
|
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: ['contract'],
|
|
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: ['contract'],
|
|
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: ['contract'],
|
|
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
|
+
],
|
|
46
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: ['contract'],
|
|
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
|
|
47
268
|
{
|
|
48
269
|
displayName: 'Return All',
|
|
49
270
|
name: 'returnAll',
|
|
@@ -76,10 +297,10 @@ exports.contractFields = [
|
|
|
76
297
|
description: 'Max number of results to return',
|
|
77
298
|
},
|
|
78
299
|
{
|
|
79
|
-
displayName: '
|
|
80
|
-
name: '
|
|
300
|
+
displayName: 'Filters',
|
|
301
|
+
name: 'filters',
|
|
81
302
|
type: 'collection',
|
|
82
|
-
placeholder: 'Add
|
|
303
|
+
placeholder: 'Add Filter',
|
|
83
304
|
default: {},
|
|
84
305
|
displayOptions: {
|
|
85
306
|
show: {
|
|
@@ -93,28 +314,28 @@ exports.contractFields = [
|
|
|
93
314
|
name: 'clientId',
|
|
94
315
|
type: 'string',
|
|
95
316
|
default: '',
|
|
96
|
-
description: 'Filter
|
|
317
|
+
description: 'Filter by client ID',
|
|
97
318
|
},
|
|
98
319
|
{
|
|
99
|
-
displayName: '
|
|
100
|
-
name: '
|
|
320
|
+
displayName: 'Contract Type',
|
|
321
|
+
name: 'contractType',
|
|
101
322
|
type: 'options',
|
|
102
323
|
options: [
|
|
103
|
-
{
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
name: 'Expired',
|
|
109
|
-
value: 'expired',
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
name: 'Pending',
|
|
113
|
-
value: 'pending',
|
|
114
|
-
},
|
|
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' },
|
|
115
329
|
],
|
|
330
|
+
default: 'service_agreement',
|
|
331
|
+
description: 'Filter by contract type',
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
displayName: 'Vendor',
|
|
335
|
+
name: 'vendor',
|
|
336
|
+
type: 'string',
|
|
116
337
|
default: '',
|
|
117
|
-
description: 'Filter
|
|
338
|
+
description: 'Filter by vendor name',
|
|
118
339
|
},
|
|
119
340
|
],
|
|
120
341
|
},
|