@orq-ai/node 4.15.0-rc.2 → 4.15.0-rc.21
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/FUNCTIONS.md +3 -3
- package/README.md +101 -90
- package/examples/{evalsAll.example.ts → deploymentsList.example.ts} +2 -2
- package/funcs/annotationQueuesAddItems.d.ts +3 -2
- package/funcs/annotationQueuesAddItems.d.ts.map +1 -1
- package/funcs/annotationQueuesAddItems.js +6 -4
- package/funcs/annotationQueuesAddItems.js.map +1 -1
- package/funcs/annotationQueuesClear.d.ts +4 -3
- package/funcs/annotationQueuesClear.d.ts.map +1 -1
- package/funcs/annotationQueuesClear.js +5 -5
- package/funcs/annotationQueuesClear.js.map +1 -1
- package/funcs/annotationQueuesCreate.d.ts +3 -3
- package/funcs/annotationQueuesCreate.d.ts.map +1 -1
- package/funcs/annotationQueuesCreate.js +5 -8
- package/funcs/annotationQueuesCreate.js.map +1 -1
- package/funcs/annotationQueuesDelete.d.ts +3 -2
- package/funcs/annotationQueuesDelete.d.ts.map +1 -1
- package/funcs/annotationQueuesDelete.js +4 -4
- package/funcs/annotationQueuesDelete.js.map +1 -1
- package/funcs/annotationQueuesList.d.ts +3 -2
- package/funcs/annotationQueuesList.d.ts.map +1 -1
- package/funcs/annotationQueuesList.js +3 -2
- package/funcs/annotationQueuesList.js.map +1 -1
- package/funcs/annotationQueuesListItems.d.ts +3 -2
- package/funcs/annotationQueuesListItems.d.ts.map +1 -1
- package/funcs/annotationQueuesListItems.js +3 -2
- package/funcs/annotationQueuesListItems.js.map +1 -1
- package/funcs/annotationQueuesRemoveItems.d.ts +4 -3
- package/funcs/annotationQueuesRemoveItems.d.ts.map +1 -1
- package/funcs/annotationQueuesRemoveItems.js +8 -6
- package/funcs/annotationQueuesRemoveItems.js.map +1 -1
- package/funcs/annotationQueuesRetrieve.d.ts +3 -2
- package/funcs/annotationQueuesRetrieve.d.ts.map +1 -1
- package/funcs/annotationQueuesRetrieve.js +3 -2
- package/funcs/annotationQueuesRetrieve.js.map +1 -1
- package/funcs/annotationQueuesRetrieveItem.d.ts +2 -3
- package/funcs/annotationQueuesRetrieveItem.d.ts.map +1 -1
- package/funcs/annotationQueuesRetrieveItem.js +2 -3
- package/funcs/annotationQueuesRetrieveItem.js.map +1 -1
- package/funcs/annotationQueuesUpdate.d.ts +4 -3
- package/funcs/annotationQueuesUpdate.d.ts.map +1 -1
- package/funcs/annotationQueuesUpdate.js +7 -4
- package/funcs/annotationQueuesUpdate.js.map +1 -1
- package/funcs/auditLogsQuery.d.ts +17 -0
- package/funcs/auditLogsQuery.d.ts.map +1 -0
- package/funcs/{deploymentsInvoke.js → auditLogsQuery.js} +9 -10
- package/funcs/auditLogsQuery.js.map +1 -0
- package/funcs/evalsAll.d.ts +2 -2
- package/funcs/evalsAll.d.ts.map +1 -1
- package/funcs/evalsAll.js +2 -5
- package/funcs/evalsAll.js.map +1 -1
- package/funcs/evalsCreate.d.ts +2 -2
- package/funcs/evalsCreate.d.ts.map +1 -1
- package/funcs/evalsCreate.js +5 -20
- package/funcs/evalsCreate.js.map +1 -1
- package/funcs/evalsDelete.d.ts +2 -2
- package/funcs/evalsDelete.d.ts.map +1 -1
- package/funcs/evalsDelete.js +2 -6
- package/funcs/evalsDelete.js.map +1 -1
- package/funcs/evalsGet.d.ts +2 -2
- package/funcs/evalsGet.d.ts.map +1 -1
- package/funcs/evalsGet.js +2 -5
- package/funcs/evalsGet.js.map +1 -1
- package/funcs/{deploymentsInvoke.d.ts → evalsGetVersion.d.ts} +4 -4
- package/funcs/evalsGetVersion.d.ts.map +1 -0
- package/funcs/evalsGetVersion.js +125 -0
- package/funcs/evalsGetVersion.js.map +1 -0
- package/funcs/evalsListVersions.d.ts +3 -3
- package/funcs/evalsListVersions.d.ts.map +1 -1
- package/funcs/evalsListVersions.js +5 -8
- package/funcs/evalsListVersions.js.map +1 -1
- package/funcs/evalsUpdate.d.ts +2 -2
- package/funcs/evalsUpdate.d.ts.map +1 -1
- package/funcs/evalsUpdate.js +2 -5
- package/funcs/evalsUpdate.js.map +1 -1
- package/funcs/knowledgePreviewChunks.d.ts +18 -0
- package/funcs/knowledgePreviewChunks.d.ts.map +1 -0
- package/funcs/{deploymentsStream.js → knowledgePreviewChunks.js} +18 -25
- package/funcs/knowledgePreviewChunks.js.map +1 -0
- package/funcs/logsListFacets.d.ts +2 -3
- package/funcs/logsListFacets.d.ts.map +1 -1
- package/funcs/logsListFacets.js +5 -12
- package/funcs/logsListFacets.js.map +1 -1
- package/funcs/reportingQuery.d.ts +1 -1
- package/funcs/reportingQuery.js +1 -1
- package/funcs/tracesAggregate.d.ts +1 -1
- package/funcs/tracesAggregate.js +1 -1
- package/funcs/workspacesGet.d.ts +18 -0
- package/funcs/workspacesGet.d.ts.map +1 -0
- package/funcs/workspacesGet.js +121 -0
- package/funcs/workspacesGet.js.map +1 -0
- package/funcs/workspacesList.d.ts +18 -0
- package/funcs/workspacesList.d.ts.map +1 -0
- package/funcs/workspacesList.js +121 -0
- package/funcs/workspacesList.js.map +1 -0
- package/funcs/{deploymentsStream.d.ts → workspacesUpdate.d.ts} +5 -5
- package/funcs/workspacesUpdate.d.ts.map +1 -0
- package/funcs/workspacesUpdate.js +124 -0
- package/funcs/workspacesUpdate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/encodings.d.ts +10 -9
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +29 -13
- package/lib/encodings.js.map +1 -1
- package/models/components/addannotationqueueitemsrequest.d.ts +16 -0
- package/models/components/addannotationqueueitemsrequest.d.ts.map +1 -0
- package/models/components/addannotationqueueitemsrequest.js +50 -0
- package/models/components/addannotationqueueitemsrequest.js.map +1 -0
- package/models/components/addannotationqueueitemsresponse.d.ts +14 -0
- package/models/components/addannotationqueueitemsresponse.d.ts.map +1 -0
- package/models/components/addannotationqueueitemsresponse.js +51 -0
- package/models/components/addannotationqueueitemsresponse.js.map +1 -0
- package/models/components/agentresponserequest.d.ts +20 -20
- package/models/components/agentresponserequest.d.ts.map +1 -1
- package/models/components/agentresponserequest.js +20 -20
- package/models/components/agentresponserequest.js.map +1 -1
- package/models/components/agentthoughtstreamingevent.d.ts +12 -12
- package/models/components/agentthoughtstreamingevent.d.ts.map +1 -1
- package/models/components/agentthoughtstreamingevent.js +17 -17
- package/models/components/agentthoughtstreamingevent.js.map +1 -1
- package/models/components/annotationqueue.d.ts +54 -0
- package/models/components/annotationqueue.d.ts.map +1 -0
- package/models/components/{evaluatorresponsehttp.js → annotationqueue.js} +22 -25
- package/models/components/annotationqueue.js.map +1 -0
- package/models/components/annotationqueueitem.d.ts +41 -0
- package/models/components/annotationqueueitem.d.ts.map +1 -0
- package/models/components/{evaluatorresponsepython.js → annotationqueueitem.js} +19 -18
- package/models/components/annotationqueueitem.js.map +1 -0
- package/models/components/annotationqueueitemref.d.ts +17 -0
- package/models/components/annotationqueueitemref.d.ts.map +1 -0
- package/models/{errors/getevals.js → components/annotationqueueitemref.js} +14 -26
- package/models/components/annotationqueueitemref.js.map +1 -0
- package/models/components/annotationqueuemetadata.d.ts +16 -0
- package/models/components/annotationqueuemetadata.d.ts.map +1 -0
- package/models/components/{evaluatorresponsejsonschema.js → annotationqueuemetadata.js} +8 -20
- package/models/components/annotationqueuemetadata.js.map +1 -0
- package/models/components/auditlog.d.ts +60 -0
- package/models/components/auditlog.d.ts.map +1 -0
- package/models/components/{evaluatorresponseragas.js → auditlog.js} +33 -36
- package/models/components/auditlog.js.map +1 -0
- package/models/components/auditlogfilter.d.ts +33 -0
- package/models/components/auditlogfilter.d.ts.map +1 -0
- package/models/components/auditlogfilter.js +52 -0
- package/models/components/auditlogfilter.js.map +1 -0
- package/models/components/auditlogfilterquery.d.ts +29 -0
- package/models/components/auditlogfilterquery.d.ts.map +1 -0
- package/models/components/auditlogfilterquery.js +52 -0
- package/models/components/auditlogfilterquery.js.map +1 -0
- package/models/components/auditlogpagination.d.ts +28 -0
- package/models/components/auditlogpagination.d.ts.map +1 -0
- package/models/{errors/createeval.js → components/auditlogpagination.js} +15 -26
- package/models/components/auditlogpagination.js.map +1 -0
- package/models/components/auditlogsort.d.ts +23 -0
- package/models/components/auditlogsort.d.ts.map +1 -0
- package/models/components/auditlogsort.js +50 -0
- package/models/components/auditlogsort.js.map +1 -0
- package/models/components/budgetmatch.d.ts +1 -7
- package/models/components/budgetmatch.d.ts.map +1 -1
- package/models/components/budgetmatch.js.map +1 -1
- package/models/components/budgetscope.d.ts +1 -5
- package/models/components/budgetscope.d.ts.map +1 -1
- package/models/components/budgetscope.js.map +1 -1
- package/models/components/budgetscoperestresponse.d.ts +1 -5
- package/models/components/budgetscoperestresponse.d.ts.map +1 -1
- package/models/components/budgetscoperestresponse.js.map +1 -1
- package/models/components/chunkingconfiguration.d.ts +263 -4
- package/models/components/chunkingconfiguration.d.ts.map +1 -1
- package/models/components/chunkingconfiguration.js +144 -1
- package/models/components/chunkingconfiguration.js.map +1 -1
- package/models/components/clearannotationqueueresponse.d.ts +8 -0
- package/models/components/clearannotationqueueresponse.d.ts.map +1 -0
- package/models/components/clearannotationqueueresponse.js +48 -0
- package/models/components/clearannotationqueueresponse.js.map +1 -0
- package/models/components/createannotationqueuerequest.d.ts +25 -0
- package/models/components/createannotationqueuerequest.d.ts.map +1 -0
- package/models/components/createannotationqueuerequest.js +57 -0
- package/models/components/createannotationqueuerequest.js.map +1 -0
- package/models/components/createapikeyrequest.d.ts +12 -0
- package/models/components/createapikeyrequest.d.ts.map +1 -1
- package/models/components/createapikeyrequest.js +1 -0
- package/models/components/createapikeyrequest.js.map +1 -1
- package/models/components/createmcpgatewayrequest.d.ts +6 -0
- package/models/components/createmcpgatewayrequest.d.ts.map +1 -1
- package/models/components/createmcpgatewayrequest.js +2 -0
- package/models/components/createmcpgatewayrequest.js.map +1 -1
- package/models/components/datasourcesservicepreviewchunksrequest.d.ts +15 -0
- package/models/components/datasourcesservicepreviewchunksrequest.d.ts.map +1 -0
- package/models/{errors/geteval.js → components/datasourcesservicepreviewchunksrequest.js} +15 -26
- package/models/components/datasourcesservicepreviewchunksrequest.js.map +1 -0
- package/models/components/datasourcesservicepreviewchunksresponse.d.ts +13 -0
- package/models/components/datasourcesservicepreviewchunksresponse.d.ts.map +1 -0
- package/models/components/datasourcesservicepreviewchunksresponse.js +53 -0
- package/models/components/datasourcesservicepreviewchunksresponse.js.map +1 -0
- package/models/components/deleteannotationqueueresponse.d.ts +8 -0
- package/models/components/deleteannotationqueueresponse.d.ts.map +1 -0
- package/models/components/deleteannotationqueueresponse.js +48 -0
- package/models/components/deleteannotationqueueresponse.js.map +1 -0
- package/models/components/deleteevaluatorresponse.d.ts +8 -0
- package/models/components/deleteevaluatorresponse.d.ts.map +1 -0
- package/models/components/deleteevaluatorresponse.js +48 -0
- package/models/components/deleteevaluatorresponse.js.map +1 -0
- package/models/components/evaluationcontext.d.ts +6 -6
- package/models/components/evaluationcontext.d.ts.map +1 -1
- package/models/components/evaluationcontext.js +6 -7
- package/models/components/evaluationcontext.js.map +1 -1
- package/models/components/evaluatordocumentresponse.d.ts +14 -0
- package/models/components/evaluatordocumentresponse.d.ts.map +1 -0
- package/models/components/evaluatordocumentresponse.js +56 -0
- package/models/components/evaluatordocumentresponse.js.map +1 -0
- package/models/components/filesystemtoolinput.d.ts +39 -9
- package/models/components/filesystemtoolinput.d.ts.map +1 -1
- package/models/components/filesystemtoolinput.js +28 -2
- package/models/components/filesystemtoolinput.js.map +1 -1
- package/models/components/getevaluatorversionresponse.d.ts +20 -0
- package/models/components/getevaluatorversionresponse.d.ts.map +1 -0
- package/models/components/getevaluatorversionresponse.js +57 -0
- package/models/components/getevaluatorversionresponse.js.map +1 -0
- package/models/components/getuploadfileurlresponse.d.ts +4 -0
- package/models/components/getuploadfileurlresponse.d.ts.map +1 -1
- package/models/components/getuploadfileurlresponse.js +1 -0
- package/models/components/getuploadfileurlresponse.js.map +1 -1
- package/models/components/getworkspaceresponse.d.ts +11 -0
- package/models/components/getworkspaceresponse.d.ts.map +1 -0
- package/models/components/getworkspaceresponse.js +51 -0
- package/models/components/getworkspaceresponse.js.map +1 -0
- package/models/components/index.d.ts +41 -9
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +41 -9
- package/models/components/index.js.map +1 -1
- package/models/components/listannotationqueueitemsresponse.d.ts +22 -0
- package/models/components/listannotationqueueitemsresponse.d.ts.map +1 -0
- package/models/components/{evaluatorresponsetypescript.js → listannotationqueueitemsresponse.js} +11 -20
- package/models/components/listannotationqueueitemsresponse.js.map +1 -0
- package/models/components/listannotationqueuesresponse.d.ts +22 -0
- package/models/components/listannotationqueuesresponse.d.ts.map +1 -0
- package/models/components/listannotationqueuesresponse.js +58 -0
- package/models/components/listannotationqueuesresponse.js.map +1 -0
- package/models/components/listevaluatorsresponse.d.ts +16 -0
- package/models/components/listevaluatorsresponse.d.ts.map +1 -0
- package/models/components/listevaluatorsresponse.js +63 -0
- package/models/components/listevaluatorsresponse.js.map +1 -0
- package/models/components/listevaluatorversionsresponse.d.ts +16 -0
- package/models/components/listevaluatorversionsresponse.d.ts.map +1 -0
- package/models/components/listevaluatorversionsresponse.js +63 -0
- package/models/components/listevaluatorversionsresponse.js.map +1 -0
- package/models/{operations/listlogfacets.d.ts → components/listlogfacetsrequest.d.ts} +8 -1
- package/models/components/listlogfacetsrequest.d.ts.map +1 -0
- package/models/{operations/listlogfacets.js → components/listlogfacetsrequest.js} +6 -1
- package/models/components/listlogfacetsrequest.js.map +1 -0
- package/models/components/listworkspacesresponse.d.ts +13 -0
- package/models/components/listworkspacesresponse.d.ts.map +1 -0
- package/models/components/listworkspacesresponse.js +58 -0
- package/models/components/listworkspacesresponse.js.map +1 -0
- package/models/components/mcpgateway.d.ts +5 -0
- package/models/components/mcpgateway.d.ts.map +1 -1
- package/models/components/mcpgateway.js +2 -0
- package/models/components/mcpgateway.js.map +1 -1
- package/models/components/mcpgatewayplugin.d.ts +30 -0
- package/models/components/mcpgatewayplugin.d.ts.map +1 -0
- package/models/components/mcpgatewayplugin.js +77 -0
- package/models/components/mcpgatewayplugin.js.map +1 -0
- package/models/components/modelmetadata.d.ts +2 -0
- package/models/components/modelmetadata.d.ts.map +1 -1
- package/models/components/modelmetadata.js +4 -0
- package/models/components/modelmetadata.js.map +1 -1
- package/models/components/modelsconfig.d.ts +5 -5
- package/models/components/modelsconfig.d.ts.map +1 -1
- package/models/components/modelsconfig.js +6 -6
- package/models/components/modelsconfig.js.map +1 -1
- package/models/components/monitorfilter.d.ts +8 -0
- package/models/components/monitorfilter.d.ts.map +1 -1
- package/models/components/monitorfilter.js +8 -0
- package/models/components/monitorfilter.js.map +1 -1
- package/models/components/piiredactionconfig.d.ts +7 -9
- package/models/components/piiredactionconfig.d.ts.map +1 -1
- package/models/components/piiredactionconfig.js.map +1 -1
- package/models/components/previewchunk.d.ts +11 -0
- package/models/components/previewchunk.d.ts.map +1 -0
- package/models/components/previewchunk.js +56 -0
- package/models/components/previewchunk.js.map +1 -0
- package/models/components/previewchunksmetadata.d.ts +15 -0
- package/models/components/previewchunksmetadata.d.ts.map +1 -0
- package/models/components/previewchunksmetadata.js +65 -0
- package/models/components/previewchunksmetadata.js.map +1 -0
- package/models/components/pricing.d.ts +4 -0
- package/models/components/pricing.d.ts.map +1 -1
- package/models/components/pricing.js +8 -0
- package/models/components/pricing.js.map +1 -1
- package/models/components/pricingvariant.d.ts +4 -0
- package/models/components/pricingvariant.d.ts.map +1 -1
- package/models/components/pricingvariant.js +8 -0
- package/models/components/pricingvariant.js.map +1 -1
- package/models/components/queryauditlogsrequest.d.ts +31 -0
- package/models/components/queryauditlogsrequest.d.ts.map +1 -0
- package/models/components/queryauditlogsrequest.js +54 -0
- package/models/components/queryauditlogsrequest.js.map +1 -0
- package/models/components/queryauditlogsresponse.d.ts +25 -0
- package/models/components/queryauditlogsresponse.d.ts.map +1 -0
- package/models/components/queryauditlogsresponse.js +60 -0
- package/models/components/queryauditlogsresponse.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/components/removeannotationqueueitemsrequest.d.ts +15 -0
- package/models/components/removeannotationqueueitemsrequest.d.ts.map +1 -0
- package/models/components/removeannotationqueueitemsrequest.js +54 -0
- package/models/components/removeannotationqueueitemsrequest.js.map +1 -0
- package/models/components/removeannotationqueueitemsresponse.d.ts +8 -0
- package/models/components/removeannotationqueueitemsresponse.d.ts.map +1 -0
- package/models/{errors/updateeval.js → components/removeannotationqueueitemsresponse.js} +8 -28
- package/models/components/removeannotationqueueitemsresponse.js.map +1 -0
- package/models/components/searchknowledgerequest.d.ts +184 -184
- package/models/components/searchknowledgerequest.d.ts.map +1 -1
- package/models/components/searchknowledgerequest.js +229 -217
- package/models/components/searchknowledgerequest.js.map +1 -1
- package/models/components/textcontentpartschema.d.ts +10 -10
- package/models/components/textcontentpartschema.d.ts.map +1 -1
- package/models/components/textcontentpartschema.js +11 -11
- package/models/components/textcontentpartschema.js.map +1 -1
- package/models/components/updateannotationqueuerequest.d.ts +30 -0
- package/models/components/updateannotationqueuerequest.d.ts.map +1 -0
- package/models/components/updateannotationqueuerequest.js +59 -0
- package/models/components/updateannotationqueuerequest.js.map +1 -0
- package/models/components/updatemcpgatewayrequest.d.ts +6 -0
- package/models/components/updatemcpgatewayrequest.d.ts.map +1 -1
- package/models/components/updatemcpgatewayrequest.js +2 -0
- package/models/components/updatemcpgatewayrequest.js.map +1 -1
- package/models/components/updateworkspacerequest.d.ts +29 -0
- package/models/components/updateworkspacerequest.d.ts.map +1 -0
- package/models/components/updateworkspacerequest.js +69 -0
- package/models/components/updateworkspacerequest.js.map +1 -0
- package/models/components/updateworkspaceresponse.d.ts +11 -0
- package/models/components/updateworkspaceresponse.d.ts.map +1 -0
- package/models/components/updateworkspaceresponse.js +51 -0
- package/models/components/updateworkspaceresponse.js.map +1 -0
- package/models/components/upsertchunk.d.ts +5 -0
- package/models/components/upsertchunk.d.ts.map +1 -1
- package/models/components/upsertchunk.js +6 -0
- package/models/components/upsertchunk.js.map +1 -1
- package/models/components/value.d.ts +17 -0
- package/models/components/value.d.ts.map +1 -0
- package/models/components/value.js +54 -0
- package/models/components/value.js.map +1 -0
- package/models/components/workspace.d.ts +33 -0
- package/models/components/workspace.d.ts.map +1 -0
- package/models/components/workspace.js +88 -0
- package/models/components/workspace.js.map +1 -0
- package/models/components/workspacecapabilities.d.ts +11 -0
- package/models/components/workspacecapabilities.d.ts.map +1 -0
- package/models/components/workspacecapabilities.js +51 -0
- package/models/components/workspacecapabilities.js.map +1 -0
- package/models/components/workspaceorganization.d.ts +11 -0
- package/models/components/workspaceorganization.d.ts.map +1 -0
- package/models/components/workspaceorganization.js +51 -0
- package/models/components/workspaceorganization.js.map +1 -0
- package/models/components/workspacesettingsfields.d.ts +39 -0
- package/models/components/workspacesettingsfields.d.ts.map +1 -0
- package/models/components/workspacesettingsfields.js +99 -0
- package/models/components/workspacesettingsfields.js.map +1 -0
- package/models/errors/index.d.ts +0 -6
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -6
- package/models/errors/index.js.map +1 -1
- package/models/operations/addannotationqueueitems.d.ts +3 -60
- package/models/operations/addannotationqueueitems.d.ts.map +1 -1
- package/models/operations/addannotationqueueitems.js +4 -55
- package/models/operations/addannotationqueueitems.js.map +1 -1
- package/models/operations/createagentrequest.d.ts +12 -12
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +11 -12
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createchatcompletion.d.ts +58 -58
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +80 -81
- package/models/operations/createchatcompletion.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createeval.d.ts +2 -312
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +2 -264
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createprompt.d.ts +14 -12
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +16 -13
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createtool.d.ts +24 -24
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +29 -29
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +8 -8
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +10 -10
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deployments.d.ts +18 -16
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +20 -16
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/getallprompts.d.ts +2 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +2 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +4 -4
- package/models/operations/geteval.d.ts +0 -814
- package/models/operations/geteval.d.ts.map +1 -1
- package/models/operations/geteval.js +1 -1252
- package/models/operations/geteval.js.map +1 -1
- package/models/operations/getevals.d.ts +3 -41
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +3 -54
- package/models/operations/getevals.js.map +1 -1
- package/models/operations/getevalversion.d.ts +14 -0
- package/models/operations/getevalversion.d.ts.map +1 -0
- package/models/operations/getevalversion.js +55 -0
- package/models/operations/getevalversion.js.map +1 -0
- package/models/operations/getoneprompt.d.ts +2 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +2 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +2 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +2 -0
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/index.d.ts +6 -5
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +6 -5
- package/models/operations/index.js.map +1 -1
- package/models/operations/listannotationqueueitems.d.ts +4 -72
- package/models/operations/listannotationqueueitems.d.ts.map +1 -1
- package/models/operations/listannotationqueueitems.js +2 -80
- package/models/operations/listannotationqueueitems.js.map +1 -1
- package/models/operations/listannotationqueues.d.ts +6 -81
- package/models/operations/listannotationqueues.d.ts.map +1 -1
- package/models/operations/listannotationqueues.js +2 -63
- package/models/operations/listannotationqueues.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listevalversions.d.ts +21 -0
- package/models/operations/listevalversions.d.ts.map +1 -0
- package/models/operations/listevalversions.js +58 -0
- package/models/operations/listevalversions.js.map +1 -0
- package/models/operations/listpromptversions.d.ts +2 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +2 -0
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/parse.d.ts +4 -4
- package/models/operations/parse.d.ts.map +1 -1
- package/models/operations/parse.js +4 -4
- package/models/operations/parse.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.d.ts +6 -6
- package/models/operations/postv2feedbackevaluation.d.ts.map +1 -1
- package/models/operations/postv2feedbackevaluation.js +10 -10
- package/models/operations/postv2feedbackevaluation.js.map +1 -1
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/previewdatasourcechunks.d.ts +15 -0
- package/models/operations/previewdatasourcechunks.d.ts.map +1 -0
- package/models/operations/previewdatasourcechunks.js +57 -0
- package/models/operations/previewdatasourcechunks.js.map +1 -0
- package/models/operations/removeannotationqueueitems.d.ts +3 -15
- package/models/operations/removeannotationqueueitems.d.ts.map +1 -1
- package/models/operations/removeannotationqueueitems.js +4 -15
- package/models/operations/removeannotationqueueitems.js.map +1 -1
- package/models/operations/retrieveannotationqueue.d.ts +0 -60
- package/models/operations/retrieveannotationqueue.d.ts.map +1 -1
- package/models/operations/retrieveannotationqueue.js +1 -43
- package/models/operations/retrieveannotationqueue.js.map +1 -1
- package/models/operations/retrieveannotationqueueitem.d.ts +9 -0
- package/models/operations/retrieveannotationqueueitem.d.ts.map +1 -1
- package/models/operations/retrieveannotationqueueitem.js +8 -1
- package/models/operations/retrieveannotationqueueitem.js.map +1 -1
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updateagent.d.ts +16 -16
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +17 -17
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updateannotationqueue.d.ts +3 -90
- package/models/operations/updateannotationqueue.d.ts.map +1 -1
- package/models/operations/updateannotationqueue.js +4 -63
- package/models/operations/updateannotationqueue.js.map +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updateeval.d.ts +4 -201
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +3 -160
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updateprompt.d.ts +2 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +2 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +4 -4
- package/models/operations/workspaceget.d.ts +12 -0
- package/models/operations/workspaceget.d.ts.map +1 -0
- package/models/operations/workspaceget.js +49 -0
- package/models/operations/workspaceget.js.map +1 -0
- package/models/operations/workspacelist.d.ts +16 -0
- package/models/operations/workspacelist.d.ts.map +1 -0
- package/models/operations/workspacelist.js +57 -0
- package/models/operations/workspacelist.js.map +1 -0
- package/models/operations/workspaceupdate.d.ts +15 -0
- package/models/operations/workspaceupdate.d.ts.map +1 -0
- package/models/operations/workspaceupdate.js +56 -0
- package/models/operations/workspaceupdate.js.map +1 -0
- package/package.json +3 -3
- package/sdk/annotationqueues.d.ts +24 -24
- package/sdk/annotationqueues.d.ts.map +1 -1
- package/sdk/annotationqueues.js +18 -18
- package/sdk/annotationqueues.js.map +1 -1
- package/sdk/auditlogs.d.ts +12 -0
- package/sdk/auditlogs.d.ts.map +1 -0
- package/sdk/auditlogs.js +22 -0
- package/sdk/auditlogs.js.map +1 -0
- package/sdk/deployments.d.ts +0 -16
- package/sdk/deployments.d.ts.map +1 -1
- package/sdk/deployments.js +0 -20
- package/sdk/deployments.js.map +1 -1
- package/sdk/evals.d.ts +20 -13
- package/sdk/evals.d.ts.map +1 -1
- package/sdk/evals.js +22 -12
- package/sdk/evals.js.map +1 -1
- package/sdk/knowledge.d.ts +7 -0
- package/sdk/knowledge.d.ts.map +1 -1
- package/sdk/knowledge.js +10 -0
- package/sdk/knowledge.js.map +1 -1
- package/sdk/logs.d.ts +2 -2
- package/sdk/logs.d.ts.map +1 -1
- package/sdk/logs.js +1 -1
- package/sdk/logs.js.map +1 -1
- package/sdk/reporting.d.ts +1 -1
- package/sdk/reporting.js +1 -1
- package/sdk/sdk.d.ts +10 -4
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +14 -6
- package/sdk/sdk.js.map +1 -1
- package/sdk/traces.d.ts +1 -1
- package/sdk/traces.js +1 -1
- package/sdk/workspaces.d.ts +27 -0
- package/sdk/workspaces.d.ts.map +1 -0
- package/sdk/workspaces.js +42 -0
- package/sdk/workspaces.js.map +1 -0
- package/src/funcs/annotationQueuesAddItems.ts +9 -10
- package/src/funcs/annotationQueuesClear.ts +8 -8
- package/src/funcs/annotationQueuesCreate.ts +10 -13
- package/src/funcs/annotationQueuesDelete.ts +8 -8
- package/src/funcs/annotationQueuesList.ts +6 -5
- package/src/funcs/annotationQueuesListItems.ts +6 -5
- package/src/funcs/annotationQueuesRemoveItems.ts +12 -10
- package/src/funcs/annotationQueuesRetrieve.ts +6 -5
- package/src/funcs/annotationQueuesRetrieveItem.ts +8 -6
- package/src/funcs/annotationQueuesUpdate.ts +10 -7
- package/src/funcs/{deploymentsInvoke.ts → auditLogsQuery.ts} +12 -20
- package/src/funcs/evalsAll.ts +6 -14
- package/src/funcs/evalsCreate.ts +10 -35
- package/src/funcs/evalsDelete.ts +6 -19
- package/src/funcs/evalsGet.ts +6 -14
- package/src/funcs/evalsGetVersion.ts +174 -0
- package/src/funcs/evalsListVersions.ts +11 -20
- package/src/funcs/evalsUpdate.ts +6 -14
- package/src/funcs/{deploymentsStream.ts → knowledgePreviewChunks.ts} +29 -30
- package/src/funcs/logsListFacets.ts +8 -17
- package/src/funcs/reportingQuery.ts +1 -1
- package/src/funcs/tracesAggregate.ts +1 -1
- package/src/funcs/workspacesGet.ts +168 -0
- package/src/funcs/workspacesList.ts +170 -0
- package/src/funcs/workspacesUpdate.ts +171 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +58 -23
- package/src/models/components/addannotationqueueitemsrequest.ts +41 -0
- package/src/models/components/addannotationqueueitemsresponse.ts +38 -0
- package/src/models/components/agentresponserequest.ts +39 -41
- package/src/models/components/agentthoughtstreamingevent.ts +43 -55
- package/src/models/components/annotationqueue.ts +101 -0
- package/src/models/components/annotationqueueitem.ts +80 -0
- package/src/models/components/annotationqueueitemref.ts +43 -0
- package/src/models/components/annotationqueuemetadata.ts +42 -0
- package/src/models/components/auditlog.ts +122 -0
- package/src/models/components/auditlogfilter.ts +51 -0
- package/src/models/components/auditlogfilterquery.ts +54 -0
- package/src/models/components/auditlogpagination.ts +55 -0
- package/src/models/components/auditlogsort.ts +39 -0
- package/src/models/components/budgetmatch.ts +1 -7
- package/src/models/components/budgetscope.ts +1 -5
- package/src/models/components/budgetscoperestresponse.ts +1 -5
- package/src/models/components/chunkingconfiguration.ts +432 -4
- package/src/models/components/clearannotationqueueresponse.ts +27 -0
- package/src/models/components/createannotationqueuerequest.ts +54 -0
- package/src/models/components/createapikeyrequest.ts +9 -0
- package/src/models/components/createmcpgatewayrequest.ts +11 -0
- package/src/models/components/datasourcesservicepreviewchunksrequest.ts +48 -0
- package/src/models/components/datasourcesservicepreviewchunksresponse.ts +44 -0
- package/src/models/components/deleteannotationqueueresponse.ts +27 -0
- package/src/models/components/deleteevaluatorresponse.ts +27 -0
- package/src/models/components/evaluationcontext.ts +10 -15
- package/src/models/components/evaluatordocumentresponse.ts +50 -0
- package/src/models/components/filesystemtoolinput.ts +63 -6
- package/src/models/components/getevaluatorversionresponse.ts +58 -0
- package/src/models/components/getuploadfileurlresponse.ts +5 -0
- package/src/models/components/getworkspaceresponse.ts +32 -0
- package/src/models/components/index.ts +41 -9
- package/src/models/components/listannotationqueueitemsresponse.ts +53 -0
- package/src/models/components/listannotationqueuesresponse.ts +53 -0
- package/src/models/components/listevaluatorsresponse.ts +59 -0
- package/src/models/components/listevaluatorversionsresponse.ts +59 -0
- package/src/models/{operations/listlogfacets.ts → components/listlogfacetsrequest.ts} +15 -0
- package/src/models/components/listworkspacesresponse.ts +41 -0
- package/src/models/components/mcpgateway.ts +9 -0
- package/src/models/components/mcpgatewayplugin.ts +83 -0
- package/src/models/components/modelmetadata.ts +6 -0
- package/src/models/components/modelsconfig.ts +10 -11
- package/src/models/components/monitorfilter.ts +8 -0
- package/src/models/components/piiredactionconfig.ts +7 -9
- package/src/models/components/previewchunk.ts +38 -0
- package/src/models/components/previewchunksmetadata.ts +51 -0
- package/src/models/components/pricing.ts +12 -0
- package/src/models/components/pricingvariant.ts +12 -0
- package/src/models/components/queryauditlogsrequest.ts +64 -0
- package/src/models/components/queryauditlogsresponse.ts +55 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/removeannotationqueueitemsrequest.ts +41 -0
- package/src/models/components/removeannotationqueueitemsresponse.ts +28 -0
- package/src/models/components/searchknowledgerequest.ts +491 -711
- package/src/models/components/textcontentpartschema.ts +19 -23
- package/src/models/components/updateannotationqueuerequest.ts +61 -0
- package/src/models/components/updatemcpgatewayrequest.ts +11 -0
- package/src/models/components/updateworkspacerequest.ts +81 -0
- package/src/models/components/updateworkspaceresponse.ts +32 -0
- package/src/models/components/upsertchunk.ts +11 -0
- package/src/models/components/value.ts +24 -0
- package/src/models/components/workspace.ts +116 -0
- package/src/models/components/workspacecapabilities.ts +33 -0
- package/src/models/components/workspaceorganization.ts +33 -0
- package/src/models/components/workspacesettingsfields.ts +135 -0
- package/src/models/errors/index.ts +0 -6
- package/src/models/operations/addannotationqueueitems.ts +7 -139
- package/src/models/operations/createagentrequest.ts +20 -31
- package/src/models/operations/createchatcompletion.ts +248 -313
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createeval.ts +3 -644
- package/src/models/operations/createprompt.ts +26 -29
- package/src/models/operations/createtool.ts +55 -56
- package/src/models/operations/deploymentgetconfig.ts +16 -18
- package/src/models/operations/deployments.ts +44 -46
- package/src/models/operations/getallprompts.ts +2 -0
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/geteval.ts +0 -2770
- package/src/models/operations/getevals.ts +5 -119
- package/src/models/operations/getevalversion.ts +39 -0
- package/src/models/operations/getoneprompt.ts +2 -0
- package/src/models/operations/getpromptversion.ts +2 -0
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/index.ts +6 -5
- package/src/models/operations/listannotationqueueitems.ts +5 -183
- package/src/models/operations/listannotationqueues.ts +7 -173
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listevalversions.ts +49 -0
- package/src/models/operations/listpromptversions.ts +2 -0
- package/src/models/operations/parse.ts +7 -7
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +14 -20
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/previewdatasourcechunks.ts +47 -0
- package/src/models/operations/removeannotationqueueitems.ts +8 -41
- package/src/models/operations/retrieveannotationqueue.ts +0 -123
- package/src/models/operations/retrieveannotationqueueitem.ts +31 -0
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updateagent.ts +31 -40
- package/src/models/operations/updateannotationqueue.ts +7 -182
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updateeval.ts +6 -404
- package/src/models/operations/updateprompt.ts +2 -0
- package/src/models/operations/updatetool.ts +4 -4
- package/src/models/operations/workspaceget.ts +31 -0
- package/src/models/operations/workspacelist.ts +43 -0
- package/src/models/operations/workspaceupdate.ts +40 -0
- package/src/sdk/annotationqueues.ts +31 -31
- package/src/sdk/auditlogs.ts +27 -0
- package/src/sdk/deployments.ts +0 -38
- package/src/sdk/evals.ts +41 -23
- package/src/sdk/knowledge.ts +18 -0
- package/src/sdk/logs.ts +2 -2
- package/src/sdk/reporting.ts +1 -1
- package/src/sdk/sdk.ts +22 -10
- package/src/sdk/traces.ts +1 -1
- package/src/sdk/workspaces.ts +64 -0
- package/funcs/deploymentsInvoke.d.ts.map +0 -1
- package/funcs/deploymentsInvoke.js.map +0 -1
- package/funcs/deploymentsStream.d.ts.map +0 -1
- package/funcs/deploymentsStream.js.map +0 -1
- package/models/components/evaluatorresponsefunction.d.ts +0 -230
- package/models/components/evaluatorresponsefunction.d.ts.map +0 -1
- package/models/components/evaluatorresponsefunction.js +0 -422
- package/models/components/evaluatorresponsefunction.js.map +0 -1
- package/models/components/evaluatorresponsehttp.d.ts +0 -37
- package/models/components/evaluatorresponsehttp.d.ts.map +0 -1
- package/models/components/evaluatorresponsehttp.js.map +0 -1
- package/models/components/evaluatorresponsejsonschema.d.ts +0 -22
- package/models/components/evaluatorresponsejsonschema.d.ts.map +0 -1
- package/models/components/evaluatorresponsejsonschema.js.map +0 -1
- package/models/components/evaluatorresponsellm.d.ts +0 -101
- package/models/components/evaluatorresponsellm.d.ts.map +0 -1
- package/models/components/evaluatorresponsellm.js +0 -181
- package/models/components/evaluatorresponsellm.js.map +0 -1
- package/models/components/evaluatorresponsepython.d.ts +0 -22
- package/models/components/evaluatorresponsepython.d.ts.map +0 -1
- package/models/components/evaluatorresponsepython.js.map +0 -1
- package/models/components/evaluatorresponseragas.d.ts +0 -41
- package/models/components/evaluatorresponseragas.d.ts.map +0 -1
- package/models/components/evaluatorresponseragas.js.map +0 -1
- package/models/components/evaluatorresponsetypescript.d.ts +0 -22
- package/models/components/evaluatorresponsetypescript.d.ts.map +0 -1
- package/models/components/evaluatorresponsetypescript.js.map +0 -1
- package/models/components/invokedeploymentrequest.d.ts +0 -1544
- package/models/components/invokedeploymentrequest.d.ts.map +0 -1
- package/models/components/invokedeploymentrequest.js +0 -1108
- package/models/components/invokedeploymentrequest.js.map +0 -1
- package/models/components/publicspan.d.ts +0 -68
- package/models/components/publicspan.d.ts.map +0 -1
- package/models/components/publicspan.js +0 -94
- package/models/components/publicspan.js.map +0 -1
- package/models/errors/createeval.d.ts +0 -23
- package/models/errors/createeval.d.ts.map +0 -1
- package/models/errors/createeval.js.map +0 -1
- package/models/errors/deleteeval.d.ts +0 -43
- package/models/errors/deleteeval.d.ts.map +0 -1
- package/models/errors/deleteeval.js +0 -94
- package/models/errors/deleteeval.js.map +0 -1
- package/models/errors/geteval.d.ts +0 -23
- package/models/errors/geteval.d.ts.map +0 -1
- package/models/errors/geteval.js.map +0 -1
- package/models/errors/getevals.d.ts +0 -23
- package/models/errors/getevals.d.ts.map +0 -1
- package/models/errors/getevals.js.map +0 -1
- package/models/errors/getv2evaluatorsidversions.d.ts +0 -23
- package/models/errors/getv2evaluatorsidversions.d.ts.map +0 -1
- package/models/errors/getv2evaluatorsidversions.js +0 -68
- package/models/errors/getv2evaluatorsidversions.js.map +0 -1
- package/models/errors/updateeval.d.ts +0 -23
- package/models/errors/updateeval.d.ts.map +0 -1
- package/models/errors/updateeval.js.map +0 -1
- package/models/operations/createannotationqueue.d.ts +0 -85
- package/models/operations/createannotationqueue.d.ts.map +0 -1
- package/models/operations/createannotationqueue.js +0 -99
- package/models/operations/createannotationqueue.js.map +0 -1
- package/models/operations/deploymentinvoke.d.ts +0 -365
- package/models/operations/deploymentinvoke.d.ts.map +0 -1
- package/models/operations/deploymentinvoke.js +0 -370
- package/models/operations/deploymentinvoke.js.map +0 -1
- package/models/operations/deploymentstream.d.ts +0 -1897
- package/models/operations/deploymentstream.d.ts.map +0 -1
- package/models/operations/deploymentstream.js +0 -1483
- package/models/operations/deploymentstream.js.map +0 -1
- package/models/operations/getv2evaluatorsidversions.d.ts +0 -66
- package/models/operations/getv2evaluatorsidversions.d.ts.map +0 -1
- package/models/operations/getv2evaluatorsidversions.js +0 -106
- package/models/operations/getv2evaluatorsidversions.js.map +0 -1
- package/models/operations/listlogfacets.d.ts.map +0 -1
- package/models/operations/listlogfacets.js.map +0 -1
- package/src/models/components/evaluatorresponsefunction.ts +0 -922
- package/src/models/components/evaluatorresponsehttp.ts +0 -77
- package/src/models/components/evaluatorresponsejsonschema.ts +0 -60
- package/src/models/components/evaluatorresponsellm.ts +0 -310
- package/src/models/components/evaluatorresponsepython.ts +0 -60
- package/src/models/components/evaluatorresponseragas.ts +0 -84
- package/src/models/components/evaluatorresponsetypescript.ts +0 -60
- package/src/models/components/invokedeploymentrequest.ts +0 -3446
- package/src/models/components/publicspan.ts +0 -135
- package/src/models/errors/createeval.ts +0 -51
- package/src/models/errors/deleteeval.ts +0 -96
- package/src/models/errors/geteval.ts +0 -51
- package/src/models/errors/getevals.ts +0 -51
- package/src/models/errors/getv2evaluatorsidversions.ts +0 -51
- package/src/models/errors/updateeval.ts +0 -51
- package/src/models/operations/createannotationqueue.ts +0 -176
- package/src/models/operations/deploymentinvoke.ts +0 -731
- package/src/models/operations/deploymentstream.ts +0 -4562
- package/src/models/operations/getv2evaluatorsidversions.ts +0 -162
|
@@ -28,96 +28,96 @@ export type OrExists = {
|
|
|
28
28
|
exists: boolean;
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
export type
|
|
31
|
+
export type OrNin = string | number | boolean;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* Not in
|
|
35
35
|
*/
|
|
36
|
-
export type
|
|
36
|
+
export type SearchKnowledgeRequestOrNin = {
|
|
37
37
|
nin: Array<string | number | boolean>;
|
|
38
38
|
};
|
|
39
39
|
|
|
40
|
-
export type
|
|
40
|
+
export type OrIn = string | number | boolean;
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
43
|
* In
|
|
44
44
|
*/
|
|
45
|
-
export type
|
|
45
|
+
export type SearchKnowledgeRequestOrIn = {
|
|
46
46
|
in: Array<string | number | boolean>;
|
|
47
47
|
};
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
50
|
* Less than or equal to
|
|
51
51
|
*/
|
|
52
|
-
export type
|
|
52
|
+
export type OrLte = {
|
|
53
53
|
lte: number;
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
57
|
* Less than
|
|
58
58
|
*/
|
|
59
|
-
export type
|
|
59
|
+
export type OrLt = {
|
|
60
60
|
lt: number;
|
|
61
61
|
};
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* Greater than or equal to
|
|
65
65
|
*/
|
|
66
|
-
export type
|
|
66
|
+
export type OrGte = {
|
|
67
67
|
gte: number;
|
|
68
68
|
};
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* Greater than
|
|
72
72
|
*/
|
|
73
|
-
export type
|
|
73
|
+
export type OrGt = {
|
|
74
74
|
gt: number;
|
|
75
75
|
};
|
|
76
76
|
|
|
77
|
-
export type
|
|
77
|
+
export type OrNe = string | number | boolean;
|
|
78
78
|
|
|
79
79
|
/**
|
|
80
80
|
* Not equal to
|
|
81
81
|
*/
|
|
82
|
-
export type
|
|
82
|
+
export type SearchKnowledgeRequestOrNe = {
|
|
83
83
|
ne: string | number | boolean;
|
|
84
84
|
};
|
|
85
85
|
|
|
86
|
-
export type
|
|
86
|
+
export type OrEq = string | number | boolean;
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
89
|
* Equal to
|
|
90
90
|
*/
|
|
91
|
-
export type
|
|
91
|
+
export type SearchKnowledgeRequestOrEq = {
|
|
92
92
|
eq: string | number | boolean;
|
|
93
93
|
};
|
|
94
94
|
|
|
95
|
-
export type
|
|
96
|
-
|
|
|
97
|
-
|
|
|
98
|
-
|
|
|
99
|
-
|
|
|
100
|
-
|
|
|
101
|
-
|
|
|
102
|
-
|
|
|
103
|
-
|
|
|
95
|
+
export type Or =
|
|
96
|
+
| SearchKnowledgeRequestOrEq
|
|
97
|
+
| SearchKnowledgeRequestOrNe
|
|
98
|
+
| OrGt
|
|
99
|
+
| OrGte
|
|
100
|
+
| OrLt
|
|
101
|
+
| OrLte
|
|
102
|
+
| SearchKnowledgeRequestOrIn
|
|
103
|
+
| SearchKnowledgeRequestOrNin
|
|
104
104
|
| OrExists;
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
107
|
* Or
|
|
108
108
|
*/
|
|
109
|
-
export type
|
|
109
|
+
export type FilterByOr = {
|
|
110
110
|
or: Array<
|
|
111
111
|
{
|
|
112
112
|
[k: string]:
|
|
113
|
-
|
|
|
114
|
-
|
|
|
115
|
-
|
|
|
116
|
-
|
|
|
117
|
-
|
|
|
118
|
-
|
|
|
119
|
-
|
|
|
120
|
-
|
|
|
113
|
+
| SearchKnowledgeRequestOrEq
|
|
114
|
+
| SearchKnowledgeRequestOrNe
|
|
115
|
+
| OrGt
|
|
116
|
+
| OrGte
|
|
117
|
+
| OrLt
|
|
118
|
+
| OrLte
|
|
119
|
+
| SearchKnowledgeRequestOrIn
|
|
120
|
+
| SearchKnowledgeRequestOrNin
|
|
121
121
|
| OrExists;
|
|
122
122
|
}
|
|
123
123
|
>;
|
|
@@ -130,96 +130,96 @@ export type AndExists = {
|
|
|
130
130
|
exists: boolean;
|
|
131
131
|
};
|
|
132
132
|
|
|
133
|
-
export type
|
|
133
|
+
export type AndNin = string | number | boolean;
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
136
|
* Not in
|
|
137
137
|
*/
|
|
138
|
-
export type
|
|
138
|
+
export type SearchKnowledgeRequestAndNin = {
|
|
139
139
|
nin: Array<string | number | boolean>;
|
|
140
140
|
};
|
|
141
141
|
|
|
142
|
-
export type
|
|
142
|
+
export type AndIn = string | number | boolean;
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
145
|
* In
|
|
146
146
|
*/
|
|
147
|
-
export type
|
|
147
|
+
export type SearchKnowledgeRequestAndIn = {
|
|
148
148
|
in: Array<string | number | boolean>;
|
|
149
149
|
};
|
|
150
150
|
|
|
151
151
|
/**
|
|
152
152
|
* Less than or equal to
|
|
153
153
|
*/
|
|
154
|
-
export type
|
|
154
|
+
export type AndLte = {
|
|
155
155
|
lte: number;
|
|
156
156
|
};
|
|
157
157
|
|
|
158
158
|
/**
|
|
159
159
|
* Less than
|
|
160
160
|
*/
|
|
161
|
-
export type
|
|
161
|
+
export type AndLt = {
|
|
162
162
|
lt: number;
|
|
163
163
|
};
|
|
164
164
|
|
|
165
165
|
/**
|
|
166
166
|
* Greater than or equal to
|
|
167
167
|
*/
|
|
168
|
-
export type
|
|
168
|
+
export type AndGte = {
|
|
169
169
|
gte: number;
|
|
170
170
|
};
|
|
171
171
|
|
|
172
172
|
/**
|
|
173
173
|
* Greater than
|
|
174
174
|
*/
|
|
175
|
-
export type
|
|
175
|
+
export type AndGt = {
|
|
176
176
|
gt: number;
|
|
177
177
|
};
|
|
178
178
|
|
|
179
|
-
export type
|
|
179
|
+
export type AndNe = string | number | boolean;
|
|
180
180
|
|
|
181
181
|
/**
|
|
182
182
|
* Not equal to
|
|
183
183
|
*/
|
|
184
|
-
export type
|
|
184
|
+
export type SearchKnowledgeRequestAndNe = {
|
|
185
185
|
ne: string | number | boolean;
|
|
186
186
|
};
|
|
187
187
|
|
|
188
|
-
export type
|
|
188
|
+
export type AndEq = string | number | boolean;
|
|
189
189
|
|
|
190
190
|
/**
|
|
191
191
|
* Equal to
|
|
192
192
|
*/
|
|
193
|
-
export type
|
|
193
|
+
export type SearchKnowledgeRequestAndEq = {
|
|
194
194
|
eq: string | number | boolean;
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export type
|
|
198
|
-
|
|
|
199
|
-
|
|
|
200
|
-
|
|
|
201
|
-
|
|
|
202
|
-
|
|
|
203
|
-
|
|
|
204
|
-
|
|
|
205
|
-
|
|
|
197
|
+
export type And =
|
|
198
|
+
| SearchKnowledgeRequestAndEq
|
|
199
|
+
| SearchKnowledgeRequestAndNe
|
|
200
|
+
| AndGt
|
|
201
|
+
| AndGte
|
|
202
|
+
| AndLt
|
|
203
|
+
| AndLte
|
|
204
|
+
| SearchKnowledgeRequestAndIn
|
|
205
|
+
| SearchKnowledgeRequestAndNin
|
|
206
206
|
| AndExists;
|
|
207
207
|
|
|
208
208
|
/**
|
|
209
209
|
* And
|
|
210
210
|
*/
|
|
211
|
-
export type
|
|
211
|
+
export type FilterByAnd = {
|
|
212
212
|
and: Array<
|
|
213
213
|
{
|
|
214
214
|
[k: string]:
|
|
215
|
-
|
|
|
216
|
-
|
|
|
217
|
-
|
|
|
218
|
-
|
|
|
219
|
-
|
|
|
220
|
-
|
|
|
221
|
-
|
|
|
222
|
-
|
|
|
215
|
+
| SearchKnowledgeRequestAndEq
|
|
216
|
+
| SearchKnowledgeRequestAndNe
|
|
217
|
+
| AndGt
|
|
218
|
+
| AndGte
|
|
219
|
+
| AndLt
|
|
220
|
+
| AndLte
|
|
221
|
+
| SearchKnowledgeRequestAndIn
|
|
222
|
+
| SearchKnowledgeRequestAndNin
|
|
223
223
|
| AndExists;
|
|
224
224
|
}
|
|
225
225
|
>;
|
|
@@ -232,101 +232,80 @@ export type Exists = {
|
|
|
232
232
|
exists: boolean;
|
|
233
233
|
};
|
|
234
234
|
|
|
235
|
-
export type
|
|
235
|
+
export type Nin = string | number | boolean;
|
|
236
236
|
|
|
237
237
|
/**
|
|
238
238
|
* Not in
|
|
239
239
|
*/
|
|
240
|
-
export type
|
|
240
|
+
export type OneNin = {
|
|
241
241
|
nin: Array<string | number | boolean>;
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export type
|
|
244
|
+
export type In = string | number | boolean;
|
|
245
245
|
|
|
246
246
|
/**
|
|
247
247
|
* In
|
|
248
248
|
*/
|
|
249
|
-
export type
|
|
249
|
+
export type OneIn = {
|
|
250
250
|
in: Array<string | number | boolean>;
|
|
251
251
|
};
|
|
252
252
|
|
|
253
253
|
/**
|
|
254
254
|
* Less than or equal to
|
|
255
255
|
*/
|
|
256
|
-
export type
|
|
256
|
+
export type Lte = {
|
|
257
257
|
lte: number;
|
|
258
258
|
};
|
|
259
259
|
|
|
260
260
|
/**
|
|
261
261
|
* Less than
|
|
262
262
|
*/
|
|
263
|
-
export type
|
|
263
|
+
export type Lt = {
|
|
264
264
|
lt: number;
|
|
265
265
|
};
|
|
266
266
|
|
|
267
267
|
/**
|
|
268
268
|
* Greater than or equal to
|
|
269
269
|
*/
|
|
270
|
-
export type
|
|
270
|
+
export type Gte = {
|
|
271
271
|
gte: number;
|
|
272
272
|
};
|
|
273
273
|
|
|
274
274
|
/**
|
|
275
275
|
* Greater than
|
|
276
276
|
*/
|
|
277
|
-
export type
|
|
277
|
+
export type Gt = {
|
|
278
278
|
gt: number;
|
|
279
279
|
};
|
|
280
280
|
|
|
281
|
-
export type
|
|
281
|
+
export type Ne = string | number | boolean;
|
|
282
282
|
|
|
283
283
|
/**
|
|
284
284
|
* Not equal to
|
|
285
285
|
*/
|
|
286
|
-
export type
|
|
286
|
+
export type OneNe = {
|
|
287
287
|
ne: string | number | boolean;
|
|
288
288
|
};
|
|
289
289
|
|
|
290
|
-
export type
|
|
290
|
+
export type Eq = string | number | boolean;
|
|
291
291
|
|
|
292
292
|
/**
|
|
293
293
|
* Equal to
|
|
294
294
|
*/
|
|
295
|
-
export type
|
|
295
|
+
export type OneEq = {
|
|
296
296
|
eq: string | number | boolean;
|
|
297
297
|
};
|
|
298
298
|
|
|
299
|
-
export type
|
|
300
|
-
| SearchKnowledgeRequest1Eq
|
|
301
|
-
| SearchKnowledgeRequest1Ne
|
|
302
|
-
| OneGt
|
|
303
|
-
| OneGte
|
|
304
|
-
| OneLt
|
|
305
|
-
| OneLte
|
|
306
|
-
| SearchKnowledgeRequest1In
|
|
307
|
-
| SearchKnowledgeRequest1Nin
|
|
308
|
-
| Exists;
|
|
299
|
+
export type One = OneEq | OneNe | Gt | Gte | Lt | Lte | OneIn | OneNin | Exists;
|
|
309
300
|
|
|
310
301
|
/**
|
|
311
302
|
* 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
303
|
*/
|
|
313
|
-
export type FilterBy =
|
|
314
|
-
|
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
| SearchKnowledgeRequest1Eq
|
|
319
|
-
| SearchKnowledgeRequest1Ne
|
|
320
|
-
| OneGt
|
|
321
|
-
| OneGte
|
|
322
|
-
| OneLt
|
|
323
|
-
| OneLte
|
|
324
|
-
| SearchKnowledgeRequest1In
|
|
325
|
-
| SearchKnowledgeRequest1Nin
|
|
326
|
-
| Exists;
|
|
327
|
-
};
|
|
328
|
-
|
|
329
|
-
export type AgenticRagConfig2 = {
|
|
304
|
+
export type FilterBy = FilterByAnd | FilterByOr | {
|
|
305
|
+
[k: string]: OneEq | OneNe | Gt | Gte | Lt | Lte | OneIn | OneNin | Exists;
|
|
306
|
+
};
|
|
307
|
+
|
|
308
|
+
export type Two = {
|
|
330
309
|
/**
|
|
331
310
|
* The name of the model for the Agent to use. Refer to the [model list](https://docs.orq.ai/docs/proxy#/chat-models).
|
|
332
311
|
*/
|
|
@@ -367,9 +346,7 @@ export type AgenticRagConfig1 = {
|
|
|
367
346
|
/**
|
|
368
347
|
* 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
348
|
*/
|
|
370
|
-
export type SearchKnowledgeRequestAgenticRagConfig =
|
|
371
|
-
| AgenticRagConfig2
|
|
372
|
-
| AgenticRagConfig1;
|
|
349
|
+
export type SearchKnowledgeRequestAgenticRagConfig = Two | AgenticRagConfig1;
|
|
373
350
|
|
|
374
351
|
/**
|
|
375
352
|
* SearchKnowledgeRequest mirrors the existing public search body and adds the
|
|
@@ -394,22 +371,9 @@ export type SearchKnowledgeRequest = {
|
|
|
394
371
|
/**
|
|
395
372
|
* 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
373
|
*/
|
|
397
|
-
filterBy?:
|
|
398
|
-
|
|
|
399
|
-
|
|
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;
|
|
374
|
+
filterBy?: FilterByAnd | FilterByOr | {
|
|
375
|
+
[k: string]: OneEq | OneNe | Gt | Gte | Lt | Lte | OneIn | OneNin | Exists;
|
|
376
|
+
} | undefined;
|
|
413
377
|
/**
|
|
414
378
|
* Additional search options
|
|
415
379
|
*/
|
|
@@ -421,7 +385,7 @@ export type SearchKnowledgeRequest = {
|
|
|
421
385
|
/**
|
|
422
386
|
* Override the agentic RAG configuration for this search. If not provided, will use the knowledge base configured agentic RAG settings.
|
|
423
387
|
*/
|
|
424
|
-
agenticRagConfig?:
|
|
388
|
+
agenticRagConfig?: Two | AgenticRagConfig1 | null | undefined;
|
|
425
389
|
/**
|
|
426
390
|
* Override the stored retrieval configuration for this search. If not provided, the knowledge base configuration is used.
|
|
427
391
|
*/
|
|
@@ -447,349 +411,281 @@ export function orExistsToJSON(orExists: OrExists): string {
|
|
|
447
411
|
}
|
|
448
412
|
|
|
449
413
|
/** @internal */
|
|
450
|
-
export type
|
|
414
|
+
export type OrNin$Outbound = string | number | boolean;
|
|
451
415
|
|
|
452
416
|
/** @internal */
|
|
453
|
-
export const
|
|
454
|
-
|
|
417
|
+
export const OrNin$outboundSchema: z.ZodType<
|
|
418
|
+
OrNin$Outbound,
|
|
455
419
|
z.ZodTypeDef,
|
|
456
|
-
|
|
420
|
+
OrNin
|
|
457
421
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
458
422
|
|
|
459
|
-
export function
|
|
460
|
-
|
|
461
|
-
): string {
|
|
462
|
-
return JSON.stringify(
|
|
463
|
-
SearchKnowledgeRequestOrNin$outboundSchema.parse(
|
|
464
|
-
searchKnowledgeRequestOrNin,
|
|
465
|
-
),
|
|
466
|
-
);
|
|
423
|
+
export function orNinToJSON(orNin: OrNin): string {
|
|
424
|
+
return JSON.stringify(OrNin$outboundSchema.parse(orNin));
|
|
467
425
|
}
|
|
468
426
|
|
|
469
427
|
/** @internal */
|
|
470
|
-
export type
|
|
428
|
+
export type SearchKnowledgeRequestOrNin$Outbound = {
|
|
471
429
|
nin: Array<string | number | boolean>;
|
|
472
430
|
};
|
|
473
431
|
|
|
474
432
|
/** @internal */
|
|
475
|
-
export const
|
|
476
|
-
|
|
433
|
+
export const SearchKnowledgeRequestOrNin$outboundSchema: z.ZodType<
|
|
434
|
+
SearchKnowledgeRequestOrNin$Outbound,
|
|
477
435
|
z.ZodTypeDef,
|
|
478
|
-
|
|
436
|
+
SearchKnowledgeRequestOrNin
|
|
479
437
|
> = z.object({
|
|
480
438
|
nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
481
439
|
});
|
|
482
440
|
|
|
483
|
-
export function
|
|
484
|
-
|
|
441
|
+
export function searchKnowledgeRequestOrNinToJSON(
|
|
442
|
+
searchKnowledgeRequestOrNin: SearchKnowledgeRequestOrNin,
|
|
485
443
|
): string {
|
|
486
444
|
return JSON.stringify(
|
|
487
|
-
|
|
488
|
-
|
|
445
|
+
SearchKnowledgeRequestOrNin$outboundSchema.parse(
|
|
446
|
+
searchKnowledgeRequestOrNin,
|
|
489
447
|
),
|
|
490
448
|
);
|
|
491
449
|
}
|
|
492
450
|
|
|
493
451
|
/** @internal */
|
|
494
|
-
export type
|
|
452
|
+
export type OrIn$Outbound = string | number | boolean;
|
|
495
453
|
|
|
496
454
|
/** @internal */
|
|
497
|
-
export const
|
|
498
|
-
|
|
499
|
-
z.ZodTypeDef,
|
|
500
|
-
SearchKnowledgeRequestOrIn
|
|
501
|
-
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
455
|
+
export const OrIn$outboundSchema: z.ZodType<OrIn$Outbound, z.ZodTypeDef, OrIn> =
|
|
456
|
+
z.union([z.string(), z.number(), z.boolean()]);
|
|
502
457
|
|
|
503
|
-
export function
|
|
504
|
-
|
|
505
|
-
): string {
|
|
506
|
-
return JSON.stringify(
|
|
507
|
-
SearchKnowledgeRequestOrIn$outboundSchema.parse(searchKnowledgeRequestOrIn),
|
|
508
|
-
);
|
|
458
|
+
export function orInToJSON(orIn: OrIn): string {
|
|
459
|
+
return JSON.stringify(OrIn$outboundSchema.parse(orIn));
|
|
509
460
|
}
|
|
510
461
|
|
|
511
462
|
/** @internal */
|
|
512
|
-
export type
|
|
463
|
+
export type SearchKnowledgeRequestOrIn$Outbound = {
|
|
513
464
|
in: Array<string | number | boolean>;
|
|
514
465
|
};
|
|
515
466
|
|
|
516
467
|
/** @internal */
|
|
517
|
-
export const
|
|
518
|
-
|
|
468
|
+
export const SearchKnowledgeRequestOrIn$outboundSchema: z.ZodType<
|
|
469
|
+
SearchKnowledgeRequestOrIn$Outbound,
|
|
519
470
|
z.ZodTypeDef,
|
|
520
|
-
|
|
471
|
+
SearchKnowledgeRequestOrIn
|
|
521
472
|
> = z.object({
|
|
522
473
|
in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
523
474
|
});
|
|
524
475
|
|
|
525
|
-
export function
|
|
526
|
-
|
|
476
|
+
export function searchKnowledgeRequestOrInToJSON(
|
|
477
|
+
searchKnowledgeRequestOrIn: SearchKnowledgeRequestOrIn,
|
|
527
478
|
): string {
|
|
528
479
|
return JSON.stringify(
|
|
529
|
-
|
|
530
|
-
searchKnowledgeRequestOrFilterByIn,
|
|
531
|
-
),
|
|
480
|
+
SearchKnowledgeRequestOrIn$outboundSchema.parse(searchKnowledgeRequestOrIn),
|
|
532
481
|
);
|
|
533
482
|
}
|
|
534
483
|
|
|
535
484
|
/** @internal */
|
|
536
|
-
export type
|
|
485
|
+
export type OrLte$Outbound = {
|
|
537
486
|
lte: number;
|
|
538
487
|
};
|
|
539
488
|
|
|
540
489
|
/** @internal */
|
|
541
|
-
export const
|
|
542
|
-
|
|
490
|
+
export const OrLte$outboundSchema: z.ZodType<
|
|
491
|
+
OrLte$Outbound,
|
|
543
492
|
z.ZodTypeDef,
|
|
544
|
-
|
|
493
|
+
OrLte
|
|
545
494
|
> = z.object({
|
|
546
495
|
lte: z.number(),
|
|
547
496
|
});
|
|
548
497
|
|
|
549
|
-
export function
|
|
550
|
-
|
|
551
|
-
): string {
|
|
552
|
-
return JSON.stringify(
|
|
553
|
-
SearchKnowledgeRequestOrLte$outboundSchema.parse(
|
|
554
|
-
searchKnowledgeRequestOrLte,
|
|
555
|
-
),
|
|
556
|
-
);
|
|
498
|
+
export function orLteToJSON(orLte: OrLte): string {
|
|
499
|
+
return JSON.stringify(OrLte$outboundSchema.parse(orLte));
|
|
557
500
|
}
|
|
558
501
|
|
|
559
502
|
/** @internal */
|
|
560
|
-
export type
|
|
503
|
+
export type OrLt$Outbound = {
|
|
561
504
|
lt: number;
|
|
562
505
|
};
|
|
563
506
|
|
|
564
507
|
/** @internal */
|
|
565
|
-
export const
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
> = z.object({
|
|
570
|
-
lt: z.number(),
|
|
571
|
-
});
|
|
508
|
+
export const OrLt$outboundSchema: z.ZodType<OrLt$Outbound, z.ZodTypeDef, OrLt> =
|
|
509
|
+
z.object({
|
|
510
|
+
lt: z.number(),
|
|
511
|
+
});
|
|
572
512
|
|
|
573
|
-
export function
|
|
574
|
-
|
|
575
|
-
): string {
|
|
576
|
-
return JSON.stringify(
|
|
577
|
-
SearchKnowledgeRequestOrLt$outboundSchema.parse(searchKnowledgeRequestOrLt),
|
|
578
|
-
);
|
|
513
|
+
export function orLtToJSON(orLt: OrLt): string {
|
|
514
|
+
return JSON.stringify(OrLt$outboundSchema.parse(orLt));
|
|
579
515
|
}
|
|
580
516
|
|
|
581
517
|
/** @internal */
|
|
582
|
-
export type
|
|
518
|
+
export type OrGte$Outbound = {
|
|
583
519
|
gte: number;
|
|
584
520
|
};
|
|
585
521
|
|
|
586
522
|
/** @internal */
|
|
587
|
-
export const
|
|
588
|
-
|
|
523
|
+
export const OrGte$outboundSchema: z.ZodType<
|
|
524
|
+
OrGte$Outbound,
|
|
589
525
|
z.ZodTypeDef,
|
|
590
|
-
|
|
526
|
+
OrGte
|
|
591
527
|
> = z.object({
|
|
592
528
|
gte: z.number(),
|
|
593
529
|
});
|
|
594
530
|
|
|
595
|
-
export function
|
|
596
|
-
|
|
597
|
-
): string {
|
|
598
|
-
return JSON.stringify(
|
|
599
|
-
SearchKnowledgeRequestOrGte$outboundSchema.parse(
|
|
600
|
-
searchKnowledgeRequestOrGte,
|
|
601
|
-
),
|
|
602
|
-
);
|
|
531
|
+
export function orGteToJSON(orGte: OrGte): string {
|
|
532
|
+
return JSON.stringify(OrGte$outboundSchema.parse(orGte));
|
|
603
533
|
}
|
|
604
534
|
|
|
605
535
|
/** @internal */
|
|
606
|
-
export type
|
|
536
|
+
export type OrGt$Outbound = {
|
|
607
537
|
gt: number;
|
|
608
538
|
};
|
|
609
539
|
|
|
610
540
|
/** @internal */
|
|
611
|
-
export const
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
> = z.object({
|
|
616
|
-
gt: z.number(),
|
|
617
|
-
});
|
|
541
|
+
export const OrGt$outboundSchema: z.ZodType<OrGt$Outbound, z.ZodTypeDef, OrGt> =
|
|
542
|
+
z.object({
|
|
543
|
+
gt: z.number(),
|
|
544
|
+
});
|
|
618
545
|
|
|
619
|
-
export function
|
|
620
|
-
|
|
621
|
-
): string {
|
|
622
|
-
return JSON.stringify(
|
|
623
|
-
SearchKnowledgeRequestOrGt$outboundSchema.parse(searchKnowledgeRequestOrGt),
|
|
624
|
-
);
|
|
546
|
+
export function orGtToJSON(orGt: OrGt): string {
|
|
547
|
+
return JSON.stringify(OrGt$outboundSchema.parse(orGt));
|
|
625
548
|
}
|
|
626
549
|
|
|
627
550
|
/** @internal */
|
|
628
|
-
export type
|
|
551
|
+
export type OrNe$Outbound = string | number | boolean;
|
|
629
552
|
|
|
630
553
|
/** @internal */
|
|
631
|
-
export const
|
|
632
|
-
|
|
633
|
-
z.ZodTypeDef,
|
|
634
|
-
SearchKnowledgeRequestOrNe
|
|
635
|
-
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
554
|
+
export const OrNe$outboundSchema: z.ZodType<OrNe$Outbound, z.ZodTypeDef, OrNe> =
|
|
555
|
+
z.union([z.string(), z.number(), z.boolean()]);
|
|
636
556
|
|
|
637
|
-
export function
|
|
638
|
-
|
|
639
|
-
): string {
|
|
640
|
-
return JSON.stringify(
|
|
641
|
-
SearchKnowledgeRequestOrNe$outboundSchema.parse(searchKnowledgeRequestOrNe),
|
|
642
|
-
);
|
|
557
|
+
export function orNeToJSON(orNe: OrNe): string {
|
|
558
|
+
return JSON.stringify(OrNe$outboundSchema.parse(orNe));
|
|
643
559
|
}
|
|
644
560
|
|
|
645
561
|
/** @internal */
|
|
646
|
-
export type
|
|
562
|
+
export type SearchKnowledgeRequestOrNe$Outbound = {
|
|
647
563
|
ne: string | number | boolean;
|
|
648
564
|
};
|
|
649
565
|
|
|
650
566
|
/** @internal */
|
|
651
|
-
export const
|
|
652
|
-
|
|
567
|
+
export const SearchKnowledgeRequestOrNe$outboundSchema: z.ZodType<
|
|
568
|
+
SearchKnowledgeRequestOrNe$Outbound,
|
|
653
569
|
z.ZodTypeDef,
|
|
654
|
-
|
|
570
|
+
SearchKnowledgeRequestOrNe
|
|
655
571
|
> = z.object({
|
|
656
572
|
ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
657
573
|
});
|
|
658
574
|
|
|
659
|
-
export function
|
|
660
|
-
|
|
575
|
+
export function searchKnowledgeRequestOrNeToJSON(
|
|
576
|
+
searchKnowledgeRequestOrNe: SearchKnowledgeRequestOrNe,
|
|
661
577
|
): string {
|
|
662
578
|
return JSON.stringify(
|
|
663
|
-
|
|
664
|
-
searchKnowledgeRequestOrFilterByNe,
|
|
665
|
-
),
|
|
579
|
+
SearchKnowledgeRequestOrNe$outboundSchema.parse(searchKnowledgeRequestOrNe),
|
|
666
580
|
);
|
|
667
581
|
}
|
|
668
582
|
|
|
669
583
|
/** @internal */
|
|
670
|
-
export type
|
|
584
|
+
export type OrEq$Outbound = string | number | boolean;
|
|
671
585
|
|
|
672
586
|
/** @internal */
|
|
673
|
-
export const
|
|
674
|
-
|
|
675
|
-
z.ZodTypeDef,
|
|
676
|
-
SearchKnowledgeRequestOrEq
|
|
677
|
-
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
587
|
+
export const OrEq$outboundSchema: z.ZodType<OrEq$Outbound, z.ZodTypeDef, OrEq> =
|
|
588
|
+
z.union([z.string(), z.number(), z.boolean()]);
|
|
678
589
|
|
|
679
|
-
export function
|
|
680
|
-
|
|
681
|
-
): string {
|
|
682
|
-
return JSON.stringify(
|
|
683
|
-
SearchKnowledgeRequestOrEq$outboundSchema.parse(searchKnowledgeRequestOrEq),
|
|
684
|
-
);
|
|
590
|
+
export function orEqToJSON(orEq: OrEq): string {
|
|
591
|
+
return JSON.stringify(OrEq$outboundSchema.parse(orEq));
|
|
685
592
|
}
|
|
686
593
|
|
|
687
594
|
/** @internal */
|
|
688
|
-
export type
|
|
595
|
+
export type SearchKnowledgeRequestOrEq$Outbound = {
|
|
689
596
|
eq: string | number | boolean;
|
|
690
597
|
};
|
|
691
598
|
|
|
692
599
|
/** @internal */
|
|
693
|
-
export const
|
|
694
|
-
|
|
600
|
+
export const SearchKnowledgeRequestOrEq$outboundSchema: z.ZodType<
|
|
601
|
+
SearchKnowledgeRequestOrEq$Outbound,
|
|
695
602
|
z.ZodTypeDef,
|
|
696
|
-
|
|
603
|
+
SearchKnowledgeRequestOrEq
|
|
697
604
|
> = z.object({
|
|
698
605
|
eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
699
606
|
});
|
|
700
607
|
|
|
701
|
-
export function
|
|
702
|
-
|
|
608
|
+
export function searchKnowledgeRequestOrEqToJSON(
|
|
609
|
+
searchKnowledgeRequestOrEq: SearchKnowledgeRequestOrEq,
|
|
703
610
|
): string {
|
|
704
611
|
return JSON.stringify(
|
|
705
|
-
|
|
706
|
-
searchKnowledgeRequestOrFilterByEq,
|
|
707
|
-
),
|
|
612
|
+
SearchKnowledgeRequestOrEq$outboundSchema.parse(searchKnowledgeRequestOrEq),
|
|
708
613
|
);
|
|
709
614
|
}
|
|
710
615
|
|
|
711
616
|
/** @internal */
|
|
712
|
-
export type
|
|
713
|
-
|
|
|
714
|
-
|
|
|
715
|
-
|
|
|
716
|
-
|
|
|
717
|
-
|
|
|
718
|
-
|
|
|
719
|
-
|
|
|
720
|
-
|
|
|
617
|
+
export type Or$Outbound =
|
|
618
|
+
| SearchKnowledgeRequestOrEq$Outbound
|
|
619
|
+
| SearchKnowledgeRequestOrNe$Outbound
|
|
620
|
+
| OrGt$Outbound
|
|
621
|
+
| OrGte$Outbound
|
|
622
|
+
| OrLt$Outbound
|
|
623
|
+
| OrLte$Outbound
|
|
624
|
+
| SearchKnowledgeRequestOrIn$Outbound
|
|
625
|
+
| SearchKnowledgeRequestOrNin$Outbound
|
|
721
626
|
| OrExists$Outbound;
|
|
722
627
|
|
|
723
628
|
/** @internal */
|
|
724
|
-
export const
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
export function filterByOrToJSON(filterByOr: FilterByOr): string {
|
|
741
|
-
return JSON.stringify(FilterByOr$outboundSchema.parse(filterByOr));
|
|
629
|
+
export const Or$outboundSchema: z.ZodType<Or$Outbound, z.ZodTypeDef, Or> = z
|
|
630
|
+
.union([
|
|
631
|
+
z.lazy(() => SearchKnowledgeRequestOrEq$outboundSchema),
|
|
632
|
+
z.lazy(() => SearchKnowledgeRequestOrNe$outboundSchema),
|
|
633
|
+
z.lazy(() => OrGt$outboundSchema),
|
|
634
|
+
z.lazy(() => OrGte$outboundSchema),
|
|
635
|
+
z.lazy(() => OrLt$outboundSchema),
|
|
636
|
+
z.lazy(() => OrLte$outboundSchema),
|
|
637
|
+
z.lazy(() => SearchKnowledgeRequestOrIn$outboundSchema),
|
|
638
|
+
z.lazy(() => SearchKnowledgeRequestOrNin$outboundSchema),
|
|
639
|
+
z.lazy(() => OrExists$outboundSchema),
|
|
640
|
+
]);
|
|
641
|
+
|
|
642
|
+
export function orToJSON(or: Or): string {
|
|
643
|
+
return JSON.stringify(Or$outboundSchema.parse(or));
|
|
742
644
|
}
|
|
743
645
|
|
|
744
646
|
/** @internal */
|
|
745
|
-
export type
|
|
647
|
+
export type FilterByOr$Outbound = {
|
|
746
648
|
or: Array<
|
|
747
649
|
{
|
|
748
650
|
[k: string]:
|
|
749
|
-
|
|
|
750
|
-
|
|
|
751
|
-
|
|
|
752
|
-
|
|
|
753
|
-
|
|
|
754
|
-
|
|
|
755
|
-
|
|
|
756
|
-
|
|
|
651
|
+
| SearchKnowledgeRequestOrEq$Outbound
|
|
652
|
+
| SearchKnowledgeRequestOrNe$Outbound
|
|
653
|
+
| OrGt$Outbound
|
|
654
|
+
| OrGte$Outbound
|
|
655
|
+
| OrLt$Outbound
|
|
656
|
+
| OrLte$Outbound
|
|
657
|
+
| SearchKnowledgeRequestOrIn$Outbound
|
|
658
|
+
| SearchKnowledgeRequestOrNin$Outbound
|
|
757
659
|
| OrExists$Outbound;
|
|
758
660
|
}
|
|
759
661
|
>;
|
|
760
662
|
};
|
|
761
663
|
|
|
762
664
|
/** @internal */
|
|
763
|
-
export const
|
|
764
|
-
|
|
665
|
+
export const FilterByOr$outboundSchema: z.ZodType<
|
|
666
|
+
FilterByOr$Outbound,
|
|
765
667
|
z.ZodTypeDef,
|
|
766
|
-
|
|
668
|
+
FilterByOr
|
|
767
669
|
> = z.object({
|
|
768
670
|
or: z.array(
|
|
769
671
|
z.record(z.union([
|
|
770
|
-
z.lazy(() =>
|
|
672
|
+
z.lazy(() => SearchKnowledgeRequestOrEq$outboundSchema),
|
|
771
673
|
z.lazy(() =>
|
|
772
|
-
|
|
674
|
+
SearchKnowledgeRequestOrNe$outboundSchema
|
|
773
675
|
),
|
|
774
|
-
z.lazy(() =>
|
|
775
|
-
z.lazy(() =>
|
|
776
|
-
z.lazy(() =>
|
|
777
|
-
z.lazy(() =>
|
|
778
|
-
z.lazy(() =>
|
|
779
|
-
z.lazy(() =>
|
|
676
|
+
z.lazy(() => OrGt$outboundSchema),
|
|
677
|
+
z.lazy(() => OrGte$outboundSchema),
|
|
678
|
+
z.lazy(() => OrLt$outboundSchema),
|
|
679
|
+
z.lazy(() => OrLte$outboundSchema),
|
|
680
|
+
z.lazy(() => SearchKnowledgeRequestOrIn$outboundSchema),
|
|
681
|
+
z.lazy(() => SearchKnowledgeRequestOrNin$outboundSchema),
|
|
780
682
|
z.lazy(() => OrExists$outboundSchema),
|
|
781
683
|
])),
|
|
782
684
|
),
|
|
783
685
|
});
|
|
784
686
|
|
|
785
|
-
export function
|
|
786
|
-
|
|
787
|
-
): string {
|
|
788
|
-
return JSON.stringify(
|
|
789
|
-
SearchKnowledgeRequestFilterByOr$outboundSchema.parse(
|
|
790
|
-
searchKnowledgeRequestFilterByOr,
|
|
791
|
-
),
|
|
792
|
-
);
|
|
687
|
+
export function filterByOrToJSON(filterByOr: FilterByOr): string {
|
|
688
|
+
return JSON.stringify(FilterByOr$outboundSchema.parse(filterByOr));
|
|
793
689
|
}
|
|
794
690
|
|
|
795
691
|
/** @internal */
|
|
@@ -811,359 +707,302 @@ export function andExistsToJSON(andExists: AndExists): string {
|
|
|
811
707
|
}
|
|
812
708
|
|
|
813
709
|
/** @internal */
|
|
814
|
-
export type
|
|
710
|
+
export type AndNin$Outbound = string | number | boolean;
|
|
815
711
|
|
|
816
712
|
/** @internal */
|
|
817
|
-
export const
|
|
818
|
-
|
|
713
|
+
export const AndNin$outboundSchema: z.ZodType<
|
|
714
|
+
AndNin$Outbound,
|
|
819
715
|
z.ZodTypeDef,
|
|
820
|
-
|
|
716
|
+
AndNin
|
|
821
717
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
822
718
|
|
|
823
|
-
export function
|
|
824
|
-
|
|
825
|
-
): string {
|
|
826
|
-
return JSON.stringify(
|
|
827
|
-
SearchKnowledgeRequestAndNin$outboundSchema.parse(
|
|
828
|
-
searchKnowledgeRequestAndNin,
|
|
829
|
-
),
|
|
830
|
-
);
|
|
719
|
+
export function andNinToJSON(andNin: AndNin): string {
|
|
720
|
+
return JSON.stringify(AndNin$outboundSchema.parse(andNin));
|
|
831
721
|
}
|
|
832
722
|
|
|
833
723
|
/** @internal */
|
|
834
|
-
export type
|
|
724
|
+
export type SearchKnowledgeRequestAndNin$Outbound = {
|
|
835
725
|
nin: Array<string | number | boolean>;
|
|
836
726
|
};
|
|
837
727
|
|
|
838
728
|
/** @internal */
|
|
839
|
-
export const
|
|
840
|
-
|
|
729
|
+
export const SearchKnowledgeRequestAndNin$outboundSchema: z.ZodType<
|
|
730
|
+
SearchKnowledgeRequestAndNin$Outbound,
|
|
841
731
|
z.ZodTypeDef,
|
|
842
|
-
|
|
732
|
+
SearchKnowledgeRequestAndNin
|
|
843
733
|
> = z.object({
|
|
844
734
|
nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
845
735
|
});
|
|
846
736
|
|
|
847
|
-
export function
|
|
848
|
-
|
|
737
|
+
export function searchKnowledgeRequestAndNinToJSON(
|
|
738
|
+
searchKnowledgeRequestAndNin: SearchKnowledgeRequestAndNin,
|
|
849
739
|
): string {
|
|
850
740
|
return JSON.stringify(
|
|
851
|
-
|
|
852
|
-
|
|
741
|
+
SearchKnowledgeRequestAndNin$outboundSchema.parse(
|
|
742
|
+
searchKnowledgeRequestAndNin,
|
|
853
743
|
),
|
|
854
744
|
);
|
|
855
745
|
}
|
|
856
746
|
|
|
857
747
|
/** @internal */
|
|
858
|
-
export type
|
|
748
|
+
export type AndIn$Outbound = string | number | boolean;
|
|
859
749
|
|
|
860
750
|
/** @internal */
|
|
861
|
-
export const
|
|
862
|
-
|
|
751
|
+
export const AndIn$outboundSchema: z.ZodType<
|
|
752
|
+
AndIn$Outbound,
|
|
863
753
|
z.ZodTypeDef,
|
|
864
|
-
|
|
754
|
+
AndIn
|
|
865
755
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
866
756
|
|
|
867
|
-
export function
|
|
868
|
-
|
|
869
|
-
): string {
|
|
870
|
-
return JSON.stringify(
|
|
871
|
-
SearchKnowledgeRequestAndIn$outboundSchema.parse(
|
|
872
|
-
searchKnowledgeRequestAndIn,
|
|
873
|
-
),
|
|
874
|
-
);
|
|
757
|
+
export function andInToJSON(andIn: AndIn): string {
|
|
758
|
+
return JSON.stringify(AndIn$outboundSchema.parse(andIn));
|
|
875
759
|
}
|
|
876
760
|
|
|
877
761
|
/** @internal */
|
|
878
|
-
export type
|
|
762
|
+
export type SearchKnowledgeRequestAndIn$Outbound = {
|
|
879
763
|
in: Array<string | number | boolean>;
|
|
880
764
|
};
|
|
881
765
|
|
|
882
766
|
/** @internal */
|
|
883
|
-
export const
|
|
884
|
-
|
|
767
|
+
export const SearchKnowledgeRequestAndIn$outboundSchema: z.ZodType<
|
|
768
|
+
SearchKnowledgeRequestAndIn$Outbound,
|
|
885
769
|
z.ZodTypeDef,
|
|
886
|
-
|
|
770
|
+
SearchKnowledgeRequestAndIn
|
|
887
771
|
> = z.object({
|
|
888
772
|
in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
889
773
|
});
|
|
890
774
|
|
|
891
|
-
export function
|
|
892
|
-
|
|
775
|
+
export function searchKnowledgeRequestAndInToJSON(
|
|
776
|
+
searchKnowledgeRequestAndIn: SearchKnowledgeRequestAndIn,
|
|
893
777
|
): string {
|
|
894
778
|
return JSON.stringify(
|
|
895
|
-
|
|
896
|
-
|
|
779
|
+
SearchKnowledgeRequestAndIn$outboundSchema.parse(
|
|
780
|
+
searchKnowledgeRequestAndIn,
|
|
897
781
|
),
|
|
898
782
|
);
|
|
899
783
|
}
|
|
900
784
|
|
|
901
785
|
/** @internal */
|
|
902
|
-
export type
|
|
786
|
+
export type AndLte$Outbound = {
|
|
903
787
|
lte: number;
|
|
904
788
|
};
|
|
905
789
|
|
|
906
790
|
/** @internal */
|
|
907
|
-
export const
|
|
908
|
-
|
|
791
|
+
export const AndLte$outboundSchema: z.ZodType<
|
|
792
|
+
AndLte$Outbound,
|
|
909
793
|
z.ZodTypeDef,
|
|
910
|
-
|
|
794
|
+
AndLte
|
|
911
795
|
> = z.object({
|
|
912
796
|
lte: z.number(),
|
|
913
797
|
});
|
|
914
798
|
|
|
915
|
-
export function
|
|
916
|
-
|
|
917
|
-
): string {
|
|
918
|
-
return JSON.stringify(
|
|
919
|
-
SearchKnowledgeRequestAndLte$outboundSchema.parse(
|
|
920
|
-
searchKnowledgeRequestAndLte,
|
|
921
|
-
),
|
|
922
|
-
);
|
|
799
|
+
export function andLteToJSON(andLte: AndLte): string {
|
|
800
|
+
return JSON.stringify(AndLte$outboundSchema.parse(andLte));
|
|
923
801
|
}
|
|
924
802
|
|
|
925
803
|
/** @internal */
|
|
926
|
-
export type
|
|
804
|
+
export type AndLt$Outbound = {
|
|
927
805
|
lt: number;
|
|
928
806
|
};
|
|
929
807
|
|
|
930
808
|
/** @internal */
|
|
931
|
-
export const
|
|
932
|
-
|
|
809
|
+
export const AndLt$outboundSchema: z.ZodType<
|
|
810
|
+
AndLt$Outbound,
|
|
933
811
|
z.ZodTypeDef,
|
|
934
|
-
|
|
812
|
+
AndLt
|
|
935
813
|
> = z.object({
|
|
936
814
|
lt: z.number(),
|
|
937
815
|
});
|
|
938
816
|
|
|
939
|
-
export function
|
|
940
|
-
|
|
941
|
-
): string {
|
|
942
|
-
return JSON.stringify(
|
|
943
|
-
SearchKnowledgeRequestAndLt$outboundSchema.parse(
|
|
944
|
-
searchKnowledgeRequestAndLt,
|
|
945
|
-
),
|
|
946
|
-
);
|
|
817
|
+
export function andLtToJSON(andLt: AndLt): string {
|
|
818
|
+
return JSON.stringify(AndLt$outboundSchema.parse(andLt));
|
|
947
819
|
}
|
|
948
820
|
|
|
949
821
|
/** @internal */
|
|
950
|
-
export type
|
|
822
|
+
export type AndGte$Outbound = {
|
|
951
823
|
gte: number;
|
|
952
824
|
};
|
|
953
825
|
|
|
954
826
|
/** @internal */
|
|
955
|
-
export const
|
|
956
|
-
|
|
827
|
+
export const AndGte$outboundSchema: z.ZodType<
|
|
828
|
+
AndGte$Outbound,
|
|
957
829
|
z.ZodTypeDef,
|
|
958
|
-
|
|
830
|
+
AndGte
|
|
959
831
|
> = z.object({
|
|
960
832
|
gte: z.number(),
|
|
961
833
|
});
|
|
962
834
|
|
|
963
|
-
export function
|
|
964
|
-
|
|
965
|
-
): string {
|
|
966
|
-
return JSON.stringify(
|
|
967
|
-
SearchKnowledgeRequestAndGte$outboundSchema.parse(
|
|
968
|
-
searchKnowledgeRequestAndGte,
|
|
969
|
-
),
|
|
970
|
-
);
|
|
835
|
+
export function andGteToJSON(andGte: AndGte): string {
|
|
836
|
+
return JSON.stringify(AndGte$outboundSchema.parse(andGte));
|
|
971
837
|
}
|
|
972
838
|
|
|
973
839
|
/** @internal */
|
|
974
|
-
export type
|
|
840
|
+
export type AndGt$Outbound = {
|
|
975
841
|
gt: number;
|
|
976
842
|
};
|
|
977
843
|
|
|
978
844
|
/** @internal */
|
|
979
|
-
export const
|
|
980
|
-
|
|
845
|
+
export const AndGt$outboundSchema: z.ZodType<
|
|
846
|
+
AndGt$Outbound,
|
|
981
847
|
z.ZodTypeDef,
|
|
982
|
-
|
|
848
|
+
AndGt
|
|
983
849
|
> = z.object({
|
|
984
850
|
gt: z.number(),
|
|
985
851
|
});
|
|
986
852
|
|
|
987
|
-
export function
|
|
988
|
-
|
|
989
|
-
): string {
|
|
990
|
-
return JSON.stringify(
|
|
991
|
-
SearchKnowledgeRequestAndGt$outboundSchema.parse(
|
|
992
|
-
searchKnowledgeRequestAndGt,
|
|
993
|
-
),
|
|
994
|
-
);
|
|
853
|
+
export function andGtToJSON(andGt: AndGt): string {
|
|
854
|
+
return JSON.stringify(AndGt$outboundSchema.parse(andGt));
|
|
995
855
|
}
|
|
996
856
|
|
|
997
857
|
/** @internal */
|
|
998
|
-
export type
|
|
858
|
+
export type AndNe$Outbound = string | number | boolean;
|
|
999
859
|
|
|
1000
860
|
/** @internal */
|
|
1001
|
-
export const
|
|
1002
|
-
|
|
861
|
+
export const AndNe$outboundSchema: z.ZodType<
|
|
862
|
+
AndNe$Outbound,
|
|
1003
863
|
z.ZodTypeDef,
|
|
1004
|
-
|
|
864
|
+
AndNe
|
|
1005
865
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1006
866
|
|
|
1007
|
-
export function
|
|
1008
|
-
|
|
1009
|
-
): string {
|
|
1010
|
-
return JSON.stringify(
|
|
1011
|
-
SearchKnowledgeRequestAndNe$outboundSchema.parse(
|
|
1012
|
-
searchKnowledgeRequestAndNe,
|
|
1013
|
-
),
|
|
1014
|
-
);
|
|
867
|
+
export function andNeToJSON(andNe: AndNe): string {
|
|
868
|
+
return JSON.stringify(AndNe$outboundSchema.parse(andNe));
|
|
1015
869
|
}
|
|
1016
870
|
|
|
1017
871
|
/** @internal */
|
|
1018
|
-
export type
|
|
872
|
+
export type SearchKnowledgeRequestAndNe$Outbound = {
|
|
1019
873
|
ne: string | number | boolean;
|
|
1020
874
|
};
|
|
1021
875
|
|
|
1022
876
|
/** @internal */
|
|
1023
|
-
export const
|
|
1024
|
-
|
|
877
|
+
export const SearchKnowledgeRequestAndNe$outboundSchema: z.ZodType<
|
|
878
|
+
SearchKnowledgeRequestAndNe$Outbound,
|
|
1025
879
|
z.ZodTypeDef,
|
|
1026
|
-
|
|
880
|
+
SearchKnowledgeRequestAndNe
|
|
1027
881
|
> = z.object({
|
|
1028
882
|
ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
1029
883
|
});
|
|
1030
884
|
|
|
1031
|
-
export function
|
|
1032
|
-
|
|
885
|
+
export function searchKnowledgeRequestAndNeToJSON(
|
|
886
|
+
searchKnowledgeRequestAndNe: SearchKnowledgeRequestAndNe,
|
|
1033
887
|
): string {
|
|
1034
888
|
return JSON.stringify(
|
|
1035
|
-
|
|
1036
|
-
|
|
889
|
+
SearchKnowledgeRequestAndNe$outboundSchema.parse(
|
|
890
|
+
searchKnowledgeRequestAndNe,
|
|
1037
891
|
),
|
|
1038
892
|
);
|
|
1039
893
|
}
|
|
1040
894
|
|
|
1041
895
|
/** @internal */
|
|
1042
|
-
export type
|
|
896
|
+
export type AndEq$Outbound = string | number | boolean;
|
|
1043
897
|
|
|
1044
898
|
/** @internal */
|
|
1045
|
-
export const
|
|
1046
|
-
|
|
899
|
+
export const AndEq$outboundSchema: z.ZodType<
|
|
900
|
+
AndEq$Outbound,
|
|
1047
901
|
z.ZodTypeDef,
|
|
1048
|
-
|
|
902
|
+
AndEq
|
|
1049
903
|
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1050
904
|
|
|
1051
|
-
export function
|
|
1052
|
-
|
|
1053
|
-
): string {
|
|
1054
|
-
return JSON.stringify(
|
|
1055
|
-
SearchKnowledgeRequestAndEq$outboundSchema.parse(
|
|
1056
|
-
searchKnowledgeRequestAndEq,
|
|
1057
|
-
),
|
|
1058
|
-
);
|
|
905
|
+
export function andEqToJSON(andEq: AndEq): string {
|
|
906
|
+
return JSON.stringify(AndEq$outboundSchema.parse(andEq));
|
|
1059
907
|
}
|
|
1060
908
|
|
|
1061
909
|
/** @internal */
|
|
1062
|
-
export type
|
|
910
|
+
export type SearchKnowledgeRequestAndEq$Outbound = {
|
|
1063
911
|
eq: string | number | boolean;
|
|
1064
912
|
};
|
|
1065
913
|
|
|
1066
914
|
/** @internal */
|
|
1067
|
-
export const
|
|
1068
|
-
|
|
915
|
+
export const SearchKnowledgeRequestAndEq$outboundSchema: z.ZodType<
|
|
916
|
+
SearchKnowledgeRequestAndEq$Outbound,
|
|
1069
917
|
z.ZodTypeDef,
|
|
1070
|
-
|
|
918
|
+
SearchKnowledgeRequestAndEq
|
|
1071
919
|
> = z.object({
|
|
1072
920
|
eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
1073
921
|
});
|
|
1074
922
|
|
|
1075
|
-
export function
|
|
1076
|
-
|
|
923
|
+
export function searchKnowledgeRequestAndEqToJSON(
|
|
924
|
+
searchKnowledgeRequestAndEq: SearchKnowledgeRequestAndEq,
|
|
1077
925
|
): string {
|
|
1078
926
|
return JSON.stringify(
|
|
1079
|
-
|
|
1080
|
-
|
|
927
|
+
SearchKnowledgeRequestAndEq$outboundSchema.parse(
|
|
928
|
+
searchKnowledgeRequestAndEq,
|
|
1081
929
|
),
|
|
1082
930
|
);
|
|
1083
931
|
}
|
|
1084
932
|
|
|
1085
933
|
/** @internal */
|
|
1086
|
-
export type
|
|
1087
|
-
|
|
|
1088
|
-
|
|
|
1089
|
-
|
|
|
1090
|
-
|
|
|
1091
|
-
|
|
|
1092
|
-
|
|
|
1093
|
-
|
|
|
1094
|
-
|
|
|
934
|
+
export type And$Outbound =
|
|
935
|
+
| SearchKnowledgeRequestAndEq$Outbound
|
|
936
|
+
| SearchKnowledgeRequestAndNe$Outbound
|
|
937
|
+
| AndGt$Outbound
|
|
938
|
+
| AndGte$Outbound
|
|
939
|
+
| AndLt$Outbound
|
|
940
|
+
| AndLte$Outbound
|
|
941
|
+
| SearchKnowledgeRequestAndIn$Outbound
|
|
942
|
+
| SearchKnowledgeRequestAndNin$Outbound
|
|
1095
943
|
| AndExists$Outbound;
|
|
1096
944
|
|
|
1097
945
|
/** @internal */
|
|
1098
|
-
export const
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
export function filterByAndToJSON(filterByAnd: FilterByAnd): string {
|
|
1115
|
-
return JSON.stringify(FilterByAnd$outboundSchema.parse(filterByAnd));
|
|
946
|
+
export const And$outboundSchema: z.ZodType<And$Outbound, z.ZodTypeDef, And> = z
|
|
947
|
+
.union([
|
|
948
|
+
z.lazy(() => SearchKnowledgeRequestAndEq$outboundSchema),
|
|
949
|
+
z.lazy(() => SearchKnowledgeRequestAndNe$outboundSchema),
|
|
950
|
+
z.lazy(() => AndGt$outboundSchema),
|
|
951
|
+
z.lazy(() => AndGte$outboundSchema),
|
|
952
|
+
z.lazy(() => AndLt$outboundSchema),
|
|
953
|
+
z.lazy(() => AndLte$outboundSchema),
|
|
954
|
+
z.lazy(() => SearchKnowledgeRequestAndIn$outboundSchema),
|
|
955
|
+
z.lazy(() => SearchKnowledgeRequestAndNin$outboundSchema),
|
|
956
|
+
z.lazy(() => AndExists$outboundSchema),
|
|
957
|
+
]);
|
|
958
|
+
|
|
959
|
+
export function andToJSON(and: And): string {
|
|
960
|
+
return JSON.stringify(And$outboundSchema.parse(and));
|
|
1116
961
|
}
|
|
1117
962
|
|
|
1118
963
|
/** @internal */
|
|
1119
|
-
export type
|
|
964
|
+
export type FilterByAnd$Outbound = {
|
|
1120
965
|
and: Array<
|
|
1121
966
|
{
|
|
1122
967
|
[k: string]:
|
|
1123
|
-
|
|
|
1124
|
-
|
|
|
1125
|
-
|
|
|
1126
|
-
|
|
|
1127
|
-
|
|
|
1128
|
-
|
|
|
1129
|
-
|
|
|
1130
|
-
|
|
|
968
|
+
| SearchKnowledgeRequestAndEq$Outbound
|
|
969
|
+
| SearchKnowledgeRequestAndNe$Outbound
|
|
970
|
+
| AndGt$Outbound
|
|
971
|
+
| AndGte$Outbound
|
|
972
|
+
| AndLt$Outbound
|
|
973
|
+
| AndLte$Outbound
|
|
974
|
+
| SearchKnowledgeRequestAndIn$Outbound
|
|
975
|
+
| SearchKnowledgeRequestAndNin$Outbound
|
|
1131
976
|
| AndExists$Outbound;
|
|
1132
977
|
}
|
|
1133
978
|
>;
|
|
1134
979
|
};
|
|
1135
980
|
|
|
1136
981
|
/** @internal */
|
|
1137
|
-
export const
|
|
1138
|
-
|
|
982
|
+
export const FilterByAnd$outboundSchema: z.ZodType<
|
|
983
|
+
FilterByAnd$Outbound,
|
|
1139
984
|
z.ZodTypeDef,
|
|
1140
|
-
|
|
985
|
+
FilterByAnd
|
|
1141
986
|
> = z.object({
|
|
1142
987
|
and: z.array(
|
|
1143
988
|
z.record(z.union([
|
|
1144
|
-
z.lazy(() =>
|
|
989
|
+
z.lazy(() => SearchKnowledgeRequestAndEq$outboundSchema),
|
|
1145
990
|
z.lazy(() =>
|
|
1146
|
-
|
|
991
|
+
SearchKnowledgeRequestAndNe$outboundSchema
|
|
1147
992
|
),
|
|
1148
|
-
z.lazy(() =>
|
|
1149
|
-
z.lazy(() =>
|
|
1150
|
-
z.lazy(() =>
|
|
1151
|
-
z.lazy(() =>
|
|
1152
|
-
z.lazy(() =>
|
|
1153
|
-
z.lazy(() =>
|
|
993
|
+
z.lazy(() => AndGt$outboundSchema),
|
|
994
|
+
z.lazy(() => AndGte$outboundSchema),
|
|
995
|
+
z.lazy(() => AndLt$outboundSchema),
|
|
996
|
+
z.lazy(() => AndLte$outboundSchema),
|
|
997
|
+
z.lazy(() => SearchKnowledgeRequestAndIn$outboundSchema),
|
|
998
|
+
z.lazy(() => SearchKnowledgeRequestAndNin$outboundSchema),
|
|
1154
999
|
z.lazy(() => AndExists$outboundSchema),
|
|
1155
1000
|
])),
|
|
1156
1001
|
),
|
|
1157
1002
|
});
|
|
1158
1003
|
|
|
1159
|
-
export function
|
|
1160
|
-
|
|
1161
|
-
): string {
|
|
1162
|
-
return JSON.stringify(
|
|
1163
|
-
SearchKnowledgeRequestFilterByAnd$outboundSchema.parse(
|
|
1164
|
-
searchKnowledgeRequestFilterByAnd,
|
|
1165
|
-
),
|
|
1166
|
-
);
|
|
1004
|
+
export function filterByAndToJSON(filterByAnd: FilterByAnd): string {
|
|
1005
|
+
return JSON.stringify(FilterByAnd$outboundSchema.parse(filterByAnd));
|
|
1167
1006
|
}
|
|
1168
1007
|
|
|
1169
1008
|
/** @internal */
|
|
@@ -1185,270 +1024,224 @@ export function existsToJSON(exists: Exists): string {
|
|
|
1185
1024
|
}
|
|
1186
1025
|
|
|
1187
1026
|
/** @internal */
|
|
1188
|
-
export type
|
|
1027
|
+
export type Nin$Outbound = string | number | boolean;
|
|
1189
1028
|
|
|
1190
1029
|
/** @internal */
|
|
1191
|
-
export const
|
|
1192
|
-
|
|
1193
|
-
z.ZodTypeDef,
|
|
1194
|
-
OneNin
|
|
1195
|
-
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1030
|
+
export const Nin$outboundSchema: z.ZodType<Nin$Outbound, z.ZodTypeDef, Nin> = z
|
|
1031
|
+
.union([z.string(), z.number(), z.boolean()]);
|
|
1196
1032
|
|
|
1197
|
-
export function
|
|
1198
|
-
return JSON.stringify(
|
|
1033
|
+
export function ninToJSON(nin: Nin): string {
|
|
1034
|
+
return JSON.stringify(Nin$outboundSchema.parse(nin));
|
|
1199
1035
|
}
|
|
1200
1036
|
|
|
1201
1037
|
/** @internal */
|
|
1202
|
-
export type
|
|
1038
|
+
export type OneNin$Outbound = {
|
|
1203
1039
|
nin: Array<string | number | boolean>;
|
|
1204
1040
|
};
|
|
1205
1041
|
|
|
1206
1042
|
/** @internal */
|
|
1207
|
-
export const
|
|
1208
|
-
|
|
1043
|
+
export const OneNin$outboundSchema: z.ZodType<
|
|
1044
|
+
OneNin$Outbound,
|
|
1209
1045
|
z.ZodTypeDef,
|
|
1210
|
-
|
|
1046
|
+
OneNin
|
|
1211
1047
|
> = z.object({
|
|
1212
1048
|
nin: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
1213
1049
|
});
|
|
1214
1050
|
|
|
1215
|
-
export function
|
|
1216
|
-
|
|
1217
|
-
): string {
|
|
1218
|
-
return JSON.stringify(
|
|
1219
|
-
SearchKnowledgeRequest1Nin$outboundSchema.parse(searchKnowledgeRequest1Nin),
|
|
1220
|
-
);
|
|
1051
|
+
export function oneNinToJSON(oneNin: OneNin): string {
|
|
1052
|
+
return JSON.stringify(OneNin$outboundSchema.parse(oneNin));
|
|
1221
1053
|
}
|
|
1222
1054
|
|
|
1223
1055
|
/** @internal */
|
|
1224
|
-
export type
|
|
1056
|
+
export type In$Outbound = string | number | boolean;
|
|
1225
1057
|
|
|
1226
1058
|
/** @internal */
|
|
1227
|
-
export const
|
|
1228
|
-
|
|
1229
|
-
z.ZodTypeDef,
|
|
1230
|
-
OneIn
|
|
1231
|
-
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1059
|
+
export const In$outboundSchema: z.ZodType<In$Outbound, z.ZodTypeDef, In> = z
|
|
1060
|
+
.union([z.string(), z.number(), z.boolean()]);
|
|
1232
1061
|
|
|
1233
|
-
export function
|
|
1234
|
-
return JSON.stringify(
|
|
1062
|
+
export function inToJSON(value: In): string {
|
|
1063
|
+
return JSON.stringify(In$outboundSchema.parse(value));
|
|
1235
1064
|
}
|
|
1236
1065
|
|
|
1237
1066
|
/** @internal */
|
|
1238
|
-
export type
|
|
1067
|
+
export type OneIn$Outbound = {
|
|
1239
1068
|
in: Array<string | number | boolean>;
|
|
1240
1069
|
};
|
|
1241
1070
|
|
|
1242
1071
|
/** @internal */
|
|
1243
|
-
export const
|
|
1244
|
-
|
|
1072
|
+
export const OneIn$outboundSchema: z.ZodType<
|
|
1073
|
+
OneIn$Outbound,
|
|
1245
1074
|
z.ZodTypeDef,
|
|
1246
|
-
|
|
1075
|
+
OneIn
|
|
1247
1076
|
> = z.object({
|
|
1248
1077
|
in: z.array(z.union([z.string(), z.number(), z.boolean()])),
|
|
1249
1078
|
});
|
|
1250
1079
|
|
|
1251
|
-
export function
|
|
1252
|
-
|
|
1253
|
-
): string {
|
|
1254
|
-
return JSON.stringify(
|
|
1255
|
-
SearchKnowledgeRequest1In$outboundSchema.parse(searchKnowledgeRequest1In),
|
|
1256
|
-
);
|
|
1080
|
+
export function oneInToJSON(oneIn: OneIn): string {
|
|
1081
|
+
return JSON.stringify(OneIn$outboundSchema.parse(oneIn));
|
|
1257
1082
|
}
|
|
1258
1083
|
|
|
1259
1084
|
/** @internal */
|
|
1260
|
-
export type
|
|
1085
|
+
export type Lte$Outbound = {
|
|
1261
1086
|
lte: number;
|
|
1262
1087
|
};
|
|
1263
1088
|
|
|
1264
1089
|
/** @internal */
|
|
1265
|
-
export const
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
> = z.object({
|
|
1270
|
-
lte: z.number(),
|
|
1271
|
-
});
|
|
1090
|
+
export const Lte$outboundSchema: z.ZodType<Lte$Outbound, z.ZodTypeDef, Lte> = z
|
|
1091
|
+
.object({
|
|
1092
|
+
lte: z.number(),
|
|
1093
|
+
});
|
|
1272
1094
|
|
|
1273
|
-
export function
|
|
1274
|
-
return JSON.stringify(
|
|
1095
|
+
export function lteToJSON(lte: Lte): string {
|
|
1096
|
+
return JSON.stringify(Lte$outboundSchema.parse(lte));
|
|
1275
1097
|
}
|
|
1276
1098
|
|
|
1277
1099
|
/** @internal */
|
|
1278
|
-
export type
|
|
1100
|
+
export type Lt$Outbound = {
|
|
1279
1101
|
lt: number;
|
|
1280
1102
|
};
|
|
1281
1103
|
|
|
1282
1104
|
/** @internal */
|
|
1283
|
-
export const
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
> = z.object({
|
|
1288
|
-
lt: z.number(),
|
|
1289
|
-
});
|
|
1105
|
+
export const Lt$outboundSchema: z.ZodType<Lt$Outbound, z.ZodTypeDef, Lt> = z
|
|
1106
|
+
.object({
|
|
1107
|
+
lt: z.number(),
|
|
1108
|
+
});
|
|
1290
1109
|
|
|
1291
|
-
export function
|
|
1292
|
-
return JSON.stringify(
|
|
1110
|
+
export function ltToJSON(lt: Lt): string {
|
|
1111
|
+
return JSON.stringify(Lt$outboundSchema.parse(lt));
|
|
1293
1112
|
}
|
|
1294
1113
|
|
|
1295
1114
|
/** @internal */
|
|
1296
|
-
export type
|
|
1115
|
+
export type Gte$Outbound = {
|
|
1297
1116
|
gte: number;
|
|
1298
1117
|
};
|
|
1299
1118
|
|
|
1300
1119
|
/** @internal */
|
|
1301
|
-
export const
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
> = z.object({
|
|
1306
|
-
gte: z.number(),
|
|
1307
|
-
});
|
|
1120
|
+
export const Gte$outboundSchema: z.ZodType<Gte$Outbound, z.ZodTypeDef, Gte> = z
|
|
1121
|
+
.object({
|
|
1122
|
+
gte: z.number(),
|
|
1123
|
+
});
|
|
1308
1124
|
|
|
1309
|
-
export function
|
|
1310
|
-
return JSON.stringify(
|
|
1125
|
+
export function gteToJSON(gte: Gte): string {
|
|
1126
|
+
return JSON.stringify(Gte$outboundSchema.parse(gte));
|
|
1311
1127
|
}
|
|
1312
1128
|
|
|
1313
1129
|
/** @internal */
|
|
1314
|
-
export type
|
|
1130
|
+
export type Gt$Outbound = {
|
|
1315
1131
|
gt: number;
|
|
1316
1132
|
};
|
|
1317
1133
|
|
|
1318
1134
|
/** @internal */
|
|
1319
|
-
export const
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
> = z.object({
|
|
1324
|
-
gt: z.number(),
|
|
1325
|
-
});
|
|
1135
|
+
export const Gt$outboundSchema: z.ZodType<Gt$Outbound, z.ZodTypeDef, Gt> = z
|
|
1136
|
+
.object({
|
|
1137
|
+
gt: z.number(),
|
|
1138
|
+
});
|
|
1326
1139
|
|
|
1327
|
-
export function
|
|
1328
|
-
return JSON.stringify(
|
|
1140
|
+
export function gtToJSON(gt: Gt): string {
|
|
1141
|
+
return JSON.stringify(Gt$outboundSchema.parse(gt));
|
|
1329
1142
|
}
|
|
1330
1143
|
|
|
1331
1144
|
/** @internal */
|
|
1332
|
-
export type
|
|
1145
|
+
export type Ne$Outbound = string | number | boolean;
|
|
1333
1146
|
|
|
1334
1147
|
/** @internal */
|
|
1335
|
-
export const
|
|
1336
|
-
|
|
1337
|
-
z.ZodTypeDef,
|
|
1338
|
-
OneNe
|
|
1339
|
-
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1148
|
+
export const Ne$outboundSchema: z.ZodType<Ne$Outbound, z.ZodTypeDef, Ne> = z
|
|
1149
|
+
.union([z.string(), z.number(), z.boolean()]);
|
|
1340
1150
|
|
|
1341
|
-
export function
|
|
1342
|
-
return JSON.stringify(
|
|
1151
|
+
export function neToJSON(ne: Ne): string {
|
|
1152
|
+
return JSON.stringify(Ne$outboundSchema.parse(ne));
|
|
1343
1153
|
}
|
|
1344
1154
|
|
|
1345
1155
|
/** @internal */
|
|
1346
|
-
export type
|
|
1156
|
+
export type OneNe$Outbound = {
|
|
1347
1157
|
ne: string | number | boolean;
|
|
1348
1158
|
};
|
|
1349
1159
|
|
|
1350
1160
|
/** @internal */
|
|
1351
|
-
export const
|
|
1352
|
-
|
|
1161
|
+
export const OneNe$outboundSchema: z.ZodType<
|
|
1162
|
+
OneNe$Outbound,
|
|
1353
1163
|
z.ZodTypeDef,
|
|
1354
|
-
|
|
1164
|
+
OneNe
|
|
1355
1165
|
> = z.object({
|
|
1356
1166
|
ne: z.union([z.string(), z.number(), z.boolean()]),
|
|
1357
1167
|
});
|
|
1358
1168
|
|
|
1359
|
-
export function
|
|
1360
|
-
|
|
1361
|
-
): string {
|
|
1362
|
-
return JSON.stringify(
|
|
1363
|
-
SearchKnowledgeRequest1Ne$outboundSchema.parse(searchKnowledgeRequest1Ne),
|
|
1364
|
-
);
|
|
1169
|
+
export function oneNeToJSON(oneNe: OneNe): string {
|
|
1170
|
+
return JSON.stringify(OneNe$outboundSchema.parse(oneNe));
|
|
1365
1171
|
}
|
|
1366
1172
|
|
|
1367
1173
|
/** @internal */
|
|
1368
|
-
export type
|
|
1174
|
+
export type Eq$Outbound = string | number | boolean;
|
|
1369
1175
|
|
|
1370
1176
|
/** @internal */
|
|
1371
|
-
export const
|
|
1372
|
-
|
|
1373
|
-
z.ZodTypeDef,
|
|
1374
|
-
OneEq
|
|
1375
|
-
> = z.union([z.string(), z.number(), z.boolean()]);
|
|
1177
|
+
export const Eq$outboundSchema: z.ZodType<Eq$Outbound, z.ZodTypeDef, Eq> = z
|
|
1178
|
+
.union([z.string(), z.number(), z.boolean()]);
|
|
1376
1179
|
|
|
1377
|
-
export function
|
|
1378
|
-
return JSON.stringify(
|
|
1180
|
+
export function eqToJSON(eq: Eq): string {
|
|
1181
|
+
return JSON.stringify(Eq$outboundSchema.parse(eq));
|
|
1379
1182
|
}
|
|
1380
1183
|
|
|
1381
1184
|
/** @internal */
|
|
1382
|
-
export type
|
|
1185
|
+
export type OneEq$Outbound = {
|
|
1383
1186
|
eq: string | number | boolean;
|
|
1384
1187
|
};
|
|
1385
1188
|
|
|
1386
1189
|
/** @internal */
|
|
1387
|
-
export const
|
|
1388
|
-
|
|
1190
|
+
export const OneEq$outboundSchema: z.ZodType<
|
|
1191
|
+
OneEq$Outbound,
|
|
1389
1192
|
z.ZodTypeDef,
|
|
1390
|
-
|
|
1193
|
+
OneEq
|
|
1391
1194
|
> = z.object({
|
|
1392
1195
|
eq: z.union([z.string(), z.number(), z.boolean()]),
|
|
1393
1196
|
});
|
|
1394
1197
|
|
|
1395
|
-
export function
|
|
1396
|
-
|
|
1397
|
-
): string {
|
|
1398
|
-
return JSON.stringify(
|
|
1399
|
-
SearchKnowledgeRequest1Eq$outboundSchema.parse(searchKnowledgeRequest1Eq),
|
|
1400
|
-
);
|
|
1198
|
+
export function oneEqToJSON(oneEq: OneEq): string {
|
|
1199
|
+
return JSON.stringify(OneEq$outboundSchema.parse(oneEq));
|
|
1401
1200
|
}
|
|
1402
1201
|
|
|
1403
1202
|
/** @internal */
|
|
1404
|
-
export type
|
|
1405
|
-
|
|
|
1406
|
-
|
|
|
1407
|
-
|
|
|
1408
|
-
|
|
|
1409
|
-
|
|
|
1410
|
-
|
|
|
1411
|
-
|
|
|
1412
|
-
|
|
|
1203
|
+
export type One$Outbound =
|
|
1204
|
+
| OneEq$Outbound
|
|
1205
|
+
| OneNe$Outbound
|
|
1206
|
+
| Gt$Outbound
|
|
1207
|
+
| Gte$Outbound
|
|
1208
|
+
| Lt$Outbound
|
|
1209
|
+
| Lte$Outbound
|
|
1210
|
+
| OneIn$Outbound
|
|
1211
|
+
| OneNin$Outbound
|
|
1413
1212
|
| Exists$Outbound;
|
|
1414
1213
|
|
|
1415
1214
|
/** @internal */
|
|
1416
|
-
export const
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
z.lazy(() => SearchKnowledgeRequest1Nin$outboundSchema),
|
|
1429
|
-
z.lazy(() => Exists$outboundSchema),
|
|
1430
|
-
]);
|
|
1215
|
+
export const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One> = z
|
|
1216
|
+
.union([
|
|
1217
|
+
z.lazy(() => OneEq$outboundSchema),
|
|
1218
|
+
z.lazy(() => OneNe$outboundSchema),
|
|
1219
|
+
z.lazy(() => Gt$outboundSchema),
|
|
1220
|
+
z.lazy(() => Gte$outboundSchema),
|
|
1221
|
+
z.lazy(() => Lt$outboundSchema),
|
|
1222
|
+
z.lazy(() => Lte$outboundSchema),
|
|
1223
|
+
z.lazy(() => OneIn$outboundSchema),
|
|
1224
|
+
z.lazy(() => OneNin$outboundSchema),
|
|
1225
|
+
z.lazy(() => Exists$outboundSchema),
|
|
1226
|
+
]);
|
|
1431
1227
|
|
|
1432
|
-
export function
|
|
1433
|
-
return JSON.stringify(
|
|
1228
|
+
export function oneToJSON(one: One): string {
|
|
1229
|
+
return JSON.stringify(One$outboundSchema.parse(one));
|
|
1434
1230
|
}
|
|
1435
1231
|
|
|
1436
1232
|
/** @internal */
|
|
1437
|
-
export type FilterBy$Outbound =
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
| SearchKnowledgeRequest1Nin$Outbound
|
|
1450
|
-
| Exists$Outbound;
|
|
1451
|
-
};
|
|
1233
|
+
export type FilterBy$Outbound = FilterByAnd$Outbound | FilterByOr$Outbound | {
|
|
1234
|
+
[k: string]:
|
|
1235
|
+
| OneEq$Outbound
|
|
1236
|
+
| OneNe$Outbound
|
|
1237
|
+
| Gt$Outbound
|
|
1238
|
+
| Gte$Outbound
|
|
1239
|
+
| Lt$Outbound
|
|
1240
|
+
| Lte$Outbound
|
|
1241
|
+
| OneIn$Outbound
|
|
1242
|
+
| OneNin$Outbound
|
|
1243
|
+
| Exists$Outbound;
|
|
1244
|
+
};
|
|
1452
1245
|
|
|
1453
1246
|
/** @internal */
|
|
1454
1247
|
export const FilterBy$outboundSchema: z.ZodType<
|
|
@@ -1456,17 +1249,17 @@ export const FilterBy$outboundSchema: z.ZodType<
|
|
|
1456
1249
|
z.ZodTypeDef,
|
|
1457
1250
|
FilterBy
|
|
1458
1251
|
> = z.union([
|
|
1459
|
-
z.lazy(() =>
|
|
1460
|
-
z.lazy(() =>
|
|
1252
|
+
z.lazy(() => FilterByAnd$outboundSchema),
|
|
1253
|
+
z.lazy(() => FilterByOr$outboundSchema),
|
|
1461
1254
|
z.record(z.union([
|
|
1462
|
-
z.lazy(() =>
|
|
1463
|
-
z.lazy(() =>
|
|
1464
|
-
z.lazy(() =>
|
|
1465
|
-
z.lazy(() =>
|
|
1466
|
-
z.lazy(() =>
|
|
1467
|
-
z.lazy(() =>
|
|
1468
|
-
z.lazy(() =>
|
|
1469
|
-
z.lazy(() =>
|
|
1255
|
+
z.lazy(() => OneEq$outboundSchema),
|
|
1256
|
+
z.lazy(() => OneNe$outboundSchema),
|
|
1257
|
+
z.lazy(() => Gt$outboundSchema),
|
|
1258
|
+
z.lazy(() => Gte$outboundSchema),
|
|
1259
|
+
z.lazy(() => Lt$outboundSchema),
|
|
1260
|
+
z.lazy(() => Lte$outboundSchema),
|
|
1261
|
+
z.lazy(() => OneIn$outboundSchema),
|
|
1262
|
+
z.lazy(() => OneNin$outboundSchema),
|
|
1470
1263
|
z.lazy(() => Exists$outboundSchema),
|
|
1471
1264
|
])),
|
|
1472
1265
|
]);
|
|
@@ -1476,7 +1269,7 @@ export function filterByToJSON(filterBy: FilterBy): string {
|
|
|
1476
1269
|
}
|
|
1477
1270
|
|
|
1478
1271
|
/** @internal */
|
|
1479
|
-
export type
|
|
1272
|
+
export type Two$Outbound = {
|
|
1480
1273
|
model?: string | undefined;
|
|
1481
1274
|
model_db_id: string;
|
|
1482
1275
|
provider: string;
|
|
@@ -1484,28 +1277,21 @@ export type AgenticRagConfig2$Outbound = {
|
|
|
1484
1277
|
};
|
|
1485
1278
|
|
|
1486
1279
|
/** @internal */
|
|
1487
|
-
export const
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
modelDbId: "model_db_id",
|
|
1499
|
-
integrationId: "integration_id",
|
|
1280
|
+
export const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two> = z
|
|
1281
|
+
.object({
|
|
1282
|
+
model: z.string().optional(),
|
|
1283
|
+
modelDbId: z.string(),
|
|
1284
|
+
provider: z.string(),
|
|
1285
|
+
integrationId: z.nullable(z.string()).optional(),
|
|
1286
|
+
}).transform((v) => {
|
|
1287
|
+
return remap$(v, {
|
|
1288
|
+
modelDbId: "model_db_id",
|
|
1289
|
+
integrationId: "integration_id",
|
|
1290
|
+
});
|
|
1500
1291
|
});
|
|
1501
|
-
});
|
|
1502
1292
|
|
|
1503
|
-
export function
|
|
1504
|
-
|
|
1505
|
-
): string {
|
|
1506
|
-
return JSON.stringify(
|
|
1507
|
-
AgenticRagConfig2$outboundSchema.parse(agenticRagConfig2),
|
|
1508
|
-
);
|
|
1293
|
+
export function twoToJSON(two: Two): string {
|
|
1294
|
+
return JSON.stringify(Two$outboundSchema.parse(two));
|
|
1509
1295
|
}
|
|
1510
1296
|
|
|
1511
1297
|
/** @internal */
|
|
@@ -1543,7 +1329,7 @@ export function agenticRagConfig1ToJSON(
|
|
|
1543
1329
|
|
|
1544
1330
|
/** @internal */
|
|
1545
1331
|
export type SearchKnowledgeRequestAgenticRagConfig$Outbound =
|
|
1546
|
-
|
|
|
1332
|
+
| Two$Outbound
|
|
1547
1333
|
| AgenticRagConfig1$Outbound;
|
|
1548
1334
|
|
|
1549
1335
|
/** @internal */
|
|
@@ -1552,7 +1338,7 @@ export const SearchKnowledgeRequestAgenticRagConfig$outboundSchema: z.ZodType<
|
|
|
1552
1338
|
z.ZodTypeDef,
|
|
1553
1339
|
SearchKnowledgeRequestAgenticRagConfig
|
|
1554
1340
|
> = z.union([
|
|
1555
|
-
z.lazy(() =>
|
|
1341
|
+
z.lazy(() => Two$outboundSchema),
|
|
1556
1342
|
z.lazy(() => AgenticRagConfig1$outboundSchema),
|
|
1557
1343
|
]);
|
|
1558
1344
|
|
|
@@ -1573,26 +1359,22 @@ export type SearchKnowledgeRequest$Outbound = {
|
|
|
1573
1359
|
top_k?: number | undefined;
|
|
1574
1360
|
threshold?: number | undefined;
|
|
1575
1361
|
search_type?: string | undefined;
|
|
1576
|
-
filter_by?:
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
| SearchKnowledgeRequest1Nin$Outbound
|
|
1589
|
-
| Exists$Outbound;
|
|
1590
|
-
}
|
|
1591
|
-
| undefined;
|
|
1362
|
+
filter_by?: FilterByAnd$Outbound | FilterByOr$Outbound | {
|
|
1363
|
+
[k: string]:
|
|
1364
|
+
| OneEq$Outbound
|
|
1365
|
+
| OneNe$Outbound
|
|
1366
|
+
| Gt$Outbound
|
|
1367
|
+
| Gte$Outbound
|
|
1368
|
+
| Lt$Outbound
|
|
1369
|
+
| Lte$Outbound
|
|
1370
|
+
| OneIn$Outbound
|
|
1371
|
+
| OneNin$Outbound
|
|
1372
|
+
| Exists$Outbound;
|
|
1373
|
+
} | undefined;
|
|
1592
1374
|
search_options?: SearchOptions$Outbound | undefined;
|
|
1593
1375
|
rerank_config?: SearchRerankConfig$Outbound | undefined;
|
|
1594
1376
|
agentic_rag_config?:
|
|
1595
|
-
|
|
|
1377
|
+
| Two$Outbound
|
|
1596
1378
|
| AgenticRagConfig1$Outbound
|
|
1597
1379
|
| null
|
|
1598
1380
|
| undefined;
|
|
@@ -1610,27 +1392,25 @@ export const SearchKnowledgeRequest$outboundSchema: z.ZodType<
|
|
|
1610
1392
|
threshold: z.number().optional(),
|
|
1611
1393
|
searchType: SearchType$outboundSchema.optional(),
|
|
1612
1394
|
filterBy: z.union([
|
|
1613
|
-
z.lazy(() =>
|
|
1614
|
-
z.lazy(() =>
|
|
1615
|
-
z.record(
|
|
1616
|
-
z.
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
]),
|
|
1627
|
-
),
|
|
1395
|
+
z.lazy(() => FilterByAnd$outboundSchema),
|
|
1396
|
+
z.lazy(() => FilterByOr$outboundSchema),
|
|
1397
|
+
z.record(z.union([
|
|
1398
|
+
z.lazy(() => OneEq$outboundSchema),
|
|
1399
|
+
z.lazy(() => OneNe$outboundSchema),
|
|
1400
|
+
z.lazy(() => Gt$outboundSchema),
|
|
1401
|
+
z.lazy(() => Gte$outboundSchema),
|
|
1402
|
+
z.lazy(() => Lt$outboundSchema),
|
|
1403
|
+
z.lazy(() => Lte$outboundSchema),
|
|
1404
|
+
z.lazy(() => OneIn$outboundSchema),
|
|
1405
|
+
z.lazy(() => OneNin$outboundSchema),
|
|
1406
|
+
z.lazy(() => Exists$outboundSchema),
|
|
1407
|
+
])),
|
|
1628
1408
|
]).optional(),
|
|
1629
1409
|
searchOptions: SearchOptions$outboundSchema.optional(),
|
|
1630
1410
|
rerankConfig: SearchRerankConfig$outboundSchema.optional(),
|
|
1631
1411
|
agenticRagConfig: z.nullable(
|
|
1632
1412
|
z.union([
|
|
1633
|
-
z.lazy(() =>
|
|
1413
|
+
z.lazy(() => Two$outboundSchema),
|
|
1634
1414
|
z.lazy(() => AgenticRagConfig1$outboundSchema),
|
|
1635
1415
|
]),
|
|
1636
1416
|
).optional(),
|