@qlik/api 1.47.0 → 1.50.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 +3 -2
- package/api-keys.js +3 -3
- package/apps.d.ts +4 -3
- package/apps.js +3 -3
- package/assistants.d.ts +3 -2
- package/assistants.js +3 -3
- package/audits.d.ts +3 -2
- package/audits.js +3 -3
- package/auth-types.d.ts +1 -1
- package/auth-types.js +1 -1
- package/auth.d.ts +2 -2
- package/auth.js +3 -3
- package/automation-connections.d.ts +3 -2
- package/automation-connections.js +3 -3
- package/automation-connectors.d.ts +4 -0
- package/automation-connectors.js +36 -0
- package/automations.d.ts +3 -2
- package/automations.js +3 -3
- package/automl-deployments.d.ts +3 -2
- package/automl-deployments.js +3 -3
- package/automl-predictions.d.ts +3 -2
- package/automl-predictions.js +3 -3
- package/brands.d.ts +3 -2
- package/brands.js +3 -3
- package/chunks/{api-keys-D0c8ujRu.d.ts → api-keys-DbT9Z1_I.d.ts} +2 -2
- package/chunks/{apps-CdqN0t8i.d.ts → apps-C43wozsM.d.ts} +7 -2
- package/chunks/{assistants-BW8V6f0F.d.ts → assistants-HRTG4mrK.d.ts} +35 -41
- package/chunks/{audits-D0ad6UDR.d.ts → audits-CA-bllcf.d.ts} +2 -2
- package/chunks/{auth-DKv6n_GN.d.ts → auth-BDcdoAcK.d.ts} +2 -2
- package/chunks/{auth-Bgj9KHYv.js → auth-Dn3pvK1N.js} +2 -2
- package/chunks/{auth-BgDh43gP.js → auth-FQsMkh58.js} +4 -4
- package/chunks/{auth-functions-KuUL5VnO.js → auth-functions-BZN9dCw1.js} +29 -43
- package/chunks/{auth-types-ua5FEdjz.d.ts → auth-types-BK8AvfyD.d.ts} +5 -5
- package/chunks/{auth-types-B0Z-Reol.js → auth-types-BuIzsuoh.js} +1 -1
- package/chunks/{automation-connections-BJuPyGkj.d.ts → automation-connections-BRSXAkab.d.ts} +2 -2
- package/chunks/automation-connectors-Bx48-M4g.d.ts +84 -0
- package/chunks/{automations-DDzikXsW.d.ts → automations-Dugu45RA.d.ts} +2 -2
- package/chunks/{automl-deployments-RC6MYluL.d.ts → automl-deployments-Boip7E0T.d.ts} +2 -2
- package/chunks/{automl-predictions-BC_cxfIy.d.ts → automl-predictions-DdkRNsA7.d.ts} +2 -2
- package/chunks/{brands-JtflEMN1.d.ts → brands-jxEjeVGK.d.ts} +2 -2
- package/chunks/{collections-B17vc2zP.d.ts → collections-DFvDeYCC.d.ts} +2 -2
- package/chunks/{conditions-JgsgLbSx.d.ts → conditions-DpjEG64S.d.ts} +2 -2
- package/chunks/{consumption-BBGQgCsU.d.ts → consumption-CGna485O.d.ts} +2 -2
- package/chunks/{csp-origins-C2z2ryaw.d.ts → csp-origins-Dm1bcm6D.d.ts} +2 -2
- package/chunks/{csrf-token-Cwz241tT.d.ts → csrf-token-Dl422Xl8.d.ts} +2 -2
- package/chunks/{data-alerts-rxwsP4C7.d.ts → data-alerts-Dsdht3R_.d.ts} +2 -2
- package/chunks/{data-assets-BRJ0MQgV.d.ts → data-assets-BvAuaPP1.d.ts} +2 -2
- package/chunks/{data-connections-9H_4Pih5.d.ts → data-connections-DKs7Dj0l.d.ts} +2 -2
- package/chunks/{data-credentials-AULREOtn.d.ts → data-credentials-Dz7QHnsV.d.ts} +2 -2
- package/chunks/{data-files-CDxGxSIx.d.ts → data-files-DwaxubSK.d.ts} +4 -2
- package/chunks/{data-qualities-B-v0Njga.d.ts → data-qualities-D_epSJNj.d.ts} +2 -2
- package/chunks/{data-sets-ChmF7dI4.d.ts → data-sets-BCB4zxdl.d.ts} +2 -2
- package/chunks/{data-sources-oBO7aHct.d.ts → data-sources-C6bpRD99.d.ts} +78 -6
- package/chunks/{data-stores-C2RE1Aos.d.ts → data-stores-NpZrP7K-.d.ts} +2 -2
- package/chunks/{dcaas-D4iZGtLn.d.ts → dcaas-BjVAcAO6.d.ts} +2 -2
- package/chunks/{di-projects-BxX0b3lC.d.ts → di-projects-CERxkUMp.d.ts} +4 -78
- package/chunks/{direct-access-agents-XxiAo3y9.d.ts → direct-access-agents-C2TyK9Om.d.ts} +13 -15
- package/chunks/{dist-CKkIPLEp.js → dist-BrtkK7jD.js} +1 -1
- package/chunks/{encryption-1JNNXFB7.d.ts → encryption-Dt4C0z0P.d.ts} +2 -2
- package/chunks/{extensions-qbclNpnA.d.ts → extensions-Pk0ruRJq.d.ts} +2 -2
- package/chunks/{glossaries-g1PPnHoM.d.ts → glossaries-D2HtaKNg.d.ts} +6 -3
- package/chunks/{groups-DrqKqkAv.d.ts → groups-D-PlPew1.d.ts} +2 -2
- package/chunks/{identity-providers-iRAccwIg.d.ts → identity-providers-Ok9gc5iT.d.ts} +2 -2
- package/chunks/{interceptors-D4JOaDrv.js → interceptors-CT9deBo6.js} +2 -2
- package/chunks/{interceptors-DHkfs1ua.d.ts → interceptors-rFmTB6_g.d.ts} +2 -2
- package/chunks/{invoke-fetch-Z1aRlURh.js → invoke-fetch-Cn50MiSD.js} +4 -4
- package/chunks/invoke-fetch-DtTuA_q4.js +23 -0
- package/chunks/invoke-fetch-X0Vi-lbv.d.ts +1 -0
- package/chunks/{items-N3gAR5AS.d.ts → items-CkrahlyK.d.ts} +2 -2
- package/chunks/{knowledgebases-B0tcNrg8.d.ts → knowledgebases-pIPPYuHk.d.ts} +6 -2
- package/chunks/{licenses-CrB0eiUU.d.ts → licenses-BDGenUQ0.d.ts} +2 -2
- package/chunks/{lineage-graphs-BL1kIsvQ.d.ts → lineage-graphs-COYOm9O0.d.ts} +14 -30
- package/chunks/{ml-CQQZV57e.d.ts → ml-D2FKGXFm.d.ts} +13 -9
- package/chunks/{notes-BWDOf71L.d.ts → notes-CFJqzuUp.d.ts} +2 -2
- package/chunks/{notifications--FW8kp8T.d.ts → notifications-BWMWcQ8e.d.ts} +2 -2
- package/chunks/{oauth-clients-BDI9_NJw.d.ts → oauth-clients-DM8IIacl.d.ts} +2 -2
- package/chunks/{oauth-tokens-CqViLZD0.d.ts → oauth-tokens-oGIAStpb.d.ts} +2 -2
- package/chunks/{public-runtime-modules-BBAJOUvT.js → public-runtime-modules-DNHVdCZ6.js} +6 -6
- package/chunks/{qix-DLKCrPFH.js → qix-6XcsO79b.js} +2 -2
- package/chunks/{qix-0TV95g_d.js → qix-Dcn0HIU3.js} +32 -44
- package/chunks/{qix-8oI6W8Iq.d.ts → qix-DhKyOvuL.d.ts} +10 -7
- package/chunks/{qix-chunk-entrypoint-CJ9R1CLV.js → qix-chunk-entrypoint-DJIP0GL8.js} +15 -11
- package/chunks/{questions-DAXXmfTM.d.ts → questions-D3rmb5fT.d.ts} +2 -2
- package/chunks/{quotas-BV0q47cU.d.ts → quotas-nRoaBvEh.d.ts} +2 -2
- package/chunks/{reload-tasks-DORwZo4c.d.ts → reload-tasks-B_fM3dm3.d.ts} +2 -2
- package/chunks/{reloads-C7RAAgAu.d.ts → reloads-BghgP4x5.d.ts} +2 -2
- package/chunks/{report-templates-C3P0_-D3.d.ts → report-templates-BysNWNES.d.ts} +2 -2
- package/chunks/{reports-C7saF89N.d.ts → reports-HcNch5zc.d.ts} +18 -6
- package/chunks/{roles-DBdOYajz.d.ts → roles-8LE3mqCV.d.ts} +2 -2
- package/chunks/{sharing-tasks-Dm9L1sMF.d.ts → sharing-tasks-C9fFGIeY.d.ts} +9 -8
- package/chunks/{spaces-CjF6Q30z.d.ts → spaces-ByIVxNlR.d.ts} +2 -2
- package/chunks/{tasks-CX1ohkzr.d.ts → tasks-BwYCg-5D.d.ts} +2 -2
- package/chunks/{temp-contents-D-NhmvhI.d.ts → temp-contents-Ceko2teM.d.ts} +2 -2
- package/chunks/{tenants-BbFJ4gEC.d.ts → tenants-BLvD3HVW.d.ts} +10 -9
- package/chunks/{themes-DCHwpvan.d.ts → themes-85kaWWsU.d.ts} +2 -2
- package/chunks/{transports-CQoT2abX.d.ts → transports-BAGpIam_.d.ts} +4 -2
- package/chunks/{ui-config-8gkgFE8J.d.ts → ui-config-dinJFzBx.d.ts} +2 -2
- package/chunks/{users-D7kk0z77.d.ts → users-BrgjDU7L.d.ts} +2 -2
- package/chunks/{utils-1j8VpsDa.js → utils-DI6bFnHB.js} +1 -1
- package/chunks/{web-integrations-BMiMloLY.d.ts → web-integrations-Gy6aaK2p.d.ts} +2 -2
- package/chunks/{web-notifications-CGGnIRRw.d.ts → web-notifications-DoOenzCC.d.ts} +2 -2
- package/chunks/{webhooks-tylLbUkb.d.ts → webhooks-CfRb9HB1.d.ts} +57 -7
- package/chunks/{websocket-errors-CnW4OQWd.js → websocket-errors-BX-whwFJ.js} +1 -1
- package/collections.d.ts +3 -2
- package/collections.js +3 -3
- package/conditions.d.ts +3 -2
- package/conditions.js +3 -3
- package/consumption.d.ts +3 -2
- package/consumption.js +3 -3
- package/csp-origins.d.ts +3 -2
- package/csp-origins.js +3 -3
- package/csrf-token.d.ts +3 -2
- package/csrf-token.js +3 -3
- package/data-alerts.d.ts +3 -2
- package/data-alerts.js +3 -3
- package/data-assets.d.ts +3 -2
- package/data-assets.js +3 -3
- package/data-connections.d.ts +3 -2
- package/data-connections.js +3 -3
- package/data-credentials.d.ts +3 -2
- package/data-credentials.js +3 -3
- package/data-files.d.ts +3 -2
- package/data-files.js +3 -3
- package/data-qualities.d.ts +3 -2
- package/data-qualities.js +3 -3
- package/data-sets.d.ts +3 -2
- package/data-sets.js +3 -3
- package/data-sources.d.ts +4 -3
- package/data-sources.js +41 -4
- package/data-stores.d.ts +3 -2
- package/data-stores.js +3 -3
- package/dcaas.d.ts +3 -2
- package/dcaas.js +3 -3
- package/di-projects.d.ts +3 -2
- package/di-projects.js +4 -41
- package/direct-access-agents.d.ts +3 -2
- package/direct-access-agents.js +8 -8
- package/encryption.d.ts +3 -2
- package/encryption.js +3 -3
- package/extensions.d.ts +3 -2
- package/extensions.js +3 -3
- package/global-types.d.ts +1 -1
- package/glossaries.d.ts +3 -2
- package/glossaries.js +3 -3
- package/groups.d.ts +3 -2
- package/groups.js +3 -3
- package/identity-providers.d.ts +3 -2
- package/identity-providers.js +3 -3
- package/index.d.ts +69 -64
- package/index.js +13 -8
- package/interceptors.d.ts +3 -2
- package/interceptors.js +2 -2
- package/invoke-fetch-types.d.ts +1 -1
- package/items.d.ts +3 -2
- package/items.js +3 -3
- package/knowledgebases.d.ts +3 -2
- package/knowledgebases.js +3 -3
- package/licenses.d.ts +3 -2
- package/licenses.js +3 -3
- package/lineage-graphs.d.ts +3 -2
- package/lineage-graphs.js +9 -17
- package/ml.d.ts +3 -2
- package/ml.js +4 -4
- package/notes.d.ts +3 -2
- package/notes.js +3 -3
- package/notifications.d.ts +3 -2
- package/notifications.js +3 -3
- package/oauth-clients.d.ts +3 -2
- package/oauth-clients.js +3 -3
- package/oauth-tokens.d.ts +3 -2
- package/oauth-tokens.js +3 -3
- package/package.json +3 -2
- package/qix.d.ts +3 -3
- package/qix.js +3 -3
- package/questions.d.ts +3 -2
- package/questions.js +3 -3
- package/quotas.d.ts +3 -2
- package/quotas.js +3 -3
- package/reload-tasks.d.ts +3 -2
- package/reload-tasks.js +3 -3
- package/reloads.d.ts +3 -2
- package/reloads.js +3 -3
- package/report-templates.d.ts +3 -2
- package/report-templates.js +3 -3
- package/reports.d.ts +3 -2
- package/reports.js +3 -3
- package/roles.d.ts +3 -2
- package/roles.js +3 -3
- package/sharing-tasks.d.ts +3 -2
- package/sharing-tasks.js +3 -3
- package/spaces.d.ts +3 -2
- package/spaces.js +3 -3
- package/tasks.d.ts +3 -2
- package/tasks.js +3 -3
- package/temp-contents.d.ts +3 -2
- package/temp-contents.js +3 -3
- package/tenants.d.ts +4 -3
- package/tenants.js +3 -3
- package/themes.d.ts +3 -2
- package/themes.js +3 -3
- package/transports.d.ts +3 -2
- package/transports.js +3 -3
- package/ui-config.d.ts +3 -2
- package/ui-config.js +3 -3
- package/users.d.ts +3 -2
- package/users.js +3 -3
- package/web-integrations.d.ts +3 -2
- package/web-integrations.js +3 -3
- package/web-notifications.d.ts +3 -2
- package/web-notifications.js +3 -3
- package/webhooks.d.ts +4 -3
- package/webhooks.js +3 -3
- package/website/assets/navigation.js +1 -1
- package/website/assets/search.js +1 -1
- package/website/functions/auth.setDefaultHostConfig.html +2 -2
- package/website/functions/automation-connectors.clearCache.html +2 -0
- package/website/functions/automation-connectors.getAutomationConnectors.html +7 -0
- package/website/functions/data-sources.getDataSourceSettings.html +7 -0
- package/website/functions/data-sources.getDataSources.html +1 -1
- package/website/functions/data-sources.putDataSourceSettings.html +5 -0
- package/website/functions/di-projects.getDiProjectDiTask.html +1 -4
- package/website/functions/di-projects.getDiProjectDiTaskRuntimeState.html +1 -4
- package/website/functions/di-projects.getDiProjectDiTasks.html +1 -4
- package/website/functions/di-projects.getDiProjectExportVariables.html +1 -4
- package/website/functions/di-projects.prepareDiProjectDiTask.html +1 -1
- package/website/functions/di-projects.startDiProjectDiTaskRuntime.html +1 -4
- package/website/functions/di-projects.stopDiProjectDiTaskRuntime.html +1 -4
- package/website/functions/di-projects.validateDiProjectDiTask.html +1 -4
- package/website/functions/direct-access-agents.getDirectAccessAgentConnectorFilesAllowedPaths.html +2 -2
- package/website/functions/direct-access-agents.putDirectAccessAgentConnectorFilesAllowedPaths.html +3 -3
- package/website/functions/interceptors.removeInterceptor.html +2 -2
- package/website/functions/lineage-graphs.createLineageGraphNodeOverview.html +1 -2
- package/website/functions/lineage-graphs.expandLineageGraphNode.html +1 -3
- package/website/functions/lineage-graphs.getLineageGraphImpactOverview.html +1 -3
- package/website/functions/lineage-graphs.getLineageGraphNode.html +1 -2
- package/website/functions/lineage-graphs.searchLineageGraphImpact.html +1 -2
- package/website/functions/lineage-graphs.searchLineageGraphNode.html +1 -2
- package/website/functions/ml.getMlDeploymentBatchPredictions.html +6 -0
- package/website/functions/ml.getMlDeployments.html +3 -8
- package/website/functions/qix.withHostConfig.html +1 -1
- package/website/index.html +1 -1
- package/website/interfaces/auth.AuthAPI.html +4 -4
- package/website/interfaces/index.QlikAPI.html +4 -2
- package/website/interfaces/interceptors.InterceptorsAPI.html +4 -4
- package/website/interfaces/qix.GenericObject.html +2 -2
- package/website/modules/apps.html +1 -1
- package/website/modules/automation-connectors.html +1 -0
- package/website/modules/data-sources.html +1 -1
- package/website/modules/index.html +1 -1
- package/website/modules/tenants.html +1 -1
- package/website/modules/webhooks.html +1 -1
- package/website/types/apps.Href2.html +4 -0
- package/website/types/assistants.Assistant.html +2 -4
- package/website/types/assistants.CreateAssistant.html +2 -4
- package/website/types/assistants.CreateAssistantHttpError.html +2 -2
- package/website/types/assistants.CreateAssistantStarterHttpError.html +2 -2
- package/website/types/assistants.CreateAssistantThreadHttpError.html +2 -2
- package/website/types/assistants.CreateAssistantThreadInteractionFeedbackHttpError.html +2 -2
- package/website/types/assistants.CreateAssistantThreadInteractionHttpError.html +2 -2
- package/website/types/assistants.CreateAssistantThreadInteractionReviewHttpError.html +2 -2
- package/website/types/assistants.CreateAssistantWithAvatar.html +2 -4
- package/website/types/assistants.DeleteAssistantHttpError.html +2 -2
- package/website/types/assistants.DeleteAssistantStarterFollowupHttpError.html +2 -2
- package/website/types/assistants.DeleteAssistantStarterHttpError.html +2 -2
- package/website/types/assistants.DeleteAssistantThreadHttpError.html +2 -2
- package/website/types/assistants.DeleteAssistantThreadInteractionHttpError.html +2 -2
- package/website/types/assistants.ErrorResponseCode.html +11 -1
- package/website/types/assistants.ErrorResponseCodeCopy.html +1 -11
- package/website/types/assistants.GetAssistantFeedbackHttpError.html +2 -2
- package/website/types/assistants.GetAssistantHttpError.html +2 -2
- package/website/types/assistants.GetAssistantSourcesHttpError.html +2 -2
- package/website/types/assistants.GetAssistantStarterHttpError.html +2 -2
- package/website/types/assistants.GetAssistantStartersHttpError.html +2 -2
- package/website/types/assistants.GetAssistantThreadHttpError.html +2 -2
- package/website/types/assistants.GetAssistantThreadInteractionHttpError.html +2 -2
- package/website/types/assistants.GetAssistantThreadInteractionsHttpError.html +2 -2
- package/website/types/assistants.GetAssistantThreadsHttpError.html +2 -2
- package/website/types/assistants.GetAssistantsHttpError.html +2 -2
- package/website/types/assistants.InvokeAssistantThreadHttpError.html +2 -2
- package/website/types/assistants.PatchAssistantHttpError.html +2 -2
- package/website/types/assistants.PatchAssistantThreadHttpError.html +2 -2
- package/website/types/assistants.PatchAssistantThreadInteractionFeedbackHttpError.html +2 -2
- package/website/types/assistants.StreamAssistantThreadHttpError.html +2 -2
- package/website/types/assistants.UpdateAssistantStarterFollowupHttpError.html +2 -2
- package/website/types/assistants.UpdateAssistantStarterHttpError.html +2 -2
- package/website/types/automation-connectors.AutomationConnectorsAPI.html +7 -0
- package/website/types/automation-connectors.AutomationConnectorsList.html +3 -0
- package/website/types/automation-connectors.AutomationConnectorsListObject.html +6 -0
- package/website/types/automation-connectors.Error.html +7 -0
- package/website/types/automation-connectors.ErrorResponse.html +4 -0
- package/website/types/automation-connectors.GetAutomationConnectorsHttpError.html +4 -0
- package/website/types/automation-connectors.GetAutomationConnectorsHttpResponse.html +6 -0
- package/website/types/automation-connectors.Links.html +3 -0
- package/website/types/automation-connectors.PaginationLink.html +3 -0
- package/website/types/data-files.DataFileUploadResponse.html +4 -2
- package/website/types/data-sources.ConnectorNodesInfo.html +2 -2
- package/website/types/data-sources.DataSourceNew.html +1 -1
- package/website/types/data-sources.DataSourceSettingsRequest.html +4 -0
- package/website/types/data-sources.DataSourceSettingsResponse.html +4 -0
- package/website/types/data-sources.DataSourcesAPI.html +14 -2
- package/website/types/data-sources.GetDataSourceSettingsHttpError.html +4 -0
- package/website/types/data-sources.GetDataSourceSettingsHttpResponse.html +4 -0
- package/website/types/data-sources.PutDataSourceSettingsHttpError.html +4 -0
- package/website/types/data-sources.PutDataSourceSettingsHttpResponse.html +4 -0
- package/website/types/di-projects.DiProjectsAPI.html +8 -29
- package/website/types/direct-access-agents.DirectAccessAgentsAPI.html +5 -5
- package/website/types/direct-access-agents.FileConnectorAllowedPath.html +1 -1
- package/website/types/direct-access-agents.UpdateFileConnectorAllowedPathsRequest.html +1 -2
- package/website/types/direct-access-agents.UpdateOdbcCustomTypeMappingsRequest.html +1 -2
- package/website/types/glossaries.Term.html +6 -3
- package/website/types/glossaries.TermRelatesTo.html +2 -2
- package/website/types/knowledgebases.CreateKnowledgeBase.html +5 -3
- package/website/types/knowledgebases.KnowledgeBaseLight.html +5 -3
- package/website/types/lineage-graphs.LineageGraphsAPI.html +6 -14
- package/website/types/ml.MlAPI.html +1 -1
- package/website/types/qix.ModalFunctions.html +5 -5
- package/website/types/qix.NativeGenericObjectFunctions.html +1 -1
- package/website/types/qix.NativeReactHooks.html +2 -2
- package/website/types/qix.NxLocalizedErrorCode.html +1 -1
- package/website/types/qix.ReloadError.html +1 -0
- package/website/types/qix.RpcObject.html +2 -2
- package/website/types/qix.UseAppHook.html +3 -3
- package/website/types/reports.CycleOutput.html +2 -2
- package/website/types/reports.OutputItem.html +6 -2
- package/website/types/reports.ReportRequest.html +12 -4
- package/website/types/sharing-tasks.SharingExecutionFile.html +2 -2
- package/website/types/sharing-tasks.SharingTaskRecurringCreateRequest.html +2 -2
- package/website/types/sharing-tasks.SharingTaskRecurringPersist.html +6 -6
- package/website/types/sharing-tasks.TemplatePersist.html +3 -3
- package/website/types/tenants.TenantMultipleMetaErrorsDetail.html +1 -0
- package/website/types/tenants.TenantPatchErrors.html +3 -6
- package/website/types/tenants.TenantSingleMetaErrorDetail.html +5 -0
- package/website/types/transports.GetBasicAuthConfig.html +4 -2
- package/website/types/webhooks.Delivery.html +2 -2
- package/website/types/webhooks.WebhookBase.html +5 -3
- package/website/types/webhooks.WebhookPatch.html +2 -2
- package/website/types/webhooks.WebhookResponse.html +1 -1
- package/website/types/webhooks.WebhookResponseBase.html +46 -0
- package/website/variables/index.automationConnectors.html +1 -0
- package/website/variables/qix.QIX_SCHEMA_VERSION.html +1 -1
- package/chunks/invoke-fetch-COIxoXL6.js +0 -19
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiCallOptions } from "./auth-types-
|
|
1
|
+
import { y as ApiCallOptions } from "./auth-types-BK8AvfyD.js";
|
|
2
2
|
|
|
3
3
|
//#region src/public/rest/assistants.d.ts
|
|
4
4
|
type Assistant = {
|
|
@@ -18,8 +18,6 @@ type Assistant = {
|
|
|
18
18
|
id: string;
|
|
19
19
|
/** List of knowledgebases the assistant is using. */
|
|
20
20
|
knowledgeBases: string[];
|
|
21
|
-
/** Indiciates if the assistant is legacy. Immutable once created. */
|
|
22
|
-
readonly legacy: boolean;
|
|
23
21
|
/** The name of the assistant. */
|
|
24
22
|
name: string;
|
|
25
23
|
/** List of starter IDs in the order they will be sorted. */
|
|
@@ -236,8 +234,6 @@ type CreateAssistant = {
|
|
|
236
234
|
description: string;
|
|
237
235
|
/** List of knowledgebases the assistant is using. */
|
|
238
236
|
knowledgeBases: string[];
|
|
239
|
-
/** Whether the assistant uses legacy functionality. Immutable once created. */
|
|
240
|
-
legacy?: boolean;
|
|
241
237
|
/** The name of the assistant. */
|
|
242
238
|
name: string;
|
|
243
239
|
/** List of starter IDs in the order they will be sorted. */
|
|
@@ -265,8 +261,6 @@ type CreateAssistantWithAvatar = {
|
|
|
265
261
|
description: string;
|
|
266
262
|
/** List of knowledgebases the assistant is using. */
|
|
267
263
|
knowledgeBases: string[];
|
|
268
|
-
/** Whether the assistant uses legacy functionality. Immutable once created. */
|
|
269
|
-
legacy?: boolean;
|
|
270
264
|
/** The name of the assistant. */
|
|
271
265
|
name: string;
|
|
272
266
|
/** Unique identifier of the space to contain the assistant. */
|
|
@@ -330,11 +324,6 @@ type ErrorResponse = {
|
|
|
330
324
|
traceId?: string;
|
|
331
325
|
};
|
|
332
326
|
type ErrorResponseCode = {
|
|
333
|
-
code?: string;
|
|
334
|
-
detail?: string;
|
|
335
|
-
title?: string;
|
|
336
|
-
};
|
|
337
|
-
type ErrorResponseCodeCopy = {
|
|
338
327
|
/** Custom error codes
|
|
339
328
|
* * AE-1 - Internal processing error
|
|
340
329
|
* * AE-2 - Incorrect request
|
|
@@ -347,6 +336,11 @@ type ErrorResponseCodeCopy = {
|
|
|
347
336
|
detail?: string;
|
|
348
337
|
title?: string;
|
|
349
338
|
};
|
|
339
|
+
type ErrorResponseCodeCopy = {
|
|
340
|
+
code?: string;
|
|
341
|
+
detail?: string;
|
|
342
|
+
title?: string;
|
|
343
|
+
};
|
|
350
344
|
type ErrorResponseCopy = {
|
|
351
345
|
errors?: ErrorResponseCodeCopy[];
|
|
352
346
|
traceId?: string;
|
|
@@ -513,7 +507,7 @@ type GetAssistantsHttpResponse = {
|
|
|
513
507
|
next?: (options?: ApiCallOptions) => Promise<GetAssistantsHttpResponse>;
|
|
514
508
|
};
|
|
515
509
|
type GetAssistantsHttpError = {
|
|
516
|
-
data:
|
|
510
|
+
data: ErrorResponseCopy;
|
|
517
511
|
headers: Headers;
|
|
518
512
|
status: 400 | 403;
|
|
519
513
|
};
|
|
@@ -530,7 +524,7 @@ type CreateAssistantHttpResponse = {
|
|
|
530
524
|
status: 201;
|
|
531
525
|
};
|
|
532
526
|
type CreateAssistantHttpError = {
|
|
533
|
-
data:
|
|
527
|
+
data: ErrorResponseCopy;
|
|
534
528
|
headers: Headers;
|
|
535
529
|
status: 400 | 403;
|
|
536
530
|
};
|
|
@@ -547,7 +541,7 @@ type GetAssistantFeedbackHttpResponse = {
|
|
|
547
541
|
status: 200;
|
|
548
542
|
};
|
|
549
543
|
type GetAssistantFeedbackHttpError = {
|
|
550
|
-
data:
|
|
544
|
+
data: ErrorResponseCopy;
|
|
551
545
|
headers: Headers;
|
|
552
546
|
status: 400 | 403 | 404;
|
|
553
547
|
};
|
|
@@ -565,7 +559,7 @@ type GetAssistantSourcesHttpResponse = {
|
|
|
565
559
|
status: 202;
|
|
566
560
|
};
|
|
567
561
|
type GetAssistantSourcesHttpError = {
|
|
568
|
-
data:
|
|
562
|
+
data: ErrorResponseCopy;
|
|
569
563
|
headers: Headers;
|
|
570
564
|
status: 400 | 403 | 404;
|
|
571
565
|
};
|
|
@@ -594,7 +588,7 @@ type GetAssistantStartersHttpResponse = {
|
|
|
594
588
|
next?: (options?: ApiCallOptions) => Promise<GetAssistantStartersHttpResponse>;
|
|
595
589
|
};
|
|
596
590
|
type GetAssistantStartersHttpError = {
|
|
597
|
-
data:
|
|
591
|
+
data: ErrorResponseCopy;
|
|
598
592
|
headers: Headers;
|
|
599
593
|
status: 400 | 403 | 404;
|
|
600
594
|
};
|
|
@@ -612,7 +606,7 @@ type CreateAssistantStarterHttpResponse = {
|
|
|
612
606
|
status: 201;
|
|
613
607
|
};
|
|
614
608
|
type CreateAssistantStarterHttpError = {
|
|
615
|
-
data:
|
|
609
|
+
data: ErrorResponseCopy;
|
|
616
610
|
headers: Headers;
|
|
617
611
|
status: 400 | 403 | 404;
|
|
618
612
|
};
|
|
@@ -630,7 +624,7 @@ type DeleteAssistantStarterHttpResponse = {
|
|
|
630
624
|
status: 204;
|
|
631
625
|
};
|
|
632
626
|
type DeleteAssistantStarterHttpError = {
|
|
633
|
-
data:
|
|
627
|
+
data: ErrorResponseCopy;
|
|
634
628
|
headers: Headers;
|
|
635
629
|
status: 400 | 403 | 404;
|
|
636
630
|
};
|
|
@@ -648,7 +642,7 @@ type GetAssistantStarterHttpResponse = {
|
|
|
648
642
|
status: 200;
|
|
649
643
|
};
|
|
650
644
|
type GetAssistantStarterHttpError = {
|
|
651
|
-
data:
|
|
645
|
+
data: ErrorResponseCopy;
|
|
652
646
|
headers: Headers;
|
|
653
647
|
status: 400 | 403 | 404;
|
|
654
648
|
};
|
|
@@ -667,7 +661,7 @@ type UpdateAssistantStarterHttpResponse = {
|
|
|
667
661
|
status: 200;
|
|
668
662
|
};
|
|
669
663
|
type UpdateAssistantStarterHttpError = {
|
|
670
|
-
data:
|
|
664
|
+
data: ErrorResponseCopy;
|
|
671
665
|
headers: Headers;
|
|
672
666
|
status: 400 | 403 | 404;
|
|
673
667
|
};
|
|
@@ -686,7 +680,7 @@ type DeleteAssistantStarterFollowupHttpResponse = {
|
|
|
686
680
|
status: 204;
|
|
687
681
|
};
|
|
688
682
|
type DeleteAssistantStarterFollowupHttpError = {
|
|
689
|
-
data:
|
|
683
|
+
data: ErrorResponseCopy;
|
|
690
684
|
headers: Headers;
|
|
691
685
|
status: 400 | 403 | 404;
|
|
692
686
|
};
|
|
@@ -706,7 +700,7 @@ type UpdateAssistantStarterFollowupHttpResponse = {
|
|
|
706
700
|
status: 200;
|
|
707
701
|
};
|
|
708
702
|
type UpdateAssistantStarterFollowupHttpError = {
|
|
709
|
-
data:
|
|
703
|
+
data: ErrorResponseCopy;
|
|
710
704
|
headers: Headers;
|
|
711
705
|
status: 400 | 403 | 404;
|
|
712
706
|
};
|
|
@@ -737,7 +731,7 @@ type GetAssistantThreadsHttpResponse = {
|
|
|
737
731
|
next?: (options?: ApiCallOptions) => Promise<GetAssistantThreadsHttpResponse>;
|
|
738
732
|
};
|
|
739
733
|
type GetAssistantThreadsHttpError = {
|
|
740
|
-
data:
|
|
734
|
+
data: ErrorResponseCopy;
|
|
741
735
|
headers: Headers;
|
|
742
736
|
status: 400 | 403 | 404;
|
|
743
737
|
};
|
|
@@ -755,7 +749,7 @@ type CreateAssistantThreadHttpResponse = {
|
|
|
755
749
|
status: 201;
|
|
756
750
|
};
|
|
757
751
|
type CreateAssistantThreadHttpError = {
|
|
758
|
-
data:
|
|
752
|
+
data: ErrorResponseCopy;
|
|
759
753
|
headers: Headers;
|
|
760
754
|
status: 400 | 403 | 404;
|
|
761
755
|
};
|
|
@@ -774,7 +768,7 @@ type InvokeAssistantThreadHttpResponse = {
|
|
|
774
768
|
status: 200;
|
|
775
769
|
};
|
|
776
770
|
type InvokeAssistantThreadHttpError = {
|
|
777
|
-
data:
|
|
771
|
+
data: ErrorResponse;
|
|
778
772
|
headers: Headers;
|
|
779
773
|
status: 400 | 403 | 404 | 500;
|
|
780
774
|
};
|
|
@@ -793,7 +787,7 @@ type StreamAssistantThreadHttpResponse = {
|
|
|
793
787
|
status: 200;
|
|
794
788
|
};
|
|
795
789
|
type StreamAssistantThreadHttpError = {
|
|
796
|
-
data:
|
|
790
|
+
data: ErrorResponse;
|
|
797
791
|
headers: Headers;
|
|
798
792
|
status: 400 | 403 | 404 | 405 | 500;
|
|
799
793
|
};
|
|
@@ -823,7 +817,7 @@ type GetAssistantThreadInteractionsHttpResponse = {
|
|
|
823
817
|
next?: (options?: ApiCallOptions) => Promise<GetAssistantThreadInteractionsHttpResponse>;
|
|
824
818
|
};
|
|
825
819
|
type GetAssistantThreadInteractionsHttpError = {
|
|
826
|
-
data:
|
|
820
|
+
data: ErrorResponseCopy;
|
|
827
821
|
headers: Headers;
|
|
828
822
|
status: 400 | 403 | 404;
|
|
829
823
|
};
|
|
@@ -842,7 +836,7 @@ type CreateAssistantThreadInteractionHttpResponse = {
|
|
|
842
836
|
status: 201;
|
|
843
837
|
};
|
|
844
838
|
type CreateAssistantThreadInteractionHttpError = {
|
|
845
|
-
data:
|
|
839
|
+
data: ErrorResponseCopy;
|
|
846
840
|
headers: Headers;
|
|
847
841
|
status: 400 | 403 | 404;
|
|
848
842
|
};
|
|
@@ -861,7 +855,7 @@ type DeleteAssistantThreadInteractionHttpResponse = {
|
|
|
861
855
|
status: 204;
|
|
862
856
|
};
|
|
863
857
|
type DeleteAssistantThreadInteractionHttpError = {
|
|
864
|
-
data:
|
|
858
|
+
data: ErrorResponseCopy;
|
|
865
859
|
headers: Headers;
|
|
866
860
|
status: 400 | 403 | 404;
|
|
867
861
|
};
|
|
@@ -880,7 +874,7 @@ type GetAssistantThreadInteractionHttpResponse = {
|
|
|
880
874
|
status: 200;
|
|
881
875
|
};
|
|
882
876
|
type GetAssistantThreadInteractionHttpError = {
|
|
883
|
-
data:
|
|
877
|
+
data: ErrorResponseCopy;
|
|
884
878
|
headers: Headers;
|
|
885
879
|
status: 400 | 403 | 404;
|
|
886
880
|
};
|
|
@@ -900,7 +894,7 @@ type CreateAssistantThreadInteractionFeedbackHttpResponse = {
|
|
|
900
894
|
status: 201;
|
|
901
895
|
};
|
|
902
896
|
type CreateAssistantThreadInteractionFeedbackHttpError = {
|
|
903
|
-
data:
|
|
897
|
+
data: ErrorResponseCopy;
|
|
904
898
|
headers: Headers;
|
|
905
899
|
status: 400 | 403 | 404;
|
|
906
900
|
};
|
|
@@ -921,7 +915,7 @@ type PatchAssistantThreadInteractionFeedbackHttpResponse = {
|
|
|
921
915
|
status: 204;
|
|
922
916
|
};
|
|
923
917
|
type PatchAssistantThreadInteractionFeedbackHttpError = {
|
|
924
|
-
data:
|
|
918
|
+
data: ErrorResponseCopy;
|
|
925
919
|
headers: Headers;
|
|
926
920
|
status: 400 | 403 | 404;
|
|
927
921
|
};
|
|
@@ -941,7 +935,7 @@ type CreateAssistantThreadInteractionReviewHttpResponse = {
|
|
|
941
935
|
status: 201;
|
|
942
936
|
};
|
|
943
937
|
type CreateAssistantThreadInteractionReviewHttpError = {
|
|
944
|
-
data:
|
|
938
|
+
data: ErrorResponseCopy;
|
|
945
939
|
headers: Headers;
|
|
946
940
|
status: 400 | 403 | 404;
|
|
947
941
|
};
|
|
@@ -959,7 +953,7 @@ type DeleteAssistantThreadHttpResponse = {
|
|
|
959
953
|
status: 204;
|
|
960
954
|
};
|
|
961
955
|
type DeleteAssistantThreadHttpError = {
|
|
962
|
-
data:
|
|
956
|
+
data: ErrorResponseCopy;
|
|
963
957
|
headers: Headers;
|
|
964
958
|
status: 400 | 403 | 404;
|
|
965
959
|
};
|
|
@@ -977,7 +971,7 @@ type GetAssistantThreadHttpResponse = {
|
|
|
977
971
|
status: 200;
|
|
978
972
|
};
|
|
979
973
|
type GetAssistantThreadHttpError = {
|
|
980
|
-
data:
|
|
974
|
+
data: ErrorResponseCopy;
|
|
981
975
|
headers: Headers;
|
|
982
976
|
status: 400 | 403 | 404;
|
|
983
977
|
};
|
|
@@ -996,7 +990,7 @@ type PatchAssistantThreadHttpResponse = {
|
|
|
996
990
|
status: 204;
|
|
997
991
|
};
|
|
998
992
|
type PatchAssistantThreadHttpError = {
|
|
999
|
-
data:
|
|
993
|
+
data: ErrorResponseCopy;
|
|
1000
994
|
headers: Headers;
|
|
1001
995
|
status: 400 | 401 | 403 | 404 | 429;
|
|
1002
996
|
};
|
|
@@ -1013,7 +1007,7 @@ type DeleteAssistantHttpResponse = {
|
|
|
1013
1007
|
status: 204;
|
|
1014
1008
|
};
|
|
1015
1009
|
type DeleteAssistantHttpError = {
|
|
1016
|
-
data:
|
|
1010
|
+
data: ErrorResponseCopy;
|
|
1017
1011
|
headers: Headers;
|
|
1018
1012
|
status: 400 | 403 | 404;
|
|
1019
1013
|
};
|
|
@@ -1030,7 +1024,7 @@ type GetAssistantHttpResponse = {
|
|
|
1030
1024
|
status: 200;
|
|
1031
1025
|
};
|
|
1032
1026
|
type GetAssistantHttpError = {
|
|
1033
|
-
data:
|
|
1027
|
+
data: ErrorResponseCopy;
|
|
1034
1028
|
headers: Headers;
|
|
1035
1029
|
status: 400 | 403 | 404;
|
|
1036
1030
|
};
|
|
@@ -1048,7 +1042,7 @@ type PatchAssistantHttpResponse = {
|
|
|
1048
1042
|
status: 204;
|
|
1049
1043
|
};
|
|
1050
1044
|
type PatchAssistantHttpError = {
|
|
1051
|
-
data:
|
|
1045
|
+
data: ErrorResponseCopy;
|
|
1052
1046
|
headers: Headers;
|
|
1053
1047
|
status: 400 | 401 | 403 | 404 | 429;
|
|
1054
1048
|
};
|
|
@@ -1304,4 +1298,4 @@ type AssistantsAPI = {
|
|
|
1304
1298
|
*/
|
|
1305
1299
|
declare const assistantsExport: AssistantsAPI;
|
|
1306
1300
|
//#endregion
|
|
1307
|
-
export {
|
|
1301
|
+
export { GetAssistantThreadHttpResponse as $, deleteAssistant as $t, DeleteAssistantThreadHttpError as A, ResultMeta as At, FeedbackSummary as B, ThreadsResult as Bt, CreateThread as C, PatchAssistantThreadInteractionFeedbackHttpError as Ct, DeleteAssistantStarterFollowupHttpResponse as D, PromptOutputInvoke as Dt, DeleteAssistantStarterFollowupHttpError as E, PromptOutput as Et, ErrorResponseCode as F, StreamAssistantThreadHttpError as Ft, GetAssistantHttpResponse as G, assistantsExport as Gt, GetAssistantFeedbackHttpError as H, UpdateAssistantStarterFollowupHttpResponse as Ht, ErrorResponseCodeCopy as I, StreamAssistantThreadHttpResponse as It, GetAssistantStarterHttpError as J, createAssistantStarter as Jt, GetAssistantSourcesHttpError as K, clearCache as Kt, ErrorResponseCopy as L, Thread as Lt, DeleteAssistantThreadInteractionHttpError as M, SourcesPlaintext as Mt, DeleteAssistantThreadInteractionHttpResponse as N, Starter as Nt, DeleteAssistantStarterHttpError as O, RecommendedAnswer as Ot, ErrorResponse as P, StartersResult as Pt, GetAssistantThreadHttpError as Q, createAssistantThreadInteractionReview as Qt, Feedback as R, ThreadPatchArray as Rt, CreateStarter as S, PatchAssistantThreadHttpResponse as St, DeleteAssistantHttpResponse as T, PromptInput as Tt, GetAssistantFeedbackHttpResponse as U, UpdateAssistantStarterHttpError as Ut, Followup as V, UpdateAssistantStarterFollowupHttpError as Vt, GetAssistantHttpError as W, UpdateAssistantStarterHttpResponse as Wt, GetAssistantStartersHttpError as X, createAssistantThreadInteraction as Xt, GetAssistantStarterHttpResponse as Y, createAssistantThread as Yt, GetAssistantStartersHttpResponse as Z, createAssistantThreadInteractionFeedback as Zt, CreateAssistantThreadInteractionReviewHttpResponse as _, patchAssistantThreadInteractionFeedback as _n, PageLink as _t, CreateAssistant as a, getAssistantFeedback as an, GetAssistantThreadsHttpResponse as at, CreateInteraction as b, updateAssistantStarterFollowup as bn, PatchAssistantHttpResponse as bt, CreateAssistantStarterHttpError as c, getAssistantStarters as cn, Interaction as ct, CreateAssistantThreadHttpResponse as d, getAssistantThreadInteractions as dn, InvokeAssistantThreadHttpResponse as dt, deleteAssistantStarter as en, GetAssistantThreadInteractionHttpError as et, CreateAssistantThreadInteractionFeedbackHttpError as f, getAssistantThreads as fn, JSONPatch as ft, CreateAssistantThreadInteractionReviewHttpError as g, patchAssistantThread as gn, MessageSourceChunk as gt, CreateAssistantThreadInteractionHttpResponse as h, patchAssistant as hn, MessageSource as ht, ChunksRefs as i, getAssistant as in, GetAssistantThreadsHttpError as it, DeleteAssistantThreadHttpResponse as j, Source as jt, DeleteAssistantStarterHttpResponse as k, RejectionReason as kt, CreateAssistantStarterHttpResponse as l, getAssistantThread as ln, InteractionsResult as lt, CreateAssistantThreadInteractionHttpError as m, invokeAssistantThread as mn, Message as mt, AssistantsAPI as n, deleteAssistantThread as nn, GetAssistantThreadInteractionsHttpError as nt, CreateAssistantHttpError as o, getAssistantSources as on, GetAssistantsHttpError as ot, CreateAssistantThreadInteractionFeedbackHttpResponse as p, getAssistants as pn, JSONPatchArray as pt, GetAssistantSourcesHttpResponse as q, createAssistant as qt, AssistantsResult as r, deleteAssistantThreadInteraction as rn, GetAssistantThreadInteractionsHttpResponse as rt, CreateAssistantHttpResponse as s, getAssistantStarter as sn, GetAssistantsHttpResponse as st, Assistant as t, deleteAssistantStarterFollowup as tn, GetAssistantThreadInteractionHttpResponse as tt, CreateAssistantThreadHttpError as u, getAssistantThreadInteraction as un, InvokeAssistantThreadHttpError as ut, CreateAssistantWithAvatar as v, streamAssistantThread as vn, PageLinks as vt, DeleteAssistantHttpError as w, PatchAssistantThreadInteractionFeedbackHttpResponse as wt, CreateReview as x, PatchAssistantThreadHttpError as xt, CreateFeedback as y, updateAssistantStarter as yn, PatchAssistantHttpError as yt, FeedbackPatchArray as z, ThreadWithMessages as zt };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as DownloadableBlob, y as ApiCallOptions } from "./auth-types-BK8AvfyD.js";
|
|
2
2
|
|
|
3
3
|
//#region src/public/rest/audits.d.ts
|
|
4
4
|
type ArchiveItem = {
|
|
@@ -313,4 +313,4 @@ type AuditsAPI = {
|
|
|
313
313
|
*/
|
|
314
314
|
declare const auditsExport: AuditsAPI;
|
|
315
315
|
//#endregion
|
|
316
|
-
export {
|
|
316
|
+
export { getArchivedAudits as A, GetResult as C, auditsExport as D, ListLinks as E, getAuditsSettings as F, getAuditSources as M, getAuditTypes as N, clearCache as O, getAudits as P, GetObjectsResult as S, Href as T, GetAuditsHttpResponse as _, FetchConsumptionAppAuditsHttpError as a, GetByIDResult as b, GetArchivedAuditsHttpError as c, GetAuditHttpResponse as d, GetAuditSourcesHttpError as f, GetAuditsHttpError as g, GetAuditTypesHttpResponse as h, EventExtensions as i, getAudit as j, fetchConsumptionAppAudits as k, GetArchivedAuditsHttpResponse as l, GetAuditTypesHttpError as m, AuditsAPI as n, FetchConsumptionAppAuditsHttpResponse as o, GetAuditSourcesHttpResponse as p, ErrorResponse as r, GetArchiveResult as s, ArchiveItem as t, GetAuditHttpError as u, GetAuditsSettingsHttpError as v, GetSettingsResult as w, GetLinks as x, GetAuditsSettingsHttpResponse as y };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as HostConfig, m as WebResourceAuthParams, n as AuthType, t as AuthModule } from "./auth-types-BK8AvfyD.js";
|
|
2
2
|
|
|
3
3
|
//#region src/public/auth.d.ts
|
|
4
4
|
|
|
@@ -92,4 +92,4 @@ declare const _default: {
|
|
|
92
92
|
getWebResourceAuthParams: typeof getWebResourceAuthParams;
|
|
93
93
|
};
|
|
94
94
|
//#endregion
|
|
95
|
-
export {
|
|
95
|
+
export { logout as a, setDefaultHostConfig as c, getWebResourceAuthParams as i, unregisterHostConfig as l, _default as n, registerAuthModule as o, getAccessToken as r, registerHostConfig as s, AuthAPI as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getAuthRuntimeModule } from "./public-runtime-modules-
|
|
1
|
+
import { t as getAuthRuntimeModule } from "./public-runtime-modules-DNHVdCZ6.js";
|
|
2
2
|
|
|
3
3
|
//#region src/public/auth.ts
|
|
4
4
|
/**
|
|
@@ -62,4 +62,4 @@ var auth_default = {
|
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
//#endregion
|
|
65
|
-
export {
|
|
65
|
+
export { registerAuthModule as a, unregisterHostConfig as c, logout as i, getAccessToken as n, registerHostConfig as o, getWebResourceAuthParams as r, setDefaultHostConfig as s, auth_default as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./utils-
|
|
2
|
-
import "./interceptors-
|
|
1
|
+
import "./utils-DI6bFnHB.js";
|
|
2
|
+
import "./interceptors-CT9deBo6.js";
|
|
3
3
|
import "./global-types-BGMD2sDY.js";
|
|
4
|
-
import "./auth-types-
|
|
5
|
-
import {
|
|
4
|
+
import "./auth-types-BuIzsuoh.js";
|
|
5
|
+
import { _ as unregisterHostConfig, a as getWebResourceAuthParams, b as InvalidHostConfigError, c as isHostCrossOrigin, d as registerAuthModule, f as registerHostConfig, g as toValidWebsocketLocationUrl, h as toValidLocationUrl, i as getRestCallAuthParams, l as isWindows, m as setDefaultHostConfig, n as getAccessToken, o as getWebSocketAuthParams, p as serializeHostConfig, r as getDefaultHostConfig, s as handleAuthenticationError, t as determineAuthType, u as logout, v as AuthorizationError, x as UnexpectedAuthTypeError, y as InvalidAuthTypeError } from "./auth-functions-BZN9dCw1.js";
|
|
6
6
|
|
|
7
7
|
//#region src/auth/auth.ts
|
|
8
8
|
/**
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getInterceptors } from "./interceptors-
|
|
3
|
-
import {
|
|
1
|
+
import { a as sortKeys, i as isNode, r as isBrowser, t as cleanFalsyValues } from "./utils-DI6bFnHB.js";
|
|
2
|
+
import { i as getInterceptors } from "./interceptors-CT9deBo6.js";
|
|
3
|
+
import { n as hostConfigCommonProperties, t as authTypesThatCanBeOmitted } from "./auth-types-BuIzsuoh.js";
|
|
4
4
|
import { customAlphabet, nanoid } from "nanoid";
|
|
5
5
|
|
|
6
6
|
//#region src/platform/platform-functions.ts
|
|
7
7
|
const getPlatform = async (options = {}) => {
|
|
8
8
|
const hc = withResolvedHostConfig(options.hostConfig);
|
|
9
|
+
if (hc.authType === "mock-backend-rest-recorder") return hc.recordGetPlatform();
|
|
10
|
+
if (hc?.authType === "mock-backend") return hc.mockGetPlatform();
|
|
9
11
|
const isAnonymous = hc?.authType === "anonymous" || !!hc.accessCode;
|
|
10
12
|
if (typeof window === "undefined") return result({
|
|
11
13
|
isNodeEnv: true,
|
|
@@ -82,8 +84,7 @@ function templateUrl(baseUrl) {
|
|
|
82
84
|
* `data` is `undefined` if the file can not be retrieved.
|
|
83
85
|
*/
|
|
84
86
|
const getProductInfo = async ({ hostConfig, noCache } = {}) => {
|
|
85
|
-
const
|
|
86
|
-
const completeUrl = templateUrl(url);
|
|
87
|
+
const completeUrl = templateUrl(toValidLocationUrl(hostConfig));
|
|
87
88
|
try {
|
|
88
89
|
if (!(completeUrl in productInfoPromises)) {
|
|
89
90
|
const fetchOptions = {};
|
|
@@ -249,13 +250,11 @@ async function loadCachedOauthTokens(hostConfig) {
|
|
|
249
250
|
}
|
|
250
251
|
async function loadOrAcquireAccessTokenOauth(hostConfig, acquireTokens) {
|
|
251
252
|
if (!hostConfig.clientId) throw new InvalidHostConfigError("A host config with authType set to \"oauth2\" has to also provide a clientId");
|
|
252
|
-
|
|
253
|
-
return loadOrAcquireAccessToken(topic, acquireTokens, hostConfig.noCache, hostConfig.accessTokenStorage);
|
|
253
|
+
return loadOrAcquireAccessToken(getTopicFromOauthHostConfig(hostConfig), acquireTokens, hostConfig.noCache, hostConfig.accessTokenStorage);
|
|
254
254
|
}
|
|
255
255
|
async function loadOrAcquireAccessTokenAnon(hostConfig, acquireTokens) {
|
|
256
256
|
if (!hostConfig.accessCode) throw new InvalidHostConfigError("A host config with authType set to \"anonymous\" has to also provide an accessCode");
|
|
257
|
-
|
|
258
|
-
return loadOrAcquireAccessToken(topic, acquireTokens, false, void 0);
|
|
257
|
+
return loadOrAcquireAccessToken(getTopicFromAnonHostConfig(hostConfig), acquireTokens, false, void 0);
|
|
259
258
|
}
|
|
260
259
|
async function loadOrAcquireAccessToken(topic, acquireTokens, noCache, accessTokenStorage) {
|
|
261
260
|
if (noCache) return acquireTokens();
|
|
@@ -336,14 +335,13 @@ function byteArrayToBase64(hashArray) {
|
|
|
336
335
|
async function sha256(message) {
|
|
337
336
|
const msgBuffer = new TextEncoder().encode(message);
|
|
338
337
|
const hashBuffer = await globalThis.crypto.subtle.digest("SHA-256", msgBuffer);
|
|
339
|
-
|
|
340
|
-
return byteArrayToBase64(hashArray).replaceAll(/\+/g, "-").replaceAll(/\//g, "_").replace(/=+$/, "");
|
|
338
|
+
return byteArrayToBase64(Array.from(new Uint8Array(hashBuffer))).replaceAll(/\+/g, "-").replaceAll(/\//g, "_").replace(/=+$/, "");
|
|
341
339
|
}
|
|
342
340
|
async function createInteractiveLoginUrl(hostConfig, redirectUri, state, verifier) {
|
|
343
341
|
const clientId = hostConfig.clientId || "";
|
|
344
342
|
const locationUrl = toValidLocationUrl(hostConfig);
|
|
345
343
|
const codeChallenge = await sha256(verifier);
|
|
346
|
-
|
|
344
|
+
return `${locationUrl}/oauth/authorize?${toQueryString({
|
|
347
345
|
response_type: "code",
|
|
348
346
|
client_id: clientId,
|
|
349
347
|
redirect_uri: redirectUri,
|
|
@@ -351,8 +349,7 @@ async function createInteractiveLoginUrl(hostConfig, redirectUri, state, verifie
|
|
|
351
349
|
state,
|
|
352
350
|
code_challenge: codeChallenge,
|
|
353
351
|
code_challenge_method: "S256"
|
|
354
|
-
}
|
|
355
|
-
return `${locationUrl}/oauth/authorize?${toQueryString(queryParams)}`;
|
|
352
|
+
})}`;
|
|
356
353
|
}
|
|
357
354
|
async function startFullPageLoginFlow(hostConfig) {
|
|
358
355
|
const clientId = hostConfig.clientId || "";
|
|
@@ -367,7 +364,7 @@ async function startFullPageLoginFlow(hostConfig) {
|
|
|
367
364
|
saveInSessionStorage(topic, "verifier", verifier);
|
|
368
365
|
saveInSessionStorage(topic, "href", globalThis.location.href);
|
|
369
366
|
saveInSessionStorage("", "client-in-progress", topic);
|
|
370
|
-
const
|
|
367
|
+
const url = `${locationUrl}/oauth/authorize?${toQueryString({
|
|
371
368
|
response_type: "code",
|
|
372
369
|
client_id: clientId,
|
|
373
370
|
redirect_uri: redirectUri,
|
|
@@ -375,8 +372,7 @@ async function startFullPageLoginFlow(hostConfig) {
|
|
|
375
372
|
state,
|
|
376
373
|
code_challenge: codeChallenge,
|
|
377
374
|
code_challenge_method: "S256"
|
|
378
|
-
}
|
|
379
|
-
const url = `${locationUrl}/oauth/authorize?${toQueryString(queryParams)}`;
|
|
375
|
+
})}`;
|
|
380
376
|
globalThis.location.replace(url);
|
|
381
377
|
}
|
|
382
378
|
async function exchangeCodeAndVerifierForAccessTokenData(hostConfig, code, verifier, redirectUri) {
|
|
@@ -629,8 +625,7 @@ async function exchangeAccessTokenForTemporaryToken(hostConfig, accessToken, pur
|
|
|
629
625
|
async function toError(response) {
|
|
630
626
|
const body = await response.text();
|
|
631
627
|
try {
|
|
632
|
-
|
|
633
|
-
return new AuthorizationError(data.errors);
|
|
628
|
+
return new AuthorizationError(JSON.parse(body).errors);
|
|
634
629
|
} catch {
|
|
635
630
|
return new AuthorizationError([{
|
|
636
631
|
code: "unknown",
|
|
@@ -670,16 +665,13 @@ async function getOrCreateTrackingCode(hostConfig) {
|
|
|
670
665
|
}
|
|
671
666
|
function createTrackingCode() {
|
|
672
667
|
const timeStamp = Math.floor(Date.now() / 1e3).toString(16);
|
|
673
|
-
|
|
674
|
-
return `${timeStamp}${randomString}`;
|
|
668
|
+
return `${timeStamp}${generateRandomHexString(40 - timeStamp.length)}`;
|
|
675
669
|
}
|
|
676
670
|
async function getAnonymousAccessToken(hostConfig) {
|
|
677
671
|
const { accessCode, clientId } = hostConfig;
|
|
678
672
|
if (!accessCode || !clientId) throw new InvalidHostConfigError("A host config with authType set to \"anonymous\" has to provide both an accessCode and clientId");
|
|
679
673
|
const tokens = await loadOrAcquireAccessTokenAnon(hostConfig, async () => {
|
|
680
|
-
|
|
681
|
-
const trackingCode = await getOrCreateTrackingCode(hostConfig);
|
|
682
|
-
return getAnonymousOauthAccessToken(baseUrl, accessCode, clientId, trackingCode);
|
|
674
|
+
return getAnonymousOauthAccessToken(toValidLocationUrl(hostConfig), accessCode, clientId, await getOrCreateTrackingCode(hostConfig));
|
|
683
675
|
});
|
|
684
676
|
if (!tokens) return "";
|
|
685
677
|
if (tokens.errors) throw new AuthorizationError(tokens.errors);
|
|
@@ -695,14 +687,12 @@ async function getRestCallAuthParams$8({ hostConfig }) {
|
|
|
695
687
|
}
|
|
696
688
|
async function getWebSocketAuthParams$8({ hostConfig }) {
|
|
697
689
|
return { queryParams: { accessToken: await handlePotentialAuthenticationErrorAndRetry$1(hostConfig, async () => {
|
|
698
|
-
|
|
699
|
-
return exchangeAccessTokenForTemporaryToken(hostConfig, accessToken, "websocket");
|
|
690
|
+
return exchangeAccessTokenForTemporaryToken(hostConfig, await getAnonymousAccessToken(hostConfig), "websocket");
|
|
700
691
|
}) } };
|
|
701
692
|
}
|
|
702
693
|
async function getWebResourceAuthParams$2({ hostConfig }) {
|
|
703
694
|
return { queryParams: { accessToken: await handlePotentialAuthenticationErrorAndRetry$1(hostConfig, async () => {
|
|
704
|
-
|
|
705
|
-
return exchangeAccessTokenForTemporaryToken(hostConfig, accessToken, "websocket");
|
|
695
|
+
return exchangeAccessTokenForTemporaryToken(hostConfig, await getAnonymousAccessToken(hostConfig), "websocket");
|
|
706
696
|
}) } };
|
|
707
697
|
}
|
|
708
698
|
async function handleAuthenticationError$8({ hostConfig }) {
|
|
@@ -1140,11 +1130,9 @@ async function getInvokeFetchUrlParams({ method, pathTemplate, pathVariables, qu
|
|
|
1140
1130
|
...query,
|
|
1141
1131
|
...authQueryParams
|
|
1142
1132
|
});
|
|
1143
|
-
const completeUrl = toCompleteUrl(url, queryString);
|
|
1144
|
-
const cacheKey = toCacheKey(url, queryString, serializeHostConfig$1(options?.hostConfig), options?.headers);
|
|
1145
1133
|
return {
|
|
1146
|
-
completeUrl,
|
|
1147
|
-
cacheKey,
|
|
1134
|
+
completeUrl: toCompleteUrl(url, queryString),
|
|
1135
|
+
cacheKey: toCacheKey(url, queryString, serializeHostConfig$1(options?.hostConfig), options?.headers),
|
|
1148
1136
|
authHeaders,
|
|
1149
1137
|
credentials
|
|
1150
1138
|
};
|
|
@@ -1175,8 +1163,7 @@ function invokeFetchWithUrlAndRetry(api, { method, completeUrl, cacheKey, body,
|
|
|
1175
1163
|
return cloneResultPromise(cacheEntry.value);
|
|
1176
1164
|
}
|
|
1177
1165
|
const resultPromiseFromBackend = performActualHttpFetch(method, completeUrl, body, contentType, options, authHeaders, credentials, userAgent);
|
|
1178
|
-
const
|
|
1179
|
-
const resultPromiseAfterPagingAddon = addPagingFunctions(api, resultAfterAuthenticationCheck, method, body, options, authHeaders, credentials);
|
|
1166
|
+
const resultPromiseAfterPagingAddon = addPagingFunctions(api, interceptAuthenticationErrors(options?.hostConfig, resultPromiseFromBackend, performRetry), method, body, options, authHeaders, credentials);
|
|
1180
1167
|
const resultPromiseAfterCacheClearing = clearCacheOnError(cache[api], cacheKey, resultPromiseAfterPagingAddon);
|
|
1181
1168
|
if (shouldPopulateCache(method)) {
|
|
1182
1169
|
if (Object.hasOwn && !Object.hasOwn(cache, api) || api === "__proto__") throw new Error(`Forbidden api name: ${api}`);
|
|
@@ -1272,8 +1259,7 @@ async function download(blob, filename) {
|
|
|
1272
1259
|
} else {
|
|
1273
1260
|
const { writeFileSync } = await import("fs");
|
|
1274
1261
|
const arrayBuffer = await blob.arrayBuffer();
|
|
1275
|
-
|
|
1276
|
-
writeFileSync(filename, uint8Array);
|
|
1262
|
+
writeFileSync(filename, new Uint8Array(arrayBuffer));
|
|
1277
1263
|
}
|
|
1278
1264
|
}
|
|
1279
1265
|
|
|
@@ -1292,6 +1278,8 @@ async function invokeFetch(api, props, interceptors) {
|
|
|
1292
1278
|
}
|
|
1293
1279
|
/** @private Runs the intercepted version of invoke fetch */
|
|
1294
1280
|
async function invokeFetchIntercepted(api, props) {
|
|
1281
|
+
if (props.options?.hostConfig?.authType === "mock-backend-rest-recorder") return Promise.resolve(props.options?.hostConfig.recordInvokeFetch(props));
|
|
1282
|
+
if (props.options?.hostConfig?.authType === "mock-backend") return Promise.resolve(props.options?.hostConfig.mockInvokeFetch(props));
|
|
1295
1283
|
checkForCrossDomainRequest(props.options?.hostConfig);
|
|
1296
1284
|
if (props.options?.hostConfig?.authType === "noauth") {
|
|
1297
1285
|
console.info("API call blocked: noauth auth module is configured, no API calls should be made");
|
|
@@ -1613,14 +1601,12 @@ async function getRestCallAuthParams$3({ hostConfig }) {
|
|
|
1613
1601
|
}
|
|
1614
1602
|
async function getWebSocketAuthParams$3({ hostConfig }) {
|
|
1615
1603
|
return { queryParams: { accessToken: await handlePotentialAuthenticationErrorAndRetry(hostConfig, async () => {
|
|
1616
|
-
|
|
1617
|
-
return exchangeAccessTokenForTemporaryToken(hostConfig, accessToken, "websocket");
|
|
1604
|
+
return exchangeAccessTokenForTemporaryToken(hostConfig, await getOAuthAccessToken(hostConfig), "websocket");
|
|
1618
1605
|
}) } };
|
|
1619
1606
|
}
|
|
1620
1607
|
async function getWebResourceAuthParams$1({ hostConfig }) {
|
|
1621
1608
|
return { queryParams: { accessToken: await handlePotentialAuthenticationErrorAndRetry(hostConfig, async () => {
|
|
1622
|
-
|
|
1623
|
-
return exchangeAccessTokenForTemporaryToken(hostConfig, accessToken, "webresource");
|
|
1609
|
+
return exchangeAccessTokenForTemporaryToken(hostConfig, await getOAuthAccessToken(hostConfig), "webresource");
|
|
1624
1610
|
}) } };
|
|
1625
1611
|
}
|
|
1626
1612
|
async function handleAuthenticationError$3({ hostConfig }) {
|
|
@@ -1964,8 +1950,7 @@ function globalReplacer(key, value) {
|
|
|
1964
1950
|
* Serializes the provided hostConfig, if present, otherwise the default one.
|
|
1965
1951
|
*/
|
|
1966
1952
|
function serializeHostConfig(hostConfig) {
|
|
1967
|
-
const
|
|
1968
|
-
const sorted = sortKeys(hostConfigToUse);
|
|
1953
|
+
const sorted = sortKeys(removeDefaults(withResolvedHostConfig(hostConfig)));
|
|
1969
1954
|
return JSON.stringify(sorted, globalReplacer);
|
|
1970
1955
|
}
|
|
1971
1956
|
const registeredHostConfigs = /* @__PURE__ */ new Map();
|
|
@@ -2058,6 +2043,7 @@ function isHostCrossOrigin(hostConfig) {
|
|
|
2058
2043
|
async function isWindows(hostConfig) {
|
|
2059
2044
|
const hostConfigToUse = withResolvedHostConfig(hostConfig);
|
|
2060
2045
|
if (typeof hostConfigToUse.forceIsWindows === "boolean") return hostConfigToUse.forceIsWindows;
|
|
2046
|
+
if (hostConfigToUse.host?.endsWith(".qlik-stage.com") || hostConfigToUse.host?.endsWith(".qlikcloud.com") || hostConfigToUse.host?.endsWith(".qlikcloudgov.com")) return false;
|
|
2061
2047
|
if (hostConfigToUse.authType === "cookie") return false;
|
|
2062
2048
|
if (hostConfigToUse.authType === "windowscookie") return true;
|
|
2063
2049
|
return (await getPlatform({ hostConfig })).isWindows;
|
|
@@ -2273,4 +2259,4 @@ function getDefaultHostConfig$1() {
|
|
|
2273
2259
|
}
|
|
2274
2260
|
|
|
2275
2261
|
//#endregion
|
|
2276
|
-
export {
|
|
2262
|
+
export { getPlatform as A, invokeFetch as C, InvokeFetchError as D, EncodingError as E, exposeInternalApiOnWindow as O, clearApiCache as S, appendQueryToUrl as T, unregisterHostConfig$1 as _, getWebResourceAuthParams as a, InvalidHostConfigError as b, isHostCrossOrigin as c, registerAuthModule$1 as d, registerHostConfig$1 as f, toValidWebsocketLocationUrl as g, toValidLocationUrl as h, getRestCallAuthParams as i, generateRandomString as k, isWindows as l, setDefaultHostConfig$1 as m, getAccessToken as n, getWebSocketAuthParams as o, serializeHostConfig$1 as p, getDefaultHostConfig$1 as r, handleAuthenticationError as s, determineAuthType$1 as t, logout as u, AuthorizationError as v, parseFetchResponse as w, UnexpectedAuthTypeError as x, InvalidAuthTypeError as y };
|
|
@@ -341,11 +341,11 @@ type AuthModule<A extends AuthType = AuthType> = {
|
|
|
341
341
|
type AuthType = keyof QlikAuthModules;
|
|
342
342
|
/** Configuration object for connecting and authenticating with Qlik platform(s) */
|
|
343
343
|
type HostConfig<A extends AuthType = AuthType> = { [K in keyof QlikAuthModules]: QlikAuthModuleConfigUnion<K> & HostConfigCommon }[A];
|
|
344
|
-
type QlikAuthModuleConfigUnion<K extends keyof QlikAuthModules> = (K extends keyof ImplicitQlikAuthModules ? {
|
|
345
|
-
authType?: K;
|
|
344
|
+
type QlikAuthModuleConfigUnion<K$1 extends keyof QlikAuthModules> = (K$1 extends keyof ImplicitQlikAuthModules ? {
|
|
345
|
+
authType?: K$1;
|
|
346
346
|
} : {
|
|
347
|
-
authType: K;
|
|
348
|
-
}) & QlikAuthModules[K]["config"];
|
|
347
|
+
authType: K$1;
|
|
348
|
+
}) & QlikAuthModules[K$1]["config"];
|
|
349
349
|
type HostConfigCommon = {
|
|
350
350
|
/** The URL to the cloud tenant or windows server. If scheme is excluded https is used. May include a virtual proxy prefix on windows. Any trailing slashes are stripped. */
|
|
351
351
|
host?: string;
|
|
@@ -376,4 +376,4 @@ interface ImplicitQlikAuthModules {
|
|
|
376
376
|
type AuthTypeThatCanBeOmitted = keyof ImplicitQlikAuthModules;
|
|
377
377
|
declare const authTypesThatCanBeOmitted: AuthTypeThatCanBeOmitted[];
|
|
378
378
|
//#endregion
|
|
379
|
-
export {
|
|
379
|
+
export { InvokeFetchProperties as C, _default as D, ProgressOptions as E, DownloadableBlob as S, PartialProgressEvent as T, hostConfigCommonProperties as _, Credentials as a, CacheEntry as b, GetWebResourceAuthParamsProps as c, HostConfig as d, HostConfigCommon as f, authTypesThatCanBeOmitted as g, WebSocketAuthParams as h, AuthenticationErrorAction as i, GetWebSocketAuthParamsProps as l, WebResourceAuthParams as m, AuthType as n, GetRemoteAuthDataProps as o, RestCallAuthParams as p, AuthTypeThatCanBeOmitted as r, GetRestCallAuthParamsProps as s, AuthModule as t, HandleAuthenticationErrorProps as u, PerformInteractiveLoginFn as v, InvokeFetchResponse as w, CacheOptions as x, ApiCallOptions as y };
|
package/chunks/{automation-connections-BJuPyGkj.d.ts → automation-connections-BRSXAkab.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiCallOptions } from "./auth-types-
|
|
1
|
+
import { y as ApiCallOptions } from "./auth-types-BK8AvfyD.js";
|
|
2
2
|
|
|
3
3
|
//#region src/public/rest/automation-connections.d.ts
|
|
4
4
|
type AutomationConnectionChangeOwnerObject = {
|
|
@@ -363,4 +363,4 @@ type AutomationConnectionsAPI = {
|
|
|
363
363
|
*/
|
|
364
364
|
declare const automationConnectionsExport: AutomationConnectionsAPI;
|
|
365
365
|
//#endregion
|
|
366
|
-
export {
|
|
366
|
+
export { Links as A, deleteAutomationConnection as B, DeleteAutomationConnectionHttpResponse as C, GetAutomationConnectionHttpResponse as D, GetAutomationConnectionHttpError as E, changeOwnerAutomationConnection as F, getAutomationConnections as H, changeSpaceAutomationConnection as I, checkAutomationConnection as L, UpdateAutomationConnectionHttpError as M, UpdateAutomationConnectionHttpResponse as N, GetAutomationConnectionsHttpError as O, automationConnectionsExport as P, clearCache as R, DeleteAutomationConnectionHttpError as S, ErrorResponse as T, updateAutomationConnection as U, getAutomationConnection as V, ChangeSpaceAutomationConnectionHttpResponse as _, AutomationConnectionDetailObject as a, CreateAutomationConnectionHttpError as b, AutomationConnectionParamOptionObject as c, AutomationConnectionsAPI as d, AutomationConnectionsList as f, ChangeSpaceAutomationConnectionHttpError as g, ChangeOwnerAutomationConnectionHttpResponse as h, AutomationConnectionCreationObject as i, PaginationLink as j, GetAutomationConnectionsHttpResponse as k, AutomationConnectionParamPutObject as l, ChangeOwnerAutomationConnectionHttpError as m, AutomationConnectionChangeSpaceObject as n, AutomationConnectionParamCreateObject as o, AutomationConnectionsListObject as p, AutomationConnectionCheckObject as r, AutomationConnectionParamObject as s, AutomationConnectionChangeOwnerObject as t, AutomationConnectionPutRequestObject as u, CheckAutomationConnectionHttpError as v, Error as w, CreateAutomationConnectionHttpResponse as x, CheckAutomationConnectionHttpResponse as y, createAutomationConnection as z };
|