@joshuanode/n8n-nodes-addigy 0.0.1
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/LICENSE.md +21 -0
- package/README.md +313 -0
- package/dist/credentials/AddigyApi.credentials.d.ts +10 -0
- package/dist/credentials/AddigyApi.credentials.d.ts.map +1 -0
- package/dist/credentials/AddigyApi.credentials.js +54 -0
- package/dist/credentials/AddigyApi.credentials.js.map +1 -0
- package/dist/nodes/Addigy/Addigy.node.d.ts +13 -0
- package/dist/nodes/Addigy/Addigy.node.d.ts.map +1 -0
- package/dist/nodes/Addigy/Addigy.node.js +559 -0
- package/dist/nodes/Addigy/Addigy.node.js.map +1 -0
- package/dist/nodes/Addigy/GenericFunctions.d.ts +13 -0
- package/dist/nodes/Addigy/GenericFunctions.d.ts.map +1 -0
- package/dist/nodes/Addigy/GenericFunctions.js +225 -0
- package/dist/nodes/Addigy/GenericFunctions.js.map +1 -0
- package/dist/nodes/Addigy/addigy.svg +22 -0
- package/dist/nodes/Addigy/descriptions/AlertDescription.d.ts +4 -0
- package/dist/nodes/Addigy/descriptions/AlertDescription.d.ts.map +1 -0
- package/dist/nodes/Addigy/descriptions/AlertDescription.js +210 -0
- package/dist/nodes/Addigy/descriptions/AlertDescription.js.map +1 -0
- package/dist/nodes/Addigy/descriptions/ApplicationDescription.d.ts +4 -0
- package/dist/nodes/Addigy/descriptions/ApplicationDescription.d.ts.map +1 -0
- package/dist/nodes/Addigy/descriptions/ApplicationDescription.js +234 -0
- package/dist/nodes/Addigy/descriptions/ApplicationDescription.js.map +1 -0
- package/dist/nodes/Addigy/descriptions/DeviceDescription.d.ts +4 -0
- package/dist/nodes/Addigy/descriptions/DeviceDescription.d.ts.map +1 -0
- package/dist/nodes/Addigy/descriptions/DeviceDescription.js +292 -0
- package/dist/nodes/Addigy/descriptions/DeviceDescription.js.map +1 -0
- package/dist/nodes/Addigy/descriptions/FactDescription.d.ts +4 -0
- package/dist/nodes/Addigy/descriptions/FactDescription.d.ts.map +1 -0
- package/dist/nodes/Addigy/descriptions/FactDescription.js +282 -0
- package/dist/nodes/Addigy/descriptions/FactDescription.js.map +1 -0
- package/dist/nodes/Addigy/descriptions/InstructionDescription.d.ts +4 -0
- package/dist/nodes/Addigy/descriptions/InstructionDescription.d.ts.map +1 -0
- package/dist/nodes/Addigy/descriptions/InstructionDescription.js +328 -0
- package/dist/nodes/Addigy/descriptions/InstructionDescription.js.map +1 -0
- package/dist/nodes/Addigy/descriptions/PolicyDescription.d.ts +4 -0
- package/dist/nodes/Addigy/descriptions/PolicyDescription.d.ts.map +1 -0
- package/dist/nodes/Addigy/descriptions/PolicyDescription.js +226 -0
- package/dist/nodes/Addigy/descriptions/PolicyDescription.js.map +1 -0
- package/index.js +2 -0
- package/package.json +64 -0
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.factFields = exports.factOperations = void 0;
|
|
4
|
+
exports.factOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Operation',
|
|
7
|
+
name: 'operation',
|
|
8
|
+
type: 'options',
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: {
|
|
12
|
+
resource: ['fact'],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
options: [
|
|
16
|
+
{
|
|
17
|
+
name: 'Create',
|
|
18
|
+
value: 'create',
|
|
19
|
+
description: 'Create a custom fact',
|
|
20
|
+
action: 'Create a custom fact',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: 'Delete',
|
|
24
|
+
value: 'delete',
|
|
25
|
+
description: 'Delete a custom fact',
|
|
26
|
+
action: 'Delete a custom fact',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: 'Get',
|
|
30
|
+
value: 'get',
|
|
31
|
+
description: 'Get a custom fact by name',
|
|
32
|
+
action: 'Get a custom fact',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'Get Many',
|
|
36
|
+
value: 'getAll',
|
|
37
|
+
description: 'Get all custom facts',
|
|
38
|
+
action: 'Get many custom facts',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'Update',
|
|
42
|
+
value: 'update',
|
|
43
|
+
description: 'Update a custom fact',
|
|
44
|
+
action: 'Update a custom fact',
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
default: 'getAll',
|
|
48
|
+
},
|
|
49
|
+
];
|
|
50
|
+
exports.factFields = [
|
|
51
|
+
// ----------------------------------
|
|
52
|
+
// fact:create
|
|
53
|
+
// ----------------------------------
|
|
54
|
+
{
|
|
55
|
+
displayName: 'Name',
|
|
56
|
+
name: 'name',
|
|
57
|
+
type: 'string',
|
|
58
|
+
required: true,
|
|
59
|
+
displayOptions: {
|
|
60
|
+
show: {
|
|
61
|
+
resource: ['fact'],
|
|
62
|
+
operation: ['create'],
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
default: '',
|
|
66
|
+
description: 'Name of the custom fact',
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
displayName: 'Type',
|
|
70
|
+
name: 'type',
|
|
71
|
+
type: 'options',
|
|
72
|
+
required: true,
|
|
73
|
+
displayOptions: {
|
|
74
|
+
show: {
|
|
75
|
+
resource: ['fact'],
|
|
76
|
+
operation: ['create'],
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
options: [
|
|
80
|
+
{
|
|
81
|
+
name: 'String',
|
|
82
|
+
value: 'string',
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
name: 'Number',
|
|
86
|
+
value: 'number',
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: 'Boolean',
|
|
90
|
+
value: 'boolean',
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
name: 'Date',
|
|
94
|
+
value: 'date',
|
|
95
|
+
},
|
|
96
|
+
],
|
|
97
|
+
default: 'string',
|
|
98
|
+
description: 'Data type of the custom fact',
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
displayName: 'Script',
|
|
102
|
+
name: 'script',
|
|
103
|
+
type: 'string',
|
|
104
|
+
typeOptions: {
|
|
105
|
+
rows: 10,
|
|
106
|
+
},
|
|
107
|
+
required: true,
|
|
108
|
+
displayOptions: {
|
|
109
|
+
show: {
|
|
110
|
+
resource: ['fact'],
|
|
111
|
+
operation: ['create'],
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
default: '#!/bin/bash\n# Script to collect the fact value\necho "value"',
|
|
115
|
+
description: 'Shell script to collect the fact value from devices',
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
displayName: 'Additional Fields',
|
|
119
|
+
name: 'additionalFields',
|
|
120
|
+
type: 'collection',
|
|
121
|
+
placeholder: 'Add Field',
|
|
122
|
+
default: {},
|
|
123
|
+
displayOptions: {
|
|
124
|
+
show: {
|
|
125
|
+
resource: ['fact'],
|
|
126
|
+
operation: ['create'],
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
options: [
|
|
130
|
+
{
|
|
131
|
+
displayName: 'Description',
|
|
132
|
+
name: 'description',
|
|
133
|
+
type: 'string',
|
|
134
|
+
typeOptions: {
|
|
135
|
+
rows: 3,
|
|
136
|
+
},
|
|
137
|
+
default: '',
|
|
138
|
+
description: 'Description of what this fact collects',
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
displayName: 'Collection Frequency',
|
|
142
|
+
name: 'frequency',
|
|
143
|
+
type: 'options',
|
|
144
|
+
options: [
|
|
145
|
+
{
|
|
146
|
+
name: 'Every Hour',
|
|
147
|
+
value: 'hourly',
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
name: 'Every 6 Hours',
|
|
151
|
+
value: '6hours',
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
name: 'Daily',
|
|
155
|
+
value: 'daily',
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
name: 'Weekly',
|
|
159
|
+
value: 'weekly',
|
|
160
|
+
},
|
|
161
|
+
],
|
|
162
|
+
default: 'daily',
|
|
163
|
+
description: 'How often to collect this fact from devices',
|
|
164
|
+
},
|
|
165
|
+
],
|
|
166
|
+
},
|
|
167
|
+
// ----------------------------------
|
|
168
|
+
// fact:delete, get, update
|
|
169
|
+
// ----------------------------------
|
|
170
|
+
{
|
|
171
|
+
displayName: 'Fact Name',
|
|
172
|
+
name: 'factName',
|
|
173
|
+
type: 'string',
|
|
174
|
+
required: true,
|
|
175
|
+
displayOptions: {
|
|
176
|
+
show: {
|
|
177
|
+
resource: ['fact'],
|
|
178
|
+
operation: ['delete', 'get', 'update'],
|
|
179
|
+
},
|
|
180
|
+
},
|
|
181
|
+
default: '',
|
|
182
|
+
description: 'The name of the custom fact',
|
|
183
|
+
},
|
|
184
|
+
// ----------------------------------
|
|
185
|
+
// fact:getAll
|
|
186
|
+
// ----------------------------------
|
|
187
|
+
{
|
|
188
|
+
displayName: 'Return All',
|
|
189
|
+
name: 'returnAll',
|
|
190
|
+
type: 'boolean',
|
|
191
|
+
displayOptions: {
|
|
192
|
+
show: {
|
|
193
|
+
resource: ['fact'],
|
|
194
|
+
operation: ['getAll'],
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
default: false,
|
|
198
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
displayName: 'Limit',
|
|
202
|
+
name: 'limit',
|
|
203
|
+
type: 'number',
|
|
204
|
+
displayOptions: {
|
|
205
|
+
show: {
|
|
206
|
+
resource: ['fact'],
|
|
207
|
+
operation: ['getAll'],
|
|
208
|
+
returnAll: [false],
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
typeOptions: {
|
|
212
|
+
minValue: 1,
|
|
213
|
+
maxValue: 500,
|
|
214
|
+
},
|
|
215
|
+
default: 50,
|
|
216
|
+
description: 'Max number of results to return',
|
|
217
|
+
},
|
|
218
|
+
// ----------------------------------
|
|
219
|
+
// fact:update
|
|
220
|
+
// ----------------------------------
|
|
221
|
+
{
|
|
222
|
+
displayName: 'Update Fields',
|
|
223
|
+
name: 'updateFields',
|
|
224
|
+
type: 'collection',
|
|
225
|
+
placeholder: 'Add Field',
|
|
226
|
+
default: {},
|
|
227
|
+
displayOptions: {
|
|
228
|
+
show: {
|
|
229
|
+
resource: ['fact'],
|
|
230
|
+
operation: ['update'],
|
|
231
|
+
},
|
|
232
|
+
},
|
|
233
|
+
options: [
|
|
234
|
+
{
|
|
235
|
+
displayName: 'Description',
|
|
236
|
+
name: 'description',
|
|
237
|
+
type: 'string',
|
|
238
|
+
typeOptions: {
|
|
239
|
+
rows: 3,
|
|
240
|
+
},
|
|
241
|
+
default: '',
|
|
242
|
+
description: 'Description of what this fact collects',
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
displayName: 'Script',
|
|
246
|
+
name: 'script',
|
|
247
|
+
type: 'string',
|
|
248
|
+
typeOptions: {
|
|
249
|
+
rows: 10,
|
|
250
|
+
},
|
|
251
|
+
default: '',
|
|
252
|
+
description: 'Shell script to collect the fact value from devices',
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
displayName: 'Collection Frequency',
|
|
256
|
+
name: 'frequency',
|
|
257
|
+
type: 'options',
|
|
258
|
+
options: [
|
|
259
|
+
{
|
|
260
|
+
name: 'Every Hour',
|
|
261
|
+
value: 'hourly',
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
name: 'Every 6 Hours',
|
|
265
|
+
value: '6hours',
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
name: 'Daily',
|
|
269
|
+
value: 'daily',
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
name: 'Weekly',
|
|
273
|
+
value: 'weekly',
|
|
274
|
+
},
|
|
275
|
+
],
|
|
276
|
+
default: 'daily',
|
|
277
|
+
description: 'How often to collect this fact from devices',
|
|
278
|
+
},
|
|
279
|
+
],
|
|
280
|
+
},
|
|
281
|
+
];
|
|
282
|
+
//# sourceMappingURL=FactDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FactDescription.js","sourceRoot":"","sources":["../../../../nodes/Addigy/descriptions/FactDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,cAAc,GAAsB;IAChD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;aAClB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,sBAAsB;gBACnC,MAAM,EAAE,sBAAsB;aAC9B;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,sBAAsB;gBACnC,MAAM,EAAE,sBAAsB;aAC9B;YACD;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,2BAA2B;gBACxC,MAAM,EAAE,mBAAmB;aAC3B;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,sBAAsB;gBACnC,MAAM,EAAE,uBAAuB;aAC/B;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,sBAAsB;gBACnC,MAAM,EAAE,sBAAsB;aAC9B;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;CACD,CAAC;AAEW,QAAA,UAAU,GAAsB;IAC5C,qCAAqC;IACrC,sBAAsB;IACtB,qCAAqC;IACrC;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,QAAQ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AAO,EAAE;oBACR;wBACC,IAAI,EAAE,YAAY;wBAClB,KAAK,EAAE,QAAQ;qBACf;oBACD;wBACC,IAAI,EAAE,eAAe;wBACrB,KAAK,EAAE,QAAQ;qBACf;oBACD;wBACC,IAAI,EAAE,OAAO;wBACb,KAAK,EAAE,OAAO;qBACd;oBACD;wBACC,IAAI,EAAE,QAAQ;wBACd,KAAK,EAAE,QAAQ;qBACf;iBACD;gBACD,OAAO,EAAE,OAAO;gBAChB,WAAW,EAAE,6CAA6C;aAC1D;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InstructionDescription.d.ts","sourceRoot":"","sources":["../../../../nodes/Addigy/descriptions/InstructionDescription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,eAAO,MAAM,qBAAqB,EAAE,eAAe,EAmDlD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,eAAe,EAmR9C,CAAC"}
|
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.instructionFields = exports.instructionOperations = void 0;
|
|
4
|
+
exports.instructionOperations = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Operation',
|
|
7
|
+
name: 'operation',
|
|
8
|
+
type: 'options',
|
|
9
|
+
noDataExpression: true,
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: {
|
|
12
|
+
resource: ['instruction'],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
options: [
|
|
16
|
+
{
|
|
17
|
+
name: 'Create',
|
|
18
|
+
value: 'create',
|
|
19
|
+
description: 'Create an instruction',
|
|
20
|
+
action: 'Create an instruction',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: 'Delete',
|
|
24
|
+
value: 'delete',
|
|
25
|
+
description: 'Delete an instruction',
|
|
26
|
+
action: 'Delete an instruction',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: 'Execute',
|
|
30
|
+
value: 'execute',
|
|
31
|
+
description: 'Execute an instruction on devices',
|
|
32
|
+
action: 'Execute an instruction',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'Get',
|
|
36
|
+
value: 'get',
|
|
37
|
+
description: 'Get an instruction by ID',
|
|
38
|
+
action: 'Get an instruction',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'Get Many',
|
|
42
|
+
value: 'getAll',
|
|
43
|
+
description: 'Get many instructions',
|
|
44
|
+
action: 'Get many instructions',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'Update',
|
|
48
|
+
value: 'update',
|
|
49
|
+
description: 'Update an instruction',
|
|
50
|
+
action: 'Update an instruction',
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
default: 'getAll',
|
|
54
|
+
},
|
|
55
|
+
];
|
|
56
|
+
exports.instructionFields = [
|
|
57
|
+
// ----------------------------------
|
|
58
|
+
// instruction:create
|
|
59
|
+
// ----------------------------------
|
|
60
|
+
{
|
|
61
|
+
displayName: 'Name',
|
|
62
|
+
name: 'name',
|
|
63
|
+
type: 'string',
|
|
64
|
+
required: true,
|
|
65
|
+
displayOptions: {
|
|
66
|
+
show: {
|
|
67
|
+
resource: ['instruction'],
|
|
68
|
+
operation: ['create'],
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
default: '',
|
|
72
|
+
description: 'Name of the instruction',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
displayName: 'Script',
|
|
76
|
+
name: 'script',
|
|
77
|
+
type: 'string',
|
|
78
|
+
typeOptions: {
|
|
79
|
+
rows: 15,
|
|
80
|
+
},
|
|
81
|
+
required: true,
|
|
82
|
+
displayOptions: {
|
|
83
|
+
show: {
|
|
84
|
+
resource: ['instruction'],
|
|
85
|
+
operation: ['create'],
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
default: '#!/bin/bash\n# Your instruction script here\n',
|
|
89
|
+
description: 'Shell script to execute on devices',
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
displayName: 'Additional Fields',
|
|
93
|
+
name: 'additionalFields',
|
|
94
|
+
type: 'collection',
|
|
95
|
+
placeholder: 'Add Field',
|
|
96
|
+
default: {},
|
|
97
|
+
displayOptions: {
|
|
98
|
+
show: {
|
|
99
|
+
resource: ['instruction'],
|
|
100
|
+
operation: ['create'],
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
options: [
|
|
104
|
+
{
|
|
105
|
+
displayName: 'Description',
|
|
106
|
+
name: 'description',
|
|
107
|
+
type: 'string',
|
|
108
|
+
typeOptions: {
|
|
109
|
+
rows: 3,
|
|
110
|
+
},
|
|
111
|
+
default: '',
|
|
112
|
+
description: 'Description of what this instruction does',
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
displayName: 'Category',
|
|
116
|
+
name: 'category',
|
|
117
|
+
type: 'string',
|
|
118
|
+
default: '',
|
|
119
|
+
description: 'Category to organize instructions',
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
displayName: 'Requires User Context',
|
|
123
|
+
name: 'requires_user_context',
|
|
124
|
+
type: 'boolean',
|
|
125
|
+
default: false,
|
|
126
|
+
description: 'Whether the script requires user context to run',
|
|
127
|
+
},
|
|
128
|
+
],
|
|
129
|
+
},
|
|
130
|
+
// ----------------------------------
|
|
131
|
+
// instruction:delete, get, update, execute
|
|
132
|
+
// ----------------------------------
|
|
133
|
+
{
|
|
134
|
+
displayName: 'Instruction ID',
|
|
135
|
+
name: 'instructionId',
|
|
136
|
+
type: 'string',
|
|
137
|
+
required: true,
|
|
138
|
+
displayOptions: {
|
|
139
|
+
show: {
|
|
140
|
+
resource: ['instruction'],
|
|
141
|
+
operation: ['delete', 'get', 'update', 'execute'],
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
default: '',
|
|
145
|
+
description: 'The ID of the instruction',
|
|
146
|
+
},
|
|
147
|
+
// ----------------------------------
|
|
148
|
+
// instruction:getAll
|
|
149
|
+
// ----------------------------------
|
|
150
|
+
{
|
|
151
|
+
displayName: 'Return All',
|
|
152
|
+
name: 'returnAll',
|
|
153
|
+
type: 'boolean',
|
|
154
|
+
displayOptions: {
|
|
155
|
+
show: {
|
|
156
|
+
resource: ['instruction'],
|
|
157
|
+
operation: ['getAll'],
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
default: false,
|
|
161
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
displayName: 'Limit',
|
|
165
|
+
name: 'limit',
|
|
166
|
+
type: 'number',
|
|
167
|
+
displayOptions: {
|
|
168
|
+
show: {
|
|
169
|
+
resource: ['instruction'],
|
|
170
|
+
operation: ['getAll'],
|
|
171
|
+
returnAll: [false],
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
typeOptions: {
|
|
175
|
+
minValue: 1,
|
|
176
|
+
maxValue: 500,
|
|
177
|
+
},
|
|
178
|
+
default: 50,
|
|
179
|
+
description: 'Max number of results to return',
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
displayName: 'Filters',
|
|
183
|
+
name: 'filters',
|
|
184
|
+
type: 'collection',
|
|
185
|
+
placeholder: 'Add Filter',
|
|
186
|
+
default: {},
|
|
187
|
+
displayOptions: {
|
|
188
|
+
show: {
|
|
189
|
+
resource: ['instruction'],
|
|
190
|
+
operation: ['getAll'],
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
options: [
|
|
194
|
+
{
|
|
195
|
+
displayName: 'Name',
|
|
196
|
+
name: 'name',
|
|
197
|
+
type: 'string',
|
|
198
|
+
default: '',
|
|
199
|
+
description: 'Filter by instruction name',
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
displayName: 'Category',
|
|
203
|
+
name: 'category',
|
|
204
|
+
type: 'string',
|
|
205
|
+
default: '',
|
|
206
|
+
description: 'Filter by category',
|
|
207
|
+
},
|
|
208
|
+
],
|
|
209
|
+
},
|
|
210
|
+
// ----------------------------------
|
|
211
|
+
// instruction:update
|
|
212
|
+
// ----------------------------------
|
|
213
|
+
{
|
|
214
|
+
displayName: 'Update Fields',
|
|
215
|
+
name: 'updateFields',
|
|
216
|
+
type: 'collection',
|
|
217
|
+
placeholder: 'Add Field',
|
|
218
|
+
default: {},
|
|
219
|
+
displayOptions: {
|
|
220
|
+
show: {
|
|
221
|
+
resource: ['instruction'],
|
|
222
|
+
operation: ['update'],
|
|
223
|
+
},
|
|
224
|
+
},
|
|
225
|
+
options: [
|
|
226
|
+
{
|
|
227
|
+
displayName: 'Name',
|
|
228
|
+
name: 'name',
|
|
229
|
+
type: 'string',
|
|
230
|
+
default: '',
|
|
231
|
+
description: 'Instruction name',
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
displayName: 'Description',
|
|
235
|
+
name: 'description',
|
|
236
|
+
type: 'string',
|
|
237
|
+
typeOptions: {
|
|
238
|
+
rows: 3,
|
|
239
|
+
},
|
|
240
|
+
default: '',
|
|
241
|
+
description: 'Description of what this instruction does',
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
displayName: 'Script',
|
|
245
|
+
name: 'script',
|
|
246
|
+
type: 'string',
|
|
247
|
+
typeOptions: {
|
|
248
|
+
rows: 15,
|
|
249
|
+
},
|
|
250
|
+
default: '',
|
|
251
|
+
description: 'Shell script to execute on devices',
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
displayName: 'Category',
|
|
255
|
+
name: 'category',
|
|
256
|
+
type: 'string',
|
|
257
|
+
default: '',
|
|
258
|
+
description: 'Category to organize instructions',
|
|
259
|
+
},
|
|
260
|
+
],
|
|
261
|
+
},
|
|
262
|
+
// ----------------------------------
|
|
263
|
+
// instruction:execute
|
|
264
|
+
// ----------------------------------
|
|
265
|
+
{
|
|
266
|
+
displayName: 'Target Type',
|
|
267
|
+
name: 'targetType',
|
|
268
|
+
type: 'options',
|
|
269
|
+
required: true,
|
|
270
|
+
displayOptions: {
|
|
271
|
+
show: {
|
|
272
|
+
resource: ['instruction'],
|
|
273
|
+
operation: ['execute'],
|
|
274
|
+
},
|
|
275
|
+
},
|
|
276
|
+
options: [
|
|
277
|
+
{
|
|
278
|
+
name: 'Device',
|
|
279
|
+
value: 'device',
|
|
280
|
+
description: 'Execute on specific devices',
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
name: 'Policy',
|
|
284
|
+
value: 'policy',
|
|
285
|
+
description: 'Execute on all devices in a policy',
|
|
286
|
+
},
|
|
287
|
+
],
|
|
288
|
+
default: 'device',
|
|
289
|
+
description: 'Whether to execute on specific devices or a policy',
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
displayName: 'Device Name or ID',
|
|
293
|
+
name: 'deviceId',
|
|
294
|
+
type: 'options',
|
|
295
|
+
typeOptions: {
|
|
296
|
+
loadOptionsMethod: 'getDevices',
|
|
297
|
+
},
|
|
298
|
+
required: true,
|
|
299
|
+
displayOptions: {
|
|
300
|
+
show: {
|
|
301
|
+
resource: ['instruction'],
|
|
302
|
+
operation: ['execute'],
|
|
303
|
+
targetType: ['device'],
|
|
304
|
+
},
|
|
305
|
+
},
|
|
306
|
+
default: '',
|
|
307
|
+
description: 'The device to execute on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
displayName: 'Policy Name or ID',
|
|
311
|
+
name: 'policyId',
|
|
312
|
+
type: 'options',
|
|
313
|
+
typeOptions: {
|
|
314
|
+
loadOptionsMethod: 'getPolicies',
|
|
315
|
+
},
|
|
316
|
+
required: true,
|
|
317
|
+
displayOptions: {
|
|
318
|
+
show: {
|
|
319
|
+
resource: ['instruction'],
|
|
320
|
+
operation: ['execute'],
|
|
321
|
+
targetType: ['policy'],
|
|
322
|
+
},
|
|
323
|
+
},
|
|
324
|
+
default: '',
|
|
325
|
+
description: 'The policy to execute on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
|
326
|
+
},
|
|
327
|
+
];
|
|
328
|
+
//# sourceMappingURL=InstructionDescription.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InstructionDescription.js","sourceRoot":"","sources":["../../../../nodes/Addigy/descriptions/InstructionDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,qBAAqB,GAAsB;IACvD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,aAAa,CAAC;aACzB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,uBAAuB;gBACpC,MAAM,EAAE,uBAAuB;aAC/B;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,uBAAuB;gBACpC,MAAM,EAAE,uBAAuB;aAC/B;YACD;gBACC,IAAI,EAAE,SAAS;gBACf,KAAK,EAAE,SAAS;gBAChB,WAAW,EAAE,mCAAmC;gBAChD,MAAM,EAAE,wBAAwB;aAChC;YACD;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,0BAA0B;gBACvC,MAAM,EAAE,oBAAoB;aAC5B;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,uBAAuB;gBACpC,MAAM,EAAE,uBAAuB;aAC/B;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,uBAAuB;gBACpC,MAAM,EAAE,uBAAuB;aAC/B;SACD;QACD,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AI,EAAE,SAAS;QACf,WAAW,EAAE;YACZ,iBAAiB,EAAE,aAAa;SAChC;QACD,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,aAAa,CAAC;gBACzB,SAAS,EAAE,CAAC,SAAS,CAAC;gBACtB,UAAU,EAAE,CAAC,QAAQ,CAAC;aACtB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,oJAAoJ;KACjK;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PolicyDescription.d.ts","sourceRoot":"","sources":["../../../../nodes/Addigy/descriptions/PolicyDescription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,eAAO,MAAM,gBAAgB,EAAE,eAAe,EA6C7C,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,EAkLzC,CAAC"}
|