@qlik/api 1.48.0 → 2.0.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 +3 -2
- package/apps.js +3 -3
- package/assistants.d.ts +4 -3
- package/assistants.js +26 -8
- package/audits.d.ts +3 -2
- package/audits.js +3 -3
- package/auth-types.d.ts +1 -1
- package/auth-types.js +2 -2
- 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/banners.d.ts +4 -0
- package/banners.js +50 -0
- package/brands.d.ts +3 -2
- package/brands.js +3 -3
- package/chunks/{api-keys-CMueXJbt.d.ts → api-keys-DS7LkwI8.d.ts} +1 -1
- package/chunks/{apps-o_sjzs9r.d.ts → apps-B_ut0nyb.d.ts} +1 -1
- package/chunks/{assistants-HFA_SREY.d.ts → assistants-DZMh4UTc.d.ts} +108 -49
- package/chunks/{audits-MWyrG2MG.d.ts → audits-BC_9Nsc3.d.ts} +1 -1
- package/chunks/{auth-CxnCSwBE.d.ts → auth-BYyDvXka.d.ts} +2 -2
- package/chunks/{auth-CTDo3q9V.js → auth-DVfvT8TD.js} +2 -2
- package/chunks/{auth-functions-ddchV8d1.js → auth-functions-C27LB1gE.js} +378 -225
- package/chunks/{auth-7cn0sw5M.js → auth-sNi1A67-.js} +5 -5
- package/chunks/{auth-types-CMYVHKHt.d.ts → auth-types-CHOUViJI.d.ts} +42 -8
- package/chunks/{automation-connections-CUYqcIJN.d.ts → automation-connections-Cyhb0FaN.d.ts} +1 -1
- package/chunks/automation-connectors-LrawaoDq.d.ts +84 -0
- package/chunks/{automations-DXurmr9l.d.ts → automations-BYujmPxM.d.ts} +1 -1
- package/chunks/{automl-deployments-DD8qvuIL.d.ts → automl-deployments-Bz4hIBQD.d.ts} +1 -1
- package/chunks/{automl-predictions-DTLAb_K7.d.ts → automl-predictions-DnnHn5n_.d.ts} +1 -1
- package/chunks/banners-C8iUbLA2.d.ts +184 -0
- package/chunks/{brands-DHEX0AY9.d.ts → brands-C_VLS_bl.d.ts} +1 -1
- package/chunks/{collections-CQVat0gX.d.ts → collections-tmWJxgrt.d.ts} +1 -1
- package/chunks/{conditions-BCiKAa77.d.ts → conditions-XN35BSPh.d.ts} +1 -1
- package/chunks/{consumption-Cm-v34pl.d.ts → consumption-DX2Ei4od.d.ts} +1 -1
- package/chunks/{csp-origins-9mi748Hs.d.ts → csp-origins-fyrVQMkf.d.ts} +1 -1
- package/chunks/{csrf-token-B6YVyvF-.d.ts → csrf-token-VrKslIAO.d.ts} +1 -1
- package/chunks/{data-alerts-DXGw2ug-.d.ts → data-alerts-Db2z8nxG.d.ts} +1 -1
- package/chunks/{data-assets-oqMeHtp5.d.ts → data-assets-COFtmbYv.d.ts} +1 -1
- package/chunks/{data-connections-CFMpEhYl.d.ts → data-connections-CZmEfGNG.d.ts} +1 -1
- package/chunks/{data-credentials-ByApg_HS.d.ts → data-credentials-BJteSNF-.d.ts} +1 -1
- package/chunks/{data-files-WfSPddca.d.ts → data-files-E3LDdwu9.d.ts} +3 -1
- package/chunks/{data-qualities-CXflp8U4.d.ts → data-qualities-CDgLWYzn.d.ts} +1 -1
- package/chunks/{data-sets-BrQdUQ-a.d.ts → data-sets-DS9oCHyh.d.ts} +1 -1
- package/chunks/{data-sources-C4QQ_0_U.d.ts → data-sources-CsARydcs.d.ts} +1 -1
- package/chunks/{data-stores-DYNPJYL3.d.ts → data-stores-BrMPbFTB.d.ts} +1 -1
- package/chunks/{dcaas-Bvx3E7Tl.d.ts → dcaas-BOgO88is.d.ts} +1 -1
- package/chunks/{di-projects-r81XGz_Y.d.ts → di-projects-6CTj-fZS.d.ts} +1 -1
- package/chunks/{direct-access-agents-CED30mGe.d.ts → direct-access-agents-DqkZJgCw.d.ts} +122 -141
- package/chunks/{dist-CKkIPLEp.js → dist-CdktrY2F.js} +1 -1
- package/chunks/{encryption-BEDq3afw.d.ts → encryption-38eI7xaM.d.ts} +1 -1
- package/chunks/{extensions-DfsDlRqP.d.ts → extensions-BY1bBIwI.d.ts} +1 -1
- package/chunks/{glossaries-B9noZui1.d.ts → glossaries-DOGETgAy.d.ts} +17 -2
- package/chunks/{groups-B4UzuQ1T.d.ts → groups-B5ZSHoU7.d.ts} +1 -1
- package/chunks/{identity-providers-B5eGgJDU.d.ts → identity-providers-B95UphQ7.d.ts} +1 -1
- package/chunks/{interceptors-BLkRIl7M.d.ts → interceptors-BoGH3CGy.d.ts} +1 -1
- package/chunks/{interceptors-CT9deBo6.js → interceptors-DoQ44M-n.js} +1 -1
- package/chunks/invoke-fetch-C1Z0RJYU.d.ts +1 -0
- package/chunks/{invoke-fetch-C7yv5Xdt.js → invoke-fetch-CSpyWLUQ.js} +9 -5
- package/chunks/{invoke-fetch-CIrdtp97.js → invoke-fetch-CoW3QRhJ.js} +3 -3
- package/chunks/{items-C66QleFR.d.ts → items-prd2PJHL.d.ts} +1 -1
- package/chunks/{knowledgebases-BbK2hQE_.d.ts → knowledgebases-BddClrQS.d.ts} +88 -2
- package/chunks/{licenses-RXJTB4Vy.d.ts → licenses-DzZh3F70.d.ts} +1 -1
- package/chunks/{lineage-graphs-DPd82wS2.d.ts → lineage-graphs-DH3iZ45F.d.ts} +1 -1
- package/chunks/{ml-QIufjt2r.d.ts → ml-DZ4QCH4Q.d.ts} +18 -8
- package/chunks/{notes-F-z5oQO4.d.ts → notes-BmZ3kWFF.d.ts} +1 -1
- package/chunks/{notifications-B1piOoYG.d.ts → notifications-DpmHo21D.d.ts} +1 -1
- package/chunks/{oauth-clients-DffdXssq.d.ts → oauth-clients-lKvXqnlf.d.ts} +1 -1
- package/chunks/{oauth-tokens-DYpzGNGd.d.ts → oauth-tokens-I1GXV-Pm.d.ts} +1 -1
- package/chunks/{public-runtime-modules-C-9amT4R.js → public-runtime-modules-DiFgGaqr.js} +5 -5
- package/chunks/{qix-Ci8-xBfr.js → qix-BpdRtXWA.js} +22 -23
- package/chunks/{qix-CrD3jqUl.d.ts → qix-CYETPFnP.d.ts} +4 -3
- package/chunks/{qix-C4qlX8hm.js → qix-DCY6Rh2X.js} +1 -1
- package/chunks/{qix-chunk-entrypoint-G-P4CZ8j.js → qix-chunk-entrypoint-C_zIcxOU.js} +32 -30
- package/chunks/{questions-C-vMowEJ.d.ts → questions-DPgcX6l6.d.ts} +1 -1
- package/chunks/{quotas-DMd7lZT8.d.ts → quotas-ja_K_-Na.d.ts} +1 -1
- package/chunks/{reload-tasks-3l1zTCQw.d.ts → reload-tasks-BiMX4_zH.d.ts} +1 -1
- package/chunks/{reloads-BuazhIbb.d.ts → reloads-BhEQHvZ_.d.ts} +1 -1
- package/chunks/{report-templates-BB5qO0Xs.d.ts → report-templates-CC5GHDZP.d.ts} +1 -1
- package/chunks/{reports-BVCavbLS.d.ts → reports-gdDevE7G.d.ts} +1 -1
- package/chunks/{roles-BJ9nk8Sr.d.ts → roles-CI51tqVy.d.ts} +1 -1
- package/chunks/{sharing-tasks-BggUsUv5.d.ts → sharing-tasks-BBCqrevS.d.ts} +8 -7
- package/chunks/{spaces-CtHtLIRy.d.ts → spaces-mALfyUk6.d.ts} +1 -1
- package/chunks/{tasks-KCyWv09X.d.ts → tasks-C5LAAjFh.d.ts} +1 -1
- package/chunks/{temp-contents-C_GaGx4B.d.ts → temp-contents-BetQz-oE.d.ts} +1 -1
- package/chunks/{tenants-yiwmszQe.d.ts → tenants-BxH2KOTB.d.ts} +1 -1
- package/chunks/{themes-DFOx8rmH.d.ts → themes-39I0zONl.d.ts} +1 -1
- package/chunks/{transports-Bm_2qhi6.d.ts → transports-Dw6UqnWY.d.ts} +7 -1
- package/chunks/{ui-config-DQS-q3a2.d.ts → ui-config-Dn289HpY.d.ts} +1 -1
- package/chunks/{users-CMcvJh_A.d.ts → users-dL3ip5Hd.d.ts} +25 -46
- package/chunks/{web-integrations-BALzFS8W.d.ts → web-integrations-Cl2WklQh.d.ts} +1 -1
- package/chunks/{web-notifications-aAAjC6wA.d.ts → web-notifications-B5An9uEB.d.ts} +1 -1
- package/chunks/{webhooks-BSailWuP.d.ts → webhooks-CrKlLCv7.d.ts} +82 -76
- 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 +3 -2
- package/data-sources.js +3 -3
- 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 +3 -3
- package/direct-access-agents.d.ts +4 -3
- package/direct-access-agents.js +54 -81
- 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/global-types.js +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 +73 -64
- package/index.js +28 -10
- 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 +4 -3
- package/knowledgebases.js +22 -4
- package/licenses.d.ts +3 -2
- package/licenses.js +3 -3
- package/lineage-graphs.d.ts +3 -2
- package/lineage-graphs.js +3 -3
- 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 +4 -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 +3 -2
- 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 +5 -3
- package/ui-config.d.ts +3 -2
- package/ui-config.js +3 -3
- package/users.d.ts +4 -3
- package/users.js +17 -4
- 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 +3 -2
- package/webhooks.js +3 -3
- package/website/assets/navigation.js +1 -1
- package/website/assets/search.js +1 -1
- package/website/functions/assistants.invokeAssistantThread.html +2 -2
- package/website/functions/{direct-access-agents.getDirectAccessAgentConnectorCustomDataTypeMappings.html → assistants.searchAssistant.html} +4 -4
- package/website/functions/assistants.streamAssistantThread.html +2 -2
- package/website/functions/auth.setDefaultHostConfig.html +1 -1
- package/website/functions/automation-connectors.clearCache.html +2 -0
- package/website/functions/automation-connectors.getAutomationConnectors.html +7 -0
- package/website/functions/banners.clearCache.html +2 -0
- package/website/functions/banners.getBanners.html +3 -0
- package/website/functions/banners.upsertBanners.html +4 -0
- package/website/functions/direct-access-agents.createDirectAccessAgentBenchmark.html +7 -0
- package/website/functions/direct-access-agents.createDirectAccessAgentBenchmarkCancel.html +5 -0
- package/website/functions/{direct-access-agents.getDirectAccessAgentConnectorFilesAllowedPaths.html → direct-access-agents.getDirectAccessAgentBenchmark.html} +3 -3
- package/website/functions/knowledgebases.searchKnowledgebase.html +5 -0
- package/website/functions/ml.getMlDeployments.html +3 -8
- package/website/functions/transports.patchEmailConfig.html +3 -3
- package/website/functions/users.countUsers.html +3 -4
- package/website/functions/users.countUsersWithoutQuery.html +3 -0
- package/website/functions/users.getUsers.html +5 -14
- package/website/functions/webhooks.getWebhookDeliveries.html +6 -6
- package/website/functions/webhooks.getWebhooks.html +13 -13
- package/website/index.html +1 -1
- package/website/interfaces/auth.AuthAPI.html +1 -1
- package/website/interfaces/index.QlikAPI.html +6 -2
- package/website/interfaces/qix.GenericObject.html +2 -2
- package/website/modules/assistants.html +1 -1
- package/website/modules/automation-connectors.html +1 -0
- package/website/modules/banners.html +1 -0
- package/website/modules/direct-access-agents.html +1 -1
- package/website/modules/index.html +1 -1
- package/website/modules/knowledgebases.html +1 -1
- package/website/modules/transports.html +1 -1
- package/website/modules/users.html +1 -1
- package/website/types/assistants.Assistant.html +2 -4
- package/website/types/assistants.AssistantsAPI.html +19 -14
- package/website/types/assistants.Chunk.html +11 -0
- 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 +1 -11
- package/website/types/assistants.ErrorResponseCodeCopy.html +11 -1
- 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.KbChunkMeta.html +12 -0
- 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.SearchAssistantHttpError.html +4 -0
- package/website/types/assistants.SearchAssistantHttpResponse.html +4 -0
- package/website/types/assistants.SearchRequest.html +7 -0
- package/website/types/assistants.SearchResponse.html +3 -0
- 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/auth-types.WebSocketAuthParams.html +4 -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/banners.BannerResponse.html +19 -0
- package/website/types/banners.BannerUpsertDefinition.html +11 -0
- package/website/types/banners.BannersAPI.html +10 -0
- package/website/types/banners.ErrorResponse400.html +3 -0
- package/website/types/banners.ErrorResponse401.html +3 -0
- package/website/types/banners.ErrorResponse403.html +3 -0
- package/website/types/banners.ErrorResponse404.html +3 -0
- package/website/types/banners.ErrorResponse500.html +3 -0
- package/website/types/banners.GetBanners400HttpError.html +4 -0
- package/website/types/banners.GetBanners401HttpError.html +4 -0
- package/website/types/banners.GetBanners403HttpError.html +4 -0
- package/website/types/banners.GetBanners404HttpError.html +4 -0
- package/website/types/banners.GetBanners500HttpError.html +4 -0
- package/website/types/banners.GetBannersHttpError.html +1 -0
- package/website/types/banners.GetBannersHttpResponse.html +4 -0
- package/website/types/banners.UpsertBanners400HttpError.html +4 -0
- package/website/types/banners.UpsertBanners401HttpError.html +4 -0
- package/website/types/banners.UpsertBanners403HttpError.html +4 -0
- package/website/types/banners.UpsertBanners404HttpError.html +4 -0
- package/website/types/banners.UpsertBanners500HttpError.html +4 -0
- package/website/types/banners.UpsertBannersHttpError.html +1 -0
- package/website/types/banners.UpsertBannersHttpResponse.html +4 -0
- package/website/types/data-files.DataFileUploadResponse.html +4 -2
- package/website/types/direct-access-agents.CancelBenchmarkResponse.html +3 -0
- package/website/types/direct-access-agents.CreateDirectAccessAgentBenchmarkCancelHttpError.html +4 -0
- package/website/types/direct-access-agents.CreateDirectAccessAgentBenchmarkCancelHttpResponse.html +4 -0
- package/website/types/direct-access-agents.CreateDirectAccessAgentBenchmarkHttpError.html +4 -0
- package/website/types/direct-access-agents.CreateDirectAccessAgentBenchmarkHttpResponse.html +4 -0
- package/website/types/direct-access-agents.DirectAccessAgentsAPI.html +41 -48
- package/website/types/direct-access-agents.GetBenchmarkStatusResponse.html +14 -0
- package/website/types/direct-access-agents.GetBenchmarkStatusResults.html +11 -0
- package/website/types/direct-access-agents.GetDirectAccessAgentBenchmarkHttpError.html +4 -0
- package/website/types/{direct-access-agents.GetDirectAccessAgentConnectorCustomDataTypeMappingsHttpResponse.html → direct-access-agents.GetDirectAccessAgentBenchmarkHttpResponse.html} +2 -2
- package/website/types/direct-access-agents.LinkResponseObject.html +3 -0
- package/website/types/direct-access-agents.RunBenchmarkResponse.html +2 -0
- package/website/types/glossaries.Term.html +6 -3
- package/website/types/glossaries.TermCreateLinksTo.html +14 -1
- package/website/types/glossaries.TermRelatesTo.html +2 -2
- package/website/types/knowledgebases.Chunk.html +11 -0
- package/website/types/knowledgebases.CreateKnowledgeBase.html +5 -3
- package/website/types/knowledgebases.ErrorResponseCodeCopy.html +14 -0
- package/website/types/knowledgebases.ErrorResponseCopy.html +3 -0
- package/website/types/knowledgebases.KbChunkMeta.html +12 -0
- package/website/types/knowledgebases.KnowledgeBaseLight.html +5 -3
- package/website/types/knowledgebases.KnowledgebasesAPI.html +12 -7
- package/website/types/knowledgebases.SearchKnowledgebaseHttpError.html +4 -0
- package/website/types/knowledgebases.SearchKnowledgebaseHttpResponse.html +4 -0
- package/website/types/knowledgebases.SearchRequest.html +7 -0
- package/website/types/knowledgebases.SearchResponse.html +3 -0
- package/website/types/ml.MlAPI.html +1 -1
- package/website/types/ml.PreprocessedInsightColumn.html +2 -2
- package/website/types/ml.ProfileInsights.html +12 -2
- package/website/types/qix.NativeGenericObjectFunctions.html +1 -1
- 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/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/transports.GetBasicAuthConfig.html +4 -2
- package/website/types/transports.TransportsAPI.html +3 -3
- package/website/types/users.CountUsersWithoutQueryHttpError.html +4 -0
- package/website/types/users.CountUsersWithoutQueryHttpResponse.html +4 -0
- package/website/types/users.User.html +5 -11
- package/website/types/users.UserPostSchema.html +3 -5
- package/website/types/users.UsersAPI.html +13 -10
- package/website/types/webhooks.Delivery.html +14 -12
- package/website/types/webhooks.Error.html +3 -3
- package/website/types/webhooks.EventType.html +4 -4
- package/website/types/webhooks.Link.html +1 -1
- package/website/types/webhooks.WebhookBase.html +18 -16
- package/website/types/webhooks.WebhookPatch.html +3 -3
- package/website/types/webhooks.WebhookPost.html +1 -1
- package/website/types/webhooks.WebhookResponse.html +1 -1
- package/website/types/webhooks.WebhookResponseBase.html +21 -19
- package/website/variables/index.automationConnectors.html +1 -0
- package/website/variables/index.banners.html +1 -0
- package/website/variables/qix.QIX_SCHEMA_VERSION.html +1 -1
- package/website/functions/direct-access-agents.putDirectAccessAgentConnectorCustomDataTypeMappings.html +0 -6
- package/website/functions/direct-access-agents.putDirectAccessAgentConnectorFilesAllowedPaths.html +0 -6
- package/website/types/direct-access-agents.FileConnectorAllowedPath.html +0 -5
- package/website/types/direct-access-agents.FileConnectorAllowedPathsResponse.html +0 -3
- package/website/types/direct-access-agents.GetDirectAccessAgentConnectorCustomDataTypeMappingsHttpError.html +0 -4
- package/website/types/direct-access-agents.GetDirectAccessAgentConnectorFilesAllowedPathsHttpError.html +0 -4
- package/website/types/direct-access-agents.GetDirectAccessAgentConnectorFilesAllowedPathsHttpResponse.html +0 -4
- package/website/types/direct-access-agents.OdbcCustomDataType.html +0 -11
- package/website/types/direct-access-agents.OdbcCustomDataTypeResponse.html +0 -3
- package/website/types/direct-access-agents.PutDirectAccessAgentConnectorCustomDataTypeMappingsHttpError.html +0 -4
- package/website/types/direct-access-agents.PutDirectAccessAgentConnectorCustomDataTypeMappingsHttpResponse.html +0 -4
- package/website/types/direct-access-agents.PutDirectAccessAgentConnectorFilesAllowedPathsHttpError.html +0 -4
- package/website/types/direct-access-agents.PutDirectAccessAgentConnectorFilesAllowedPathsHttpResponse.html +0 -4
- package/website/types/direct-access-agents.UpdateFileConnectorAllowedPathsRequest.html +0 -2
- package/website/types/direct-access-agents.UpdateOdbcCustomTypeMappingsRequest.html +0 -2
- /package/chunks/{auth-types-BuIzsuoh.js → auth-types-BEj8JjOA.js} +0 -0
- /package/chunks/{global-types-BGMD2sDY.js → global-types-DW_kb7P7.js} +0 -0
- /package/chunks/{utils-DI6bFnHB.js → utils-UaAiVTcc.js} +0 -0
- /package/chunks/{websocket-errors-BX-whwFJ.js → websocket-errors-CRTDTtBL.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { y as ApiCallOptions } from "./auth-types-
|
|
1
|
+
import { y as ApiCallOptions } from "./auth-types-CHOUViJI.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. */
|
|
@@ -227,6 +225,18 @@ type AssistantsResult = {
|
|
|
227
225
|
links?: PageLinks;
|
|
228
226
|
meta?: ResultMeta;
|
|
229
227
|
};
|
|
228
|
+
type Chunk = {
|
|
229
|
+
/** Metadata about the chunk */
|
|
230
|
+
chunkMeta: KbChunkMeta;
|
|
231
|
+
/** search method for the chunk, e.g. `semantic search`, `keyword search` or `semantic and keyword search` */
|
|
232
|
+
searchSource?: string;
|
|
233
|
+
/** Similarity score from embedding match */
|
|
234
|
+
semanticScore?: number;
|
|
235
|
+
/** Text content of the chunk */
|
|
236
|
+
text: string;
|
|
237
|
+
/** Score from keyword search */
|
|
238
|
+
tfidfScore?: number;
|
|
239
|
+
};
|
|
230
240
|
type CreateAssistant = {
|
|
231
241
|
/** freeform JSON to allow custom customization options. */
|
|
232
242
|
customProperties: unknown;
|
|
@@ -236,8 +246,6 @@ type CreateAssistant = {
|
|
|
236
246
|
description: string;
|
|
237
247
|
/** List of knowledgebases the assistant is using. */
|
|
238
248
|
knowledgeBases: string[];
|
|
239
|
-
/** Whether the assistant uses legacy (v1) functionality. Immutable once created. This flag must be specified if legacy assistant behavior is explicitly required. */
|
|
240
|
-
legacy?: boolean;
|
|
241
249
|
/** The name of the assistant. */
|
|
242
250
|
name: string;
|
|
243
251
|
/** List of starter IDs in the order they will be sorted. */
|
|
@@ -265,8 +273,6 @@ type CreateAssistantWithAvatar = {
|
|
|
265
273
|
description: string;
|
|
266
274
|
/** List of knowledgebases the assistant is using. */
|
|
267
275
|
knowledgeBases: string[];
|
|
268
|
-
/** Whether the assistant uses legacy (v1) functionality. Immutable once created. This flag must be specified if legacy assistant behavior is explicitly required. */
|
|
269
|
-
legacy?: boolean;
|
|
270
276
|
/** The name of the assistant. */
|
|
271
277
|
name: string;
|
|
272
278
|
/** Unique identifier of the space to contain the assistant. */
|
|
@@ -330,6 +336,11 @@ type ErrorResponse = {
|
|
|
330
336
|
traceId?: string;
|
|
331
337
|
};
|
|
332
338
|
type ErrorResponseCode = {
|
|
339
|
+
code?: string;
|
|
340
|
+
detail?: string;
|
|
341
|
+
title?: string;
|
|
342
|
+
};
|
|
343
|
+
type ErrorResponseCodeCopy = {
|
|
333
344
|
/** Custom error codes
|
|
334
345
|
* * AE-1 - Internal processing error
|
|
335
346
|
* * AE-2 - Incorrect request
|
|
@@ -342,11 +353,6 @@ type ErrorResponseCode = {
|
|
|
342
353
|
detail?: string;
|
|
343
354
|
title?: string;
|
|
344
355
|
};
|
|
345
|
-
type ErrorResponseCodeCopy = {
|
|
346
|
-
code?: string;
|
|
347
|
-
detail?: string;
|
|
348
|
-
title?: string;
|
|
349
|
-
};
|
|
350
356
|
type ErrorResponseCopy = {
|
|
351
357
|
errors?: ErrorResponseCodeCopy[];
|
|
352
358
|
traceId?: string;
|
|
@@ -399,6 +405,21 @@ type InteractionsResult = {
|
|
|
399
405
|
links?: PageLinks;
|
|
400
406
|
meta?: ResultMeta;
|
|
401
407
|
};
|
|
408
|
+
/**
|
|
409
|
+
* Metadata about the chunk
|
|
410
|
+
*/
|
|
411
|
+
type KbChunkMeta = {
|
|
412
|
+
/** chunkId */
|
|
413
|
+
chunkId: string;
|
|
414
|
+
/** datasourceId of chunk */
|
|
415
|
+
datasourceId: string;
|
|
416
|
+
/** documentId of chunk */
|
|
417
|
+
documentId: string;
|
|
418
|
+
/** knowledgeBaseId of chunk */
|
|
419
|
+
knowledgeBaseId: string;
|
|
420
|
+
/** source of chunk */
|
|
421
|
+
source: string;
|
|
422
|
+
};
|
|
402
423
|
type PageLink = {
|
|
403
424
|
href?: string;
|
|
404
425
|
};
|
|
@@ -449,6 +470,18 @@ type RejectionReason = 1 | 2 | 3;
|
|
|
449
470
|
type ResultMeta = {
|
|
450
471
|
countTotal?: number;
|
|
451
472
|
};
|
|
473
|
+
type SearchRequest = {
|
|
474
|
+
/** Query text or question to search. */
|
|
475
|
+
prompt: string;
|
|
476
|
+
/** Search mode to use. Allowed values: `SIMPLE` and `FULL`. Default: `SIMPLE`. */
|
|
477
|
+
searchMode?: "SIMPLE" | "FULL";
|
|
478
|
+
/** Number of chunks to return in results. */
|
|
479
|
+
topN?: number;
|
|
480
|
+
};
|
|
481
|
+
type SearchResponse = {
|
|
482
|
+
/** Retrieved document chunks */
|
|
483
|
+
chunks: Chunk[];
|
|
484
|
+
};
|
|
452
485
|
type Source = {
|
|
453
486
|
/** List of Chunks used for "AI" generated messages */
|
|
454
487
|
chunks?: unknown[];
|
|
@@ -513,7 +546,7 @@ type GetAssistantsHttpResponse = {
|
|
|
513
546
|
next?: (options?: ApiCallOptions) => Promise<GetAssistantsHttpResponse>;
|
|
514
547
|
};
|
|
515
548
|
type GetAssistantsHttpError = {
|
|
516
|
-
data:
|
|
549
|
+
data: ErrorResponse;
|
|
517
550
|
headers: Headers;
|
|
518
551
|
status: 400 | 403;
|
|
519
552
|
};
|
|
@@ -530,10 +563,28 @@ type CreateAssistantHttpResponse = {
|
|
|
530
563
|
status: 201;
|
|
531
564
|
};
|
|
532
565
|
type CreateAssistantHttpError = {
|
|
533
|
-
data:
|
|
566
|
+
data: ErrorResponse;
|
|
534
567
|
headers: Headers;
|
|
535
568
|
status: 400 | 403;
|
|
536
569
|
};
|
|
570
|
+
/**
|
|
571
|
+
* Perform search with either `SIMPLE` or `FULL` mode. SIMPLE does semantic search while FULL does semantic search, reranking and hybrid search. Use topN to control number of chunks in response, max limit is 50. Default to 5.
|
|
572
|
+
*
|
|
573
|
+
* @param assistantId The ID for the Assistant of interest
|
|
574
|
+
* @param body an object with the body content
|
|
575
|
+
* @throws SearchAssistantHttpError
|
|
576
|
+
*/
|
|
577
|
+
declare function searchAssistant(assistantId: string, body: SearchRequest, options?: ApiCallOptions): Promise<SearchAssistantHttpResponse>;
|
|
578
|
+
type SearchAssistantHttpResponse = {
|
|
579
|
+
data: SearchResponse;
|
|
580
|
+
headers: Headers;
|
|
581
|
+
status: 200;
|
|
582
|
+
};
|
|
583
|
+
type SearchAssistantHttpError = {
|
|
584
|
+
data: ErrorResponseCopy;
|
|
585
|
+
headers: Headers;
|
|
586
|
+
status: 400 | 403 | 404 | 405 | 500;
|
|
587
|
+
};
|
|
537
588
|
/**
|
|
538
589
|
* Retrieves feedback summary for the assistant.
|
|
539
590
|
*
|
|
@@ -547,7 +598,7 @@ type GetAssistantFeedbackHttpResponse = {
|
|
|
547
598
|
status: 200;
|
|
548
599
|
};
|
|
549
600
|
type GetAssistantFeedbackHttpError = {
|
|
550
|
-
data:
|
|
601
|
+
data: ErrorResponse;
|
|
551
602
|
headers: Headers;
|
|
552
603
|
status: 400 | 403 | 404;
|
|
553
604
|
};
|
|
@@ -565,7 +616,7 @@ type GetAssistantSourcesHttpResponse = {
|
|
|
565
616
|
status: 202;
|
|
566
617
|
};
|
|
567
618
|
type GetAssistantSourcesHttpError = {
|
|
568
|
-
data:
|
|
619
|
+
data: ErrorResponse;
|
|
569
620
|
headers: Headers;
|
|
570
621
|
status: 400 | 403 | 404;
|
|
571
622
|
};
|
|
@@ -594,7 +645,7 @@ type GetAssistantStartersHttpResponse = {
|
|
|
594
645
|
next?: (options?: ApiCallOptions) => Promise<GetAssistantStartersHttpResponse>;
|
|
595
646
|
};
|
|
596
647
|
type GetAssistantStartersHttpError = {
|
|
597
|
-
data:
|
|
648
|
+
data: ErrorResponse;
|
|
598
649
|
headers: Headers;
|
|
599
650
|
status: 400 | 403 | 404;
|
|
600
651
|
};
|
|
@@ -612,7 +663,7 @@ type CreateAssistantStarterHttpResponse = {
|
|
|
612
663
|
status: 201;
|
|
613
664
|
};
|
|
614
665
|
type CreateAssistantStarterHttpError = {
|
|
615
|
-
data:
|
|
666
|
+
data: ErrorResponse;
|
|
616
667
|
headers: Headers;
|
|
617
668
|
status: 400 | 403 | 404;
|
|
618
669
|
};
|
|
@@ -630,7 +681,7 @@ type DeleteAssistantStarterHttpResponse = {
|
|
|
630
681
|
status: 204;
|
|
631
682
|
};
|
|
632
683
|
type DeleteAssistantStarterHttpError = {
|
|
633
|
-
data:
|
|
684
|
+
data: ErrorResponse;
|
|
634
685
|
headers: Headers;
|
|
635
686
|
status: 400 | 403 | 404;
|
|
636
687
|
};
|
|
@@ -648,7 +699,7 @@ type GetAssistantStarterHttpResponse = {
|
|
|
648
699
|
status: 200;
|
|
649
700
|
};
|
|
650
701
|
type GetAssistantStarterHttpError = {
|
|
651
|
-
data:
|
|
702
|
+
data: ErrorResponse;
|
|
652
703
|
headers: Headers;
|
|
653
704
|
status: 400 | 403 | 404;
|
|
654
705
|
};
|
|
@@ -667,7 +718,7 @@ type UpdateAssistantStarterHttpResponse = {
|
|
|
667
718
|
status: 200;
|
|
668
719
|
};
|
|
669
720
|
type UpdateAssistantStarterHttpError = {
|
|
670
|
-
data:
|
|
721
|
+
data: ErrorResponse;
|
|
671
722
|
headers: Headers;
|
|
672
723
|
status: 400 | 403 | 404;
|
|
673
724
|
};
|
|
@@ -686,7 +737,7 @@ type DeleteAssistantStarterFollowupHttpResponse = {
|
|
|
686
737
|
status: 204;
|
|
687
738
|
};
|
|
688
739
|
type DeleteAssistantStarterFollowupHttpError = {
|
|
689
|
-
data:
|
|
740
|
+
data: ErrorResponse;
|
|
690
741
|
headers: Headers;
|
|
691
742
|
status: 400 | 403 | 404;
|
|
692
743
|
};
|
|
@@ -706,7 +757,7 @@ type UpdateAssistantStarterFollowupHttpResponse = {
|
|
|
706
757
|
status: 200;
|
|
707
758
|
};
|
|
708
759
|
type UpdateAssistantStarterFollowupHttpError = {
|
|
709
|
-
data:
|
|
760
|
+
data: ErrorResponse;
|
|
710
761
|
headers: Headers;
|
|
711
762
|
status: 400 | 403 | 404;
|
|
712
763
|
};
|
|
@@ -737,7 +788,7 @@ type GetAssistantThreadsHttpResponse = {
|
|
|
737
788
|
next?: (options?: ApiCallOptions) => Promise<GetAssistantThreadsHttpResponse>;
|
|
738
789
|
};
|
|
739
790
|
type GetAssistantThreadsHttpError = {
|
|
740
|
-
data:
|
|
791
|
+
data: ErrorResponse;
|
|
741
792
|
headers: Headers;
|
|
742
793
|
status: 400 | 403 | 404;
|
|
743
794
|
};
|
|
@@ -755,15 +806,15 @@ type CreateAssistantThreadHttpResponse = {
|
|
|
755
806
|
status: 201;
|
|
756
807
|
};
|
|
757
808
|
type CreateAssistantThreadHttpError = {
|
|
758
|
-
data:
|
|
809
|
+
data: ErrorResponse;
|
|
759
810
|
headers: Headers;
|
|
760
811
|
status: 400 | 403 | 404;
|
|
761
812
|
};
|
|
762
813
|
/**
|
|
763
814
|
* Execute prompt in synchronous non-streaming mode.
|
|
764
815
|
*
|
|
765
|
-
* @param assistantId The
|
|
766
|
-
* @param threadId The
|
|
816
|
+
* @param assistantId The ID of the Assistant containing requested Thread
|
|
817
|
+
* @param threadId The ID of the Thread to retrieve
|
|
767
818
|
* @param body an object with the body content
|
|
768
819
|
* @throws InvokeAssistantThreadHttpError
|
|
769
820
|
*/
|
|
@@ -774,15 +825,15 @@ type InvokeAssistantThreadHttpResponse = {
|
|
|
774
825
|
status: 200;
|
|
775
826
|
};
|
|
776
827
|
type InvokeAssistantThreadHttpError = {
|
|
777
|
-
data:
|
|
828
|
+
data: ErrorResponseCopy;
|
|
778
829
|
headers: Headers;
|
|
779
830
|
status: 400 | 403 | 404 | 500;
|
|
780
831
|
};
|
|
781
832
|
/**
|
|
782
833
|
* Execute prompt in asynchronous streaming mode.
|
|
783
834
|
*
|
|
784
|
-
* @param assistantId The
|
|
785
|
-
* @param threadId The
|
|
835
|
+
* @param assistantId The ID of the Assistant containing requested Thread
|
|
836
|
+
* @param threadId The ID of the Thread to retrieve
|
|
786
837
|
* @param body an object with the body content
|
|
787
838
|
* @throws StreamAssistantThreadHttpError
|
|
788
839
|
*/
|
|
@@ -793,7 +844,7 @@ type StreamAssistantThreadHttpResponse = {
|
|
|
793
844
|
status: 200;
|
|
794
845
|
};
|
|
795
846
|
type StreamAssistantThreadHttpError = {
|
|
796
|
-
data:
|
|
847
|
+
data: ErrorResponseCopy;
|
|
797
848
|
headers: Headers;
|
|
798
849
|
status: 400 | 403 | 404 | 405 | 500;
|
|
799
850
|
};
|
|
@@ -823,7 +874,7 @@ type GetAssistantThreadInteractionsHttpResponse = {
|
|
|
823
874
|
next?: (options?: ApiCallOptions) => Promise<GetAssistantThreadInteractionsHttpResponse>;
|
|
824
875
|
};
|
|
825
876
|
type GetAssistantThreadInteractionsHttpError = {
|
|
826
|
-
data:
|
|
877
|
+
data: ErrorResponse;
|
|
827
878
|
headers: Headers;
|
|
828
879
|
status: 400 | 403 | 404;
|
|
829
880
|
};
|
|
@@ -842,7 +893,7 @@ type CreateAssistantThreadInteractionHttpResponse = {
|
|
|
842
893
|
status: 201;
|
|
843
894
|
};
|
|
844
895
|
type CreateAssistantThreadInteractionHttpError = {
|
|
845
|
-
data:
|
|
896
|
+
data: ErrorResponse;
|
|
846
897
|
headers: Headers;
|
|
847
898
|
status: 400 | 403 | 404;
|
|
848
899
|
};
|
|
@@ -861,7 +912,7 @@ type DeleteAssistantThreadInteractionHttpResponse = {
|
|
|
861
912
|
status: 204;
|
|
862
913
|
};
|
|
863
914
|
type DeleteAssistantThreadInteractionHttpError = {
|
|
864
|
-
data:
|
|
915
|
+
data: ErrorResponse;
|
|
865
916
|
headers: Headers;
|
|
866
917
|
status: 400 | 403 | 404;
|
|
867
918
|
};
|
|
@@ -880,7 +931,7 @@ type GetAssistantThreadInteractionHttpResponse = {
|
|
|
880
931
|
status: 200;
|
|
881
932
|
};
|
|
882
933
|
type GetAssistantThreadInteractionHttpError = {
|
|
883
|
-
data:
|
|
934
|
+
data: ErrorResponse;
|
|
884
935
|
headers: Headers;
|
|
885
936
|
status: 400 | 403 | 404;
|
|
886
937
|
};
|
|
@@ -900,7 +951,7 @@ type CreateAssistantThreadInteractionFeedbackHttpResponse = {
|
|
|
900
951
|
status: 201;
|
|
901
952
|
};
|
|
902
953
|
type CreateAssistantThreadInteractionFeedbackHttpError = {
|
|
903
|
-
data:
|
|
954
|
+
data: ErrorResponse;
|
|
904
955
|
headers: Headers;
|
|
905
956
|
status: 400 | 403 | 404;
|
|
906
957
|
};
|
|
@@ -921,7 +972,7 @@ type PatchAssistantThreadInteractionFeedbackHttpResponse = {
|
|
|
921
972
|
status: 204;
|
|
922
973
|
};
|
|
923
974
|
type PatchAssistantThreadInteractionFeedbackHttpError = {
|
|
924
|
-
data:
|
|
975
|
+
data: ErrorResponse;
|
|
925
976
|
headers: Headers;
|
|
926
977
|
status: 400 | 403 | 404;
|
|
927
978
|
};
|
|
@@ -941,7 +992,7 @@ type CreateAssistantThreadInteractionReviewHttpResponse = {
|
|
|
941
992
|
status: 201;
|
|
942
993
|
};
|
|
943
994
|
type CreateAssistantThreadInteractionReviewHttpError = {
|
|
944
|
-
data:
|
|
995
|
+
data: ErrorResponse;
|
|
945
996
|
headers: Headers;
|
|
946
997
|
status: 400 | 403 | 404;
|
|
947
998
|
};
|
|
@@ -959,7 +1010,7 @@ type DeleteAssistantThreadHttpResponse = {
|
|
|
959
1010
|
status: 204;
|
|
960
1011
|
};
|
|
961
1012
|
type DeleteAssistantThreadHttpError = {
|
|
962
|
-
data:
|
|
1013
|
+
data: ErrorResponse;
|
|
963
1014
|
headers: Headers;
|
|
964
1015
|
status: 400 | 403 | 404;
|
|
965
1016
|
};
|
|
@@ -977,7 +1028,7 @@ type GetAssistantThreadHttpResponse = {
|
|
|
977
1028
|
status: 200;
|
|
978
1029
|
};
|
|
979
1030
|
type GetAssistantThreadHttpError = {
|
|
980
|
-
data:
|
|
1031
|
+
data: ErrorResponse;
|
|
981
1032
|
headers: Headers;
|
|
982
1033
|
status: 400 | 403 | 404;
|
|
983
1034
|
};
|
|
@@ -996,7 +1047,7 @@ type PatchAssistantThreadHttpResponse = {
|
|
|
996
1047
|
status: 204;
|
|
997
1048
|
};
|
|
998
1049
|
type PatchAssistantThreadHttpError = {
|
|
999
|
-
data:
|
|
1050
|
+
data: ErrorResponse;
|
|
1000
1051
|
headers: Headers;
|
|
1001
1052
|
status: 400 | 401 | 403 | 404 | 429;
|
|
1002
1053
|
};
|
|
@@ -1013,7 +1064,7 @@ type DeleteAssistantHttpResponse = {
|
|
|
1013
1064
|
status: 204;
|
|
1014
1065
|
};
|
|
1015
1066
|
type DeleteAssistantHttpError = {
|
|
1016
|
-
data:
|
|
1067
|
+
data: ErrorResponse;
|
|
1017
1068
|
headers: Headers;
|
|
1018
1069
|
status: 400 | 403 | 404;
|
|
1019
1070
|
};
|
|
@@ -1030,7 +1081,7 @@ type GetAssistantHttpResponse = {
|
|
|
1030
1081
|
status: 200;
|
|
1031
1082
|
};
|
|
1032
1083
|
type GetAssistantHttpError = {
|
|
1033
|
-
data:
|
|
1084
|
+
data: ErrorResponse;
|
|
1034
1085
|
headers: Headers;
|
|
1035
1086
|
status: 400 | 403 | 404;
|
|
1036
1087
|
};
|
|
@@ -1048,7 +1099,7 @@ type PatchAssistantHttpResponse = {
|
|
|
1048
1099
|
status: 204;
|
|
1049
1100
|
};
|
|
1050
1101
|
type PatchAssistantHttpError = {
|
|
1051
|
-
data:
|
|
1102
|
+
data: ErrorResponse;
|
|
1052
1103
|
headers: Headers;
|
|
1053
1104
|
status: 400 | 401 | 403 | 404 | 429;
|
|
1054
1105
|
};
|
|
@@ -1071,6 +1122,14 @@ type AssistantsAPI = {
|
|
|
1071
1122
|
* @throws CreateAssistantHttpError
|
|
1072
1123
|
*/
|
|
1073
1124
|
createAssistant: typeof createAssistant;
|
|
1125
|
+
/**
|
|
1126
|
+
* Perform search with either `SIMPLE` or `FULL` mode. SIMPLE does semantic search while FULL does semantic search, reranking and hybrid search. Use topN to control number of chunks in response, max limit is 50. Default to 5.
|
|
1127
|
+
*
|
|
1128
|
+
* @param assistantId The ID for the Assistant of interest
|
|
1129
|
+
* @param body an object with the body content
|
|
1130
|
+
* @throws SearchAssistantHttpError
|
|
1131
|
+
*/
|
|
1132
|
+
searchAssistant: typeof searchAssistant;
|
|
1074
1133
|
/**
|
|
1075
1134
|
* Retrieves feedback summary for the assistant.
|
|
1076
1135
|
*
|
|
@@ -1165,8 +1224,8 @@ type AssistantsAPI = {
|
|
|
1165
1224
|
/**
|
|
1166
1225
|
* Execute prompt in synchronous non-streaming mode.
|
|
1167
1226
|
*
|
|
1168
|
-
* @param assistantId The
|
|
1169
|
-
* @param threadId The
|
|
1227
|
+
* @param assistantId The ID of the Assistant containing requested Thread
|
|
1228
|
+
* @param threadId The ID of the Thread to retrieve
|
|
1170
1229
|
* @param body an object with the body content
|
|
1171
1230
|
* @throws InvokeAssistantThreadHttpError
|
|
1172
1231
|
*/
|
|
@@ -1174,8 +1233,8 @@ type AssistantsAPI = {
|
|
|
1174
1233
|
/**
|
|
1175
1234
|
* Execute prompt in asynchronous streaming mode.
|
|
1176
1235
|
*
|
|
1177
|
-
* @param assistantId The
|
|
1178
|
-
* @param threadId The
|
|
1236
|
+
* @param assistantId The ID of the Assistant containing requested Thread
|
|
1237
|
+
* @param threadId The ID of the Thread to retrieve
|
|
1179
1238
|
* @param body an object with the body content
|
|
1180
1239
|
* @throws StreamAssistantThreadHttpError
|
|
1181
1240
|
*/
|
|
@@ -1304,4 +1363,4 @@ type AssistantsAPI = {
|
|
|
1304
1363
|
*/
|
|
1305
1364
|
declare const assistantsExport: AssistantsAPI;
|
|
1306
1365
|
//#endregion
|
|
1307
|
-
export {
|
|
1366
|
+
export { GetAssistantThreadHttpError as $, createAssistant as $t, DeleteAssistantStarterHttpResponse as A, RecommendedAnswer as At, FeedbackPatchArray as B, StartersResult as Bt, CreateStarter as C, patchAssistantThreadInteractionFeedback as Cn, PatchAssistantThreadHttpError as Ct, DeleteAssistantStarterFollowupHttpError as D, updateAssistantStarterFollowup as Dn, PromptInput as Dt, DeleteAssistantHttpResponse as E, updateAssistantStarter as En, PatchAssistantThreadInteractionFeedbackHttpResponse as Et, ErrorResponse as F, SearchRequest as Ft, GetAssistantHttpError as G, ThreadWithMessages as Gt, Followup as H, StreamAssistantThreadHttpResponse as Ht, ErrorResponseCode as I, SearchResponse as It, GetAssistantSourcesHttpResponse as J, UpdateAssistantStarterFollowupHttpResponse as Jt, GetAssistantHttpResponse as K, ThreadsResult as Kt, ErrorResponseCodeCopy as L, Source as Lt, DeleteAssistantThreadHttpResponse as M, ResultMeta as Mt, DeleteAssistantThreadInteractionHttpError as N, SearchAssistantHttpError as Nt, DeleteAssistantStarterFollowupHttpResponse as O, PromptOutput as Ot, DeleteAssistantThreadInteractionHttpResponse as P, SearchAssistantHttpResponse as Pt, GetAssistantStartersHttpResponse as Q, clearCache as Qt, ErrorResponseCopy as R, SourcesPlaintext as Rt, CreateReview as S, patchAssistantThread as Sn, PatchAssistantHttpResponse as St, DeleteAssistantHttpError as T, streamAssistantThread as Tn, PatchAssistantThreadInteractionFeedbackHttpError as Tt, GetAssistantFeedbackHttpError as U, Thread as Ut, FeedbackSummary as V, StreamAssistantThreadHttpError as Vt, GetAssistantFeedbackHttpResponse as W, ThreadPatchArray as Wt, GetAssistantStarterHttpResponse as X, UpdateAssistantStarterHttpResponse as Xt, GetAssistantStarterHttpError as Y, UpdateAssistantStarterHttpError as Yt, GetAssistantStartersHttpError as Z, assistantsExport as Zt, CreateAssistantThreadInteractionReviewHttpError as _, getAssistantThreadInteractions as _n, MessageSource as _t, ChunksRefs as a, deleteAssistant as an, GetAssistantThreadsHttpError as at, CreateFeedback as b, invokeAssistantThread as bn, PageLinks as bt, CreateAssistantHttpResponse as c, deleteAssistantThread as cn, GetAssistantsHttpResponse as ct, CreateAssistantThreadHttpError as d, getAssistantFeedback as dn, InvokeAssistantThreadHttpError as dt, createAssistantStarter as en, GetAssistantThreadHttpResponse as et, CreateAssistantThreadHttpResponse as f, getAssistantSources as fn, InvokeAssistantThreadHttpResponse as ft, CreateAssistantThreadInteractionHttpResponse as g, getAssistantThreadInteraction as gn, Message as gt, CreateAssistantThreadInteractionHttpError as h, getAssistantThread as hn, KbChunkMeta as ht, Chunk as i, createAssistantThreadInteractionReview as in, GetAssistantThreadInteractionsHttpResponse as it, DeleteAssistantThreadHttpError as j, RejectionReason as jt, DeleteAssistantStarterHttpError as k, PromptOutputInvoke as kt, CreateAssistantStarterHttpError as l, deleteAssistantThreadInteraction as ln, Interaction as lt, CreateAssistantThreadInteractionFeedbackHttpResponse as m, getAssistantStarters as mn, JSONPatchArray as mt, AssistantsAPI as n, createAssistantThreadInteraction as nn, GetAssistantThreadInteractionHttpResponse as nt, CreateAssistant as o, deleteAssistantStarter as on, GetAssistantThreadsHttpResponse as ot, CreateAssistantThreadInteractionFeedbackHttpError as p, getAssistantStarter as pn, JSONPatch as pt, GetAssistantSourcesHttpError as q, UpdateAssistantStarterFollowupHttpError as qt, AssistantsResult as r, createAssistantThreadInteractionFeedback as rn, GetAssistantThreadInteractionsHttpError as rt, CreateAssistantHttpError as s, deleteAssistantStarterFollowup as sn, GetAssistantsHttpError as st, Assistant as t, createAssistantThread as tn, GetAssistantThreadInteractionHttpError as tt, CreateAssistantStarterHttpResponse as u, getAssistant as un, InteractionsResult as ut, CreateAssistantThreadInteractionReviewHttpResponse as v, getAssistantThreads as vn, MessageSourceChunk as vt, CreateThread as w, searchAssistant as wn, PatchAssistantThreadHttpResponse as wt, CreateInteraction as x, patchAssistant as xn, PatchAssistantHttpError as xt, CreateAssistantWithAvatar as y, getAssistants as yn, PageLink as yt, Feedback as z, Starter as zt };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as HostConfig, m as WebResourceAuthParams, n as AuthType, t as AuthModule } from "./auth-types-
|
|
1
|
+
import { d as HostConfig, m as WebResourceAuthParams, n as AuthType, t as AuthModule } from "./auth-types-CHOUViJI.js";
|
|
2
2
|
|
|
3
3
|
//#region src/public/auth.d.ts
|
|
4
4
|
|
|
@@ -15,7 +15,7 @@ declare function registerAuthModule<A extends AuthType>(name: A, authModule: Aut
|
|
|
15
15
|
*/
|
|
16
16
|
declare function logout(): void;
|
|
17
17
|
/**
|
|
18
|
-
* Sets the default host config that will be used for all api calls that do not
|
|
18
|
+
* Sets the default host config that will be used for all api calls that do not include a HostConfig
|
|
19
19
|
* @param hostConfig the default HostConfig to use
|
|
20
20
|
*/
|
|
21
21
|
declare function setDefaultHostConfig(hostConfig: HostConfig | undefined): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as getAuthRuntimeModule } from "./public-runtime-modules-
|
|
1
|
+
import { t as getAuthRuntimeModule } from "./public-runtime-modules-DiFgGaqr.js";
|
|
2
2
|
|
|
3
3
|
//#region src/public/auth.ts
|
|
4
4
|
/**
|
|
@@ -18,7 +18,7 @@ function logout() {
|
|
|
18
18
|
getAuthRuntimeModule().then((impl) => impl.logout());
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
|
-
* Sets the default host config that will be used for all api calls that do not
|
|
21
|
+
* Sets the default host config that will be used for all api calls that do not include a HostConfig
|
|
22
22
|
* @param hostConfig the default HostConfig to use
|
|
23
23
|
*/
|
|
24
24
|
function setDefaultHostConfig(hostConfig) {
|