@orq-ai/node 4.13.13 → 4.13.16
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/README.md +46 -37
- package/funcs/modelCatalogGet.d.ts +18 -0
- package/funcs/modelCatalogGet.d.ts.map +1 -0
- package/funcs/modelCatalogGet.js +121 -0
- package/funcs/modelCatalogGet.js.map +1 -0
- package/funcs/modelCatalogList.d.ts +18 -0
- package/funcs/modelCatalogList.d.ts.map +1 -0
- package/funcs/modelCatalogList.js +133 -0
- package/funcs/modelCatalogList.js.map +1 -0
- package/funcs/modelCatalogListOfferings.d.ts +18 -0
- package/funcs/modelCatalogListOfferings.d.ts.map +1 -0
- package/funcs/modelCatalogListOfferings.js +138 -0
- package/funcs/modelCatalogListOfferings.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/getmodelcatalogmodelresponse.d.ts +14 -0
- package/models/components/getmodelcatalogmodelresponse.d.ts.map +1 -0
- package/models/components/getmodelcatalogmodelresponse.js +51 -0
- package/models/components/getmodelcatalogmodelresponse.js.map +1 -0
- package/models/components/index.d.ts +6 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +6 -0
- package/models/components/index.js.map +1 -1
- package/models/components/listmodelcatalogofferingsresponse.d.ts +25 -0
- package/models/components/listmodelcatalogofferingsresponse.d.ts.map +1 -0
- package/models/components/listmodelcatalogofferingsresponse.js +58 -0
- package/models/components/listmodelcatalogofferingsresponse.js.map +1 -0
- package/models/components/listmodelcatalogresponse.d.ts +25 -0
- package/models/components/listmodelcatalogresponse.d.ts.map +1 -0
- package/models/components/listmodelcatalogresponse.js +58 -0
- package/models/components/listmodelcatalogresponse.js.map +1 -0
- package/models/components/model.d.ts +129 -0
- package/models/components/model.d.ts.map +1 -0
- package/models/components/model.js +91 -0
- package/models/components/model.js.map +1 -0
- package/models/components/modelmodalities.d.ts +17 -0
- package/models/components/modelmodalities.d.ts.map +1 -0
- package/models/components/modelmodalities.js +51 -0
- package/models/components/modelmodalities.js.map +1 -0
- package/models/components/modelprovider.d.ts +17 -0
- package/models/components/modelprovider.d.ts.map +1 -0
- package/models/components/modelprovider.js +51 -0
- package/models/components/modelprovider.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/billing.js +1 -1
- package/models/operations/createannotationqueue.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/geteval.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/index.d.ts +3 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +3 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listannotationqueues.js +1 -1
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/modelcatalogget.d.ts +15 -0
- package/models/operations/modelcatalogget.d.ts.map +1 -0
- package/models/operations/modelcatalogget.js +49 -0
- package/models/operations/modelcatalogget.js.map +1 -0
- package/models/operations/modelcataloglist.d.ts +103 -0
- package/models/operations/modelcataloglist.d.ts.map +1 -0
- package/models/operations/modelcataloglist.js +74 -0
- package/models/operations/modelcataloglist.js.map +1 -0
- package/models/operations/modelcataloglistofferings.d.ts +106 -0
- package/models/operations/modelcataloglistofferings.d.ts.map +1 -0
- package/models/operations/modelcataloglistofferings.js +73 -0
- package/models/operations/modelcataloglistofferings.js.map +1 -0
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveannotationqueue.js +1 -1
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjson2.js +28 -28
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody14attributes2.js +28 -28
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody22attributesopenresponsesdetail.js +6 -6
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody23annotations.js +26 -26
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody27attributesopenresponsesoutput3type.js +6 -6
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody314.js +31 -31
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody5attributestype.js +22 -22
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody11attributestoplogprobs.js +14 -14
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody15attributesopenresponsesoutput4type.js +14 -14
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody17attributesopenresponsesoutput44type.js +16 -16
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody18type.js +24 -24
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody1attributestype.js +2 -2
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributestoplogprobs.js +14 -14
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributestoplogprobs.js +14 -14
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody32attributesopenresponsesoutput48type.js +18 -18
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody66.js +2 -2
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody7attributes5.js +16 -16
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody9attributes8.js +18 -18
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1017.js +4 -4
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq7evaluatorconfigtype.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorq15annotator.js +5 -5
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody136.js +25 -25
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody14attributesorq14type.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq7outputschema.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1618.js +3 -3
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq8kind.js +18 -18
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq12evaluatorconfigtype.js +11 -11
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq5kind.js +24 -24
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq14annotator.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq7evaluatorconfigtype.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorqevaluatorconfigtype.js +28 -28
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq13evaluationtype.js +9 -9
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq7status.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq18type.js +2 -2
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2611.js +15 -15
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorqevaluationtype.js +28 -28
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq14annotator.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq7evaluatorconfigtype.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2attributesorq14type.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.js +2 -2
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq16kind.js +4 -4
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorq9evaluatorconfigtype.js +17 -17
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesannotator.js +30 -30
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody34attributesorq12evaluationtype.js +11 -11
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.js +24 -24
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq14evaluationtype.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq4kind.js +26 -26
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody5attributesorq11evaluatorconfigtype.js +13 -13
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq19annotator.js +1 -1
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6value.js +32 -32
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq8evaluatorconfigtype.js +19 -19
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorq18annotator.js +2 -2
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq9kind.js +17 -17
- package/models/operations/retrieveannotationqueueitemevaluationsannotator.js +32 -32
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody20attributesopenresponses6role.js +28 -28
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26content.js +20 -20
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody28attributesopenresponses6role.js +28 -28
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody34attributesrole.js +24 -24
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200status.js +28 -28
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody12attributes1.js +30 -30
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody24attributescontent.js +14 -14
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody332.js +4 -4
- package/models/operations/retrieveannotationqueueitemresponsebody.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10http.js +31 -31
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16settings.js +32 -32
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson17context.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson22call.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson25engine.js +33 -33
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27conversation.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson30nodes.js +33 -33
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33token.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8trace.js +33 -33
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjsonresponse.js +1 -1
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse1.js +8 -8
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody13attributesopenresponsesoutputtype.js +10 -10
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody193.js +10 -10
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody35attributestype.js +10 -10
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/twenty.js +1 -1
- package/models/operations/updateannotationqueue.js +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +7 -7
- package/packages/orq-rc/src/funcs/agentsCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsDelete.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsInvoke.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsList.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsResponsesCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsResponsesGet.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsRetrieve.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsRun.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsStream.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsStreamRun.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsUpdate.ts +1 -1
- package/packages/orq-rc/src/funcs/annotationQueuesCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/annotationQueuesDelete.ts +3 -0
- package/packages/orq-rc/src/funcs/annotationQueuesRetrieveItem.ts +1 -1
- package/packages/orq-rc/src/funcs/annotationQueuesUpdate.ts +3 -0
- package/packages/orq-rc/src/funcs/chunkingParse.ts +5 -4
- package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +4 -7
- package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +3 -0
- package/packages/orq-rc/src/funcs/evalsAll.ts +3 -0
- package/packages/orq-rc/src/funcs/evalsCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/evalsDelete.ts +3 -0
- package/packages/orq-rc/src/funcs/evalsGet.ts +1 -5
- package/packages/orq-rc/src/funcs/evalsInvoke.ts +13 -24
- package/packages/orq-rc/src/funcs/evalsUpdate.ts +3 -0
- package/packages/orq-rc/src/funcs/guardrailRulesCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeCreate.ts +11 -8
- package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +8 -4
- package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +11 -5
- package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +3 -0
- package/packages/orq-rc/src/funcs/knowledgeDeleteChunks.ts +11 -5
- package/packages/orq-rc/src/funcs/knowledgeGetChunksCount.ts +8 -5
- package/packages/orq-rc/src/funcs/knowledgeList.ts +5 -4
- package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +8 -4
- package/packages/orq-rc/src/funcs/knowledgeListChunksPaginated.ts +11 -5
- package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +8 -5
- package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +5 -4
- package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +8 -4
- package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +8 -4
- package/packages/orq-rc/src/funcs/knowledgeRetrieveFileUrl.ts +187 -0
- package/packages/orq-rc/src/funcs/knowledgeRetrieveProcessingStatus.ts +180 -0
- package/packages/orq-rc/src/funcs/knowledgeSearch.ts +8 -5
- package/packages/orq-rc/src/funcs/knowledgeToggleChunk.ts +181 -0
- package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +11 -5
- package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +11 -5
- package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +11 -5
- package/packages/orq-rc/src/funcs/memoryStoresCreate.ts +9 -14
- package/packages/orq-rc/src/funcs/memoryStoresCreateDocument.ts +8 -5
- package/packages/orq-rc/src/funcs/memoryStoresCreateMemory.ts +8 -5
- package/packages/orq-rc/src/funcs/memoryStoresDeleteDocument.ts +4 -4
- package/packages/orq-rc/src/funcs/memoryStoresDeleteMemory.ts +4 -4
- package/packages/orq-rc/src/funcs/memoryStoresList.ts +5 -4
- package/packages/orq-rc/src/funcs/memoryStoresListDocuments.ts +5 -4
- package/packages/orq-rc/src/funcs/memoryStoresListMemories.ts +5 -4
- package/packages/orq-rc/src/funcs/memoryStoresRetrieve.ts +5 -4
- package/packages/orq-rc/src/funcs/memoryStoresRetrieveDocument.ts +5 -4
- package/packages/orq-rc/src/funcs/memoryStoresRetrieveMemory.ts +5 -4
- package/packages/orq-rc/src/funcs/memoryStoresUpdate.ts +8 -5
- package/packages/orq-rc/src/funcs/memoryStoresUpdateDocument.ts +8 -5
- package/packages/orq-rc/src/funcs/memoryStoresUpdateMemory.ts +8 -5
- package/packages/orq-rc/src/funcs/modelCatalogGet.ts +168 -0
- package/packages/orq-rc/src/funcs/modelCatalogList.ts +184 -0
- package/packages/orq-rc/src/funcs/modelCatalogListOfferings.ts +186 -0
- package/packages/orq-rc/src/funcs/promptsCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/promptsDelete.ts +3 -0
- package/packages/orq-rc/src/funcs/promptsUpdate.ts +3 -0
- package/packages/orq-rc/src/funcs/routerAudioTranscriptionsCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/routerAudioTranslationsCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/routerModerationsCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/toolsList.ts +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/agenticragconfig.ts +43 -0
- package/packages/orq-rc/src/models/components/agentresponserequest.ts +14 -10
- package/packages/orq-rc/src/models/components/alertcondition.ts +3 -4
- package/packages/orq-rc/src/models/components/chunk.ts +35 -0
- package/packages/orq-rc/src/models/components/chunkingcleanupoptions.ts +64 -0
- package/packages/orq-rc/src/models/components/chunkingconfiguration.ts +111 -0
- package/packages/orq-rc/src/models/components/chunkmetadata.ts +42 -0
- package/packages/orq-rc/src/models/components/chunkprocessingattempts.ts +42 -0
- package/packages/orq-rc/src/models/components/chunksservicecountrequest.ts +63 -0
- package/packages/orq-rc/src/models/components/chunksservicecountresponse.ts +31 -0
- package/packages/orq-rc/src/models/components/chunksservicedeletemanyrequest.ts +41 -0
- package/packages/orq-rc/src/models/components/chunksservicedeletemanyresponse.ts +39 -0
- package/packages/orq-rc/src/models/components/chunksservicelistpaginatedrequest.ts +71 -0
- package/packages/orq-rc/src/models/components/chunksservicelistpaginatedresponse.ts +58 -0
- package/packages/orq-rc/src/models/components/chunksservicelistresponse.ts +57 -0
- package/packages/orq-rc/src/models/components/chunksservicesetenabledrequest.ts +33 -0
- package/packages/orq-rc/src/models/components/chunksserviceupdaterequest.ts +68 -0
- package/packages/orq-rc/src/models/components/countmetadata.ts +86 -0
- package/packages/orq-rc/src/models/components/createguardrailrulerequest.ts +0 -3
- package/packages/orq-rc/src/models/components/creatememorydocumentrequest.ts +42 -0
- package/packages/orq-rc/src/models/components/creatememoryrequest.ts +39 -0
- package/packages/orq-rc/src/models/components/creatememorystorerequest.ts +59 -0
- package/packages/orq-rc/src/models/components/datasource.ts +108 -0
- package/packages/orq-rc/src/models/components/datasourceattachment.ts +64 -0
- package/packages/orq-rc/src/models/components/datasourcechunkingoptions.ts +53 -0
- package/packages/orq-rc/src/models/components/datasourcesservicecreaterequest.ts +79 -0
- package/packages/orq-rc/src/models/components/datasourcesservicegetprocessingstatusresponse.ts +69 -0
- package/packages/orq-rc/src/models/components/datasourcesservicelistresponse.ts +55 -0
- package/packages/orq-rc/src/models/components/datasourcesserviceupdaterequest.ts +41 -0
- package/packages/orq-rc/src/models/components/domain.ts +12 -1
- package/packages/orq-rc/src/models/components/embeddingsconfig.ts +92 -0
- package/packages/orq-rc/src/models/components/embeddingsmodelparameters.ts +64 -0
- package/packages/orq-rc/src/models/components/evaluationcontext.ts +84 -0
- package/packages/orq-rc/src/models/components/evaluationresult.ts +108 -0
- package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/packages/orq-rc/src/models/components/getmodelcatalogmodelresponse.ts +35 -0
- package/packages/orq-rc/src/models/components/getuploadfileurlresponse.ts +37 -0
- package/packages/orq-rc/src/models/components/guardrailrule.ts +0 -5
- package/packages/orq-rc/src/models/components/index.ts +78 -1
- package/packages/orq-rc/src/models/components/inputtokensdetails.ts +3 -0
- package/packages/orq-rc/src/models/components/internalretrievalconfig.ts +44 -0
- package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +100 -160
- package/packages/orq-rc/src/models/components/invokeevaluatorrequest.ts +133 -0
- package/packages/orq-rc/src/models/components/invokeevaluatorresponse.ts +47 -0
- package/packages/orq-rc/src/models/components/knowledge.ts +558 -0
- package/packages/orq-rc/src/models/components/knowledgebasesservicecreaterequest.ts +439 -0
- package/packages/orq-rc/src/models/components/knowledgebasesservicelistresponse.ts +51 -0
- package/packages/orq-rc/src/models/components/knowledgebasesserviceupdaterequest.ts +649 -0
- package/packages/orq-rc/src/models/components/knowledgechunk.ts +120 -0
- package/packages/orq-rc/src/models/components/knowledgemetadata.ts +48 -0
- package/packages/orq-rc/src/models/components/knowledgesettings.ts +54 -0
- package/packages/orq-rc/src/models/components/knowledgeupdatesettings.ts +55 -0
- package/packages/orq-rc/src/models/components/listmemoriesresponse.ts +54 -0
- package/packages/orq-rc/src/models/components/listmemorydocumentsresponse.ts +57 -0
- package/packages/orq-rc/src/models/components/listmemorystoresresponse.ts +54 -0
- package/packages/orq-rc/src/models/components/listmodelcatalogofferingsresponse.ts +53 -0
- package/packages/orq-rc/src/models/components/listmodelcatalogresponse.ts +53 -0
- package/packages/orq-rc/src/models/components/memory.ts +74 -0
- package/packages/orq-rc/src/models/components/memorydocument.ts +65 -0
- package/packages/orq-rc/src/models/components/memorystore.ts +80 -0
- package/packages/orq-rc/src/models/components/memorystoreembeddingconfig.ts +54 -0
- package/packages/orq-rc/src/models/components/model.ts +203 -0
- package/packages/orq-rc/src/models/components/modelartificialanalysis.ts +95 -0
- package/packages/orq-rc/src/models/components/modelmodalities.ts +39 -0
- package/packages/orq-rc/src/models/components/modelparameter.ts +49 -0
- package/packages/orq-rc/src/models/components/modelprovider.ts +60 -0
- package/packages/orq-rc/src/models/components/parseresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/processingattempt.ts +52 -0
- package/packages/orq-rc/src/models/components/processingerror.ts +33 -0
- package/packages/orq-rc/src/models/components/publicembeddingdata.ts +9 -6
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/rerankconfig.ts +58 -0
- package/packages/orq-rc/src/models/components/rerankmodelparameters.ts +31 -0
- package/packages/orq-rc/src/models/components/searchknowledgematch.ts +77 -0
- package/packages/orq-rc/src/models/components/searchknowledgerequest.ts +1656 -0
- package/packages/orq-rc/src/models/components/searchknowledgeresponse.ts +38 -0
- package/packages/orq-rc/src/models/components/searchknowledgescores.ts +39 -0
- package/packages/orq-rc/src/models/components/searchoptions.ts +49 -0
- package/packages/orq-rc/src/models/components/searchrerankconfig.ts +51 -0
- package/packages/orq-rc/src/models/components/searchretrievalconfig.ts +153 -0
- package/packages/orq-rc/src/models/components/searchtype.ts +17 -0
- package/packages/orq-rc/src/models/components/structuredinput.ts +51 -0
- package/packages/orq-rc/src/models/components/structuredoutput.ts +44 -0
- package/packages/orq-rc/src/models/components/structuredtoolcall.ts +43 -0
- package/packages/orq-rc/src/models/components/updateguardrailrulerequest.ts +0 -3
- package/packages/orq-rc/src/models/components/updatememorydocumentrequest.ts +42 -0
- package/packages/orq-rc/src/models/components/updatememoryrequest.ts +31 -0
- package/packages/orq-rc/src/models/components/updatememorystorerequest.ts +37 -0
- package/packages/orq-rc/src/models/components/updatenotifierrequest.ts +17 -10
- package/packages/orq-rc/src/models/components/uploadpostpolicy.ts +33 -0
- package/packages/orq-rc/src/models/components/upsertchunk.ts +59 -0
- package/packages/orq-rc/src/models/errors/index.ts +1 -1
- package/packages/orq-rc/src/models/errors/knowledgeapierror.ts +59 -0
- package/packages/orq-rc/src/models/operations/createannotationqueue.ts +1 -1
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +171 -353
- package/packages/orq-rc/src/models/operations/createchunk.ts +4 -181
- package/packages/orq-rc/src/models/operations/createcompletion.ts +17 -125
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +35 -41
- package/packages/orq-rc/src/models/operations/createdatasource.ts +7 -486
- package/packages/orq-rc/src/models/operations/creatememory.ts +5 -106
- package/packages/orq-rc/src/models/operations/creatememorydocument.ts +6 -110
- package/packages/orq-rc/src/models/operations/createrouterresponse.ts +6 -6
- package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
- package/packages/orq-rc/src/models/operations/createtranscription.ts +28 -33
- package/packages/orq-rc/src/models/operations/deletechunk.ts +8 -17
- package/packages/orq-rc/src/models/operations/deletechunks.ts +7 -85
- package/packages/orq-rc/src/models/operations/deletedatasource.ts +0 -6
- package/packages/orq-rc/src/models/operations/deleteknowledge.ts +0 -3
- package/packages/orq-rc/src/models/operations/deletememory.ts +0 -6
- package/packages/orq-rc/src/models/operations/deletememorydocument.ts +0 -9
- package/packages/orq-rc/src/models/operations/deletememorystore.ts +0 -3
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +227 -398
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +24 -24
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +45 -160
- package/packages/orq-rc/src/models/operations/getallmemories.ts +1 -109
- package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +1 -107
- package/packages/orq-rc/src/models/operations/getallmemorystores.ts +1 -149
- package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
- package/packages/orq-rc/src/models/operations/getchunkscount.ts +6 -141
- package/packages/orq-rc/src/models/operations/geteval.ts +25 -25
- package/packages/orq-rc/src/models/operations/getonechunk.ts +8 -135
- package/packages/orq-rc/src/models/operations/getonedatasourceprocessingstatus.ts +43 -0
- package/packages/orq-rc/src/models/operations/getonefileuploadurl.ts +54 -0
- package/packages/orq-rc/src/models/operations/getoneknowledge.ts +0 -616
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/index.ts +6 -2
- package/packages/orq-rc/src/models/operations/invokeeval.ts +5 -1298
- package/packages/orq-rc/src/models/operations/listannotationqueueitems.ts +50 -58
- package/packages/orq-rc/src/models/operations/listannotationqueues.ts +1 -1
- package/packages/orq-rc/src/models/operations/listchunks.ts +1 -159
- package/packages/orq-rc/src/models/operations/listchunkspaginated.ts +8 -269
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +0 -242
- package/packages/orq-rc/src/models/operations/listknowledgebases.ts +0 -589
- package/packages/orq-rc/src/models/operations/modelcatalogget.ts +34 -0
- package/packages/orq-rc/src/models/operations/modelcataloglist.ts +163 -0
- package/packages/orq-rc/src/models/operations/modelcataloglistofferings.ts +175 -0
- package/packages/orq-rc/src/models/operations/parse.ts +114 -89
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +24 -30
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2routerocr.ts +7 -11
- package/packages/orq-rc/src/models/operations/retrieveannotationqueue.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +16 -16
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +0 -182
- package/packages/orq-rc/src/models/operations/retrievememory.ts +0 -72
- package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +0 -72
- package/packages/orq-rc/src/models/operations/retrievememorystore.ts +0 -108
- package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/searchknowledge.ts +13 -1728
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateannotationqueue.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatechunk.ts +14 -200
- package/packages/orq-rc/src/models/operations/updatechunkenabled.ts +51 -0
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +5 -5
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +7 -216
- package/packages/orq-rc/src/models/operations/updateknowledge.ts +8 -1223
- package/packages/orq-rc/src/models/operations/updatememory.ts +5 -102
- package/packages/orq-rc/src/models/operations/updatememorydocument.ts +6 -113
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +5 -152
- package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
- package/packages/orq-rc/src/sdk/agents.ts +9 -9
- package/packages/orq-rc/src/sdk/annotationqueues.ts +10 -1
- package/packages/orq-rc/src/sdk/chunking.ts +2 -1
- package/packages/orq-rc/src/sdk/datasets.ts +4 -1
- package/packages/orq-rc/src/sdk/evals.ts +18 -6
- package/packages/orq-rc/src/sdk/feedback.ts +0 -6
- package/packages/orq-rc/src/sdk/guardrailrules.ts +1 -1
- package/packages/orq-rc/src/sdk/knowledge.ts +151 -57
- package/packages/orq-rc/src/sdk/memorystores.ts +57 -56
- package/packages/orq-rc/src/sdk/modelcatalog.ts +64 -0
- package/packages/orq-rc/src/sdk/moderations.ts +3 -0
- package/packages/orq-rc/src/sdk/orqresponses.ts +2 -2
- package/packages/orq-rc/src/sdk/prompts.ts +9 -0
- package/packages/orq-rc/src/sdk/sdk.ts +21 -15
- package/packages/orq-rc/src/sdk/tools.ts +1 -1
- package/packages/orq-rc/src/sdk/transcriptions.ts +3 -0
- package/packages/orq-rc/src/sdk/translations.ts +3 -0
- package/sdk/modelcatalog.d.ts +27 -0
- package/sdk/modelcatalog.d.ts.map +1 -0
- package/sdk/modelcatalog.js +42 -0
- package/sdk/modelcatalog.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/modelCatalogGet.ts +168 -0
- package/src/funcs/modelCatalogList.ts +182 -0
- package/src/funcs/modelCatalogListOfferings.ts +187 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/getmodelcatalogmodelresponse.ts +35 -0
- package/src/models/components/index.ts +6 -0
- package/src/models/components/listmodelcatalogofferingsresponse.ts +53 -0
- package/src/models/components/listmodelcatalogresponse.ts +53 -0
- package/src/models/components/model.ts +206 -0
- package/src/models/components/modelmodalities.ts +39 -0
- package/src/models/components/modelprovider.ts +39 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/billing.ts +1 -1
- package/src/models/operations/createannotationqueue.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/geteval.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/listannotationqueues.ts +1 -1
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/modelcatalogget.ts +34 -0
- package/src/models/operations/modelcataloglist.ts +147 -0
- package/src/models/operations/modelcataloglistofferings.ts +151 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveannotationqueue.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjson2.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody14attributes2.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody22attributesopenresponsesdetail.ts +6 -6
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody23annotations.ts +26 -26
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody27attributesopenresponsesoutput3type.ts +6 -6
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody314.ts +31 -31
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody5attributestype.ts +22 -22
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody11attributestoplogprobs.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody15attributesopenresponsesoutput4type.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody17attributesopenresponsesoutput44type.ts +16 -16
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody18type.ts +24 -24
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody1attributestype.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributestoplogprobs.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributestoplogprobs.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody32attributesopenresponsesoutput48type.ts +18 -18
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody66.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody7attributes5.ts +16 -16
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody9attributes8.ts +18 -18
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1017.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq7evaluatorconfigtype.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorq15annotator.ts +5 -5
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody136.ts +25 -25
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody14attributesorq14type.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq7outputschema.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1618.ts +3 -3
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq8kind.ts +18 -18
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq12evaluatorconfigtype.ts +11 -11
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq5kind.ts +24 -24
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq14annotator.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq7evaluatorconfigtype.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorqevaluatorconfigtype.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq13evaluationtype.ts +9 -9
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq7status.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq18type.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2611.ts +15 -15
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorqevaluationtype.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq14annotator.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq7evaluatorconfigtype.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2attributesorq14type.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq16kind.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorq9evaluatorconfigtype.ts +17 -17
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesannotator.ts +30 -30
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody34attributesorq12evaluationtype.ts +11 -11
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.ts +24 -24
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq14evaluationtype.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq4kind.ts +26 -26
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody5attributesorq11evaluatorconfigtype.ts +13 -13
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq19annotator.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6value.ts +32 -32
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq8evaluatorconfigtype.ts +19 -19
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorq18annotator.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq9kind.ts +17 -17
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotator.ts +32 -32
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody20attributesopenresponses6role.ts +28 -28
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26content.ts +20 -20
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody28attributesopenresponses6role.ts +28 -28
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody34attributesrole.ts +24 -24
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200status.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody12attributes1.ts +30 -30
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody24attributescontent.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody332.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemresponsebody.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10http.ts +31 -31
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16settings.ts +32 -32
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson17context.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson22call.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson25engine.ts +33 -33
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27conversation.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson30nodes.ts +33 -33
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33token.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8trace.ts +33 -33
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjsonresponse.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse1.ts +8 -8
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody13attributesopenresponsesoutputtype.ts +10 -10
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody193.ts +10 -10
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody35attributestype.ts +10 -10
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/twenty.ts +1 -1
- package/src/models/operations/updateannotationqueue.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/modelcatalog.ts +64 -0
- package/src/sdk/sdk.ts +6 -0
- package/packages/orq-rc/src/models/components/evaluatorvariablevalue.ts +0 -38
- package/packages/orq-rc/src/models/errors/invokeeval.ts +0 -141
- package/packages/orq-rc/src/models/operations/createknowledge.ts +0 -1117
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +0 -199
|
@@ -0,0 +1,1656 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import {
|
|
8
|
+
SearchOptions,
|
|
9
|
+
SearchOptions$Outbound,
|
|
10
|
+
SearchOptions$outboundSchema,
|
|
11
|
+
} from "./searchoptions.js";
|
|
12
|
+
import {
|
|
13
|
+
SearchRerankConfig,
|
|
14
|
+
SearchRerankConfig$Outbound,
|
|
15
|
+
SearchRerankConfig$outboundSchema,
|
|
16
|
+
} from "./searchrerankconfig.js";
|
|
17
|
+
import {
|
|
18
|
+
SearchRetrievalConfig,
|
|
19
|
+
SearchRetrievalConfig$Outbound,
|
|
20
|
+
SearchRetrievalConfig$outboundSchema,
|
|
21
|
+
} from "./searchretrievalconfig.js";
|
|
22
|
+
import { SearchType, SearchType$outboundSchema } from "./searchtype.js";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Exists
|
|
26
|
+
*/
|
|
27
|
+
export type OrExists = {
|
|
28
|
+
exists: boolean;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export type SearchKnowledgeRequestOrNin = string | number | boolean;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Not in
|
|
35
|
+
*/
|
|
36
|
+
export type SearchKnowledgeRequestOrFilterByNin = {
|
|
37
|
+
nin: Array<string | number | boolean>;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export type SearchKnowledgeRequestOrIn = string | number | boolean;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* In
|
|
44
|
+
*/
|
|
45
|
+
export type SearchKnowledgeRequestOrFilterByIn = {
|
|
46
|
+
in: Array<string | number | boolean>;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Less than or equal to
|
|
51
|
+
*/
|
|
52
|
+
export type SearchKnowledgeRequestOrLte = {
|
|
53
|
+
lte: number;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Less than
|
|
58
|
+
*/
|
|
59
|
+
export type SearchKnowledgeRequestOrLt = {
|
|
60
|
+
lt: number;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Greater than or equal to
|
|
65
|
+
*/
|
|
66
|
+
export type SearchKnowledgeRequestOrGte = {
|
|
67
|
+
gte: number;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Greater than
|
|
72
|
+
*/
|
|
73
|
+
export type SearchKnowledgeRequestOrGt = {
|
|
74
|
+
gt: number;
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
export type SearchKnowledgeRequestOrNe = string | number | boolean;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Not equal to
|
|
81
|
+
*/
|
|
82
|
+
export type SearchKnowledgeRequestOrFilterByNe = {
|
|
83
|
+
ne: string | number | boolean;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
export type SearchKnowledgeRequestOrEq = string | number | boolean;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Equal to
|
|
90
|
+
*/
|
|
91
|
+
export type SearchKnowledgeRequestOrFilterByEq = {
|
|
92
|
+
eq: string | number | boolean;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
export type FilterByOr =
|
|
96
|
+
| SearchKnowledgeRequestOrFilterByEq
|
|
97
|
+
| SearchKnowledgeRequestOrFilterByNe
|
|
98
|
+
| SearchKnowledgeRequestOrGt
|
|
99
|
+
| SearchKnowledgeRequestOrGte
|
|
100
|
+
| SearchKnowledgeRequestOrLt
|
|
101
|
+
| SearchKnowledgeRequestOrLte
|
|
102
|
+
| SearchKnowledgeRequestOrFilterByIn
|
|
103
|
+
| SearchKnowledgeRequestOrFilterByNin
|
|
104
|
+
| OrExists;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Or
|
|
108
|
+
*/
|
|
109
|
+
export type SearchKnowledgeRequestFilterByOr = {
|
|
110
|
+
or: Array<
|
|
111
|
+
{
|
|
112
|
+
[k: string]:
|
|
113
|
+
| SearchKnowledgeRequestOrFilterByEq
|
|
114
|
+
| SearchKnowledgeRequestOrFilterByNe
|
|
115
|
+
| SearchKnowledgeRequestOrGt
|
|
116
|
+
| SearchKnowledgeRequestOrGte
|
|
117
|
+
| SearchKnowledgeRequestOrLt
|
|
118
|
+
| SearchKnowledgeRequestOrLte
|
|
119
|
+
| SearchKnowledgeRequestOrFilterByIn
|
|
120
|
+
| SearchKnowledgeRequestOrFilterByNin
|
|
121
|
+
| OrExists;
|
|
122
|
+
}
|
|
123
|
+
>;
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Exists
|
|
128
|
+
*/
|
|
129
|
+
export type AndExists = {
|
|
130
|
+
exists: boolean;
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
export type SearchKnowledgeRequestAndNin = string | number | boolean;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Not in
|
|
137
|
+
*/
|
|
138
|
+
export type SearchKnowledgeRequestAndFilterByNin = {
|
|
139
|
+
nin: Array<string | number | boolean>;
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
export type SearchKnowledgeRequestAndIn = string | number | boolean;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* In
|
|
146
|
+
*/
|
|
147
|
+
export type SearchKnowledgeRequestAndFilterByIn = {
|
|
148
|
+
in: Array<string | number | boolean>;
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Less than or equal to
|
|
153
|
+
*/
|
|
154
|
+
export type SearchKnowledgeRequestAndLte = {
|
|
155
|
+
lte: number;
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Less than
|
|
160
|
+
*/
|
|
161
|
+
export type SearchKnowledgeRequestAndLt = {
|
|
162
|
+
lt: number;
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Greater than or equal to
|
|
167
|
+
*/
|
|
168
|
+
export type SearchKnowledgeRequestAndGte = {
|
|
169
|
+
gte: number;
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Greater than
|
|
174
|
+
*/
|
|
175
|
+
export type SearchKnowledgeRequestAndGt = {
|
|
176
|
+
gt: number;
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
export type SearchKnowledgeRequestAndNe = string | number | boolean;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Not equal to
|
|
183
|
+
*/
|
|
184
|
+
export type SearchKnowledgeRequestAndFilterByNe = {
|
|
185
|
+
ne: string | number | boolean;
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
export type SearchKnowledgeRequestAndEq = string | number | boolean;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Equal to
|
|
192
|
+
*/
|
|
193
|
+
export type SearchKnowledgeRequestAndFilterByEq = {
|
|
194
|
+
eq: string | number | boolean;
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
export type FilterByAnd =
|
|
198
|
+
| SearchKnowledgeRequestAndFilterByEq
|
|
199
|
+
| SearchKnowledgeRequestAndFilterByNe
|
|
200
|
+
| SearchKnowledgeRequestAndGt
|
|
201
|
+
| SearchKnowledgeRequestAndGte
|
|
202
|
+
| SearchKnowledgeRequestAndLt
|
|
203
|
+
| SearchKnowledgeRequestAndLte
|
|
204
|
+
| SearchKnowledgeRequestAndFilterByIn
|
|
205
|
+
| SearchKnowledgeRequestAndFilterByNin
|
|
206
|
+
| AndExists;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* And
|
|
210
|
+
*/
|
|
211
|
+
export type SearchKnowledgeRequestFilterByAnd = {
|
|
212
|
+
and: Array<
|
|
213
|
+
{
|
|
214
|
+
[k: string]:
|
|
215
|
+
| SearchKnowledgeRequestAndFilterByEq
|
|
216
|
+
| SearchKnowledgeRequestAndFilterByNe
|
|
217
|
+
| SearchKnowledgeRequestAndGt
|
|
218
|
+
| SearchKnowledgeRequestAndGte
|
|
219
|
+
| SearchKnowledgeRequestAndLt
|
|
220
|
+
| SearchKnowledgeRequestAndLte
|
|
221
|
+
| SearchKnowledgeRequestAndFilterByIn
|
|
222
|
+
| SearchKnowledgeRequestAndFilterByNin
|
|
223
|
+
| AndExists;
|
|
224
|
+
}
|
|
225
|
+
>;
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Exists
|
|
230
|
+
*/
|
|
231
|
+
export type Exists = {
|
|
232
|
+
exists: boolean;
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
export type OneNin = string | number | boolean;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Not in
|
|
239
|
+
*/
|
|
240
|
+
export type SearchKnowledgeRequest1Nin = {
|
|
241
|
+
nin: Array<string | number | boolean>;
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
export type OneIn = string | number | boolean;
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* In
|
|
248
|
+
*/
|
|
249
|
+
export type SearchKnowledgeRequest1In = {
|
|
250
|
+
in: Array<string | number | boolean>;
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Less than or equal to
|
|
255
|
+
*/
|
|
256
|
+
export type OneLte = {
|
|
257
|
+
lte: number;
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Less than
|
|
262
|
+
*/
|
|
263
|
+
export type OneLt = {
|
|
264
|
+
lt: number;
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Greater than or equal to
|
|
269
|
+
*/
|
|
270
|
+
export type OneGte = {
|
|
271
|
+
gte: number;
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Greater than
|
|
276
|
+
*/
|
|
277
|
+
export type OneGt = {
|
|
278
|
+
gt: number;
|
|
279
|
+
};
|
|
280
|
+
|
|
281
|
+
export type OneNe = string | number | boolean;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Not equal to
|
|
285
|
+
*/
|
|
286
|
+
export type SearchKnowledgeRequest1Ne = {
|
|
287
|
+
ne: string | number | boolean;
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
export type OneEq = string | number | boolean;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* Equal to
|
|
294
|
+
*/
|
|
295
|
+
export type SearchKnowledgeRequest1Eq = {
|
|
296
|
+
eq: string | number | boolean;
|
|
297
|
+
};
|
|
298
|
+
|
|
299
|
+
export type FilterBy1 =
|
|
300
|
+
| SearchKnowledgeRequest1Eq
|
|
301
|
+
| SearchKnowledgeRequest1Ne
|
|
302
|
+
| OneGt
|
|
303
|
+
| OneGte
|
|
304
|
+
| OneLt
|
|
305
|
+
| OneLte
|
|
306
|
+
| SearchKnowledgeRequest1In
|
|
307
|
+
| SearchKnowledgeRequest1Nin
|
|
308
|
+
| Exists;
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* The metadata filter to apply to the search. Check the [Searching a Knowledge Base](https://docs.orq.ai/docs/knowledge/api#knowledge-base-search) for more information.
|
|
312
|
+
*/
|
|
313
|
+
export type FilterBy =
|
|
314
|
+
| SearchKnowledgeRequestFilterByAnd
|
|
315
|
+
| SearchKnowledgeRequestFilterByOr
|
|
316
|
+
| {
|
|
317
|
+
[k: string]:
|
|
318
|
+
| SearchKnowledgeRequest1Eq
|
|
319
|
+
| SearchKnowledgeRequest1Ne
|
|
320
|
+
| OneGt
|
|
321
|
+
| OneGte
|
|
322
|
+
| OneLt
|
|
323
|
+
| OneLte
|
|
324
|
+
| SearchKnowledgeRequest1In
|
|
325
|
+
| SearchKnowledgeRequest1Nin
|
|
326
|
+
| Exists;
|
|
327
|
+
};
|
|
328
|
+
|
|
329
|
+
export type AgenticRagConfig2 = {
|
|
330
|
+
/**
|
|
331
|
+
* The name of the model for the Agent to use. Refer to the [model list](https://docs.orq.ai/docs/proxy#/chat-models).
|
|
332
|
+
*/
|
|
333
|
+
model?: string | undefined;
|
|
334
|
+
/**
|
|
335
|
+
* Internal database model identifier used by the retrieval testing UI.
|
|
336
|
+
*/
|
|
337
|
+
modelDbId: string;
|
|
338
|
+
/**
|
|
339
|
+
* Provider identifier for the stored model configuration.
|
|
340
|
+
*/
|
|
341
|
+
provider: string;
|
|
342
|
+
/**
|
|
343
|
+
* Optional integration identifier for the stored model configuration.
|
|
344
|
+
*/
|
|
345
|
+
integrationId?: string | null | undefined;
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
export type AgenticRagConfig1 = {
|
|
349
|
+
/**
|
|
350
|
+
* The name of the model for the Agent to use. Refer to the [model list](https://docs.orq.ai/docs/proxy#/chat-models).
|
|
351
|
+
*/
|
|
352
|
+
model: string;
|
|
353
|
+
/**
|
|
354
|
+
* Internal database model identifier used by the retrieval testing UI.
|
|
355
|
+
*/
|
|
356
|
+
modelDbId?: string | undefined;
|
|
357
|
+
/**
|
|
358
|
+
* Provider identifier for the stored model configuration.
|
|
359
|
+
*/
|
|
360
|
+
provider?: string | undefined;
|
|
361
|
+
/**
|
|
362
|
+
* Optional integration identifier for the stored model configuration.
|
|
363
|
+
*/
|
|
364
|
+
integrationId?: string | null | undefined;
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* Represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values.
|
|
369
|
+
*/
|
|
370
|
+
export type SearchKnowledgeRequestAgenticRagConfig =
|
|
371
|
+
| AgenticRagConfig2
|
|
372
|
+
| AgenticRagConfig1;
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* SearchKnowledgeRequest mirrors the existing public search body and adds the
|
|
376
|
+
*
|
|
377
|
+
* @remarks
|
|
378
|
+
* internal retrieval configuration override used by the knowledge testing UI.
|
|
379
|
+
*/
|
|
380
|
+
export type SearchKnowledgeRequest = {
|
|
381
|
+
/**
|
|
382
|
+
* The query to use to search the knowledge base
|
|
383
|
+
*/
|
|
384
|
+
query: string;
|
|
385
|
+
/**
|
|
386
|
+
* The number of results to return. If not provided, will default to the knowledge base configured `top_k`.
|
|
387
|
+
*/
|
|
388
|
+
topK?: number | undefined;
|
|
389
|
+
/**
|
|
390
|
+
* The threshold to apply to the search. If not provided, will default to the knowledge base configured `threshold`
|
|
391
|
+
*/
|
|
392
|
+
threshold?: number | undefined;
|
|
393
|
+
searchType?: SearchType | undefined;
|
|
394
|
+
/**
|
|
395
|
+
* The metadata filter to apply to the search. Check the [Searching a Knowledge Base](https://docs.orq.ai/docs/knowledge/api#knowledge-base-search) for more information.
|
|
396
|
+
*/
|
|
397
|
+
filterBy?:
|
|
398
|
+
| SearchKnowledgeRequestFilterByAnd
|
|
399
|
+
| SearchKnowledgeRequestFilterByOr
|
|
400
|
+
| {
|
|
401
|
+
[k: string]:
|
|
402
|
+
| SearchKnowledgeRequest1Eq
|
|
403
|
+
| SearchKnowledgeRequest1Ne
|
|
404
|
+
| OneGt
|
|
405
|
+
| OneGte
|
|
406
|
+
| OneLt
|
|
407
|
+
| OneLte
|
|
408
|
+
| SearchKnowledgeRequest1In
|
|
409
|
+
| SearchKnowledgeRequest1Nin
|
|
410
|
+
| Exists;
|
|
411
|
+
}
|
|
412
|
+
| undefined;
|
|
413
|
+
/**
|
|
414
|
+
* Additional search options
|
|
415
|
+
*/
|
|
416
|
+
searchOptions?: SearchOptions | undefined;
|
|
417
|
+
/**
|
|
418
|
+
* Override the rerank configuration for this search. If not provided, will use the knowledge base configured rerank settings.
|
|
419
|
+
*/
|
|
420
|
+
rerankConfig?: SearchRerankConfig | undefined;
|
|
421
|
+
/**
|
|
422
|
+
* Override the agentic RAG configuration for this search. If not provided, will use the knowledge base configured agentic RAG settings.
|
|
423
|
+
*/
|
|
424
|
+
agenticRagConfig?: AgenticRagConfig2 | AgenticRagConfig1 | null | undefined;
|
|
425
|
+
/**
|
|
426
|
+
* Override the stored retrieval configuration for this search. If not provided, the knowledge base configuration is used.
|
|
427
|
+
*/
|
|
428
|
+
retrievalConfig?: SearchRetrievalConfig | undefined;
|
|
429
|
+
};
|
|
430
|
+
|
|
431
|
+
/** @internal */
|
|
432
|
+
export type OrExists$Outbound = {
|
|
433
|
+
exists: boolean;
|
|
434
|
+
};
|
|
435
|
+
|
|
436
|
+
/** @internal */
|
|
437
|
+
export const OrExists$outboundSchema: z.ZodType<
|
|
438
|
+
OrExists$Outbound,
|
|
439
|
+
z.ZodTypeDef,
|
|
440
|
+
OrExists
|
|
441
|
+
> = z.object({
|
|
442
|
+
exists: z.boolean(),
|
|
443
|
+
});
|
|
444
|
+
|
|
445
|
+
export function orExistsToJSON(orExists: OrExists): string {
|
|
446
|
+
return JSON.stringify(OrExists$outboundSchema.parse(orExists));
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/** @internal */
|
|
450
|
+
export type SearchKnowledgeRequestOrNin$Outbound = string | number | boolean;
|
|
451
|
+
|
|
452
|
+
/** @internal */
|
|
453
|
+
export const SearchKnowledgeRequestOrNin$outboundSchema: z.ZodType<
|
|
454
|
+
SearchKnowledgeRequestOrNin$Outbound,
|
|
455
|
+
z.ZodTypeDef,
|
|
456
|
+
SearchKnowledgeRequestOrNin
|
|
457
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
458
|
+
|
|
459
|
+
export function searchKnowledgeRequestOrNinToJSON(
|
|
460
|
+
searchKnowledgeRequestOrNin: SearchKnowledgeRequestOrNin,
|
|
461
|
+
): string {
|
|
462
|
+
return JSON.stringify(
|
|
463
|
+
SearchKnowledgeRequestOrNin$outboundSchema.parse(
|
|
464
|
+
searchKnowledgeRequestOrNin,
|
|
465
|
+
),
|
|
466
|
+
);
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
/** @internal */
|
|
470
|
+
export type SearchKnowledgeRequestOrFilterByNin$Outbound = {
|
|
471
|
+
nin: Array<string | number | boolean>;
|
|
472
|
+
};
|
|
473
|
+
|
|
474
|
+
/** @internal */
|
|
475
|
+
export const SearchKnowledgeRequestOrFilterByNin$outboundSchema: z.ZodType<
|
|
476
|
+
SearchKnowledgeRequestOrFilterByNin$Outbound,
|
|
477
|
+
z.ZodTypeDef,
|
|
478
|
+
SearchKnowledgeRequestOrFilterByNin
|
|
479
|
+
> = z.object({
|
|
480
|
+
nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
481
|
+
});
|
|
482
|
+
|
|
483
|
+
export function searchKnowledgeRequestOrFilterByNinToJSON(
|
|
484
|
+
searchKnowledgeRequestOrFilterByNin: SearchKnowledgeRequestOrFilterByNin,
|
|
485
|
+
): string {
|
|
486
|
+
return JSON.stringify(
|
|
487
|
+
SearchKnowledgeRequestOrFilterByNin$outboundSchema.parse(
|
|
488
|
+
searchKnowledgeRequestOrFilterByNin,
|
|
489
|
+
),
|
|
490
|
+
);
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
/** @internal */
|
|
494
|
+
export type SearchKnowledgeRequestOrIn$Outbound = string | number | boolean;
|
|
495
|
+
|
|
496
|
+
/** @internal */
|
|
497
|
+
export const SearchKnowledgeRequestOrIn$outboundSchema: z.ZodType<
|
|
498
|
+
SearchKnowledgeRequestOrIn$Outbound,
|
|
499
|
+
z.ZodTypeDef,
|
|
500
|
+
SearchKnowledgeRequestOrIn
|
|
501
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
502
|
+
|
|
503
|
+
export function searchKnowledgeRequestOrInToJSON(
|
|
504
|
+
searchKnowledgeRequestOrIn: SearchKnowledgeRequestOrIn,
|
|
505
|
+
): string {
|
|
506
|
+
return JSON.stringify(
|
|
507
|
+
SearchKnowledgeRequestOrIn$outboundSchema.parse(searchKnowledgeRequestOrIn),
|
|
508
|
+
);
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
/** @internal */
|
|
512
|
+
export type SearchKnowledgeRequestOrFilterByIn$Outbound = {
|
|
513
|
+
in: Array<string | number | boolean>;
|
|
514
|
+
};
|
|
515
|
+
|
|
516
|
+
/** @internal */
|
|
517
|
+
export const SearchKnowledgeRequestOrFilterByIn$outboundSchema: z.ZodType<
|
|
518
|
+
SearchKnowledgeRequestOrFilterByIn$Outbound,
|
|
519
|
+
z.ZodTypeDef,
|
|
520
|
+
SearchKnowledgeRequestOrFilterByIn
|
|
521
|
+
> = z.object({
|
|
522
|
+
in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
523
|
+
});
|
|
524
|
+
|
|
525
|
+
export function searchKnowledgeRequestOrFilterByInToJSON(
|
|
526
|
+
searchKnowledgeRequestOrFilterByIn: SearchKnowledgeRequestOrFilterByIn,
|
|
527
|
+
): string {
|
|
528
|
+
return JSON.stringify(
|
|
529
|
+
SearchKnowledgeRequestOrFilterByIn$outboundSchema.parse(
|
|
530
|
+
searchKnowledgeRequestOrFilterByIn,
|
|
531
|
+
),
|
|
532
|
+
);
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
/** @internal */
|
|
536
|
+
export type SearchKnowledgeRequestOrLte$Outbound = {
|
|
537
|
+
lte: number;
|
|
538
|
+
};
|
|
539
|
+
|
|
540
|
+
/** @internal */
|
|
541
|
+
export const SearchKnowledgeRequestOrLte$outboundSchema: z.ZodType<
|
|
542
|
+
SearchKnowledgeRequestOrLte$Outbound,
|
|
543
|
+
z.ZodTypeDef,
|
|
544
|
+
SearchKnowledgeRequestOrLte
|
|
545
|
+
> = z.object({
|
|
546
|
+
lte: z.number(),
|
|
547
|
+
});
|
|
548
|
+
|
|
549
|
+
export function searchKnowledgeRequestOrLteToJSON(
|
|
550
|
+
searchKnowledgeRequestOrLte: SearchKnowledgeRequestOrLte,
|
|
551
|
+
): string {
|
|
552
|
+
return JSON.stringify(
|
|
553
|
+
SearchKnowledgeRequestOrLte$outboundSchema.parse(
|
|
554
|
+
searchKnowledgeRequestOrLte,
|
|
555
|
+
),
|
|
556
|
+
);
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
/** @internal */
|
|
560
|
+
export type SearchKnowledgeRequestOrLt$Outbound = {
|
|
561
|
+
lt: number;
|
|
562
|
+
};
|
|
563
|
+
|
|
564
|
+
/** @internal */
|
|
565
|
+
export const SearchKnowledgeRequestOrLt$outboundSchema: z.ZodType<
|
|
566
|
+
SearchKnowledgeRequestOrLt$Outbound,
|
|
567
|
+
z.ZodTypeDef,
|
|
568
|
+
SearchKnowledgeRequestOrLt
|
|
569
|
+
> = z.object({
|
|
570
|
+
lt: z.number(),
|
|
571
|
+
});
|
|
572
|
+
|
|
573
|
+
export function searchKnowledgeRequestOrLtToJSON(
|
|
574
|
+
searchKnowledgeRequestOrLt: SearchKnowledgeRequestOrLt,
|
|
575
|
+
): string {
|
|
576
|
+
return JSON.stringify(
|
|
577
|
+
SearchKnowledgeRequestOrLt$outboundSchema.parse(searchKnowledgeRequestOrLt),
|
|
578
|
+
);
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
/** @internal */
|
|
582
|
+
export type SearchKnowledgeRequestOrGte$Outbound = {
|
|
583
|
+
gte: number;
|
|
584
|
+
};
|
|
585
|
+
|
|
586
|
+
/** @internal */
|
|
587
|
+
export const SearchKnowledgeRequestOrGte$outboundSchema: z.ZodType<
|
|
588
|
+
SearchKnowledgeRequestOrGte$Outbound,
|
|
589
|
+
z.ZodTypeDef,
|
|
590
|
+
SearchKnowledgeRequestOrGte
|
|
591
|
+
> = z.object({
|
|
592
|
+
gte: z.number(),
|
|
593
|
+
});
|
|
594
|
+
|
|
595
|
+
export function searchKnowledgeRequestOrGteToJSON(
|
|
596
|
+
searchKnowledgeRequestOrGte: SearchKnowledgeRequestOrGte,
|
|
597
|
+
): string {
|
|
598
|
+
return JSON.stringify(
|
|
599
|
+
SearchKnowledgeRequestOrGte$outboundSchema.parse(
|
|
600
|
+
searchKnowledgeRequestOrGte,
|
|
601
|
+
),
|
|
602
|
+
);
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
/** @internal */
|
|
606
|
+
export type SearchKnowledgeRequestOrGt$Outbound = {
|
|
607
|
+
gt: number;
|
|
608
|
+
};
|
|
609
|
+
|
|
610
|
+
/** @internal */
|
|
611
|
+
export const SearchKnowledgeRequestOrGt$outboundSchema: z.ZodType<
|
|
612
|
+
SearchKnowledgeRequestOrGt$Outbound,
|
|
613
|
+
z.ZodTypeDef,
|
|
614
|
+
SearchKnowledgeRequestOrGt
|
|
615
|
+
> = z.object({
|
|
616
|
+
gt: z.number(),
|
|
617
|
+
});
|
|
618
|
+
|
|
619
|
+
export function searchKnowledgeRequestOrGtToJSON(
|
|
620
|
+
searchKnowledgeRequestOrGt: SearchKnowledgeRequestOrGt,
|
|
621
|
+
): string {
|
|
622
|
+
return JSON.stringify(
|
|
623
|
+
SearchKnowledgeRequestOrGt$outboundSchema.parse(searchKnowledgeRequestOrGt),
|
|
624
|
+
);
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
/** @internal */
|
|
628
|
+
export type SearchKnowledgeRequestOrNe$Outbound = string | number | boolean;
|
|
629
|
+
|
|
630
|
+
/** @internal */
|
|
631
|
+
export const SearchKnowledgeRequestOrNe$outboundSchema: z.ZodType<
|
|
632
|
+
SearchKnowledgeRequestOrNe$Outbound,
|
|
633
|
+
z.ZodTypeDef,
|
|
634
|
+
SearchKnowledgeRequestOrNe
|
|
635
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
636
|
+
|
|
637
|
+
export function searchKnowledgeRequestOrNeToJSON(
|
|
638
|
+
searchKnowledgeRequestOrNe: SearchKnowledgeRequestOrNe,
|
|
639
|
+
): string {
|
|
640
|
+
return JSON.stringify(
|
|
641
|
+
SearchKnowledgeRequestOrNe$outboundSchema.parse(searchKnowledgeRequestOrNe),
|
|
642
|
+
);
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
/** @internal */
|
|
646
|
+
export type SearchKnowledgeRequestOrFilterByNe$Outbound = {
|
|
647
|
+
ne: string | number | boolean;
|
|
648
|
+
};
|
|
649
|
+
|
|
650
|
+
/** @internal */
|
|
651
|
+
export const SearchKnowledgeRequestOrFilterByNe$outboundSchema: z.ZodType<
|
|
652
|
+
SearchKnowledgeRequestOrFilterByNe$Outbound,
|
|
653
|
+
z.ZodTypeDef,
|
|
654
|
+
SearchKnowledgeRequestOrFilterByNe
|
|
655
|
+
> = z.object({
|
|
656
|
+
ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
657
|
+
});
|
|
658
|
+
|
|
659
|
+
export function searchKnowledgeRequestOrFilterByNeToJSON(
|
|
660
|
+
searchKnowledgeRequestOrFilterByNe: SearchKnowledgeRequestOrFilterByNe,
|
|
661
|
+
): string {
|
|
662
|
+
return JSON.stringify(
|
|
663
|
+
SearchKnowledgeRequestOrFilterByNe$outboundSchema.parse(
|
|
664
|
+
searchKnowledgeRequestOrFilterByNe,
|
|
665
|
+
),
|
|
666
|
+
);
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
/** @internal */
|
|
670
|
+
export type SearchKnowledgeRequestOrEq$Outbound = string | number | boolean;
|
|
671
|
+
|
|
672
|
+
/** @internal */
|
|
673
|
+
export const SearchKnowledgeRequestOrEq$outboundSchema: z.ZodType<
|
|
674
|
+
SearchKnowledgeRequestOrEq$Outbound,
|
|
675
|
+
z.ZodTypeDef,
|
|
676
|
+
SearchKnowledgeRequestOrEq
|
|
677
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
678
|
+
|
|
679
|
+
export function searchKnowledgeRequestOrEqToJSON(
|
|
680
|
+
searchKnowledgeRequestOrEq: SearchKnowledgeRequestOrEq,
|
|
681
|
+
): string {
|
|
682
|
+
return JSON.stringify(
|
|
683
|
+
SearchKnowledgeRequestOrEq$outboundSchema.parse(searchKnowledgeRequestOrEq),
|
|
684
|
+
);
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
/** @internal */
|
|
688
|
+
export type SearchKnowledgeRequestOrFilterByEq$Outbound = {
|
|
689
|
+
eq: string | number | boolean;
|
|
690
|
+
};
|
|
691
|
+
|
|
692
|
+
/** @internal */
|
|
693
|
+
export const SearchKnowledgeRequestOrFilterByEq$outboundSchema: z.ZodType<
|
|
694
|
+
SearchKnowledgeRequestOrFilterByEq$Outbound,
|
|
695
|
+
z.ZodTypeDef,
|
|
696
|
+
SearchKnowledgeRequestOrFilterByEq
|
|
697
|
+
> = z.object({
|
|
698
|
+
eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
699
|
+
});
|
|
700
|
+
|
|
701
|
+
export function searchKnowledgeRequestOrFilterByEqToJSON(
|
|
702
|
+
searchKnowledgeRequestOrFilterByEq: SearchKnowledgeRequestOrFilterByEq,
|
|
703
|
+
): string {
|
|
704
|
+
return JSON.stringify(
|
|
705
|
+
SearchKnowledgeRequestOrFilterByEq$outboundSchema.parse(
|
|
706
|
+
searchKnowledgeRequestOrFilterByEq,
|
|
707
|
+
),
|
|
708
|
+
);
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
/** @internal */
|
|
712
|
+
export type FilterByOr$Outbound =
|
|
713
|
+
| SearchKnowledgeRequestOrFilterByEq$Outbound
|
|
714
|
+
| SearchKnowledgeRequestOrFilterByNe$Outbound
|
|
715
|
+
| SearchKnowledgeRequestOrGt$Outbound
|
|
716
|
+
| SearchKnowledgeRequestOrGte$Outbound
|
|
717
|
+
| SearchKnowledgeRequestOrLt$Outbound
|
|
718
|
+
| SearchKnowledgeRequestOrLte$Outbound
|
|
719
|
+
| SearchKnowledgeRequestOrFilterByIn$Outbound
|
|
720
|
+
| SearchKnowledgeRequestOrFilterByNin$Outbound
|
|
721
|
+
| OrExists$Outbound;
|
|
722
|
+
|
|
723
|
+
/** @internal */
|
|
724
|
+
export const FilterByOr$outboundSchema: z.ZodType<
|
|
725
|
+
FilterByOr$Outbound,
|
|
726
|
+
z.ZodTypeDef,
|
|
727
|
+
FilterByOr
|
|
728
|
+
> = z.union([
|
|
729
|
+
z.lazy(() => SearchKnowledgeRequestOrFilterByEq$outboundSchema),
|
|
730
|
+
z.lazy(() => SearchKnowledgeRequestOrFilterByNe$outboundSchema),
|
|
731
|
+
z.lazy(() => SearchKnowledgeRequestOrGt$outboundSchema),
|
|
732
|
+
z.lazy(() => SearchKnowledgeRequestOrGte$outboundSchema),
|
|
733
|
+
z.lazy(() => SearchKnowledgeRequestOrLt$outboundSchema),
|
|
734
|
+
z.lazy(() => SearchKnowledgeRequestOrLte$outboundSchema),
|
|
735
|
+
z.lazy(() => SearchKnowledgeRequestOrFilterByIn$outboundSchema),
|
|
736
|
+
z.lazy(() => SearchKnowledgeRequestOrFilterByNin$outboundSchema),
|
|
737
|
+
z.lazy(() => OrExists$outboundSchema),
|
|
738
|
+
]);
|
|
739
|
+
|
|
740
|
+
export function filterByOrToJSON(filterByOr: FilterByOr): string {
|
|
741
|
+
return JSON.stringify(FilterByOr$outboundSchema.parse(filterByOr));
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
/** @internal */
|
|
745
|
+
export type SearchKnowledgeRequestFilterByOr$Outbound = {
|
|
746
|
+
or: Array<
|
|
747
|
+
{
|
|
748
|
+
[k: string]:
|
|
749
|
+
| SearchKnowledgeRequestOrFilterByEq$Outbound
|
|
750
|
+
| SearchKnowledgeRequestOrFilterByNe$Outbound
|
|
751
|
+
| SearchKnowledgeRequestOrGt$Outbound
|
|
752
|
+
| SearchKnowledgeRequestOrGte$Outbound
|
|
753
|
+
| SearchKnowledgeRequestOrLt$Outbound
|
|
754
|
+
| SearchKnowledgeRequestOrLte$Outbound
|
|
755
|
+
| SearchKnowledgeRequestOrFilterByIn$Outbound
|
|
756
|
+
| SearchKnowledgeRequestOrFilterByNin$Outbound
|
|
757
|
+
| OrExists$Outbound;
|
|
758
|
+
}
|
|
759
|
+
>;
|
|
760
|
+
};
|
|
761
|
+
|
|
762
|
+
/** @internal */
|
|
763
|
+
export const SearchKnowledgeRequestFilterByOr$outboundSchema: z.ZodType<
|
|
764
|
+
SearchKnowledgeRequestFilterByOr$Outbound,
|
|
765
|
+
z.ZodTypeDef,
|
|
766
|
+
SearchKnowledgeRequestFilterByOr
|
|
767
|
+
> = z.object({
|
|
768
|
+
or: z.array(
|
|
769
|
+
z.record(z.union([
|
|
770
|
+
z.lazy(() => SearchKnowledgeRequestOrFilterByEq$outboundSchema),
|
|
771
|
+
z.lazy(() =>
|
|
772
|
+
SearchKnowledgeRequestOrFilterByNe$outboundSchema
|
|
773
|
+
),
|
|
774
|
+
z.lazy(() => SearchKnowledgeRequestOrGt$outboundSchema),
|
|
775
|
+
z.lazy(() => SearchKnowledgeRequestOrGte$outboundSchema),
|
|
776
|
+
z.lazy(() => SearchKnowledgeRequestOrLt$outboundSchema),
|
|
777
|
+
z.lazy(() => SearchKnowledgeRequestOrLte$outboundSchema),
|
|
778
|
+
z.lazy(() => SearchKnowledgeRequestOrFilterByIn$outboundSchema),
|
|
779
|
+
z.lazy(() => SearchKnowledgeRequestOrFilterByNin$outboundSchema),
|
|
780
|
+
z.lazy(() => OrExists$outboundSchema),
|
|
781
|
+
])),
|
|
782
|
+
),
|
|
783
|
+
});
|
|
784
|
+
|
|
785
|
+
export function searchKnowledgeRequestFilterByOrToJSON(
|
|
786
|
+
searchKnowledgeRequestFilterByOr: SearchKnowledgeRequestFilterByOr,
|
|
787
|
+
): string {
|
|
788
|
+
return JSON.stringify(
|
|
789
|
+
SearchKnowledgeRequestFilterByOr$outboundSchema.parse(
|
|
790
|
+
searchKnowledgeRequestFilterByOr,
|
|
791
|
+
),
|
|
792
|
+
);
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
/** @internal */
|
|
796
|
+
export type AndExists$Outbound = {
|
|
797
|
+
exists: boolean;
|
|
798
|
+
};
|
|
799
|
+
|
|
800
|
+
/** @internal */
|
|
801
|
+
export const AndExists$outboundSchema: z.ZodType<
|
|
802
|
+
AndExists$Outbound,
|
|
803
|
+
z.ZodTypeDef,
|
|
804
|
+
AndExists
|
|
805
|
+
> = z.object({
|
|
806
|
+
exists: z.boolean(),
|
|
807
|
+
});
|
|
808
|
+
|
|
809
|
+
export function andExistsToJSON(andExists: AndExists): string {
|
|
810
|
+
return JSON.stringify(AndExists$outboundSchema.parse(andExists));
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
/** @internal */
|
|
814
|
+
export type SearchKnowledgeRequestAndNin$Outbound = string | number | boolean;
|
|
815
|
+
|
|
816
|
+
/** @internal */
|
|
817
|
+
export const SearchKnowledgeRequestAndNin$outboundSchema: z.ZodType<
|
|
818
|
+
SearchKnowledgeRequestAndNin$Outbound,
|
|
819
|
+
z.ZodTypeDef,
|
|
820
|
+
SearchKnowledgeRequestAndNin
|
|
821
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
822
|
+
|
|
823
|
+
export function searchKnowledgeRequestAndNinToJSON(
|
|
824
|
+
searchKnowledgeRequestAndNin: SearchKnowledgeRequestAndNin,
|
|
825
|
+
): string {
|
|
826
|
+
return JSON.stringify(
|
|
827
|
+
SearchKnowledgeRequestAndNin$outboundSchema.parse(
|
|
828
|
+
searchKnowledgeRequestAndNin,
|
|
829
|
+
),
|
|
830
|
+
);
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
/** @internal */
|
|
834
|
+
export type SearchKnowledgeRequestAndFilterByNin$Outbound = {
|
|
835
|
+
nin: Array<string | number | boolean>;
|
|
836
|
+
};
|
|
837
|
+
|
|
838
|
+
/** @internal */
|
|
839
|
+
export const SearchKnowledgeRequestAndFilterByNin$outboundSchema: z.ZodType<
|
|
840
|
+
SearchKnowledgeRequestAndFilterByNin$Outbound,
|
|
841
|
+
z.ZodTypeDef,
|
|
842
|
+
SearchKnowledgeRequestAndFilterByNin
|
|
843
|
+
> = z.object({
|
|
844
|
+
nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
845
|
+
});
|
|
846
|
+
|
|
847
|
+
export function searchKnowledgeRequestAndFilterByNinToJSON(
|
|
848
|
+
searchKnowledgeRequestAndFilterByNin: SearchKnowledgeRequestAndFilterByNin,
|
|
849
|
+
): string {
|
|
850
|
+
return JSON.stringify(
|
|
851
|
+
SearchKnowledgeRequestAndFilterByNin$outboundSchema.parse(
|
|
852
|
+
searchKnowledgeRequestAndFilterByNin,
|
|
853
|
+
),
|
|
854
|
+
);
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
/** @internal */
|
|
858
|
+
export type SearchKnowledgeRequestAndIn$Outbound = string | number | boolean;
|
|
859
|
+
|
|
860
|
+
/** @internal */
|
|
861
|
+
export const SearchKnowledgeRequestAndIn$outboundSchema: z.ZodType<
|
|
862
|
+
SearchKnowledgeRequestAndIn$Outbound,
|
|
863
|
+
z.ZodTypeDef,
|
|
864
|
+
SearchKnowledgeRequestAndIn
|
|
865
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
866
|
+
|
|
867
|
+
export function searchKnowledgeRequestAndInToJSON(
|
|
868
|
+
searchKnowledgeRequestAndIn: SearchKnowledgeRequestAndIn,
|
|
869
|
+
): string {
|
|
870
|
+
return JSON.stringify(
|
|
871
|
+
SearchKnowledgeRequestAndIn$outboundSchema.parse(
|
|
872
|
+
searchKnowledgeRequestAndIn,
|
|
873
|
+
),
|
|
874
|
+
);
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
/** @internal */
|
|
878
|
+
export type SearchKnowledgeRequestAndFilterByIn$Outbound = {
|
|
879
|
+
in: Array<string | number | boolean>;
|
|
880
|
+
};
|
|
881
|
+
|
|
882
|
+
/** @internal */
|
|
883
|
+
export const SearchKnowledgeRequestAndFilterByIn$outboundSchema: z.ZodType<
|
|
884
|
+
SearchKnowledgeRequestAndFilterByIn$Outbound,
|
|
885
|
+
z.ZodTypeDef,
|
|
886
|
+
SearchKnowledgeRequestAndFilterByIn
|
|
887
|
+
> = z.object({
|
|
888
|
+
in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
889
|
+
});
|
|
890
|
+
|
|
891
|
+
export function searchKnowledgeRequestAndFilterByInToJSON(
|
|
892
|
+
searchKnowledgeRequestAndFilterByIn: SearchKnowledgeRequestAndFilterByIn,
|
|
893
|
+
): string {
|
|
894
|
+
return JSON.stringify(
|
|
895
|
+
SearchKnowledgeRequestAndFilterByIn$outboundSchema.parse(
|
|
896
|
+
searchKnowledgeRequestAndFilterByIn,
|
|
897
|
+
),
|
|
898
|
+
);
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
/** @internal */
|
|
902
|
+
export type SearchKnowledgeRequestAndLte$Outbound = {
|
|
903
|
+
lte: number;
|
|
904
|
+
};
|
|
905
|
+
|
|
906
|
+
/** @internal */
|
|
907
|
+
export const SearchKnowledgeRequestAndLte$outboundSchema: z.ZodType<
|
|
908
|
+
SearchKnowledgeRequestAndLte$Outbound,
|
|
909
|
+
z.ZodTypeDef,
|
|
910
|
+
SearchKnowledgeRequestAndLte
|
|
911
|
+
> = z.object({
|
|
912
|
+
lte: z.number(),
|
|
913
|
+
});
|
|
914
|
+
|
|
915
|
+
export function searchKnowledgeRequestAndLteToJSON(
|
|
916
|
+
searchKnowledgeRequestAndLte: SearchKnowledgeRequestAndLte,
|
|
917
|
+
): string {
|
|
918
|
+
return JSON.stringify(
|
|
919
|
+
SearchKnowledgeRequestAndLte$outboundSchema.parse(
|
|
920
|
+
searchKnowledgeRequestAndLte,
|
|
921
|
+
),
|
|
922
|
+
);
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
/** @internal */
|
|
926
|
+
export type SearchKnowledgeRequestAndLt$Outbound = {
|
|
927
|
+
lt: number;
|
|
928
|
+
};
|
|
929
|
+
|
|
930
|
+
/** @internal */
|
|
931
|
+
export const SearchKnowledgeRequestAndLt$outboundSchema: z.ZodType<
|
|
932
|
+
SearchKnowledgeRequestAndLt$Outbound,
|
|
933
|
+
z.ZodTypeDef,
|
|
934
|
+
SearchKnowledgeRequestAndLt
|
|
935
|
+
> = z.object({
|
|
936
|
+
lt: z.number(),
|
|
937
|
+
});
|
|
938
|
+
|
|
939
|
+
export function searchKnowledgeRequestAndLtToJSON(
|
|
940
|
+
searchKnowledgeRequestAndLt: SearchKnowledgeRequestAndLt,
|
|
941
|
+
): string {
|
|
942
|
+
return JSON.stringify(
|
|
943
|
+
SearchKnowledgeRequestAndLt$outboundSchema.parse(
|
|
944
|
+
searchKnowledgeRequestAndLt,
|
|
945
|
+
),
|
|
946
|
+
);
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
/** @internal */
|
|
950
|
+
export type SearchKnowledgeRequestAndGte$Outbound = {
|
|
951
|
+
gte: number;
|
|
952
|
+
};
|
|
953
|
+
|
|
954
|
+
/** @internal */
|
|
955
|
+
export const SearchKnowledgeRequestAndGte$outboundSchema: z.ZodType<
|
|
956
|
+
SearchKnowledgeRequestAndGte$Outbound,
|
|
957
|
+
z.ZodTypeDef,
|
|
958
|
+
SearchKnowledgeRequestAndGte
|
|
959
|
+
> = z.object({
|
|
960
|
+
gte: z.number(),
|
|
961
|
+
});
|
|
962
|
+
|
|
963
|
+
export function searchKnowledgeRequestAndGteToJSON(
|
|
964
|
+
searchKnowledgeRequestAndGte: SearchKnowledgeRequestAndGte,
|
|
965
|
+
): string {
|
|
966
|
+
return JSON.stringify(
|
|
967
|
+
SearchKnowledgeRequestAndGte$outboundSchema.parse(
|
|
968
|
+
searchKnowledgeRequestAndGte,
|
|
969
|
+
),
|
|
970
|
+
);
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
/** @internal */
|
|
974
|
+
export type SearchKnowledgeRequestAndGt$Outbound = {
|
|
975
|
+
gt: number;
|
|
976
|
+
};
|
|
977
|
+
|
|
978
|
+
/** @internal */
|
|
979
|
+
export const SearchKnowledgeRequestAndGt$outboundSchema: z.ZodType<
|
|
980
|
+
SearchKnowledgeRequestAndGt$Outbound,
|
|
981
|
+
z.ZodTypeDef,
|
|
982
|
+
SearchKnowledgeRequestAndGt
|
|
983
|
+
> = z.object({
|
|
984
|
+
gt: z.number(),
|
|
985
|
+
});
|
|
986
|
+
|
|
987
|
+
export function searchKnowledgeRequestAndGtToJSON(
|
|
988
|
+
searchKnowledgeRequestAndGt: SearchKnowledgeRequestAndGt,
|
|
989
|
+
): string {
|
|
990
|
+
return JSON.stringify(
|
|
991
|
+
SearchKnowledgeRequestAndGt$outboundSchema.parse(
|
|
992
|
+
searchKnowledgeRequestAndGt,
|
|
993
|
+
),
|
|
994
|
+
);
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
/** @internal */
|
|
998
|
+
export type SearchKnowledgeRequestAndNe$Outbound = string | number | boolean;
|
|
999
|
+
|
|
1000
|
+
/** @internal */
|
|
1001
|
+
export const SearchKnowledgeRequestAndNe$outboundSchema: z.ZodType<
|
|
1002
|
+
SearchKnowledgeRequestAndNe$Outbound,
|
|
1003
|
+
z.ZodTypeDef,
|
|
1004
|
+
SearchKnowledgeRequestAndNe
|
|
1005
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1006
|
+
|
|
1007
|
+
export function searchKnowledgeRequestAndNeToJSON(
|
|
1008
|
+
searchKnowledgeRequestAndNe: SearchKnowledgeRequestAndNe,
|
|
1009
|
+
): string {
|
|
1010
|
+
return JSON.stringify(
|
|
1011
|
+
SearchKnowledgeRequestAndNe$outboundSchema.parse(
|
|
1012
|
+
searchKnowledgeRequestAndNe,
|
|
1013
|
+
),
|
|
1014
|
+
);
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
/** @internal */
|
|
1018
|
+
export type SearchKnowledgeRequestAndFilterByNe$Outbound = {
|
|
1019
|
+
ne: string | number | boolean;
|
|
1020
|
+
};
|
|
1021
|
+
|
|
1022
|
+
/** @internal */
|
|
1023
|
+
export const SearchKnowledgeRequestAndFilterByNe$outboundSchema: z.ZodType<
|
|
1024
|
+
SearchKnowledgeRequestAndFilterByNe$Outbound,
|
|
1025
|
+
z.ZodTypeDef,
|
|
1026
|
+
SearchKnowledgeRequestAndFilterByNe
|
|
1027
|
+
> = z.object({
|
|
1028
|
+
ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
1029
|
+
});
|
|
1030
|
+
|
|
1031
|
+
export function searchKnowledgeRequestAndFilterByNeToJSON(
|
|
1032
|
+
searchKnowledgeRequestAndFilterByNe: SearchKnowledgeRequestAndFilterByNe,
|
|
1033
|
+
): string {
|
|
1034
|
+
return JSON.stringify(
|
|
1035
|
+
SearchKnowledgeRequestAndFilterByNe$outboundSchema.parse(
|
|
1036
|
+
searchKnowledgeRequestAndFilterByNe,
|
|
1037
|
+
),
|
|
1038
|
+
);
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
/** @internal */
|
|
1042
|
+
export type SearchKnowledgeRequestAndEq$Outbound = string | number | boolean;
|
|
1043
|
+
|
|
1044
|
+
/** @internal */
|
|
1045
|
+
export const SearchKnowledgeRequestAndEq$outboundSchema: z.ZodType<
|
|
1046
|
+
SearchKnowledgeRequestAndEq$Outbound,
|
|
1047
|
+
z.ZodTypeDef,
|
|
1048
|
+
SearchKnowledgeRequestAndEq
|
|
1049
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1050
|
+
|
|
1051
|
+
export function searchKnowledgeRequestAndEqToJSON(
|
|
1052
|
+
searchKnowledgeRequestAndEq: SearchKnowledgeRequestAndEq,
|
|
1053
|
+
): string {
|
|
1054
|
+
return JSON.stringify(
|
|
1055
|
+
SearchKnowledgeRequestAndEq$outboundSchema.parse(
|
|
1056
|
+
searchKnowledgeRequestAndEq,
|
|
1057
|
+
),
|
|
1058
|
+
);
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
/** @internal */
|
|
1062
|
+
export type SearchKnowledgeRequestAndFilterByEq$Outbound = {
|
|
1063
|
+
eq: string | number | boolean;
|
|
1064
|
+
};
|
|
1065
|
+
|
|
1066
|
+
/** @internal */
|
|
1067
|
+
export const SearchKnowledgeRequestAndFilterByEq$outboundSchema: z.ZodType<
|
|
1068
|
+
SearchKnowledgeRequestAndFilterByEq$Outbound,
|
|
1069
|
+
z.ZodTypeDef,
|
|
1070
|
+
SearchKnowledgeRequestAndFilterByEq
|
|
1071
|
+
> = z.object({
|
|
1072
|
+
eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
1073
|
+
});
|
|
1074
|
+
|
|
1075
|
+
export function searchKnowledgeRequestAndFilterByEqToJSON(
|
|
1076
|
+
searchKnowledgeRequestAndFilterByEq: SearchKnowledgeRequestAndFilterByEq,
|
|
1077
|
+
): string {
|
|
1078
|
+
return JSON.stringify(
|
|
1079
|
+
SearchKnowledgeRequestAndFilterByEq$outboundSchema.parse(
|
|
1080
|
+
searchKnowledgeRequestAndFilterByEq,
|
|
1081
|
+
),
|
|
1082
|
+
);
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
/** @internal */
|
|
1086
|
+
export type FilterByAnd$Outbound =
|
|
1087
|
+
| SearchKnowledgeRequestAndFilterByEq$Outbound
|
|
1088
|
+
| SearchKnowledgeRequestAndFilterByNe$Outbound
|
|
1089
|
+
| SearchKnowledgeRequestAndGt$Outbound
|
|
1090
|
+
| SearchKnowledgeRequestAndGte$Outbound
|
|
1091
|
+
| SearchKnowledgeRequestAndLt$Outbound
|
|
1092
|
+
| SearchKnowledgeRequestAndLte$Outbound
|
|
1093
|
+
| SearchKnowledgeRequestAndFilterByIn$Outbound
|
|
1094
|
+
| SearchKnowledgeRequestAndFilterByNin$Outbound
|
|
1095
|
+
| AndExists$Outbound;
|
|
1096
|
+
|
|
1097
|
+
/** @internal */
|
|
1098
|
+
export const FilterByAnd$outboundSchema: z.ZodType<
|
|
1099
|
+
FilterByAnd$Outbound,
|
|
1100
|
+
z.ZodTypeDef,
|
|
1101
|
+
FilterByAnd
|
|
1102
|
+
> = z.union([
|
|
1103
|
+
z.lazy(() => SearchKnowledgeRequestAndFilterByEq$outboundSchema),
|
|
1104
|
+
z.lazy(() => SearchKnowledgeRequestAndFilterByNe$outboundSchema),
|
|
1105
|
+
z.lazy(() => SearchKnowledgeRequestAndGt$outboundSchema),
|
|
1106
|
+
z.lazy(() => SearchKnowledgeRequestAndGte$outboundSchema),
|
|
1107
|
+
z.lazy(() => SearchKnowledgeRequestAndLt$outboundSchema),
|
|
1108
|
+
z.lazy(() => SearchKnowledgeRequestAndLte$outboundSchema),
|
|
1109
|
+
z.lazy(() => SearchKnowledgeRequestAndFilterByIn$outboundSchema),
|
|
1110
|
+
z.lazy(() => SearchKnowledgeRequestAndFilterByNin$outboundSchema),
|
|
1111
|
+
z.lazy(() => AndExists$outboundSchema),
|
|
1112
|
+
]);
|
|
1113
|
+
|
|
1114
|
+
export function filterByAndToJSON(filterByAnd: FilterByAnd): string {
|
|
1115
|
+
return JSON.stringify(FilterByAnd$outboundSchema.parse(filterByAnd));
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
/** @internal */
|
|
1119
|
+
export type SearchKnowledgeRequestFilterByAnd$Outbound = {
|
|
1120
|
+
and: Array<
|
|
1121
|
+
{
|
|
1122
|
+
[k: string]:
|
|
1123
|
+
| SearchKnowledgeRequestAndFilterByEq$Outbound
|
|
1124
|
+
| SearchKnowledgeRequestAndFilterByNe$Outbound
|
|
1125
|
+
| SearchKnowledgeRequestAndGt$Outbound
|
|
1126
|
+
| SearchKnowledgeRequestAndGte$Outbound
|
|
1127
|
+
| SearchKnowledgeRequestAndLt$Outbound
|
|
1128
|
+
| SearchKnowledgeRequestAndLte$Outbound
|
|
1129
|
+
| SearchKnowledgeRequestAndFilterByIn$Outbound
|
|
1130
|
+
| SearchKnowledgeRequestAndFilterByNin$Outbound
|
|
1131
|
+
| AndExists$Outbound;
|
|
1132
|
+
}
|
|
1133
|
+
>;
|
|
1134
|
+
};
|
|
1135
|
+
|
|
1136
|
+
/** @internal */
|
|
1137
|
+
export const SearchKnowledgeRequestFilterByAnd$outboundSchema: z.ZodType<
|
|
1138
|
+
SearchKnowledgeRequestFilterByAnd$Outbound,
|
|
1139
|
+
z.ZodTypeDef,
|
|
1140
|
+
SearchKnowledgeRequestFilterByAnd
|
|
1141
|
+
> = z.object({
|
|
1142
|
+
and: z.array(
|
|
1143
|
+
z.record(z.union([
|
|
1144
|
+
z.lazy(() => SearchKnowledgeRequestAndFilterByEq$outboundSchema),
|
|
1145
|
+
z.lazy(() =>
|
|
1146
|
+
SearchKnowledgeRequestAndFilterByNe$outboundSchema
|
|
1147
|
+
),
|
|
1148
|
+
z.lazy(() => SearchKnowledgeRequestAndGt$outboundSchema),
|
|
1149
|
+
z.lazy(() => SearchKnowledgeRequestAndGte$outboundSchema),
|
|
1150
|
+
z.lazy(() => SearchKnowledgeRequestAndLt$outboundSchema),
|
|
1151
|
+
z.lazy(() => SearchKnowledgeRequestAndLte$outboundSchema),
|
|
1152
|
+
z.lazy(() => SearchKnowledgeRequestAndFilterByIn$outboundSchema),
|
|
1153
|
+
z.lazy(() => SearchKnowledgeRequestAndFilterByNin$outboundSchema),
|
|
1154
|
+
z.lazy(() => AndExists$outboundSchema),
|
|
1155
|
+
])),
|
|
1156
|
+
),
|
|
1157
|
+
});
|
|
1158
|
+
|
|
1159
|
+
export function searchKnowledgeRequestFilterByAndToJSON(
|
|
1160
|
+
searchKnowledgeRequestFilterByAnd: SearchKnowledgeRequestFilterByAnd,
|
|
1161
|
+
): string {
|
|
1162
|
+
return JSON.stringify(
|
|
1163
|
+
SearchKnowledgeRequestFilterByAnd$outboundSchema.parse(
|
|
1164
|
+
searchKnowledgeRequestFilterByAnd,
|
|
1165
|
+
),
|
|
1166
|
+
);
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
/** @internal */
|
|
1170
|
+
export type Exists$Outbound = {
|
|
1171
|
+
exists: boolean;
|
|
1172
|
+
};
|
|
1173
|
+
|
|
1174
|
+
/** @internal */
|
|
1175
|
+
export const Exists$outboundSchema: z.ZodType<
|
|
1176
|
+
Exists$Outbound,
|
|
1177
|
+
z.ZodTypeDef,
|
|
1178
|
+
Exists
|
|
1179
|
+
> = z.object({
|
|
1180
|
+
exists: z.boolean(),
|
|
1181
|
+
});
|
|
1182
|
+
|
|
1183
|
+
export function existsToJSON(exists: Exists): string {
|
|
1184
|
+
return JSON.stringify(Exists$outboundSchema.parse(exists));
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
/** @internal */
|
|
1188
|
+
export type OneNin$Outbound = string | number | boolean;
|
|
1189
|
+
|
|
1190
|
+
/** @internal */
|
|
1191
|
+
export const OneNin$outboundSchema: z.ZodType<
|
|
1192
|
+
OneNin$Outbound,
|
|
1193
|
+
z.ZodTypeDef,
|
|
1194
|
+
OneNin
|
|
1195
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1196
|
+
|
|
1197
|
+
export function oneNinToJSON(oneNin: OneNin): string {
|
|
1198
|
+
return JSON.stringify(OneNin$outboundSchema.parse(oneNin));
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
/** @internal */
|
|
1202
|
+
export type SearchKnowledgeRequest1Nin$Outbound = {
|
|
1203
|
+
nin: Array<string | number | boolean>;
|
|
1204
|
+
};
|
|
1205
|
+
|
|
1206
|
+
/** @internal */
|
|
1207
|
+
export const SearchKnowledgeRequest1Nin$outboundSchema: z.ZodType<
|
|
1208
|
+
SearchKnowledgeRequest1Nin$Outbound,
|
|
1209
|
+
z.ZodTypeDef,
|
|
1210
|
+
SearchKnowledgeRequest1Nin
|
|
1211
|
+
> = z.object({
|
|
1212
|
+
nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
1213
|
+
});
|
|
1214
|
+
|
|
1215
|
+
export function searchKnowledgeRequest1NinToJSON(
|
|
1216
|
+
searchKnowledgeRequest1Nin: SearchKnowledgeRequest1Nin,
|
|
1217
|
+
): string {
|
|
1218
|
+
return JSON.stringify(
|
|
1219
|
+
SearchKnowledgeRequest1Nin$outboundSchema.parse(searchKnowledgeRequest1Nin),
|
|
1220
|
+
);
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
/** @internal */
|
|
1224
|
+
export type OneIn$Outbound = string | number | boolean;
|
|
1225
|
+
|
|
1226
|
+
/** @internal */
|
|
1227
|
+
export const OneIn$outboundSchema: z.ZodType<
|
|
1228
|
+
OneIn$Outbound,
|
|
1229
|
+
z.ZodTypeDef,
|
|
1230
|
+
OneIn
|
|
1231
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1232
|
+
|
|
1233
|
+
export function oneInToJSON(oneIn: OneIn): string {
|
|
1234
|
+
return JSON.stringify(OneIn$outboundSchema.parse(oneIn));
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
/** @internal */
|
|
1238
|
+
export type SearchKnowledgeRequest1In$Outbound = {
|
|
1239
|
+
in: Array<string | number | boolean>;
|
|
1240
|
+
};
|
|
1241
|
+
|
|
1242
|
+
/** @internal */
|
|
1243
|
+
export const SearchKnowledgeRequest1In$outboundSchema: z.ZodType<
|
|
1244
|
+
SearchKnowledgeRequest1In$Outbound,
|
|
1245
|
+
z.ZodTypeDef,
|
|
1246
|
+
SearchKnowledgeRequest1In
|
|
1247
|
+
> = z.object({
|
|
1248
|
+
in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
1249
|
+
});
|
|
1250
|
+
|
|
1251
|
+
export function searchKnowledgeRequest1InToJSON(
|
|
1252
|
+
searchKnowledgeRequest1In: SearchKnowledgeRequest1In,
|
|
1253
|
+
): string {
|
|
1254
|
+
return JSON.stringify(
|
|
1255
|
+
SearchKnowledgeRequest1In$outboundSchema.parse(searchKnowledgeRequest1In),
|
|
1256
|
+
);
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
/** @internal */
|
|
1260
|
+
export type OneLte$Outbound = {
|
|
1261
|
+
lte: number;
|
|
1262
|
+
};
|
|
1263
|
+
|
|
1264
|
+
/** @internal */
|
|
1265
|
+
export const OneLte$outboundSchema: z.ZodType<
|
|
1266
|
+
OneLte$Outbound,
|
|
1267
|
+
z.ZodTypeDef,
|
|
1268
|
+
OneLte
|
|
1269
|
+
> = z.object({
|
|
1270
|
+
lte: z.number(),
|
|
1271
|
+
});
|
|
1272
|
+
|
|
1273
|
+
export function oneLteToJSON(oneLte: OneLte): string {
|
|
1274
|
+
return JSON.stringify(OneLte$outboundSchema.parse(oneLte));
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
/** @internal */
|
|
1278
|
+
export type OneLt$Outbound = {
|
|
1279
|
+
lt: number;
|
|
1280
|
+
};
|
|
1281
|
+
|
|
1282
|
+
/** @internal */
|
|
1283
|
+
export const OneLt$outboundSchema: z.ZodType<
|
|
1284
|
+
OneLt$Outbound,
|
|
1285
|
+
z.ZodTypeDef,
|
|
1286
|
+
OneLt
|
|
1287
|
+
> = z.object({
|
|
1288
|
+
lt: z.number(),
|
|
1289
|
+
});
|
|
1290
|
+
|
|
1291
|
+
export function oneLtToJSON(oneLt: OneLt): string {
|
|
1292
|
+
return JSON.stringify(OneLt$outboundSchema.parse(oneLt));
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
/** @internal */
|
|
1296
|
+
export type OneGte$Outbound = {
|
|
1297
|
+
gte: number;
|
|
1298
|
+
};
|
|
1299
|
+
|
|
1300
|
+
/** @internal */
|
|
1301
|
+
export const OneGte$outboundSchema: z.ZodType<
|
|
1302
|
+
OneGte$Outbound,
|
|
1303
|
+
z.ZodTypeDef,
|
|
1304
|
+
OneGte
|
|
1305
|
+
> = z.object({
|
|
1306
|
+
gte: z.number(),
|
|
1307
|
+
});
|
|
1308
|
+
|
|
1309
|
+
export function oneGteToJSON(oneGte: OneGte): string {
|
|
1310
|
+
return JSON.stringify(OneGte$outboundSchema.parse(oneGte));
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
/** @internal */
|
|
1314
|
+
export type OneGt$Outbound = {
|
|
1315
|
+
gt: number;
|
|
1316
|
+
};
|
|
1317
|
+
|
|
1318
|
+
/** @internal */
|
|
1319
|
+
export const OneGt$outboundSchema: z.ZodType<
|
|
1320
|
+
OneGt$Outbound,
|
|
1321
|
+
z.ZodTypeDef,
|
|
1322
|
+
OneGt
|
|
1323
|
+
> = z.object({
|
|
1324
|
+
gt: z.number(),
|
|
1325
|
+
});
|
|
1326
|
+
|
|
1327
|
+
export function oneGtToJSON(oneGt: OneGt): string {
|
|
1328
|
+
return JSON.stringify(OneGt$outboundSchema.parse(oneGt));
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
/** @internal */
|
|
1332
|
+
export type OneNe$Outbound = string | number | boolean;
|
|
1333
|
+
|
|
1334
|
+
/** @internal */
|
|
1335
|
+
export const OneNe$outboundSchema: z.ZodType<
|
|
1336
|
+
OneNe$Outbound,
|
|
1337
|
+
z.ZodTypeDef,
|
|
1338
|
+
OneNe
|
|
1339
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1340
|
+
|
|
1341
|
+
export function oneNeToJSON(oneNe: OneNe): string {
|
|
1342
|
+
return JSON.stringify(OneNe$outboundSchema.parse(oneNe));
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
/** @internal */
|
|
1346
|
+
export type SearchKnowledgeRequest1Ne$Outbound = {
|
|
1347
|
+
ne: string | number | boolean;
|
|
1348
|
+
};
|
|
1349
|
+
|
|
1350
|
+
/** @internal */
|
|
1351
|
+
export const SearchKnowledgeRequest1Ne$outboundSchema: z.ZodType<
|
|
1352
|
+
SearchKnowledgeRequest1Ne$Outbound,
|
|
1353
|
+
z.ZodTypeDef,
|
|
1354
|
+
SearchKnowledgeRequest1Ne
|
|
1355
|
+
> = z.object({
|
|
1356
|
+
ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
1357
|
+
});
|
|
1358
|
+
|
|
1359
|
+
export function searchKnowledgeRequest1NeToJSON(
|
|
1360
|
+
searchKnowledgeRequest1Ne: SearchKnowledgeRequest1Ne,
|
|
1361
|
+
): string {
|
|
1362
|
+
return JSON.stringify(
|
|
1363
|
+
SearchKnowledgeRequest1Ne$outboundSchema.parse(searchKnowledgeRequest1Ne),
|
|
1364
|
+
);
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
/** @internal */
|
|
1368
|
+
export type OneEq$Outbound = string | number | boolean;
|
|
1369
|
+
|
|
1370
|
+
/** @internal */
|
|
1371
|
+
export const OneEq$outboundSchema: z.ZodType<
|
|
1372
|
+
OneEq$Outbound,
|
|
1373
|
+
z.ZodTypeDef,
|
|
1374
|
+
OneEq
|
|
1375
|
+
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1376
|
+
|
|
1377
|
+
export function oneEqToJSON(oneEq: OneEq): string {
|
|
1378
|
+
return JSON.stringify(OneEq$outboundSchema.parse(oneEq));
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
/** @internal */
|
|
1382
|
+
export type SearchKnowledgeRequest1Eq$Outbound = {
|
|
1383
|
+
eq: string | number | boolean;
|
|
1384
|
+
};
|
|
1385
|
+
|
|
1386
|
+
/** @internal */
|
|
1387
|
+
export const SearchKnowledgeRequest1Eq$outboundSchema: z.ZodType<
|
|
1388
|
+
SearchKnowledgeRequest1Eq$Outbound,
|
|
1389
|
+
z.ZodTypeDef,
|
|
1390
|
+
SearchKnowledgeRequest1Eq
|
|
1391
|
+
> = z.object({
|
|
1392
|
+
eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
1393
|
+
});
|
|
1394
|
+
|
|
1395
|
+
export function searchKnowledgeRequest1EqToJSON(
|
|
1396
|
+
searchKnowledgeRequest1Eq: SearchKnowledgeRequest1Eq,
|
|
1397
|
+
): string {
|
|
1398
|
+
return JSON.stringify(
|
|
1399
|
+
SearchKnowledgeRequest1Eq$outboundSchema.parse(searchKnowledgeRequest1Eq),
|
|
1400
|
+
);
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
/** @internal */
|
|
1404
|
+
export type FilterBy1$Outbound =
|
|
1405
|
+
| SearchKnowledgeRequest1Eq$Outbound
|
|
1406
|
+
| SearchKnowledgeRequest1Ne$Outbound
|
|
1407
|
+
| OneGt$Outbound
|
|
1408
|
+
| OneGte$Outbound
|
|
1409
|
+
| OneLt$Outbound
|
|
1410
|
+
| OneLte$Outbound
|
|
1411
|
+
| SearchKnowledgeRequest1In$Outbound
|
|
1412
|
+
| SearchKnowledgeRequest1Nin$Outbound
|
|
1413
|
+
| Exists$Outbound;
|
|
1414
|
+
|
|
1415
|
+
/** @internal */
|
|
1416
|
+
export const FilterBy1$outboundSchema: z.ZodType<
|
|
1417
|
+
FilterBy1$Outbound,
|
|
1418
|
+
z.ZodTypeDef,
|
|
1419
|
+
FilterBy1
|
|
1420
|
+
> = z.union([
|
|
1421
|
+
z.lazy(() => SearchKnowledgeRequest1Eq$outboundSchema),
|
|
1422
|
+
z.lazy(() => SearchKnowledgeRequest1Ne$outboundSchema),
|
|
1423
|
+
z.lazy(() => OneGt$outboundSchema),
|
|
1424
|
+
z.lazy(() => OneGte$outboundSchema),
|
|
1425
|
+
z.lazy(() => OneLt$outboundSchema),
|
|
1426
|
+
z.lazy(() => OneLte$outboundSchema),
|
|
1427
|
+
z.lazy(() => SearchKnowledgeRequest1In$outboundSchema),
|
|
1428
|
+
z.lazy(() => SearchKnowledgeRequest1Nin$outboundSchema),
|
|
1429
|
+
z.lazy(() => Exists$outboundSchema),
|
|
1430
|
+
]);
|
|
1431
|
+
|
|
1432
|
+
export function filterBy1ToJSON(filterBy1: FilterBy1): string {
|
|
1433
|
+
return JSON.stringify(FilterBy1$outboundSchema.parse(filterBy1));
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
/** @internal */
|
|
1437
|
+
export type FilterBy$Outbound =
|
|
1438
|
+
| SearchKnowledgeRequestFilterByAnd$Outbound
|
|
1439
|
+
| SearchKnowledgeRequestFilterByOr$Outbound
|
|
1440
|
+
| {
|
|
1441
|
+
[k: string]:
|
|
1442
|
+
| SearchKnowledgeRequest1Eq$Outbound
|
|
1443
|
+
| SearchKnowledgeRequest1Ne$Outbound
|
|
1444
|
+
| OneGt$Outbound
|
|
1445
|
+
| OneGte$Outbound
|
|
1446
|
+
| OneLt$Outbound
|
|
1447
|
+
| OneLte$Outbound
|
|
1448
|
+
| SearchKnowledgeRequest1In$Outbound
|
|
1449
|
+
| SearchKnowledgeRequest1Nin$Outbound
|
|
1450
|
+
| Exists$Outbound;
|
|
1451
|
+
};
|
|
1452
|
+
|
|
1453
|
+
/** @internal */
|
|
1454
|
+
export const FilterBy$outboundSchema: z.ZodType<
|
|
1455
|
+
FilterBy$Outbound,
|
|
1456
|
+
z.ZodTypeDef,
|
|
1457
|
+
FilterBy
|
|
1458
|
+
> = z.union([
|
|
1459
|
+
z.lazy(() => SearchKnowledgeRequestFilterByAnd$outboundSchema),
|
|
1460
|
+
z.lazy(() => SearchKnowledgeRequestFilterByOr$outboundSchema),
|
|
1461
|
+
z.record(z.union([
|
|
1462
|
+
z.lazy(() => SearchKnowledgeRequest1Eq$outboundSchema),
|
|
1463
|
+
z.lazy(() => SearchKnowledgeRequest1Ne$outboundSchema),
|
|
1464
|
+
z.lazy(() => OneGt$outboundSchema),
|
|
1465
|
+
z.lazy(() => OneGte$outboundSchema),
|
|
1466
|
+
z.lazy(() => OneLt$outboundSchema),
|
|
1467
|
+
z.lazy(() => OneLte$outboundSchema),
|
|
1468
|
+
z.lazy(() => SearchKnowledgeRequest1In$outboundSchema),
|
|
1469
|
+
z.lazy(() => SearchKnowledgeRequest1Nin$outboundSchema),
|
|
1470
|
+
z.lazy(() => Exists$outboundSchema),
|
|
1471
|
+
])),
|
|
1472
|
+
]);
|
|
1473
|
+
|
|
1474
|
+
export function filterByToJSON(filterBy: FilterBy): string {
|
|
1475
|
+
return JSON.stringify(FilterBy$outboundSchema.parse(filterBy));
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
/** @internal */
|
|
1479
|
+
export type AgenticRagConfig2$Outbound = {
|
|
1480
|
+
model?: string | undefined;
|
|
1481
|
+
model_db_id: string;
|
|
1482
|
+
provider: string;
|
|
1483
|
+
integration_id?: string | null | undefined;
|
|
1484
|
+
};
|
|
1485
|
+
|
|
1486
|
+
/** @internal */
|
|
1487
|
+
export const AgenticRagConfig2$outboundSchema: z.ZodType<
|
|
1488
|
+
AgenticRagConfig2$Outbound,
|
|
1489
|
+
z.ZodTypeDef,
|
|
1490
|
+
AgenticRagConfig2
|
|
1491
|
+
> = z.object({
|
|
1492
|
+
model: z.string().optional(),
|
|
1493
|
+
modelDbId: z.string(),
|
|
1494
|
+
provider: z.string(),
|
|
1495
|
+
integrationId: z.nullable(z.string()).optional(),
|
|
1496
|
+
}).transform((v) => {
|
|
1497
|
+
return remap$(v, {
|
|
1498
|
+
modelDbId: "model_db_id",
|
|
1499
|
+
integrationId: "integration_id",
|
|
1500
|
+
});
|
|
1501
|
+
});
|
|
1502
|
+
|
|
1503
|
+
export function agenticRagConfig2ToJSON(
|
|
1504
|
+
agenticRagConfig2: AgenticRagConfig2,
|
|
1505
|
+
): string {
|
|
1506
|
+
return JSON.stringify(
|
|
1507
|
+
AgenticRagConfig2$outboundSchema.parse(agenticRagConfig2),
|
|
1508
|
+
);
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
/** @internal */
|
|
1512
|
+
export type AgenticRagConfig1$Outbound = {
|
|
1513
|
+
model: string;
|
|
1514
|
+
model_db_id?: string | undefined;
|
|
1515
|
+
provider?: string | undefined;
|
|
1516
|
+
integration_id?: string | null | undefined;
|
|
1517
|
+
};
|
|
1518
|
+
|
|
1519
|
+
/** @internal */
|
|
1520
|
+
export const AgenticRagConfig1$outboundSchema: z.ZodType<
|
|
1521
|
+
AgenticRagConfig1$Outbound,
|
|
1522
|
+
z.ZodTypeDef,
|
|
1523
|
+
AgenticRagConfig1
|
|
1524
|
+
> = z.object({
|
|
1525
|
+
model: z.string(),
|
|
1526
|
+
modelDbId: z.string().optional(),
|
|
1527
|
+
provider: z.string().optional(),
|
|
1528
|
+
integrationId: z.nullable(z.string()).optional(),
|
|
1529
|
+
}).transform((v) => {
|
|
1530
|
+
return remap$(v, {
|
|
1531
|
+
modelDbId: "model_db_id",
|
|
1532
|
+
integrationId: "integration_id",
|
|
1533
|
+
});
|
|
1534
|
+
});
|
|
1535
|
+
|
|
1536
|
+
export function agenticRagConfig1ToJSON(
|
|
1537
|
+
agenticRagConfig1: AgenticRagConfig1,
|
|
1538
|
+
): string {
|
|
1539
|
+
return JSON.stringify(
|
|
1540
|
+
AgenticRagConfig1$outboundSchema.parse(agenticRagConfig1),
|
|
1541
|
+
);
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
/** @internal */
|
|
1545
|
+
export type SearchKnowledgeRequestAgenticRagConfig$Outbound =
|
|
1546
|
+
| AgenticRagConfig2$Outbound
|
|
1547
|
+
| AgenticRagConfig1$Outbound;
|
|
1548
|
+
|
|
1549
|
+
/** @internal */
|
|
1550
|
+
export const SearchKnowledgeRequestAgenticRagConfig$outboundSchema: z.ZodType<
|
|
1551
|
+
SearchKnowledgeRequestAgenticRagConfig$Outbound,
|
|
1552
|
+
z.ZodTypeDef,
|
|
1553
|
+
SearchKnowledgeRequestAgenticRagConfig
|
|
1554
|
+
> = z.union([
|
|
1555
|
+
z.lazy(() => AgenticRagConfig2$outboundSchema),
|
|
1556
|
+
z.lazy(() => AgenticRagConfig1$outboundSchema),
|
|
1557
|
+
]);
|
|
1558
|
+
|
|
1559
|
+
export function searchKnowledgeRequestAgenticRagConfigToJSON(
|
|
1560
|
+
searchKnowledgeRequestAgenticRagConfig:
|
|
1561
|
+
SearchKnowledgeRequestAgenticRagConfig,
|
|
1562
|
+
): string {
|
|
1563
|
+
return JSON.stringify(
|
|
1564
|
+
SearchKnowledgeRequestAgenticRagConfig$outboundSchema.parse(
|
|
1565
|
+
searchKnowledgeRequestAgenticRagConfig,
|
|
1566
|
+
),
|
|
1567
|
+
);
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
/** @internal */
|
|
1571
|
+
export type SearchKnowledgeRequest$Outbound = {
|
|
1572
|
+
query: string;
|
|
1573
|
+
top_k?: number | undefined;
|
|
1574
|
+
threshold?: number | undefined;
|
|
1575
|
+
search_type?: string | undefined;
|
|
1576
|
+
filter_by?:
|
|
1577
|
+
| SearchKnowledgeRequestFilterByAnd$Outbound
|
|
1578
|
+
| SearchKnowledgeRequestFilterByOr$Outbound
|
|
1579
|
+
| {
|
|
1580
|
+
[k: string]:
|
|
1581
|
+
| SearchKnowledgeRequest1Eq$Outbound
|
|
1582
|
+
| SearchKnowledgeRequest1Ne$Outbound
|
|
1583
|
+
| OneGt$Outbound
|
|
1584
|
+
| OneGte$Outbound
|
|
1585
|
+
| OneLt$Outbound
|
|
1586
|
+
| OneLte$Outbound
|
|
1587
|
+
| SearchKnowledgeRequest1In$Outbound
|
|
1588
|
+
| SearchKnowledgeRequest1Nin$Outbound
|
|
1589
|
+
| Exists$Outbound;
|
|
1590
|
+
}
|
|
1591
|
+
| undefined;
|
|
1592
|
+
search_options?: SearchOptions$Outbound | undefined;
|
|
1593
|
+
rerank_config?: SearchRerankConfig$Outbound | undefined;
|
|
1594
|
+
agentic_rag_config?:
|
|
1595
|
+
| AgenticRagConfig2$Outbound
|
|
1596
|
+
| AgenticRagConfig1$Outbound
|
|
1597
|
+
| null
|
|
1598
|
+
| undefined;
|
|
1599
|
+
retrieval_config?: SearchRetrievalConfig$Outbound | undefined;
|
|
1600
|
+
};
|
|
1601
|
+
|
|
1602
|
+
/** @internal */
|
|
1603
|
+
export const SearchKnowledgeRequest$outboundSchema: z.ZodType<
|
|
1604
|
+
SearchKnowledgeRequest$Outbound,
|
|
1605
|
+
z.ZodTypeDef,
|
|
1606
|
+
SearchKnowledgeRequest
|
|
1607
|
+
> = z.object({
|
|
1608
|
+
query: z.string(),
|
|
1609
|
+
topK: z.number().int().optional(),
|
|
1610
|
+
threshold: z.number().optional(),
|
|
1611
|
+
searchType: SearchType$outboundSchema.optional(),
|
|
1612
|
+
filterBy: z.union([
|
|
1613
|
+
z.lazy(() => SearchKnowledgeRequestFilterByAnd$outboundSchema),
|
|
1614
|
+
z.lazy(() => SearchKnowledgeRequestFilterByOr$outboundSchema),
|
|
1615
|
+
z.record(
|
|
1616
|
+
z.union([
|
|
1617
|
+
z.lazy(() => SearchKnowledgeRequest1Eq$outboundSchema),
|
|
1618
|
+
z.lazy(() => SearchKnowledgeRequest1Ne$outboundSchema),
|
|
1619
|
+
z.lazy(() => OneGt$outboundSchema),
|
|
1620
|
+
z.lazy(() => OneGte$outboundSchema),
|
|
1621
|
+
z.lazy(() => OneLt$outboundSchema),
|
|
1622
|
+
z.lazy(() => OneLte$outboundSchema),
|
|
1623
|
+
z.lazy(() => SearchKnowledgeRequest1In$outboundSchema),
|
|
1624
|
+
z.lazy(() => SearchKnowledgeRequest1Nin$outboundSchema),
|
|
1625
|
+
z.lazy(() => Exists$outboundSchema),
|
|
1626
|
+
]),
|
|
1627
|
+
),
|
|
1628
|
+
]).optional(),
|
|
1629
|
+
searchOptions: SearchOptions$outboundSchema.optional(),
|
|
1630
|
+
rerankConfig: SearchRerankConfig$outboundSchema.optional(),
|
|
1631
|
+
agenticRagConfig: z.nullable(
|
|
1632
|
+
z.union([
|
|
1633
|
+
z.lazy(() => AgenticRagConfig2$outboundSchema),
|
|
1634
|
+
z.lazy(() => AgenticRagConfig1$outboundSchema),
|
|
1635
|
+
]),
|
|
1636
|
+
).optional(),
|
|
1637
|
+
retrievalConfig: SearchRetrievalConfig$outboundSchema.optional(),
|
|
1638
|
+
}).transform((v) => {
|
|
1639
|
+
return remap$(v, {
|
|
1640
|
+
topK: "top_k",
|
|
1641
|
+
searchType: "search_type",
|
|
1642
|
+
filterBy: "filter_by",
|
|
1643
|
+
searchOptions: "search_options",
|
|
1644
|
+
rerankConfig: "rerank_config",
|
|
1645
|
+
agenticRagConfig: "agentic_rag_config",
|
|
1646
|
+
retrievalConfig: "retrieval_config",
|
|
1647
|
+
});
|
|
1648
|
+
});
|
|
1649
|
+
|
|
1650
|
+
export function searchKnowledgeRequestToJSON(
|
|
1651
|
+
searchKnowledgeRequest: SearchKnowledgeRequest,
|
|
1652
|
+
): string {
|
|
1653
|
+
return JSON.stringify(
|
|
1654
|
+
SearchKnowledgeRequest$outboundSchema.parse(searchKnowledgeRequest),
|
|
1655
|
+
);
|
|
1656
|
+
}
|