@qlik/api 1.28.0 → 1.29.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.d.ts CHANGED
@@ -89,7 +89,27 @@ type ApiKeysConfig = {
89
89
  /** The expiry of the scim `externalClient` token in ISO8601 duration format, e.g. `P365D` for 365 days. Used during the creation of an `externalClient` API key for configuring a SCIM compatible Identity Provider. */
90
90
  scim_externalClient_expiry?: string;
91
91
  };
92
+ /**
93
+ * @example
94
+ * [
95
+ * {
96
+ * op: "replace",
97
+ * path: "/api_keys_enabled",
98
+ * value: true
99
+ * }
100
+ * ]
101
+ */
92
102
  type ApiKeysConfigPatchSchema = ApiKeyConfigPatch[];
103
+ /**
104
+ * @example
105
+ * [
106
+ * {
107
+ * op: "replace",
108
+ * path: "/description",
109
+ * value: "my new description"
110
+ * }
111
+ * ]
112
+ */
93
113
  type ApiKeysPatchSchema = ApiKeyPatch[];
94
114
  /**
95
115
  * An error object.
package/apps.d.ts CHANGED
@@ -526,6 +526,48 @@ type FilterListItem = {
526
526
  readonly ownerId?: string;
527
527
  readonly updatedAt?: string;
528
528
  };
529
+ /**
530
+ * @example
531
+ * {
532
+ * description: "this is a filter sample",
533
+ * filterType: "REP",
534
+ * filterV1_0: {
535
+ * fieldsByState: {
536
+ * "$": [
537
+ * {
538
+ * name: "Country",
539
+ * overrideValues: false,
540
+ * selectExcluded: false,
541
+ * values: [
542
+ * {
543
+ * valueAsText: "1-Argentina",
544
+ * valueType: "string"
545
+ * },
546
+ * {
547
+ * valueAsText: "4-Brazil",
548
+ * valueType: "string"
549
+ * }
550
+ * ]
551
+ * },
552
+ * {
553
+ * name: "Order number",
554
+ * overrideValues: false,
555
+ * selectExcluded: false,
556
+ * values: [
557
+ * {
558
+ * valueAsNumber: 61300,
559
+ * valueAsText: "61300",
560
+ * valueType: "number"
561
+ * }
562
+ * ]
563
+ * }
564
+ * ]
565
+ * }
566
+ * },
567
+ * filterVersion: "filter-1.0",
568
+ * name: "Filter sample"
569
+ * }
570
+ */
529
571
  type FilterRequest = {
530
572
  /** The App ID. */
531
573
  appId?: string;
@@ -540,9 +582,45 @@ type FilterRequest = {
540
582
  ownerId?: string;
541
583
  };
542
584
  type FilterType = "REP" | "SUB";
585
+ /**
586
+ * @example
587
+ * {
588
+ * fieldsByState: {
589
+ * "$": [
590
+ * {
591
+ * name: "Country",
592
+ * overrideValues: false,
593
+ * selectExcluded: false,
594
+ * values: [
595
+ * {
596
+ * valueAsText: "1-Argentina",
597
+ * valueType: "string"
598
+ * },
599
+ * {
600
+ * valueAsText: "4-Brazil",
601
+ * valueType: "string"
602
+ * }
603
+ * ]
604
+ * },
605
+ * {
606
+ * name: "Order number",
607
+ * overrideValues: false,
608
+ * selectExcluded: false,
609
+ * values: [
610
+ * {
611
+ * valueAsNumber: 61300,
612
+ * valueAsText: "61300",
613
+ * valueType: "number"
614
+ * }
615
+ * ]
616
+ * }
617
+ * ]
618
+ * }
619
+ * }
620
+ */
543
621
  type FilterV10 = {
544
622
  /** Map of fields to apply by state. Maximum number of states allowed is 125. Maximum number of fields allowed is 125 and maximum number of overall field values allowed is 150000. */
545
- fieldsByState?: unknown;
623
+ fieldsByState?: Record<string, FilterField[]>;
546
624
  /** The filter variables. */
547
625
  variables?: FilterVariable[];
548
626
  };
@@ -610,6 +688,20 @@ type Links = {
610
688
  prev?: Href;
611
689
  self?: Href;
612
690
  };
691
+ /**
692
+ * @example
693
+ * {
694
+ * next: {
695
+ * href: "https://tenant.qlik-cloud.com:443/api/v1/apps/816e23e1-03d2-446b-8721-cdee6b5e59cf/report-filters?filter=&filterTypes=REP&filterTypes=REP&limit=20&page=0&sort=%2Bname"
696
+ * },
697
+ * prev: {
698
+ * href: "https://tenant.qlik-cloud.com:443/api/v1/apps/816e23e1-03d2-446b-8721-cdee6b5e59cf/report-filters?filter=&filterTypes=REP&filterTypes=REP&limit=20&page=0&sort=%2Bname"
699
+ * },
700
+ * self: {
701
+ * href: "https://tenant.qlik-cloud.com:443/api/v1/apps/816e23e1-03d2-446b-8721-cdee6b5e59cf/report-filters?filter=&filterTypes=REP&filterTypes=REP&limit=20&page=0&sort=%2Bname"
702
+ * }
703
+ * }
704
+ */
613
705
  type LinksResponse = {
614
706
  next: LinkResponse;
615
707
  prev: LinkResponse;
@@ -1000,6 +1092,11 @@ type Classification = {
1000
1092
  diff?: number;
1001
1093
  trend?: string;
1002
1094
  };
1095
+ type CmpEngineSpec = {
1096
+ baseline?: EngineSpec;
1097
+ changed?: boolean;
1098
+ comparison?: EngineSpec;
1099
+ };
1003
1100
  type Cmpbool = Classification & {
1004
1101
  baseline?: boolean;
1005
1102
  comparison?: boolean;
@@ -1020,6 +1117,7 @@ type Comparison = {
1020
1117
  appOpenTimeSeconds?: Cmpfloat;
1021
1118
  dataModelSizeMib?: Cmpfloat;
1022
1119
  documentSizeMib?: Cmpfloat;
1120
+ engine?: CmpEngineSpec;
1023
1121
  fileSizeMib?: Cmpfloat;
1024
1122
  hasSectionAccess?: Cmpbool;
1025
1123
  maxMemoryMib?: Cmpfloat;
@@ -1069,19 +1167,24 @@ type Comparisontables = (Objecttopspec & {
1069
1167
  name?: string;
1070
1168
  no_of_rows?: Cmpint;
1071
1169
  })[];
1170
+ type EngineSpec = {
1171
+ engineMemoryBytes?: number;
1172
+ };
1072
1173
  type Evaluation = {
1073
1174
  appId?: string;
1074
1175
  appItemId?: string;
1075
1176
  appName?: string;
1076
1177
  details?: {
1077
1178
  concurrentReload?: boolean;
1179
+ /** @deprecated */
1078
1180
  dedicated?: boolean;
1079
1181
  engineHasCache?: boolean;
1080
1182
  errors?: string[];
1081
- objectMetrics?: unknown;
1183
+ objectMetrics?: Record<string, Resultentry>;
1082
1184
  warnings?: string[];
1083
1185
  };
1084
1186
  ended?: string;
1187
+ engine?: EngineSpec;
1085
1188
  events?: Event[];
1086
1189
  id?: string;
1087
1190
  metadata?: Metadata;
@@ -1269,6 +1372,11 @@ type GetAppEvaluationComparisonHttpError = {
1269
1372
  };
1270
1373
  /**
1271
1374
  * Accepts two evaluation ids and downloads a log, in XML format, denoting the differences between the two.
1375
+ * @example
1376
+ * getAppEvaluationComparisonXml(
1377
+ * "abcdefghijklmnopq",
1378
+ * "abcdefghijklmnopq"
1379
+ * )
1272
1380
  *
1273
1381
  * @param baseid Id of the baseline evaluation
1274
1382
  * @param comparisonid Id of the comparison evaluation
@@ -1310,6 +1418,10 @@ type GetAppEvaluationHttpError = {
1310
1418
  };
1311
1419
  /**
1312
1420
  * Find and download an evaluation log by a specific evaluation id.
1421
+ * @example
1422
+ * getAppEvaluationXml(
1423
+ * "abcdefghijklmnopq"
1424
+ * )
1313
1425
  *
1314
1426
  * @param id Id of the desired evaluation.
1315
1427
  * @throws GetAppEvaluationXmlHttpError
@@ -1815,7 +1927,7 @@ declare const getAppReportFilters: (appId: string, query: {
1815
1927
  * (name co "query1" or description co "query2") and ownerId eq "123" */
1816
1928
  filter?: string;
1817
1929
  /** The filter type (REP, SUB). REP stands for report bookmark, SUB for subscription bookmark. */
1818
- filterTypes?: ("REP" | "SUB")[];
1930
+ filterTypes: ("REP" | "SUB")[];
1819
1931
  /** Limit the returned result set */
1820
1932
  limit?: number;
1821
1933
  /** If present, the cursor that starts the page of data that is returned. */
@@ -1862,7 +1974,7 @@ type CreateAppReportFilterHttpError = {
1862
1974
  */
1863
1975
  declare const countAppReportFilters: (appId: string, query: {
1864
1976
  /** The filter type (REP, SUB). REP stands for report bookmark, SUB for subscription bookmark. */
1865
- filterTypes?: ("REP" | "SUB")[];
1977
+ filterTypes: ("REP" | "SUB")[];
1866
1978
  }, options?: ApiCallOptions) => Promise<CountAppReportFiltersHttpResponse>;
1867
1979
  type CountAppReportFiltersHttpResponse = {
1868
1980
  data: FiltersCount;
@@ -2108,6 +2220,10 @@ type GetAppEvaluationsHttpError = {
2108
2220
  };
2109
2221
  /**
2110
2222
  * Queue an app evaluation by its app guid.
2223
+ * @example
2224
+ * queueAppEvaluation(
2225
+ * "abcdefghijklmnopq"
2226
+ * )
2111
2227
  *
2112
2228
  * @param guid Guid of the app.
2113
2229
  * @throws QueueAppEvaluationHttpError
@@ -2146,6 +2262,11 @@ interface AppsAPI {
2146
2262
  getAppEvaluationComparison: typeof getAppEvaluationComparison;
2147
2263
  /**
2148
2264
  * Accepts two evaluation ids and downloads a log, in XML format, denoting the differences between the two.
2265
+ * @example
2266
+ * getAppEvaluationComparisonXml(
2267
+ * "abcdefghijklmnopq",
2268
+ * "abcdefghijklmnopq"
2269
+ * )
2149
2270
  *
2150
2271
  * @param baseid Id of the baseline evaluation
2151
2272
  * @param comparisonid Id of the comparison evaluation
@@ -2162,6 +2283,10 @@ interface AppsAPI {
2162
2283
  getAppEvaluation: typeof getAppEvaluation;
2163
2284
  /**
2164
2285
  * Find and download an evaluation log by a specific evaluation id.
2286
+ * @example
2287
+ * getAppEvaluationXml(
2288
+ * "abcdefghijklmnopq"
2289
+ * )
2165
2290
  *
2166
2291
  * @param id Id of the desired evaluation.
2167
2292
  * @throws GetAppEvaluationXmlHttpError
@@ -2484,6 +2609,10 @@ interface AppsAPI {
2484
2609
  getAppEvaluations: typeof getAppEvaluations;
2485
2610
  /**
2486
2611
  * Queue an app evaluation by its app guid.
2612
+ * @example
2613
+ * queueAppEvaluation(
2614
+ * "abcdefghijklmnopq"
2615
+ * )
2487
2616
  *
2488
2617
  * @param guid Guid of the app.
2489
2618
  * @throws QueueAppEvaluationHttpError
@@ -2499,4 +2628,4 @@ interface AppsAPI {
2499
2628
  */
2500
2629
  declare const appsExport: AppsAPI;
2501
2630
 
2502
- 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 };
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 CmpEngineSpec, 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 EngineSpec, 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/audits.d.ts CHANGED
@@ -156,7 +156,7 @@ type GetAuditsHttpError = {
156
156
  */
157
157
  declare const getArchivedAudits: (query: {
158
158
  /** Date to be used as filter and criteria during extraction. */
159
- date?: string;
159
+ date: string;
160
160
  }, options?: ApiCallOptions) => Promise<GetArchivedAuditsHttpResponse>;
161
161
  type GetArchivedAuditsHttpResponse = {
162
162
  data: GetArchiveResult;
package/automations.d.ts CHANGED
@@ -189,6 +189,12 @@ type UsageObject = {
189
189
  };
190
190
  /**
191
191
  * Retrieves a list of automations
192
+ * @example
193
+ * getAutomations(
194
+ * {
195
+ * fields: "lastRun,lastRunStatus,runMode,createdAt,updatedAt"
196
+ * }
197
+ * )
192
198
  *
193
199
  * @param query an object with query parameters
194
200
  * @throws GetAutomationsHttpError
@@ -242,7 +248,7 @@ declare const getAutomationsUsageMetrics: (query: {
242
248
  /** If specified, result will be broken apart for each automation */
243
249
  breakdownBy?: string;
244
250
  /** Indicates how the metrics should be filtered */
245
- filter?: string;
251
+ filter: string;
246
252
  }, options?: ApiCallOptions) => Promise<GetAutomationsUsageMetricsHttpResponse>;
247
253
  type GetAutomationsUsageMetricsHttpResponse = {
248
254
  data: UsageList;
@@ -557,6 +563,12 @@ declare function clearCache(): void;
557
563
  interface AutomationsAPI {
558
564
  /**
559
565
  * Retrieves a list of automations
566
+ * @example
567
+ * getAutomations(
568
+ * {
569
+ * fields: "lastRun,lastRunStatus,runMode,createdAt,updatedAt"
570
+ * }
571
+ * )
560
572
  *
561
573
  * @param query an object with query parameters
562
574
  * @throws GetAutomationsHttpError
@@ -6,7 +6,7 @@ import {
6
6
  } from "./2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/invoke-fetch.ts
9
- var defaultUserAgent = "qlik-api/1.28.0";
9
+ var defaultUserAgent = "qlik-api/1.29.0";
10
10
  async function invokeFetch(api, props) {
11
11
  const hostConfig = props.options?.hostConfig;
12
12
  let userAgent;
package/collections.d.ts CHANGED
@@ -121,7 +121,7 @@ type ItemMetaResponseBody = {
121
121
  /**
122
122
  * The case-sensitive string defining the item's type.
123
123
  */
124
- type ItemResourceTypeEnum = "app" | "collection" | "qlikview" | "insight" | "qvapp" | "genericlink" | "sharingservicetask" | "note" | "dataasset" | "dataset" | "automation" | "automl-experiment" | "automl-deployment";
124
+ type ItemResourceTypeEnum = "app" | "qlikview" | "qvapp" | "genericlink" | "sharingservicetask" | "note" | "dataasset" | "dataset" | "automation" | "automl-experiment" | "automl-deployment";
125
125
  /**
126
126
  * An item.
127
127
  */
package/data-assets.d.ts CHANGED
@@ -25,7 +25,7 @@ type DataAsset = {
25
25
  /** The value is automatically set by the application. */
26
26
  ownerId?: string;
27
27
  /** A Map of name-value pairs. */
28
- properties?: unknown;
28
+ properties?: Record<string, unknown>;
29
29
  spaceId?: string;
30
30
  tags?: string[];
31
31
  technicalDescription?: string;
@@ -265,6 +265,8 @@ type PatchRequest = {
265
265
  };
266
266
  /**
267
267
  * Access type allowed on associated data connection
268
+ * @example
269
+ * "list"
268
270
  */
269
271
  type Privilege = "list" | "update" | "delete" | "read" | "change_owner" | "change_space";
270
272
  type ResponseErrors = {
@@ -289,6 +291,25 @@ type TopLevelLink = {
289
291
  };
290
292
  /**
291
293
  * Gets a list of connections
294
+ * @example
295
+ * getDataConnections(
296
+ * {
297
+ * dataName: "data",
298
+ * extended: false,
299
+ * spaceId: "611bcebaeec1203d88211ac4",
300
+ * personal: false,
301
+ * owner: "928e2a66-01ba-4678-aa32-e74c213896fa",
302
+ * ownedByMe: true,
303
+ * limit: 30,
304
+ * sort: "+qName",
305
+ * page: "page=JwAAAAljcmVhdGVkAPfQ-sx0AQAAB19pZABfb93nZcM4SN1M0e8A",
306
+ * noDatafiles: true,
307
+ * userId: "6K9xjsItDexffolu5vg1oWYkY8x7f-0G",
308
+ * caseinsensitive: true,
309
+ * locale: "en",
310
+ * includeQris: true
311
+ * }
312
+ * )
292
313
  *
293
314
  * @param query an object with query parameters
294
315
  * @throws GetDataConnectionsHttpError
@@ -407,6 +428,14 @@ type UpdateDataConnectionsHttpError = {
407
428
  };
408
429
  /**
409
430
  * Deletes the specified data connection by ID (or by name when type=connectionname is set in query)
431
+ * @example
432
+ * deleteDataConnection(
433
+ * "82ee7b44-0c4d-491b-bd38-82640c0430a5",
434
+ * {
435
+ * type: "connectionname",
436
+ * spaceId: "611bcebaeec1203d88211ac4"
437
+ * }
438
+ * )
410
439
  *
411
440
  * @param qID Connection ID
412
441
  * @param query an object with query parameters
@@ -430,6 +459,19 @@ type DeleteDataConnectionHttpError = {
430
459
  };
431
460
  /**
432
461
  * Retrieves a connection by connection ID, or by name when the query parameter "type" is set to "connectionname."
462
+ * @example
463
+ * getDataConnection(
464
+ * "82ee7b44-0c4d-491b-bd38-82640c0430a5",
465
+ * {
466
+ * extended: false,
467
+ * type: "connectionname",
468
+ * credentialId: "22379dc5-076e-4fec-ae20-5529a8a57dc2",
469
+ * byCredentialName: false,
470
+ * spaceId: "611bcebaeec1203d88211ac4",
471
+ * noCache: false,
472
+ * parseConnection: true
473
+ * }
474
+ * )
433
475
  *
434
476
  * @param qID Connection ID
435
477
  * @param query an object with query parameters
@@ -514,6 +556,25 @@ declare function clearCache(): void;
514
556
  interface DataConnectionsAPI {
515
557
  /**
516
558
  * Gets a list of connections
559
+ * @example
560
+ * getDataConnections(
561
+ * {
562
+ * dataName: "data",
563
+ * extended: false,
564
+ * spaceId: "611bcebaeec1203d88211ac4",
565
+ * personal: false,
566
+ * owner: "928e2a66-01ba-4678-aa32-e74c213896fa",
567
+ * ownedByMe: true,
568
+ * limit: 30,
569
+ * sort: "+qName",
570
+ * page: "page=JwAAAAljcmVhdGVkAPfQ-sx0AQAAB19pZABfb93nZcM4SN1M0e8A",
571
+ * noDatafiles: true,
572
+ * userId: "6K9xjsItDexffolu5vg1oWYkY8x7f-0G",
573
+ * caseinsensitive: true,
574
+ * locale: "en",
575
+ * includeQris: true
576
+ * }
577
+ * )
517
578
  *
518
579
  * @param query an object with query parameters
519
580
  * @throws GetDataConnectionsHttpError
@@ -549,6 +610,14 @@ interface DataConnectionsAPI {
549
610
  updateDataConnections: typeof updateDataConnections;
550
611
  /**
551
612
  * Deletes the specified data connection by ID (or by name when type=connectionname is set in query)
613
+ * @example
614
+ * deleteDataConnection(
615
+ * "82ee7b44-0c4d-491b-bd38-82640c0430a5",
616
+ * {
617
+ * type: "connectionname",
618
+ * spaceId: "611bcebaeec1203d88211ac4"
619
+ * }
620
+ * )
552
621
  *
553
622
  * @param qID Connection ID
554
623
  * @param query an object with query parameters
@@ -557,6 +626,19 @@ interface DataConnectionsAPI {
557
626
  deleteDataConnection: typeof deleteDataConnection;
558
627
  /**
559
628
  * Retrieves a connection by connection ID, or by name when the query parameter "type" is set to "connectionname."
629
+ * @example
630
+ * getDataConnection(
631
+ * "82ee7b44-0c4d-491b-bd38-82640c0430a5",
632
+ * {
633
+ * extended: false,
634
+ * type: "connectionname",
635
+ * credentialId: "22379dc5-076e-4fec-ae20-5529a8a57dc2",
636
+ * byCredentialName: false,
637
+ * spaceId: "611bcebaeec1203d88211ac4",
638
+ * noCache: false,
639
+ * parseConnection: true
640
+ * }
641
+ * )
560
642
  *
561
643
  * @param qID Connection ID
562
644
  * @param query an object with query parameters
@@ -123,6 +123,13 @@ type FilterOrphanedDataCredentialsHttpError = {
123
123
  };
124
124
  /**
125
125
  * Deletes the specified credential by ID (or by name when type=credentialname is set in query)
126
+ * @example
127
+ * deleteDataCredential(
128
+ * "027d2703-e745-43ec-8876-a2e6ac341700",
129
+ * {
130
+ * byCredentialName: false
131
+ * }
132
+ * )
126
133
  *
127
134
  * @param qID Credential ID
128
135
  * @param query an object with query parameters
@@ -144,6 +151,13 @@ type DeleteDataCredentialHttpError = {
144
151
  };
145
152
  /**
146
153
  * Gets a credential by ID (or by name when bycredentialname=true is set in query)
154
+ * @example
155
+ * getDataCredential(
156
+ * "027d2703-e745-43ec-8876-a2e6ac341700",
157
+ * {
158
+ * byCredentialName: false
159
+ * }
160
+ * )
147
161
  *
148
162
  * @param qID Credential ID
149
163
  * @param query an object with query parameters
@@ -221,6 +235,13 @@ interface DataCredentialsAPI {
221
235
  filterOrphanedDataCredentials: typeof filterOrphanedDataCredentials;
222
236
  /**
223
237
  * Deletes the specified credential by ID (or by name when type=credentialname is set in query)
238
+ * @example
239
+ * deleteDataCredential(
240
+ * "027d2703-e745-43ec-8876-a2e6ac341700",
241
+ * {
242
+ * byCredentialName: false
243
+ * }
244
+ * )
224
245
  *
225
246
  * @param qID Credential ID
226
247
  * @param query an object with query parameters
@@ -229,6 +250,13 @@ interface DataCredentialsAPI {
229
250
  deleteDataCredential: typeof deleteDataCredential;
230
251
  /**
231
252
  * Gets a credential by ID (or by name when bycredentialname=true is set in query)
253
+ * @example
254
+ * getDataCredential(
255
+ * "027d2703-e745-43ec-8876-a2e6ac341700",
256
+ * {
257
+ * byCredentialName: false
258
+ * }
259
+ * )
232
260
  *
233
261
  * @param qID Credential ID
234
262
  * @param query an object with query parameters