@qlik/api 1.25.0 → 1.27.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 (84) hide show
  1. package/api-keys.d.ts +12 -12
  2. package/api-keys.js +2 -2
  3. package/apps.d.ts +69 -69
  4. package/apps.js +2 -2
  5. package/audits.d.ts +37 -15
  6. package/audits.js +2 -2
  7. package/auth.js +2 -2
  8. package/automations.d.ts +37 -37
  9. package/automations.js +2 -2
  10. package/brands.d.ts +24 -24
  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/{VX3MQBE7.js → 4K3CNR7C.js} +1 -1
  16. package/chunks/{OIQ5ELGS.js → 55SZVSAG.js} +1 -1
  17. package/chunks/{BL5PJM4B.js → EOGHK2R4.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 → V3TZ54UE.js} +3 -3
  22. package/chunks/{UA6BE3VB.js → WY7IOA3Q.js} +2 -2
  23. package/collections.d.ts +23 -23
  24. package/collections.js +2 -2
  25. package/csp-origins.d.ts +25 -25
  26. package/csp-origins.js +2 -2
  27. package/data-assets.d.ts +12 -12
  28. package/data-assets.js +2 -2
  29. package/data-connections.d.ts +19 -19
  30. package/data-connections.js +2 -2
  31. package/data-credentials.d.ts +11 -11
  32. package/data-credentials.js +2 -2
  33. package/data-files.d.ts +25 -25
  34. package/data-files.js +2 -2
  35. package/docs/authentication.md +1 -1
  36. package/docs/qix.md +28 -8
  37. package/extensions.d.ts +12 -12
  38. package/extensions.js +2 -2
  39. package/glossaries.d.ts +49 -49
  40. package/glossaries.js +2 -2
  41. package/groups.d.ts +17 -17
  42. package/groups.js +2 -2
  43. package/identity-providers.d.ts +43 -18
  44. package/identity-providers.js +2 -2
  45. package/index.d.ts +1 -1
  46. package/index.js +5 -5
  47. package/interceptors.d.ts +1 -1
  48. package/interceptors.js +1 -1
  49. package/{invoke-fetch-types-BLrpeZOL.d.ts → invoke-fetch-types-BXn-uSF5.d.ts} +27 -1
  50. package/items.d.ts +17 -17
  51. package/items.js +2 -2
  52. package/licenses.d.ts +19 -19
  53. package/licenses.js +2 -2
  54. package/package.json +3 -3
  55. package/qix.d.ts +2 -2
  56. package/qix.js +2 -2
  57. package/quotas.d.ts +5 -5
  58. package/quotas.js +2 -2
  59. package/reload-tasks.d.ts +11 -11
  60. package/reload-tasks.js +2 -2
  61. package/reloads.d.ts +9 -9
  62. package/reloads.js +2 -2
  63. package/reports.d.ts +13 -11
  64. package/reports.js +2 -2
  65. package/roles.d.ts +12 -12
  66. package/roles.js +2 -2
  67. package/spaces.d.ts +60 -26
  68. package/spaces.js +2 -2
  69. package/temp-contents.d.ts +7 -7
  70. package/temp-contents.js +2 -2
  71. package/tenants.d.ts +10 -10
  72. package/tenants.js +2 -2
  73. package/themes.d.ts +12 -12
  74. package/themes.js +2 -2
  75. package/transports.d.ts +18 -18
  76. package/transports.js +2 -2
  77. package/users.d.ts +20 -20
  78. package/users.js +2 -2
  79. package/web-integrations.d.ts +10 -10
  80. package/web-integrations.js +2 -2
  81. package/web-notifications.d.ts +13 -13
  82. package/web-notifications.js +2 -2
  83. package/webhooks.d.ts +21 -21
  84. package/webhooks.js +2 -2
@@ -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
  *
@@ -488,14 +513,14 @@ declare const getIdps: (query: {
488
513
  type GetIdpsHttpResponse = {
489
514
  data: IDPArray;
490
515
  headers: Headers;
491
- status: number;
516
+ status: 200;
492
517
  prev?: (options?: ApiCallOptions) => Promise<GetIdpsHttpResponse>;
493
518
  next?: (options?: ApiCallOptions) => Promise<GetIdpsHttpResponse>;
494
519
  };
495
520
  type GetIdpsHttpError = {
496
521
  data: Errors;
497
522
  headers: Headers;
498
- status: number;
523
+ status: 404;
499
524
  };
500
525
  /**
501
526
  * Creates a new IdP on a tenant. Requesting user must be assigned the `TenantAdmin` role. For non-interactive IdPs (e.g. JWT), IdP must be created by sending `options` payload. For interactive IdPs (e.g. SAML or OIDC), send `pendingOptions` payload to require the interactive verification step; or send `options` payload with `skipVerify` set to `true` to skip validation step and make IdP immediately available.
@@ -507,12 +532,12 @@ declare const createIdp: (body: IDPPostSchema, options?: ApiCallOptions) => Prom
507
532
  type CreateIdpHttpResponse = {
508
533
  data: IDP;
509
534
  headers: Headers;
510
- status: number;
535
+ status: 201;
511
536
  };
512
537
  type CreateIdpHttpError = {
513
538
  data: Errors;
514
539
  headers: Headers;
515
- status: number;
540
+ status: 400 | 403;
516
541
  };
517
542
  /**
518
543
  * Returns IdP configuration metadata supported on the tenant. Clients can use this information to programmatically configure their interactions with Qlik Cloud.
@@ -523,7 +548,7 @@ declare const getIdpWellKnownMetaData: (options?: ApiCallOptions) => Promise<Get
523
548
  type GetIdpWellKnownMetaDataHttpResponse = {
524
549
  data: unknown;
525
550
  headers: Headers;
526
- status: number;
551
+ status: 200;
527
552
  };
528
553
  type GetIdpWellKnownMetaDataHttpError = {
529
554
  data: unknown;
@@ -539,12 +564,12 @@ declare const getMyIdpMeta: (options?: ApiCallOptions) => Promise<GetMyIdpMetaHt
539
564
  type GetMyIdpMetaHttpResponse = {
540
565
  data: IDPMeta;
541
566
  headers: Headers;
542
- status: number;
567
+ status: 200;
543
568
  };
544
569
  type GetMyIdpMetaHttpError = {
545
570
  data: Errors;
546
571
  headers: Headers;
547
- status: number;
572
+ status: 403 | 404 | 500;
548
573
  };
549
574
  /**
550
575
  * Retrieves the status of all IdP configurations. Requires `TenantAdmin` role.
@@ -555,12 +580,12 @@ declare const getIdpStatuses: (options?: ApiCallOptions) => Promise<GetIdpStatus
555
580
  type GetIdpStatusesHttpResponse = {
556
581
  data: IDPsStatus;
557
582
  headers: Headers;
558
- status: number;
583
+ status: 200;
559
584
  };
560
585
  type GetIdpStatusesHttpError = {
561
586
  data: Errors;
562
587
  headers: Headers;
563
- status: number;
588
+ status: 403 | 404 | 500;
564
589
  };
565
590
  /**
566
591
  * Deletes an identity provider. Requesting user must be assigned the `TenantAdmin` role.
@@ -572,12 +597,12 @@ declare const deleteIdp: (id: string, options?: ApiCallOptions) => Promise<Delet
572
597
  type DeleteIdpHttpResponse = {
573
598
  data: void;
574
599
  headers: Headers;
575
- status: number;
600
+ status: 204;
576
601
  };
577
602
  type DeleteIdpHttpError = {
578
603
  data: Errors;
579
604
  headers: Headers;
580
- status: number;
605
+ status: 400 | 404;
581
606
  };
582
607
  /**
583
608
  * Retrieves a specific IdP. Requesting user must be assigned the `TenantAdmin` role.
@@ -589,12 +614,12 @@ declare const getIdp: (id: string, options?: ApiCallOptions) => Promise<GetIdpHt
589
614
  type GetIdpHttpResponse = {
590
615
  data: IDP;
591
616
  headers: Headers;
592
- status: number;
617
+ status: 200;
593
618
  };
594
619
  type GetIdpHttpError = {
595
620
  data: Errors;
596
621
  headers: Headers;
597
- status: number;
622
+ status: 401 | 404;
598
623
  };
599
624
  /**
600
625
  * Updates the configuration of an IdP. Requesting user must be assigned the `TenantAdmin` role. Partial failure is treated as complete failure and returns an error.
@@ -607,12 +632,12 @@ declare const patchIdp: (id: string, body: IDPPatchSchema, options?: ApiCallOpti
607
632
  type PatchIdpHttpResponse = {
608
633
  data: void;
609
634
  headers: Headers;
610
- status: number;
635
+ status: 204;
611
636
  };
612
637
  type PatchIdpHttpError = {
613
638
  data: Errors;
614
639
  headers: Headers;
615
- status: number;
640
+ status: 400 | 401 | 403 | 404 | 412 | 500;
616
641
  };
617
642
  /**
618
643
  * Clears the cache for identity-providers api requests.
@@ -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/WY7IOA3Q.js";
5
+ import "./chunks/V3TZ54UE.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/55SZVSAG.js";
4
4
  import {
5
5
  auth_default
6
- } from "./chunks/BL5PJM4B.js";
6
+ } from "./chunks/EOGHK2R4.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/WY7IOA3Q.js";
14
+ import "./chunks/V3TZ54UE.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";
@@ -299,14 +299,14 @@ declare const getItems: (query: {
299
299
  type GetItemsHttpResponse = {
300
300
  data: ItemsListItemsResponseBody;
301
301
  headers: Headers;
302
- status: number;
302
+ status: 200;
303
303
  prev?: (options?: ApiCallOptions) => Promise<GetItemsHttpResponse>;
304
304
  next?: (options?: ApiCallOptions) => Promise<GetItemsHttpResponse>;
305
305
  };
306
306
  type GetItemsHttpError = {
307
307
  data: ErrorResponseBody;
308
308
  headers: Headers;
309
- status: number;
309
+ status: 400 | 401 | 404 | 500;
310
310
  };
311
311
  /**
312
312
  * Finds and returns the items service settings for the current tenant. Currently used to enable or disable usage metrics in the tenant.
@@ -317,12 +317,12 @@ declare const getItemsSettings: (options?: ApiCallOptions) => Promise<GetItemsSe
317
317
  type GetItemsSettingsHttpResponse = {
318
318
  data: ItemsSettingsResponseBody;
319
319
  headers: Headers;
320
- status: number;
320
+ status: 200;
321
321
  };
322
322
  type GetItemsSettingsHttpError = {
323
323
  data: ErrorResponseBody;
324
324
  headers: Headers;
325
- status: number;
325
+ status: 400 | 401 | 500;
326
326
  };
327
327
  /**
328
328
  * Updates the settings provided in the patch body. Currently used to enable or disable usage metrics in the tenant.
@@ -334,12 +334,12 @@ declare const patchItemsSettings: (body: ItemsSettingsPatch, options?: ApiCallOp
334
334
  type PatchItemsSettingsHttpResponse = {
335
335
  data: ItemsSettingsResponseBody;
336
336
  headers: Headers;
337
- status: number;
337
+ status: 200;
338
338
  };
339
339
  type PatchItemsSettingsHttpError = {
340
340
  data: ErrorResponseBody;
341
341
  headers: Headers;
342
- status: number;
342
+ status: 400 | 401 | 403 | 500;
343
343
  };
344
344
  /**
345
345
  * Deletes an item and removes the item from all collections.
@@ -351,12 +351,12 @@ declare const deleteItem: (itemId: string, options?: ApiCallOptions) => Promise<
351
351
  type DeleteItemHttpResponse = {
352
352
  data: void;
353
353
  headers: Headers;
354
- status: number;
354
+ status: 204;
355
355
  };
356
356
  type DeleteItemHttpError = {
357
357
  data: ErrorResponseBody;
358
358
  headers: Headers;
359
- status: number;
359
+ status: 401 | 403 | 404 | 500;
360
360
  };
361
361
  /**
362
362
  * Finds and returns an item.
@@ -368,12 +368,12 @@ declare const getItem: (itemId: string, options?: ApiCallOptions) => Promise<Get
368
368
  type GetItemHttpResponse = {
369
369
  data: ItemResultResponseBody;
370
370
  headers: Headers;
371
- status: number;
371
+ status: 200;
372
372
  };
373
373
  type GetItemHttpError = {
374
374
  data: ErrorResponseBody;
375
375
  headers: Headers;
376
- status: number;
376
+ status: 400 | 401 | 404 | 500;
377
377
  };
378
378
  /**
379
379
  * Updates an item. Omitted and unsupported fields are ignored. To unset a field, provide the field's zero value.
@@ -386,12 +386,12 @@ declare const updateItem: (itemId: string, body: ItemsUpdateItemRequestBody, opt
386
386
  type UpdateItemHttpResponse = {
387
387
  data: ItemResultResponseBody;
388
388
  headers: Headers;
389
- status: number;
389
+ status: 200;
390
390
  };
391
391
  type UpdateItemHttpError = {
392
392
  data: ErrorResponseBody;
393
393
  headers: Headers;
394
- status: number;
394
+ status: 400 | 401 | 403 | 404 | 409 | 500;
395
395
  };
396
396
  /**
397
397
  * Finds and returns the collections (and tags) of an item. This endpoint does not return the user's favorites collection.
@@ -419,14 +419,14 @@ declare const getItemCollections: (itemId: string, query: {
419
419
  type GetItemCollectionsHttpResponse = {
420
420
  data: ItemsListItemCollectionsResponseBody;
421
421
  headers: Headers;
422
- status: number;
422
+ status: 200;
423
423
  prev?: (options?: ApiCallOptions) => Promise<GetItemCollectionsHttpResponse>;
424
424
  next?: (options?: ApiCallOptions) => Promise<GetItemCollectionsHttpResponse>;
425
425
  };
426
426
  type GetItemCollectionsHttpError = {
427
427
  data: ErrorResponseBody;
428
428
  headers: Headers;
429
- status: number;
429
+ status: 400 | 401 | 404 | 500;
430
430
  };
431
431
  /**
432
432
  * Finds and returns the published items for a given item. This endpoint is particularly useful for finding the published copies of an app or a qvapp when you want to replace the content of a published copy with new information from the source item.
@@ -450,14 +450,14 @@ declare const getPublishedItems: (itemId: string, query: {
450
450
  type GetPublishedItemsHttpResponse = {
451
451
  data: ItemsListItemCollectionsResponseBody;
452
452
  headers: Headers;
453
- status: number;
453
+ status: 200;
454
454
  prev?: (options?: ApiCallOptions) => Promise<GetPublishedItemsHttpResponse>;
455
455
  next?: (options?: ApiCallOptions) => Promise<GetPublishedItemsHttpResponse>;
456
456
  };
457
457
  type GetPublishedItemsHttpError = {
458
458
  data: ErrorResponseBody;
459
459
  headers: Headers;
460
- status: number;
460
+ status: 400 | 401 | 404 | 500;
461
461
  };
462
462
  /**
463
463
  * Clears the cache for items api requests.
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/WY7IOA3Q.js";
5
+ import "./chunks/V3TZ54UE.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 = {
@@ -232,14 +232,14 @@ declare const getLicenseAssignments: (query: {
232
232
  type GetLicenseAssignmentsHttpResponse = {
233
233
  data: AssignmentsResponse;
234
234
  headers: Headers;
235
- status: number;
235
+ status: 200;
236
236
  prev?: (options?: ApiCallOptions) => Promise<GetLicenseAssignmentsHttpResponse>;
237
237
  next?: (options?: ApiCallOptions) => Promise<GetLicenseAssignmentsHttpResponse>;
238
238
  };
239
239
  type GetLicenseAssignmentsHttpError = {
240
240
  data: ErrorResponse;
241
241
  headers: Headers;
242
- status: number;
242
+ status: 400 | 401 | 403;
243
243
  };
244
244
  /**
245
245
  * Assigns license access to the given users
@@ -251,12 +251,12 @@ declare const addLicenseAssignments: (body: AssignmentsActionsAddRequest, option
251
251
  type AddLicenseAssignmentsHttpResponse = {
252
252
  data: AssignmentsActionsAddResponse;
253
253
  headers: Headers;
254
- status: number;
254
+ status: 207;
255
255
  };
256
256
  type AddLicenseAssignmentsHttpError = {
257
257
  data: ErrorResponse;
258
258
  headers: Headers;
259
- status: number;
259
+ status: 400 | 401 | 403;
260
260
  };
261
261
  /**
262
262
  * Removes license access for the given users
@@ -268,12 +268,12 @@ declare const deleteLicenseAssignments: (body: AssignmentsActionsDeleteRequest,
268
268
  type DeleteLicenseAssignmentsHttpResponse = {
269
269
  data: AssignmentsActionsDeleteResponse;
270
270
  headers: Headers;
271
- status: number;
271
+ status: 207;
272
272
  };
273
273
  type DeleteLicenseAssignmentsHttpError = {
274
274
  data: ErrorResponse;
275
275
  headers: Headers;
276
- status: number;
276
+ status: 400 | 401 | 403;
277
277
  };
278
278
  /**
279
279
  * Updates license access for the given users
@@ -285,12 +285,12 @@ declare const updateLicenseAssignments: (body: AssignmentsActionsUpdateRequest,
285
285
  type UpdateLicenseAssignmentsHttpResponse = {
286
286
  data: AssignmentsActionsUpdateResponse;
287
287
  headers: Headers;
288
- status: number;
288
+ status: 207;
289
289
  };
290
290
  type UpdateLicenseAssignmentsHttpError = {
291
291
  data: ErrorResponse;
292
292
  headers: Headers;
293
- status: number;
293
+ status: 400 | 401 | 403;
294
294
  };
295
295
  /**
296
296
  * Retrieves license consumption for the current tenant
@@ -311,14 +311,14 @@ declare const getLicenseConsumption: (query: {
311
311
  type GetLicenseConsumptionHttpResponse = {
312
312
  data: ConsumptionEventsResponse;
313
313
  headers: Headers;
314
- status: number;
314
+ status: 200;
315
315
  prev?: (options?: ApiCallOptions) => Promise<GetLicenseConsumptionHttpResponse>;
316
316
  next?: (options?: ApiCallOptions) => Promise<GetLicenseConsumptionHttpResponse>;
317
317
  };
318
318
  type GetLicenseConsumptionHttpError = {
319
319
  data: ErrorResponse;
320
320
  headers: Headers;
321
- status: number;
321
+ status: 400 | 401 | 403;
322
322
  };
323
323
  /**
324
324
  * Gets the general information of the license applied to the current tenant
@@ -329,12 +329,12 @@ declare const getLicenseOverview: (options?: ApiCallOptions) => Promise<GetLicen
329
329
  type GetLicenseOverviewHttpResponse = {
330
330
  data: LicenseOverview;
331
331
  headers: Headers;
332
- status: number;
332
+ status: 200;
333
333
  };
334
334
  type GetLicenseOverviewHttpError = {
335
335
  data: ErrorResponse;
336
336
  headers: Headers;
337
- status: number;
337
+ status: 400 | 401 | 404;
338
338
  };
339
339
  /**
340
340
  * Get auto assign settings for tenant.
@@ -345,12 +345,12 @@ declare const getLicenseSettings: (options?: ApiCallOptions) => Promise<GetLicen
345
345
  type GetLicenseSettingsHttpResponse = {
346
346
  data: SettingsBody;
347
347
  headers: Headers;
348
- status: number;
348
+ status: 200;
349
349
  };
350
350
  type GetLicenseSettingsHttpError = {
351
351
  data: ErrorResponse;
352
352
  headers: Headers;
353
- status: number;
353
+ status: 400 | 401 | 403;
354
354
  };
355
355
  /**
356
356
  * Set auto assign settings for tenant
@@ -362,12 +362,12 @@ declare const updateLicenseSettings: (body: SettingsBody, options?: ApiCallOptio
362
362
  type UpdateLicenseSettingsHttpResponse = {
363
363
  data: SettingsBody;
364
364
  headers: Headers;
365
- status: number;
365
+ status: 200;
366
366
  };
367
367
  type UpdateLicenseSettingsHttpError = {
368
368
  data: ErrorResponse;
369
369
  headers: Headers;
370
- status: number;
370
+ status: 400 | 401 | 403;
371
371
  };
372
372
  /**
373
373
  * Gets the license status information of the current tenant
@@ -378,12 +378,12 @@ declare const getLicenseStatus: (options?: ApiCallOptions) => Promise<GetLicense
378
378
  type GetLicenseStatusHttpResponse = {
379
379
  data: LicenseStatus;
380
380
  headers: Headers;
381
- status: number;
381
+ status: 200;
382
382
  };
383
383
  type GetLicenseStatusHttpError = {
384
384
  data: ErrorResponse;
385
385
  headers: Headers;
386
- status: number;
386
+ status: 400 | 401;
387
387
  };
388
388
  /**
389
389
  * Clears the cache for licenses api requests.
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/WY7IOA3Q.js";
5
+ import "./chunks/V3TZ54UE.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.3",
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.27.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.2287.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/55SZVSAG.js";
6
+ import "./chunks/V3TZ54UE.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
  /**
@@ -51,12 +51,12 @@ declare const getQuotas: (query: {
51
51
  type GetQuotasHttpResponse = {
52
52
  data: GetQuotasResult;
53
53
  headers: Headers;
54
- status: number;
54
+ status: 200;
55
55
  };
56
56
  type GetQuotasHttpError = {
57
57
  data: ErrorResponse;
58
58
  headers: Headers;
59
- status: number;
59
+ status: 401 | 500;
60
60
  };
61
61
  /**
62
62
  * Returns a specific quota item for the tenant (provided in JWT).
@@ -72,12 +72,12 @@ declare const getQuota: (id: string, query: {
72
72
  type GetQuotaHttpResponse = {
73
73
  data: GetQuotaByIdResult;
74
74
  headers: Headers;
75
- status: number;
75
+ status: 200;
76
76
  };
77
77
  type GetQuotaHttpError = {
78
78
  data: ErrorResponse;
79
79
  headers: Headers;
80
- status: number;
80
+ status: 401 | 404 | 500;
81
81
  };
82
82
  /**
83
83
  * Clears the cache for quotas api requests.