Skip to content

Commit 156c97a

Browse files
qlikossbuildgithub-actions[bot]
authored andcommitted
feat: qlik api updates
1 parent d728879 commit 156c97a

File tree

1,131 files changed

+7839
-13232
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,131 files changed

+7839
-13232
lines changed

analytics.d.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import "./chunks/auth-types-YrlH_R9f.js";
2-
import "./chunks/invoke-fetch-C1Z0RJYU.js";
1+
import "./chunks/invoke-fetch-DFc3yzaj.js";
32
import changeStoresExport, { t as change_stores_d_exports } from "./analytics/change-stores.js";
43

54
//#region src/public/rest/analytics.d.ts

analytics.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
import "./chunks/public-runtime-modules-BqxAMJ9M.js";
2-
import "./chunks/invoke-fetch-CckTK7bh.js";
3-
import change_stores_default, { t as change_stores_exports } from "./analytics/change-stores.js";
1+
import "./chunks/public-runtime-modules-2KfyI2qM.js";
2+
import "./chunks/invoke-fetch-DMAi6Fg3.js";
3+
import changeStoresExport, { t as change_stores_exports } from "./analytics/change-stores.js";
44

55
//#region src/public/rest/analytics.ts
66
/**
77
* Functions for the analytics api
88
*/
9-
const analyticsExport = { changeStores: change_stores_default };
10-
var analytics_default = analyticsExport;
9+
const analyticsExport = { changeStores: changeStoresExport };
1110

1211
//#endregion
13-
export { change_stores_exports as changeStores, analytics_default as default };
12+
export { change_stores_exports as changeStores, analyticsExport as default };

analytics/change-stores.d.ts

Lines changed: 40 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
import { y as ApiCallOptions } from "../chunks/auth-types-YrlH_R9f.js";
2-
import "../chunks/invoke-fetch-C1Z0RJYU.js";
1+
import { ApiCallOptions } from "../invoke-fetch-types.js";
2+
import "../chunks/invoke-fetch-DFc3yzaj.js";
33

44
//#region src/public/rest/analytics/change-stores.d.ts
55
declare namespace change_stores_d_exports {
66
export { CellKey, Change, ChangeStore, ChangeStoresAPI, Error, ErrorResponse, GetChangeStoreChangesHttpError, GetChangeStoreChangesHttpResponse, GetChangeStoreChangesTabularViewsHttpError, GetChangeStoreChangesTabularViewsHttpResponse, GetChangeStoreHttpError, GetChangeStoreHttpResponse, GetChangeStoresHttpError, GetChangeStoresHttpResponse, GetChangesData, ListDefaultData, Pagination, PrimaryKey, ReferenceId, RowKey, TabularView, UsedBy, UsedByArray, clearCache, changeStoresExport as default, getChangeStore, getChangeStoreChanges, getChangeStoreChangesTabularViews, getChangeStores };
77
}
88
type CellKey = {
9-
/** The id of the column. */
10-
columnId: string;
11-
/** A map of row keys. */
9+
/** The id of the column. */columnId: string; /** A map of row keys. */
1210
rowKey: RowKey;
1311
};
1412
/**
@@ -18,15 +16,10 @@ type CellKey = {
1816
* }
1917
*/
2018
type Change = {
21-
/** The value of the cell. */
22-
cellValue?: string;
23-
/** Whether the change has been committed. */
24-
committed?: boolean;
25-
/** The time when a user starts typing in a cell and the row becomes locked. */
26-
createdAt?: string;
27-
/** The id of the user who created the change. */
28-
createdBy?: string;
29-
/** The tenant id. */
19+
/** The value of the cell. */cellValue?: string; /** Whether the change has been committed. */
20+
committed?: boolean; /** The time when a user starts typing in a cell and the row becomes locked. */
21+
createdAt?: string; /** The id of the user who created the change. */
22+
createdBy?: string; /** The tenant id. */
3023
tenantId?: string;
3124
/** The time when an update to the change has been done.
3225
* Examples of when this value is updated:
@@ -36,49 +29,33 @@ type Change = {
3629
updatedAt?: string;
3730
};
3831
type ChangeStore = {
39-
/** The time when the change store was created. */
40-
createdAt?: string;
41-
/** The id of the user who created the change store. */
42-
createdBy?: string;
43-
/** The list of primary key columns for the change store. */
44-
primaryKey?: PrimaryKey;
45-
/** The publish reference id used to map stores across published apps/spaces. */
46-
publishRefId?: string;
47-
/** The reference id used to identify related editable-columns or change stores. */
48-
referenceId?: ReferenceId;
49-
/** The space id where the change store is located. */
50-
spaceId?: string;
51-
/** The id of the change store. */
52-
storeId?: string;
53-
/** The name of the change store. */
54-
storeName?: string;
55-
/** The tenant id the change store belongs to. */
56-
tenantId?: string;
57-
/** The time when the change store was last updated. */
58-
updatedAt?: string;
59-
/** List of chart/app references. */
32+
/** The time when the change store was created. */createdAt?: string; /** The id of the user who created the change store. */
33+
createdBy?: string; /** The list of primary key columns for the change store. */
34+
primaryKey?: PrimaryKey; /** The publish reference id used to map stores across published apps/spaces. */
35+
publishRefId?: string; /** The reference id used to identify related editable-columns or change stores. */
36+
referenceId?: ReferenceId; /** The space id where the change store is located. */
37+
spaceId?: string; /** The id of the change store. */
38+
storeId?: string; /** The name of the change store. */
39+
storeName?: string; /** The tenant id the change store belongs to. */
40+
tenantId?: string; /** The time when the change store was last updated. */
41+
updatedAt?: string; /** List of chart/app references. */
6042
usedBy?: UsedByArray;
6143
};
6244
/**
6345
* An error object.
6446
*/
6547
type Error = {
66-
/** The error code. */
67-
code: string;
68-
/** Extra information about the error. */
69-
detail?: string;
70-
/** Description of the error. */
48+
/** The error code. */code: string; /** Extra information about the error. */
49+
detail?: string; /** Description of the error. */
7150
title: string;
7251
};
7352
type ErrorResponse = {
74-
/** list of errors */
75-
errors?: Error[];
53+
/** list of errors */errors?: Error[];
7654
traceId?: string;
7755
};
7856
type GetChangesData = {
7957
cellKey?: CellKey;
80-
changes?: Change[];
81-
/** The name of the column. */
58+
changes?: Change[]; /** The name of the column. */
8259
columnName?: string;
8360
};
8461
type ListDefaultData = {
@@ -137,24 +114,20 @@ type RowKey = Record<string, string>;
137114
*/
138115
type TabularView = {
139116
data?: {
140-
/** The timestamp when the row was last updated. */
141-
updatedAt?: string;
142-
/** The user id that performed the latest update in the row (corresponds to updatedAt). */
117+
/** The timestamp when the row was last updated. */updatedAt?: string; /** The user id that performed the latest update in the row (corresponds to updatedAt). */
143118
updatedBy?: string;
144119
}[];
145120
};
146121
type UsedBy = {
147-
/** The id of the app. */
148-
appId: string;
149-
/** The id of the chart. */
122+
/** The id of the app. */appId: string; /** The id of the chart. */
150123
chartId: string;
151124
};
152125
/**
153126
* List of chart/app references.
154127
*/
155128
type UsedByArray = UsedBy[];
156129
/**
157-
* Get a list of change-stores.
130+
* Returns a list of change-stores, accessible to the user.
158131
* @example
159132
* getChangeStores(
160133
* {
@@ -174,12 +147,9 @@ declare function getChangeStores(query: {
174147
* - **Supported attributes:** `storeName`, `storeId`, `referenceId`, `usedBy.appId`, `primaryKey`
175148
* - **Supported operators:** `eq`, `ne`, `co`, `sw`, `ew`, `pr`, `gt`, `ge`, `lt`, `le`
176149
* - **Logical operators:** `and`, `or`, `not` */
177-
filter?: string;
178-
/** Defines the size of each paged result (maximum 100). */
179-
limit?: number;
180-
/** Used for cursor-based pagination. */
181-
page?: string;
182-
/** Sort results by a field, with optional + (asc) or - (desc) prefix */
150+
filter?: string; /** Defines the size of each paged result (maximum 100). */
151+
limit?: number; /** Used for cursor-based pagination. */
152+
page?: string; /** Sort results by a field, with optional + (asc) or - (desc) prefix */
183153
sort?: string;
184154
/** The space ID to filter change stores by. This parameter is required.
185155
* For personal spaces, use "personal".
@@ -201,7 +171,7 @@ type GetChangeStoresHttpError = {
201171
status: 400 | 401 | 403 | 404 | 500;
202172
};
203173
/**
204-
* Get change store by Id.
174+
* Returns detailed information about a specific change store, such as its configuration and associated charts.
205175
* @example
206176
* getChangeStore(
207177
* "507f1f77bcf86cd799439011"
@@ -224,7 +194,7 @@ type GetChangeStoreHttpError = {
224194
status: 400 | 401 | 403 | 404 | 500;
225195
};
226196
/**
227-
* Retrieve changes for the specified change store.
197+
* Returns a list of changes within the specified change-store.
228198
* @example
229199
* getChangeStoreChanges(
230200
* "507f1f77bcf86cd799439011",
@@ -245,12 +215,9 @@ declare function getChangeStoreChanges(storeId: string, query: {
245215
* - **Supported attributes:** `committed`, `cellKey.columnId`, `columnId`, `createdBy`, `createdAt`, `updatedAt`
246216
* - **Supported operators:** `eq`, `ne`, `co`, `sw`, `ew`, `pr`, `gt`, `ge`, `lt`, `le`
247217
* - **Logical operators:** `and`, `or`, `not` */
248-
filter?: string;
249-
/** Defines the size of each paged result (maximum 100). */
250-
limit?: number;
251-
/** Used for cursor-based pagination. */
252-
page?: string;
253-
/** Sort results by a field, with optional + (asc) or - (desc) prefix */
218+
filter?: string; /** Defines the size of each paged result (maximum 100). */
219+
limit?: number; /** Used for cursor-based pagination. */
220+
page?: string; /** Sort results by a field, with optional + (asc) or - (desc) prefix */
254221
sort?: string;
255222
}, options?: ApiCallOptions): Promise<GetChangeStoreChangesHttpResponse>;
256223
type GetChangeStoreChangesHttpResponse = {
@@ -268,7 +235,7 @@ type GetChangeStoreChangesHttpError = {
268235
status: 400 | 401 | 403 | 404 | 500;
269236
};
270237
/**
271-
* Retrieve changes in tabular view.
238+
* Returns changes in tabular format, showing modified rows with optional expansion to include all columns.
272239
* @example
273240
* getChangeStoreChangesTabularViews(
274241
* "507f1f77bcf86cd799439011",
@@ -283,17 +250,14 @@ type GetChangeStoreChangesHttpError = {
283250
* @throws GetChangeStoreChangesTabularViewsHttpError
284251
*/
285252
declare function getChangeStoreChangesTabularViews(storeId: string, query: {
286-
/** When set to true, the records returned by this endpoint will include the latest change (if available) for each editable column in the record. This parameter should be used in combination with a filter on updatedAt for use cases that require all editable columns to be included in each response. */
287-
expandRow?: boolean;
253+
/** When set to true, the records returned by this endpoint will include the latest change (if available) for each editable column in the record. This parameter should be used in combination with a filter on updatedAt for use cases that require all editable columns to be included in each response. */expandRow?: boolean;
288254
/** A SCIM filter expression used to filter the result.
289255
* The filter parameter allows complex logical expressions using comparison operators and grouping.
290256
* - **Supported attributes:** `committed`, `cellKey.columnId`, `columnId`, `createdBy`, `createdAt`, `updatedAt`
291257
* - **Supported operators:** `eq`, `ne`, `co`, `sw`, `ew`, `pr`, `gt`, `ge`, `lt`, `le`
292258
* - **Logical operators:** `and`, `or`, `not` */
293-
filter?: string;
294-
/** Defines the size of each paged result (maximum 100). */
295-
limit?: number;
296-
/** Used for cursor-based pagination. */
259+
filter?: string; /** Defines the size of each paged result (maximum 100). */
260+
limit?: number; /** Used for cursor-based pagination. */
297261
page?: string;
298262
}, options?: ApiCallOptions): Promise<GetChangeStoreChangesTabularViewsHttpResponse>;
299263
type GetChangeStoreChangesTabularViewsHttpResponse = {
@@ -314,7 +278,7 @@ type GetChangeStoreChangesTabularViewsHttpError = {
314278
declare function clearCache(): void;
315279
type ChangeStoresAPI = {
316280
/**
317-
* Get a list of change-stores.
281+
* Returns a list of change-stores, accessible to the user.
318282
* @example
319283
* getChangeStores(
320284
* {
@@ -330,7 +294,7 @@ type ChangeStoresAPI = {
330294
*/
331295
getChangeStores: typeof getChangeStores;
332296
/**
333-
* Get change store by Id.
297+
* Returns detailed information about a specific change store, such as its configuration and associated charts.
334298
* @example
335299
* getChangeStore(
336300
* "507f1f77bcf86cd799439011"
@@ -341,7 +305,7 @@ type ChangeStoresAPI = {
341305
*/
342306
getChangeStore: typeof getChangeStore;
343307
/**
344-
* Retrieve changes for the specified change store.
308+
* Returns a list of changes within the specified change-store.
345309
* @example
346310
* getChangeStoreChanges(
347311
* "507f1f77bcf86cd799439011",
@@ -358,7 +322,7 @@ type ChangeStoresAPI = {
358322
*/
359323
getChangeStoreChanges: typeof getChangeStoreChanges;
360324
/**
361-
* Retrieve changes in tabular view.
325+
* Returns changes in tabular format, showing modified rows with optional expansion to include all columns.
362326
* @example
363327
* getChangeStoreChangesTabularViews(
364328
* "507f1f77bcf86cd799439011",

analytics/change-stores.js

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
import { t as __exportAll } from "../chunks/chunk-D3vHIbds.js";
2-
import "../chunks/public-runtime-modules-BqxAMJ9M.js";
3-
import { n as invokeFetch, t as clearApiCache } from "../chunks/invoke-fetch-CckTK7bh.js";
1+
import { t as __exportAll } from "../chunks/chunk-BdHzlgOL.js";
2+
import "../chunks/public-runtime-modules-2KfyI2qM.js";
3+
import { n as invokeFetch, t as clearApiCache } from "../chunks/invoke-fetch-DMAi6Fg3.js";
44

55
//#region src/public/rest/analytics/change-stores.ts
66
var change_stores_exports = /* @__PURE__ */ __exportAll({
77
clearCache: () => clearCache,
8-
default: () => change_stores_default,
8+
default: () => changeStoresExport,
99
getChangeStore: () => getChangeStore,
1010
getChangeStoreChanges: () => getChangeStoreChanges,
1111
getChangeStoreChangesTabularViews: () => getChangeStoreChangesTabularViews,
1212
getChangeStores: () => getChangeStores
1313
});
1414
/**
15-
* Get a list of change-stores.
15+
* Returns a list of change-stores, accessible to the user.
1616
* @example
1717
* getChangeStores(
1818
* {
@@ -35,7 +35,7 @@ async function getChangeStores(query, options) {
3535
});
3636
}
3737
/**
38-
* Get change store by Id.
38+
* Returns detailed information about a specific change store, such as its configuration and associated charts.
3939
* @example
4040
* getChangeStore(
4141
* "507f1f77bcf86cd799439011"
@@ -53,7 +53,7 @@ async function getChangeStore(storeId, options) {
5353
});
5454
}
5555
/**
56-
* Retrieve changes for the specified change store.
56+
* Returns a list of changes within the specified change-store.
5757
* @example
5858
* getChangeStoreChanges(
5959
* "507f1f77bcf86cd799439011",
@@ -78,7 +78,7 @@ async function getChangeStoreChanges(storeId, query, options) {
7878
});
7979
}
8080
/**
81-
* Retrieve changes in tabular view.
81+
* Returns changes in tabular format, showing modified rows with optional expansion to include all columns.
8282
* @example
8383
* getChangeStoreChangesTabularViews(
8484
* "507f1f77bcf86cd799439011",
@@ -117,7 +117,6 @@ const changeStoresExport = {
117117
getChangeStoreChangesTabularViews,
118118
clearCache
119119
};
120-
var change_stores_default = changeStoresExport;
121120

122121
//#endregion
123-
export { clearCache, change_stores_default as default, getChangeStore, getChangeStoreChanges, getChangeStoreChangesTabularViews, getChangeStores, change_stores_exports as t };
122+
export { clearCache, changeStoresExport as default, getChangeStore, getChangeStoreChanges, getChangeStoreChangesTabularViews, getChangeStores, change_stores_exports as t };

0 commit comments

Comments
 (0)