n8n-nodes-qlik-cloud 1.0.17 → 1.1.0
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 +11 -6
- package/dist/credentials/QlikCloudOAuth2Api.credentials.js +21 -21
- package/dist/nodes/QlikCloud/QlikCloud.node.js +405 -133
- package/dist/nodes/QlikCloud/resources/apps/index.d.ts +36 -0
- package/dist/nodes/QlikCloud/resources/apps/index.js +1115 -111
- package/dist/nodes/QlikCloud/resources/assistants/index.js +27 -7
- package/dist/nodes/QlikCloud/shared/transport.d.ts +2 -2
- package/dist/nodes/QlikCloud/shared/transport.js +16 -9
- package/package.json +2 -3
- package/src/credentials/QlikCloudOAuth2Api.credentials.ts +25 -28
- package/src/nodes/QlikCloud/QlikCloud.node.ts +530 -136
- package/src/nodes/QlikCloud/resources/apps/index.ts +1151 -110
- package/src/nodes/QlikCloud/resources/assistants/index.ts +27 -7
- package/src/nodes/QlikCloud/shared/transport.ts +21 -11
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.appDescription = exports.appsPrivilegesDescription = exports.appsPublishDescription = exports.appsExportDescription = exports.appsCopyDescription = exports.appsDeleteDescription = exports.appsUpdateDescription = exports.appsCreateDescription = exports.appsGetDescription = exports.appsGetAllDescription = void 0;
|
|
3
|
+
exports.appDescription = exports.appsPrivilegesDescription = exports.appsValidateScriptDescription = exports.appsImportDescription = exports.appsEvaluationDownloadDescription = exports.appsEvaluationGetDescription = exports.appsEvaluationsDownloadCompareDescription = exports.appsEvaluationsCompareDescription = exports.appsEvaluationsCreateDescription = exports.appsEvaluationsGetAllDescription = exports.appsSpaceRemoveDescription = exports.appsSpaceMoveDescription = exports.appsScriptsDeleteDescription = exports.appsScriptsUpdateDescription = exports.appsScriptsGetDescription = exports.appsScriptsCreateDescription = exports.appsScriptsGetAllDescription = exports.appsReportFiltersCountDescription = exports.appsReportFiltersDeleteDescription = exports.appsReportFiltersUpdateDescription = exports.appsReportFiltersGetDescription = exports.appsReportFiltersCreateDescription = exports.appsReportFiltersGetAllDescription = exports.appsReloadMetadataDescription = exports.appsReloadLogDescription = exports.appsReloadLogsDescription = exports.appsUpdateOwnerDescription = exports.appsChangeObjectOwnerDescription = exports.appsMediaThumbnailDescription = exports.appsMediaListDescription = exports.appsMediaDeleteFileDescription = exports.appsMediaUploadFileDescription = exports.appsMediaGetFileDescription = exports.appsInsightModelDescription = exports.appsInsightRecommendDescription = exports.appsInsightAnalysesDescription = exports.appsDataMetadataDescription = exports.appsDataLineageDescription = exports.appsPublishDescription = exports.appsExportDescription = exports.appsCopyDescription = exports.appsDeleteDescription = exports.appsUpdateDescription = exports.appsCreateDescription = exports.appsGetDescription = exports.appsGetAllDescription = void 0;
|
|
4
|
+
const appIdField = {
|
|
5
|
+
displayName: 'App ID',
|
|
6
|
+
name: 'appId',
|
|
7
|
+
type: 'string',
|
|
8
|
+
default: '',
|
|
9
|
+
required: true,
|
|
10
|
+
description: 'The ID of the app',
|
|
11
|
+
};
|
|
4
12
|
exports.appsGetAllDescription = [
|
|
5
13
|
{
|
|
6
14
|
displayName: 'Return All',
|
|
@@ -61,23 +69,18 @@ exports.appsGetAllDescription = [
|
|
|
61
69
|
];
|
|
62
70
|
exports.appsGetDescription = [
|
|
63
71
|
{
|
|
64
|
-
|
|
65
|
-
name: 'appId',
|
|
66
|
-
type: 'string',
|
|
67
|
-
default: '',
|
|
68
|
-
required: true,
|
|
72
|
+
...appIdField,
|
|
69
73
|
displayOptions: {
|
|
70
74
|
show: {
|
|
71
75
|
resource: ['apps'],
|
|
72
76
|
operation: ['get'],
|
|
73
77
|
},
|
|
74
78
|
},
|
|
75
|
-
description: 'The ID of the app to retrieve',
|
|
76
79
|
},
|
|
77
80
|
];
|
|
78
81
|
exports.appsCreateDescription = [
|
|
79
82
|
{
|
|
80
|
-
displayName: '
|
|
83
|
+
displayName: 'Name',
|
|
81
84
|
name: 'name',
|
|
82
85
|
type: 'string',
|
|
83
86
|
default: '',
|
|
@@ -88,7 +91,7 @@ exports.appsCreateDescription = [
|
|
|
88
91
|
operation: ['create'],
|
|
89
92
|
},
|
|
90
93
|
},
|
|
91
|
-
description: 'Name
|
|
94
|
+
description: 'Name for the new app',
|
|
92
95
|
},
|
|
93
96
|
{
|
|
94
97
|
displayName: 'Options',
|
|
@@ -108,39 +111,35 @@ exports.appsCreateDescription = [
|
|
|
108
111
|
name: 'description',
|
|
109
112
|
type: 'string',
|
|
110
113
|
default: '',
|
|
111
|
-
description: '
|
|
114
|
+
description: 'Optional description for the app',
|
|
112
115
|
},
|
|
113
116
|
{
|
|
114
117
|
displayName: 'Locale',
|
|
115
118
|
name: 'locale',
|
|
116
119
|
type: 'string',
|
|
117
120
|
default: '',
|
|
118
|
-
|
|
121
|
+
placeholder: 'en-US',
|
|
122
|
+
description: 'Locale for the app (e.g. en-US)',
|
|
119
123
|
},
|
|
120
124
|
{
|
|
121
125
|
displayName: 'Space ID',
|
|
122
126
|
name: 'spaceId',
|
|
123
127
|
type: 'string',
|
|
124
128
|
default: '',
|
|
125
|
-
description: 'Space where the app will be created',
|
|
129
|
+
description: 'Space ID where the app will be created',
|
|
126
130
|
},
|
|
127
131
|
],
|
|
128
132
|
},
|
|
129
133
|
];
|
|
130
134
|
exports.appsUpdateDescription = [
|
|
131
135
|
{
|
|
132
|
-
|
|
133
|
-
name: 'appId',
|
|
134
|
-
type: 'string',
|
|
135
|
-
default: '',
|
|
136
|
-
required: true,
|
|
136
|
+
...appIdField,
|
|
137
137
|
displayOptions: {
|
|
138
138
|
show: {
|
|
139
139
|
resource: ['apps'],
|
|
140
140
|
operation: ['update'],
|
|
141
141
|
},
|
|
142
142
|
},
|
|
143
|
-
description: 'The ID of the app to update',
|
|
144
143
|
},
|
|
145
144
|
{
|
|
146
145
|
displayName: 'Body (JSON)',
|
|
@@ -159,11 +158,7 @@ exports.appsUpdateDescription = [
|
|
|
159
158
|
];
|
|
160
159
|
exports.appsDeleteDescription = [
|
|
161
160
|
{
|
|
162
|
-
|
|
163
|
-
name: 'appId',
|
|
164
|
-
type: 'string',
|
|
165
|
-
default: '',
|
|
166
|
-
required: true,
|
|
161
|
+
...appIdField,
|
|
167
162
|
displayOptions: {
|
|
168
163
|
show: {
|
|
169
164
|
resource: ['apps'],
|
|
@@ -175,11 +170,7 @@ exports.appsDeleteDescription = [
|
|
|
175
170
|
];
|
|
176
171
|
exports.appsCopyDescription = [
|
|
177
172
|
{
|
|
178
|
-
|
|
179
|
-
name: 'appId',
|
|
180
|
-
type: 'string',
|
|
181
|
-
default: '',
|
|
182
|
-
required: true,
|
|
173
|
+
...appIdField,
|
|
183
174
|
displayOptions: {
|
|
184
175
|
show: {
|
|
185
176
|
resource: ['apps'],
|
|
@@ -189,7 +180,7 @@ exports.appsCopyDescription = [
|
|
|
189
180
|
description: 'The ID of the app to copy',
|
|
190
181
|
},
|
|
191
182
|
{
|
|
192
|
-
displayName: 'New
|
|
183
|
+
displayName: 'New Name',
|
|
193
184
|
name: 'name',
|
|
194
185
|
type: 'string',
|
|
195
186
|
default: '',
|
|
@@ -220,25 +211,21 @@ exports.appsCopyDescription = [
|
|
|
220
211
|
name: 'description',
|
|
221
212
|
type: 'string',
|
|
222
213
|
default: '',
|
|
223
|
-
description: '
|
|
214
|
+
description: 'Optional description for the copied app',
|
|
224
215
|
},
|
|
225
216
|
{
|
|
226
217
|
displayName: 'Space ID',
|
|
227
218
|
name: 'spaceId',
|
|
228
219
|
type: 'string',
|
|
229
220
|
default: '',
|
|
230
|
-
description: 'Space where the app will be
|
|
221
|
+
description: 'Space ID where the app copy will be placed',
|
|
231
222
|
},
|
|
232
223
|
],
|
|
233
224
|
},
|
|
234
225
|
];
|
|
235
226
|
exports.appsExportDescription = [
|
|
236
227
|
{
|
|
237
|
-
|
|
238
|
-
name: 'appId',
|
|
239
|
-
type: 'string',
|
|
240
|
-
default: '',
|
|
241
|
-
required: true,
|
|
228
|
+
...appIdField,
|
|
242
229
|
displayOptions: {
|
|
243
230
|
show: {
|
|
244
231
|
resource: ['apps'],
|
|
@@ -250,15 +237,11 @@ exports.appsExportDescription = [
|
|
|
250
237
|
];
|
|
251
238
|
exports.appsPublishDescription = [
|
|
252
239
|
{
|
|
253
|
-
|
|
254
|
-
name: 'appId',
|
|
255
|
-
type: 'string',
|
|
256
|
-
default: '',
|
|
257
|
-
required: true,
|
|
240
|
+
...appIdField,
|
|
258
241
|
displayOptions: {
|
|
259
242
|
show: {
|
|
260
243
|
resource: ['apps'],
|
|
261
|
-
operation: ['publish'],
|
|
244
|
+
operation: ['publish', 'republish'],
|
|
262
245
|
},
|
|
263
246
|
},
|
|
264
247
|
description: 'The ID of the app to publish',
|
|
@@ -272,110 +255,1095 @@ exports.appsPublishDescription = [
|
|
|
272
255
|
displayOptions: {
|
|
273
256
|
show: {
|
|
274
257
|
resource: ['apps'],
|
|
275
|
-
operation: ['publish'],
|
|
258
|
+
operation: ['publish', 'republish'],
|
|
276
259
|
},
|
|
277
260
|
},
|
|
278
261
|
options: [
|
|
279
262
|
{
|
|
280
|
-
displayName: '
|
|
263
|
+
displayName: 'Space ID',
|
|
281
264
|
name: 'spaceId',
|
|
282
265
|
type: 'string',
|
|
283
266
|
default: '',
|
|
284
|
-
description: 'Space ID where app will be published',
|
|
267
|
+
description: 'Space ID where the app will be (re)published',
|
|
285
268
|
},
|
|
286
269
|
],
|
|
287
270
|
},
|
|
288
271
|
];
|
|
289
|
-
exports.
|
|
272
|
+
exports.appsDataLineageDescription = [
|
|
290
273
|
{
|
|
291
|
-
|
|
292
|
-
name: 'options',
|
|
293
|
-
type: 'collection',
|
|
294
|
-
placeholder: 'Add Option',
|
|
295
|
-
default: {},
|
|
274
|
+
...appIdField,
|
|
296
275
|
displayOptions: {
|
|
297
276
|
show: {
|
|
298
277
|
resource: ['apps'],
|
|
299
|
-
operation: ['
|
|
278
|
+
operation: ['dataLineage'],
|
|
300
279
|
},
|
|
301
280
|
},
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
281
|
+
description: 'Retrieve lineage information for the app',
|
|
282
|
+
},
|
|
283
|
+
];
|
|
284
|
+
exports.appsDataMetadataDescription = [
|
|
285
|
+
{
|
|
286
|
+
...appIdField,
|
|
287
|
+
displayOptions: {
|
|
288
|
+
show: {
|
|
289
|
+
resource: ['apps'],
|
|
290
|
+
operation: ['dataMetadata'],
|
|
309
291
|
},
|
|
310
|
-
|
|
292
|
+
},
|
|
293
|
+
description: 'Retrieve data model metadata for the app',
|
|
311
294
|
},
|
|
312
295
|
];
|
|
313
|
-
exports.
|
|
296
|
+
exports.appsInsightAnalysesDescription = [
|
|
314
297
|
{
|
|
315
|
-
|
|
316
|
-
name: 'operation',
|
|
317
|
-
type: 'options',
|
|
318
|
-
noDataExpression: true,
|
|
298
|
+
...appIdField,
|
|
319
299
|
displayOptions: {
|
|
320
300
|
show: {
|
|
321
301
|
resource: ['apps'],
|
|
302
|
+
operation: ['listInsights'],
|
|
322
303
|
},
|
|
323
304
|
},
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
305
|
+
description: 'List insight analyses for the app',
|
|
306
|
+
},
|
|
307
|
+
];
|
|
308
|
+
exports.appsInsightRecommendDescription = [
|
|
309
|
+
{
|
|
310
|
+
...appIdField,
|
|
311
|
+
displayOptions: {
|
|
312
|
+
show: {
|
|
313
|
+
resource: ['apps'],
|
|
314
|
+
operation: ['recommendInsights'],
|
|
330
315
|
},
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
316
|
+
},
|
|
317
|
+
description: 'Recommend insights for the app',
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
displayName: 'Recommendation Body (JSON)',
|
|
321
|
+
name: 'body',
|
|
322
|
+
type: 'json',
|
|
323
|
+
default: '{}',
|
|
324
|
+
required: true,
|
|
325
|
+
displayOptions: {
|
|
326
|
+
show: {
|
|
327
|
+
resource: ['apps'],
|
|
328
|
+
operation: ['recommendInsights'],
|
|
336
329
|
},
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
330
|
+
},
|
|
331
|
+
description: 'Payload describing fields/measures to recommend insights for',
|
|
332
|
+
},
|
|
333
|
+
];
|
|
334
|
+
exports.appsInsightModelDescription = [
|
|
335
|
+
{
|
|
336
|
+
...appIdField,
|
|
337
|
+
displayOptions: {
|
|
338
|
+
show: {
|
|
339
|
+
resource: ['apps'],
|
|
340
|
+
operation: ['getInsightModel'],
|
|
342
341
|
},
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
342
|
+
},
|
|
343
|
+
description: 'Retrieve the insight analyses model',
|
|
344
|
+
},
|
|
345
|
+
];
|
|
346
|
+
exports.appsMediaGetFileDescription = [
|
|
347
|
+
{
|
|
348
|
+
...appIdField,
|
|
349
|
+
displayOptions: {
|
|
350
|
+
show: {
|
|
351
|
+
resource: ['apps'],
|
|
352
|
+
operation: ['mediaGetFile'],
|
|
348
353
|
},
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
+
},
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
displayName: 'File Path',
|
|
358
|
+
name: 'path',
|
|
359
|
+
type: 'string',
|
|
360
|
+
default: '',
|
|
361
|
+
required: true,
|
|
362
|
+
displayOptions: {
|
|
363
|
+
show: {
|
|
364
|
+
resource: ['apps'],
|
|
365
|
+
operation: ['mediaGetFile'],
|
|
354
366
|
},
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
367
|
+
},
|
|
368
|
+
description: 'Path within the app media folder (e.g. my/image.png)',
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
displayName: 'Binary Property',
|
|
372
|
+
name: 'binaryProperty',
|
|
373
|
+
type: 'string',
|
|
374
|
+
default: 'data',
|
|
375
|
+
displayOptions: {
|
|
376
|
+
show: {
|
|
377
|
+
resource: ['apps'],
|
|
378
|
+
operation: ['mediaGetFile'],
|
|
360
379
|
},
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
380
|
+
},
|
|
381
|
+
description: 'Name of the binary property to store the file in',
|
|
382
|
+
},
|
|
383
|
+
];
|
|
384
|
+
exports.appsMediaUploadFileDescription = [
|
|
385
|
+
{
|
|
386
|
+
...appIdField,
|
|
387
|
+
displayOptions: {
|
|
388
|
+
show: {
|
|
389
|
+
resource: ['apps'],
|
|
390
|
+
operation: ['mediaUploadFile'],
|
|
366
391
|
},
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
392
|
+
},
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
displayName: 'File Path',
|
|
396
|
+
name: 'path',
|
|
397
|
+
type: 'string',
|
|
398
|
+
default: '',
|
|
399
|
+
required: true,
|
|
400
|
+
displayOptions: {
|
|
401
|
+
show: {
|
|
402
|
+
resource: ['apps'],
|
|
403
|
+
operation: ['mediaUploadFile'],
|
|
372
404
|
},
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
405
|
+
},
|
|
406
|
+
description: 'Path within the app media folder to upload to',
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
displayName: 'Binary Property',
|
|
410
|
+
name: 'binaryProperty',
|
|
411
|
+
type: 'string',
|
|
412
|
+
default: 'data',
|
|
413
|
+
displayOptions: {
|
|
414
|
+
show: {
|
|
415
|
+
resource: ['apps'],
|
|
416
|
+
operation: ['mediaUploadFile'],
|
|
417
|
+
},
|
|
418
|
+
},
|
|
419
|
+
description: 'Name of the incoming binary property to upload',
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
displayName: 'Content Type',
|
|
423
|
+
name: 'contentType',
|
|
424
|
+
type: 'string',
|
|
425
|
+
default: 'application/octet-stream',
|
|
426
|
+
displayOptions: {
|
|
427
|
+
show: {
|
|
428
|
+
resource: ['apps'],
|
|
429
|
+
operation: ['mediaUploadFile'],
|
|
430
|
+
},
|
|
431
|
+
},
|
|
432
|
+
description: 'MIME type for the upload',
|
|
433
|
+
},
|
|
434
|
+
];
|
|
435
|
+
exports.appsMediaDeleteFileDescription = [
|
|
436
|
+
{
|
|
437
|
+
...appIdField,
|
|
438
|
+
displayOptions: {
|
|
439
|
+
show: {
|
|
440
|
+
resource: ['apps'],
|
|
441
|
+
operation: ['mediaDeleteFile'],
|
|
442
|
+
},
|
|
443
|
+
},
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
displayName: 'File Path',
|
|
447
|
+
name: 'path',
|
|
448
|
+
type: 'string',
|
|
449
|
+
default: '',
|
|
450
|
+
required: true,
|
|
451
|
+
displayOptions: {
|
|
452
|
+
show: {
|
|
453
|
+
resource: ['apps'],
|
|
454
|
+
operation: ['mediaDeleteFile'],
|
|
455
|
+
},
|
|
456
|
+
},
|
|
457
|
+
description: 'Path within the app media folder to delete',
|
|
458
|
+
},
|
|
459
|
+
];
|
|
460
|
+
exports.appsMediaListDescription = [
|
|
461
|
+
{
|
|
462
|
+
...appIdField,
|
|
463
|
+
displayOptions: {
|
|
464
|
+
show: {
|
|
465
|
+
resource: ['apps'],
|
|
466
|
+
operation: ['mediaList'],
|
|
467
|
+
},
|
|
468
|
+
},
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
displayName: 'Folder Path',
|
|
472
|
+
name: 'path',
|
|
473
|
+
type: 'string',
|
|
474
|
+
default: '',
|
|
475
|
+
displayOptions: {
|
|
476
|
+
show: {
|
|
477
|
+
resource: ['apps'],
|
|
478
|
+
operation: ['mediaList'],
|
|
479
|
+
},
|
|
480
|
+
},
|
|
481
|
+
description: 'Folder path to list (empty for root)',
|
|
482
|
+
},
|
|
483
|
+
];
|
|
484
|
+
exports.appsMediaThumbnailDescription = [
|
|
485
|
+
{
|
|
486
|
+
...appIdField,
|
|
487
|
+
displayOptions: {
|
|
488
|
+
show: {
|
|
489
|
+
resource: ['apps'],
|
|
490
|
+
operation: ['mediaThumbnail'],
|
|
491
|
+
},
|
|
492
|
+
},
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
displayName: 'Binary Property',
|
|
496
|
+
name: 'binaryProperty',
|
|
497
|
+
type: 'string',
|
|
498
|
+
default: 'thumbnail',
|
|
499
|
+
displayOptions: {
|
|
500
|
+
show: {
|
|
501
|
+
resource: ['apps'],
|
|
502
|
+
operation: ['mediaThumbnail'],
|
|
503
|
+
},
|
|
504
|
+
},
|
|
505
|
+
description: 'Name of the binary property to store the thumbnail in',
|
|
506
|
+
},
|
|
507
|
+
];
|
|
508
|
+
exports.appsChangeObjectOwnerDescription = [
|
|
509
|
+
{
|
|
510
|
+
...appIdField,
|
|
511
|
+
displayOptions: {
|
|
512
|
+
show: {
|
|
513
|
+
resource: ['apps'],
|
|
514
|
+
operation: ['changeObjectOwner'],
|
|
378
515
|
},
|
|
516
|
+
},
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
displayName: 'Object ID',
|
|
520
|
+
name: 'objectId',
|
|
521
|
+
type: 'string',
|
|
522
|
+
default: '',
|
|
523
|
+
required: true,
|
|
524
|
+
displayOptions: {
|
|
525
|
+
show: {
|
|
526
|
+
resource: ['apps'],
|
|
527
|
+
operation: ['changeObjectOwner'],
|
|
528
|
+
},
|
|
529
|
+
},
|
|
530
|
+
description: 'App object ID to transfer ownership for',
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
displayName: 'New Owner ID',
|
|
534
|
+
name: 'ownerId',
|
|
535
|
+
type: 'string',
|
|
536
|
+
default: '',
|
|
537
|
+
required: true,
|
|
538
|
+
displayOptions: {
|
|
539
|
+
show: {
|
|
540
|
+
resource: ['apps'],
|
|
541
|
+
operation: ['changeObjectOwner'],
|
|
542
|
+
},
|
|
543
|
+
},
|
|
544
|
+
description: 'User ID of the new owner',
|
|
545
|
+
},
|
|
546
|
+
];
|
|
547
|
+
exports.appsUpdateOwnerDescription = [
|
|
548
|
+
{
|
|
549
|
+
...appIdField,
|
|
550
|
+
displayOptions: {
|
|
551
|
+
show: {
|
|
552
|
+
resource: ['apps'],
|
|
553
|
+
operation: ['updateOwner'],
|
|
554
|
+
},
|
|
555
|
+
},
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
displayName: 'New Owner ID',
|
|
559
|
+
name: 'ownerId',
|
|
560
|
+
type: 'string',
|
|
561
|
+
default: '',
|
|
562
|
+
required: true,
|
|
563
|
+
displayOptions: {
|
|
564
|
+
show: {
|
|
565
|
+
resource: ['apps'],
|
|
566
|
+
operation: ['updateOwner'],
|
|
567
|
+
},
|
|
568
|
+
},
|
|
569
|
+
description: 'User ID of the new app owner',
|
|
570
|
+
},
|
|
571
|
+
];
|
|
572
|
+
exports.appsReloadLogsDescription = [
|
|
573
|
+
{
|
|
574
|
+
...appIdField,
|
|
575
|
+
displayOptions: {
|
|
576
|
+
show: {
|
|
577
|
+
resource: ['apps'],
|
|
578
|
+
operation: ['reloadLogs'],
|
|
579
|
+
},
|
|
580
|
+
},
|
|
581
|
+
description: 'App ID whose reload logs will be listed',
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
displayName: 'Return All',
|
|
585
|
+
name: 'returnAll',
|
|
586
|
+
type: 'boolean',
|
|
587
|
+
default: false,
|
|
588
|
+
displayOptions: {
|
|
589
|
+
show: {
|
|
590
|
+
resource: ['apps'],
|
|
591
|
+
operation: ['reloadLogs'],
|
|
592
|
+
},
|
|
593
|
+
},
|
|
594
|
+
description: 'Whether to return all reload logs',
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
displayName: 'Limit',
|
|
598
|
+
name: 'limit',
|
|
599
|
+
type: 'number',
|
|
600
|
+
default: 50,
|
|
601
|
+
displayOptions: {
|
|
602
|
+
show: {
|
|
603
|
+
resource: ['apps'],
|
|
604
|
+
operation: ['reloadLogs'],
|
|
605
|
+
returnAll: [false],
|
|
606
|
+
},
|
|
607
|
+
},
|
|
608
|
+
description: 'Max number of reload logs to return',
|
|
609
|
+
},
|
|
610
|
+
];
|
|
611
|
+
exports.appsReloadLogDescription = [
|
|
612
|
+
{
|
|
613
|
+
...appIdField,
|
|
614
|
+
displayOptions: {
|
|
615
|
+
show: {
|
|
616
|
+
resource: ['apps'],
|
|
617
|
+
operation: ['reloadLog'],
|
|
618
|
+
},
|
|
619
|
+
},
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
displayName: 'Reload ID',
|
|
623
|
+
name: 'reloadId',
|
|
624
|
+
type: 'string',
|
|
625
|
+
default: '',
|
|
626
|
+
required: true,
|
|
627
|
+
displayOptions: {
|
|
628
|
+
show: {
|
|
629
|
+
resource: ['apps'],
|
|
630
|
+
operation: ['reloadLog'],
|
|
631
|
+
},
|
|
632
|
+
},
|
|
633
|
+
description: 'Reload ID whose log will be fetched',
|
|
634
|
+
},
|
|
635
|
+
];
|
|
636
|
+
exports.appsReloadMetadataDescription = [
|
|
637
|
+
{
|
|
638
|
+
...appIdField,
|
|
639
|
+
displayOptions: {
|
|
640
|
+
show: {
|
|
641
|
+
resource: ['apps'],
|
|
642
|
+
operation: ['reloadMetadata'],
|
|
643
|
+
},
|
|
644
|
+
},
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
displayName: 'Reload ID',
|
|
648
|
+
name: 'reloadId',
|
|
649
|
+
type: 'string',
|
|
650
|
+
default: '',
|
|
651
|
+
required: true,
|
|
652
|
+
displayOptions: {
|
|
653
|
+
show: {
|
|
654
|
+
resource: ['apps'],
|
|
655
|
+
operation: ['reloadMetadata'],
|
|
656
|
+
},
|
|
657
|
+
},
|
|
658
|
+
description: 'Reload ID whose metadata will be fetched',
|
|
659
|
+
},
|
|
660
|
+
];
|
|
661
|
+
exports.appsReportFiltersGetAllDescription = [
|
|
662
|
+
{
|
|
663
|
+
...appIdField,
|
|
664
|
+
displayOptions: {
|
|
665
|
+
show: {
|
|
666
|
+
resource: ['apps'],
|
|
667
|
+
operation: ['reportFiltersGetAll'],
|
|
668
|
+
},
|
|
669
|
+
},
|
|
670
|
+
description: 'App ID whose report filters will be listed',
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
displayName: 'Return All',
|
|
674
|
+
name: 'returnAll',
|
|
675
|
+
type: 'boolean',
|
|
676
|
+
default: false,
|
|
677
|
+
displayOptions: {
|
|
678
|
+
show: {
|
|
679
|
+
resource: ['apps'],
|
|
680
|
+
operation: ['reportFiltersGetAll'],
|
|
681
|
+
},
|
|
682
|
+
},
|
|
683
|
+
description: 'Whether to return all report filters',
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
displayName: 'Limit',
|
|
687
|
+
name: 'limit',
|
|
688
|
+
type: 'number',
|
|
689
|
+
default: 50,
|
|
690
|
+
displayOptions: {
|
|
691
|
+
show: {
|
|
692
|
+
resource: ['apps'],
|
|
693
|
+
operation: ['reportFiltersGetAll'],
|
|
694
|
+
returnAll: [false],
|
|
695
|
+
},
|
|
696
|
+
},
|
|
697
|
+
description: 'Max number of report filters to return',
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
displayName: 'Options',
|
|
701
|
+
name: 'options',
|
|
702
|
+
type: 'collection',
|
|
703
|
+
placeholder: 'Add Option',
|
|
704
|
+
default: {},
|
|
705
|
+
displayOptions: {
|
|
706
|
+
show: {
|
|
707
|
+
resource: ['apps'],
|
|
708
|
+
operation: ['reportFiltersGetAll'],
|
|
709
|
+
},
|
|
710
|
+
},
|
|
711
|
+
options: [
|
|
712
|
+
{
|
|
713
|
+
displayName: 'Filter Query',
|
|
714
|
+
name: 'filter',
|
|
715
|
+
type: 'string',
|
|
716
|
+
default: '',
|
|
717
|
+
description: 'Free text filter for report filters',
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
displayName: 'Filter Types',
|
|
721
|
+
name: 'filterTypes',
|
|
722
|
+
type: 'string',
|
|
723
|
+
default: '',
|
|
724
|
+
description: 'Comma separated filter types (e.g. REP)',
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
displayName: 'Page',
|
|
728
|
+
name: 'page',
|
|
729
|
+
type: 'number',
|
|
730
|
+
default: 0,
|
|
731
|
+
description: 'Page number (0-based) when not returning all',
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
displayName: 'Sort',
|
|
735
|
+
name: 'sort',
|
|
736
|
+
type: 'string',
|
|
737
|
+
default: '',
|
|
738
|
+
description: 'Sort expression, e.g. +name or -name',
|
|
739
|
+
},
|
|
740
|
+
],
|
|
741
|
+
},
|
|
742
|
+
];
|
|
743
|
+
exports.appsReportFiltersCreateDescription = [
|
|
744
|
+
{
|
|
745
|
+
...appIdField,
|
|
746
|
+
displayOptions: {
|
|
747
|
+
show: {
|
|
748
|
+
resource: ['apps'],
|
|
749
|
+
operation: ['reportFiltersCreate'],
|
|
750
|
+
},
|
|
751
|
+
},
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
displayName: 'Filter Body (JSON)',
|
|
755
|
+
name: 'body',
|
|
756
|
+
type: 'json',
|
|
757
|
+
default: '{}',
|
|
758
|
+
required: true,
|
|
759
|
+
displayOptions: {
|
|
760
|
+
show: {
|
|
761
|
+
resource: ['apps'],
|
|
762
|
+
operation: ['reportFiltersCreate'],
|
|
763
|
+
},
|
|
764
|
+
},
|
|
765
|
+
description: 'Report filter definition to create',
|
|
766
|
+
},
|
|
767
|
+
];
|
|
768
|
+
exports.appsReportFiltersGetDescription = [
|
|
769
|
+
{
|
|
770
|
+
...appIdField,
|
|
771
|
+
displayOptions: {
|
|
772
|
+
show: {
|
|
773
|
+
resource: ['apps'],
|
|
774
|
+
operation: ['reportFiltersGet'],
|
|
775
|
+
},
|
|
776
|
+
},
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
displayName: 'Filter ID',
|
|
780
|
+
name: 'filterId',
|
|
781
|
+
type: 'string',
|
|
782
|
+
default: '',
|
|
783
|
+
required: true,
|
|
784
|
+
displayOptions: {
|
|
785
|
+
show: {
|
|
786
|
+
resource: ['apps'],
|
|
787
|
+
operation: ['reportFiltersGet'],
|
|
788
|
+
},
|
|
789
|
+
},
|
|
790
|
+
description: 'Report filter ID to retrieve',
|
|
791
|
+
},
|
|
792
|
+
];
|
|
793
|
+
exports.appsReportFiltersUpdateDescription = [
|
|
794
|
+
{
|
|
795
|
+
...appIdField,
|
|
796
|
+
displayOptions: {
|
|
797
|
+
show: {
|
|
798
|
+
resource: ['apps'],
|
|
799
|
+
operation: ['reportFiltersUpdate'],
|
|
800
|
+
},
|
|
801
|
+
},
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
displayName: 'Filter ID',
|
|
805
|
+
name: 'filterId',
|
|
806
|
+
type: 'string',
|
|
807
|
+
default: '',
|
|
808
|
+
required: true,
|
|
809
|
+
displayOptions: {
|
|
810
|
+
show: {
|
|
811
|
+
resource: ['apps'],
|
|
812
|
+
operation: ['reportFiltersUpdate'],
|
|
813
|
+
},
|
|
814
|
+
},
|
|
815
|
+
},
|
|
816
|
+
{
|
|
817
|
+
displayName: 'Update Body (JSON)',
|
|
818
|
+
name: 'body',
|
|
819
|
+
type: 'json',
|
|
820
|
+
default: '{}',
|
|
821
|
+
required: true,
|
|
822
|
+
displayOptions: {
|
|
823
|
+
show: {
|
|
824
|
+
resource: ['apps'],
|
|
825
|
+
operation: ['reportFiltersUpdate'],
|
|
826
|
+
},
|
|
827
|
+
},
|
|
828
|
+
description: 'Patch document for the report filter',
|
|
829
|
+
},
|
|
830
|
+
];
|
|
831
|
+
exports.appsReportFiltersDeleteDescription = [
|
|
832
|
+
{
|
|
833
|
+
...appIdField,
|
|
834
|
+
displayOptions: {
|
|
835
|
+
show: {
|
|
836
|
+
resource: ['apps'],
|
|
837
|
+
operation: ['reportFiltersDelete'],
|
|
838
|
+
},
|
|
839
|
+
},
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
displayName: 'Filter ID',
|
|
843
|
+
name: 'filterId',
|
|
844
|
+
type: 'string',
|
|
845
|
+
default: '',
|
|
846
|
+
required: true,
|
|
847
|
+
displayOptions: {
|
|
848
|
+
show: {
|
|
849
|
+
resource: ['apps'],
|
|
850
|
+
operation: ['reportFiltersDelete'],
|
|
851
|
+
},
|
|
852
|
+
},
|
|
853
|
+
},
|
|
854
|
+
];
|
|
855
|
+
exports.appsReportFiltersCountDescription = [
|
|
856
|
+
{
|
|
857
|
+
...appIdField,
|
|
858
|
+
displayOptions: {
|
|
859
|
+
show: {
|
|
860
|
+
resource: ['apps'],
|
|
861
|
+
operation: ['reportFiltersCount'],
|
|
862
|
+
},
|
|
863
|
+
},
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
displayName: 'Options',
|
|
867
|
+
name: 'options',
|
|
868
|
+
type: 'collection',
|
|
869
|
+
placeholder: 'Add Option',
|
|
870
|
+
default: {},
|
|
871
|
+
displayOptions: {
|
|
872
|
+
show: {
|
|
873
|
+
resource: ['apps'],
|
|
874
|
+
operation: ['reportFiltersCount'],
|
|
875
|
+
},
|
|
876
|
+
},
|
|
877
|
+
options: [
|
|
878
|
+
{
|
|
879
|
+
displayName: 'Filter Query',
|
|
880
|
+
name: 'filter',
|
|
881
|
+
type: 'string',
|
|
882
|
+
default: '',
|
|
883
|
+
description: 'Free text filter for report filters',
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
displayName: 'Filter Types',
|
|
887
|
+
name: 'filterTypes',
|
|
888
|
+
type: 'string',
|
|
889
|
+
default: '',
|
|
890
|
+
description: 'Comma separated filter types (e.g. REP)',
|
|
891
|
+
},
|
|
892
|
+
],
|
|
893
|
+
},
|
|
894
|
+
];
|
|
895
|
+
exports.appsScriptsGetAllDescription = [
|
|
896
|
+
{
|
|
897
|
+
...appIdField,
|
|
898
|
+
displayOptions: {
|
|
899
|
+
show: {
|
|
900
|
+
resource: ['apps'],
|
|
901
|
+
operation: ['scriptsGetAll'],
|
|
902
|
+
},
|
|
903
|
+
},
|
|
904
|
+
description: 'List load scripts for the app',
|
|
905
|
+
},
|
|
906
|
+
];
|
|
907
|
+
exports.appsScriptsCreateDescription = [
|
|
908
|
+
{
|
|
909
|
+
...appIdField,
|
|
910
|
+
displayOptions: {
|
|
911
|
+
show: {
|
|
912
|
+
resource: ['apps'],
|
|
913
|
+
operation: ['scriptsCreate'],
|
|
914
|
+
},
|
|
915
|
+
},
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
displayName: 'Script Body (JSON)',
|
|
919
|
+
name: 'body',
|
|
920
|
+
type: 'json',
|
|
921
|
+
default: '{}',
|
|
922
|
+
required: true,
|
|
923
|
+
displayOptions: {
|
|
924
|
+
show: {
|
|
925
|
+
resource: ['apps'],
|
|
926
|
+
operation: ['scriptsCreate'],
|
|
927
|
+
},
|
|
928
|
+
},
|
|
929
|
+
description: 'Script definition to create',
|
|
930
|
+
},
|
|
931
|
+
];
|
|
932
|
+
exports.appsScriptsGetDescription = [
|
|
933
|
+
{
|
|
934
|
+
...appIdField,
|
|
935
|
+
displayOptions: {
|
|
936
|
+
show: {
|
|
937
|
+
resource: ['apps'],
|
|
938
|
+
operation: ['scriptsGet'],
|
|
939
|
+
},
|
|
940
|
+
},
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
displayName: 'Script ID',
|
|
944
|
+
name: 'scriptId',
|
|
945
|
+
type: 'string',
|
|
946
|
+
default: '',
|
|
947
|
+
required: true,
|
|
948
|
+
displayOptions: {
|
|
949
|
+
show: {
|
|
950
|
+
resource: ['apps'],
|
|
951
|
+
operation: ['scriptsGet'],
|
|
952
|
+
},
|
|
953
|
+
},
|
|
954
|
+
description: 'Script ID to retrieve',
|
|
955
|
+
},
|
|
956
|
+
];
|
|
957
|
+
exports.appsScriptsUpdateDescription = [
|
|
958
|
+
{
|
|
959
|
+
...appIdField,
|
|
960
|
+
displayOptions: {
|
|
961
|
+
show: {
|
|
962
|
+
resource: ['apps'],
|
|
963
|
+
operation: ['scriptsUpdate'],
|
|
964
|
+
},
|
|
965
|
+
},
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
displayName: 'Script ID',
|
|
969
|
+
name: 'scriptId',
|
|
970
|
+
type: 'string',
|
|
971
|
+
default: '',
|
|
972
|
+
required: true,
|
|
973
|
+
displayOptions: {
|
|
974
|
+
show: {
|
|
975
|
+
resource: ['apps'],
|
|
976
|
+
operation: ['scriptsUpdate'],
|
|
977
|
+
},
|
|
978
|
+
},
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
displayName: 'Update Body (JSON)',
|
|
982
|
+
name: 'body',
|
|
983
|
+
type: 'json',
|
|
984
|
+
default: '{}',
|
|
985
|
+
required: true,
|
|
986
|
+
displayOptions: {
|
|
987
|
+
show: {
|
|
988
|
+
resource: ['apps'],
|
|
989
|
+
operation: ['scriptsUpdate'],
|
|
990
|
+
},
|
|
991
|
+
},
|
|
992
|
+
description: 'Patch document for the script',
|
|
993
|
+
},
|
|
994
|
+
];
|
|
995
|
+
exports.appsScriptsDeleteDescription = [
|
|
996
|
+
{
|
|
997
|
+
...appIdField,
|
|
998
|
+
displayOptions: {
|
|
999
|
+
show: {
|
|
1000
|
+
resource: ['apps'],
|
|
1001
|
+
operation: ['scriptsDelete'],
|
|
1002
|
+
},
|
|
1003
|
+
},
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
displayName: 'Script ID',
|
|
1007
|
+
name: 'scriptId',
|
|
1008
|
+
type: 'string',
|
|
1009
|
+
default: '',
|
|
1010
|
+
required: true,
|
|
1011
|
+
displayOptions: {
|
|
1012
|
+
show: {
|
|
1013
|
+
resource: ['apps'],
|
|
1014
|
+
operation: ['scriptsDelete'],
|
|
1015
|
+
},
|
|
1016
|
+
},
|
|
1017
|
+
},
|
|
1018
|
+
];
|
|
1019
|
+
exports.appsSpaceMoveDescription = [
|
|
1020
|
+
{
|
|
1021
|
+
...appIdField,
|
|
1022
|
+
displayOptions: {
|
|
1023
|
+
show: {
|
|
1024
|
+
resource: ['apps'],
|
|
1025
|
+
operation: ['moveToSpace'],
|
|
1026
|
+
},
|
|
1027
|
+
},
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
displayName: 'Target Space ID',
|
|
1031
|
+
name: 'spaceId',
|
|
1032
|
+
type: 'string',
|
|
1033
|
+
default: '',
|
|
1034
|
+
required: true,
|
|
1035
|
+
displayOptions: {
|
|
1036
|
+
show: {
|
|
1037
|
+
resource: ['apps'],
|
|
1038
|
+
operation: ['moveToSpace'],
|
|
1039
|
+
},
|
|
1040
|
+
},
|
|
1041
|
+
description: 'Space ID to move the app to',
|
|
1042
|
+
},
|
|
1043
|
+
];
|
|
1044
|
+
exports.appsSpaceRemoveDescription = [
|
|
1045
|
+
{
|
|
1046
|
+
...appIdField,
|
|
1047
|
+
displayOptions: {
|
|
1048
|
+
show: {
|
|
1049
|
+
resource: ['apps'],
|
|
1050
|
+
operation: ['removeFromSpace'],
|
|
1051
|
+
},
|
|
1052
|
+
},
|
|
1053
|
+
description: 'Remove the app from its current space',
|
|
1054
|
+
},
|
|
1055
|
+
];
|
|
1056
|
+
exports.appsEvaluationsGetAllDescription = [
|
|
1057
|
+
{
|
|
1058
|
+
...appIdField,
|
|
1059
|
+
displayOptions: {
|
|
1060
|
+
show: {
|
|
1061
|
+
resource: ['apps'],
|
|
1062
|
+
operation: ['evaluationsGetAll'],
|
|
1063
|
+
},
|
|
1064
|
+
},
|
|
1065
|
+
},
|
|
1066
|
+
];
|
|
1067
|
+
exports.appsEvaluationsCreateDescription = [
|
|
1068
|
+
{
|
|
1069
|
+
...appIdField,
|
|
1070
|
+
displayOptions: {
|
|
1071
|
+
show: {
|
|
1072
|
+
resource: ['apps'],
|
|
1073
|
+
operation: ['evaluationsCreate'],
|
|
1074
|
+
},
|
|
1075
|
+
},
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
displayName: 'Evaluation Body (JSON)',
|
|
1079
|
+
name: 'body',
|
|
1080
|
+
type: 'json',
|
|
1081
|
+
default: '{}',
|
|
1082
|
+
required: true,
|
|
1083
|
+
displayOptions: {
|
|
1084
|
+
show: {
|
|
1085
|
+
resource: ['apps'],
|
|
1086
|
+
operation: ['evaluationsCreate'],
|
|
1087
|
+
},
|
|
1088
|
+
},
|
|
1089
|
+
description: 'Evaluation definition to create',
|
|
1090
|
+
},
|
|
1091
|
+
];
|
|
1092
|
+
exports.appsEvaluationsCompareDescription = [
|
|
1093
|
+
{
|
|
1094
|
+
displayName: 'Base Evaluation ID',
|
|
1095
|
+
name: 'baseEvaluationId',
|
|
1096
|
+
type: 'string',
|
|
1097
|
+
default: '',
|
|
1098
|
+
required: true,
|
|
1099
|
+
displayOptions: {
|
|
1100
|
+
show: {
|
|
1101
|
+
resource: ['apps'],
|
|
1102
|
+
operation: ['evaluationsCompare'],
|
|
1103
|
+
},
|
|
1104
|
+
},
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
displayName: 'Comparison Evaluation ID',
|
|
1108
|
+
name: 'comparisonEvaluationId',
|
|
1109
|
+
type: 'string',
|
|
1110
|
+
default: '',
|
|
1111
|
+
required: true,
|
|
1112
|
+
displayOptions: {
|
|
1113
|
+
show: {
|
|
1114
|
+
resource: ['apps'],
|
|
1115
|
+
operation: ['evaluationsCompare'],
|
|
1116
|
+
},
|
|
1117
|
+
},
|
|
1118
|
+
},
|
|
1119
|
+
];
|
|
1120
|
+
exports.appsEvaluationsDownloadCompareDescription = [
|
|
1121
|
+
{
|
|
1122
|
+
displayName: 'Base Evaluation ID',
|
|
1123
|
+
name: 'baseEvaluationId',
|
|
1124
|
+
type: 'string',
|
|
1125
|
+
default: '',
|
|
1126
|
+
required: true,
|
|
1127
|
+
displayOptions: {
|
|
1128
|
+
show: {
|
|
1129
|
+
resource: ['apps'],
|
|
1130
|
+
operation: ['evaluationsDownloadCompare'],
|
|
1131
|
+
},
|
|
1132
|
+
},
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
displayName: 'Comparison Evaluation ID',
|
|
1136
|
+
name: 'comparisonEvaluationId',
|
|
1137
|
+
type: 'string',
|
|
1138
|
+
default: '',
|
|
1139
|
+
required: true,
|
|
1140
|
+
displayOptions: {
|
|
1141
|
+
show: {
|
|
1142
|
+
resource: ['apps'],
|
|
1143
|
+
operation: ['evaluationsDownloadCompare'],
|
|
1144
|
+
},
|
|
1145
|
+
},
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
displayName: 'Binary Property',
|
|
1149
|
+
name: 'binaryProperty',
|
|
1150
|
+
type: 'string',
|
|
1151
|
+
default: 'comparison',
|
|
1152
|
+
displayOptions: {
|
|
1153
|
+
show: {
|
|
1154
|
+
resource: ['apps'],
|
|
1155
|
+
operation: ['evaluationsDownloadCompare'],
|
|
1156
|
+
},
|
|
1157
|
+
},
|
|
1158
|
+
description: 'Binary property to store the download in',
|
|
1159
|
+
},
|
|
1160
|
+
];
|
|
1161
|
+
exports.appsEvaluationGetDescription = [
|
|
1162
|
+
{
|
|
1163
|
+
displayName: 'Evaluation ID',
|
|
1164
|
+
name: 'evaluationId',
|
|
1165
|
+
type: 'string',
|
|
1166
|
+
default: '',
|
|
1167
|
+
required: true,
|
|
1168
|
+
displayOptions: {
|
|
1169
|
+
show: {
|
|
1170
|
+
resource: ['apps'],
|
|
1171
|
+
operation: ['evaluationGet'],
|
|
1172
|
+
},
|
|
1173
|
+
},
|
|
1174
|
+
description: 'Evaluation ID to retrieve',
|
|
1175
|
+
},
|
|
1176
|
+
];
|
|
1177
|
+
exports.appsEvaluationDownloadDescription = [
|
|
1178
|
+
{
|
|
1179
|
+
displayName: 'Evaluation ID',
|
|
1180
|
+
name: 'evaluationId',
|
|
1181
|
+
type: 'string',
|
|
1182
|
+
default: '',
|
|
1183
|
+
required: true,
|
|
1184
|
+
displayOptions: {
|
|
1185
|
+
show: {
|
|
1186
|
+
resource: ['apps'],
|
|
1187
|
+
operation: ['evaluationDownload'],
|
|
1188
|
+
},
|
|
1189
|
+
},
|
|
1190
|
+
},
|
|
1191
|
+
{
|
|
1192
|
+
displayName: 'Binary Property',
|
|
1193
|
+
name: 'binaryProperty',
|
|
1194
|
+
type: 'string',
|
|
1195
|
+
default: 'evaluation',
|
|
1196
|
+
displayOptions: {
|
|
1197
|
+
show: {
|
|
1198
|
+
resource: ['apps'],
|
|
1199
|
+
operation: ['evaluationDownload'],
|
|
1200
|
+
},
|
|
1201
|
+
},
|
|
1202
|
+
description: 'Binary property to store the download in',
|
|
1203
|
+
},
|
|
1204
|
+
];
|
|
1205
|
+
exports.appsImportDescription = [
|
|
1206
|
+
{
|
|
1207
|
+
displayName: 'Binary Property',
|
|
1208
|
+
name: 'binaryProperty',
|
|
1209
|
+
type: 'string',
|
|
1210
|
+
default: 'data',
|
|
1211
|
+
displayOptions: {
|
|
1212
|
+
show: {
|
|
1213
|
+
resource: ['apps'],
|
|
1214
|
+
operation: ['importApp'],
|
|
1215
|
+
},
|
|
1216
|
+
},
|
|
1217
|
+
description: 'Binary property containing the QVF file to import',
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
displayName: 'Options',
|
|
1221
|
+
name: 'options',
|
|
1222
|
+
type: 'collection',
|
|
1223
|
+
placeholder: 'Add Option',
|
|
1224
|
+
default: {},
|
|
1225
|
+
displayOptions: {
|
|
1226
|
+
show: {
|
|
1227
|
+
resource: ['apps'],
|
|
1228
|
+
operation: ['importApp'],
|
|
1229
|
+
},
|
|
1230
|
+
},
|
|
1231
|
+
options: [
|
|
1232
|
+
{
|
|
1233
|
+
displayName: 'App Name',
|
|
1234
|
+
name: 'name',
|
|
1235
|
+
type: 'string',
|
|
1236
|
+
default: '',
|
|
1237
|
+
description: 'Name to use for the imported app',
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
displayName: 'Space ID',
|
|
1241
|
+
name: 'spaceId',
|
|
1242
|
+
type: 'string',
|
|
1243
|
+
default: '',
|
|
1244
|
+
description: 'Space ID to place the imported app in',
|
|
1245
|
+
},
|
|
1246
|
+
],
|
|
1247
|
+
},
|
|
1248
|
+
];
|
|
1249
|
+
exports.appsValidateScriptDescription = [
|
|
1250
|
+
{
|
|
1251
|
+
displayName: 'Validation Body (JSON)',
|
|
1252
|
+
name: 'body',
|
|
1253
|
+
type: 'json',
|
|
1254
|
+
default: '{}',
|
|
1255
|
+
required: true,
|
|
1256
|
+
displayOptions: {
|
|
1257
|
+
show: {
|
|
1258
|
+
resource: ['apps'],
|
|
1259
|
+
operation: ['validateScript'],
|
|
1260
|
+
},
|
|
1261
|
+
},
|
|
1262
|
+
description: 'Script validation payload',
|
|
1263
|
+
},
|
|
1264
|
+
];
|
|
1265
|
+
exports.appsPrivilegesDescription = [
|
|
1266
|
+
{
|
|
1267
|
+
displayName: 'Options',
|
|
1268
|
+
name: 'options',
|
|
1269
|
+
type: 'collection',
|
|
1270
|
+
placeholder: 'Add Option',
|
|
1271
|
+
default: {},
|
|
1272
|
+
displayOptions: {
|
|
1273
|
+
show: {
|
|
1274
|
+
resource: ['apps'],
|
|
1275
|
+
operation: ['privileges'],
|
|
1276
|
+
},
|
|
1277
|
+
},
|
|
1278
|
+
options: [
|
|
1279
|
+
{
|
|
1280
|
+
displayName: 'Filter by Role',
|
|
1281
|
+
name: 'role',
|
|
1282
|
+
type: 'string',
|
|
1283
|
+
default: '',
|
|
1284
|
+
description: 'Filter privileges by role',
|
|
1285
|
+
},
|
|
1286
|
+
],
|
|
1287
|
+
},
|
|
1288
|
+
];
|
|
1289
|
+
exports.appDescription = [
|
|
1290
|
+
{
|
|
1291
|
+
displayName: 'Operation',
|
|
1292
|
+
name: 'operation',
|
|
1293
|
+
type: 'options',
|
|
1294
|
+
noDataExpression: true,
|
|
1295
|
+
displayOptions: {
|
|
1296
|
+
show: {
|
|
1297
|
+
resource: ['apps'],
|
|
1298
|
+
},
|
|
1299
|
+
},
|
|
1300
|
+
options: [
|
|
1301
|
+
{ name: 'Change Object Owner', value: 'changeObjectOwner', action: 'Change object owner', description: 'Transfer ownership of an app object' },
|
|
1302
|
+
{ name: 'Copy', value: 'copy', action: 'Copy an app', description: 'Create a copy of an app' },
|
|
1303
|
+
{ name: 'Create', value: 'create', action: 'Create an app', description: 'Create a new app' },
|
|
1304
|
+
{ name: 'Data Lineage', value: 'dataLineage', action: 'Get data lineage', description: 'Retrieve data lineage for an app' },
|
|
1305
|
+
{ name: 'Data Metadata', value: 'dataMetadata', action: 'Get data metadata', description: 'Retrieve data model metadata for an app' },
|
|
1306
|
+
{ name: 'Delete', value: 'delete', action: 'Delete an app', description: 'Delete an app' },
|
|
1307
|
+
{ name: 'Evaluation Download', value: 'evaluationDownload', action: 'Download evaluation', description: 'Download an evaluation result' },
|
|
1308
|
+
{ name: 'Evaluation Get', value: 'evaluationGet', action: 'Get evaluation', description: 'Retrieve a specific evaluation' },
|
|
1309
|
+
{ name: 'Evaluations Compare', value: 'evaluationsCompare', action: 'Compare evaluations', description: 'Compare two app evaluations' },
|
|
1310
|
+
{ name: 'Evaluations Download Compare', value: 'evaluationsDownloadCompare', action: 'Download evaluation comparison', description: 'Download comparison results between evaluations' },
|
|
1311
|
+
{ name: 'Evaluations Get All', value: 'evaluationsGetAll', action: 'List evaluations', description: 'List evaluations for an app' },
|
|
1312
|
+
{ name: 'Evaluations Create', value: 'evaluationsCreate', action: 'Create evaluation', description: 'Create a new evaluation for an app' },
|
|
1313
|
+
{ name: 'Export', value: 'export', action: 'Export an app', description: 'Export app data' },
|
|
1314
|
+
{ name: 'Get', value: 'get', action: 'Get an app', description: 'Retrieve a specific app by ID' },
|
|
1315
|
+
{ name: 'Get All', value: 'getAll', action: 'Get all apps', description: 'Retrieve all available apps' },
|
|
1316
|
+
{ name: 'Get Insight Model', value: 'getInsightModel', action: 'Get insight model', description: 'Retrieve the insight analyses model' },
|
|
1317
|
+
{ name: 'Import', value: 'importApp', action: 'Import an app', description: 'Import an app from a QVF file' },
|
|
1318
|
+
{ name: 'List Insight Analyses', value: 'listInsights', action: 'List insight analyses', description: 'List insight analyses for an app' },
|
|
1319
|
+
{ name: 'Media Delete File', value: 'mediaDeleteFile', action: 'Delete media file', description: 'Delete a media file in the app' },
|
|
1320
|
+
{ name: 'Media Get File', value: 'mediaGetFile', action: 'Download media file', description: 'Download a media file from the app' },
|
|
1321
|
+
{ name: 'Media List', value: 'mediaList', action: 'List media files', description: 'List media files in the app' },
|
|
1322
|
+
{ name: 'Media Thumbnail', value: 'mediaThumbnail', action: 'Get app thumbnail', description: 'Download app thumbnail' },
|
|
1323
|
+
{ name: 'Media Upload File', value: 'mediaUploadFile', action: 'Upload media file', description: 'Upload a media file to the app' },
|
|
1324
|
+
{ name: 'Move to Space', value: 'moveToSpace', action: 'Move app to space', description: 'Move app to another space' },
|
|
1325
|
+
{ name: 'Privileges', value: 'privileges', action: 'Get app privileges', description: 'Retrieve app access privileges' },
|
|
1326
|
+
{ name: 'Publish', value: 'publish', action: 'Publish an app', description: 'Publish an app to a space' },
|
|
1327
|
+
{ name: 'Reload Log', value: 'reloadLog', action: 'Get a reload log', description: 'Retrieve a specific reload log' },
|
|
1328
|
+
{ name: 'Reload Logs', value: 'reloadLogs', action: 'Get reload logs', description: 'Retrieve reload logs for an app' },
|
|
1329
|
+
{ name: 'Reload Metadata', value: 'reloadMetadata', action: 'Get reload metadata', description: 'Retrieve reload metadata for a reload' },
|
|
1330
|
+
{ name: 'Remove From Space', value: 'removeFromSpace', action: 'Remove app from space', description: 'Remove the app from its current space' },
|
|
1331
|
+
{ name: 'Report Filters Count', value: 'reportFiltersCount', action: 'Count report filters', description: 'Count report filters for an app' },
|
|
1332
|
+
{ name: 'Report Filters Create', value: 'reportFiltersCreate', action: 'Create report filter', description: 'Create a new report filter' },
|
|
1333
|
+
{ name: 'Report Filters Delete', value: 'reportFiltersDelete', action: 'Delete report filter', description: 'Delete a report filter' },
|
|
1334
|
+
{ name: 'Report Filters Get', value: 'reportFiltersGet', action: 'Get report filter', description: 'Retrieve a specific report filter' },
|
|
1335
|
+
{ name: 'Report Filters Get All', value: 'reportFiltersGetAll', action: 'List report filters', description: 'List report filters for an app' },
|
|
1336
|
+
{ name: 'Report Filters Update', value: 'reportFiltersUpdate', action: 'Update report filter', description: 'Update a report filter' },
|
|
1337
|
+
{ name: 'Republish', value: 'republish', action: 'Republish an app', description: 'Republish an app to a space' },
|
|
1338
|
+
{ name: 'Recommend Insights', value: 'recommendInsights', action: 'Recommend insights', description: 'Get recommended insights for an app' },
|
|
1339
|
+
{ name: 'Scripts Create', value: 'scriptsCreate', action: 'Create script', description: 'Create a new script entry' },
|
|
1340
|
+
{ name: 'Scripts Delete', value: 'scriptsDelete', action: 'Delete script', description: 'Delete a script entry' },
|
|
1341
|
+
{ name: 'Scripts Get', value: 'scriptsGet', action: 'Get script', description: 'Retrieve a specific script entry' },
|
|
1342
|
+
{ name: 'Scripts Get All', value: 'scriptsGetAll', action: 'List scripts', description: 'List scripts for an app' },
|
|
1343
|
+
{ name: 'Scripts Update', value: 'scriptsUpdate', action: 'Update script', description: 'Update a script entry' },
|
|
1344
|
+
{ name: 'Update', value: 'update', action: 'Update an app', description: 'Update app properties' },
|
|
1345
|
+
{ name: 'Update Owner', value: 'updateOwner', action: 'Update app owner', description: 'Transfer ownership of the app' },
|
|
1346
|
+
{ name: 'Validate Script', value: 'validateScript', action: 'Validate script', description: 'Validate a script for an app' },
|
|
379
1347
|
],
|
|
380
1348
|
default: 'getAll',
|
|
381
1349
|
},
|
|
@@ -387,5 +1355,41 @@ exports.appDescription = [
|
|
|
387
1355
|
...exports.appsCopyDescription,
|
|
388
1356
|
...exports.appsExportDescription,
|
|
389
1357
|
...exports.appsPublishDescription,
|
|
1358
|
+
...exports.appsDataLineageDescription,
|
|
1359
|
+
...exports.appsDataMetadataDescription,
|
|
1360
|
+
...exports.appsInsightAnalysesDescription,
|
|
1361
|
+
...exports.appsInsightRecommendDescription,
|
|
1362
|
+
...exports.appsInsightModelDescription,
|
|
1363
|
+
...exports.appsMediaGetFileDescription,
|
|
1364
|
+
...exports.appsMediaUploadFileDescription,
|
|
1365
|
+
...exports.appsMediaDeleteFileDescription,
|
|
1366
|
+
...exports.appsMediaListDescription,
|
|
1367
|
+
...exports.appsMediaThumbnailDescription,
|
|
1368
|
+
...exports.appsChangeObjectOwnerDescription,
|
|
1369
|
+
...exports.appsUpdateOwnerDescription,
|
|
1370
|
+
...exports.appsReloadLogsDescription,
|
|
1371
|
+
...exports.appsReloadLogDescription,
|
|
1372
|
+
...exports.appsReloadMetadataDescription,
|
|
1373
|
+
...exports.appsReportFiltersGetAllDescription,
|
|
1374
|
+
...exports.appsReportFiltersCreateDescription,
|
|
1375
|
+
...exports.appsReportFiltersGetDescription,
|
|
1376
|
+
...exports.appsReportFiltersUpdateDescription,
|
|
1377
|
+
...exports.appsReportFiltersDeleteDescription,
|
|
1378
|
+
...exports.appsReportFiltersCountDescription,
|
|
1379
|
+
...exports.appsScriptsGetAllDescription,
|
|
1380
|
+
...exports.appsScriptsCreateDescription,
|
|
1381
|
+
...exports.appsScriptsGetDescription,
|
|
1382
|
+
...exports.appsScriptsUpdateDescription,
|
|
1383
|
+
...exports.appsScriptsDeleteDescription,
|
|
1384
|
+
...exports.appsSpaceMoveDescription,
|
|
1385
|
+
...exports.appsSpaceRemoveDescription,
|
|
1386
|
+
...exports.appsEvaluationsGetAllDescription,
|
|
1387
|
+
...exports.appsEvaluationsCreateDescription,
|
|
1388
|
+
...exports.appsEvaluationsCompareDescription,
|
|
1389
|
+
...exports.appsEvaluationsDownloadCompareDescription,
|
|
1390
|
+
...exports.appsEvaluationGetDescription,
|
|
1391
|
+
...exports.appsEvaluationDownloadDescription,
|
|
1392
|
+
...exports.appsImportDescription,
|
|
1393
|
+
...exports.appsValidateScriptDescription,
|
|
390
1394
|
...exports.appsPrivilegesDescription,
|
|
391
1395
|
];
|