@qlik/api 1.29.0 → 1.30.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/api-keys.js +2 -2
- package/apps.d.ts +1 -11
- package/apps.js +2 -2
- package/audits.js +2 -2
- package/auth.js +2 -2
- package/automations.d.ts +36 -36
- package/automations.js +2 -2
- package/brands.js +2 -2
- package/chunks/{5MRIMVKS.js → F5UDCCRD.js} +17 -20
- package/chunks/{QOOCP2TS.js → FKCZFVJL.js} +1 -1
- package/chunks/{NBW6PHZU.js → G6QUM5WQ.js} +27 -6
- package/chunks/{5XNSGPGZ.js → IQBP2PKS.js} +1 -1
- package/chunks/{2BRBIRM2.js → JIX6RMFP.js} +1 -1
- package/chunks/{4D5NADHK.js → OTTC4QSX.js} +1 -1
- package/chunks/{WQYEWU54.js → PTDXR7AY.js} +2 -2
- package/chunks/{KYCIMQ4L.js → QK4TMJ64.js} +1 -1
- package/chunks/{MGXEGSJC.js → QWQLGDMI.js} +2 -2
- package/chunks/{2B7YWDQC.js → TXC5XORK.js} +3 -3
- package/collections.js +2 -2
- package/csp-origins.js +2 -2
- package/data-assets.js +2 -2
- package/data-connections.d.ts +1 -1
- package/data-connections.js +2 -2
- package/data-credentials.js +2 -2
- package/data-files.js +2 -2
- package/extensions.js +2 -2
- package/glossaries.d.ts +20 -13
- package/glossaries.js +2 -2
- package/groups.js +2 -2
- package/identity-providers.js +2 -2
- package/index.d.ts +6 -2
- package/index.js +29 -4
- package/items.js +2 -2
- package/licenses.js +2 -2
- package/oauth-clients.d.ts +516 -0
- package/oauth-clients.js +112 -0
- package/package.json +3 -2
- package/qix.d.ts +3 -3
- package/qix.js +2 -2
- package/quotas.js +2 -2
- package/reload-tasks.js +2 -2
- package/reloads.d.ts +2 -0
- package/reloads.js +2 -2
- package/reports.d.ts +2 -0
- package/reports.js +2 -2
- package/roles.d.ts +12 -2
- package/roles.js +2 -2
- package/spaces.js +2 -2
- package/temp-contents.js +2 -2
- package/tenants.js +2 -2
- package/themes.js +2 -2
- package/transports.js +2 -2
- package/users.js +2 -2
- package/web-integrations.js +2 -2
- package/web-notifications.js +2 -2
- package/webhooks.js +2 -2
package/api-keys.js
CHANGED
package/apps.d.ts
CHANGED
|
@@ -1092,11 +1092,6 @@ type Classification = {
|
|
|
1092
1092
|
diff?: number;
|
|
1093
1093
|
trend?: string;
|
|
1094
1094
|
};
|
|
1095
|
-
type CmpEngineSpec = {
|
|
1096
|
-
baseline?: EngineSpec;
|
|
1097
|
-
changed?: boolean;
|
|
1098
|
-
comparison?: EngineSpec;
|
|
1099
|
-
};
|
|
1100
1095
|
type Cmpbool = Classification & {
|
|
1101
1096
|
baseline?: boolean;
|
|
1102
1097
|
comparison?: boolean;
|
|
@@ -1117,7 +1112,6 @@ type Comparison = {
|
|
|
1117
1112
|
appOpenTimeSeconds?: Cmpfloat;
|
|
1118
1113
|
dataModelSizeMib?: Cmpfloat;
|
|
1119
1114
|
documentSizeMib?: Cmpfloat;
|
|
1120
|
-
engine?: CmpEngineSpec;
|
|
1121
1115
|
fileSizeMib?: Cmpfloat;
|
|
1122
1116
|
hasSectionAccess?: Cmpbool;
|
|
1123
1117
|
maxMemoryMib?: Cmpfloat;
|
|
@@ -1167,9 +1161,6 @@ type Comparisontables = (Objecttopspec & {
|
|
|
1167
1161
|
name?: string;
|
|
1168
1162
|
no_of_rows?: Cmpint;
|
|
1169
1163
|
})[];
|
|
1170
|
-
type EngineSpec = {
|
|
1171
|
-
engineMemoryBytes?: number;
|
|
1172
|
-
};
|
|
1173
1164
|
type Evaluation = {
|
|
1174
1165
|
appId?: string;
|
|
1175
1166
|
appItemId?: string;
|
|
@@ -1184,7 +1175,6 @@ type Evaluation = {
|
|
|
1184
1175
|
warnings?: string[];
|
|
1185
1176
|
};
|
|
1186
1177
|
ended?: string;
|
|
1187
|
-
engine?: EngineSpec;
|
|
1188
1178
|
events?: Event[];
|
|
1189
1179
|
id?: string;
|
|
1190
1180
|
metadata?: Metadata;
|
|
@@ -2628,4 +2618,4 @@ interface AppsAPI {
|
|
|
2628
2618
|
*/
|
|
2629
2619
|
declare const appsExport: AppsAPI;
|
|
2630
2620
|
|
|
2631
|
-
export { type Analysis, type AnalysisComposition, type AnalysisDescriptor, type AnalysisDescriptorResponse, type AnalysisDetails, type AnalysisGroup, type AnalysisModelItemField, type AnalysisModelItemMasterItem, type AnalysisModelResponse, type AnalysisModelResponseDetail, type AnalysisRecommendRequest, type AnalysisRecommendationResponse, type AnalysisRecommendationResponseDetail, type AppAttributes, type AppContentList, type AppContentListItem, type AppObjectGenericType, type AppUpdateAttributes, type AppsAPI, type ChartType, type Classification, type Classifications, type
|
|
2621
|
+
export { type Analysis, type AnalysisComposition, type AnalysisDescriptor, type AnalysisDescriptorResponse, type AnalysisDetails, type AnalysisGroup, type AnalysisModelItemField, type AnalysisModelItemMasterItem, type AnalysisModelResponse, type AnalysisModelResponseDetail, type AnalysisRecommendRequest, type AnalysisRecommendationResponse, type AnalysisRecommendationResponseDetail, type AppAttributes, type AppContentList, type AppContentListItem, type AppObjectGenericType, type AppUpdateAttributes, type AppsAPI, type ChartType, type Classification, type Classifications, type Cmpbool, type Cmpfloat, type CmpfloatWithTimeout, type Cmpint, type Comparison, type Comparisonfields, type ComparisonobjMemoryLimit, type Comparisonobjresponsetime, type Comparisonoobjheavy, type Comparisontables, type CompositionMinMax, type CopyAppHttpError, type CopyAppHttpResponse, type CountAppReportFiltersHttpError, type CountAppReportFiltersHttpResponse, type CreateApp, type CreateAppHttpError, type CreateAppHttpResponse, type CreateAppReportFilterHttpError, type CreateAppReportFilterHttpResponse, type DataModelMetadata, type DeleteAppHttpError, type DeleteAppHttpResponse, type DeleteAppMediaHttpError, type DeleteAppMediaHttpResponse, type DeleteAppReportFilterHttpError, type DeleteAppReportFilterHttpResponse, type DeleteAppScriptHttpError, type DeleteAppScriptHttpResponse, type Error, type Errors, type Evaluation, type Evaluations, type EvaluatorError, type Event, type ExportAppHttpError, type ExportAppHttpResponse, type FieldAttrType, type FieldAttributes, type FieldInTableProfilingData, type FieldMetadata, type FieldOverride, type FileData, type Filter, type FilterError, type FilterErrors, type FilterField, type FilterFieldValue, type FilterItemPatch, type FilterList, type FilterListItem, type FilterRequest, type FilterType, type FilterV10, type FilterVariable, type FiltersCount, type Float64, type FrequencyDistributionData, type GetAppDataLineageHttpError, type GetAppDataLineageHttpResponse, type GetAppDataMetadataHttpError, type GetAppDataMetadataHttpResponse, type GetAppEvaluationComparisonHttpError, type GetAppEvaluationComparisonHttpResponse, type GetAppEvaluationComparisonXmlHttpError, type GetAppEvaluationComparisonXmlHttpResponse, type GetAppEvaluationHttpError, type GetAppEvaluationHttpResponse, type GetAppEvaluationXmlHttpError, type GetAppEvaluationXmlHttpResponse, type GetAppEvaluationsHttpError, type GetAppEvaluationsHttpResponse, type GetAppInfoHttpError, type GetAppInfoHttpResponse, type GetAppInsightAnalysesHttpError, type GetAppInsightAnalysesHttpResponse, type GetAppInsightAnalysisModelHttpError, type GetAppInsightAnalysisModelHttpResponse, type GetAppInsightAnalysisRecommendationsHttpError, type GetAppInsightAnalysisRecommendationsHttpResponse, type GetAppMediaHttpError, type GetAppMediaHttpResponse, type GetAppMediaListHttpError, type GetAppMediaListHttpResponse, type GetAppReloadLogHttpError, type GetAppReloadLogHttpResponse, type GetAppReloadLogsHttpError, type GetAppReloadLogsHttpResponse, type GetAppReloadMetadataHttpError, type GetAppReloadMetadataHttpResponse, type GetAppReportFilterHttpError, type GetAppReportFilterHttpResponse, type GetAppReportFiltersHttpError, type GetAppReportFiltersHttpResponse, type GetAppScriptHistoryHttpError, type GetAppScriptHistoryHttpResponse, type GetAppScriptHttpError, type GetAppScriptHttpResponse, type GetAppThumbnailHttpError, type GetAppThumbnailHttpResponse, type GetAppsPrivilegesHttpError, type GetAppsPrivilegesHttpResponse, type HardwareMeta, type Href, type ImportAppHttpError, type ImportAppHttpResponse, type JsonObject, type LastReloadMetadata, type LineageInfoRest, type LinkResponse, type Links, type LinksResponse, type Log, type Metadata, type MoveAppToSpaceHttpError, type MoveAppToSpaceHttpResponse, type NavigationLink, type NavigationLinks, type NumberFormat, type NxApp, type NxAppCreatePrivileges, type NxAppObject, type NxAttributes, type NxObjectAttributes, type NxPatch, type NxPatchOperationType, type Objectmetrics, type Objectspec, type Objecttopspec, type PartialNluInfo, type PatchAppReportFilterHttpError, type PatchAppReportFilterHttpResponse, type PatchAppScriptHttpError, type PatchAppScriptHttpResponse, type PatchFilter, type PatchFilterItem, type PublishApp, type PublishAppHttpError, type PublishAppHttpResponse, type PublishData, type QueueAppEvaluationHttpError, type QueueAppEvaluationHttpResponse, type RecommendFieldItem, type RecommendItems, type RecommendMasterItem, type RecommendNaturalLangQuery, type RecommendedAnalysis, type RecommendedAnalysisCore, type ReloadIncludeFile, type ReloadListMetadata, type ReloadMeta, type ReloadStatements, type RemoveAppFromSpaceHttpError, type RemoveAppFromSpaceHttpResponse, type RepublishApp, type RepublishAppHttpError, type RepublishAppHttpResponse, type Result, type Resultentry, type Resultmetadatatopfields, type Resultmetadatatoptables, type ResultobjMemoryLimit, type Resultobjresponsetime, type Resultobjsheet, type Resultsingle, type ScriptLogList, type ScriptLogMeta, type ScriptMeta, type ScriptMetaList, type ScriptVersion, type SimplifiedClassifications, type Sortedcomparisonfields, type Sortedcomparisonobjresponsetime, type Sortedcomparisonoobjheavy, type Sortedcomparisontables, type SymbolFrequency, type SymbolValue, type TableMetadata, type TableProfilingData, type UpdateApp, type UpdateAppInfoHttpError, type UpdateAppInfoHttpResponse, type UpdateAppObjectOwnerHttpError, type UpdateAppObjectOwnerHttpResponse, type UpdateAppOwnerHttpError, type UpdateAppOwnerHttpResponse, type UpdateAppScriptHttpError, type UpdateAppScriptHttpResponse, type UpdateOwner, type UpdateSpace, type UploadAppMediaHttpError, type UploadAppMediaHttpResponse, type UsageEnum, type UserPrivileges, clearCache, copyApp, countAppReportFilters, createApp, createAppReportFilter, appsExport as default, deleteApp, deleteAppMedia, deleteAppReportFilter, deleteAppScript, exportApp, getAppDataLineage, getAppDataMetadata, getAppEvaluation, getAppEvaluationComparison, getAppEvaluationComparisonXml, getAppEvaluationXml, getAppEvaluations, getAppInfo, getAppInsightAnalyses, getAppInsightAnalysisModel, getAppInsightAnalysisRecommendations, getAppMedia, getAppMediaList, getAppReloadLog, getAppReloadLogs, getAppReloadMetadata, getAppReportFilter, getAppReportFilters, getAppScript, getAppScriptHistory, getAppThumbnail, getAppsPrivileges, importApp, moveAppToSpace, patchAppReportFilter, patchAppScript, publishApp, queueAppEvaluation, removeAppFromSpace, republishApp, updateAppInfo, updateAppObjectOwner, updateAppOwner, updateAppScript, uploadAppMedia };
|
package/apps.js
CHANGED
package/audits.js
CHANGED
package/auth.js
CHANGED
package/automations.d.ts
CHANGED
|
@@ -188,7 +188,7 @@ type UsageObject = {
|
|
|
188
188
|
value: number;
|
|
189
189
|
};
|
|
190
190
|
/**
|
|
191
|
-
* Retrieves a list of automations
|
|
191
|
+
* Retrieves a list of the automations that the requesting user has access to.
|
|
192
192
|
* @example
|
|
193
193
|
* getAutomations(
|
|
194
194
|
* {
|
|
@@ -222,7 +222,7 @@ type GetAutomationsHttpError = {
|
|
|
222
222
|
status: 400 | 401 | 403 | 500 | 503;
|
|
223
223
|
};
|
|
224
224
|
/**
|
|
225
|
-
*
|
|
225
|
+
* Creates a new automation. The requesting user must be assigned the `AutomationCreator` role.
|
|
226
226
|
*
|
|
227
227
|
* @param body an object with the body content
|
|
228
228
|
* @throws CreateAutomationHttpError
|
|
@@ -239,7 +239,7 @@ type CreateAutomationHttpError = {
|
|
|
239
239
|
status: 400 | 401 | 403 | 500 | 503;
|
|
240
240
|
};
|
|
241
241
|
/**
|
|
242
|
-
* Retrieves
|
|
242
|
+
* Retrieves paginated usage metrics for automations. The requesting user must be assigned the `TenantAdmin` role.
|
|
243
243
|
*
|
|
244
244
|
* @param query an object with query parameters
|
|
245
245
|
* @throws GetAutomationsUsageMetricsHttpError
|
|
@@ -263,7 +263,7 @@ type GetAutomationsUsageMetricsHttpError = {
|
|
|
263
263
|
status: 400 | 401 | 403 | 500 | 503;
|
|
264
264
|
};
|
|
265
265
|
/**
|
|
266
|
-
*
|
|
266
|
+
* Deletes an automation. The requesting user must be the owner of the automation, or be assigned the `TenantAdmin` role.
|
|
267
267
|
*
|
|
268
268
|
* @param id The unique identifier for the automation.
|
|
269
269
|
* @throws DeleteAutomationHttpError
|
|
@@ -280,7 +280,7 @@ type DeleteAutomationHttpError = {
|
|
|
280
280
|
status: 401 | 403 | 404 | 500 | 503;
|
|
281
281
|
};
|
|
282
282
|
/**
|
|
283
|
-
* Retrieves an automation
|
|
283
|
+
* Retrieves the full definition of an automation. The requesting user must be the owner of the automation.
|
|
284
284
|
*
|
|
285
285
|
* @param id The unique identifier for the automation.
|
|
286
286
|
* @param query an object with query parameters
|
|
@@ -301,7 +301,7 @@ type GetAutomationWithQueryHttpError = {
|
|
|
301
301
|
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
302
302
|
};
|
|
303
303
|
/**
|
|
304
|
-
* Retrieves an automation
|
|
304
|
+
* Retrieves the full definition of an automation. The requesting user must be the owner of the automation.
|
|
305
305
|
*
|
|
306
306
|
* @param id The unique identifier for the automation.
|
|
307
307
|
* @throws GetAutomationHttpError
|
|
@@ -318,7 +318,7 @@ type GetAutomationHttpError = {
|
|
|
318
318
|
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
319
319
|
};
|
|
320
320
|
/**
|
|
321
|
-
*
|
|
321
|
+
* Updates the full definition of an automation. The requesting user must be the owner of the automation.
|
|
322
322
|
*
|
|
323
323
|
* @param id The unique identifier for the automation.
|
|
324
324
|
* @param body an object with the body content
|
|
@@ -336,7 +336,7 @@ type UpdateAutomationHttpError = {
|
|
|
336
336
|
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
337
337
|
};
|
|
338
338
|
/**
|
|
339
|
-
*
|
|
339
|
+
* Duplicates an existing automation. The requesting user must be the owner of the automation.
|
|
340
340
|
*
|
|
341
341
|
* @param id The unique identifier for the automation.
|
|
342
342
|
* @param body an object with the body content
|
|
@@ -360,7 +360,7 @@ type CopyAutomationHttpError = {
|
|
|
360
360
|
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
361
361
|
};
|
|
362
362
|
/**
|
|
363
|
-
* Disables an automation.
|
|
363
|
+
* Disables an automation so that it cannot be run. The requesting user must be the owner of the automation, or be assigned the `TenantAdmin` role.
|
|
364
364
|
*
|
|
365
365
|
* @param id The unique identifier for the automation.
|
|
366
366
|
* @throws DisableAutomationHttpError
|
|
@@ -377,7 +377,7 @@ type DisableAutomationHttpError = {
|
|
|
377
377
|
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
378
378
|
};
|
|
379
379
|
/**
|
|
380
|
-
*
|
|
380
|
+
* Enables an automation so that it can be run. The requesting user must be the owner of the automation, or be assigned the `TenantAdmin` role.
|
|
381
381
|
*
|
|
382
382
|
* @param id The unique identifier for the automation.
|
|
383
383
|
* @throws EnableAutomationHttpError
|
|
@@ -394,7 +394,7 @@ type EnableAutomationHttpError = {
|
|
|
394
394
|
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
395
395
|
};
|
|
396
396
|
/**
|
|
397
|
-
* This
|
|
397
|
+
* Changes the owner of an automation to another user. This action removes the history and change logs of this automation. All linked connections used in the automation are detached and not moved to the new owner.
|
|
398
398
|
*
|
|
399
399
|
* @param id The unique identifier for the automation.
|
|
400
400
|
* @param body an object with the body content
|
|
@@ -414,7 +414,7 @@ type MoveAutomationHttpError = {
|
|
|
414
414
|
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
415
415
|
};
|
|
416
416
|
/**
|
|
417
|
-
* Retrieves a list of runs for a specific automation.
|
|
417
|
+
* Retrieves a list of runs for a specific automation. The requesting user must be the owner of the automation, or be assigned the `TenantAdmin` role.
|
|
418
418
|
*
|
|
419
419
|
* @param id The unique identifier for the automation.
|
|
420
420
|
* @param query an object with query parameters
|
|
@@ -443,7 +443,7 @@ type GetAutomationRunsHttpError = {
|
|
|
443
443
|
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
444
444
|
};
|
|
445
445
|
/**
|
|
446
|
-
*
|
|
446
|
+
* Creates a runs for a specific automation. The requesting user must be the owner of the automation.
|
|
447
447
|
*
|
|
448
448
|
* @param id The unique identifier for the automation.
|
|
449
449
|
* @param body an object with the body content
|
|
@@ -461,7 +461,7 @@ type QueueAutomationRunHttpError = {
|
|
|
461
461
|
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
462
462
|
};
|
|
463
463
|
/**
|
|
464
|
-
* Retrieves a run
|
|
464
|
+
* Retrieves a specific run for an automation. The requesting user must be the owner of the automation.
|
|
465
465
|
*
|
|
466
466
|
* @param id The unique identifier for the automation.
|
|
467
467
|
* @param runId The unique identifier for the run.
|
|
@@ -483,7 +483,7 @@ type GetAutomationRunWithQueryHttpError = {
|
|
|
483
483
|
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
484
484
|
};
|
|
485
485
|
/**
|
|
486
|
-
* Retrieves a run
|
|
486
|
+
* Retrieves a specific run for an automation. The requesting user must be the owner of the automation.
|
|
487
487
|
*
|
|
488
488
|
* @param id The unique identifier for the automation.
|
|
489
489
|
* @param runId The unique identifier for the run.
|
|
@@ -501,7 +501,7 @@ type GetAutomationRunHttpError = {
|
|
|
501
501
|
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
502
502
|
};
|
|
503
503
|
/**
|
|
504
|
-
*
|
|
504
|
+
* Retrieves the URL for the debug log of a specific automation run. The requesting user must be the owner of the automation.
|
|
505
505
|
*
|
|
506
506
|
* @param id The unique identifier for the automation.
|
|
507
507
|
* @param runId The unique identifier for the run.
|
|
@@ -521,7 +521,7 @@ type GetAutomationRunDetailsHttpError = {
|
|
|
521
521
|
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
522
522
|
};
|
|
523
523
|
/**
|
|
524
|
-
*
|
|
524
|
+
* Retries a specific run by creating a new run using the same inputs. The requesting user must be the owner of the automation.
|
|
525
525
|
*
|
|
526
526
|
* @param id The unique identifier for the automation.
|
|
527
527
|
* @param runId The unique identifier for the run.
|
|
@@ -539,7 +539,7 @@ type RetryAutomationRunHttpError = {
|
|
|
539
539
|
status: 400 | 401 | 403 | 404 | 500 | 503;
|
|
540
540
|
};
|
|
541
541
|
/**
|
|
542
|
-
*
|
|
542
|
+
* Forcefully stops an automation run immediately. The requesting user must be the owner of the automation.
|
|
543
543
|
*
|
|
544
544
|
* @param id The unique identifier for the automation.
|
|
545
545
|
* @param runId The unique identifier for the run.
|
|
@@ -562,7 +562,7 @@ type StopAutomationRunHttpError = {
|
|
|
562
562
|
declare function clearCache(): void;
|
|
563
563
|
interface AutomationsAPI {
|
|
564
564
|
/**
|
|
565
|
-
* Retrieves a list of automations
|
|
565
|
+
* Retrieves a list of the automations that the requesting user has access to.
|
|
566
566
|
* @example
|
|
567
567
|
* getAutomations(
|
|
568
568
|
* {
|
|
@@ -575,28 +575,28 @@ interface AutomationsAPI {
|
|
|
575
575
|
*/
|
|
576
576
|
getAutomations: typeof getAutomations;
|
|
577
577
|
/**
|
|
578
|
-
*
|
|
578
|
+
* Creates a new automation. The requesting user must be assigned the `AutomationCreator` role.
|
|
579
579
|
*
|
|
580
580
|
* @param body an object with the body content
|
|
581
581
|
* @throws CreateAutomationHttpError
|
|
582
582
|
*/
|
|
583
583
|
createAutomation: typeof createAutomation;
|
|
584
584
|
/**
|
|
585
|
-
* Retrieves
|
|
585
|
+
* Retrieves paginated usage metrics for automations. The requesting user must be assigned the `TenantAdmin` role.
|
|
586
586
|
*
|
|
587
587
|
* @param query an object with query parameters
|
|
588
588
|
* @throws GetAutomationsUsageMetricsHttpError
|
|
589
589
|
*/
|
|
590
590
|
getAutomationsUsageMetrics: typeof getAutomationsUsageMetrics;
|
|
591
591
|
/**
|
|
592
|
-
*
|
|
592
|
+
* Deletes an automation. The requesting user must be the owner of the automation, or be assigned the `TenantAdmin` role.
|
|
593
593
|
*
|
|
594
594
|
* @param id The unique identifier for the automation.
|
|
595
595
|
* @throws DeleteAutomationHttpError
|
|
596
596
|
*/
|
|
597
597
|
deleteAutomation: typeof deleteAutomation;
|
|
598
598
|
/**
|
|
599
|
-
* Retrieves an automation
|
|
599
|
+
* Retrieves the full definition of an automation. The requesting user must be the owner of the automation.
|
|
600
600
|
*
|
|
601
601
|
* @param id The unique identifier for the automation.
|
|
602
602
|
* @param query an object with query parameters
|
|
@@ -604,14 +604,14 @@ interface AutomationsAPI {
|
|
|
604
604
|
*/
|
|
605
605
|
getAutomationWithQuery: typeof getAutomationWithQuery;
|
|
606
606
|
/**
|
|
607
|
-
* Retrieves an automation
|
|
607
|
+
* Retrieves the full definition of an automation. The requesting user must be the owner of the automation.
|
|
608
608
|
*
|
|
609
609
|
* @param id The unique identifier for the automation.
|
|
610
610
|
* @throws GetAutomationHttpError
|
|
611
611
|
*/
|
|
612
612
|
getAutomation: typeof getAutomation;
|
|
613
613
|
/**
|
|
614
|
-
*
|
|
614
|
+
* Updates the full definition of an automation. The requesting user must be the owner of the automation.
|
|
615
615
|
*
|
|
616
616
|
* @param id The unique identifier for the automation.
|
|
617
617
|
* @param body an object with the body content
|
|
@@ -619,7 +619,7 @@ interface AutomationsAPI {
|
|
|
619
619
|
*/
|
|
620
620
|
updateAutomation: typeof updateAutomation;
|
|
621
621
|
/**
|
|
622
|
-
*
|
|
622
|
+
* Duplicates an existing automation. The requesting user must be the owner of the automation.
|
|
623
623
|
*
|
|
624
624
|
* @param id The unique identifier for the automation.
|
|
625
625
|
* @param body an object with the body content
|
|
@@ -627,21 +627,21 @@ interface AutomationsAPI {
|
|
|
627
627
|
*/
|
|
628
628
|
copyAutomation: typeof copyAutomation;
|
|
629
629
|
/**
|
|
630
|
-
* Disables an automation.
|
|
630
|
+
* Disables an automation so that it cannot be run. The requesting user must be the owner of the automation, or be assigned the `TenantAdmin` role.
|
|
631
631
|
*
|
|
632
632
|
* @param id The unique identifier for the automation.
|
|
633
633
|
* @throws DisableAutomationHttpError
|
|
634
634
|
*/
|
|
635
635
|
disableAutomation: typeof disableAutomation;
|
|
636
636
|
/**
|
|
637
|
-
*
|
|
637
|
+
* Enables an automation so that it can be run. The requesting user must be the owner of the automation, or be assigned the `TenantAdmin` role.
|
|
638
638
|
*
|
|
639
639
|
* @param id The unique identifier for the automation.
|
|
640
640
|
* @throws EnableAutomationHttpError
|
|
641
641
|
*/
|
|
642
642
|
enableAutomation: typeof enableAutomation;
|
|
643
643
|
/**
|
|
644
|
-
* This
|
|
644
|
+
* Changes the owner of an automation to another user. This action removes the history and change logs of this automation. All linked connections used in the automation are detached and not moved to the new owner.
|
|
645
645
|
*
|
|
646
646
|
* @param id The unique identifier for the automation.
|
|
647
647
|
* @param body an object with the body content
|
|
@@ -649,7 +649,7 @@ interface AutomationsAPI {
|
|
|
649
649
|
*/
|
|
650
650
|
moveAutomation: typeof moveAutomation;
|
|
651
651
|
/**
|
|
652
|
-
* Retrieves a list of runs for a specific automation.
|
|
652
|
+
* Retrieves a list of runs for a specific automation. The requesting user must be the owner of the automation, or be assigned the `TenantAdmin` role.
|
|
653
653
|
*
|
|
654
654
|
* @param id The unique identifier for the automation.
|
|
655
655
|
* @param query an object with query parameters
|
|
@@ -657,7 +657,7 @@ interface AutomationsAPI {
|
|
|
657
657
|
*/
|
|
658
658
|
getAutomationRuns: typeof getAutomationRuns;
|
|
659
659
|
/**
|
|
660
|
-
*
|
|
660
|
+
* Creates a runs for a specific automation. The requesting user must be the owner of the automation.
|
|
661
661
|
*
|
|
662
662
|
* @param id The unique identifier for the automation.
|
|
663
663
|
* @param body an object with the body content
|
|
@@ -665,7 +665,7 @@ interface AutomationsAPI {
|
|
|
665
665
|
*/
|
|
666
666
|
queueAutomationRun: typeof queueAutomationRun;
|
|
667
667
|
/**
|
|
668
|
-
* Retrieves a run
|
|
668
|
+
* Retrieves a specific run for an automation. The requesting user must be the owner of the automation.
|
|
669
669
|
*
|
|
670
670
|
* @param id The unique identifier for the automation.
|
|
671
671
|
* @param runId The unique identifier for the run.
|
|
@@ -674,7 +674,7 @@ interface AutomationsAPI {
|
|
|
674
674
|
*/
|
|
675
675
|
getAutomationRunWithQuery: typeof getAutomationRunWithQuery;
|
|
676
676
|
/**
|
|
677
|
-
* Retrieves a run
|
|
677
|
+
* Retrieves a specific run for an automation. The requesting user must be the owner of the automation.
|
|
678
678
|
*
|
|
679
679
|
* @param id The unique identifier for the automation.
|
|
680
680
|
* @param runId The unique identifier for the run.
|
|
@@ -682,7 +682,7 @@ interface AutomationsAPI {
|
|
|
682
682
|
*/
|
|
683
683
|
getAutomationRun: typeof getAutomationRun;
|
|
684
684
|
/**
|
|
685
|
-
*
|
|
685
|
+
* Retrieves the URL for the debug log of a specific automation run. The requesting user must be the owner of the automation.
|
|
686
686
|
*
|
|
687
687
|
* @param id The unique identifier for the automation.
|
|
688
688
|
* @param runId The unique identifier for the run.
|
|
@@ -690,7 +690,7 @@ interface AutomationsAPI {
|
|
|
690
690
|
*/
|
|
691
691
|
getAutomationRunDetails: typeof getAutomationRunDetails;
|
|
692
692
|
/**
|
|
693
|
-
*
|
|
693
|
+
* Retries a specific run by creating a new run using the same inputs. The requesting user must be the owner of the automation.
|
|
694
694
|
*
|
|
695
695
|
* @param id The unique identifier for the automation.
|
|
696
696
|
* @param runId The unique identifier for the run.
|
|
@@ -698,7 +698,7 @@ interface AutomationsAPI {
|
|
|
698
698
|
*/
|
|
699
699
|
retryAutomationRun: typeof retryAutomationRun;
|
|
700
700
|
/**
|
|
701
|
-
*
|
|
701
|
+
* Forcefully stops an automation run immediately. The requesting user must be the owner of the automation.
|
|
702
702
|
*
|
|
703
703
|
* @param id The unique identifier for the automation.
|
|
704
704
|
* @param runId The unique identifier for the run.
|
package/automations.js
CHANGED
package/brands.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// node_modules/.pnpm/@qlik+runtime-module-loader@1.0.
|
|
1
|
+
// node_modules/.pnpm/@qlik+runtime-module-loader@1.0.20/node_modules/@qlik/runtime-module-loader/dist/index.js
|
|
2
2
|
window.__qlikMainPrivateResolvers = window.__qlikMainPrivateResolvers || {};
|
|
3
3
|
window.__qlikMainPrivateResolvers.mainUrlPromise = window.__qlikMainPrivateResolvers.mainUrlPromise || new Promise((resolve) => {
|
|
4
4
|
window.__qlikMainPrivateResolvers.resolveMainJsUrl = (value) => resolve(value);
|
|
@@ -7,22 +7,27 @@ window.__qlikMainPrivateResolvers.qlikMainPromise = window.__qlikMainPrivateReso
|
|
|
7
7
|
if (window.QlikMain) {
|
|
8
8
|
return window.QlikMain;
|
|
9
9
|
}
|
|
10
|
+
const noHostWarningTimer = setTimeout(() => {
|
|
11
|
+
console.warn("Waiting for a host parameter pointing to a Qlik runtime system");
|
|
12
|
+
}, 5e3);
|
|
10
13
|
const url = await window.__qlikMainPrivateResolvers.mainUrlPromise;
|
|
14
|
+
clearTimeout(noHostWarningTimer);
|
|
11
15
|
return new Promise((resolve) => {
|
|
12
16
|
if (window.QlikMain) {
|
|
13
17
|
resolve(window.QlikMain);
|
|
18
|
+
} else {
|
|
19
|
+
const script = window.document.createElement("script");
|
|
20
|
+
script.src = url;
|
|
21
|
+
script.addEventListener("error", () => {
|
|
22
|
+
console.error(`Qlik runtime system not found: ${url}`);
|
|
23
|
+
});
|
|
24
|
+
script.addEventListener("load", () => {
|
|
25
|
+
if (window.QlikMain) {
|
|
26
|
+
resolve(window.QlikMain);
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
window.document.head.appendChild(script);
|
|
14
30
|
}
|
|
15
|
-
const script = window.document.createElement("script");
|
|
16
|
-
script.src = url;
|
|
17
|
-
script.addEventListener("error", () => {
|
|
18
|
-
console.error(`Qlik runtime system not found: ${url}`);
|
|
19
|
-
});
|
|
20
|
-
script.addEventListener("load", () => {
|
|
21
|
-
if (window.QlikMain) {
|
|
22
|
-
resolve(window.QlikMain);
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
window.document.head.appendChild(script);
|
|
26
31
|
});
|
|
27
32
|
})();
|
|
28
33
|
function provideHostConfigForMainJsUrl(hostConfig) {
|
|
@@ -30,9 +35,6 @@ function provideHostConfigForMainJsUrl(hostConfig) {
|
|
|
30
35
|
function toMainJsUrl(hc) {
|
|
31
36
|
const url = hc?.embedRuntimeUrl || hc?.url || hc?.host;
|
|
32
37
|
if (!url) {
|
|
33
|
-
window.__qlikMainPrivateResolvers.noHostWarningTimer = setTimeout(() => {
|
|
34
|
-
console.warn("Waiting for a host parameter pointing to a Qlik runtime system");
|
|
35
|
-
}, 5e3);
|
|
36
38
|
return void 0;
|
|
37
39
|
}
|
|
38
40
|
let locationUrl;
|
|
@@ -46,11 +48,6 @@ function provideHostConfigForMainJsUrl(hostConfig) {
|
|
|
46
48
|
}
|
|
47
49
|
const potentialMainJsUrl = toMainJsUrl(hostConfig);
|
|
48
50
|
if (potentialMainJsUrl) {
|
|
49
|
-
const warningTimer = window.__qlikMainPrivateResolvers.noHostWarningTimer;
|
|
50
|
-
if (warningTimer) {
|
|
51
|
-
window.__qlikMainPrivateResolvers.noHostWarningTimer = void 0;
|
|
52
|
-
clearTimeout(warningTimer);
|
|
53
|
-
}
|
|
54
51
|
window.__qlikMainPrivateResolvers.resolveMainJsUrl(potentialMainJsUrl);
|
|
55
52
|
}
|
|
56
53
|
}
|
|
@@ -22,21 +22,21 @@ var getPlatform = async (options = {}) => {
|
|
|
22
22
|
const deploymentType = (productInfo.composition?.deploymentType || "").toLowerCase();
|
|
23
23
|
const isControlCenter = deploymentType === "controlcenter";
|
|
24
24
|
if (deploymentType === "qliksenseserver") {
|
|
25
|
-
return result({ isQSE: true, isWindows: true });
|
|
25
|
+
return result({ isQSE: true, isWindows: true, meta: extractMeta(productInfo) });
|
|
26
26
|
}
|
|
27
27
|
if (deploymentType === "qliksensedesktop") {
|
|
28
|
-
return result({ isQSD: true, isWindows: true });
|
|
28
|
+
return result({ isQSD: true, isWindows: true, meta: extractMeta(productInfo) });
|
|
29
29
|
}
|
|
30
30
|
if (deploymentType === "qliksensemobile") {
|
|
31
|
-
return result({ isQSE: true, isWindows: true });
|
|
31
|
+
return result({ isQSE: true, isWindows: true, meta: extractMeta(productInfo) });
|
|
32
32
|
}
|
|
33
33
|
if (deploymentType === "cloud-console") {
|
|
34
|
-
return result({ isCloud: true, isCloudConsole: true });
|
|
34
|
+
return result({ isCloud: true, isCloudConsole: true, meta: extractMeta(productInfo) });
|
|
35
35
|
}
|
|
36
36
|
if (productInfo.composition?.provider === "fedramp") {
|
|
37
|
-
return result({ isCloud: true, isQCG: true, isControlCenter });
|
|
37
|
+
return result({ isCloud: true, isQCG: true, isControlCenter, meta: extractMeta(productInfo) });
|
|
38
38
|
}
|
|
39
|
-
return result({ isCloud: true, isQCS: true, isControlCenter });
|
|
39
|
+
return result({ isCloud: true, isQCS: true, isControlCenter, meta: extractMeta(productInfo) });
|
|
40
40
|
};
|
|
41
41
|
var productInfoPromises = {};
|
|
42
42
|
function templateUrl(baseUrl) {
|
|
@@ -73,6 +73,27 @@ var getProductInfo = async ({ hostConfig, noCache } = {}) => {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
+
var extractMeta = (data) => {
|
|
77
|
+
const urls = data.externalUrls;
|
|
78
|
+
if (!urls) {
|
|
79
|
+
return void 0;
|
|
80
|
+
}
|
|
81
|
+
const productName = data.composition?.productName ?? "Qlik";
|
|
82
|
+
const releaseLabel = data.composition?.releaseLabel || "-";
|
|
83
|
+
const productLabel = releaseLabel === "-" ? productName : `${productName} (${releaseLabel})`;
|
|
84
|
+
return {
|
|
85
|
+
productId: data.composition?.senseId ?? "qlik",
|
|
86
|
+
productLabel,
|
|
87
|
+
version: data.composition?.version,
|
|
88
|
+
urls: {
|
|
89
|
+
personalHelpBaseUrl: urls.personalHelpBaseUrl,
|
|
90
|
+
personalUpgradeBase: urls.personalUpgradeBase,
|
|
91
|
+
personalUpgradeUrl: urls.personalUpgradeUrl,
|
|
92
|
+
serverHelpBaseUrl: urls.serverHelpBaseUrl,
|
|
93
|
+
qlikWebPageUrl: urls.qlikWebPageUrl
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
};
|
|
76
97
|
var result = (data) => ({
|
|
77
98
|
isNodeEnv: false,
|
|
78
99
|
isCloud: false,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getInvokeFetchRuntimeModule
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./TXC5XORK.js";
|
|
4
4
|
import {
|
|
5
5
|
isBrowser
|
|
6
6
|
} from "./2ZQ3ZX7F.js";
|
|
7
7
|
|
|
8
8
|
// src/public/invoke-fetch.ts
|
|
9
|
-
var defaultUserAgent = "qlik-api/1.
|
|
9
|
+
var defaultUserAgent = "qlik-api/1.30.0";
|
|
10
10
|
async function invokeFetch(api, props) {
|
|
11
11
|
const hostConfig = props.options?.hostConfig;
|
|
12
12
|
let userAgent;
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
invokeFetch,
|
|
5
5
|
isWindows,
|
|
6
6
|
toValidWebsocketLocationUrl
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./G6QUM5WQ.js";
|
|
8
8
|
import "./3RGGGGAR.js";
|
|
9
9
|
import {
|
|
10
10
|
isBrowser
|
|
@@ -161,7 +161,7 @@ function listenForWindowsAuthenticationInformation(session) {
|
|
|
161
161
|
return authSuggestedInWebsocket;
|
|
162
162
|
}
|
|
163
163
|
async function createAndSetupEnigmaSession(props, canRetry) {
|
|
164
|
-
const { createEnigmaSession } = await import("./
|
|
164
|
+
const { createEnigmaSession } = await import("./FKCZFVJL.js");
|
|
165
165
|
const session = await createEnigmaSession(props);
|
|
166
166
|
setupSessionListeners(session, props);
|
|
167
167
|
let global;
|