@qlik/api 1.25.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.
Files changed (82) hide show
  1. package/api-keys.d.ts +1 -1
  2. package/api-keys.js +2 -2
  3. package/apps.d.ts +1 -1
  4. package/apps.js +2 -2
  5. package/audits.d.ts +1 -1
  6. package/audits.js +2 -2
  7. package/auth.js +2 -2
  8. package/automations.d.ts +1 -1
  9. package/automations.js +2 -2
  10. package/brands.d.ts +1 -1
  11. package/brands.js +2 -2
  12. package/chunks/{3DYV7KOJ.js → 2BRBIRM2.js} +2 -2
  13. package/chunks/{7BDAXGID.js → 3RGGGGAR.js} +6 -9
  14. package/chunks/{6DEESTGF.js → 4D5NADHK.js} +4 -4
  15. package/chunks/{OIQ5ELGS.js → 7SNOQCIQ.js} +1 -1
  16. package/chunks/{UA6BE3VB.js → AMO5NATA.js} +2 -2
  17. package/chunks/{BL5PJM4B.js → HGRF5TX3.js} +1 -1
  18. package/chunks/{N3ZFICDU.js → MGXEGSJC.js} +3 -3
  19. package/chunks/{I5UOE4ZZ.js → NBW6PHZU.js} +120 -44
  20. package/chunks/{6QRR5VUM.js → QOOCP2TS.js} +4 -3
  21. package/chunks/{CZC7KEJN.js → UV5COPU3.js} +3 -3
  22. package/collections.d.ts +1 -1
  23. package/collections.js +2 -2
  24. package/csp-origins.d.ts +13 -13
  25. package/csp-origins.js +2 -2
  26. package/data-assets.d.ts +2 -2
  27. package/data-assets.js +2 -2
  28. package/data-connections.d.ts +1 -1
  29. package/data-connections.js +2 -2
  30. package/data-credentials.d.ts +1 -1
  31. package/data-credentials.js +2 -2
  32. package/data-files.d.ts +1 -1
  33. package/data-files.js +2 -2
  34. package/docs/qix.md +28 -8
  35. package/extensions.d.ts +1 -1
  36. package/extensions.js +2 -2
  37. package/glossaries.d.ts +1 -1
  38. package/glossaries.js +2 -2
  39. package/groups.d.ts +1 -1
  40. package/groups.js +2 -2
  41. package/identity-providers.d.ts +28 -3
  42. package/identity-providers.js +2 -2
  43. package/index.d.ts +1 -1
  44. package/index.js +5 -5
  45. package/interceptors.d.ts +1 -1
  46. package/interceptors.js +1 -1
  47. package/{invoke-fetch-types-BLrpeZOL.d.ts → invoke-fetch-types-BXn-uSF5.d.ts} +27 -1
  48. package/items.d.ts +1 -1
  49. package/items.js +2 -2
  50. package/licenses.d.ts +1 -1
  51. package/licenses.js +2 -2
  52. package/package.json +3 -3
  53. package/qix.d.ts +2 -2
  54. package/qix.js +2 -2
  55. package/quotas.d.ts +1 -1
  56. package/quotas.js +2 -2
  57. package/reload-tasks.d.ts +1 -1
  58. package/reload-tasks.js +2 -2
  59. package/reloads.d.ts +1 -1
  60. package/reloads.js +2 -2
  61. package/reports.d.ts +9 -7
  62. package/reports.js +2 -2
  63. package/roles.d.ts +2 -2
  64. package/roles.js +2 -2
  65. package/spaces.d.ts +1 -1
  66. package/spaces.js +2 -2
  67. package/temp-contents.d.ts +1 -1
  68. package/temp-contents.js +2 -2
  69. package/tenants.d.ts +1 -1
  70. package/tenants.js +2 -2
  71. package/themes.d.ts +1 -1
  72. package/themes.js +2 -2
  73. package/transports.d.ts +1 -1
  74. package/transports.js +2 -2
  75. package/users.d.ts +1 -1
  76. package/users.js +2 -2
  77. package/web-integrations.d.ts +1 -1
  78. package/web-integrations.js +2 -2
  79. package/web-notifications.d.ts +1 -1
  80. package/web-notifications.js +2 -2
  81. package/webhooks.d.ts +1 -1
  82. package/webhooks.js +2 -2
package/csp-origins.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BLrpeZOL.js';
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 CSP entries for a tenant
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 CSP entry
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 CSP header for a tenant
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 CSP entry
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 CSP entry
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 CSP entry
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 CSP entries for a tenant
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 CSP entry
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 CSP header for a tenant
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 CSP entry
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 CSP entry
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 CSP entry
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
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/UA6BE3VB.js";
5
- import "./chunks/CZC7KEJN.js";
4
+ } from "./chunks/AMO5NATA.js";
5
+ import "./chunks/UV5COPU3.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/csp-origins.ts
package/data-assets.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BLrpeZOL.js';
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: string;
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
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/UA6BE3VB.js";
5
- import "./chunks/CZC7KEJN.js";
4
+ } from "./chunks/AMO5NATA.js";
5
+ import "./chunks/UV5COPU3.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/data-assets.ts
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BLrpeZOL.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  type ActionDeleteRequest = {
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/UA6BE3VB.js";
5
- import "./chunks/CZC7KEJN.js";
4
+ } from "./chunks/AMO5NATA.js";
5
+ import "./chunks/UV5COPU3.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/data-connections.ts
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BLrpeZOL.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  type ActionFilterOrphanRequest = {
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/UA6BE3VB.js";
5
- import "./chunks/CZC7KEJN.js";
4
+ } from "./chunks/AMO5NATA.js";
5
+ import "./chunks/UV5COPU3.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/data-credentials.ts
package/data-files.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BLrpeZOL.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  type BatchChangeSpaceItem = {
package/data-files.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/UA6BE3VB.js";
5
- import "./chunks/CZC7KEJN.js";
4
+ } from "./chunks/AMO5NATA.js";
5
+ import "./chunks/UV5COPU3.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/data-files.ts
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
- setDefaultHostConfig({ ... });
70
+ const hostConfig: HostConfig = {
71
+ ..., // add host config values here
72
+ };
71
73
 
72
- // send in the react instance (avoid unnecessary dependencies to react in @qlik/api)
73
- const useApp = useAppHook(React);
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.title}</div>
113
+ <div key={item.qInfo?.qId}>{item.qData?.title}</div>
94
114
  ))}
95
115
  </div>
96
116
  );
package/extensions.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BLrpeZOL.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  /**
package/extensions.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/UA6BE3VB.js";
5
- import "./chunks/CZC7KEJN.js";
4
+ } from "./chunks/AMO5NATA.js";
5
+ import "./chunks/UV5COPU3.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/extensions.ts
package/glossaries.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BLrpeZOL.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  /**
package/glossaries.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/UA6BE3VB.js";
5
- import "./chunks/CZC7KEJN.js";
4
+ } from "./chunks/AMO5NATA.js";
5
+ import "./chunks/UV5COPU3.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/glossaries.ts
package/groups.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BLrpeZOL.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  /**
package/groups.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/UA6BE3VB.js";
5
- import "./chunks/CZC7KEJN.js";
4
+ } from "./chunks/AMO5NATA.js";
5
+ import "./chunks/UV5COPU3.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/groups.ts
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BLrpeZOL.js';
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 };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/UA6BE3VB.js";
5
- import "./chunks/CZC7KEJN.js";
4
+ } from "./chunks/AMO5NATA.js";
5
+ import "./chunks/UV5COPU3.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/identity-providers.ts
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-BLrpeZOL.js';
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/OIQ5ELGS.js";
3
+ } from "./chunks/7SNOQCIQ.js";
4
4
  import {
5
5
  auth_default
6
- } from "./chunks/BL5PJM4B.js";
6
+ } from "./chunks/HGRF5TX3.js";
7
7
  import {
8
8
  interceptors_default
9
- } from "./chunks/7BDAXGID.js";
9
+ } from "./chunks/3RGGGGAR.js";
10
10
  import {
11
11
  clearApiCache,
12
12
  invokeFetch
13
- } from "./chunks/UA6BE3VB.js";
14
- import "./chunks/CZC7KEJN.js";
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
@@ -1,4 +1,4 @@
1
- import { I as InvokeFetchResponse, a as InvokeFetchProperties } from './invoke-fetch-types-BLrpeZOL.js';
1
+ import { I as InvokeFetchResponse, a as InvokeFetchProperties } from './invoke-fetch-types-BXn-uSF5.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  /**
package/interceptors.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  getInterceptors,
6
6
  interceptors_default,
7
7
  removeInterceptor
8
- } from "./chunks/7BDAXGID.js";
8
+ } from "./chunks/3RGGGGAR.js";
9
9
  import "./chunks/2ZQ3ZX7F.js";
10
10
  export {
11
11
  addDefaultInterceptors,
@@ -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-BLrpeZOL.js';
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";
package/items.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/UA6BE3VB.js";
5
- import "./chunks/CZC7KEJN.js";
4
+ } from "./chunks/AMO5NATA.js";
5
+ import "./chunks/UV5COPU3.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/items.ts
package/licenses.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BLrpeZOL.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  type AssignmentsActionsAddRequest = {
package/licenses.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/UA6BE3VB.js";
5
- import "./chunks/CZC7KEJN.js";
4
+ } from "./chunks/AMO5NATA.js";
5
+ import "./chunks/UV5COPU3.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/licenses.ts
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.7",
16
+ "nanoid": "^5.0.9",
17
17
  "ws": "^8.18.0"
18
18
  },
19
- "packageManager": "pnpm@9.12.3",
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.25.0"
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-BLrpeZOL.js';
2
+ import './invoke-fetch-types-BXn-uSF5.js';
3
3
 
4
- declare const QIX_SCHEMA_VERSION = "12.2246.0";
4
+ declare const QIX_SCHEMA_VERSION = "12.2282.0";
5
5
  type AlfaNumString = {
6
6
  /**
7
7
  * Calculated value.
package/qix.js CHANGED
@@ -2,8 +2,8 @@ import {
2
2
  openAppSession,
3
3
  qix_default,
4
4
  withHostConfig
5
- } from "./chunks/OIQ5ELGS.js";
6
- import "./chunks/CZC7KEJN.js";
5
+ } from "./chunks/7SNOQCIQ.js";
6
+ import "./chunks/UV5COPU3.js";
7
7
  export {
8
8
  qix_default as default,
9
9
  openAppSession,
package/quotas.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BLrpeZOL.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  /**
package/quotas.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/UA6BE3VB.js";
5
- import "./chunks/CZC7KEJN.js";
4
+ } from "./chunks/AMO5NATA.js";
5
+ import "./chunks/UV5COPU3.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/quotas.ts
package/reload-tasks.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BLrpeZOL.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  type Error = {
package/reload-tasks.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/UA6BE3VB.js";
5
- import "./chunks/CZC7KEJN.js";
4
+ } from "./chunks/AMO5NATA.js";
5
+ import "./chunks/UV5COPU3.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/reload-tasks.ts
package/reloads.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-BLrpeZOL.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BXn-uSF5.js';
2
2
  import './auth-types-PkN9CAF_.js';
3
3
 
4
4
  type Error = {
package/reloads.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/UA6BE3VB.js";
5
- import "./chunks/CZC7KEJN.js";
4
+ } from "./chunks/AMO5NATA.js";
5
+ import "./chunks/UV5COPU3.js";
6
6
  import "./chunks/2ZQ3ZX7F.js";
7
7
 
8
8
  // src/public/rest/reloads.ts