diff --git a/api-keys.js b/api-keys.js index a454dcf..1532de6 100644 --- a/api-keys.js +++ b/api-keys.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/api-keys.ts diff --git a/apps.js b/apps.js index de45635..35df9e9 100644 --- a/apps.js +++ b/apps.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/apps.ts diff --git a/audits.js b/audits.js index 94b361e..352f3e8 100644 --- a/audits.js +++ b/audits.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/audits.ts diff --git a/auth.js b/auth.js index e27bd07..4f3a4d1 100644 --- a/auth.js +++ b/auth.js @@ -4,8 +4,8 @@ import { logout, registerAuthModule, setDefaultHostConfig -} from "./chunks/APL5KJXS.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/3W4PFUMC.js"; +import "./chunks/3KD5W26Z.js"; export { auth_default as default, getAccessToken, diff --git a/automations.js b/automations.js index 60aff2a..bbfb443 100644 --- a/automations.js +++ b/automations.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/automations.ts diff --git a/brands.js b/brands.js index f29974d..940745b 100644 --- a/brands.js +++ b/brands.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/brands.ts diff --git a/chunks/ACBHOLKM.js b/chunks/3KD5W26Z.js similarity index 79% rename from chunks/ACBHOLKM.js rename to chunks/3KD5W26Z.js index 16f8539..ac0f99f 100644 --- a/chunks/ACBHOLKM.js +++ b/chunks/3KD5W26Z.js @@ -1,21 +1,21 @@ // src/public/public-runtime-modules.ts function getAuthRuntimeModule(hostConfig) { const isNode = !!globalThis.process?.argv; - return isNode ? import("./LDIN4JFA.js") : import("./EUWNVVK5.js").then( + return isNode ? import("./CUC5USM5.js") : import("./EUWNVVK5.js").then( (mod) => mod.importRuntimeModule("auth@v1", hostConfig) ); } async function getQixRuntimeModule(hostConfig) { await getAuthRuntimeModule(hostConfig); const isNode = !!globalThis.process?.argv; - return isNode ? import("./IR7AJR5W.js") : import("./EUWNVVK5.js").then( + return isNode ? import("./UJV2QU2J.js") : import("./EUWNVVK5.js").then( (mod) => mod.importRuntimeModule("qix@v1", hostConfig) ); } async function getInvokeFetchRuntimeModule(hostConfig) { await getAuthRuntimeModule(hostConfig); const isNode = !!globalThis.process?.argv; - return isNode ? import("./TVT6R5GS.js") : import("./EUWNVVK5.js").then( + return isNode ? import("./E5TLRYTH.js") : import("./EUWNVVK5.js").then( (mod) => mod.importRuntimeModule("invoke-fetch@v1", hostConfig) ); } diff --git a/chunks/LFLIIDGI.js b/chunks/3REGOC54.js similarity index 99% rename from chunks/LFLIIDGI.js rename to chunks/3REGOC54.js index 82d826a..d0b1048 100644 --- a/chunks/LFLIIDGI.js +++ b/chunks/3REGOC54.js @@ -1,13 +1,11 @@ import { generateRandomString, - getCsrfToken, getRestCallAuthParams, getWebSocketAuthParams, toValidWebsocketLocationUrl -} from "./27XOYFEK.js"; +} from "./OCV75U5H.js"; import "./7RHSSS4W.js"; import { - isBrowser, isNode } from "./2ZQ3ZX7F.js"; @@ -10371,47 +10369,45 @@ async function createEnigmaSession({ ttlSeconds, workloadType }) { + const isNodeEnvironment = isNode(); const locationUrl = toValidWebsocketLocationUrl(hostConfig); const reloadUri = encodeURIComponent(`${locationUrl}/sense/app/${appId}`); const ttlPart = ttlSeconds !== void 0 && ttlSeconds >= 0 ? `/ttl/${ttlSeconds}` : ""; const identityPart = identity ? `/identity/${identity}` : ""; const workloadTypePart = useReloadEngine ? "&workloadType=interactive-reload" : workloadType ? `&workloadType=${workloadType}` : ""; - let csrfToken = ""; - if (isBrowser() && (!hostConfig || hostConfig.authType === "cookie" || hostConfig.authType === "windowscookie")) { - try { - csrfToken = await getCsrfToken(hostConfig); - } catch { - } - } - const csrfPart = csrfToken ? `&qlik-csrf-token=${csrfToken}` : ""; - let url = `${locationUrl}/app/${appId}${identityPart}${ttlPart}?reloadUri=${reloadUri}${workloadTypePart}${csrfPart}`.replace( + const baseUrl = `${locationUrl}/app/${appId}${identityPart}${ttlPart}?reloadUri=${reloadUri}${workloadTypePart}`.replace( /^http/, "ws" ); - const isNodeEnvironment = isNode(); - let createSocketMethod; + let createSocketBuilder; if (isNodeEnvironment) { - const { headers, queryParams } = await getRestCallAuthParams({ hostConfig, method: "POST" }); const WS = (await import("ws")).default; - Object.entries(queryParams).forEach(([key, value]) => { - url = `${url}&${key}=${value}`; - }); - createSocketMethod = (socketUrl) => new WS(socketUrl, void 0, { - headers - }); + createSocketBuilder = async () => { + let url = baseUrl; + const { headers, queryParams } = await getRestCallAuthParams({ hostConfig, method: "POST" }); + Object.entries(queryParams).forEach(([key, value]) => { + url = `${url}&${key}=${value}`; + }); + return (socketUrl) => new WS(url, void 0, { + headers + }); + }; } else { - const { queryParams } = await getWebSocketAuthParams({ hostConfig }); - Object.entries(queryParams).forEach(([key, value]) => { - url = `${url}&${key}=${value}`; - }); - createSocketMethod = (socketUrl) => new WebSocket(socketUrl); + createSocketBuilder = async () => { + let url = baseUrl; + const { queryParams } = await getWebSocketAuthParams({ hostConfig }); + Object.entries(queryParams).forEach(([key, value]) => { + url = `${url}&${key}=${value}`; + }); + return (socketUrl) => new WebSocket(url); + }; } - return enigma.create({ + const session = enigma.create({ schema: engine_api_default, mixins: mixins5, - url, + url: baseUrl, suspendOnClose: !useReloadEngine, - createSocket: createSocketMethod, + createSocket: await createSocketBuilder(), requestInterceptors: [somethingWithEmptyMethodsRequestInterceptor], responseInterceptors: [ retryAbortedErrorResponseInterceptor, @@ -10419,6 +10415,13 @@ async function createEnigmaSession({ somethingWithErrorPopupsResponnseInterceptor ] }); + const originalResume = session.resume.bind(session); + const resume = async (onlyIfAttached) => { + session.rpc.createSocket = await createSocketBuilder(); + await originalResume(onlyIfAttached); + }; + session.resume = resume; + return session; } export { createEnigmaSession diff --git a/chunks/APL5KJXS.js b/chunks/3W4PFUMC.js similarity index 96% rename from chunks/APL5KJXS.js rename to chunks/3W4PFUMC.js index fbf3cd9..0443c4e 100644 --- a/chunks/APL5KJXS.js +++ b/chunks/3W4PFUMC.js @@ -1,6 +1,6 @@ import { getAuthRuntimeModule -} from "./ACBHOLKM.js"; +} from "./3KD5W26Z.js"; // src/public/auth.ts function registerAuthModule(name, authModule) { diff --git a/chunks/LDIN4JFA.js b/chunks/CUC5USM5.js similarity index 97% rename from chunks/LDIN4JFA.js rename to chunks/CUC5USM5.js index b2e820e..bcc8256 100644 --- a/chunks/LDIN4JFA.js +++ b/chunks/CUC5USM5.js @@ -19,7 +19,7 @@ import { toValidEnigmaLocationUrl, toValidLocationUrl, toValidWebsocketLocationUrl -} from "./27XOYFEK.js"; +} from "./OCV75U5H.js"; import "./7RHSSS4W.js"; import "./2ZQ3ZX7F.js"; export { diff --git a/chunks/TVT6R5GS.js b/chunks/E5TLRYTH.js similarity index 92% rename from chunks/TVT6R5GS.js rename to chunks/E5TLRYTH.js index 1fdbe85..c02a350 100644 --- a/chunks/TVT6R5GS.js +++ b/chunks/E5TLRYTH.js @@ -5,7 +5,7 @@ import { invokeFetch, invoke_fetch_default, parseFetchResponse -} from "./27XOYFEK.js"; +} from "./OCV75U5H.js"; import "./7RHSSS4W.js"; import "./2ZQ3ZX7F.js"; export { diff --git a/chunks/27XOYFEK.js b/chunks/OCV75U5H.js similarity index 99% rename from chunks/27XOYFEK.js rename to chunks/OCV75U5H.js index ef05d91..3e0ae96 100644 --- a/chunks/27XOYFEK.js +++ b/chunks/OCV75U5H.js @@ -1403,10 +1403,10 @@ function getXrfKey(hostConfig) { } // src/auth/internal/default-auth-modules/windows-cookie.ts -function getRestCallAuthParams7({ +async function getRestCallAuthParams7({ hostConfig }) { - return Promise.resolve({ + return { headers: { "X-Qlik-XrfKey": getXrfKey(hostConfig) }, @@ -1414,16 +1414,17 @@ function getRestCallAuthParams7({ xrfkey: getXrfKey(hostConfig) }, credentials: getCredentialsForCookieAuth(hostConfig) - }); + }; } -function getWebSocketAuthParams7({ +async function getWebSocketAuthParams7({ hostConfig }) { - return Promise.resolve({ + return { queryParams: { - xrfkey: getXrfKey(hostConfig) + xrfkey: getXrfKey(hostConfig), + "qlik-csrf-token": await getCsrfToken(hostConfig, true) } - }); + }; } async function handleAuthenticationError7({ hostConfig @@ -2146,6 +2147,5 @@ export { clearApiCache, parseFetchResponse, invoke_fetch_default, - getCsrfToken, auth_default }; diff --git a/chunks/TL5KLSB6.js b/chunks/SMQGR3VM.js similarity index 96% rename from chunks/TL5KLSB6.js rename to chunks/SMQGR3VM.js index b4b3ec3..737a23a 100644 --- a/chunks/TL5KLSB6.js +++ b/chunks/SMQGR3VM.js @@ -1,6 +1,6 @@ import { getInvokeFetchRuntimeModule -} from "./ACBHOLKM.js"; +} from "./3KD5W26Z.js"; import { isBrowser } from "./2ZQ3ZX7F.js"; diff --git a/chunks/IR7AJR5W.js b/chunks/UJV2QU2J.js similarity index 99% rename from chunks/IR7AJR5W.js rename to chunks/UJV2QU2J.js index 7960082..a7e9eef 100644 --- a/chunks/IR7AJR5W.js +++ b/chunks/UJV2QU2J.js @@ -4,7 +4,7 @@ import { invokeFetch, isWindows, toValidWebsocketLocationUrl -} from "./27XOYFEK.js"; +} from "./OCV75U5H.js"; import "./7RHSSS4W.js"; import { isBrowser @@ -161,7 +161,7 @@ function listenForWindowsAuthenticationInformation(session) { return authSuggestedInWebsocket; } async function createAndSetupEnigmaSession(props, canRetry) { - const { createEnigmaSession } = await import("./LFLIIDGI.js"); + const { createEnigmaSession } = await import("./3REGOC54.js"); const session = await createEnigmaSession(props); setupSessionListeners(session, props); let global; diff --git a/chunks/HPX2VBF4.js b/chunks/VXEOAWM6.js similarity index 98% rename from chunks/HPX2VBF4.js rename to chunks/VXEOAWM6.js index be1870e..6c610dd 100644 --- a/chunks/HPX2VBF4.js +++ b/chunks/VXEOAWM6.js @@ -1,6 +1,6 @@ import { getQixRuntimeModule -} from "./ACBHOLKM.js"; +} from "./3KD5W26Z.js"; // src/public/qix.ts function openAppSession(appSessionProps) { diff --git a/collections.js b/collections.js index 9a8ae48..2d09f60 100644 --- a/collections.js +++ b/collections.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/collections.ts diff --git a/csp-origins.js b/csp-origins.js index 35bd5b4..7afd9a1 100644 --- a/csp-origins.js +++ b/csp-origins.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/csp-origins.ts diff --git a/data-assets.js b/data-assets.js index 84b94df..ee293a5 100644 --- a/data-assets.js +++ b/data-assets.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/data-assets.ts diff --git a/data-connections.d.ts b/data-connections.d.ts index a73f086..829bc0d 100644 --- a/data-connections.d.ts +++ b/data-connections.d.ts @@ -300,7 +300,7 @@ declare const getDataConnections: (query: { dataName?: string; /** Returns extended list of properties (e.g. encrypted credential string) when set to true. */ extended?: boolean; - /** Filtering resources by properties (filterable properties only) using SCIM filter string. Note the filter string only applies to connections managed by data-connections service, i.e. filtering doesn't apply to DataFile connections. */ + /** Filtering resources by properties (filterable properties only) using SCIM filter string. Note the filter string only applies to connections managed by data-connections service, i.e. filtering doesn't apply to DataFile connections. When filtering on datetime property (e.g. created, updated), datetime should be in RFC3339 format. */ filter?: string; /** Base Qri (encrypted) will be returned when the query is set to true, default is false */ includeQris?: boolean; diff --git a/data-connections.js b/data-connections.js index 63ac99a..8d48c0d 100644 --- a/data-connections.js +++ b/data-connections.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/data-connections.ts diff --git a/data-credentials.d.ts b/data-credentials.d.ts index 05cb73c..9a32117 100644 --- a/data-credentials.d.ts +++ b/data-credentials.d.ts @@ -1,7 +1,22 @@ import { A as ApiCallOptions } from './global.types-qsBNouXJ.js'; import './auth-types-PkN9CAF_.js'; +type ActionFilterOrphanRequest = { + /** Filtering on datasource ID of credentials */ + datasourceID?: string; + /** Filtering on separate status of credentials: * 0 - embedded credential * 1 - separated credential */ + qSeparated?: 0 | 1; + /** Filtering on type of credentials */ + qType?: string; +}; +type ActionFilterOrphanResponse = { + /** Number of orphan credentials found */ + count: number; + data: OrphanCredentialResItem[]; +}; type Credential = { + /** Datetime when the credential was created */ + created?: string; /** ID datasource that the credential is created for */ datasourceID?: string; links?: Link; @@ -15,6 +30,8 @@ type Credential = { qReferenceKey?: string; /** Type of credential */ qType: string; + /** Datetime when the credential was last updated */ + updated?: string; }; /** * Credential @@ -53,6 +70,27 @@ type Link = { href: string; }; }; +/** + * Orphan credential + */ +type OrphanCredentialResItem = { + /** Datetime when the credential was created */ + created: string; + /** ID datasource that the credential is created for */ + datasourceID?: string; + /** UUID of the credential */ + qID: string; + /** Name of the credential */ + qName: string; + /** Type of credential (i.e. connector provider of the corresponding connection) */ + qType: string; + /** Tenant ID of the credential's owner */ + tenant?: string; + /** Datetime when the credential was last updated */ + updated: string; + /** User ID of the credential's owner */ + user?: string; +}; type PatchRequest = { patchData: { /** Operation type */ @@ -66,6 +104,23 @@ type PatchRequest = { type ResponseErrors = { errors?: Errors; }; +/** + * Gets list of orphan data credentials (i.e. credentials that are not associated to any data connection) filtering on properties defined in request body + * + * @param body an object with the body content + * @throws FilterOrphanedDataCredentialsHttpError + */ +declare const filterOrphanedDataCredentials: (body: ActionFilterOrphanRequest, options?: ApiCallOptions) => Promise; +type FilterOrphanedDataCredentialsHttpResponse = { + data: ActionFilterOrphanResponse; + headers: Headers; + status: number; +}; +type FilterOrphanedDataCredentialsHttpError = { + data: ResponseErrors; + headers: Headers; + status: number; +}; /** * Deletes the specified credential by ID (or by name when type=credentialname is set in query) * @@ -157,6 +212,13 @@ type UpdateDataCredentialHttpError = { */ declare function clearCache(): void; interface DataCredentialsAPI { + /** + * Gets list of orphan data credentials (i.e. credentials that are not associated to any data connection) filtering on properties defined in request body + * + * @param body an object with the body content + * @throws FilterOrphanedDataCredentialsHttpError + */ + filterOrphanedDataCredentials: typeof filterOrphanedDataCredentials; /** * Deletes the specified credential by ID (or by name when type=credentialname is set in query) * @@ -201,4 +263,4 @@ interface DataCredentialsAPI { */ declare const dataCredentialsExport: DataCredentialsAPI; -export { type Credential, type CredentialCreate, type DataCredentialsAPI, type DeleteDataCredentialHttpError, type DeleteDataCredentialHttpResponse, type Error, type Errors, type GetDataCredentialHttpError, type GetDataCredentialHttpResponse, type Link, type PatchDataCredentialHttpError, type PatchDataCredentialHttpResponse, type PatchRequest, type ResponseErrors, type UpdateDataCredentialHttpError, type UpdateDataCredentialHttpResponse, clearCache, dataCredentialsExport as default, deleteDataCredential, getDataCredential, patchDataCredential, updateDataCredential }; +export { type ActionFilterOrphanRequest, type ActionFilterOrphanResponse, type Credential, type CredentialCreate, type DataCredentialsAPI, type DeleteDataCredentialHttpError, type DeleteDataCredentialHttpResponse, type Error, type Errors, type FilterOrphanedDataCredentialsHttpError, type FilterOrphanedDataCredentialsHttpResponse, type GetDataCredentialHttpError, type GetDataCredentialHttpResponse, type Link, type OrphanCredentialResItem, type PatchDataCredentialHttpError, type PatchDataCredentialHttpResponse, type PatchRequest, type ResponseErrors, type UpdateDataCredentialHttpError, type UpdateDataCredentialHttpResponse, clearCache, dataCredentialsExport as default, deleteDataCredential, filterOrphanedDataCredentials, getDataCredential, patchDataCredential, updateDataCredential }; diff --git a/data-credentials.js b/data-credentials.js index b2d60c7..e6faa2b 100644 --- a/data-credentials.js +++ b/data-credentials.js @@ -1,11 +1,18 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/data-credentials.ts +var filterOrphanedDataCredentials = async (body, options) => invokeFetch("data-credentials", { + method: "post", + pathTemplate: "/api/v1/data-credentials/actions/filter-orphan", + body, + contentType: "application/json", + options +}); var deleteDataCredential = async (qID, query, options) => invokeFetch("data-credentials", { method: "delete", pathTemplate: "/api/v1/data-credentials/{qID}", @@ -42,6 +49,7 @@ function clearCache() { return clearApiCache("data-credentials"); } var dataCredentialsExport = { + filterOrphanedDataCredentials, deleteDataCredential, getDataCredential, patchDataCredential, @@ -53,6 +61,7 @@ export { clearCache, data_credentials_default as default, deleteDataCredential, + filterOrphanedDataCredentials, getDataCredential, patchDataCredential, updateDataCredential diff --git a/data-files.js b/data-files.js index 6fc0187..ce6cd74 100644 --- a/data-files.js +++ b/data-files.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/data-files.ts diff --git a/extensions.js b/extensions.js index f34f8c9..e612adc 100644 --- a/extensions.js +++ b/extensions.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/extensions.ts diff --git a/glossaries.js b/glossaries.js index db2d41b..a3ba2b8 100644 --- a/glossaries.js +++ b/glossaries.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/glossaries.ts diff --git a/groups.js b/groups.js index 6528c06..881a9a5 100644 --- a/groups.js +++ b/groups.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/groups.ts diff --git a/identity-providers.js b/identity-providers.js index 3a81e30..efa0996 100644 --- a/identity-providers.js +++ b/identity-providers.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/identity-providers.ts diff --git a/index.js b/index.js index 3ca5059..8b51afe 100644 --- a/index.js +++ b/index.js @@ -1,15 +1,15 @@ import { qix_default -} from "./chunks/HPX2VBF4.js"; +} from "./chunks/VXEOAWM6.js"; import { auth_default -} from "./chunks/APL5KJXS.js"; +} from "./chunks/3W4PFUMC.js"; import "./chunks/7RHSSS4W.js"; import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/runtime-api-generator/runtime-api-generator-common.ts @@ -401,6 +401,7 @@ var dataCredentialsMiniModule = apiDefToApiPublic("data-credentials", { api: { v1: { "data-credentials": { + actions: { "filter-orphan": ["filterOrphanedDataCredentials:PBJ:"] }, "{qID}": [ "deleteDataCredential:DQ:", "getDataCredential:GQ:", diff --git a/items.js b/items.js index afdf53c..f96f10f 100644 --- a/items.js +++ b/items.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/items.ts diff --git a/licenses.js b/licenses.js index 92fb2ab..d619871 100644 --- a/licenses.js +++ b/licenses.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/licenses.ts diff --git a/package.json b/package.json index 3f5b773..e770b9a 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "nanoid": "^5.0.7", "ws": "^8.18.0" }, - "packageManager": "pnpm@9.12.1", + "packageManager": "pnpm@9.12.2", "engines": { "node": ">=18" }, diff --git a/qix.d.ts b/qix.d.ts index c6382f7..74a60c7 100644 --- a/qix.d.ts +++ b/qix.d.ts @@ -1,7 +1,7 @@ import { H as HostConfig } from './auth-types-PkN9CAF_.js'; import './global.types-qsBNouXJ.js'; -declare const QIX_SCHEMA_VERSION = "12.2211.0"; +declare const QIX_SCHEMA_VERSION = "12.2224.0"; type AlfaNumString = { /** * Calculated value. diff --git a/qix.js b/qix.js index 38b0947..0c1c624 100644 --- a/qix.js +++ b/qix.js @@ -2,8 +2,8 @@ import { openAppSession, qix_default, withHostConfig -} from "./chunks/HPX2VBF4.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/VXEOAWM6.js"; +import "./chunks/3KD5W26Z.js"; export { qix_default as default, openAppSession, diff --git a/quotas.js b/quotas.js index 3596c5d..6063b36 100644 --- a/quotas.js +++ b/quotas.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/quotas.ts diff --git a/reload-tasks.js b/reload-tasks.js index 83c444b..1c5f3d4 100644 --- a/reload-tasks.js +++ b/reload-tasks.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/reload-tasks.ts diff --git a/reloads.js b/reloads.js index a0ee427..c0ed2f0 100644 --- a/reloads.js +++ b/reloads.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/reloads.ts diff --git a/reports.js b/reports.js index ced8f21..54eccd9 100644 --- a/reports.js +++ b/reports.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/reports.ts diff --git a/roles.js b/roles.js index cf7715f..2b98837 100644 --- a/roles.js +++ b/roles.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/roles.ts diff --git a/spaces.d.ts b/spaces.d.ts index 80e2add..b2404a7 100644 --- a/spaces.d.ts +++ b/spaces.d.ts @@ -359,6 +359,8 @@ type UpdateSpaceHttpError = { * @throws GetSpaceAssignmentsHttpError */ declare const getSpaceAssignments: (spaceId: string, query: { + /** Filters assignment for a specific assigneeid. */ + assigneeId?: string; /** Maximum number of assignments to return. */ limit?: number; /** The next page cursor. Next links make use of this. */ diff --git a/spaces.js b/spaces.js index 4a197ce..e7d65a3 100644 --- a/spaces.js +++ b/spaces.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/spaces.ts diff --git a/temp-contents.js b/temp-contents.js index d523070..b603f26 100644 --- a/temp-contents.js +++ b/temp-contents.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/temp-contents.ts diff --git a/tenants.js b/tenants.js index a6c1d69..02ce419 100644 --- a/tenants.js +++ b/tenants.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/tenants.ts diff --git a/themes.js b/themes.js index 233fd11..c92b675 100644 --- a/themes.js +++ b/themes.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/themes.ts diff --git a/transports.js b/transports.js index 4fc59ee..e210ad6 100644 --- a/transports.js +++ b/transports.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/transports.ts diff --git a/users.d.ts b/users.d.ts index 82d89ac..c5b037f 100644 --- a/users.d.ts +++ b/users.d.ts @@ -135,7 +135,7 @@ type JSONPatch = { /** The operation to be performed. */ op: "replace" | "set (Deprecated)" | "unset (Deprecated)" | "add (Deprecated)" | "renew"; /** A JSON Pointer. */ - path: "/name" | "/roles (Deprecated)" | "/assignedRoles" | "/inviteExpiry" | "/preferredZoneinfo" | "/preferredLocale" | "/status"; + path: "/name" | "/roles (Deprecated)" | "/assignedRoles" | "/inviteExpiry" | "/preferredZoneinfo" | "/preferredLocale" | "/status" | "/assignedGroups"; /** The value to be used for this operation. */ value: string | boolean | unknown[] | AssignedRolesRefIDs | AssignedRolesRefNames; }; diff --git a/users.js b/users.js index 452fd32..d77a44e 100644 --- a/users.js +++ b/users.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/users.ts diff --git a/web-integrations.js b/web-integrations.js index ebcf149..84b9374 100644 --- a/web-integrations.js +++ b/web-integrations.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/web-integrations.ts diff --git a/web-notifications.js b/web-notifications.js index e495c3c..e35ccf2 100644 --- a/web-notifications.js +++ b/web-notifications.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/web-notifications.ts diff --git a/webhooks.js b/webhooks.js index 6784587..5e412ac 100644 --- a/webhooks.js +++ b/webhooks.js @@ -1,8 +1,8 @@ import { clearApiCache, invokeFetch -} from "./chunks/TL5KLSB6.js"; -import "./chunks/ACBHOLKM.js"; +} from "./chunks/SMQGR3VM.js"; +import "./chunks/3KD5W26Z.js"; import "./chunks/2ZQ3ZX7F.js"; // src/public/rest/webhooks.ts