@orq-ai/node 4.13.13 → 4.13.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -37
- package/funcs/modelCatalogGet.d.ts +18 -0
- package/funcs/modelCatalogGet.d.ts.map +1 -0
- package/funcs/modelCatalogGet.js +121 -0
- package/funcs/modelCatalogGet.js.map +1 -0
- package/funcs/modelCatalogList.d.ts +18 -0
- package/funcs/modelCatalogList.d.ts.map +1 -0
- package/funcs/modelCatalogList.js +133 -0
- package/funcs/modelCatalogList.js.map +1 -0
- package/funcs/modelCatalogListOfferings.d.ts +18 -0
- package/funcs/modelCatalogListOfferings.d.ts.map +1 -0
- package/funcs/modelCatalogListOfferings.js +138 -0
- package/funcs/modelCatalogListOfferings.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/models/components/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/getmodelcatalogmodelresponse.d.ts +14 -0
- package/models/components/getmodelcatalogmodelresponse.d.ts.map +1 -0
- package/models/components/getmodelcatalogmodelresponse.js +51 -0
- package/models/components/getmodelcatalogmodelresponse.js.map +1 -0
- package/models/components/index.d.ts +6 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +6 -0
- package/models/components/index.js.map +1 -1
- package/models/components/listmodelcatalogofferingsresponse.d.ts +25 -0
- package/models/components/listmodelcatalogofferingsresponse.d.ts.map +1 -0
- package/models/components/listmodelcatalogofferingsresponse.js +58 -0
- package/models/components/listmodelcatalogofferingsresponse.js.map +1 -0
- package/models/components/listmodelcatalogresponse.d.ts +25 -0
- package/models/components/listmodelcatalogresponse.d.ts.map +1 -0
- package/models/components/listmodelcatalogresponse.js +58 -0
- package/models/components/listmodelcatalogresponse.js.map +1 -0
- package/models/components/model.d.ts +129 -0
- package/models/components/model.d.ts.map +1 -0
- package/models/components/model.js +91 -0
- package/models/components/model.js.map +1 -0
- package/models/components/modelmodalities.d.ts +17 -0
- package/models/components/modelmodalities.d.ts.map +1 -0
- package/models/components/modelmodalities.js +51 -0
- package/models/components/modelmodalities.js.map +1 -0
- package/models/components/modelprovider.d.ts +17 -0
- package/models/components/modelprovider.d.ts.map +1 -0
- package/models/components/modelprovider.js +51 -0
- package/models/components/modelprovider.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/operations/billing.js +1 -1
- package/models/operations/createannotationqueue.js +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/getalltools.js +6 -6
- package/models/operations/geteval.js +16 -16
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/index.d.ts +3 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +3 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listannotationqueues.js +1 -1
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/modelcatalogget.d.ts +15 -0
- package/models/operations/modelcatalogget.d.ts.map +1 -0
- package/models/operations/modelcatalogget.js +49 -0
- package/models/operations/modelcatalogget.js.map +1 -0
- package/models/operations/modelcataloglist.d.ts +103 -0
- package/models/operations/modelcataloglist.d.ts.map +1 -0
- package/models/operations/modelcataloglist.js +74 -0
- package/models/operations/modelcataloglist.js.map +1 -0
- package/models/operations/modelcataloglistofferings.d.ts +106 -0
- package/models/operations/modelcataloglistofferings.d.ts.map +1 -0
- package/models/operations/modelcataloglistofferings.js +73 -0
- package/models/operations/modelcataloglistofferings.js.map +1 -0
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveannotationqueue.js +1 -1
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjson2.js +28 -28
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody14attributes2.js +28 -28
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody22attributesopenresponsesdetail.js +6 -6
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody23annotations.js +26 -26
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody27attributesopenresponsesoutput3type.js +6 -6
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody314.js +31 -31
- package/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody5attributestype.js +22 -22
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody11attributestoplogprobs.js +14 -14
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody15attributesopenresponsesoutput4type.js +14 -14
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody17attributesopenresponsesoutput44type.js +16 -16
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody18type.js +24 -24
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody1attributestype.js +2 -2
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributestoplogprobs.js +14 -14
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributestoplogprobs.js +14 -14
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody32attributesopenresponsesoutput48type.js +18 -18
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody66.js +2 -2
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody7attributes5.js +16 -16
- package/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody9attributes8.js +18 -18
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1017.js +4 -4
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq7evaluatorconfigtype.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorq15annotator.js +5 -5
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody136.js +25 -25
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody14attributesorq14type.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq7outputschema.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1618.js +3 -3
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq8kind.js +18 -18
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq12evaluatorconfigtype.js +11 -11
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq5kind.js +24 -24
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq14annotator.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq7evaluatorconfigtype.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorqevaluatorconfigtype.js +28 -28
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq13evaluationtype.js +9 -9
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq7status.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq18type.js +2 -2
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2611.js +15 -15
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorqevaluationtype.js +28 -28
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq14annotator.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq7evaluatorconfigtype.js +21 -21
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2attributesorq14type.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.js +2 -2
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq16kind.js +4 -4
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorq9evaluatorconfigtype.js +17 -17
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesannotator.js +30 -30
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody34attributesorq12evaluationtype.js +11 -11
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.js +24 -24
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq14evaluationtype.js +7 -7
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq4kind.js +26 -26
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody5attributesorq11evaluatorconfigtype.js +13 -13
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq19annotator.js +1 -1
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6value.js +32 -32
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq8evaluatorconfigtype.js +19 -19
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorq18annotator.js +2 -2
- package/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq9kind.js +17 -17
- package/models/operations/retrieveannotationqueueitemevaluationsannotator.js +32 -32
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody20attributesopenresponses6role.js +28 -28
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26content.js +20 -20
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody28attributesopenresponses6role.js +28 -28
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody34attributesrole.js +24 -24
- package/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200status.js +28 -28
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody12attributes1.js +30 -30
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody24attributescontent.js +14 -14
- package/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody332.js +4 -4
- package/models/operations/retrieveannotationqueueitemresponsebody.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10http.js +31 -31
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16settings.js +32 -32
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson17context.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson22call.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson25engine.js +33 -33
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27conversation.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson30nodes.js +33 -33
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33token.js +1 -1
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8trace.js +33 -33
- package/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjsonresponse.js +1 -1
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse1.js +8 -8
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody13attributesopenresponsesoutputtype.js +10 -10
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody193.js +10 -10
- package/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody35attributestype.js +10 -10
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/twenty.js +1 -1
- package/models/operations/updateannotationqueue.js +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +7 -7
- package/packages/orq-rc/src/funcs/agentsCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsDelete.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsInvoke.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsList.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsResponsesCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsResponsesGet.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsRetrieve.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsRun.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsStream.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsStreamRun.ts +1 -1
- package/packages/orq-rc/src/funcs/agentsUpdate.ts +1 -1
- package/packages/orq-rc/src/funcs/annotationQueuesCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/annotationQueuesDelete.ts +3 -0
- package/packages/orq-rc/src/funcs/annotationQueuesRetrieveItem.ts +1 -1
- package/packages/orq-rc/src/funcs/annotationQueuesUpdate.ts +3 -0
- package/packages/orq-rc/src/funcs/chunkingParse.ts +5 -4
- package/packages/orq-rc/src/funcs/datasetsCreateDatapoint.ts +4 -7
- package/packages/orq-rc/src/funcs/datasetsUpdateDatapoint.ts +3 -0
- package/packages/orq-rc/src/funcs/evalsAll.ts +3 -0
- package/packages/orq-rc/src/funcs/evalsCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/evalsDelete.ts +3 -0
- package/packages/orq-rc/src/funcs/evalsGet.ts +1 -5
- package/packages/orq-rc/src/funcs/evalsInvoke.ts +13 -24
- package/packages/orq-rc/src/funcs/evalsUpdate.ts +3 -0
- package/packages/orq-rc/src/funcs/guardrailRulesCreate.ts +1 -1
- package/packages/orq-rc/src/funcs/knowledgeCreate.ts +11 -8
- package/packages/orq-rc/src/funcs/knowledgeCreateChunks.ts +8 -4
- package/packages/orq-rc/src/funcs/knowledgeCreateDatasource.ts +11 -5
- package/packages/orq-rc/src/funcs/knowledgeDeleteChunk.ts +3 -0
- package/packages/orq-rc/src/funcs/knowledgeDeleteChunks.ts +11 -5
- package/packages/orq-rc/src/funcs/knowledgeGetChunksCount.ts +8 -5
- package/packages/orq-rc/src/funcs/knowledgeList.ts +5 -4
- package/packages/orq-rc/src/funcs/knowledgeListChunks.ts +8 -4
- package/packages/orq-rc/src/funcs/knowledgeListChunksPaginated.ts +11 -5
- package/packages/orq-rc/src/funcs/knowledgeListDatasources.ts +8 -5
- package/packages/orq-rc/src/funcs/knowledgeRetrieve.ts +5 -4
- package/packages/orq-rc/src/funcs/knowledgeRetrieveChunk.ts +8 -4
- package/packages/orq-rc/src/funcs/knowledgeRetrieveDatasource.ts +8 -4
- package/packages/orq-rc/src/funcs/knowledgeRetrieveFileUrl.ts +187 -0
- package/packages/orq-rc/src/funcs/knowledgeRetrieveProcessingStatus.ts +180 -0
- package/packages/orq-rc/src/funcs/knowledgeSearch.ts +8 -5
- package/packages/orq-rc/src/funcs/knowledgeToggleChunk.ts +181 -0
- package/packages/orq-rc/src/funcs/knowledgeUpdate.ts +11 -5
- package/packages/orq-rc/src/funcs/knowledgeUpdateChunk.ts +11 -5
- package/packages/orq-rc/src/funcs/knowledgeUpdateDatasource.ts +11 -5
- package/packages/orq-rc/src/funcs/memoryStoresCreate.ts +9 -14
- package/packages/orq-rc/src/funcs/memoryStoresCreateDocument.ts +8 -5
- package/packages/orq-rc/src/funcs/memoryStoresCreateMemory.ts +8 -5
- package/packages/orq-rc/src/funcs/memoryStoresDeleteDocument.ts +4 -4
- package/packages/orq-rc/src/funcs/memoryStoresDeleteMemory.ts +4 -4
- package/packages/orq-rc/src/funcs/memoryStoresList.ts +5 -4
- package/packages/orq-rc/src/funcs/memoryStoresListDocuments.ts +5 -4
- package/packages/orq-rc/src/funcs/memoryStoresListMemories.ts +5 -4
- package/packages/orq-rc/src/funcs/memoryStoresRetrieve.ts +5 -4
- package/packages/orq-rc/src/funcs/memoryStoresRetrieveDocument.ts +5 -4
- package/packages/orq-rc/src/funcs/memoryStoresRetrieveMemory.ts +5 -4
- package/packages/orq-rc/src/funcs/memoryStoresUpdate.ts +8 -5
- package/packages/orq-rc/src/funcs/memoryStoresUpdateDocument.ts +8 -5
- package/packages/orq-rc/src/funcs/memoryStoresUpdateMemory.ts +8 -5
- package/packages/orq-rc/src/funcs/modelCatalogGet.ts +168 -0
- package/packages/orq-rc/src/funcs/modelCatalogList.ts +184 -0
- package/packages/orq-rc/src/funcs/modelCatalogListOfferings.ts +186 -0
- package/packages/orq-rc/src/funcs/promptsCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/promptsDelete.ts +3 -0
- package/packages/orq-rc/src/funcs/promptsUpdate.ts +3 -0
- package/packages/orq-rc/src/funcs/routerAudioTranscriptionsCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/routerAudioTranslationsCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/routerModerationsCreate.ts +3 -0
- package/packages/orq-rc/src/funcs/toolsList.ts +1 -1
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/models/components/agenticragconfig.ts +43 -0
- package/packages/orq-rc/src/models/components/agentresponserequest.ts +14 -10
- package/packages/orq-rc/src/models/components/alertcondition.ts +3 -4
- package/packages/orq-rc/src/models/components/chunk.ts +35 -0
- package/packages/orq-rc/src/models/components/chunkingcleanupoptions.ts +64 -0
- package/packages/orq-rc/src/models/components/chunkingconfiguration.ts +111 -0
- package/packages/orq-rc/src/models/components/chunkmetadata.ts +42 -0
- package/packages/orq-rc/src/models/components/chunkprocessingattempts.ts +42 -0
- package/packages/orq-rc/src/models/components/chunksservicecountrequest.ts +63 -0
- package/packages/orq-rc/src/models/components/chunksservicecountresponse.ts +31 -0
- package/packages/orq-rc/src/models/components/chunksservicedeletemanyrequest.ts +41 -0
- package/packages/orq-rc/src/models/components/chunksservicedeletemanyresponse.ts +39 -0
- package/packages/orq-rc/src/models/components/chunksservicelistpaginatedrequest.ts +71 -0
- package/packages/orq-rc/src/models/components/chunksservicelistpaginatedresponse.ts +58 -0
- package/packages/orq-rc/src/models/components/chunksservicelistresponse.ts +57 -0
- package/packages/orq-rc/src/models/components/chunksservicesetenabledrequest.ts +33 -0
- package/packages/orq-rc/src/models/components/chunksserviceupdaterequest.ts +68 -0
- package/packages/orq-rc/src/models/components/countmetadata.ts +86 -0
- package/packages/orq-rc/src/models/components/createguardrailrulerequest.ts +0 -3
- package/packages/orq-rc/src/models/components/creatememorydocumentrequest.ts +42 -0
- package/packages/orq-rc/src/models/components/creatememoryrequest.ts +39 -0
- package/packages/orq-rc/src/models/components/creatememorystorerequest.ts +59 -0
- package/packages/orq-rc/src/models/components/datasource.ts +108 -0
- package/packages/orq-rc/src/models/components/datasourceattachment.ts +64 -0
- package/packages/orq-rc/src/models/components/datasourcechunkingoptions.ts +53 -0
- package/packages/orq-rc/src/models/components/datasourcesservicecreaterequest.ts +79 -0
- package/packages/orq-rc/src/models/components/datasourcesservicegetprocessingstatusresponse.ts +69 -0
- package/packages/orq-rc/src/models/components/datasourcesservicelistresponse.ts +55 -0
- package/packages/orq-rc/src/models/components/datasourcesserviceupdaterequest.ts +41 -0
- package/packages/orq-rc/src/models/components/domain.ts +12 -1
- package/packages/orq-rc/src/models/components/embeddingsconfig.ts +92 -0
- package/packages/orq-rc/src/models/components/embeddingsmodelparameters.ts +64 -0
- package/packages/orq-rc/src/models/components/evaluationcontext.ts +84 -0
- package/packages/orq-rc/src/models/components/evaluationresult.ts +108 -0
- package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +2 -2
- package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/packages/orq-rc/src/models/components/getmodelcatalogmodelresponse.ts +35 -0
- package/packages/orq-rc/src/models/components/getuploadfileurlresponse.ts +37 -0
- package/packages/orq-rc/src/models/components/guardrailrule.ts +0 -5
- package/packages/orq-rc/src/models/components/index.ts +78 -1
- package/packages/orq-rc/src/models/components/inputtokensdetails.ts +3 -0
- package/packages/orq-rc/src/models/components/internalretrievalconfig.ts +44 -0
- package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +100 -160
- package/packages/orq-rc/src/models/components/invokeevaluatorrequest.ts +133 -0
- package/packages/orq-rc/src/models/components/invokeevaluatorresponse.ts +47 -0
- package/packages/orq-rc/src/models/components/knowledge.ts +558 -0
- package/packages/orq-rc/src/models/components/knowledgebasesservicecreaterequest.ts +439 -0
- package/packages/orq-rc/src/models/components/knowledgebasesservicelistresponse.ts +51 -0
- package/packages/orq-rc/src/models/components/knowledgebasesserviceupdaterequest.ts +649 -0
- package/packages/orq-rc/src/models/components/knowledgechunk.ts +120 -0
- package/packages/orq-rc/src/models/components/knowledgemetadata.ts +48 -0
- package/packages/orq-rc/src/models/components/knowledgesettings.ts +54 -0
- package/packages/orq-rc/src/models/components/knowledgeupdatesettings.ts +55 -0
- package/packages/orq-rc/src/models/components/listmemoriesresponse.ts +54 -0
- package/packages/orq-rc/src/models/components/listmemorydocumentsresponse.ts +57 -0
- package/packages/orq-rc/src/models/components/listmemorystoresresponse.ts +54 -0
- package/packages/orq-rc/src/models/components/listmodelcatalogofferingsresponse.ts +53 -0
- package/packages/orq-rc/src/models/components/listmodelcatalogresponse.ts +53 -0
- package/packages/orq-rc/src/models/components/memory.ts +74 -0
- package/packages/orq-rc/src/models/components/memorydocument.ts +65 -0
- package/packages/orq-rc/src/models/components/memorystore.ts +80 -0
- package/packages/orq-rc/src/models/components/memorystoreembeddingconfig.ts +54 -0
- package/packages/orq-rc/src/models/components/model.ts +203 -0
- package/packages/orq-rc/src/models/components/modelartificialanalysis.ts +95 -0
- package/packages/orq-rc/src/models/components/modelmodalities.ts +39 -0
- package/packages/orq-rc/src/models/components/modelparameter.ts +49 -0
- package/packages/orq-rc/src/models/components/modelprovider.ts +60 -0
- package/packages/orq-rc/src/models/components/parseresponse.ts +32 -0
- package/packages/orq-rc/src/models/components/processingattempt.ts +52 -0
- package/packages/orq-rc/src/models/components/processingerror.ts +33 -0
- package/packages/orq-rc/src/models/components/publicembeddingdata.ts +9 -6
- package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
- package/packages/orq-rc/src/models/components/rerankconfig.ts +58 -0
- package/packages/orq-rc/src/models/components/rerankmodelparameters.ts +31 -0
- package/packages/orq-rc/src/models/components/searchknowledgematch.ts +77 -0
- package/packages/orq-rc/src/models/components/searchknowledgerequest.ts +1656 -0
- package/packages/orq-rc/src/models/components/searchknowledgeresponse.ts +38 -0
- package/packages/orq-rc/src/models/components/searchknowledgescores.ts +39 -0
- package/packages/orq-rc/src/models/components/searchoptions.ts +49 -0
- package/packages/orq-rc/src/models/components/searchrerankconfig.ts +51 -0
- package/packages/orq-rc/src/models/components/searchretrievalconfig.ts +153 -0
- package/packages/orq-rc/src/models/components/searchtype.ts +17 -0
- package/packages/orq-rc/src/models/components/structuredinput.ts +51 -0
- package/packages/orq-rc/src/models/components/structuredoutput.ts +44 -0
- package/packages/orq-rc/src/models/components/structuredtoolcall.ts +43 -0
- package/packages/orq-rc/src/models/components/updateguardrailrulerequest.ts +0 -3
- package/packages/orq-rc/src/models/components/updatememorydocumentrequest.ts +42 -0
- package/packages/orq-rc/src/models/components/updatememoryrequest.ts +31 -0
- package/packages/orq-rc/src/models/components/updatememorystorerequest.ts +37 -0
- package/packages/orq-rc/src/models/components/updatenotifierrequest.ts +17 -10
- package/packages/orq-rc/src/models/components/uploadpostpolicy.ts +33 -0
- package/packages/orq-rc/src/models/components/upsertchunk.ts +59 -0
- package/packages/orq-rc/src/models/errors/index.ts +1 -1
- package/packages/orq-rc/src/models/errors/knowledgeapierror.ts +59 -0
- package/packages/orq-rc/src/models/operations/createannotationqueue.ts +1 -1
- package/packages/orq-rc/src/models/operations/createchatcompletion.ts +171 -353
- package/packages/orq-rc/src/models/operations/createchunk.ts +4 -181
- package/packages/orq-rc/src/models/operations/createcompletion.ts +17 -125
- package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +35 -41
- package/packages/orq-rc/src/models/operations/createdatasource.ts +7 -486
- package/packages/orq-rc/src/models/operations/creatememory.ts +5 -106
- package/packages/orq-rc/src/models/operations/creatememorydocument.ts +6 -110
- package/packages/orq-rc/src/models/operations/createrouterresponse.ts +6 -6
- package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
- package/packages/orq-rc/src/models/operations/createtranscription.ts +28 -33
- package/packages/orq-rc/src/models/operations/deletechunk.ts +8 -17
- package/packages/orq-rc/src/models/operations/deletechunks.ts +7 -85
- package/packages/orq-rc/src/models/operations/deletedatasource.ts +0 -6
- package/packages/orq-rc/src/models/operations/deleteknowledge.ts +0 -3
- package/packages/orq-rc/src/models/operations/deletememory.ts +0 -6
- package/packages/orq-rc/src/models/operations/deletememorydocument.ts +0 -9
- package/packages/orq-rc/src/models/operations/deletememorystore.ts +0 -3
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +227 -398
- package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +24 -24
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +45 -160
- package/packages/orq-rc/src/models/operations/getallmemories.ts +1 -109
- package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +1 -107
- package/packages/orq-rc/src/models/operations/getallmemorystores.ts +1 -149
- package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
- package/packages/orq-rc/src/models/operations/getchunkscount.ts +6 -141
- package/packages/orq-rc/src/models/operations/geteval.ts +25 -25
- package/packages/orq-rc/src/models/operations/getonechunk.ts +8 -135
- package/packages/orq-rc/src/models/operations/getonedatasourceprocessingstatus.ts +43 -0
- package/packages/orq-rc/src/models/operations/getonefileuploadurl.ts +54 -0
- package/packages/orq-rc/src/models/operations/getoneknowledge.ts +0 -616
- package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/index.ts +6 -2
- package/packages/orq-rc/src/models/operations/invokeeval.ts +5 -1298
- package/packages/orq-rc/src/models/operations/listannotationqueueitems.ts +50 -58
- package/packages/orq-rc/src/models/operations/listannotationqueues.ts +1 -1
- package/packages/orq-rc/src/models/operations/listchunks.ts +1 -159
- package/packages/orq-rc/src/models/operations/listchunkspaginated.ts +8 -269
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
- package/packages/orq-rc/src/models/operations/listdatasources.ts +0 -242
- package/packages/orq-rc/src/models/operations/listknowledgebases.ts +0 -589
- package/packages/orq-rc/src/models/operations/modelcatalogget.ts +34 -0
- package/packages/orq-rc/src/models/operations/modelcataloglist.ts +163 -0
- package/packages/orq-rc/src/models/operations/modelcataloglistofferings.ts +175 -0
- package/packages/orq-rc/src/models/operations/parse.ts +114 -89
- package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +24 -30
- package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
- package/packages/orq-rc/src/models/operations/postv2routerocr.ts +7 -11
- package/packages/orq-rc/src/models/operations/retrieveannotationqueue.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +16 -16
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +0 -182
- package/packages/orq-rc/src/models/operations/retrievememory.ts +0 -72
- package/packages/orq-rc/src/models/operations/retrievememorydocument.ts +0 -72
- package/packages/orq-rc/src/models/operations/retrievememorystore.ts +0 -108
- package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
- package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/searchknowledge.ts +13 -1728
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
- package/packages/orq-rc/src/models/operations/updateannotationqueue.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatechunk.ts +14 -200
- package/packages/orq-rc/src/models/operations/updatechunkenabled.ts +51 -0
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +5 -5
- package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +7 -216
- package/packages/orq-rc/src/models/operations/updateknowledge.ts +8 -1223
- package/packages/orq-rc/src/models/operations/updatememory.ts +5 -102
- package/packages/orq-rc/src/models/operations/updatememorydocument.ts +6 -113
- package/packages/orq-rc/src/models/operations/updatememorystore.ts +5 -152
- package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
- package/packages/orq-rc/src/sdk/agents.ts +9 -9
- package/packages/orq-rc/src/sdk/annotationqueues.ts +10 -1
- package/packages/orq-rc/src/sdk/chunking.ts +2 -1
- package/packages/orq-rc/src/sdk/datasets.ts +4 -1
- package/packages/orq-rc/src/sdk/evals.ts +18 -6
- package/packages/orq-rc/src/sdk/feedback.ts +0 -6
- package/packages/orq-rc/src/sdk/guardrailrules.ts +1 -1
- package/packages/orq-rc/src/sdk/knowledge.ts +151 -57
- package/packages/orq-rc/src/sdk/memorystores.ts +57 -56
- package/packages/orq-rc/src/sdk/modelcatalog.ts +64 -0
- package/packages/orq-rc/src/sdk/moderations.ts +3 -0
- package/packages/orq-rc/src/sdk/orqresponses.ts +2 -2
- package/packages/orq-rc/src/sdk/prompts.ts +9 -0
- package/packages/orq-rc/src/sdk/sdk.ts +21 -15
- package/packages/orq-rc/src/sdk/tools.ts +1 -1
- package/packages/orq-rc/src/sdk/transcriptions.ts +3 -0
- package/packages/orq-rc/src/sdk/translations.ts +3 -0
- package/sdk/modelcatalog.d.ts +27 -0
- package/sdk/modelcatalog.d.ts.map +1 -0
- package/sdk/modelcatalog.js +42 -0
- package/sdk/modelcatalog.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/modelCatalogGet.ts +168 -0
- package/src/funcs/modelCatalogList.ts +182 -0
- package/src/funcs/modelCatalogListOfferings.ts +187 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/getmodelcatalogmodelresponse.ts +35 -0
- package/src/models/components/index.ts +6 -0
- package/src/models/components/listmodelcatalogofferingsresponse.ts +53 -0
- package/src/models/components/listmodelcatalogresponse.ts +53 -0
- package/src/models/components/model.ts +206 -0
- package/src/models/components/modelmodalities.ts +39 -0
- package/src/models/components/modelprovider.ts +39 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/operations/billing.ts +1 -1
- package/src/models/operations/createannotationqueue.ts +1 -1
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/geteval.ts +16 -16
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/listannotationqueues.ts +1 -1
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/modelcatalogget.ts +34 -0
- package/src/models/operations/modelcataloglist.ts +147 -0
- package/src/models/operations/modelcataloglistofferings.ts +151 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveannotationqueue.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjson2.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody14attributes2.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody22attributesopenresponsesdetail.ts +6 -6
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody23annotations.ts +26 -26
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody27attributesopenresponsesoutput3type.ts +6 -6
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody314.ts +31 -31
- package/src/models/operations/retrieveannotationqueueitem1annotationqueuesresponse200applicationjsonresponsebody5attributestype.ts +22 -22
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody11attributestoplogprobs.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody15attributesopenresponsesoutput4type.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody17attributesopenresponsesoutput44type.ts +16 -16
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody18type.ts +24 -24
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody1attributestype.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody21attributestoplogprobs.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody29attributestoplogprobs.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody32attributesopenresponsesoutput48type.ts +18 -18
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody66.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody7attributes5.ts +16 -16
- package/src/models/operations/retrieveannotationqueueitemcontentannotationqueuesresponse200applicationjsonresponsebody9attributes8.ts +18 -18
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1017.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody11attributesorq7evaluatorconfigtype.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody12attributesorq15annotator.ts +5 -5
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody136.ts +25 -25
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody14attributesorq14type.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody15attributesorq7outputschema.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody1618.ts +3 -3
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody17attributesorq8kind.ts +18 -18
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody18attributesorq12evaluatorconfigtype.ts +11 -11
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody19attributesorq5kind.ts +24 -24
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody20attributesorq14annotator.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody21attributesorq7evaluatorconfigtype.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody22attributesorqevaluatorconfigtype.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody23attributesorq13evaluationtype.ts +9 -9
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody24attributesorq7status.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody25attributesorq18type.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2611.ts +15 -15
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody27attributesorqevaluationtype.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody28attributesorq14annotator.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody29attributesorq7evaluatorconfigtype.ts +21 -21
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody2attributesorq14type.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody30attributesorq18evaluationtype.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody31attributesorq16kind.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody32attributesorq9evaluatorconfigtype.ts +17 -17
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody33attributesannotator.ts +30 -30
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody34attributesorq12evaluationtype.ts +11 -11
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody35attributesorq5annotator.ts +24 -24
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody3attributesorq14evaluationtype.ts +7 -7
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody4attributesorq4kind.ts +26 -26
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody5attributesorq11evaluatorconfigtype.ts +13 -13
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6attributesorq19annotator.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody6value.ts +32 -32
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody7attributesorq8evaluatorconfigtype.ts +19 -19
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody8attributesorq18annotator.ts +2 -2
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotationqueuesresponse200applicationjsonresponsebody9attributesorq9kind.ts +17 -17
- package/src/models/operations/retrieveannotationqueueitemevaluationsannotator.ts +32 -32
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody20attributesopenresponses6role.ts +28 -28
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody26content.ts +20 -20
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody28attributesopenresponses6role.ts +28 -28
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200applicationjsonresponsebody34attributesrole.ts +24 -24
- package/src/models/operations/retrieveannotationqueueiteminputannotationqueuesresponse200status.ts +28 -28
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody12attributes1.ts +30 -30
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody24attributescontent.ts +14 -14
- package/src/models/operations/retrieveannotationqueueitemoutputannotationqueuesresponse200applicationjsonresponsebody332.ts +4 -4
- package/src/models/operations/retrieveannotationqueueitemresponsebody.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson10http.ts +31 -31
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson16settings.ts +32 -32
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson17context.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson22call.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson25engine.ts +33 -33
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson27conversation.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson30nodes.ts +33 -33
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson33token.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjson8trace.ts +33 -33
- package/src/models/operations/retrieveannotationqueueitemresponsebodyannotationqueuesresponse200applicationjsonresponse.ts +1 -1
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse1.ts +8 -8
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody13attributesopenresponsesoutputtype.ts +10 -10
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody193.ts +10 -10
- package/src/models/operations/retrieveannotationqueueitemsummaryannotationqueuesresponse200applicationjsonresponsebody35attributestype.ts +10 -10
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/twenty.ts +1 -1
- package/src/models/operations/updateannotationqueue.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/modelcatalog.ts +64 -0
- package/src/sdk/sdk.ts +6 -0
- package/packages/orq-rc/src/models/components/evaluatorvariablevalue.ts +0 -38
- package/packages/orq-rc/src/models/errors/invokeeval.ts +0 -141
- package/packages/orq-rc/src/models/operations/createknowledge.ts +0 -1117
- package/packages/orq-rc/src/models/operations/creatememorystore.ts +0 -199
|
@@ -10,13 +10,12 @@ import { Result as SafeParseResult } from "../../types/fp.js";
|
|
|
10
10
|
import * as components from "../components/index.js";
|
|
11
11
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
12
|
|
|
13
|
-
export type
|
|
14
|
-
components.TextContentPartSchema;
|
|
13
|
+
export type DeploymentGetConfigContent2 = components.TextContentPartSchema;
|
|
15
14
|
|
|
16
15
|
/**
|
|
17
16
|
* The contents of the tool message.
|
|
18
17
|
*/
|
|
19
|
-
export type
|
|
18
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsRequestContent =
|
|
20
19
|
| string
|
|
21
20
|
| Array<components.TextContentPartSchema>;
|
|
22
21
|
|
|
@@ -93,7 +92,7 @@ export type ToolMessage = {
|
|
|
93
92
|
cacheControl?: PrefixMessagesCacheControl | undefined;
|
|
94
93
|
};
|
|
95
94
|
|
|
96
|
-
export type
|
|
95
|
+
export type Content2 =
|
|
97
96
|
| (components.TextContentPartSchema & { type: "text" })
|
|
98
97
|
| components.RefusalPartSchema
|
|
99
98
|
| components.ReasoningPartSchema
|
|
@@ -102,7 +101,7 @@ export type DeploymentGetConfigContent2 =
|
|
|
102
101
|
/**
|
|
103
102
|
* The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified.
|
|
104
103
|
*/
|
|
105
|
-
export type
|
|
104
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsContent =
|
|
106
105
|
| string
|
|
107
106
|
| Array<
|
|
108
107
|
| (components.TextContentPartSchema & { type: "text" })
|
|
@@ -132,7 +131,7 @@ export const PrefixMessagesType = {
|
|
|
132
131
|
*/
|
|
133
132
|
export type PrefixMessagesType = ClosedEnum<typeof PrefixMessagesType>;
|
|
134
133
|
|
|
135
|
-
export type
|
|
134
|
+
export type FunctionT = {
|
|
136
135
|
/**
|
|
137
136
|
* The name of the function to call.
|
|
138
137
|
*/
|
|
@@ -143,7 +142,7 @@ export type PrefixMessagesFunction = {
|
|
|
143
142
|
arguments?: string | undefined;
|
|
144
143
|
};
|
|
145
144
|
|
|
146
|
-
export type
|
|
145
|
+
export type ToolCalls = {
|
|
147
146
|
/**
|
|
148
147
|
* The ID of the tool call.
|
|
149
148
|
*/
|
|
@@ -152,7 +151,7 @@ export type PrefixMessagesToolCalls = {
|
|
|
152
151
|
* The type of the tool. Currently, only `function` is supported.
|
|
153
152
|
*/
|
|
154
153
|
type: PrefixMessagesType;
|
|
155
|
-
function:
|
|
154
|
+
function: FunctionT;
|
|
156
155
|
/**
|
|
157
156
|
* Encrypted representation of the model internal reasoning state during function calling. Required by Gemini 3 models when continuing a conversation after a tool call.
|
|
158
157
|
*/
|
|
@@ -192,21 +191,19 @@ export type AssistantMessage = {
|
|
|
192
191
|
/**
|
|
193
192
|
* The tool calls generated by the model, such as function calls.
|
|
194
193
|
*/
|
|
195
|
-
toolCalls?: Array<
|
|
194
|
+
toolCalls?: Array<ToolCalls> | undefined;
|
|
196
195
|
};
|
|
197
196
|
|
|
198
197
|
/**
|
|
199
198
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
200
199
|
*/
|
|
201
|
-
export const
|
|
200
|
+
export const TwoType = {
|
|
202
201
|
Ephemeral: "ephemeral",
|
|
203
202
|
} as const;
|
|
204
203
|
/**
|
|
205
204
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
206
205
|
*/
|
|
207
|
-
export type
|
|
208
|
-
typeof DeploymentGetConfig2DeploymentsType
|
|
209
|
-
>;
|
|
206
|
+
export type TwoType = ClosedEnum<typeof TwoType>;
|
|
210
207
|
|
|
211
208
|
/**
|
|
212
209
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
@@ -238,7 +235,7 @@ export type CacheControl = {
|
|
|
238
235
|
/**
|
|
239
236
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
240
237
|
*/
|
|
241
|
-
type:
|
|
238
|
+
type: TwoType;
|
|
242
239
|
/**
|
|
243
240
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
244
241
|
*
|
|
@@ -264,7 +261,7 @@ export type Four = {
|
|
|
264
261
|
file: components.FileContentPartSchema;
|
|
265
262
|
};
|
|
266
263
|
|
|
267
|
-
export type
|
|
264
|
+
export type Two =
|
|
268
265
|
| (components.TextContentPartSchema & { type: "text" })
|
|
269
266
|
| components.ImageContentPartSchema
|
|
270
267
|
| components.AudioContentPartSchema
|
|
@@ -273,7 +270,7 @@ export type Content2 =
|
|
|
273
270
|
/**
|
|
274
271
|
* The contents of the user message.
|
|
275
272
|
*/
|
|
276
|
-
export type
|
|
273
|
+
export type DeploymentGetConfigPrefixMessagesContent =
|
|
277
274
|
| string
|
|
278
275
|
| Array<
|
|
279
276
|
| (components.TextContentPartSchema & { type: "text" })
|
|
@@ -307,7 +304,7 @@ export type UserMessage = {
|
|
|
307
304
|
/**
|
|
308
305
|
* The contents of the developer message.
|
|
309
306
|
*/
|
|
310
|
-
export type
|
|
307
|
+
export type PrefixMessagesContent =
|
|
311
308
|
| string
|
|
312
309
|
| Array<components.TextContentPartSchema>;
|
|
313
310
|
|
|
@@ -329,9 +326,7 @@ export type DeveloperMessage = {
|
|
|
329
326
|
/**
|
|
330
327
|
* The contents of the system message.
|
|
331
328
|
*/
|
|
332
|
-
export type
|
|
333
|
-
| string
|
|
334
|
-
| Array<components.TextContentPartSchema>;
|
|
329
|
+
export type Content = string | Array<components.TextContentPartSchema>;
|
|
335
330
|
|
|
336
331
|
/**
|
|
337
332
|
* Developer-provided instructions that the model should follow, regardless of messages sent by the user.
|
|
@@ -358,7 +353,7 @@ export type PrefixMessages =
|
|
|
358
353
|
| AssistantMessage
|
|
359
354
|
| ToolMessage;
|
|
360
355
|
|
|
361
|
-
export type
|
|
356
|
+
export type DeploymentGetConfigContentDeploymentsRequestRequestBody2 =
|
|
362
357
|
components.TextContentPartSchema;
|
|
363
358
|
|
|
364
359
|
/**
|
|
@@ -441,7 +436,7 @@ export type MessagesToolMessage = {
|
|
|
441
436
|
cacheControl?: MessagesCacheControl | undefined;
|
|
442
437
|
};
|
|
443
438
|
|
|
444
|
-
export type
|
|
439
|
+
export type DeploymentGetConfigContentDeploymentsRequest2 =
|
|
445
440
|
| (components.TextContentPartSchema & { type: "text" })
|
|
446
441
|
| components.RefusalPartSchema
|
|
447
442
|
| components.ReasoningPartSchema
|
|
@@ -546,14 +541,14 @@ export type MessagesAssistantMessage = {
|
|
|
546
541
|
/**
|
|
547
542
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
548
543
|
*/
|
|
549
|
-
export const
|
|
544
|
+
export const DeploymentGetConfig2DeploymentsType = {
|
|
550
545
|
Ephemeral: "ephemeral",
|
|
551
546
|
} as const;
|
|
552
547
|
/**
|
|
553
548
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
554
549
|
*/
|
|
555
|
-
export type
|
|
556
|
-
typeof
|
|
550
|
+
export type DeploymentGetConfig2DeploymentsType = ClosedEnum<
|
|
551
|
+
typeof DeploymentGetConfig2DeploymentsType
|
|
557
552
|
>;
|
|
558
553
|
|
|
559
554
|
/**
|
|
@@ -586,7 +581,7 @@ export type TwoCacheControl = {
|
|
|
586
581
|
/**
|
|
587
582
|
* Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
|
|
588
583
|
*/
|
|
589
|
-
type:
|
|
584
|
+
type: DeploymentGetConfig2DeploymentsType;
|
|
590
585
|
/**
|
|
591
586
|
* The time-to-live for the cache control breakpoint. This may be one of the following values:
|
|
592
587
|
*
|
|
@@ -612,7 +607,7 @@ export type Two4 = {
|
|
|
612
607
|
file: components.FileContentPartSchema;
|
|
613
608
|
};
|
|
614
609
|
|
|
615
|
-
export type
|
|
610
|
+
export type DeploymentGetConfigContentDeployments2 =
|
|
616
611
|
| (components.TextContentPartSchema & { type: "text" })
|
|
617
612
|
| components.ImageContentPartSchema
|
|
618
613
|
| components.AudioContentPartSchema
|
|
@@ -697,7 +692,7 @@ export type MessagesSystemMessage = {
|
|
|
697
692
|
name?: string | undefined;
|
|
698
693
|
};
|
|
699
694
|
|
|
700
|
-
export type
|
|
695
|
+
export type Messages =
|
|
701
696
|
| MessagesSystemMessage
|
|
702
697
|
| MessagesDeveloperMessage
|
|
703
698
|
| MessagesUserMessage
|
|
@@ -759,13 +754,6 @@ export type Thread = {
|
|
|
759
754
|
tags?: Array<string> | undefined;
|
|
760
755
|
};
|
|
761
756
|
|
|
762
|
-
/**
|
|
763
|
-
* Exists
|
|
764
|
-
*/
|
|
765
|
-
export type OrExists = {
|
|
766
|
-
exists: boolean;
|
|
767
|
-
};
|
|
768
|
-
|
|
769
757
|
export type DeploymentGetConfigOrNin = string | number | boolean;
|
|
770
758
|
|
|
771
759
|
/**
|
|
@@ -838,36 +826,17 @@ export type KnowledgeFilterOr =
|
|
|
838
826
|
| OrLt
|
|
839
827
|
| OrLte
|
|
840
828
|
| OrIn
|
|
841
|
-
| OrNin
|
|
842
|
-
| OrExists;
|
|
829
|
+
| OrNin;
|
|
843
830
|
|
|
844
831
|
/**
|
|
845
832
|
* Or
|
|
846
833
|
*/
|
|
847
834
|
export type Or = {
|
|
848
835
|
or: Array<
|
|
849
|
-
{
|
|
850
|
-
[k: string]:
|
|
851
|
-
| OrEq
|
|
852
|
-
| OrNe
|
|
853
|
-
| OrGt
|
|
854
|
-
| OrGte
|
|
855
|
-
| OrLt
|
|
856
|
-
| OrLte
|
|
857
|
-
| OrIn
|
|
858
|
-
| OrNin
|
|
859
|
-
| OrExists;
|
|
860
|
-
}
|
|
836
|
+
{ [k: string]: OrEq | OrNe | OrGt | OrGte | OrLt | OrLte | OrIn | OrNin }
|
|
861
837
|
>;
|
|
862
838
|
};
|
|
863
839
|
|
|
864
|
-
/**
|
|
865
|
-
* Exists
|
|
866
|
-
*/
|
|
867
|
-
export type AndExists = {
|
|
868
|
-
exists: boolean;
|
|
869
|
-
};
|
|
870
|
-
|
|
871
840
|
export type DeploymentGetConfigAndNin = string | number | boolean;
|
|
872
841
|
|
|
873
842
|
/**
|
|
@@ -940,8 +909,7 @@ export type KnowledgeFilterAnd =
|
|
|
940
909
|
| AndLt
|
|
941
910
|
| AndLte
|
|
942
911
|
| AndIn
|
|
943
|
-
| AndNin
|
|
944
|
-
| AndExists;
|
|
912
|
+
| AndNin;
|
|
945
913
|
|
|
946
914
|
/**
|
|
947
915
|
* And
|
|
@@ -957,19 +925,11 @@ export type And = {
|
|
|
957
925
|
| AndLt
|
|
958
926
|
| AndLte
|
|
959
927
|
| AndIn
|
|
960
|
-
| AndNin
|
|
961
|
-
| AndExists;
|
|
928
|
+
| AndNin;
|
|
962
929
|
}
|
|
963
930
|
>;
|
|
964
931
|
};
|
|
965
932
|
|
|
966
|
-
/**
|
|
967
|
-
* Exists
|
|
968
|
-
*/
|
|
969
|
-
export type Exists = {
|
|
970
|
-
exists: boolean;
|
|
971
|
-
};
|
|
972
|
-
|
|
973
933
|
export type OneNin = string | number | boolean;
|
|
974
934
|
|
|
975
935
|
/**
|
|
@@ -1034,22 +994,13 @@ export type Eq = {
|
|
|
1034
994
|
eq: string | number | boolean;
|
|
1035
995
|
};
|
|
1036
996
|
|
|
1037
|
-
export type
|
|
1038
|
-
| Eq
|
|
1039
|
-
| Ne
|
|
1040
|
-
| Gt
|
|
1041
|
-
| Gte
|
|
1042
|
-
| Lt
|
|
1043
|
-
| Lte
|
|
1044
|
-
| In
|
|
1045
|
-
| Nin
|
|
1046
|
-
| Exists;
|
|
997
|
+
export type One = Eq | Ne | Gt | Gte | Lt | Lte | In | Nin;
|
|
1047
998
|
|
|
1048
999
|
/**
|
|
1049
1000
|
* A filter to apply to the knowledge base chunk metadata when using knowledge bases in the deployment.
|
|
1050
1001
|
*/
|
|
1051
1002
|
export type KnowledgeFilter = And | Or | {
|
|
1052
|
-
[k: string]: Eq | Ne | Gt | Gte | Lt | Lte | In | Nin
|
|
1003
|
+
[k: string]: Eq | Ne | Gt | Gte | Lt | Lte | In | Nin;
|
|
1053
1004
|
};
|
|
1054
1005
|
|
|
1055
1006
|
export type DeploymentGetConfigRequestBody = {
|
|
@@ -1115,7 +1066,7 @@ export type DeploymentGetConfigRequestBody = {
|
|
|
1115
1066
|
* A filter to apply to the knowledge base chunk metadata when using knowledge bases in the deployment.
|
|
1116
1067
|
*/
|
|
1117
1068
|
knowledgeFilter?: And | Or | {
|
|
1118
|
-
[k: string]: Eq | Ne | Gt | Gte | Lt | Lte | In | Nin
|
|
1069
|
+
[k: string]: Eq | Ne | Gt | Gte | Lt | Lte | In | Nin;
|
|
1119
1070
|
} | undefined;
|
|
1120
1071
|
};
|
|
1121
1072
|
|
|
@@ -1207,7 +1158,7 @@ export type TwoImageUrl = {
|
|
|
1207
1158
|
/**
|
|
1208
1159
|
* The image part of the prompt message. Only supported with vision models.
|
|
1209
1160
|
*/
|
|
1210
|
-
export type
|
|
1161
|
+
export type Two2 = {
|
|
1211
1162
|
type: "image_url";
|
|
1212
1163
|
imageUrl: TwoImageUrl;
|
|
1213
1164
|
};
|
|
@@ -1220,17 +1171,12 @@ export type Two1 = {
|
|
|
1220
1171
|
text: string;
|
|
1221
1172
|
};
|
|
1222
1173
|
|
|
1223
|
-
export type DeploymentGetConfigContentDeploymentsResponse2 =
|
|
1224
|
-
| Two1
|
|
1225
|
-
| DeploymentGetConfig22
|
|
1226
|
-
| Two3;
|
|
1174
|
+
export type DeploymentGetConfigContentDeploymentsResponse2 = Two1 | Two2 | Two3;
|
|
1227
1175
|
|
|
1228
1176
|
/**
|
|
1229
1177
|
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
|
|
1230
1178
|
*/
|
|
1231
|
-
export type DeploymentGetConfigContent =
|
|
1232
|
-
| string
|
|
1233
|
-
| Array<Two1 | DeploymentGetConfig22 | Two3>;
|
|
1179
|
+
export type DeploymentGetConfigContent = string | Array<Two1 | Two2 | Two3>;
|
|
1234
1180
|
|
|
1235
1181
|
export const DeploymentGetConfigDeploymentsResponse200Type = {
|
|
1236
1182
|
Function: "function",
|
|
@@ -1254,7 +1200,7 @@ export type DeploymentGetConfigToolCalls = {
|
|
|
1254
1200
|
function: DeploymentGetConfigDeploymentsFunction;
|
|
1255
1201
|
};
|
|
1256
1202
|
|
|
1257
|
-
export type
|
|
1203
|
+
export type DeploymentGetConfigMessages = {
|
|
1258
1204
|
/**
|
|
1259
1205
|
* The role of the prompt message
|
|
1260
1206
|
*/
|
|
@@ -1262,7 +1208,7 @@ export type DeploymentGetConfigDeploymentsMessages = {
|
|
|
1262
1208
|
/**
|
|
1263
1209
|
* The contents of the user message. Either the text content of the message or an array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Can be null for tool messages in certain scenarios.
|
|
1264
1210
|
*/
|
|
1265
|
-
content: string | Array<Two1 |
|
|
1211
|
+
content: string | Array<Two1 | Two2 | Two3> | null;
|
|
1266
1212
|
toolCalls?: Array<DeploymentGetConfigToolCalls> | undefined;
|
|
1267
1213
|
toolCallId?: string | null | undefined;
|
|
1268
1214
|
};
|
|
@@ -1669,7 +1615,7 @@ export type DeploymentGetConfigResponseBody = {
|
|
|
1669
1615
|
* The current version of the deployment
|
|
1670
1616
|
*/
|
|
1671
1617
|
version: string;
|
|
1672
|
-
messages: Array<
|
|
1618
|
+
messages: Array<DeploymentGetConfigMessages>;
|
|
1673
1619
|
/**
|
|
1674
1620
|
* Model Parameters: Not all parameters apply to every model
|
|
1675
1621
|
*/
|
|
@@ -1681,52 +1627,49 @@ export type DeploymentGetConfigResponseBody = {
|
|
|
1681
1627
|
};
|
|
1682
1628
|
|
|
1683
1629
|
/** @internal */
|
|
1684
|
-
export type
|
|
1630
|
+
export type DeploymentGetConfigContent2$Outbound =
|
|
1685
1631
|
components.TextContentPartSchema$Outbound;
|
|
1686
1632
|
|
|
1687
1633
|
/** @internal */
|
|
1688
|
-
export const
|
|
1689
|
-
|
|
1634
|
+
export const DeploymentGetConfigContent2$outboundSchema: z.ZodType<
|
|
1635
|
+
DeploymentGetConfigContent2$Outbound,
|
|
1690
1636
|
z.ZodTypeDef,
|
|
1691
|
-
|
|
1637
|
+
DeploymentGetConfigContent2
|
|
1692
1638
|
> = components.TextContentPartSchema$outboundSchema;
|
|
1693
1639
|
|
|
1694
|
-
export function
|
|
1695
|
-
|
|
1696
|
-
DeploymentGetConfigContentDeployments2,
|
|
1640
|
+
export function deploymentGetConfigContent2ToJSON(
|
|
1641
|
+
deploymentGetConfigContent2: DeploymentGetConfigContent2,
|
|
1697
1642
|
): string {
|
|
1698
1643
|
return JSON.stringify(
|
|
1699
|
-
|
|
1700
|
-
|
|
1644
|
+
DeploymentGetConfigContent2$outboundSchema.parse(
|
|
1645
|
+
deploymentGetConfigContent2,
|
|
1701
1646
|
),
|
|
1702
1647
|
);
|
|
1703
1648
|
}
|
|
1704
1649
|
|
|
1705
1650
|
/** @internal */
|
|
1706
|
-
export type
|
|
1651
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$Outbound =
|
|
1707
1652
|
| string
|
|
1708
1653
|
| Array<components.TextContentPartSchema$Outbound>;
|
|
1709
1654
|
|
|
1710
1655
|
/** @internal */
|
|
1711
|
-
export const
|
|
1656
|
+
export const DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$outboundSchema:
|
|
1712
1657
|
z.ZodType<
|
|
1713
|
-
|
|
1658
|
+
DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$Outbound,
|
|
1714
1659
|
z.ZodTypeDef,
|
|
1715
|
-
|
|
1660
|
+
DeploymentGetConfigPrefixMessagesDeploymentsRequestContent
|
|
1716
1661
|
> = z.union([
|
|
1717
1662
|
z.string(),
|
|
1718
1663
|
z.array(components.TextContentPartSchema$outboundSchema),
|
|
1719
1664
|
]);
|
|
1720
1665
|
|
|
1721
|
-
export function
|
|
1722
|
-
|
|
1723
|
-
|
|
1666
|
+
export function deploymentGetConfigPrefixMessagesDeploymentsRequestContentToJSON(
|
|
1667
|
+
deploymentGetConfigPrefixMessagesDeploymentsRequestContent:
|
|
1668
|
+
DeploymentGetConfigPrefixMessagesDeploymentsRequestContent,
|
|
1724
1669
|
): string {
|
|
1725
1670
|
return JSON.stringify(
|
|
1726
|
-
|
|
1727
|
-
.parse(
|
|
1728
|
-
deploymentGetConfigPrefixMessagesDeploymentsRequestRequestBodyContent,
|
|
1729
|
-
),
|
|
1671
|
+
DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$outboundSchema
|
|
1672
|
+
.parse(deploymentGetConfigPrefixMessagesDeploymentsRequestContent),
|
|
1730
1673
|
);
|
|
1731
1674
|
}
|
|
1732
1675
|
|
|
@@ -1799,17 +1742,17 @@ export function toolMessageToJSON(toolMessage: ToolMessage): string {
|
|
|
1799
1742
|
}
|
|
1800
1743
|
|
|
1801
1744
|
/** @internal */
|
|
1802
|
-
export type
|
|
1745
|
+
export type Content2$Outbound =
|
|
1803
1746
|
| (components.TextContentPartSchema$Outbound & { type: "text" })
|
|
1804
1747
|
| components.RefusalPartSchema$Outbound
|
|
1805
1748
|
| components.ReasoningPartSchema$Outbound
|
|
1806
1749
|
| components.RedactedReasoningPartSchema$Outbound;
|
|
1807
1750
|
|
|
1808
1751
|
/** @internal */
|
|
1809
|
-
export const
|
|
1810
|
-
|
|
1752
|
+
export const Content2$outboundSchema: z.ZodType<
|
|
1753
|
+
Content2$Outbound,
|
|
1811
1754
|
z.ZodTypeDef,
|
|
1812
|
-
|
|
1755
|
+
Content2
|
|
1813
1756
|
> = z.union([
|
|
1814
1757
|
components.TextContentPartSchema$outboundSchema.and(
|
|
1815
1758
|
z.object({ type: z.literal("text") }),
|
|
@@ -1819,18 +1762,12 @@ export const DeploymentGetConfigContent2$outboundSchema: z.ZodType<
|
|
|
1819
1762
|
components.RedactedReasoningPartSchema$outboundSchema,
|
|
1820
1763
|
]);
|
|
1821
1764
|
|
|
1822
|
-
export function
|
|
1823
|
-
|
|
1824
|
-
): string {
|
|
1825
|
-
return JSON.stringify(
|
|
1826
|
-
DeploymentGetConfigContent2$outboundSchema.parse(
|
|
1827
|
-
deploymentGetConfigContent2,
|
|
1828
|
-
),
|
|
1829
|
-
);
|
|
1765
|
+
export function content2ToJSON(content2: Content2): string {
|
|
1766
|
+
return JSON.stringify(Content2$outboundSchema.parse(content2));
|
|
1830
1767
|
}
|
|
1831
1768
|
|
|
1832
1769
|
/** @internal */
|
|
1833
|
-
export type
|
|
1770
|
+
export type DeploymentGetConfigPrefixMessagesDeploymentsContent$Outbound =
|
|
1834
1771
|
| string
|
|
1835
1772
|
| Array<
|
|
1836
1773
|
| (components.TextContentPartSchema$Outbound & { type: "text" })
|
|
@@ -1840,11 +1777,11 @@ export type DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$Outbound
|
|
|
1840
1777
|
>;
|
|
1841
1778
|
|
|
1842
1779
|
/** @internal */
|
|
1843
|
-
export const
|
|
1780
|
+
export const DeploymentGetConfigPrefixMessagesDeploymentsContent$outboundSchema:
|
|
1844
1781
|
z.ZodType<
|
|
1845
|
-
|
|
1782
|
+
DeploymentGetConfigPrefixMessagesDeploymentsContent$Outbound,
|
|
1846
1783
|
z.ZodTypeDef,
|
|
1847
|
-
|
|
1784
|
+
DeploymentGetConfigPrefixMessagesDeploymentsContent
|
|
1848
1785
|
> = z.union([
|
|
1849
1786
|
z.string(),
|
|
1850
1787
|
z.array(
|
|
@@ -1859,13 +1796,14 @@ export const DeploymentGetConfigPrefixMessagesDeploymentsRequestContent$outbound
|
|
|
1859
1796
|
),
|
|
1860
1797
|
]);
|
|
1861
1798
|
|
|
1862
|
-
export function
|
|
1863
|
-
|
|
1864
|
-
|
|
1799
|
+
export function deploymentGetConfigPrefixMessagesDeploymentsContentToJSON(
|
|
1800
|
+
deploymentGetConfigPrefixMessagesDeploymentsContent:
|
|
1801
|
+
DeploymentGetConfigPrefixMessagesDeploymentsContent,
|
|
1865
1802
|
): string {
|
|
1866
1803
|
return JSON.stringify(
|
|
1867
|
-
|
|
1868
|
-
|
|
1804
|
+
DeploymentGetConfigPrefixMessagesDeploymentsContent$outboundSchema.parse(
|
|
1805
|
+
deploymentGetConfigPrefixMessagesDeploymentsContent,
|
|
1806
|
+
),
|
|
1869
1807
|
);
|
|
1870
1808
|
}
|
|
1871
1809
|
|
|
@@ -1893,46 +1831,42 @@ export const PrefixMessagesType$outboundSchema: z.ZodNativeEnum<
|
|
|
1893
1831
|
> = z.nativeEnum(PrefixMessagesType);
|
|
1894
1832
|
|
|
1895
1833
|
/** @internal */
|
|
1896
|
-
export type
|
|
1834
|
+
export type FunctionT$Outbound = {
|
|
1897
1835
|
name?: string | undefined;
|
|
1898
1836
|
arguments?: string | undefined;
|
|
1899
1837
|
};
|
|
1900
1838
|
|
|
1901
1839
|
/** @internal */
|
|
1902
|
-
export const
|
|
1903
|
-
|
|
1840
|
+
export const FunctionT$outboundSchema: z.ZodType<
|
|
1841
|
+
FunctionT$Outbound,
|
|
1904
1842
|
z.ZodTypeDef,
|
|
1905
|
-
|
|
1843
|
+
FunctionT
|
|
1906
1844
|
> = z.object({
|
|
1907
1845
|
name: z.string().optional(),
|
|
1908
1846
|
arguments: z.string().optional(),
|
|
1909
1847
|
});
|
|
1910
1848
|
|
|
1911
|
-
export function
|
|
1912
|
-
|
|
1913
|
-
): string {
|
|
1914
|
-
return JSON.stringify(
|
|
1915
|
-
PrefixMessagesFunction$outboundSchema.parse(prefixMessagesFunction),
|
|
1916
|
-
);
|
|
1849
|
+
export function functionToJSON(functionT: FunctionT): string {
|
|
1850
|
+
return JSON.stringify(FunctionT$outboundSchema.parse(functionT));
|
|
1917
1851
|
}
|
|
1918
1852
|
|
|
1919
1853
|
/** @internal */
|
|
1920
|
-
export type
|
|
1854
|
+
export type ToolCalls$Outbound = {
|
|
1921
1855
|
id: string;
|
|
1922
1856
|
type: string;
|
|
1923
|
-
function:
|
|
1857
|
+
function: FunctionT$Outbound;
|
|
1924
1858
|
thought_signature?: string | undefined;
|
|
1925
1859
|
};
|
|
1926
1860
|
|
|
1927
1861
|
/** @internal */
|
|
1928
|
-
export const
|
|
1929
|
-
|
|
1862
|
+
export const ToolCalls$outboundSchema: z.ZodType<
|
|
1863
|
+
ToolCalls$Outbound,
|
|
1930
1864
|
z.ZodTypeDef,
|
|
1931
|
-
|
|
1865
|
+
ToolCalls
|
|
1932
1866
|
> = z.object({
|
|
1933
1867
|
id: z.string(),
|
|
1934
1868
|
type: PrefixMessagesType$outboundSchema,
|
|
1935
|
-
function: z.lazy(() =>
|
|
1869
|
+
function: z.lazy(() => FunctionT$outboundSchema),
|
|
1936
1870
|
thoughtSignature: z.string().optional(),
|
|
1937
1871
|
}).transform((v) => {
|
|
1938
1872
|
return remap$(v, {
|
|
@@ -1940,12 +1874,8 @@ export const PrefixMessagesToolCalls$outboundSchema: z.ZodType<
|
|
|
1940
1874
|
});
|
|
1941
1875
|
});
|
|
1942
1876
|
|
|
1943
|
-
export function
|
|
1944
|
-
|
|
1945
|
-
): string {
|
|
1946
|
-
return JSON.stringify(
|
|
1947
|
-
PrefixMessagesToolCalls$outboundSchema.parse(prefixMessagesToolCalls),
|
|
1948
|
-
);
|
|
1877
|
+
export function toolCallsToJSON(toolCalls: ToolCalls): string {
|
|
1878
|
+
return JSON.stringify(ToolCalls$outboundSchema.parse(toolCalls));
|
|
1949
1879
|
}
|
|
1950
1880
|
|
|
1951
1881
|
/** @internal */
|
|
@@ -1964,7 +1894,7 @@ export type AssistantMessage$Outbound = {
|
|
|
1964
1894
|
role: "assistant";
|
|
1965
1895
|
name?: string | undefined;
|
|
1966
1896
|
audio?: Audio$Outbound | null | undefined;
|
|
1967
|
-
tool_calls?: Array<
|
|
1897
|
+
tool_calls?: Array<ToolCalls$Outbound> | undefined;
|
|
1968
1898
|
};
|
|
1969
1899
|
|
|
1970
1900
|
/** @internal */
|
|
@@ -1992,8 +1922,7 @@ export const AssistantMessage$outboundSchema: z.ZodType<
|
|
|
1992
1922
|
role: z.literal("assistant"),
|
|
1993
1923
|
name: z.string().optional(),
|
|
1994
1924
|
audio: z.nullable(z.lazy(() => Audio$outboundSchema)).optional(),
|
|
1995
|
-
toolCalls: z.array(z.lazy(() =>
|
|
1996
|
-
.optional(),
|
|
1925
|
+
toolCalls: z.array(z.lazy(() => ToolCalls$outboundSchema)).optional(),
|
|
1997
1926
|
}).transform((v) => {
|
|
1998
1927
|
return remap$(v, {
|
|
1999
1928
|
toolCalls: "tool_calls",
|
|
@@ -2009,10 +1938,8 @@ export function assistantMessageToJSON(
|
|
|
2009
1938
|
}
|
|
2010
1939
|
|
|
2011
1940
|
/** @internal */
|
|
2012
|
-
export const
|
|
2013
|
-
|
|
2014
|
-
DeploymentGetConfig2DeploymentsType,
|
|
2015
|
-
);
|
|
1941
|
+
export const TwoType$outboundSchema: z.ZodNativeEnum<typeof TwoType> = z
|
|
1942
|
+
.nativeEnum(TwoType);
|
|
2016
1943
|
|
|
2017
1944
|
/** @internal */
|
|
2018
1945
|
export const Ttl$outboundSchema: z.ZodNativeEnum<typeof Ttl> = z.nativeEnum(
|
|
@@ -2031,7 +1958,7 @@ export const CacheControl$outboundSchema: z.ZodType<
|
|
|
2031
1958
|
z.ZodTypeDef,
|
|
2032
1959
|
CacheControl
|
|
2033
1960
|
> = z.object({
|
|
2034
|
-
type:
|
|
1961
|
+
type: TwoType$outboundSchema,
|
|
2035
1962
|
ttl: Ttl$outboundSchema.default("5m"),
|
|
2036
1963
|
});
|
|
2037
1964
|
|
|
@@ -2063,32 +1990,29 @@ export function fourToJSON(four: Four): string {
|
|
|
2063
1990
|
}
|
|
2064
1991
|
|
|
2065
1992
|
/** @internal */
|
|
2066
|
-
export type
|
|
1993
|
+
export type Two$Outbound =
|
|
2067
1994
|
| (components.TextContentPartSchema$Outbound & { type: "text" })
|
|
2068
1995
|
| components.ImageContentPartSchema$Outbound
|
|
2069
1996
|
| components.AudioContentPartSchema$Outbound
|
|
2070
1997
|
| Four$Outbound;
|
|
2071
1998
|
|
|
2072
1999
|
/** @internal */
|
|
2073
|
-
export const
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
components.AudioContentPartSchema$outboundSchema,
|
|
2083
|
-
z.lazy(() => Four$outboundSchema),
|
|
2084
|
-
]);
|
|
2000
|
+
export const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two> = z
|
|
2001
|
+
.union([
|
|
2002
|
+
components.TextContentPartSchema$outboundSchema.and(
|
|
2003
|
+
z.object({ type: z.literal("text") }),
|
|
2004
|
+
),
|
|
2005
|
+
components.ImageContentPartSchema$outboundSchema,
|
|
2006
|
+
components.AudioContentPartSchema$outboundSchema,
|
|
2007
|
+
z.lazy(() => Four$outboundSchema),
|
|
2008
|
+
]);
|
|
2085
2009
|
|
|
2086
|
-
export function
|
|
2087
|
-
return JSON.stringify(
|
|
2010
|
+
export function twoToJSON(two: Two): string {
|
|
2011
|
+
return JSON.stringify(Two$outboundSchema.parse(two));
|
|
2088
2012
|
}
|
|
2089
2013
|
|
|
2090
2014
|
/** @internal */
|
|
2091
|
-
export type
|
|
2015
|
+
export type DeploymentGetConfigPrefixMessagesContent$Outbound =
|
|
2092
2016
|
| string
|
|
2093
2017
|
| Array<
|
|
2094
2018
|
| (components.TextContentPartSchema$Outbound & { type: "text" })
|
|
@@ -2098,32 +2022,31 @@ export type DeploymentGetConfigPrefixMessagesDeploymentsContent$Outbound =
|
|
|
2098
2022
|
>;
|
|
2099
2023
|
|
|
2100
2024
|
/** @internal */
|
|
2101
|
-
export const
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
z.
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
]);
|
|
2025
|
+
export const DeploymentGetConfigPrefixMessagesContent$outboundSchema: z.ZodType<
|
|
2026
|
+
DeploymentGetConfigPrefixMessagesContent$Outbound,
|
|
2027
|
+
z.ZodTypeDef,
|
|
2028
|
+
DeploymentGetConfigPrefixMessagesContent
|
|
2029
|
+
> = z.union([
|
|
2030
|
+
z.string(),
|
|
2031
|
+
z.array(
|
|
2032
|
+
z.union([
|
|
2033
|
+
components.TextContentPartSchema$outboundSchema.and(
|
|
2034
|
+
z.object({ type: z.literal("text") }),
|
|
2035
|
+
),
|
|
2036
|
+
components.ImageContentPartSchema$outboundSchema,
|
|
2037
|
+
components.AudioContentPartSchema$outboundSchema,
|
|
2038
|
+
z.lazy(() => Four$outboundSchema),
|
|
2039
|
+
]),
|
|
2040
|
+
),
|
|
2041
|
+
]);
|
|
2119
2042
|
|
|
2120
|
-
export function
|
|
2121
|
-
|
|
2122
|
-
|
|
2043
|
+
export function deploymentGetConfigPrefixMessagesContentToJSON(
|
|
2044
|
+
deploymentGetConfigPrefixMessagesContent:
|
|
2045
|
+
DeploymentGetConfigPrefixMessagesContent,
|
|
2123
2046
|
): string {
|
|
2124
2047
|
return JSON.stringify(
|
|
2125
|
-
|
|
2126
|
-
|
|
2048
|
+
DeploymentGetConfigPrefixMessagesContent$outboundSchema.parse(
|
|
2049
|
+
deploymentGetConfigPrefixMessagesContent,
|
|
2127
2050
|
),
|
|
2128
2051
|
);
|
|
2129
2052
|
}
|
|
@@ -2170,28 +2093,25 @@ export function userMessageToJSON(userMessage: UserMessage): string {
|
|
|
2170
2093
|
}
|
|
2171
2094
|
|
|
2172
2095
|
/** @internal */
|
|
2173
|
-
export type
|
|
2096
|
+
export type PrefixMessagesContent$Outbound =
|
|
2174
2097
|
| string
|
|
2175
2098
|
| Array<components.TextContentPartSchema$Outbound>;
|
|
2176
2099
|
|
|
2177
2100
|
/** @internal */
|
|
2178
|
-
export const
|
|
2179
|
-
|
|
2101
|
+
export const PrefixMessagesContent$outboundSchema: z.ZodType<
|
|
2102
|
+
PrefixMessagesContent$Outbound,
|
|
2180
2103
|
z.ZodTypeDef,
|
|
2181
|
-
|
|
2104
|
+
PrefixMessagesContent
|
|
2182
2105
|
> = z.union([
|
|
2183
2106
|
z.string(),
|
|
2184
2107
|
z.array(components.TextContentPartSchema$outboundSchema),
|
|
2185
2108
|
]);
|
|
2186
2109
|
|
|
2187
|
-
export function
|
|
2188
|
-
|
|
2189
|
-
DeploymentGetConfigPrefixMessagesContent,
|
|
2110
|
+
export function prefixMessagesContentToJSON(
|
|
2111
|
+
prefixMessagesContent: PrefixMessagesContent,
|
|
2190
2112
|
): string {
|
|
2191
2113
|
return JSON.stringify(
|
|
2192
|
-
|
|
2193
|
-
deploymentGetConfigPrefixMessagesContent,
|
|
2194
|
-
),
|
|
2114
|
+
PrefixMessagesContent$outboundSchema.parse(prefixMessagesContent),
|
|
2195
2115
|
);
|
|
2196
2116
|
}
|
|
2197
2117
|
|
|
@@ -2225,26 +2145,22 @@ export function developerMessageToJSON(
|
|
|
2225
2145
|
}
|
|
2226
2146
|
|
|
2227
2147
|
/** @internal */
|
|
2228
|
-
export type
|
|
2148
|
+
export type Content$Outbound =
|
|
2229
2149
|
| string
|
|
2230
2150
|
| Array<components.TextContentPartSchema$Outbound>;
|
|
2231
2151
|
|
|
2232
2152
|
/** @internal */
|
|
2233
|
-
export const
|
|
2234
|
-
|
|
2153
|
+
export const Content$outboundSchema: z.ZodType<
|
|
2154
|
+
Content$Outbound,
|
|
2235
2155
|
z.ZodTypeDef,
|
|
2236
|
-
|
|
2156
|
+
Content
|
|
2237
2157
|
> = z.union([
|
|
2238
2158
|
z.string(),
|
|
2239
2159
|
z.array(components.TextContentPartSchema$outboundSchema),
|
|
2240
2160
|
]);
|
|
2241
2161
|
|
|
2242
|
-
export function
|
|
2243
|
-
|
|
2244
|
-
): string {
|
|
2245
|
-
return JSON.stringify(
|
|
2246
|
-
PrefixMessagesContent$outboundSchema.parse(prefixMessagesContent),
|
|
2247
|
-
);
|
|
2162
|
+
export function contentToJSON(content: Content): string {
|
|
2163
|
+
return JSON.stringify(Content$outboundSchema.parse(content));
|
|
2248
2164
|
}
|
|
2249
2165
|
|
|
2250
2166
|
/** @internal */
|
|
@@ -2298,24 +2214,24 @@ export function prefixMessagesToJSON(prefixMessages: PrefixMessages): string {
|
|
|
2298
2214
|
}
|
|
2299
2215
|
|
|
2300
2216
|
/** @internal */
|
|
2301
|
-
export type
|
|
2217
|
+
export type DeploymentGetConfigContentDeploymentsRequestRequestBody2$Outbound =
|
|
2302
2218
|
components.TextContentPartSchema$Outbound;
|
|
2303
2219
|
|
|
2304
2220
|
/** @internal */
|
|
2305
|
-
export const
|
|
2221
|
+
export const DeploymentGetConfigContentDeploymentsRequestRequestBody2$outboundSchema:
|
|
2306
2222
|
z.ZodType<
|
|
2307
|
-
|
|
2223
|
+
DeploymentGetConfigContentDeploymentsRequestRequestBody2$Outbound,
|
|
2308
2224
|
z.ZodTypeDef,
|
|
2309
|
-
|
|
2225
|
+
DeploymentGetConfigContentDeploymentsRequestRequestBody2
|
|
2310
2226
|
> = components.TextContentPartSchema$outboundSchema;
|
|
2311
2227
|
|
|
2312
|
-
export function
|
|
2313
|
-
|
|
2314
|
-
|
|
2228
|
+
export function deploymentGetConfigContentDeploymentsRequestRequestBody2ToJSON(
|
|
2229
|
+
deploymentGetConfigContentDeploymentsRequestRequestBody2:
|
|
2230
|
+
DeploymentGetConfigContentDeploymentsRequestRequestBody2,
|
|
2315
2231
|
): string {
|
|
2316
2232
|
return JSON.stringify(
|
|
2317
|
-
|
|
2318
|
-
.parse(
|
|
2233
|
+
DeploymentGetConfigContentDeploymentsRequestRequestBody2$outboundSchema
|
|
2234
|
+
.parse(deploymentGetConfigContentDeploymentsRequestRequestBody2),
|
|
2319
2235
|
);
|
|
2320
2236
|
}
|
|
2321
2237
|
|
|
@@ -2415,18 +2331,18 @@ export function messagesToolMessageToJSON(
|
|
|
2415
2331
|
}
|
|
2416
2332
|
|
|
2417
2333
|
/** @internal */
|
|
2418
|
-
export type
|
|
2334
|
+
export type DeploymentGetConfigContentDeploymentsRequest2$Outbound =
|
|
2419
2335
|
| (components.TextContentPartSchema$Outbound & { type: "text" })
|
|
2420
2336
|
| components.RefusalPartSchema$Outbound
|
|
2421
2337
|
| components.ReasoningPartSchema$Outbound
|
|
2422
2338
|
| components.RedactedReasoningPartSchema$Outbound;
|
|
2423
2339
|
|
|
2424
2340
|
/** @internal */
|
|
2425
|
-
export const
|
|
2341
|
+
export const DeploymentGetConfigContentDeploymentsRequest2$outboundSchema:
|
|
2426
2342
|
z.ZodType<
|
|
2427
|
-
|
|
2343
|
+
DeploymentGetConfigContentDeploymentsRequest2$Outbound,
|
|
2428
2344
|
z.ZodTypeDef,
|
|
2429
|
-
|
|
2345
|
+
DeploymentGetConfigContentDeploymentsRequest2
|
|
2430
2346
|
> = z.union([
|
|
2431
2347
|
components.TextContentPartSchema$outboundSchema.and(
|
|
2432
2348
|
z.object({ type: z.literal("text") }),
|
|
@@ -2436,13 +2352,14 @@ export const DeploymentGetConfigContentDeploymentsRequestRequestBody2$outboundSc
|
|
|
2436
2352
|
components.RedactedReasoningPartSchema$outboundSchema,
|
|
2437
2353
|
]);
|
|
2438
2354
|
|
|
2439
|
-
export function
|
|
2440
|
-
|
|
2441
|
-
|
|
2355
|
+
export function deploymentGetConfigContentDeploymentsRequest2ToJSON(
|
|
2356
|
+
deploymentGetConfigContentDeploymentsRequest2:
|
|
2357
|
+
DeploymentGetConfigContentDeploymentsRequest2,
|
|
2442
2358
|
): string {
|
|
2443
2359
|
return JSON.stringify(
|
|
2444
|
-
|
|
2445
|
-
|
|
2360
|
+
DeploymentGetConfigContentDeploymentsRequest2$outboundSchema.parse(
|
|
2361
|
+
deploymentGetConfigContentDeploymentsRequest2,
|
|
2362
|
+
),
|
|
2446
2363
|
);
|
|
2447
2364
|
}
|
|
2448
2365
|
|
|
@@ -2625,10 +2542,10 @@ export function messagesAssistantMessageToJSON(
|
|
|
2625
2542
|
}
|
|
2626
2543
|
|
|
2627
2544
|
/** @internal */
|
|
2628
|
-
export const
|
|
2629
|
-
z.ZodNativeEnum<
|
|
2630
|
-
|
|
2631
|
-
|
|
2545
|
+
export const DeploymentGetConfig2DeploymentsType$outboundSchema:
|
|
2546
|
+
z.ZodNativeEnum<typeof DeploymentGetConfig2DeploymentsType> = z.nativeEnum(
|
|
2547
|
+
DeploymentGetConfig2DeploymentsType,
|
|
2548
|
+
);
|
|
2632
2549
|
|
|
2633
2550
|
/** @internal */
|
|
2634
2551
|
export const TwoTtl$outboundSchema: z.ZodNativeEnum<typeof TwoTtl> = z
|
|
@@ -2646,7 +2563,7 @@ export const TwoCacheControl$outboundSchema: z.ZodType<
|
|
|
2646
2563
|
z.ZodTypeDef,
|
|
2647
2564
|
TwoCacheControl
|
|
2648
2565
|
> = z.object({
|
|
2649
|
-
type:
|
|
2566
|
+
type: DeploymentGetConfig2DeploymentsType$outboundSchema,
|
|
2650
2567
|
ttl: TwoTtl$outboundSchema.default("5m"),
|
|
2651
2568
|
});
|
|
2652
2569
|
|
|
@@ -2680,34 +2597,33 @@ export function two4ToJSON(two4: Two4): string {
|
|
|
2680
2597
|
}
|
|
2681
2598
|
|
|
2682
2599
|
/** @internal */
|
|
2683
|
-
export type
|
|
2600
|
+
export type DeploymentGetConfigContentDeployments2$Outbound =
|
|
2684
2601
|
| (components.TextContentPartSchema$Outbound & { type: "text" })
|
|
2685
2602
|
| components.ImageContentPartSchema$Outbound
|
|
2686
2603
|
| components.AudioContentPartSchema$Outbound
|
|
2687
2604
|
| Two4$Outbound;
|
|
2688
2605
|
|
|
2689
2606
|
/** @internal */
|
|
2690
|
-
export const
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
]);
|
|
2607
|
+
export const DeploymentGetConfigContentDeployments2$outboundSchema: z.ZodType<
|
|
2608
|
+
DeploymentGetConfigContentDeployments2$Outbound,
|
|
2609
|
+
z.ZodTypeDef,
|
|
2610
|
+
DeploymentGetConfigContentDeployments2
|
|
2611
|
+
> = z.union([
|
|
2612
|
+
components.TextContentPartSchema$outboundSchema.and(
|
|
2613
|
+
z.object({ type: z.literal("text") }),
|
|
2614
|
+
),
|
|
2615
|
+
components.ImageContentPartSchema$outboundSchema,
|
|
2616
|
+
components.AudioContentPartSchema$outboundSchema,
|
|
2617
|
+
z.lazy(() => Two4$outboundSchema),
|
|
2618
|
+
]);
|
|
2703
2619
|
|
|
2704
|
-
export function
|
|
2705
|
-
|
|
2706
|
-
|
|
2620
|
+
export function deploymentGetConfigContentDeployments2ToJSON(
|
|
2621
|
+
deploymentGetConfigContentDeployments2:
|
|
2622
|
+
DeploymentGetConfigContentDeployments2,
|
|
2707
2623
|
): string {
|
|
2708
2624
|
return JSON.stringify(
|
|
2709
|
-
|
|
2710
|
-
|
|
2625
|
+
DeploymentGetConfigContentDeployments2$outboundSchema.parse(
|
|
2626
|
+
deploymentGetConfigContentDeployments2,
|
|
2711
2627
|
),
|
|
2712
2628
|
);
|
|
2713
2629
|
}
|
|
@@ -2903,7 +2819,7 @@ export function messagesSystemMessageToJSON(
|
|
|
2903
2819
|
}
|
|
2904
2820
|
|
|
2905
2821
|
/** @internal */
|
|
2906
|
-
export type
|
|
2822
|
+
export type Messages$Outbound =
|
|
2907
2823
|
| MessagesSystemMessage$Outbound
|
|
2908
2824
|
| MessagesDeveloperMessage$Outbound
|
|
2909
2825
|
| MessagesUserMessage$Outbound
|
|
@@ -2911,10 +2827,10 @@ export type DeploymentGetConfigMessages$Outbound =
|
|
|
2911
2827
|
| MessagesToolMessage$Outbound;
|
|
2912
2828
|
|
|
2913
2829
|
/** @internal */
|
|
2914
|
-
export const
|
|
2915
|
-
|
|
2830
|
+
export const Messages$outboundSchema: z.ZodType<
|
|
2831
|
+
Messages$Outbound,
|
|
2916
2832
|
z.ZodTypeDef,
|
|
2917
|
-
|
|
2833
|
+
Messages
|
|
2918
2834
|
> = z.union([
|
|
2919
2835
|
z.lazy(() => MessagesSystemMessage$outboundSchema),
|
|
2920
2836
|
z.lazy(() => MessagesDeveloperMessage$outboundSchema),
|
|
@@ -2923,14 +2839,8 @@ export const DeploymentGetConfigMessages$outboundSchema: z.ZodType<
|
|
|
2923
2839
|
z.lazy(() => MessagesToolMessage$outboundSchema),
|
|
2924
2840
|
]);
|
|
2925
2841
|
|
|
2926
|
-
export function
|
|
2927
|
-
|
|
2928
|
-
): string {
|
|
2929
|
-
return JSON.stringify(
|
|
2930
|
-
DeploymentGetConfigMessages$outboundSchema.parse(
|
|
2931
|
-
deploymentGetConfigMessages,
|
|
2932
|
-
),
|
|
2933
|
-
);
|
|
2842
|
+
export function messagesToJSON(messages: Messages): string {
|
|
2843
|
+
return JSON.stringify(Messages$outboundSchema.parse(messages));
|
|
2934
2844
|
}
|
|
2935
2845
|
|
|
2936
2846
|
/** @internal */
|
|
@@ -3029,24 +2939,6 @@ export function threadToJSON(thread: Thread): string {
|
|
|
3029
2939
|
return JSON.stringify(Thread$outboundSchema.parse(thread));
|
|
3030
2940
|
}
|
|
3031
2941
|
|
|
3032
|
-
/** @internal */
|
|
3033
|
-
export type OrExists$Outbound = {
|
|
3034
|
-
exists: boolean;
|
|
3035
|
-
};
|
|
3036
|
-
|
|
3037
|
-
/** @internal */
|
|
3038
|
-
export const OrExists$outboundSchema: z.ZodType<
|
|
3039
|
-
OrExists$Outbound,
|
|
3040
|
-
z.ZodTypeDef,
|
|
3041
|
-
OrExists
|
|
3042
|
-
> = z.object({
|
|
3043
|
-
exists: z.boolean(),
|
|
3044
|
-
});
|
|
3045
|
-
|
|
3046
|
-
export function orExistsToJSON(orExists: OrExists): string {
|
|
3047
|
-
return JSON.stringify(OrExists$outboundSchema.parse(orExists));
|
|
3048
|
-
}
|
|
3049
|
-
|
|
3050
2942
|
/** @internal */
|
|
3051
2943
|
export type DeploymentGetConfigOrNin$Outbound = string | number | boolean;
|
|
3052
2944
|
|
|
@@ -3257,8 +3149,7 @@ export type KnowledgeFilterOr$Outbound =
|
|
|
3257
3149
|
| OrLt$Outbound
|
|
3258
3150
|
| OrLte$Outbound
|
|
3259
3151
|
| OrIn$Outbound
|
|
3260
|
-
| OrNin$Outbound
|
|
3261
|
-
| OrExists$Outbound;
|
|
3152
|
+
| OrNin$Outbound;
|
|
3262
3153
|
|
|
3263
3154
|
/** @internal */
|
|
3264
3155
|
export const KnowledgeFilterOr$outboundSchema: z.ZodType<
|
|
@@ -3274,7 +3165,6 @@ export const KnowledgeFilterOr$outboundSchema: z.ZodType<
|
|
|
3274
3165
|
z.lazy(() => OrLte$outboundSchema),
|
|
3275
3166
|
z.lazy(() => OrIn$outboundSchema),
|
|
3276
3167
|
z.lazy(() => OrNin$outboundSchema),
|
|
3277
|
-
z.lazy(() => OrExists$outboundSchema),
|
|
3278
3168
|
]);
|
|
3279
3169
|
|
|
3280
3170
|
export function knowledgeFilterOrToJSON(
|
|
@@ -3297,8 +3187,7 @@ export type Or$Outbound = {
|
|
|
3297
3187
|
| OrLt$Outbound
|
|
3298
3188
|
| OrLte$Outbound
|
|
3299
3189
|
| OrIn$Outbound
|
|
3300
|
-
| OrNin$Outbound
|
|
3301
|
-
| OrExists$Outbound;
|
|
3190
|
+
| OrNin$Outbound;
|
|
3302
3191
|
}
|
|
3303
3192
|
>;
|
|
3304
3193
|
};
|
|
@@ -3318,7 +3207,6 @@ export const Or$outboundSchema: z.ZodType<Or$Outbound, z.ZodTypeDef, Or> = z
|
|
|
3318
3207
|
z.lazy(() => OrLte$outboundSchema),
|
|
3319
3208
|
z.lazy(() => OrIn$outboundSchema),
|
|
3320
3209
|
z.lazy(() => OrNin$outboundSchema),
|
|
3321
|
-
z.lazy(() => OrExists$outboundSchema),
|
|
3322
3210
|
])),
|
|
3323
3211
|
),
|
|
3324
3212
|
});
|
|
@@ -3327,24 +3215,6 @@ export function orToJSON(or: Or): string {
|
|
|
3327
3215
|
return JSON.stringify(Or$outboundSchema.parse(or));
|
|
3328
3216
|
}
|
|
3329
3217
|
|
|
3330
|
-
/** @internal */
|
|
3331
|
-
export type AndExists$Outbound = {
|
|
3332
|
-
exists: boolean;
|
|
3333
|
-
};
|
|
3334
|
-
|
|
3335
|
-
/** @internal */
|
|
3336
|
-
export const AndExists$outboundSchema: z.ZodType<
|
|
3337
|
-
AndExists$Outbound,
|
|
3338
|
-
z.ZodTypeDef,
|
|
3339
|
-
AndExists
|
|
3340
|
-
> = z.object({
|
|
3341
|
-
exists: z.boolean(),
|
|
3342
|
-
});
|
|
3343
|
-
|
|
3344
|
-
export function andExistsToJSON(andExists: AndExists): string {
|
|
3345
|
-
return JSON.stringify(AndExists$outboundSchema.parse(andExists));
|
|
3346
|
-
}
|
|
3347
|
-
|
|
3348
3218
|
/** @internal */
|
|
3349
3219
|
export type DeploymentGetConfigAndNin$Outbound = string | number | boolean;
|
|
3350
3220
|
|
|
@@ -3570,8 +3440,7 @@ export type KnowledgeFilterAnd$Outbound =
|
|
|
3570
3440
|
| AndLt$Outbound
|
|
3571
3441
|
| AndLte$Outbound
|
|
3572
3442
|
| AndIn$Outbound
|
|
3573
|
-
| AndNin$Outbound
|
|
3574
|
-
| AndExists$Outbound;
|
|
3443
|
+
| AndNin$Outbound;
|
|
3575
3444
|
|
|
3576
3445
|
/** @internal */
|
|
3577
3446
|
export const KnowledgeFilterAnd$outboundSchema: z.ZodType<
|
|
@@ -3587,7 +3456,6 @@ export const KnowledgeFilterAnd$outboundSchema: z.ZodType<
|
|
|
3587
3456
|
z.lazy(() => AndLte$outboundSchema),
|
|
3588
3457
|
z.lazy(() => AndIn$outboundSchema),
|
|
3589
3458
|
z.lazy(() => AndNin$outboundSchema),
|
|
3590
|
-
z.lazy(() => AndExists$outboundSchema),
|
|
3591
3459
|
]);
|
|
3592
3460
|
|
|
3593
3461
|
export function knowledgeFilterAndToJSON(
|
|
@@ -3610,8 +3478,7 @@ export type And$Outbound = {
|
|
|
3610
3478
|
| AndLt$Outbound
|
|
3611
3479
|
| AndLte$Outbound
|
|
3612
3480
|
| AndIn$Outbound
|
|
3613
|
-
| AndNin$Outbound
|
|
3614
|
-
| AndExists$Outbound;
|
|
3481
|
+
| AndNin$Outbound;
|
|
3615
3482
|
}
|
|
3616
3483
|
>;
|
|
3617
3484
|
};
|
|
@@ -3631,7 +3498,6 @@ export const And$outboundSchema: z.ZodType<And$Outbound, z.ZodTypeDef, And> = z
|
|
|
3631
3498
|
z.lazy(() => AndLte$outboundSchema),
|
|
3632
3499
|
z.lazy(() => AndIn$outboundSchema),
|
|
3633
3500
|
z.lazy(() => AndNin$outboundSchema),
|
|
3634
|
-
z.lazy(() => AndExists$outboundSchema),
|
|
3635
3501
|
])),
|
|
3636
3502
|
),
|
|
3637
3503
|
});
|
|
@@ -3640,24 +3506,6 @@ export function andToJSON(and: And): string {
|
|
|
3640
3506
|
return JSON.stringify(And$outboundSchema.parse(and));
|
|
3641
3507
|
}
|
|
3642
3508
|
|
|
3643
|
-
/** @internal */
|
|
3644
|
-
export type Exists$Outbound = {
|
|
3645
|
-
exists: boolean;
|
|
3646
|
-
};
|
|
3647
|
-
|
|
3648
|
-
/** @internal */
|
|
3649
|
-
export const Exists$outboundSchema: z.ZodType<
|
|
3650
|
-
Exists$Outbound,
|
|
3651
|
-
z.ZodTypeDef,
|
|
3652
|
-
Exists
|
|
3653
|
-
> = z.object({
|
|
3654
|
-
exists: z.boolean(),
|
|
3655
|
-
});
|
|
3656
|
-
|
|
3657
|
-
export function existsToJSON(exists: Exists): string {
|
|
3658
|
-
return JSON.stringify(Exists$outboundSchema.parse(exists));
|
|
3659
|
-
}
|
|
3660
|
-
|
|
3661
3509
|
/** @internal */
|
|
3662
3510
|
export type OneNin$Outbound = string | number | boolean;
|
|
3663
3511
|
|
|
@@ -3835,7 +3683,7 @@ export function eqToJSON(eq: Eq): string {
|
|
|
3835
3683
|
}
|
|
3836
3684
|
|
|
3837
3685
|
/** @internal */
|
|
3838
|
-
export type
|
|
3686
|
+
export type One$Outbound =
|
|
3839
3687
|
| Eq$Outbound
|
|
3840
3688
|
| Ne$Outbound
|
|
3841
3689
|
| Gt$Outbound
|
|
@@ -3843,32 +3691,23 @@ export type KnowledgeFilter1$Outbound =
|
|
|
3843
3691
|
| Lt$Outbound
|
|
3844
3692
|
| Lte$Outbound
|
|
3845
3693
|
| In$Outbound
|
|
3846
|
-
| Nin$Outbound
|
|
3847
|
-
| Exists$Outbound;
|
|
3694
|
+
| Nin$Outbound;
|
|
3848
3695
|
|
|
3849
3696
|
/** @internal */
|
|
3850
|
-
export const
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
z.lazy(() => In$outboundSchema),
|
|
3862
|
-
z.lazy(() => Nin$outboundSchema),
|
|
3863
|
-
z.lazy(() => Exists$outboundSchema),
|
|
3864
|
-
]);
|
|
3697
|
+
export const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One> = z
|
|
3698
|
+
.union([
|
|
3699
|
+
z.lazy(() => Eq$outboundSchema),
|
|
3700
|
+
z.lazy(() => Ne$outboundSchema),
|
|
3701
|
+
z.lazy(() => Gt$outboundSchema),
|
|
3702
|
+
z.lazy(() => Gte$outboundSchema),
|
|
3703
|
+
z.lazy(() => Lt$outboundSchema),
|
|
3704
|
+
z.lazy(() => Lte$outboundSchema),
|
|
3705
|
+
z.lazy(() => In$outboundSchema),
|
|
3706
|
+
z.lazy(() => Nin$outboundSchema),
|
|
3707
|
+
]);
|
|
3865
3708
|
|
|
3866
|
-
export function
|
|
3867
|
-
|
|
3868
|
-
): string {
|
|
3869
|
-
return JSON.stringify(
|
|
3870
|
-
KnowledgeFilter1$outboundSchema.parse(knowledgeFilter1),
|
|
3871
|
-
);
|
|
3709
|
+
export function oneToJSON(one: One): string {
|
|
3710
|
+
return JSON.stringify(One$outboundSchema.parse(one));
|
|
3872
3711
|
}
|
|
3873
3712
|
|
|
3874
3713
|
/** @internal */
|
|
@@ -3881,8 +3720,7 @@ export type KnowledgeFilter$Outbound = And$Outbound | Or$Outbound | {
|
|
|
3881
3720
|
| Lt$Outbound
|
|
3882
3721
|
| Lte$Outbound
|
|
3883
3722
|
| In$Outbound
|
|
3884
|
-
| Nin$Outbound
|
|
3885
|
-
| Exists$Outbound;
|
|
3723
|
+
| Nin$Outbound;
|
|
3886
3724
|
};
|
|
3887
3725
|
|
|
3888
3726
|
/** @internal */
|
|
@@ -3902,7 +3740,6 @@ export const KnowledgeFilter$outboundSchema: z.ZodType<
|
|
|
3902
3740
|
z.lazy(() => Lte$outboundSchema),
|
|
3903
3741
|
z.lazy(() => In$outboundSchema),
|
|
3904
3742
|
z.lazy(() => Nin$outboundSchema),
|
|
3905
|
-
z.lazy(() => Exists$outboundSchema),
|
|
3906
3743
|
])),
|
|
3907
3744
|
]);
|
|
3908
3745
|
|
|
@@ -3951,8 +3788,7 @@ export type DeploymentGetConfigRequestBody$Outbound = {
|
|
|
3951
3788
|
| Lt$Outbound
|
|
3952
3789
|
| Lte$Outbound
|
|
3953
3790
|
| In$Outbound
|
|
3954
|
-
| Nin$Outbound
|
|
3955
|
-
| Exists$Outbound;
|
|
3791
|
+
| Nin$Outbound;
|
|
3956
3792
|
} | undefined;
|
|
3957
3793
|
};
|
|
3958
3794
|
|
|
@@ -4002,7 +3838,6 @@ export const DeploymentGetConfigRequestBody$outboundSchema: z.ZodType<
|
|
|
4002
3838
|
z.lazy(() => Lte$outboundSchema),
|
|
4003
3839
|
z.lazy(() => In$outboundSchema),
|
|
4004
3840
|
z.lazy(() => Nin$outboundSchema),
|
|
4005
|
-
z.lazy(() => Exists$outboundSchema),
|
|
4006
3841
|
])),
|
|
4007
3842
|
]).optional(),
|
|
4008
3843
|
}).transform((v) => {
|
|
@@ -4100,26 +3935,23 @@ export function twoImageUrlFromJSON(
|
|
|
4100
3935
|
}
|
|
4101
3936
|
|
|
4102
3937
|
/** @internal */
|
|
4103
|
-
export const
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
})
|
|
4111
|
-
return remap$(v, {
|
|
4112
|
-
"image_url": "imageUrl",
|
|
3938
|
+
export const Two2$inboundSchema: z.ZodType<Two2, z.ZodTypeDef, unknown> = z
|
|
3939
|
+
.object({
|
|
3940
|
+
type: z.literal("image_url"),
|
|
3941
|
+
image_url: z.lazy(() => TwoImageUrl$inboundSchema),
|
|
3942
|
+
}).transform((v) => {
|
|
3943
|
+
return remap$(v, {
|
|
3944
|
+
"image_url": "imageUrl",
|
|
3945
|
+
});
|
|
4113
3946
|
});
|
|
4114
|
-
});
|
|
4115
3947
|
|
|
4116
|
-
export function
|
|
3948
|
+
export function two2FromJSON(
|
|
4117
3949
|
jsonString: string,
|
|
4118
|
-
): SafeParseResult<
|
|
3950
|
+
): SafeParseResult<Two2, SDKValidationError> {
|
|
4119
3951
|
return safeParse(
|
|
4120
3952
|
jsonString,
|
|
4121
|
-
(x) =>
|
|
4122
|
-
`Failed to parse '
|
|
3953
|
+
(x) => Two2$inboundSchema.parse(JSON.parse(x)),
|
|
3954
|
+
`Failed to parse 'Two2' from JSON`,
|
|
4123
3955
|
);
|
|
4124
3956
|
}
|
|
4125
3957
|
|
|
@@ -4148,7 +3980,7 @@ export const DeploymentGetConfigContentDeploymentsResponse2$inboundSchema:
|
|
|
4148
3980
|
unknown
|
|
4149
3981
|
> = z.union([
|
|
4150
3982
|
z.lazy(() => Two1$inboundSchema),
|
|
4151
|
-
z.lazy(() =>
|
|
3983
|
+
z.lazy(() => Two2$inboundSchema),
|
|
4152
3984
|
z.lazy(() => Two3$inboundSchema),
|
|
4153
3985
|
]);
|
|
4154
3986
|
|
|
@@ -4177,7 +4009,7 @@ export const DeploymentGetConfigContent$inboundSchema: z.ZodType<
|
|
|
4177
4009
|
z.string(),
|
|
4178
4010
|
z.array(z.union([
|
|
4179
4011
|
z.lazy(() => Two1$inboundSchema),
|
|
4180
|
-
z.lazy(() =>
|
|
4012
|
+
z.lazy(() => Two2$inboundSchema),
|
|
4181
4013
|
z.lazy(() => Two3$inboundSchema),
|
|
4182
4014
|
])),
|
|
4183
4015
|
]);
|
|
@@ -4241,8 +4073,8 @@ export function deploymentGetConfigToolCallsFromJSON(
|
|
|
4241
4073
|
}
|
|
4242
4074
|
|
|
4243
4075
|
/** @internal */
|
|
4244
|
-
export const
|
|
4245
|
-
|
|
4076
|
+
export const DeploymentGetConfigMessages$inboundSchema: z.ZodType<
|
|
4077
|
+
DeploymentGetConfigMessages,
|
|
4246
4078
|
z.ZodTypeDef,
|
|
4247
4079
|
unknown
|
|
4248
4080
|
> = z.object({
|
|
@@ -4252,7 +4084,7 @@ export const DeploymentGetConfigDeploymentsMessages$inboundSchema: z.ZodType<
|
|
|
4252
4084
|
z.string(),
|
|
4253
4085
|
z.array(z.union([
|
|
4254
4086
|
z.lazy(() => Two1$inboundSchema),
|
|
4255
|
-
z.lazy(() =>
|
|
4087
|
+
z.lazy(() => Two2$inboundSchema),
|
|
4256
4088
|
z.lazy(() => Two3$inboundSchema),
|
|
4257
4089
|
])),
|
|
4258
4090
|
]),
|
|
@@ -4267,14 +4099,13 @@ export const DeploymentGetConfigDeploymentsMessages$inboundSchema: z.ZodType<
|
|
|
4267
4099
|
});
|
|
4268
4100
|
});
|
|
4269
4101
|
|
|
4270
|
-
export function
|
|
4102
|
+
export function deploymentGetConfigMessagesFromJSON(
|
|
4271
4103
|
jsonString: string,
|
|
4272
|
-
): SafeParseResult<
|
|
4104
|
+
): SafeParseResult<DeploymentGetConfigMessages, SDKValidationError> {
|
|
4273
4105
|
return safeParse(
|
|
4274
4106
|
jsonString,
|
|
4275
|
-
(x) =>
|
|
4276
|
-
|
|
4277
|
-
`Failed to parse 'DeploymentGetConfigDeploymentsMessages' from JSON`,
|
|
4107
|
+
(x) => DeploymentGetConfigMessages$inboundSchema.parse(JSON.parse(x)),
|
|
4108
|
+
`Failed to parse 'DeploymentGetConfigMessages' from JSON`,
|
|
4278
4109
|
);
|
|
4279
4110
|
}
|
|
4280
4111
|
|
|
@@ -4599,9 +4430,7 @@ export const DeploymentGetConfigResponseBody$inboundSchema: z.ZodType<
|
|
|
4599
4430
|
model: z.string(),
|
|
4600
4431
|
type: DeploymentGetConfigType$inboundSchema.optional(),
|
|
4601
4432
|
version: z.string(),
|
|
4602
|
-
messages: z.array(
|
|
4603
|
-
z.lazy(() => DeploymentGetConfigDeploymentsMessages$inboundSchema),
|
|
4604
|
-
),
|
|
4433
|
+
messages: z.array(z.lazy(() => DeploymentGetConfigMessages$inboundSchema)),
|
|
4605
4434
|
parameters: z.lazy(() => DeploymentGetConfigParameters$inboundSchema),
|
|
4606
4435
|
tools: z.array(z.lazy(() => DeploymentGetConfigTools$inboundSchema))
|
|
4607
4436
|
.optional(),
|