Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: qlik api updates #68

Merged
merged 1 commit into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions groups.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { A as ApiCallOptions } from './global.types-Xt6XzwlN.js';
import './auth-types-Bqw3vbLs.js';

/**
* An array of role references.
* An array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles.
*/
type AssignedRoles = {
/** The unique role identitier */
Expand Down Expand Up @@ -70,12 +70,8 @@ type Filter = {
* represents a Group document
*/
type Group = {
assignedRoles?: {
id: string;
readonly level: "admin" | "user";
readonly name: string;
readonly type: "default";
}[];
/** An array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles. */
assignedRoles?: AssignedRoles;
/** The timestamp for when the group record was created. */
createdAt: string;
/** The unique identifier for the group */
Expand Down Expand Up @@ -136,7 +132,7 @@ type GroupSettings = {
syncIdpGroups: boolean;
systemGroups?: {
"000000000000000000000001"?: {
/** An array of role references. */
/** An array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles. */
assignedRoles?: AssignedRoles;
/** The timestamp for when the Everyone group was created. */
createdAt?: string;
Expand Down
12 changes: 8 additions & 4 deletions licenses.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,23 +52,27 @@ type AssignmentsActionsDeleteResponse = {
};
type AssignmentsActionsUpdateRequest = {
update: {
/** The current user subject, in case that should be patched. */
sourceSubject?: string;
/** Current assignment type. */
sourceType: string;
/** User subject */
sourceType?: string;
/** User subject, the current or the desired after the patch. */
subject: string;
/** Target assignment type. */
type: string;
type?: string;
}[];
};
type AssignmentsActionsUpdateResponse = {
data: {
/** Error code */
code?: string;
/** Current subject. */
sourceSubject?: string;
/** Current allotment type. */
sourceType?: string;
/** Response status */
status: number;
/** Subject */
/** Target subject. */
subject?: string;
/** Error title */
title?: string;
Expand Down
2 changes: 1 addition & 1 deletion qix.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import './global.types-Xt6XzwlN.js';
import { H as HostConfig } from './auth-types-Bqw3vbLs.js';

declare const QIX_SCHEMA_VERSION = "12.2111.0";
declare const QIX_SCHEMA_VERSION = "12.2115.0";
type AlfaNumString = {
/**
* Calculated value.
Expand Down
16 changes: 9 additions & 7 deletions reports.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -299,14 +299,16 @@ type ReportRequest = {
/** Define the request metadata. It includes priority, deadline and future settings on execution policy of the request. */
meta?: Meta;
output: OutputItem;
/** Used to export an excel template. */
senseExcelTemplate?: SenseExcelTemplate;
/** Used to produce reports from a template file. */
senseExcelTemplate?: SenseFileTemplate;
/** Used to export a single visualization as pdf, pptx or png. */
senseImageTemplate?: SenseImageTemplate;
/** Used to produce reports from a template file. */
sensePixelPerfectTemplate?: SenseFileTemplate;
/** Used to export a sheet as pdf or pptx. */
senseSheetTemplate?: SenseSheetTemplate;
/** Template type and version using semantic versioning. It must have the following name convention: dashed-separated-template-name-MAJOR.MINOR.
* Please note that sense-story-x.0, sense-data-x.0 and qv-data-x.0 are only for internal use.
* Please note that sense-pixel-perfect-template-1.0, sense-story-x.0, sense-data-x.0 and qv-data-x.0 are only for internal use.
*
* Each type requires a specific template to be provided:
* - composition-1.0 requires compositionTemplates to be set
Expand All @@ -319,7 +321,7 @@ type ReportRequest = {
* - sense-excel-template-1.0 supports excel and pdf output type
* - sense-image-1.0 supports pdf, pptx and png output types
* - sense-sheet-1.0 supports pdf, pptx output type */
type: "composition-1.0" | "sense-image-1.0" | "sense-data-1.0" | "sense-sheet-1.0" | "sense-story-1.0" | "qv-data-1.0" | "qv-data-2.0" | "sense-excel-template-1.0";
type: "composition-1.0" | "sense-image-1.0" | "sense-data-1.0" | "sense-sheet-1.0" | "sense-story-1.0" | "qv-data-1.0" | "qv-data-2.0" | "sense-excel-template-1.0" | "sense-pixel-perfect-template-1.0";
};
type ReportStatus = {
/** Present when status is failed. */
Expand Down Expand Up @@ -377,9 +379,9 @@ type SelectionFilter = {
};
type SelectionStrategy = "failOnErrors" | "ignoreErrorsReturnDetails" | "ignoreErrorsNoDetails";
/**
* Used to export an excel template.
* Used to produce reports from a template file.
*/
type SenseExcelTemplate = {
type SenseFileTemplate = {
/** A JSON object that is passed as-is to the mashup page while rendering, this will be applied to all charts within the sheet. It includes properties of the whole sheet such as theme, gradient etc. Currently only the "theme" property is supported. */
jsOpts?: unknown;
/** Choose the reloadTimestamp constraint to apply. An empty value leads to the default noCheck. */
Expand Down Expand Up @@ -541,4 +543,4 @@ interface ReportsAPI {
*/
declare const reportsExport: ReportsAPI;

export { type AppError, type AppErrors, type CallBackAction, type ChainableSelection, type ChainableSelectionType, type ComposableTemplate, type CreateReportHttpError, type CreateReportHttpResponse, type Definitions, type DocProperties, type Error, type ExcelOutput, type ExportError, type ExportErrors, type Float64, type GetReportStatusHttpError, type GetReportStatusHttpResponse, type HttpRequest, type ImageOutput, type Meta, type MetaExportError, type NxPatch, type OutputItem, type PdfCompositionOutput, type PdfOutput, type PptxCompositionOutput, type PptxOutput, type QFieldValue, type QSelection, type Reason, type ReloadTimestampMatchType, type ReportRequest, type ReportStatus, type ReportsAPI, type Result, type SelectionChain, type SelectionError, type SelectionErrors, type SelectionFilter, type SelectionStrategy, type SenseExcelTemplate, type SenseImageTemplate, type SensePersistentBookmark, type SenseSheetTemplate, type SenseTemporaryBookmarkV2, type Sheet, type TemplateLocation, type Visualization, clearCache, createReport, reportsExport as default, getReportStatus };
export { type AppError, type AppErrors, type CallBackAction, type ChainableSelection, type ChainableSelectionType, type ComposableTemplate, type CreateReportHttpError, type CreateReportHttpResponse, type Definitions, type DocProperties, type Error, type ExcelOutput, type ExportError, type ExportErrors, type Float64, type GetReportStatusHttpError, type GetReportStatusHttpResponse, type HttpRequest, type ImageOutput, type Meta, type MetaExportError, type NxPatch, type OutputItem, type PdfCompositionOutput, type PdfOutput, type PptxCompositionOutput, type PptxOutput, type QFieldValue, type QSelection, type Reason, type ReloadTimestampMatchType, type ReportRequest, type ReportStatus, type ReportsAPI, type Result, type SelectionChain, type SelectionError, type SelectionErrors, type SelectionFilter, type SelectionStrategy, type SenseFileTemplate, type SenseImageTemplate, type SensePersistentBookmark, type SenseSheetTemplate, type SenseTemporaryBookmarkV2, type Sheet, type TemplateLocation, type Visualization, clearCache, createReport, reportsExport as default, getReportStatus };
2 changes: 2 additions & 0 deletions tenants.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ type Tenant = {
enableAnalyticCreation?: boolean;
/** List of case insensitive hostnames that are mapped to the tenant. The first record maps to the display name and the subsequent entries are aliases. */
hostnames?: string[];
/** The unique tenant identifier. */
readonly id: string;
/** The timestamp for when the tenant record was last updated (1970-01-01T00:00:00.001Z for static tenants). */
readonly lastUpdated?: string;
readonly links?: {
Expand Down
6 changes: 3 additions & 3 deletions users.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import './auth-types-Bqw3vbLs.js';
* An array of group references.
*/
type AssignedGroups = {
/** An array of role references. */
/** An array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles. */
assignedRoles?: AssignedRoles;
/** The unique group identitier */
id: string;
/** The group name */
readonly name: string;
}[];
/**
* An array of role references.
* An array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles.
*/
type AssignedRoles = {
/** The unique role identitier */
Expand Down Expand Up @@ -169,7 +169,7 @@ type ResultItem = {
type User = {
/** An array of group references. */
assignedGroups?: AssignedGroups;
/** An array of role references. */
/** An array of role references. Visibility dependant on access level. Must have access to roles to view other users' assigned roles. */
assignedRoles?: AssignedRoles;
/** An array of scopes assigned to user */
readonly assignedScopes?: AssignedScopes;
Expand Down
Loading