@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.
- package/api-keys.d.ts +12 -12
- package/api-keys.js +2 -2
- package/apps.d.ts +69 -69
- package/apps.js +2 -2
- package/audits.d.ts +37 -15
- package/audits.js +2 -2
- package/auth.js +2 -2
- package/automations.d.ts +37 -37
- package/automations.js +2 -2
- package/brands.d.ts +24 -24
- 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/{VX3MQBE7.js → 4K3CNR7C.js} +1 -1
- package/chunks/{OIQ5ELGS.js → 55SZVSAG.js} +1 -1
- package/chunks/{BL5PJM4B.js → EOGHK2R4.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 → V3TZ54UE.js} +3 -3
- package/chunks/{UA6BE3VB.js → WY7IOA3Q.js} +2 -2
- package/collections.d.ts +23 -23
- package/collections.js +2 -2
- package/csp-origins.d.ts +25 -25
- package/csp-origins.js +2 -2
- package/data-assets.d.ts +12 -12
- package/data-assets.js +2 -2
- package/data-connections.d.ts +19 -19
- package/data-connections.js +2 -2
- package/data-credentials.d.ts +11 -11
- package/data-credentials.js +2 -2
- package/data-files.d.ts +25 -25
- package/data-files.js +2 -2
- package/docs/authentication.md +1 -1
- package/docs/qix.md +28 -8
- package/extensions.d.ts +12 -12
- package/extensions.js +2 -2
- package/glossaries.d.ts +49 -49
- package/glossaries.js +2 -2
- package/groups.d.ts +17 -17
- package/groups.js +2 -2
- package/identity-providers.d.ts +43 -18
- 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 +17 -17
- package/items.js +2 -2
- package/licenses.d.ts +19 -19
- package/licenses.js +2 -2
- package/package.json +3 -3
- package/qix.d.ts +2 -2
- package/qix.js +2 -2
- package/quotas.d.ts +5 -5
- package/quotas.js +2 -2
- package/reload-tasks.d.ts +11 -11
- package/reload-tasks.js +2 -2
- package/reloads.d.ts +9 -9
- package/reloads.js +2 -2
- package/reports.d.ts +13 -11
- package/reports.js +2 -2
- package/roles.d.ts +12 -12
- package/roles.js +2 -2
- package/spaces.d.ts +60 -26
- package/spaces.js +2 -2
- package/temp-contents.d.ts +7 -7
- package/temp-contents.js +2 -2
- package/tenants.d.ts +10 -10
- package/tenants.js +2 -2
- package/themes.d.ts +12 -12
- package/themes.js +2 -2
- package/transports.d.ts +18 -18
- package/transports.js +2 -2
- package/users.d.ts +20 -20
- package/users.js +2 -2
- package/web-integrations.d.ts +10 -10
- package/web-integrations.js +2 -2
- package/web-notifications.d.ts +13 -13
- package/web-notifications.js +2 -2
- package/webhooks.d.ts +21 -21
- package/webhooks.js +2 -2
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
|
*
|
|
@@ -488,14 +513,14 @@ declare const getIdps: (query: {
|
|
|
488
513
|
type GetIdpsHttpResponse = {
|
|
489
514
|
data: IDPArray;
|
|
490
515
|
headers: Headers;
|
|
491
|
-
status:
|
|
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:
|
|
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:
|
|
535
|
+
status: 201;
|
|
511
536
|
};
|
|
512
537
|
type CreateIdpHttpError = {
|
|
513
538
|
data: Errors;
|
|
514
539
|
headers: Headers;
|
|
515
|
-
status:
|
|
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:
|
|
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:
|
|
567
|
+
status: 200;
|
|
543
568
|
};
|
|
544
569
|
type GetMyIdpMetaHttpError = {
|
|
545
570
|
data: Errors;
|
|
546
571
|
headers: Headers;
|
|
547
|
-
status:
|
|
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:
|
|
583
|
+
status: 200;
|
|
559
584
|
};
|
|
560
585
|
type GetIdpStatusesHttpError = {
|
|
561
586
|
data: Errors;
|
|
562
587
|
headers: Headers;
|
|
563
|
-
status:
|
|
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:
|
|
600
|
+
status: 204;
|
|
576
601
|
};
|
|
577
602
|
type DeleteIdpHttpError = {
|
|
578
603
|
data: Errors;
|
|
579
604
|
headers: Headers;
|
|
580
|
-
status:
|
|
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:
|
|
617
|
+
status: 200;
|
|
593
618
|
};
|
|
594
619
|
type GetIdpHttpError = {
|
|
595
620
|
data: Errors;
|
|
596
621
|
headers: Headers;
|
|
597
|
-
status:
|
|
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:
|
|
635
|
+
status: 204;
|
|
611
636
|
};
|
|
612
637
|
type PatchIdpHttpError = {
|
|
613
638
|
data: Errors;
|
|
614
639
|
headers: Headers;
|
|
615
|
-
status:
|
|
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 };
|
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/55SZVSAG.js";
|
|
4
4
|
import {
|
|
5
5
|
auth_default
|
|
6
|
-
} from "./chunks/
|
|
6
|
+
} from "./chunks/EOGHK2R4.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/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
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";
|
|
@@ -299,14 +299,14 @@ declare const getItems: (query: {
|
|
|
299
299
|
type GetItemsHttpResponse = {
|
|
300
300
|
data: ItemsListItemsResponseBody;
|
|
301
301
|
headers: Headers;
|
|
302
|
-
status:
|
|
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:
|
|
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:
|
|
320
|
+
status: 200;
|
|
321
321
|
};
|
|
322
322
|
type GetItemsSettingsHttpError = {
|
|
323
323
|
data: ErrorResponseBody;
|
|
324
324
|
headers: Headers;
|
|
325
|
-
status:
|
|
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:
|
|
337
|
+
status: 200;
|
|
338
338
|
};
|
|
339
339
|
type PatchItemsSettingsHttpError = {
|
|
340
340
|
data: ErrorResponseBody;
|
|
341
341
|
headers: Headers;
|
|
342
|
-
status:
|
|
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:
|
|
354
|
+
status: 204;
|
|
355
355
|
};
|
|
356
356
|
type DeleteItemHttpError = {
|
|
357
357
|
data: ErrorResponseBody;
|
|
358
358
|
headers: Headers;
|
|
359
|
-
status:
|
|
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:
|
|
371
|
+
status: 200;
|
|
372
372
|
};
|
|
373
373
|
type GetItemHttpError = {
|
|
374
374
|
data: ErrorResponseBody;
|
|
375
375
|
headers: Headers;
|
|
376
|
-
status:
|
|
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:
|
|
389
|
+
status: 200;
|
|
390
390
|
};
|
|
391
391
|
type UpdateItemHttpError = {
|
|
392
392
|
data: ErrorResponseBody;
|
|
393
393
|
headers: Headers;
|
|
394
|
-
status:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
460
|
+
status: 400 | 401 | 404 | 500;
|
|
461
461
|
};
|
|
462
462
|
/**
|
|
463
463
|
* Clears the cache for items api requests.
|
package/items.js
CHANGED
package/licenses.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 AssignmentsActionsAddRequest = {
|
|
@@ -232,14 +232,14 @@ declare const getLicenseAssignments: (query: {
|
|
|
232
232
|
type GetLicenseAssignmentsHttpResponse = {
|
|
233
233
|
data: AssignmentsResponse;
|
|
234
234
|
headers: Headers;
|
|
235
|
-
status:
|
|
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:
|
|
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:
|
|
254
|
+
status: 207;
|
|
255
255
|
};
|
|
256
256
|
type AddLicenseAssignmentsHttpError = {
|
|
257
257
|
data: ErrorResponse;
|
|
258
258
|
headers: Headers;
|
|
259
|
-
status:
|
|
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:
|
|
271
|
+
status: 207;
|
|
272
272
|
};
|
|
273
273
|
type DeleteLicenseAssignmentsHttpError = {
|
|
274
274
|
data: ErrorResponse;
|
|
275
275
|
headers: Headers;
|
|
276
|
-
status:
|
|
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:
|
|
288
|
+
status: 207;
|
|
289
289
|
};
|
|
290
290
|
type UpdateLicenseAssignmentsHttpError = {
|
|
291
291
|
data: ErrorResponse;
|
|
292
292
|
headers: Headers;
|
|
293
|
-
status:
|
|
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:
|
|
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:
|
|
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:
|
|
332
|
+
status: 200;
|
|
333
333
|
};
|
|
334
334
|
type GetLicenseOverviewHttpError = {
|
|
335
335
|
data: ErrorResponse;
|
|
336
336
|
headers: Headers;
|
|
337
|
-
status:
|
|
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:
|
|
348
|
+
status: 200;
|
|
349
349
|
};
|
|
350
350
|
type GetLicenseSettingsHttpError = {
|
|
351
351
|
data: ErrorResponse;
|
|
352
352
|
headers: Headers;
|
|
353
|
-
status:
|
|
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:
|
|
365
|
+
status: 200;
|
|
366
366
|
};
|
|
367
367
|
type UpdateLicenseSettingsHttpError = {
|
|
368
368
|
data: ErrorResponse;
|
|
369
369
|
headers: Headers;
|
|
370
|
-
status:
|
|
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:
|
|
381
|
+
status: 200;
|
|
382
382
|
};
|
|
383
383
|
type GetLicenseStatusHttpError = {
|
|
384
384
|
data: ErrorResponse;
|
|
385
385
|
headers: Headers;
|
|
386
|
-
status:
|
|
386
|
+
status: 400 | 401;
|
|
387
387
|
};
|
|
388
388
|
/**
|
|
389
389
|
* Clears the cache for licenses api requests.
|
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.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.
|
|
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-
|
|
2
|
+
import './invoke-fetch-types-BXn-uSF5.js';
|
|
3
3
|
|
|
4
|
-
declare const QIX_SCHEMA_VERSION = "12.
|
|
4
|
+
declare const QIX_SCHEMA_VERSION = "12.2287.0";
|
|
5
5
|
type AlfaNumString = {
|
|
6
6
|
/**
|
|
7
7
|
* Calculated value.
|
package/qix.js
CHANGED
package/quotas.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
|
/**
|
|
@@ -51,12 +51,12 @@ declare const getQuotas: (query: {
|
|
|
51
51
|
type GetQuotasHttpResponse = {
|
|
52
52
|
data: GetQuotasResult;
|
|
53
53
|
headers: Headers;
|
|
54
|
-
status:
|
|
54
|
+
status: 200;
|
|
55
55
|
};
|
|
56
56
|
type GetQuotasHttpError = {
|
|
57
57
|
data: ErrorResponse;
|
|
58
58
|
headers: Headers;
|
|
59
|
-
status:
|
|
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:
|
|
75
|
+
status: 200;
|
|
76
76
|
};
|
|
77
77
|
type GetQuotaHttpError = {
|
|
78
78
|
data: ErrorResponse;
|
|
79
79
|
headers: Headers;
|
|
80
|
-
status:
|
|
80
|
+
status: 401 | 404 | 500;
|
|
81
81
|
};
|
|
82
82
|
/**
|
|
83
83
|
* Clears the cache for quotas api requests.
|