@qlik/api 1.24.0 → 1.26.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 +1 -1
- package/api-keys.js +2 -2
- package/apps.d.ts +1 -1
- package/apps.js +2 -2
- package/audits.d.ts +1 -1
- package/audits.js +2 -2
- package/auth.js +2 -2
- package/automations.d.ts +1 -1
- package/automations.js +2 -2
- package/brands.d.ts +1 -1
- package/brands.js +2 -2
- package/chunks/{3DYV7KOJ.js → 2BRBIRM2.js} +2 -2
- package/chunks/{7BDAXGID.js → 3RGGGGAR.js} +6 -9
- package/chunks/{6DEESTGF.js → 4D5NADHK.js} +4 -4
- package/chunks/{OIQ5ELGS.js → 7SNOQCIQ.js} +1 -1
- package/chunks/{UA6BE3VB.js → AMO5NATA.js} +2 -2
- package/chunks/{BL5PJM4B.js → HGRF5TX3.js} +1 -1
- package/chunks/{N3ZFICDU.js → MGXEGSJC.js} +3 -3
- package/chunks/{I5UOE4ZZ.js → NBW6PHZU.js} +120 -44
- package/chunks/{6QRR5VUM.js → QOOCP2TS.js} +4 -3
- package/chunks/{CZC7KEJN.js → UV5COPU3.js} +3 -3
- package/collections.d.ts +1 -1
- package/collections.js +2 -2
- package/csp-origins.d.ts +13 -13
- package/csp-origins.js +2 -2
- package/data-assets.d.ts +2 -2
- package/data-assets.js +2 -2
- package/data-connections.d.ts +1 -1
- package/data-connections.js +2 -2
- package/data-credentials.d.ts +1 -1
- package/data-credentials.js +2 -2
- package/data-files.d.ts +1 -1
- package/data-files.js +2 -2
- package/docs/qix.md +28 -8
- package/extensions.d.ts +1 -1
- package/extensions.js +2 -2
- package/glossaries.d.ts +1 -1
- package/glossaries.js +2 -2
- package/groups.d.ts +3 -3
- package/groups.js +2 -2
- package/identity-providers.d.ts +28 -3
- package/identity-providers.js +2 -2
- package/index.d.ts +1 -1
- package/index.js +5 -5
- package/interceptors.d.ts +1 -1
- package/interceptors.js +1 -1
- package/{invoke-fetch-types-BLrpeZOL.d.ts → invoke-fetch-types-BXn-uSF5.d.ts} +27 -1
- package/items.d.ts +3 -3
- package/items.js +2 -2
- package/licenses.d.ts +1 -1
- package/licenses.js +2 -2
- package/package.json +3 -3
- package/qix.d.ts +35 -2
- package/qix.js +2 -2
- package/quotas.d.ts +1 -1
- package/quotas.js +2 -2
- package/reload-tasks.d.ts +1 -1
- package/reload-tasks.js +2 -2
- package/reloads.d.ts +1 -1
- package/reloads.js +2 -2
- package/reports.d.ts +9 -7
- package/reports.js +2 -2
- package/roles.d.ts +2 -2
- package/roles.js +2 -2
- package/spaces.d.ts +23 -23
- package/spaces.js +2 -2
- package/temp-contents.d.ts +1 -1
- package/temp-contents.js +2 -2
- package/tenants.d.ts +1 -1
- package/tenants.js +2 -2
- package/themes.d.ts +1 -1
- package/themes.js +2 -2
- package/transports.d.ts +1 -1
- package/transports.js +2 -2
- package/users.d.ts +38 -27
- package/users.js +2 -2
- package/web-integrations.d.ts +1 -1
- package/web-integrations.js +2 -2
- package/web-notifications.d.ts +1 -1
- package/web-notifications.js +2 -2
- package/webhooks.d.ts +1 -1
- package/webhooks.js +2 -2
package/csp-origins.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
|
|
2
2
|
import './auth-types-PkN9CAF_.js';
|
|
3
3
|
|
|
4
4
|
type CSPEntry = {
|
|
@@ -71,7 +71,7 @@ type Link = {
|
|
|
71
71
|
href: string;
|
|
72
72
|
};
|
|
73
73
|
/**
|
|
74
|
-
* Retrieves all
|
|
74
|
+
* Retrieves all content security policies for a tenant.
|
|
75
75
|
*
|
|
76
76
|
* @param query an object with query parameters
|
|
77
77
|
* @throws GetCSPEntriesHttpError
|
|
@@ -129,7 +129,7 @@ type GetCSPEntriesHttpError = {
|
|
|
129
129
|
status: number;
|
|
130
130
|
};
|
|
131
131
|
/**
|
|
132
|
-
* Creates a new
|
|
132
|
+
* Creates a new content security policy for an origin.
|
|
133
133
|
*
|
|
134
134
|
* @param body an object with the body content
|
|
135
135
|
* @throws CreateCSPEntryHttpError
|
|
@@ -146,7 +146,7 @@ type CreateCSPEntryHttpError = {
|
|
|
146
146
|
status: number;
|
|
147
147
|
};
|
|
148
148
|
/**
|
|
149
|
-
* Retrieves the
|
|
149
|
+
* Retrieves the full content security policy header (including all configured policies and origins) for the tenant.
|
|
150
150
|
*
|
|
151
151
|
* @throws GetCSPHeaderHttpError
|
|
152
152
|
*/
|
|
@@ -162,7 +162,7 @@ type GetCSPHeaderHttpError = {
|
|
|
162
162
|
status: number;
|
|
163
163
|
};
|
|
164
164
|
/**
|
|
165
|
-
* Deletes a specific
|
|
165
|
+
* Deletes a specific content security policy.
|
|
166
166
|
*
|
|
167
167
|
* @param id The CSP entry's unique identifier.
|
|
168
168
|
* @throws DeleteCSPEntryHttpError
|
|
@@ -179,7 +179,7 @@ type DeleteCSPEntryHttpError = {
|
|
|
179
179
|
status: number;
|
|
180
180
|
};
|
|
181
181
|
/**
|
|
182
|
-
* Returns details for a specific
|
|
182
|
+
* Returns details for a specific content security policy.
|
|
183
183
|
*
|
|
184
184
|
* @param id The CSP entry's unique identifier.
|
|
185
185
|
* @throws GetCSPEntryHttpError
|
|
@@ -196,7 +196,7 @@ type GetCSPEntryHttpError = {
|
|
|
196
196
|
status: number;
|
|
197
197
|
};
|
|
198
198
|
/**
|
|
199
|
-
* Updates a
|
|
199
|
+
* Updates a content security policy.
|
|
200
200
|
*
|
|
201
201
|
* @param id The CSP entry's unique identifier.
|
|
202
202
|
* @param body an object with the body content
|
|
@@ -219,41 +219,41 @@ type UpdateCSPEntryHttpError = {
|
|
|
219
219
|
declare function clearCache(): void;
|
|
220
220
|
interface CspOriginsAPI {
|
|
221
221
|
/**
|
|
222
|
-
* Retrieves all
|
|
222
|
+
* Retrieves all content security policies for a tenant.
|
|
223
223
|
*
|
|
224
224
|
* @param query an object with query parameters
|
|
225
225
|
* @throws GetCSPEntriesHttpError
|
|
226
226
|
*/
|
|
227
227
|
getCSPEntries: typeof getCSPEntries;
|
|
228
228
|
/**
|
|
229
|
-
* Creates a new
|
|
229
|
+
* Creates a new content security policy for an origin.
|
|
230
230
|
*
|
|
231
231
|
* @param body an object with the body content
|
|
232
232
|
* @throws CreateCSPEntryHttpError
|
|
233
233
|
*/
|
|
234
234
|
createCSPEntry: typeof createCSPEntry;
|
|
235
235
|
/**
|
|
236
|
-
* Retrieves the
|
|
236
|
+
* Retrieves the full content security policy header (including all configured policies and origins) for the tenant.
|
|
237
237
|
*
|
|
238
238
|
* @throws GetCSPHeaderHttpError
|
|
239
239
|
*/
|
|
240
240
|
getCSPHeader: typeof getCSPHeader;
|
|
241
241
|
/**
|
|
242
|
-
* Deletes a specific
|
|
242
|
+
* Deletes a specific content security policy.
|
|
243
243
|
*
|
|
244
244
|
* @param id The CSP entry's unique identifier.
|
|
245
245
|
* @throws DeleteCSPEntryHttpError
|
|
246
246
|
*/
|
|
247
247
|
deleteCSPEntry: typeof deleteCSPEntry;
|
|
248
248
|
/**
|
|
249
|
-
* Returns details for a specific
|
|
249
|
+
* Returns details for a specific content security policy.
|
|
250
250
|
*
|
|
251
251
|
* @param id The CSP entry's unique identifier.
|
|
252
252
|
* @throws GetCSPEntryHttpError
|
|
253
253
|
*/
|
|
254
254
|
getCSPEntry: typeof getCSPEntry;
|
|
255
255
|
/**
|
|
256
|
-
* Updates a
|
|
256
|
+
* Updates a content security policy.
|
|
257
257
|
*
|
|
258
258
|
* @param id The CSP entry's unique identifier.
|
|
259
259
|
* @param body an object with the body content
|
package/csp-origins.js
CHANGED
package/data-assets.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
|
|
2
2
|
import './auth-types-PkN9CAF_.js';
|
|
3
3
|
|
|
4
4
|
type BatchIdDto = {
|
|
5
5
|
ids?: string[];
|
|
6
6
|
};
|
|
7
7
|
type DataAsset = {
|
|
8
|
-
appId
|
|
8
|
+
appId?: string;
|
|
9
9
|
appType: string;
|
|
10
10
|
/** The value is automatically set by the application. User defined value is ignored. */
|
|
11
11
|
readonly createdBy?: string;
|
package/data-assets.js
CHANGED
package/data-connections.d.ts
CHANGED
package/data-connections.js
CHANGED
package/data-credentials.d.ts
CHANGED
package/data-credentials.js
CHANGED
package/data-files.d.ts
CHANGED
package/data-files.js
CHANGED
package/docs/qix.md
CHANGED
|
@@ -62,15 +62,36 @@ const sheetlist = await app.getSheetList();
|
|
|
62
62
|
React example of getting the sheet list from a Qlik Sense app.
|
|
63
63
|
|
|
64
64
|
```tsx
|
|
65
|
+
import { type HostConfig } from "@qlik/api/auth";
|
|
66
|
+
import { openAppSession, type Doc } from "@qlik/api/qix";
|
|
65
67
|
import React from "react";
|
|
66
68
|
import usePromise from "react-use-promise";
|
|
67
|
-
import { useAppHook } from "@qlik/api/qix";
|
|
68
|
-
import { setDefaultHostConfig } from "@qlik/api/auth";
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
const hostConfig: HostConfig = {
|
|
71
|
+
..., // add host config values here
|
|
72
|
+
};
|
|
71
73
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Use App Hook
|
|
77
|
+
*/
|
|
78
|
+
function useApp(appId: string): Doc | undefined {
|
|
79
|
+
const [app, setApp] = React.useState<Doc | undefined>(undefined);
|
|
80
|
+
React.useEffect(() => {
|
|
81
|
+
// open a websocket using the specified hostConfig. If `setDefaultHostConfig` has been used,
|
|
82
|
+
// passing host config here is not needed here.
|
|
83
|
+
const appSession = openAppSession({ appId, hostConfig });
|
|
84
|
+
appSession.getDoc().then((x) => {
|
|
85
|
+
setApp(x);
|
|
86
|
+
});
|
|
87
|
+
return () => {
|
|
88
|
+
if (appSession) {
|
|
89
|
+
appSession.close();
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
}, [appId]);
|
|
93
|
+
return app;
|
|
94
|
+
}
|
|
74
95
|
|
|
75
96
|
type SheetListProps = {
|
|
76
97
|
appId: string;
|
|
@@ -79,10 +100,9 @@ type SheetListProps = {
|
|
|
79
100
|
const SheetList = ({ appId }: SheetListProps): JSX.Element | null => {
|
|
80
101
|
const app = useApp(appId);
|
|
81
102
|
|
|
82
|
-
// this could be nicely wrapped in your own local getSheetList hook
|
|
103
|
+
// this could be nicely wrapped in your own local getSheetList hook similar to the useApp hook above
|
|
83
104
|
const [sheetList] = usePromise(async () => app && app.getSheetList(), [app]);
|
|
84
105
|
// getSheetList above is coming from mixins, fully typed
|
|
85
|
-
|
|
86
106
|
if (!sheetList) {
|
|
87
107
|
return <div>Loading</div>;
|
|
88
108
|
}
|
|
@@ -90,7 +110,7 @@ const SheetList = ({ appId }: SheetListProps): JSX.Element | null => {
|
|
|
90
110
|
<div>
|
|
91
111
|
<div>Sheets:</div>
|
|
92
112
|
{sheetList.map((item) => (
|
|
93
|
-
<div key={item.qInfo?.qId}>{item.qData
|
|
113
|
+
<div key={item.qInfo?.qId}>{item.qData?.title}</div>
|
|
94
114
|
))}
|
|
95
115
|
</div>
|
|
96
116
|
);
|
package/extensions.d.ts
CHANGED
package/extensions.js
CHANGED
package/glossaries.d.ts
CHANGED
package/glossaries.js
CHANGED
package/groups.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
|
|
2
2
|
import './auth-types-PkN9CAF_.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -108,8 +108,8 @@ type GroupPatch = {
|
|
|
108
108
|
op: "replace";
|
|
109
109
|
/** Attribute name of a field of the Groups entity. "Name" and "description" is only available for custom groups. */
|
|
110
110
|
path: "assignedRoles" | "name" | "description";
|
|
111
|
-
/** The roles to assign to the group (limit of 100 roles per group). */
|
|
112
|
-
value: AssignedRolesRefIDs | AssignedRolesRefNames;
|
|
111
|
+
/** The roles to assign to the group (limit of 100 roles per group) or the new custom group name or description. */
|
|
112
|
+
value: AssignedRolesRefIDs | AssignedRolesRefNames | string;
|
|
113
113
|
};
|
|
114
114
|
/**
|
|
115
115
|
* An array of JSON Patches for a group.
|
package/groups.js
CHANGED
package/identity-providers.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
|
|
2
2
|
import './auth-types-PkN9CAF_.js';
|
|
3
3
|
|
|
4
4
|
type BaseIDP = {
|
|
@@ -98,6 +98,8 @@ type CreateOIDCPayload = {
|
|
|
98
98
|
clientId: string;
|
|
99
99
|
/** The client secret used as part of authenticating an interactive identity provider. */
|
|
100
100
|
clientSecret: string;
|
|
101
|
+
/** A decrypting key used to decrypt OIDC encrypted assertions */
|
|
102
|
+
decryptingKey?: DecryptingKey;
|
|
101
103
|
/** The OpenID configuration endpoint. (Ex: https://<domain>/.well-known/openid-configuration). Required if openid_configuration is not given. */
|
|
102
104
|
discoveryUrl?: string;
|
|
103
105
|
/** Only ADFS and AzureAD IdPs can set this property. For ADFS and AzureAD, it defaults to false. For other IdPs, it defaults to undefined. */
|
|
@@ -261,6 +263,8 @@ type IDPOIDCOptions = {
|
|
|
261
263
|
clientId?: string;
|
|
262
264
|
/** The client secret used as part of authenticating an interactive identity provider. */
|
|
263
265
|
clientSecret?: string;
|
|
266
|
+
/** A decrypting key used to decrypt OIDC encrypted assertions */
|
|
267
|
+
decryptingKey?: DecryptingKey;
|
|
264
268
|
/** The OpenID configuration endpoint. (Ex: https://<domain>/.well-known/openid-configuration). */
|
|
265
269
|
discoveryUrl?: string;
|
|
266
270
|
/** Determines if email_verified should be always true. This field is only used in ADFS and AzureAD IdPs. */
|
|
@@ -379,7 +383,7 @@ type PatchOIDCPayload = {
|
|
|
379
383
|
/** The "operation" to be performed on a given IdP. Currently supports a custom operation value called "promote-options" that allows the test configuration to be promoted to the current configuration used for login. */
|
|
380
384
|
op: "replace" | "promote-options";
|
|
381
385
|
/** The "path" to the part of the IdP document. */
|
|
382
|
-
path?: "/active" | "/description" | "/meta" | "/options" | "/options/realm" | "/options/discoveryUrl" | "/options/claimsMapping" | "/pendingOptions" | "/pendingOptions/realm" | "/pendingOptions/discoveryUrl" | "/pendingOptions/clientId" | "/pendingOptions/clientSecret" | "/pendingOptions/emailVerifiedAlwaysTrue" | "/pendingOptions/claimsMapping" | "/postLogoutRedirectUri" | "/clockToleranceSec" | "/pendingOptions/idTokenSignatureAlg";
|
|
386
|
+
path?: "/active" | "/description" | "/meta" | "/options" | "/options/realm" | "/options/discoveryUrl" | "/options/claimsMapping" | "/pendingOptions" | "/pendingOptions/realm" | "/pendingOptions/discoveryUrl" | "/pendingOptions/clientId" | "/pendingOptions/clientSecret" | "/pendingOptions/emailVerifiedAlwaysTrue" | "/pendingOptions/claimsMapping" | "/postLogoutRedirectUri" | "/clockToleranceSec" | "/pendingOptions/idTokenSignatureAlg" | "/pendingOptions/decryptingKey";
|
|
383
387
|
/** The "value" data type is dependent on the path value being used. */
|
|
384
388
|
value?: unknown;
|
|
385
389
|
};
|
|
@@ -469,6 +473,27 @@ type ClaimsMappingSAML = {
|
|
|
469
473
|
/** A list of SAML attributes used to map the user's subject. */
|
|
470
474
|
sub: string[];
|
|
471
475
|
};
|
|
476
|
+
/**
|
|
477
|
+
* A decrypting key used to decrypt OIDC encrypted assertions
|
|
478
|
+
*/
|
|
479
|
+
type DecryptingKey = {
|
|
480
|
+
/** The key's certificate in pem format */
|
|
481
|
+
certificate?: string;
|
|
482
|
+
/** The timestamp for when the decrypting key was created. */
|
|
483
|
+
createdAt?: string;
|
|
484
|
+
/** The user id of the user who created the decrypting key */
|
|
485
|
+
createdBy?: string;
|
|
486
|
+
/** The public key in jwk format */
|
|
487
|
+
jwks?: string;
|
|
488
|
+
/** The id of the decrypting key */
|
|
489
|
+
keyId?: string;
|
|
490
|
+
/** The algorithm size of the decrypting key */
|
|
491
|
+
keySize: number;
|
|
492
|
+
/** The algorithm type of the decrypting key */
|
|
493
|
+
keyType: string;
|
|
494
|
+
/** The public key in pem format */
|
|
495
|
+
publicKey?: string;
|
|
496
|
+
};
|
|
472
497
|
/**
|
|
473
498
|
* This endpoint retrieves any IdPs registered on the tenant.
|
|
474
499
|
*
|
|
@@ -683,4 +708,4 @@ interface IdentityProvidersAPI {
|
|
|
683
708
|
*/
|
|
684
709
|
declare const identityProvidersExport: IdentityProvidersAPI;
|
|
685
710
|
|
|
686
|
-
export { type BaseIDP, type CertificateInfo, type ClaimsMappingInteractive, type ClaimsMappingNonInteractive, type ClaimsMappingSAML, type CreateIdpHttpError, type CreateIdpHttpResponse, type CreateJWTAuthPayload, type CreateOIDCPayload, type CreateSAMLPayload, type DeleteIdpHttpError, type DeleteIdpHttpResponse, type Error, type Errors, type GetIdpHttpError, type GetIdpHttpResponse, type GetIdpStatusesHttpError, type GetIdpStatusesHttpResponse, type GetIdpWellKnownMetaDataHttpError, type GetIdpWellKnownMetaDataHttpResponse, type GetIdpsHttpError, type GetIdpsHttpResponse, type GetMyIdpMetaHttpError, type GetMyIdpMetaHttpResponse, type IDP, type IDPArray, type IDPJWTAuth, type IDPMeta, type IDPOIDC, type IDPOIDCOptions, type IDPPatchSchema, type IDPPostSchema, type IDPProtocol, type IDPProvider, type IDPSAML, type IDPSAMLOptions, type IDPsStatus, type IdentityProvidersAPI, type Links, type OpenIDConfiguration, type PatchIdpHttpError, type PatchIdpHttpResponse, type PatchJWTAuthPayload, type PatchOIDCPayload, type PatchSAMLPayload, type PendingResult, type SigningKey, clearCache, createIdp, identityProvidersExport as default, deleteIdp, getIdp, getIdpStatuses, getIdpWellKnownMetaData, getIdps, getMyIdpMeta, patchIdp };
|
|
711
|
+
export { type BaseIDP, type CertificateInfo, type ClaimsMappingInteractive, type ClaimsMappingNonInteractive, type ClaimsMappingSAML, type CreateIdpHttpError, type CreateIdpHttpResponse, type CreateJWTAuthPayload, type CreateOIDCPayload, type CreateSAMLPayload, type DecryptingKey, type DeleteIdpHttpError, type DeleteIdpHttpResponse, type Error, type Errors, type GetIdpHttpError, type GetIdpHttpResponse, type GetIdpStatusesHttpError, type GetIdpStatusesHttpResponse, type GetIdpWellKnownMetaDataHttpError, type GetIdpWellKnownMetaDataHttpResponse, type GetIdpsHttpError, type GetIdpsHttpResponse, type GetMyIdpMetaHttpError, type GetMyIdpMetaHttpResponse, type IDP, type IDPArray, type IDPJWTAuth, type IDPMeta, type IDPOIDC, type IDPOIDCOptions, type IDPPatchSchema, type IDPPostSchema, type IDPProtocol, type IDPProvider, type IDPSAML, type IDPSAMLOptions, type IDPsStatus, type IdentityProvidersAPI, type Links, type OpenIDConfiguration, type PatchIdpHttpError, type PatchIdpHttpResponse, type PatchJWTAuthPayload, type PatchOIDCPayload, type PatchSAMLPayload, type PendingResult, type SigningKey, clearCache, createIdp, identityProvidersExport as default, deleteIdp, getIdp, getIdpStatuses, getIdpWellKnownMetaData, getIdps, getMyIdpMeta, patchIdp };
|
package/identity-providers.js
CHANGED
package/index.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ import { WebIntegrationsAPI } from './web-integrations.js';
|
|
|
33
33
|
import { WebNotificationsAPI } from './web-notifications.js';
|
|
34
34
|
import { WebhooksAPI } from './webhooks.js';
|
|
35
35
|
import { H as HostConfig } from './auth-types-PkN9CAF_.js';
|
|
36
|
-
import './invoke-fetch-types-
|
|
36
|
+
import './invoke-fetch-types-BXn-uSF5.js';
|
|
37
37
|
|
|
38
38
|
declare const apiKeys: ApiKeysAPI;
|
|
39
39
|
declare const apps: AppsAPI;
|
package/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
qix_default
|
|
3
|
-
} from "./chunks/
|
|
3
|
+
} from "./chunks/7SNOQCIQ.js";
|
|
4
4
|
import {
|
|
5
5
|
auth_default
|
|
6
|
-
} from "./chunks/
|
|
6
|
+
} from "./chunks/HGRF5TX3.js";
|
|
7
7
|
import {
|
|
8
8
|
interceptors_default
|
|
9
|
-
} from "./chunks/
|
|
9
|
+
} from "./chunks/3RGGGGAR.js";
|
|
10
10
|
import {
|
|
11
11
|
clearApiCache,
|
|
12
12
|
invokeFetch
|
|
13
|
-
} from "./chunks/
|
|
14
|
-
import "./chunks/
|
|
13
|
+
} from "./chunks/AMO5NATA.js";
|
|
14
|
+
import "./chunks/UV5COPU3.js";
|
|
15
15
|
import "./chunks/2ZQ3ZX7F.js";
|
|
16
16
|
|
|
17
17
|
// src/runtime-api-generator/runtime-api-generator-common.ts
|
package/interceptors.d.ts
CHANGED
package/interceptors.js
CHANGED
|
@@ -116,7 +116,7 @@ declare global {
|
|
|
116
116
|
* Attaching cache to the window so it can be viewed from the devtool.
|
|
117
117
|
* Do not use this for anything!
|
|
118
118
|
*/
|
|
119
|
-
var __API_CACHE__DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Record<string, Record<string, CacheEntry
|
|
119
|
+
var __API_CACHE__DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Record<string, Record<string, CacheEntry> | undefined>;
|
|
120
120
|
/**
|
|
121
121
|
* QlikMain object defined in https://github.com/qlik-trial/main-web-container/blob/main/src/main.ts
|
|
122
122
|
*/
|
|
@@ -180,6 +180,11 @@ type ApiCallOptions = {
|
|
|
180
180
|
* before the request is completed.
|
|
181
181
|
*/
|
|
182
182
|
keepalive?: boolean;
|
|
183
|
+
/**
|
|
184
|
+
* Options for progress-reporting. Specify any combination of the callbacks `onUpload`
|
|
185
|
+
* and `onDownload`. Progress will be reported continuously.
|
|
186
|
+
*/
|
|
187
|
+
progress?: ProgressOptions;
|
|
183
188
|
};
|
|
184
189
|
type InvokeFetchProperties = {
|
|
185
190
|
/** http method */
|
|
@@ -205,5 +210,26 @@ type DownloadableBlob = Blob & {
|
|
|
205
210
|
/** download the blob in a using the specified filename */
|
|
206
211
|
download: (filename: string) => Promise<void>;
|
|
207
212
|
};
|
|
213
|
+
/** The callback options for reporting progress. */
|
|
214
|
+
type ProgressOptions = {
|
|
215
|
+
/** upload callback, called repeatedly when upload-progress is available */
|
|
216
|
+
onUpload?: (event: PartialProgressEvent) => void;
|
|
217
|
+
/** download callback, called repeatedly when upload-progress is available */
|
|
218
|
+
onDownload?: (event: PartialProgressEvent) => void;
|
|
219
|
+
};
|
|
220
|
+
/** Represents the current upload or download progress a API-call.
|
|
221
|
+
*
|
|
222
|
+
* It contains the number of loaded bytes and, if computable, the total payload size.
|
|
223
|
+
* If the total size cannot be determined, `total` will be undefined.
|
|
224
|
+
*
|
|
225
|
+
*
|
|
226
|
+
* See MDN: {@link https://developer.mozilla.org/en-US/docs/Web/API/ProgressEvent}
|
|
227
|
+
*/
|
|
228
|
+
type PartialProgressEvent = {
|
|
229
|
+
/** Number of bytes currently loaded. */
|
|
230
|
+
loaded: ProgressEvent["loaded"];
|
|
231
|
+
/** The total size of the payload, if computable. */
|
|
232
|
+
total?: ProgressEvent["total"];
|
|
233
|
+
};
|
|
208
234
|
|
|
209
235
|
export type { ApiCallOptions as A, DownloadableBlob as D, InvokeFetchResponse as I, InvokeFetchProperties as a };
|
package/items.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ApiCallOptions } from './invoke-fetch-types-
|
|
1
|
+
import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
|
|
2
2
|
import './auth-types-PkN9CAF_.js';
|
|
3
3
|
|
|
4
4
|
type CollectionTypes = "private" | "public" | "publicgoverned";
|
|
@@ -289,8 +289,8 @@ declare const getItems: (query: {
|
|
|
289
289
|
/** @deprecated
|
|
290
290
|
* Whether or not to return items in a shared space. */
|
|
291
291
|
shared?: boolean;
|
|
292
|
-
/** The property of a resource to sort on (default sort is +createdAt). The supported properties are createdAt, updatedAt, and name. A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
|
|
293
|
-
sort?: "+createdAt" | "-createdAt" | "+name" | "-name" | "+updatedAt" | "-updatedAt";
|
|
292
|
+
/** The property of a resource to sort on (default sort is +createdAt). The supported properties are createdAt, updatedAt, recentlyUsed and name. A property must be prefixed by + or - to indicate ascending or descending sort order respectively. */
|
|
293
|
+
sort?: "+createdAt" | "-createdAt" | "+name" | "-name" | "+updatedAt" | "-updatedAt" | "+recentlyUsed" | "-recentlyUsed";
|
|
294
294
|
/** The space's unique identifier (supports \'personal\' as spaceId). */
|
|
295
295
|
spaceId?: string;
|
|
296
296
|
/** The case-sensitive string used to filter items on space type(s). For example '?spaceType=shared,personal'. */
|
package/items.js
CHANGED
package/licenses.d.ts
CHANGED
package/licenses.js
CHANGED
package/package.json
CHANGED
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"enigma.js": "^2.14.0",
|
|
15
15
|
"lodash": "^4.17.21",
|
|
16
|
-
"nanoid": "^5.0.
|
|
16
|
+
"nanoid": "^5.0.9",
|
|
17
17
|
"ws": "^8.18.0"
|
|
18
18
|
},
|
|
19
|
-
"packageManager": "pnpm@9.
|
|
19
|
+
"packageManager": "pnpm@9.15.0",
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=18"
|
|
22
22
|
},
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"./qix": "./qix.js",
|
|
57
57
|
"./auth": "./auth.js"
|
|
58
58
|
},
|
|
59
|
-
"version": "1.
|
|
59
|
+
"version": "1.26.0"
|
|
60
60
|
}
|
package/qix.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { H as HostConfig } from './auth-types-PkN9CAF_.js';
|
|
2
|
-
import './invoke-fetch-types-
|
|
2
|
+
import './invoke-fetch-types-BXn-uSF5.js';
|
|
3
3
|
|
|
4
|
-
declare const QIX_SCHEMA_VERSION = "12.
|
|
4
|
+
declare const QIX_SCHEMA_VERSION = "12.2282.0";
|
|
5
5
|
type AlfaNumString = {
|
|
6
6
|
/**
|
|
7
7
|
* Calculated value.
|
|
@@ -10391,6 +10391,22 @@ type NativeGenericObjectFunctions<CustomProperties, CustomLayout, GenericObjectR
|
|
|
10391
10391
|
* Stability: *locked*
|
|
10392
10392
|
*/
|
|
10393
10393
|
selectPivotCells: (path: string, selections: NxSelectionCell[], softLock?: boolean, deselectOnlyOneSelected?: boolean) => Promise<boolean>;
|
|
10394
|
+
/**
|
|
10395
|
+
* You can use the SetActiveField method with any object that contains a cyclic group as a dimension.
|
|
10396
|
+
* This method allows you to jump to a specific field in a cyclic dimension. If NewIndex is out-of-bounds of the dimension's fields then no action is taken.
|
|
10397
|
+
* A hypercube will avoid field collisions with its other dimensions when setting the active field in this manner. If there are any collisions then no action is performed.
|
|
10398
|
+
*
|
|
10399
|
+
* Parameters:
|
|
10400
|
+
*
|
|
10401
|
+
* - `path` - Path to the definition of the object to be selected.
|
|
10402
|
+
* For example, _/qHyperCubeDef_ .
|
|
10403
|
+
* - `dimNo` - Dimension number or index starting from 0.
|
|
10404
|
+
* The default value is 0.
|
|
10405
|
+
* - `newIndex` - Index of the field to jump to.
|
|
10406
|
+
*
|
|
10407
|
+
* Stability: *experimental*
|
|
10408
|
+
*/
|
|
10409
|
+
setActiveField: (path: string, dimNo: number, newIndex: number) => Promise<void>;
|
|
10394
10410
|
/**
|
|
10395
10411
|
* Sets the order of the children in a generic object.
|
|
10396
10412
|
* <div class=note>To change the order of the children in a generic object, the identifiers of all the children must be included in the list of the identifiers (in _qIds_ ). </div>
|
|
@@ -10428,6 +10444,23 @@ type NativeGenericObjectFunctions<CustomProperties, CustomLayout, GenericObjectR
|
|
|
10428
10444
|
* Stability: *locked*
|
|
10429
10445
|
*/
|
|
10430
10446
|
setProperties: (prop: CustomProperties) => Promise<void>;
|
|
10447
|
+
/**
|
|
10448
|
+
* You can use the StepCycle method with any object that contains a cyclic group as a dimension.
|
|
10449
|
+
* This method allows you to move between different fields in a cyclic dimension.
|
|
10450
|
+
* A hypercube will avoid field collisions with its other dimensions when cycling in this manner. If all other fields cause collisions then no cycling is performed.
|
|
10451
|
+
*
|
|
10452
|
+
* Parameters:
|
|
10453
|
+
*
|
|
10454
|
+
* - `path` - Path to the definition of the object to be selected.
|
|
10455
|
+
* For example, _/qHyperCubeDef_ .
|
|
10456
|
+
* - `dimNo` - Dimension number or index starting from 0.
|
|
10457
|
+
* The default value is 0.
|
|
10458
|
+
* - `nbrSteps` - Number of steps you want to cycle.
|
|
10459
|
+
* Positive values cycle forwards while negative values cycle backwards. A value of 0 leads to no action being taken.
|
|
10460
|
+
*
|
|
10461
|
+
* Stability: *experimental*
|
|
10462
|
+
*/
|
|
10463
|
+
stepCycle: (path: string, dimNo: number, nbrSteps: number) => Promise<void>;
|
|
10431
10464
|
/**
|
|
10432
10465
|
* Removes the generic object from the list of approved objects
|
|
10433
10466
|
* <div class=note>This operation is possible only in Qlik Sense Enterprise.</div>
|