@mistralai/mistralai 3.3.0 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +76 -46
- package/esm/extra/realtime/connection.d.ts +16 -3
- package/esm/extra/realtime/connection.d.ts.map +1 -1
- package/esm/extra/realtime/connection.js +35 -9
- package/esm/extra/realtime/connection.js.map +1 -1
- package/esm/extra/realtime/errors.d.ts +18 -0
- package/esm/extra/realtime/errors.d.ts.map +1 -1
- package/esm/extra/realtime/errors.js +19 -0
- package/esm/extra/realtime/errors.js.map +1 -1
- package/esm/extra/realtime/index.d.ts +20 -1
- package/esm/extra/realtime/index.d.ts.map +1 -1
- package/esm/extra/realtime/index.js +5 -0
- package/esm/extra/realtime/index.js.map +1 -1
- package/esm/extra/realtime/speech.d.ts +64 -0
- package/esm/extra/realtime/speech.d.ts.map +1 -0
- package/esm/extra/realtime/speech.js +461 -0
- package/esm/extra/realtime/speech.js.map +1 -0
- package/esm/extra/realtime/transcription.d.ts +2 -2
- package/esm/extra/realtime/transcription.d.ts.map +1 -1
- package/esm/extra/realtime/transcription.js +11 -2
- package/esm/extra/realtime/transcription.js.map +1 -1
- package/esm/extra/workflows/encoding/payload-encoder.d.ts.map +1 -1
- package/esm/extra/workflows/encoding/payload-encoder.js +2 -2
- package/esm/extra/workflows/encoding/payload-encoder.js.map +1 -1
- package/esm/extra/workflows/encoding/python-json.d.ts +3 -2
- package/esm/extra/workflows/encoding/python-json.d.ts.map +1 -1
- package/esm/extra/workflows/encoding/python-json.js +24 -9
- package/esm/extra/workflows/encoding/python-json.js.map +1 -1
- package/esm/funcs/{betaRagManagedIndexesCreate.d.ts → betaContextSearchIndexesCreate.d.ts} +2 -2
- package/esm/funcs/betaContextSearchIndexesCreate.d.ts.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesCreate.js → betaContextSearchIndexesCreate.js} +3 -3
- package/esm/funcs/betaContextSearchIndexesCreate.js.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesDelete.d.ts → betaContextSearchIndexesDelete.d.ts} +2 -2
- package/esm/funcs/betaContextSearchIndexesDelete.d.ts.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesDelete.js → betaContextSearchIndexesDelete.js} +2 -2
- package/esm/funcs/betaContextSearchIndexesDelete.js.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesDeleteDocuments.d.ts → betaContextSearchIndexesDeleteDocuments.d.ts} +2 -2
- package/esm/funcs/betaContextSearchIndexesDeleteDocuments.d.ts.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesDeleteDocuments.js → betaContextSearchIndexesDeleteDocuments.js} +2 -2
- package/esm/funcs/betaContextSearchIndexesDeleteDocuments.js.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesGenerateIndexSummary.d.ts → betaContextSearchIndexesGenerateIndexSummary.d.ts} +2 -2
- package/esm/funcs/betaContextSearchIndexesGenerateIndexSummary.d.ts.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesGenerateIndexSummary.js → betaContextSearchIndexesGenerateIndexSummary.js} +2 -2
- package/esm/funcs/betaContextSearchIndexesGenerateIndexSummary.js.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesGet.d.ts → betaContextSearchIndexesGet.d.ts} +2 -2
- package/esm/funcs/{betaRagManagedIndexesDelete.d.ts.map → betaContextSearchIndexesGet.d.ts.map} +1 -1
- package/esm/funcs/{betaRagManagedIndexesGet.js → betaContextSearchIndexesGet.js} +2 -2
- package/esm/funcs/betaContextSearchIndexesGet.js.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesGetChunk.d.ts → betaContextSearchIndexesGetChunk.d.ts} +2 -2
- package/esm/funcs/betaContextSearchIndexesGetChunk.d.ts.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesGetChunk.js → betaContextSearchIndexesGetChunk.js} +2 -2
- package/esm/funcs/betaContextSearchIndexesGetChunk.js.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesGetIndexSummary.d.ts → betaContextSearchIndexesGetIndexSummary.d.ts} +2 -2
- package/esm/funcs/betaContextSearchIndexesGetIndexSummary.d.ts.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesGetIndexSummary.js → betaContextSearchIndexesGetIndexSummary.js} +2 -2
- package/esm/funcs/betaContextSearchIndexesGetIndexSummary.js.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesGrep.d.ts → betaContextSearchIndexesGrep.d.ts} +2 -2
- package/esm/funcs/betaContextSearchIndexesGrep.d.ts.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesGrep.js → betaContextSearchIndexesGrep.js} +2 -2
- package/esm/funcs/betaContextSearchIndexesGrep.js.map +1 -0
- package/esm/funcs/betaContextSearchIndexesIngestDocuments.d.ts +19 -0
- package/esm/funcs/betaContextSearchIndexesIngestDocuments.d.ts.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesIngestDocuments.js → betaContextSearchIndexesIngestDocuments.js} +2 -2
- package/esm/funcs/betaContextSearchIndexesIngestDocuments.js.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesList.d.ts → betaContextSearchIndexesList.d.ts} +2 -2
- package/esm/funcs/betaContextSearchIndexesList.d.ts.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesList.js → betaContextSearchIndexesList.js} +3 -3
- package/esm/funcs/betaContextSearchIndexesList.js.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesNavigate.d.ts → betaContextSearchIndexesNavigate.d.ts} +2 -2
- package/esm/funcs/betaContextSearchIndexesNavigate.d.ts.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesNavigate.js → betaContextSearchIndexesNavigate.js} +2 -2
- package/esm/funcs/betaContextSearchIndexesNavigate.js.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesRead.d.ts → betaContextSearchIndexesRead.d.ts} +2 -2
- package/esm/funcs/betaContextSearchIndexesRead.d.ts.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesRead.js → betaContextSearchIndexesRead.js} +2 -2
- package/esm/funcs/betaContextSearchIndexesRead.js.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesSearch.d.ts → betaContextSearchIndexesSearch.d.ts} +2 -2
- package/esm/funcs/betaContextSearchIndexesSearch.d.ts.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesSearch.js → betaContextSearchIndexesSearch.js} +2 -2
- package/esm/funcs/betaContextSearchIndexesSearch.js.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesSetIndexSummary.d.ts → betaContextSearchIndexesSetIndexSummary.d.ts} +2 -2
- package/esm/funcs/betaContextSearchIndexesSetIndexSummary.d.ts.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesSetIndexSummary.js → betaContextSearchIndexesSetIndexSummary.js} +2 -2
- package/esm/funcs/betaContextSearchIndexesSetIndexSummary.js.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesUpdate.d.ts → betaContextSearchIndexesUpdate.d.ts} +2 -2
- package/esm/funcs/betaContextSearchIndexesUpdate.d.ts.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesUpdate.js → betaContextSearchIndexesUpdate.js} +2 -2
- package/esm/funcs/betaContextSearchIndexesUpdate.js.map +1 -0
- package/esm/funcs/betaTriggersCreate.d.ts +15 -0
- package/esm/funcs/betaTriggersCreate.d.ts.map +1 -0
- package/esm/funcs/betaTriggersCreate.js +80 -0
- package/esm/funcs/betaTriggersCreate.js.map +1 -0
- package/esm/funcs/betaTriggersDelete.d.ts +15 -0
- package/esm/funcs/betaTriggersDelete.d.ts.map +1 -0
- package/esm/funcs/betaTriggersDelete.js +87 -0
- package/esm/funcs/betaTriggersDelete.js.map +1 -0
- package/esm/funcs/{betaRagManagedIndexesIngestDocuments.d.ts → betaTriggersGet.d.ts} +3 -6
- package/esm/funcs/betaTriggersGet.d.ts.map +1 -0
- package/esm/funcs/betaTriggersGet.js +86 -0
- package/esm/funcs/betaTriggersGet.js.map +1 -0
- package/esm/funcs/betaTriggersList.d.ts +16 -0
- package/esm/funcs/betaTriggersList.d.ts.map +1 -0
- package/esm/funcs/betaTriggersList.js +88 -0
- package/esm/funcs/betaTriggersList.js.map +1 -0
- package/esm/funcs/betaTriggersListEvents.d.ts +16 -0
- package/esm/funcs/betaTriggersListEvents.d.ts.map +1 -0
- package/esm/funcs/betaTriggersListEvents.js +92 -0
- package/esm/funcs/betaTriggersListEvents.js.map +1 -0
- package/esm/funcs/betaWebhooksCreate.d.ts +15 -0
- package/esm/funcs/betaWebhooksCreate.d.ts.map +1 -0
- package/esm/funcs/betaWebhooksCreate.js +80 -0
- package/esm/funcs/betaWebhooksCreate.js.map +1 -0
- package/esm/funcs/betaWebhooksDelete.d.ts +15 -0
- package/esm/funcs/betaWebhooksDelete.d.ts.map +1 -0
- package/esm/funcs/betaWebhooksDelete.js +87 -0
- package/esm/funcs/betaWebhooksDelete.js.map +1 -0
- package/esm/funcs/betaWebhooksGet.d.ts +16 -0
- package/esm/funcs/betaWebhooksGet.d.ts.map +1 -0
- package/esm/funcs/betaWebhooksGet.js +86 -0
- package/esm/funcs/betaWebhooksGet.js.map +1 -0
- package/esm/funcs/betaWebhooksGetSigningSecret.d.ts +16 -0
- package/esm/funcs/betaWebhooksGetSigningSecret.d.ts.map +1 -0
- package/esm/funcs/betaWebhooksGetSigningSecret.js +88 -0
- package/esm/funcs/betaWebhooksGetSigningSecret.js.map +1 -0
- package/esm/funcs/betaWebhooksList.d.ts +14 -0
- package/esm/funcs/betaWebhooksList.d.ts.map +1 -0
- package/esm/funcs/betaWebhooksList.js +67 -0
- package/esm/funcs/betaWebhooksList.js.map +1 -0
- package/esm/funcs/workflowsAddWorkflowTags.d.ts +15 -0
- package/esm/funcs/workflowsAddWorkflowTags.d.ts.map +1 -0
- package/esm/funcs/workflowsAddWorkflowTags.js +88 -0
- package/esm/funcs/workflowsAddWorkflowTags.js.map +1 -0
- package/esm/funcs/workflowsDeploymentsGetDeploymentArchive.d.ts +22 -0
- package/esm/funcs/workflowsDeploymentsGetDeploymentArchive.d.ts.map +1 -0
- package/esm/funcs/workflowsDeploymentsGetDeploymentArchive.js +94 -0
- package/esm/funcs/workflowsDeploymentsGetDeploymentArchive.js.map +1 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/components/connectionpreference.d.ts +12 -2
- package/esm/models/components/connectionpreference.d.ts.map +1 -1
- package/esm/models/components/connectionpreference.js +3 -3
- package/esm/models/components/connectionpreference.js.map +1 -1
- package/esm/models/components/connectoropenapispec.d.ts +14 -0
- package/esm/models/components/connectoropenapispec.d.ts.map +1 -0
- package/esm/models/components/connectoropenapispec.js +14 -0
- package/esm/models/components/connectoropenapispec.js.map +1 -0
- package/esm/models/components/createtrigger.d.ts +34 -0
- package/esm/models/components/createtrigger.d.ts.map +1 -0
- package/esm/models/components/createtrigger.js +26 -0
- package/esm/models/components/createtrigger.js.map +1 -0
- package/esm/models/components/createtriggeraction.d.ts +18 -0
- package/esm/models/components/createtriggeraction.d.ts.map +1 -0
- package/esm/models/components/createtriggeraction.js +19 -0
- package/esm/models/components/createtriggeraction.js.map +1 -0
- package/esm/models/components/createwebhook.d.ts +62 -0
- package/esm/models/components/createwebhook.d.ts.map +1 -0
- package/esm/models/components/createwebhook.js +47 -0
- package/esm/models/components/createwebhook.js.map +1 -0
- package/esm/models/components/deploymentarchiveresponse.d.ts +20 -0
- package/esm/models/components/deploymentarchiveresponse.d.ts.map +1 -0
- package/esm/models/components/deploymentarchiveresponse.js +20 -0
- package/esm/models/components/deploymentarchiveresponse.js.map +1 -0
- package/esm/models/components/deploymentworkerspecinput.d.ts +15 -2
- package/esm/models/components/deploymentworkerspecinput.d.ts.map +1 -1
- package/esm/models/components/deploymentworkerspecinput.js +5 -1
- package/esm/models/components/deploymentworkerspecinput.js.map +1 -1
- package/esm/models/components/deploymentworkerspecresponse.d.ts +8 -0
- package/esm/models/components/deploymentworkerspecresponse.d.ts.map +1 -1
- package/esm/models/components/deploymentworkerspecresponse.js +4 -0
- package/esm/models/components/deploymentworkerspecresponse.js.map +1 -1
- package/esm/models/components/getlog.d.ts +1 -0
- package/esm/models/components/getlog.d.ts.map +1 -1
- package/esm/models/components/getlog.js +2 -0
- package/esm/models/components/getlog.js.map +1 -1
- package/esm/models/components/getspan.d.ts +1 -0
- package/esm/models/components/getspan.d.ts.map +1 -1
- package/esm/models/components/getspan.js +2 -0
- package/esm/models/components/getspan.js.map +1 -1
- package/esm/models/components/getspanevaluation.d.ts +1 -0
- package/esm/models/components/getspanevaluation.d.ts.map +1 -1
- package/esm/models/components/getspanevaluation.js +2 -0
- package/esm/models/components/getspanevaluation.js.map +1 -1
- package/esm/models/components/gettrace.d.ts +1 -0
- package/esm/models/components/gettrace.d.ts.map +1 -1
- package/esm/models/components/gettrace.js +2 -0
- package/esm/models/components/gettrace.js.map +1 -1
- package/esm/models/components/httpconnector.d.ts +5 -0
- package/esm/models/components/httpconnector.d.ts.map +1 -1
- package/esm/models/components/httpconnector.js +3 -0
- package/esm/models/components/httpconnector.js.map +1 -1
- package/esm/models/components/index.d.ts +33 -5
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +33 -5
- package/esm/models/components/index.js.map +1 -1
- package/esm/models/components/observabilityerrorcode.d.ts +1 -0
- package/esm/models/components/observabilityerrorcode.d.ts.map +1 -1
- package/esm/models/components/observabilityerrorcode.js +1 -0
- package/esm/models/components/observabilityerrorcode.js.map +1 -1
- package/esm/models/components/openapifilesource.d.ts +14 -0
- package/esm/models/components/openapifilesource.d.ts.map +1 -0
- package/esm/models/components/openapifilesource.js +14 -0
- package/esm/models/components/openapifilesource.js.map +1 -0
- package/esm/models/components/openapispecsource.d.ts +11 -0
- package/esm/models/components/openapispecsource.d.ts.map +1 -0
- package/esm/models/components/openapispecsource.js +16 -0
- package/esm/models/components/openapispecsource.js.map +1 -0
- package/esm/models/components/openapiurlsource.d.ts +14 -0
- package/esm/models/components/openapiurlsource.d.ts.map +1 -0
- package/esm/models/components/openapiurlsource.js +14 -0
- package/esm/models/components/openapiurlsource.js.map +1 -0
- package/esm/models/components/realtimespeecherror.d.ts +20 -0
- package/esm/models/components/realtimespeecherror.d.ts.map +1 -0
- package/esm/models/components/realtimespeecherror.js +23 -0
- package/esm/models/components/realtimespeecherror.js.map +1 -0
- package/esm/models/components/realtimespeecherrordetail.d.ts +45 -0
- package/esm/models/components/realtimespeecherrordetail.d.ts.map +1 -0
- package/esm/models/components/realtimespeecherrordetail.js +33 -0
- package/esm/models/components/realtimespeecherrordetail.js.map +1 -0
- package/esm/models/components/realtimespeechinputtextappend.d.ts +19 -0
- package/esm/models/components/realtimespeechinputtextappend.d.ts.map +1 -0
- package/esm/models/components/realtimespeechinputtextappend.js +22 -0
- package/esm/models/components/realtimespeechinputtextappend.js.map +1 -0
- package/esm/models/components/realtimespeechinputtextend.d.ts +17 -0
- package/esm/models/components/realtimespeechinputtextend.d.ts.map +1 -0
- package/esm/models/components/realtimespeechinputtextend.js +20 -0
- package/esm/models/components/realtimespeechinputtextend.js.map +1 -0
- package/esm/models/components/realtimespeechinputtextflush.d.ts +19 -0
- package/esm/models/components/realtimespeechinputtextflush.d.ts.map +1 -0
- package/esm/models/components/realtimespeechinputtextflush.js +22 -0
- package/esm/models/components/realtimespeechinputtextflush.js.map +1 -0
- package/esm/models/components/realtimespeechsession.d.ts +31 -0
- package/esm/models/components/realtimespeechsession.d.ts.map +1 -0
- package/esm/models/components/realtimespeechsession.js +49 -0
- package/esm/models/components/realtimespeechsession.js.map +1 -0
- package/esm/models/components/realtimespeechsessioncreated.d.ts +20 -0
- package/esm/models/components/realtimespeechsessioncreated.d.ts.map +1 -0
- package/esm/models/components/realtimespeechsessioncreated.js +23 -0
- package/esm/models/components/realtimespeechsessioncreated.js.map +1 -0
- package/esm/models/components/realtimespeechsessionupdated.d.ts +20 -0
- package/esm/models/components/realtimespeechsessionupdated.d.ts.map +1 -0
- package/esm/models/components/realtimespeechsessionupdated.js +23 -0
- package/esm/models/components/realtimespeechsessionupdated.js.map +1 -0
- package/esm/models/components/realtimespeechsessionupdatemessage.d.ts +20 -0
- package/esm/models/components/realtimespeechsessionupdatemessage.d.ts.map +1 -0
- package/esm/models/components/realtimespeechsessionupdatemessage.js +23 -0
- package/esm/models/components/realtimespeechsessionupdatemessage.js.map +1 -0
- package/esm/models/components/realtimespeechsessionupdatepayload.d.ts +42 -0
- package/esm/models/components/realtimespeechsessionupdatepayload.d.ts.map +1 -0
- package/esm/models/components/realtimespeechsessionupdatepayload.js +45 -0
- package/esm/models/components/realtimespeechsessionupdatepayload.js.map +1 -0
- package/esm/models/components/realtimespeechstreamingmode.d.ts +12 -0
- package/esm/models/components/realtimespeechstreamingmode.d.ts.map +1 -0
- package/esm/models/components/realtimespeechstreamingmode.js +13 -0
- package/esm/models/components/realtimespeechstreamingmode.js.map +1 -0
- package/esm/models/components/speechoutputformat.d.ts +2 -0
- package/esm/models/components/speechoutputformat.d.ts.map +1 -1
- package/esm/models/components/speechoutputformat.js +3 -1
- package/esm/models/components/speechoutputformat.js.map +1 -1
- package/esm/models/components/speechstreamaudiodelta.d.ts +8 -0
- package/esm/models/components/speechstreamaudiodelta.d.ts.map +1 -1
- package/esm/models/components/speechstreamaudiodelta.js +12 -0
- package/esm/models/components/speechstreamaudiodelta.js.map +1 -1
- package/esm/models/components/speechstreamdone.d.ts +10 -2
- package/esm/models/components/speechstreamdone.d.ts.map +1 -1
- package/esm/models/components/speechstreamdone.js +10 -2
- package/esm/models/components/speechstreamdone.js.map +1 -1
- package/esm/models/components/systemv2.d.ts +4 -0
- package/esm/models/components/systemv2.d.ts.map +1 -1
- package/esm/models/components/systemv2.js +2 -0
- package/esm/models/components/systemv2.js.map +1 -1
- package/esm/models/components/trigger.d.ts +24 -0
- package/esm/models/components/trigger.d.ts.map +1 -0
- package/esm/models/components/trigger.js +37 -0
- package/esm/models/components/trigger.js.map +1 -0
- package/esm/models/components/triggeraction.d.ts +12 -0
- package/esm/models/components/triggeraction.d.ts.map +1 -0
- package/esm/models/components/triggeraction.js +21 -0
- package/esm/models/components/triggeraction.js.map +1 -0
- package/esm/models/components/triggeractiontype.d.ts +14 -0
- package/esm/models/components/triggeractiontype.d.ts.map +1 -0
- package/esm/models/components/triggeractiontype.js +15 -0
- package/esm/models/components/triggeractiontype.js.map +1 -0
- package/esm/models/components/triggerevent.d.ts +19 -0
- package/esm/models/components/triggerevent.d.ts.map +1 -0
- package/esm/models/components/triggerevent.js +33 -0
- package/esm/models/components/triggerevent.js.map +1 -0
- package/esm/models/components/triggereventlist.d.ts +11 -0
- package/esm/models/components/triggereventlist.d.ts.map +1 -0
- package/esm/models/components/triggereventlist.js +14 -0
- package/esm/models/components/triggereventlist.js.map +1 -0
- package/esm/models/components/triggerhandler.d.ts +13 -0
- package/esm/models/components/triggerhandler.d.ts.map +1 -0
- package/esm/models/components/triggerhandler.js +14 -0
- package/esm/models/components/triggerhandler.js.map +1 -0
- package/esm/models/components/triggersownertype.d.ts +12 -0
- package/esm/models/components/triggersownertype.d.ts.map +1 -0
- package/esm/models/components/triggersownertype.js +13 -0
- package/esm/models/components/triggersownertype.js.map +1 -0
- package/esm/models/components/triggerstatusvalue.d.ts +12 -0
- package/esm/models/components/triggerstatusvalue.d.ts.map +1 -0
- package/esm/models/components/triggerstatusvalue.js +13 -0
- package/esm/models/components/triggerstatusvalue.js.map +1 -0
- package/esm/models/components/voicecreaterequest.d.ts +2 -3
- package/esm/models/components/voicecreaterequest.d.ts.map +1 -1
- package/esm/models/components/voicecreaterequest.js +2 -2
- package/esm/models/components/voicecreaterequest.js.map +1 -1
- package/esm/models/components/voiceupdaterequest.d.ts +2 -1
- package/esm/models/components/voiceupdaterequest.d.ts.map +1 -1
- package/esm/models/components/voiceupdaterequest.js +2 -1
- package/esm/models/components/voiceupdaterequest.js.map +1 -1
- package/esm/models/components/webhook.d.ts +35 -0
- package/esm/models/components/webhook.d.ts.map +1 -0
- package/esm/models/components/webhook.js +60 -0
- package/esm/models/components/webhook.js.map +1 -0
- package/esm/models/components/webhookprovider.d.ts +18 -0
- package/esm/models/components/webhookprovider.d.ts.map +1 -0
- package/esm/models/components/webhookprovider.js +19 -0
- package/esm/models/components/webhookprovider.js.map +1 -0
- package/esm/models/components/webhooksignatureencoding.d.ts +12 -0
- package/esm/models/components/webhooksignatureencoding.d.ts.map +1 -0
- package/esm/models/components/webhooksignatureencoding.js +13 -0
- package/esm/models/components/webhooksignatureencoding.js.map +1 -0
- package/esm/models/components/webhooksignaturehashalgorithm.d.ts +12 -0
- package/esm/models/components/webhooksignaturehashalgorithm.d.ts.map +1 -0
- package/esm/models/components/webhooksignaturehashalgorithm.js +13 -0
- package/esm/models/components/webhooksignaturehashalgorithm.js.map +1 -0
- package/esm/models/components/webhooksigningsecret.d.ts +13 -0
- package/esm/models/components/webhooksigningsecret.d.ts.map +1 -0
- package/esm/models/components/webhooksigningsecret.js +18 -0
- package/esm/models/components/webhooksigningsecret.js.map +1 -0
- package/esm/models/components/workflowsworkerspecupdate.d.ts +10 -0
- package/esm/models/components/workflowsworkerspecupdate.d.ts.map +1 -1
- package/esm/models/components/workflowsworkerspecupdate.js +4 -0
- package/esm/models/components/workflowsworkerspecupdate.js.map +1 -1
- package/esm/models/components/workflowtagsaddrequest.d.ts +15 -0
- package/esm/models/components/workflowtagsaddrequest.d.ts.map +1 -0
- package/esm/models/components/workflowtagsaddrequest.js +12 -0
- package/esm/models/components/workflowtagsaddrequest.js.map +1 -0
- package/esm/models/operations/addworkflowtagsv1workflowsworkflowidentifiertagspost.d.ts +15 -0
- package/esm/models/operations/addworkflowtagsv1workflowsworkflowidentifiertagspost.d.ts.map +1 -0
- package/esm/models/operations/addworkflowtagsv1workflowsworkflowidentifiertagspost.js +21 -0
- package/esm/models/operations/addworkflowtagsv1workflowsworkflowidentifiertagspost.js.map +1 -0
- package/esm/models/operations/deletetriggerv1triggerstriggeriddelete.d.ts +12 -0
- package/esm/models/operations/deletetriggerv1triggerstriggeriddelete.d.ts.map +1 -0
- package/esm/models/operations/deletetriggerv1triggerstriggeriddelete.js +17 -0
- package/esm/models/operations/deletetriggerv1triggerstriggeriddelete.js.map +1 -0
- package/esm/models/operations/deletewebhookv1webhookswebhookiddelete.d.ts +12 -0
- package/esm/models/operations/deletewebhookv1webhookswebhookiddelete.d.ts.map +1 -0
- package/esm/models/operations/deletewebhookv1webhookswebhookiddelete.js +17 -0
- package/esm/models/operations/deletewebhookv1webhookswebhookiddelete.js.map +1 -0
- package/esm/models/operations/getdeploymentarchivev1workflowsdeploymentsnamearchiveget.d.ts +12 -0
- package/esm/models/operations/getdeploymentarchivev1workflowsdeploymentsnamearchiveget.d.ts.map +1 -0
- package/esm/models/operations/getdeploymentarchivev1workflowsdeploymentsnamearchiveget.js +13 -0
- package/esm/models/operations/getdeploymentarchivev1workflowsdeploymentsnamearchiveget.js.map +1 -0
- package/esm/models/operations/gettriggerv1triggerstriggeridget.d.ts +12 -0
- package/esm/models/operations/gettriggerv1triggerstriggeridget.d.ts.map +1 -0
- package/esm/models/operations/gettriggerv1triggerstriggeridget.js +17 -0
- package/esm/models/operations/gettriggerv1triggerstriggeridget.js.map +1 -0
- package/esm/models/operations/getwebhooksigningsecretv1webhookswebhookidsigningsecretget.d.ts +12 -0
- package/esm/models/operations/getwebhooksigningsecretv1webhookswebhookidsigningsecretget.d.ts.map +1 -0
- package/esm/models/operations/getwebhooksigningsecretv1webhookswebhookidsigningsecretget.js +18 -0
- package/esm/models/operations/getwebhooksigningsecretv1webhookswebhookidsigningsecretget.js.map +1 -0
- package/esm/models/operations/getwebhookv1webhookswebhookidget.d.ts +12 -0
- package/esm/models/operations/getwebhookv1webhookswebhookidget.d.ts.map +1 -0
- package/esm/models/operations/getwebhookv1webhookswebhookidget.js +17 -0
- package/esm/models/operations/getwebhookv1webhookswebhookidget.js.map +1 -0
- package/esm/models/operations/index.d.ts +9 -0
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +9 -0
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/listtriggereventsv1triggerstriggerideventsget.d.ts +17 -0
- package/esm/models/operations/listtriggereventsv1triggerstriggerideventsget.d.ts.map +1 -0
- package/esm/models/operations/listtriggereventsv1triggerstriggerideventsget.js +18 -0
- package/esm/models/operations/listtriggereventsv1triggerstriggerideventsget.js.map +1 -0
- package/esm/models/operations/listtriggersv1triggersget.d.ts +26 -0
- package/esm/models/operations/listtriggersv1triggersget.d.ts.map +1 -0
- package/esm/models/operations/listtriggersv1triggersget.js +21 -0
- package/esm/models/operations/listtriggersv1triggersget.js.map +1 -0
- package/esm/models/operations/skillslist.d.ts +3 -0
- package/esm/models/operations/skillslist.d.ts.map +1 -1
- package/esm/models/operations/skillslist.js.map +1 -1
- package/esm/sdk/beta.d.ts +9 -0
- package/esm/sdk/beta.d.ts.map +1 -1
- package/esm/sdk/beta.js +15 -0
- package/esm/sdk/beta.js.map +1 -1
- package/esm/sdk/context.d.ts +7 -0
- package/esm/sdk/context.d.ts.map +1 -0
- package/esm/sdk/context.js +12 -0
- package/esm/sdk/context.js.map +1 -0
- package/esm/sdk/{managedindexes.d.ts → contextsearchindexes.d.ts} +2 -2
- package/esm/sdk/contextsearchindexes.d.ts.map +1 -0
- package/esm/sdk/{managedindexes.js → contextsearchindexes.js} +32 -32
- package/esm/sdk/contextsearchindexes.js.map +1 -0
- package/esm/sdk/deployments.d.ts +10 -0
- package/esm/sdk/deployments.d.ts.map +1 -1
- package/esm/sdk/deployments.js +13 -0
- package/esm/sdk/deployments.js.map +1 -1
- package/esm/sdk/rag.d.ts +2 -5
- package/esm/sdk/rag.d.ts.map +1 -1
- package/esm/sdk/rag.js +2 -7
- package/esm/sdk/rag.js.map +1 -1
- package/esm/sdk/{searchindexes.d.ts → ragsearchindexes.d.ts} +2 -2
- package/esm/sdk/ragsearchindexes.d.ts.map +1 -0
- package/esm/sdk/{searchindexes.js → ragsearchindexes.js} +2 -2
- package/esm/sdk/ragsearchindexes.js.map +1 -0
- package/esm/sdk/triggers.d.ts +26 -0
- package/esm/sdk/triggers.d.ts.map +1 -0
- package/esm/sdk/triggers.js +43 -0
- package/esm/sdk/triggers.js.map +1 -0
- package/esm/sdk/webhooks.d.ts +26 -0
- package/esm/sdk/webhooks.d.ts.map +1 -0
- package/esm/sdk/webhooks.js +43 -0
- package/esm/sdk/webhooks.js.map +1 -0
- package/esm/sdk/workflows.d.ts +4 -0
- package/esm/sdk/workflows.d.ts.map +1 -1
- package/esm/sdk/workflows.js +7 -0
- package/esm/sdk/workflows.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +11 -11
- package/packages/mistralai-azure/examples/chatComplete.example.ts +0 -1
- package/packages/mistralai-azure/src/core.ts +0 -1
- package/packages/mistralai-azure/src/funcs/chatComplete.ts +1 -2
- package/packages/mistralai-azure/src/funcs/chatStream.ts +1 -2
- package/packages/mistralai-azure/src/funcs/ocrProcess.ts +1 -2
- package/packages/mistralai-azure/src/hooks/hooks.ts +0 -1
- package/packages/mistralai-azure/src/hooks/index.ts +0 -1
- package/packages/mistralai-azure/src/hooks/types.ts +1 -1
- package/packages/mistralai-azure/src/index.ts +0 -1
- package/packages/mistralai-azure/src/lib/base64.ts +0 -1
- package/packages/mistralai-azure/src/lib/config.ts +7 -8
- package/packages/mistralai-azure/src/lib/encodings.ts +59 -25
- package/packages/mistralai-azure/src/lib/env.ts +7 -4
- package/packages/mistralai-azure/src/lib/event-streams.ts +46 -21
- package/packages/mistralai-azure/src/lib/files.ts +0 -1
- package/packages/mistralai-azure/src/lib/http.ts +3 -2
- package/packages/mistralai-azure/src/lib/logger.ts +0 -1
- package/packages/mistralai-azure/src/lib/matchers.ts +1 -2
- package/packages/mistralai-azure/src/lib/primitives.ts +16 -1
- package/packages/mistralai-azure/src/lib/retries.ts +8 -1
- package/packages/mistralai-azure/src/lib/schemas.ts +0 -1
- package/packages/mistralai-azure/src/lib/sdks.ts +54 -18
- package/packages/mistralai-azure/src/lib/security.ts +10 -6
- package/packages/mistralai-azure/src/lib/url.ts +0 -1
- package/packages/mistralai-azure/src/models/components/apikeyauth.ts +0 -1
- package/packages/mistralai-azure/src/models/components/assistantmessage.ts +0 -1
- package/packages/mistralai-azure/src/models/components/builtinconnectors.ts +1 -1
- package/packages/mistralai-azure/src/models/components/chatcompletionchoice.ts +12 -1
- package/packages/mistralai-azure/src/models/components/chatcompletionrequest.ts +28 -40
- package/packages/mistralai-azure/src/models/components/chatcompletionresponse.ts +0 -1
- package/packages/mistralai-azure/src/models/components/chatcompletionresponsechoicelogprobs.ts +35 -0
- package/packages/mistralai-azure/src/models/components/chatcompletionresponsetokenlogprobs.ts +42 -0
- package/packages/mistralai-azure/src/models/components/chatcompletionresponsetokenlogprobstopk.ts +56 -0
- package/packages/mistralai-azure/src/models/components/chatcompletionstreamrequest.ts +28 -40
- package/packages/mistralai-azure/src/models/components/completionchunk.ts +0 -1
- package/packages/mistralai-azure/src/models/components/completionevent.ts +2 -2
- package/packages/mistralai-azure/src/models/components/completionresponsestreamchoice.ts +12 -1
- package/packages/mistralai-azure/src/models/components/contentchunk.ts +0 -1
- package/packages/mistralai-azure/src/models/components/customconnector.ts +5 -1
- package/packages/mistralai-azure/src/models/components/deltamessage.ts +0 -1
- package/packages/mistralai-azure/src/models/components/documentlibrarytool.ts +0 -1
- package/packages/mistralai-azure/src/models/components/documenturlchunk.ts +0 -1
- package/packages/mistralai-azure/src/models/components/filechunk.ts +0 -1
- package/packages/mistralai-azure/src/models/components/function.ts +0 -1
- package/packages/mistralai-azure/src/models/components/functioncall.ts +0 -1
- package/packages/mistralai-azure/src/models/components/functionname.ts +0 -1
- package/packages/mistralai-azure/src/models/components/guardrailconfig.ts +0 -1
- package/packages/mistralai-azure/src/models/components/imagedetail.ts +0 -1
- package/packages/mistralai-azure/src/models/components/imagegenerationtool.ts +0 -1
- package/packages/mistralai-azure/src/models/components/imageurl.ts +0 -1
- package/packages/mistralai-azure/src/models/components/imageurlchunk.ts +0 -1
- package/packages/mistralai-azure/src/models/components/index.ts +17 -4
- package/packages/mistralai-azure/src/models/components/jsonschema.ts +0 -1
- package/packages/mistralai-azure/src/models/components/mistralpromptmode.ts +0 -1
- package/packages/mistralai-azure/src/models/components/moderationllmaction.ts +0 -1
- package/packages/mistralai-azure/src/models/components/moderationllmv1categorythresholds.ts +0 -1
- package/packages/mistralai-azure/src/models/components/moderationllmv1config.ts +0 -1
- package/packages/mistralai-azure/src/models/components/moderationllmv2categorythresholds.ts +0 -1
- package/packages/mistralai-azure/src/models/components/moderationllmv2config.ts +0 -1
- package/packages/mistralai-azure/src/models/components/oauth2tokenauth.ts +0 -1
- package/packages/mistralai-azure/src/models/components/ocrasidetextblock.ts +62 -0
- package/packages/mistralai-azure/src/models/components/ocrblockconfidencescores.ts +59 -0
- package/packages/mistralai-azure/src/models/components/ocrcaptionblock.ts +62 -0
- package/packages/mistralai-azure/src/models/components/ocrcodeblock.ts +60 -0
- package/packages/mistralai-azure/src/models/components/ocrconfidencescore.ts +0 -1
- package/packages/mistralai-azure/src/models/components/ocrequationblock.ts +62 -0
- package/packages/mistralai-azure/src/models/components/ocrfooterblock.ts +60 -0
- package/packages/mistralai-azure/src/models/components/ocrheaderblock.ts +60 -0
- package/packages/mistralai-azure/src/models/components/ocrimageblock.ts +66 -0
- package/packages/mistralai-azure/src/models/components/ocrimageobject.ts +0 -1
- package/packages/mistralai-azure/src/models/components/ocrlistblock.ts +60 -0
- package/packages/mistralai-azure/src/models/components/ocrpageconfidencescores.ts +8 -5
- package/packages/mistralai-azure/src/models/components/ocrpagedimensions.ts +0 -1
- package/packages/mistralai-azure/src/models/components/ocrpageobject.ts +117 -1
- package/packages/mistralai-azure/src/models/components/ocrreferencesblock.ts +62 -0
- package/packages/mistralai-azure/src/models/components/ocrrequest.ts +15 -2
- package/packages/mistralai-azure/src/models/components/ocrresponse.ts +0 -1
- package/packages/mistralai-azure/src/models/components/ocrsignatureblock.ts +65 -0
- package/packages/mistralai-azure/src/models/components/ocrtableblock.ts +66 -0
- package/packages/mistralai-azure/src/models/components/ocrtableobject.ts +0 -1
- package/packages/mistralai-azure/src/models/components/ocrtextblock.ts +60 -0
- package/packages/mistralai-azure/src/models/components/ocrtitleblock.ts +60 -0
- package/packages/mistralai-azure/src/models/components/ocrusageinfo.ts +0 -1
- package/packages/mistralai-azure/src/models/components/prediction.ts +0 -1
- package/packages/mistralai-azure/src/models/components/reasoningeffort.ts +5 -1
- package/packages/mistralai-azure/src/models/components/referencechunk.ts +0 -1
- package/packages/mistralai-azure/src/models/components/responseformat.ts +0 -1
- package/packages/mistralai-azure/src/models/components/responseformats.ts +0 -1
- package/packages/mistralai-azure/src/models/components/security.ts +0 -1
- package/packages/mistralai-azure/src/models/components/systemmessage.ts +0 -1
- package/packages/mistralai-azure/src/models/components/systemmessagecontentchunks.ts +0 -1
- package/packages/mistralai-azure/src/models/components/textchunk.ts +0 -1
- package/packages/mistralai-azure/src/models/components/thinkchunk.ts +0 -1
- package/packages/mistralai-azure/src/models/components/tool.ts +0 -1
- package/packages/mistralai-azure/src/models/components/toolcall.ts +3 -4
- package/packages/mistralai-azure/src/models/components/toolchoice.ts +2 -3
- package/packages/mistralai-azure/src/models/components/toolchoiceenum.ts +0 -1
- package/packages/mistralai-azure/src/models/components/toolconfiguration.ts +0 -1
- package/packages/mistralai-azure/src/models/components/toolmessage.ts +0 -1
- package/packages/mistralai-azure/src/models/components/toolreferencechunk.ts +0 -1
- package/packages/mistralai-azure/src/models/components/usageinfo.ts +0 -1
- package/packages/mistralai-azure/src/models/components/usermessage.ts +0 -1
- package/packages/mistralai-azure/src/models/components/validationerror.ts +0 -1
- package/packages/mistralai-azure/src/models/errors/httpclienterrors.ts +0 -1
- package/packages/mistralai-azure/src/models/errors/httpvalidationerror.ts +0 -1
- package/packages/mistralai-azure/src/models/errors/index.ts +0 -1
- package/packages/mistralai-azure/src/models/errors/mistralazureerror.ts +0 -1
- package/packages/mistralai-azure/src/models/errors/responsevalidationerror.ts +0 -1
- package/packages/mistralai-azure/src/models/errors/sdkerror.ts +0 -1
- package/packages/mistralai-azure/src/models/errors/sdkvalidationerror.ts +0 -1
- package/packages/mistralai-azure/src/sdk/chat.ts +0 -1
- package/packages/mistralai-azure/src/sdk/index.ts +0 -1
- package/packages/mistralai-azure/src/sdk/ocr.ts +0 -1
- package/packages/mistralai-azure/src/types/async.ts +0 -1
- package/packages/mistralai-azure/src/types/blobs.ts +0 -1
- package/packages/mistralai-azure/src/types/constdatetime.ts +0 -1
- package/packages/mistralai-azure/src/types/discriminatedUnion.ts +0 -1
- package/packages/mistralai-azure/src/types/enums.ts +0 -1
- package/packages/mistralai-azure/src/types/fp.ts +0 -1
- package/packages/mistralai-azure/src/types/index.ts +0 -1
- package/packages/mistralai-azure/src/types/operations.ts +0 -1
- package/packages/mistralai-azure/src/types/rfcdate.ts +0 -1
- package/packages/mistralai-azure/src/types/smartUnion.ts +0 -1
- package/packages/mistralai-azure/src/types/streams.ts +0 -1
- package/packages/mistralai-azure/src/types/unrecognized.ts +0 -1
- package/packages/mistralai-gcp/examples/chatComplete.example.ts +0 -1
- package/packages/mistralai-gcp/src/core.ts +0 -1
- package/packages/mistralai-gcp/src/funcs/chatComplete.ts +1 -2
- package/packages/mistralai-gcp/src/funcs/chatStream.ts +1 -2
- package/packages/mistralai-gcp/src/funcs/fimComplete.ts +1 -2
- package/packages/mistralai-gcp/src/funcs/fimStream.ts +1 -2
- package/packages/mistralai-gcp/src/hooks/hooks.ts +0 -1
- package/packages/mistralai-gcp/src/hooks/index.ts +0 -1
- package/packages/mistralai-gcp/src/hooks/types.ts +1 -1
- package/packages/mistralai-gcp/src/index.ts +0 -1
- package/packages/mistralai-gcp/src/lib/base64.ts +0 -1
- package/packages/mistralai-gcp/src/lib/config.ts +7 -8
- package/packages/mistralai-gcp/src/lib/encodings.ts +59 -25
- package/packages/mistralai-gcp/src/lib/event-streams.ts +46 -21
- package/packages/mistralai-gcp/src/lib/files.ts +0 -1
- package/packages/mistralai-gcp/src/lib/http.ts +3 -2
- package/packages/mistralai-gcp/src/lib/logger.ts +0 -1
- package/packages/mistralai-gcp/src/lib/matchers.ts +1 -2
- package/packages/mistralai-gcp/src/lib/primitives.ts +16 -1
- package/packages/mistralai-gcp/src/lib/retries.ts +8 -1
- package/packages/mistralai-gcp/src/lib/schemas.ts +0 -1
- package/packages/mistralai-gcp/src/lib/sdks.ts +54 -18
- package/packages/mistralai-gcp/src/lib/security.ts +10 -6
- package/packages/mistralai-gcp/src/lib/url.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/apikeyauth.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/assistantmessage.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/builtinconnectors.ts +1 -1
- package/packages/mistralai-gcp/src/models/components/chatcompletionchoice.ts +12 -1
- package/packages/mistralai-gcp/src/models/components/chatcompletionrequest.ts +28 -40
- package/packages/mistralai-gcp/src/models/components/chatcompletionresponse.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/chatcompletionresponsechoicelogprobs.ts +35 -0
- package/packages/mistralai-gcp/src/models/components/chatcompletionresponsetokenlogprobs.ts +42 -0
- package/packages/mistralai-gcp/src/models/components/chatcompletionresponsetokenlogprobstopk.ts +56 -0
- package/packages/mistralai-gcp/src/models/components/chatcompletionstreamrequest.ts +28 -40
- package/packages/mistralai-gcp/src/models/components/completionchunk.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/completionevent.ts +2 -2
- package/packages/mistralai-gcp/src/models/components/completionresponsestreamchoice.ts +12 -1
- package/packages/mistralai-gcp/src/models/components/contentchunk.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/customconnector.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/deltamessage.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/documentlibrarytool.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/fimcompletionrequest.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/fimcompletionresponse.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/fimcompletionstreamrequest.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/function.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/functioncall.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/functionname.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/guardrailconfig.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/imagedetail.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/imagegenerationtool.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/imageurl.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/imageurlchunk.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/index.ts +3 -4
- package/packages/mistralai-gcp/src/models/components/jsonschema.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/mistralpromptmode.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/moderationllmaction.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/moderationllmv1categorythresholds.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/moderationllmv1config.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/moderationllmv2categorythresholds.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/moderationllmv2config.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/oauth2tokenauth.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/prediction.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/reasoningeffort.ts +5 -1
- package/packages/mistralai-gcp/src/models/components/referencechunk.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/responseformat.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/responseformats.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/security.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/systemmessage.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/systemmessagecontentchunks.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/textchunk.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/thinkchunk.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/tool.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/toolcall.ts +3 -4
- package/packages/mistralai-gcp/src/models/components/toolchoice.ts +2 -3
- package/packages/mistralai-gcp/src/models/components/toolchoiceenum.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/toolconfiguration.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/toolmessage.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/toolreferencechunk.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/usageinfo.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/usermessage.ts +0 -1
- package/packages/mistralai-gcp/src/models/components/validationerror.ts +0 -1
- package/packages/mistralai-gcp/src/models/errors/httpclienterrors.ts +0 -1
- package/packages/mistralai-gcp/src/models/errors/httpvalidationerror.ts +0 -1
- package/packages/mistralai-gcp/src/models/errors/index.ts +0 -1
- package/packages/mistralai-gcp/src/models/errors/mistralgcperror.ts +0 -1
- package/packages/mistralai-gcp/src/models/errors/responsevalidationerror.ts +0 -1
- package/packages/mistralai-gcp/src/models/errors/sdkerror.ts +0 -1
- package/packages/mistralai-gcp/src/models/errors/sdkvalidationerror.ts +0 -1
- package/packages/mistralai-gcp/src/sdk/chat.ts +0 -1
- package/packages/mistralai-gcp/src/sdk/fim.ts +0 -1
- package/packages/mistralai-gcp/src/sdk/index.ts +0 -1
- package/packages/mistralai-gcp/src/types/async.ts +0 -1
- package/packages/mistralai-gcp/src/types/blobs.ts +0 -1
- package/packages/mistralai-gcp/src/types/constdatetime.ts +0 -1
- package/packages/mistralai-gcp/src/types/discriminatedUnion.ts +0 -1
- package/packages/mistralai-gcp/src/types/enums.ts +0 -1
- package/packages/mistralai-gcp/src/types/fp.ts +0 -1
- package/packages/mistralai-gcp/src/types/index.ts +0 -1
- package/packages/mistralai-gcp/src/types/operations.ts +0 -1
- package/packages/mistralai-gcp/src/types/rfcdate.ts +0 -1
- package/packages/mistralai-gcp/src/types/smartUnion.ts +0 -1
- package/packages/mistralai-gcp/src/types/streams.ts +0 -1
- package/packages/mistralai-gcp/src/types/unrecognized.ts +0 -1
- package/src/extra/realtime/connection.ts +88 -13
- package/src/extra/realtime/errors.ts +32 -0
- package/src/extra/realtime/index.ts +42 -1
- package/src/extra/realtime/speech.ts +646 -0
- package/src/extra/realtime/transcription.ts +22 -9
- package/src/extra/workflows/encoding/payload-encoder.ts +2 -1
- package/src/extra/workflows/encoding/python-json.ts +34 -8
- package/src/funcs/{betaRagManagedIndexesCreate.ts → betaContextSearchIndexesCreate.ts} +2 -2
- package/src/funcs/{betaRagManagedIndexesDelete.ts → betaContextSearchIndexesDelete.ts} +1 -1
- package/src/funcs/{betaRagManagedIndexesDeleteDocuments.ts → betaContextSearchIndexesDeleteDocuments.ts} +1 -1
- package/src/funcs/{betaRagManagedIndexesGenerateIndexSummary.ts → betaContextSearchIndexesGenerateIndexSummary.ts} +1 -1
- package/src/funcs/{betaRagManagedIndexesGet.ts → betaContextSearchIndexesGet.ts} +1 -1
- package/src/funcs/{betaRagManagedIndexesGetChunk.ts → betaContextSearchIndexesGetChunk.ts} +1 -1
- package/src/funcs/{betaRagManagedIndexesGetIndexSummary.ts → betaContextSearchIndexesGetIndexSummary.ts} +1 -1
- package/src/funcs/{betaRagManagedIndexesGrep.ts → betaContextSearchIndexesGrep.ts} +1 -1
- package/src/funcs/{betaRagManagedIndexesIngestDocuments.ts → betaContextSearchIndexesIngestDocuments.ts} +1 -1
- package/src/funcs/{betaRagManagedIndexesList.ts → betaContextSearchIndexesList.ts} +2 -2
- package/src/funcs/{betaRagManagedIndexesNavigate.ts → betaContextSearchIndexesNavigate.ts} +1 -1
- package/src/funcs/{betaRagManagedIndexesRead.ts → betaContextSearchIndexesRead.ts} +1 -1
- package/src/funcs/{betaRagManagedIndexesSearch.ts → betaContextSearchIndexesSearch.ts} +1 -1
- package/src/funcs/{betaRagManagedIndexesSetIndexSummary.ts → betaContextSearchIndexesSetIndexSummary.ts} +1 -1
- package/src/funcs/{betaRagManagedIndexesUpdate.ts → betaContextSearchIndexesUpdate.ts} +1 -1
- package/src/funcs/betaTriggersCreate.ts +168 -0
- package/src/funcs/betaTriggersDelete.ts +176 -0
- package/src/funcs/betaTriggersGet.ts +177 -0
- package/src/funcs/betaTriggersList.ts +178 -0
- package/src/funcs/betaTriggersListEvents.ts +182 -0
- package/src/funcs/betaWebhooksCreate.ts +168 -0
- package/src/funcs/betaWebhooksDelete.ts +176 -0
- package/src/funcs/betaWebhooksGet.ts +177 -0
- package/src/funcs/betaWebhooksGetSigningSecret.ts +182 -0
- package/src/funcs/betaWebhooksList.ts +142 -0
- package/src/funcs/workflowsAddWorkflowTags.ts +186 -0
- package/src/funcs/workflowsDeploymentsGetDeploymentArchive.ts +188 -0
- package/src/lib/config.ts +2 -2
- package/src/models/components/connectionpreference.ts +15 -5
- package/src/models/components/connectoropenapispec.ts +37 -0
- package/src/models/components/createtrigger.ts +69 -0
- package/src/models/components/createtriggeraction.ts +45 -0
- package/src/models/components/createwebhook.ts +121 -0
- package/src/models/components/deploymentarchiveresponse.ts +47 -0
- package/src/models/components/deploymentworkerspecinput.ts +20 -3
- package/src/models/components/deploymentworkerspecresponse.ts +12 -0
- package/src/models/components/getlog.ts +3 -0
- package/src/models/components/getspan.ts +3 -0
- package/src/models/components/getspanevaluation.ts +3 -0
- package/src/models/components/gettrace.ts +3 -0
- package/src/models/components/httpconnector.ts +10 -0
- package/src/models/components/index.ts +33 -5
- package/src/models/components/observabilityerrorcode.ts +2 -0
- package/src/models/components/openapifilesource.ts +35 -0
- package/src/models/components/openapispecsource.ts +42 -0
- package/src/models/components/openapiurlsource.ts +35 -0
- package/src/models/components/realtimespeecherror.ts +59 -0
- package/src/models/components/realtimespeecherrordetail.ts +100 -0
- package/src/models/components/realtimespeechinputtextappend.ts +55 -0
- package/src/models/components/realtimespeechinputtextend.ts +49 -0
- package/src/models/components/realtimespeechinputtextflush.ts +55 -0
- package/src/models/components/realtimespeechsession.ts +98 -0
- package/src/models/components/realtimespeechsessioncreated.ts +61 -0
- package/src/models/components/realtimespeechsessionupdated.ts +61 -0
- package/src/models/components/realtimespeechsessionupdatemessage.ts +62 -0
- package/src/models/components/realtimespeechsessionupdatepayload.ts +108 -0
- package/src/models/components/realtimespeechstreamingmode.ts +23 -0
- package/src/models/components/speechoutputformat.ts +5 -1
- package/src/models/components/speechstreamaudiodelta.ts +25 -0
- package/src/models/components/speechstreamdone.ts +28 -5
- package/src/models/components/systemv2.ts +4 -0
- package/src/models/components/trigger.ts +67 -0
- package/src/models/components/triggeraction.ts +39 -0
- package/src/models/components/triggeractiontype.ts +26 -0
- package/src/models/components/triggerevent.ts +62 -0
- package/src/models/components/triggereventlist.ts +31 -0
- package/src/models/components/triggerhandler.ts +21 -0
- package/src/models/components/triggersownertype.ts +24 -0
- package/src/models/components/triggerstatusvalue.ts +21 -0
- package/src/models/components/voicecreaterequest.ts +3 -5
- package/src/models/components/voiceupdaterequest.ts +3 -2
- package/src/models/components/webhook.ts +111 -0
- package/src/models/components/webhookprovider.ts +30 -0
- package/src/models/components/webhooksignatureencoding.ts +26 -0
- package/src/models/components/webhooksignaturehashalgorithm.ts +26 -0
- package/src/models/components/webhooksigningsecret.ts +38 -0
- package/src/models/components/workflowsworkerspecupdate.ts +14 -0
- package/src/models/components/workflowtagsaddrequest.ts +33 -0
- package/src/models/operations/addworkflowtagsv1workflowsworkflowidentifiertagspost.ts +44 -0
- package/src/models/operations/deletetriggerv1triggerstriggeriddelete.ts +39 -0
- package/src/models/operations/deletewebhookv1webhookswebhookiddelete.ts +39 -0
- package/src/models/operations/getdeploymentarchivev1workflowsdeploymentsnamearchiveget.ts +34 -0
- package/src/models/operations/gettriggerv1triggerstriggeridget.ts +38 -0
- package/src/models/operations/getwebhooksigningsecretv1webhookswebhookidsigningsecretget.ts +40 -0
- package/src/models/operations/getwebhookv1webhookswebhookidget.ts +38 -0
- package/src/models/operations/index.ts +9 -0
- package/src/models/operations/listtriggereventsv1triggerstriggerideventsget.ts +45 -0
- package/src/models/operations/listtriggersv1triggersget.ts +54 -0
- package/src/models/operations/skillslist.ts +3 -0
- package/src/sdk/beta.ts +18 -0
- package/src/sdk/context.ts +13 -0
- package/src/sdk/{managedindexes.ts → contextsearchindexes.ts} +31 -31
- package/src/sdk/deployments.ts +22 -0
- package/src/sdk/rag.ts +4 -10
- package/src/sdk/{searchindexes.ts → ragsearchindexes.ts} +1 -1
- package/src/sdk/triggers.ts +85 -0
- package/src/sdk/webhooks.ts +84 -0
- package/src/sdk/workflows.ts +16 -0
- package/tests/extra/realtime-speech-ws.test.ts +193 -0
- package/tests/extra/realtime-speech.test.ts +532 -0
- package/tests/extra/realtime.test.ts +217 -0
- package/tests/extra/workflow-encryption.test.ts +2 -2
- package/tests/hooks/workflow-encoding.test.ts +1 -1
- package/esm/funcs/betaRagManagedIndexesCreate.d.ts.map +0 -1
- package/esm/funcs/betaRagManagedIndexesCreate.js.map +0 -1
- package/esm/funcs/betaRagManagedIndexesDelete.js.map +0 -1
- package/esm/funcs/betaRagManagedIndexesDeleteDocuments.d.ts.map +0 -1
- package/esm/funcs/betaRagManagedIndexesDeleteDocuments.js.map +0 -1
- package/esm/funcs/betaRagManagedIndexesGenerateIndexSummary.d.ts.map +0 -1
- package/esm/funcs/betaRagManagedIndexesGenerateIndexSummary.js.map +0 -1
- package/esm/funcs/betaRagManagedIndexesGet.d.ts.map +0 -1
- package/esm/funcs/betaRagManagedIndexesGet.js.map +0 -1
- package/esm/funcs/betaRagManagedIndexesGetChunk.d.ts.map +0 -1
- package/esm/funcs/betaRagManagedIndexesGetChunk.js.map +0 -1
- package/esm/funcs/betaRagManagedIndexesGetIndexSummary.d.ts.map +0 -1
- package/esm/funcs/betaRagManagedIndexesGetIndexSummary.js.map +0 -1
- package/esm/funcs/betaRagManagedIndexesGrep.d.ts.map +0 -1
- package/esm/funcs/betaRagManagedIndexesGrep.js.map +0 -1
- package/esm/funcs/betaRagManagedIndexesIngestDocuments.d.ts.map +0 -1
- package/esm/funcs/betaRagManagedIndexesIngestDocuments.js.map +0 -1
- package/esm/funcs/betaRagManagedIndexesList.d.ts.map +0 -1
- package/esm/funcs/betaRagManagedIndexesList.js.map +0 -1
- package/esm/funcs/betaRagManagedIndexesNavigate.d.ts.map +0 -1
- package/esm/funcs/betaRagManagedIndexesNavigate.js.map +0 -1
- package/esm/funcs/betaRagManagedIndexesRead.d.ts.map +0 -1
- package/esm/funcs/betaRagManagedIndexesRead.js.map +0 -1
- package/esm/funcs/betaRagManagedIndexesSearch.d.ts.map +0 -1
- package/esm/funcs/betaRagManagedIndexesSearch.js.map +0 -1
- package/esm/funcs/betaRagManagedIndexesSetIndexSummary.d.ts.map +0 -1
- package/esm/funcs/betaRagManagedIndexesSetIndexSummary.js.map +0 -1
- package/esm/funcs/betaRagManagedIndexesUpdate.d.ts.map +0 -1
- package/esm/funcs/betaRagManagedIndexesUpdate.js.map +0 -1
- package/esm/models/components/completiontokensdetails.d.ts +0 -19
- package/esm/models/components/completiontokensdetails.d.ts.map +0 -1
- package/esm/models/components/completiontokensdetails.js +0 -18
- package/esm/models/components/completiontokensdetails.js.map +0 -1
- package/esm/models/components/messagetokens.d.ts +0 -18
- package/esm/models/components/messagetokens.d.ts.map +0 -1
- package/esm/models/components/messagetokens.js +0 -26
- package/esm/models/components/messagetokens.js.map +0 -1
- package/esm/models/components/prompttokensdetails.d.ts +0 -16
- package/esm/models/components/prompttokensdetails.d.ts.map +0 -1
- package/esm/models/components/prompttokensdetails.js +0 -22
- package/esm/models/components/prompttokensdetails.js.map +0 -1
- package/esm/models/components/roles.d.ts +0 -12
- package/esm/models/components/roles.d.ts.map +0 -1
- package/esm/models/components/roles.js +0 -14
- package/esm/models/components/roles.js.map +0 -1
- package/esm/models/components/usageinfodollardefs.d.ts +0 -24
- package/esm/models/components/usageinfodollardefs.d.ts.map +0 -1
- package/esm/models/components/usageinfodollardefs.js +0 -41
- package/esm/models/components/usageinfodollardefs.js.map +0 -1
- package/esm/sdk/managedindexes.d.ts.map +0 -1
- package/esm/sdk/managedindexes.js.map +0 -1
- package/esm/sdk/searchindexes.d.ts.map +0 -1
- package/esm/sdk/searchindexes.js.map +0 -1
- package/packages/mistralai-azure/src/lib/dlv.ts +0 -54
- package/packages/mistralai-azure/src/lib/is-plain-object.ts +0 -44
- package/packages/mistralai-azure/src/models/components/codeinterpretertool.ts +0 -44
- package/packages/mistralai-azure/src/models/components/websearchpremiumtool.ts +0 -44
- package/packages/mistralai-azure/src/models/components/websearchtool.ts +0 -40
- package/packages/mistralai-gcp/src/lib/dlv.ts +0 -54
- package/packages/mistralai-gcp/src/lib/is-plain-object.ts +0 -44
- package/packages/mistralai-gcp/src/models/components/codeinterpretertool.ts +0 -44
- package/packages/mistralai-gcp/src/models/components/websearchpremiumtool.ts +0 -44
- package/packages/mistralai-gcp/src/models/components/websearchtool.ts +0 -40
- package/src/models/components/completiontokensdetails.ts +0 -44
- package/src/models/components/messagetokens.ts +0 -47
- package/src/models/components/prompttokensdetails.ts +0 -44
- package/src/models/components/roles.ts +0 -19
- package/src/models/components/usageinfodollardefs.ts +0 -76
|
@@ -8,15 +8,15 @@ import { ConsumerType$inboundSchema } from "./consumertype.js";
|
|
|
8
8
|
import { ToolExecutionConfiguration$inboundSchema, } from "./toolexecutionconfiguration.js";
|
|
9
9
|
/** @internal */
|
|
10
10
|
export const ConnectionPreference$inboundSchema = z.object({
|
|
11
|
-
name: z.string(),
|
|
12
11
|
tool_configuration: ToolExecutionConfiguration$inboundSchema,
|
|
13
|
-
is_default: z.nullable(z.boolean()).optional(),
|
|
14
12
|
consumer_type: z.nullable(ConsumerType$inboundSchema).optional(),
|
|
13
|
+
name: z.string().default("default"),
|
|
14
|
+
is_default: z.nullable(z.boolean()).optional(),
|
|
15
15
|
}).transform((v) => {
|
|
16
16
|
return remap$(v, {
|
|
17
17
|
"tool_configuration": "toolConfiguration",
|
|
18
|
-
"is_default": "isDefault",
|
|
19
18
|
"consumer_type": "consumerType",
|
|
19
|
+
"is_default": "isDefault",
|
|
20
20
|
});
|
|
21
21
|
});
|
|
22
22
|
export function connectionPreferenceFromJSON(jsonString) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectionpreference.js","sourceRoot":"","sources":["../../../src/models/components/connectionpreference.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAAgB,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAEL,wCAAwC,GACzC,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"connectionpreference.js","sourceRoot":"","sources":["../../../src/models/components/connectionpreference.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAAgB,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAEL,wCAAwC,GACzC,MAAM,iCAAiC,CAAC;AAmBzC,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC,GAG3C,CAAC,CAAC,MAAM,CAAC;IACX,kBAAkB,EAAE,wCAAwC;IAC5D,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,0BAA0B,CAAC,CAAC,QAAQ,EAAE;IAChE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC;IACnC,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC/C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAClB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,oBAAoB,EAAE,mBAAmB;QACzC,eAAe,EAAE,cAAc;QAC/B,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEH,MAAM,UAAU,4BAA4B,CAC1C,UAAkB,EACyC;IAC3D,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { OpenApiSpecSource } from "./openapispecsource.js";
|
|
5
|
+
export type ConnectorOpenApiSpec = {
|
|
6
|
+
/**
|
|
7
|
+
* Where the spec came from. Null when unknown, e.g. a file uploaded without a name, or hidden, e.g. on Mistral connectors.
|
|
8
|
+
*/
|
|
9
|
+
source: OpenApiSpecSource | null;
|
|
10
|
+
};
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare const ConnectorOpenApiSpec$inboundSchema: z.ZodType<ConnectorOpenApiSpec, unknown>;
|
|
13
|
+
export declare function connectorOpenApiSpecFromJSON(jsonString: string): SafeParseResult<ConnectorOpenApiSpec, SDKValidationError>;
|
|
14
|
+
//# sourceMappingURL=connectoropenapispec.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectoropenapispec.d.ts","sourceRoot":"","sources":["../../../src/models/components/connectoropenapispec.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,MAAM,EAAE,iBAAiB,GAAG,IAAI,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,OAAO,CAGP,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
6
|
+
import { OpenApiSpecSource$inboundSchema, } from "./openapispecsource.js";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export const ConnectorOpenApiSpec$inboundSchema = z.object({
|
|
9
|
+
source: z.nullable(OpenApiSpecSource$inboundSchema),
|
|
10
|
+
});
|
|
11
|
+
export function connectorOpenApiSpecFromJSON(jsonString) {
|
|
12
|
+
return safeParse(jsonString, (x) => ConnectorOpenApiSpec$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConnectorOpenApiSpec' from JSON`);
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=connectoropenapispec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectoropenapispec.js","sourceRoot":"","sources":["../../../src/models/components/connectoropenapispec.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAEL,+BAA+B,GAChC,MAAM,wBAAwB,CAAC;AAShC,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC,GAG3C,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,+BAA+B,CAAC;CACpD,CAAC,CAAC;AAEH,MAAM,UAAU,4BAA4B,CAC1C,UAAkB,EACyC;IAC3D,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,kCAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { CreateTriggerAction, CreateTriggerAction$Outbound } from "./createtriggeraction.js";
|
|
3
|
+
import { TriggerHandler } from "./triggerhandler.js";
|
|
4
|
+
import { TriggersOwnerType } from "./triggersownertype.js";
|
|
5
|
+
export type CreateTrigger = {
|
|
6
|
+
/**
|
|
7
|
+
* ID of the event source that fires this trigger
|
|
8
|
+
*/
|
|
9
|
+
eventSourceId: string;
|
|
10
|
+
handler: TriggerHandler;
|
|
11
|
+
action: CreateTriggerAction;
|
|
12
|
+
/**
|
|
13
|
+
* jmespath expression to filter events, e.g. event_type == 'push' && repository.name == 'dashboard'
|
|
14
|
+
*/
|
|
15
|
+
filters?: string | null | undefined;
|
|
16
|
+
ownerType: TriggersOwnerType;
|
|
17
|
+
/**
|
|
18
|
+
* Human-readable title of the trigger
|
|
19
|
+
*/
|
|
20
|
+
title: string;
|
|
21
|
+
};
|
|
22
|
+
/** @internal */
|
|
23
|
+
export type CreateTrigger$Outbound = {
|
|
24
|
+
event_source_id: string;
|
|
25
|
+
handler: string;
|
|
26
|
+
action: CreateTriggerAction$Outbound;
|
|
27
|
+
filters?: string | null | undefined;
|
|
28
|
+
owner_type: string;
|
|
29
|
+
title: string;
|
|
30
|
+
};
|
|
31
|
+
/** @internal */
|
|
32
|
+
export declare const CreateTrigger$outboundSchema: z.ZodType<CreateTrigger$Outbound, CreateTrigger>;
|
|
33
|
+
export declare function createTriggerToJSON(createTrigger: CreateTrigger): string;
|
|
34
|
+
//# sourceMappingURL=createtrigger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createtrigger.d.ts","sourceRoot":"","sources":["../../../src/models/components/createtrigger.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EACL,mBAAmB,EACnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,cAAc,CAAC;IACxB,MAAM,EAAE,mBAAmB,CAAC;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,SAAS,EAAE,iBAAiB,CAAC;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,sBAAsB,GAAG;IACnC,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,4BAA4B,CAAC;IACrC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,sBAAsB,EACtB,aAAa,CAab,CAAC;AAEH,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAExE"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
+
import { CreateTriggerAction$outboundSchema, } from "./createtriggeraction.js";
|
|
7
|
+
import { TriggerHandler$outboundSchema, } from "./triggerhandler.js";
|
|
8
|
+
import { TriggersOwnerType$outboundSchema, } from "./triggersownertype.js";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export const CreateTrigger$outboundSchema = z.object({
|
|
11
|
+
eventSourceId: z.string(),
|
|
12
|
+
handler: TriggerHandler$outboundSchema,
|
|
13
|
+
action: CreateTriggerAction$outboundSchema,
|
|
14
|
+
filters: z.nullable(z.string()).optional(),
|
|
15
|
+
ownerType: TriggersOwnerType$outboundSchema,
|
|
16
|
+
title: z.string(),
|
|
17
|
+
}).transform((v) => {
|
|
18
|
+
return remap$(v, {
|
|
19
|
+
eventSourceId: "event_source_id",
|
|
20
|
+
ownerType: "owner_type",
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
export function createTriggerToJSON(createTrigger) {
|
|
24
|
+
return JSON.stringify(CreateTrigger$outboundSchema.parse(createTrigger));
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=createtrigger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createtrigger.js","sourceRoot":"","sources":["../../../src/models/components/createtrigger.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAGL,kCAAkC,GACnC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,6BAA6B,GAC9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,gCAAgC,GACjC,MAAM,wBAAwB,CAAC;AA8BhC,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B,GAGrC,CAAC,CAAC,MAAM,CAAC;IACX,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,OAAO,EAAE,6BAA6B;IACtC,MAAM,EAAE,kCAAkC;IAC1C,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC1C,SAAS,EAAE,gCAAgC;IAC3C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAClB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,aAAa,EAAE,iBAAiB;QAChC,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEH,MAAM,UAAU,mBAAmB,CAAC,aAA4B,EAAU;IACxE,OAAO,IAAI,CAAC,SAAS,CAAC,4BAA4B,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;AAAA,CAC1E"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { TriggerActionType } from "./triggeractiontype.js";
|
|
3
|
+
export type CreateTriggerAction = {
|
|
4
|
+
/**
|
|
5
|
+
* ID of the target primitive (workflow, agent, or app)
|
|
6
|
+
*/
|
|
7
|
+
primitiveId: string;
|
|
8
|
+
type: TriggerActionType;
|
|
9
|
+
};
|
|
10
|
+
/** @internal */
|
|
11
|
+
export type CreateTriggerAction$Outbound = {
|
|
12
|
+
primitive_id: string;
|
|
13
|
+
type: string;
|
|
14
|
+
};
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare const CreateTriggerAction$outboundSchema: z.ZodType<CreateTriggerAction$Outbound, CreateTriggerAction>;
|
|
17
|
+
export declare function createTriggerActionToJSON(createTriggerAction: CreateTriggerAction): string;
|
|
18
|
+
//# sourceMappingURL=createtriggeraction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createtriggeraction.d.ts","sourceRoot":"","sources":["../../../src/models/components/createtriggeraction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAEhC,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,iBAAiB,CAAC;CACzB,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,4BAA4B,GAAG;IACzC,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,mBAAmB,CAQnB,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
+
import { TriggerActionType$outboundSchema, } from "./triggeractiontype.js";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export const CreateTriggerAction$outboundSchema = z.object({
|
|
9
|
+
primitiveId: z.string(),
|
|
10
|
+
type: TriggerActionType$outboundSchema,
|
|
11
|
+
}).transform((v) => {
|
|
12
|
+
return remap$(v, {
|
|
13
|
+
primitiveId: "primitive_id",
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
export function createTriggerActionToJSON(createTriggerAction) {
|
|
17
|
+
return JSON.stringify(CreateTriggerAction$outboundSchema.parse(createTriggerAction));
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=createtriggeraction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createtriggeraction.js","sourceRoot":"","sources":["../../../src/models/components/createtriggeraction.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAEL,gCAAgC,GACjC,MAAM,wBAAwB,CAAC;AAgBhC,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC,GAG3C,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,IAAI,EAAE,gCAAgC;CACvC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAClB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,WAAW,EAAE,cAAc;KAC5B,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEH,MAAM,UAAU,yBAAyB,CACvC,mBAAwC,EAChC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,kCAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { TriggersOwnerType } from "./triggersownertype.js";
|
|
3
|
+
import { WebhookProvider } from "./webhookprovider.js";
|
|
4
|
+
import { WebhookSignatureEncoding } from "./webhooksignatureencoding.js";
|
|
5
|
+
import { WebhookSignatureHashAlgorithm } from "./webhooksignaturehashalgorithm.js";
|
|
6
|
+
export type CreateWebhook = {
|
|
7
|
+
provider: WebhookProvider;
|
|
8
|
+
ownerType?: TriggersOwnerType | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* Human-readable name for this webhook
|
|
11
|
+
*/
|
|
12
|
+
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* Signing secret provided by the third-party provider
|
|
15
|
+
*/
|
|
16
|
+
secret?: string | null | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Encryption key used to decrypt webhook payloads
|
|
19
|
+
*/
|
|
20
|
+
encryptionKey?: string | null | undefined;
|
|
21
|
+
expiresAt?: Date | null | undefined;
|
|
22
|
+
signatureHashAlgorithm?: WebhookSignatureHashAlgorithm | null | undefined;
|
|
23
|
+
signatureHeaderName?: string | null | undefined;
|
|
24
|
+
validityPeriodSecond?: number | null | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Regex to extract signature, eg sha256=(.*)
|
|
27
|
+
*/
|
|
28
|
+
signatureExtractorRegex?: string | null | undefined;
|
|
29
|
+
timestampExtractorRegex?: string | null | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Pattern for signature payload, eg {body} or {timestamp}.{body}
|
|
32
|
+
*/
|
|
33
|
+
signaturePayloadPattern?: string | null | undefined;
|
|
34
|
+
signatureEncoding?: WebhookSignatureEncoding | null | undefined;
|
|
35
|
+
successStatusCode?: number | null | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Path to extract event type, eg body.type or headers.X-GitHub-Event
|
|
38
|
+
*/
|
|
39
|
+
eventTypePath?: string | null | undefined;
|
|
40
|
+
};
|
|
41
|
+
/** @internal */
|
|
42
|
+
export type CreateWebhook$Outbound = {
|
|
43
|
+
provider: string;
|
|
44
|
+
owner_type?: string | undefined;
|
|
45
|
+
name: string;
|
|
46
|
+
secret?: string | null | undefined;
|
|
47
|
+
encryption_key?: string | null | undefined;
|
|
48
|
+
expires_at?: string | null | undefined;
|
|
49
|
+
signature_hash_algorithm?: string | null | undefined;
|
|
50
|
+
signature_header_name?: string | null | undefined;
|
|
51
|
+
validity_period_second?: number | null | undefined;
|
|
52
|
+
signature_extractor_regex?: string | null | undefined;
|
|
53
|
+
timestamp_extractor_regex?: string | null | undefined;
|
|
54
|
+
signature_payload_pattern?: string | null | undefined;
|
|
55
|
+
signature_encoding?: string | null | undefined;
|
|
56
|
+
success_status_code?: number | null | undefined;
|
|
57
|
+
event_type_path?: string | null | undefined;
|
|
58
|
+
};
|
|
59
|
+
/** @internal */
|
|
60
|
+
export declare const CreateWebhook$outboundSchema: z.ZodType<CreateWebhook$Outbound, CreateWebhook>;
|
|
61
|
+
export declare function createWebhookToJSON(createWebhook: CreateWebhook): string;
|
|
62
|
+
//# sourceMappingURL=createwebhook.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createwebhook.d.ts","sourceRoot":"","sources":["../../../src/models/components/createwebhook.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,eAAe,EAEhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,6BAA6B,EAE9B,MAAM,oCAAoC,CAAC;AAE5C,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,eAAe,CAAC;IAC1B,SAAS,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,sBAAsB,CAAC,EAAE,6BAA6B,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1E,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjD;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpD,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpD;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;I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EH,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAExE"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
+
import { TriggersOwnerType$outboundSchema, } from "./triggersownertype.js";
|
|
7
|
+
import { WebhookProvider$outboundSchema, } from "./webhookprovider.js";
|
|
8
|
+
import { WebhookSignatureEncoding$outboundSchema, } from "./webhooksignatureencoding.js";
|
|
9
|
+
import { WebhookSignatureHashAlgorithm$outboundSchema, } from "./webhooksignaturehashalgorithm.js";
|
|
10
|
+
/** @internal */
|
|
11
|
+
export const CreateWebhook$outboundSchema = z.object({
|
|
12
|
+
provider: WebhookProvider$outboundSchema,
|
|
13
|
+
ownerType: TriggersOwnerType$outboundSchema.optional(),
|
|
14
|
+
name: z.string(),
|
|
15
|
+
secret: z.nullable(z.string()).optional(),
|
|
16
|
+
encryptionKey: z.nullable(z.string()).optional(),
|
|
17
|
+
expiresAt: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
18
|
+
signatureHashAlgorithm: z.nullable(WebhookSignatureHashAlgorithm$outboundSchema).optional(),
|
|
19
|
+
signatureHeaderName: z.nullable(z.string()).optional(),
|
|
20
|
+
validityPeriodSecond: z.nullable(z.int()).optional(),
|
|
21
|
+
signatureExtractorRegex: z.nullable(z.string()).optional(),
|
|
22
|
+
timestampExtractorRegex: z.nullable(z.string()).optional(),
|
|
23
|
+
signaturePayloadPattern: z.nullable(z.string()).optional(),
|
|
24
|
+
signatureEncoding: z.nullable(WebhookSignatureEncoding$outboundSchema)
|
|
25
|
+
.optional(),
|
|
26
|
+
successStatusCode: z.nullable(z.int()).optional(),
|
|
27
|
+
eventTypePath: z.nullable(z.string()).optional(),
|
|
28
|
+
}).transform((v) => {
|
|
29
|
+
return remap$(v, {
|
|
30
|
+
ownerType: "owner_type",
|
|
31
|
+
encryptionKey: "encryption_key",
|
|
32
|
+
expiresAt: "expires_at",
|
|
33
|
+
signatureHashAlgorithm: "signature_hash_algorithm",
|
|
34
|
+
signatureHeaderName: "signature_header_name",
|
|
35
|
+
validityPeriodSecond: "validity_period_second",
|
|
36
|
+
signatureExtractorRegex: "signature_extractor_regex",
|
|
37
|
+
timestampExtractorRegex: "timestamp_extractor_regex",
|
|
38
|
+
signaturePayloadPattern: "signature_payload_pattern",
|
|
39
|
+
signatureEncoding: "signature_encoding",
|
|
40
|
+
successStatusCode: "success_status_code",
|
|
41
|
+
eventTypePath: "event_type_path",
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
export function createWebhookToJSON(createWebhook) {
|
|
45
|
+
return JSON.stringify(CreateWebhook$outboundSchema.parse(createWebhook));
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=createwebhook.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createwebhook.js","sourceRoot":"","sources":["../../../src/models/components/createwebhook.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAEL,gCAAgC,GACjC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,uCAAuC,GACxC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,4CAA4C,GAC7C,MAAM,oCAAoC,CAAC;AAyD5C,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B,GAGrC,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,8BAA8B;IACxC,SAAS,EAAE,gCAAgC,CAAC,QAAQ,EAAE;IACtD,IAAI,EAAE,CAAC,CAAC,MAAM,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AAE,CAAC;IAClB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;QACvB,aAAa,EAAE,gBAAgB;QAC/B,SAAS,EAAE,YAAY;QACvB,sBAAsB,EAAE,0BAA0B;QAClD,mBAAmB,EAAE,uBAAuB;QAC5C,oBAAoB,EAAE,wBAAwB;QAC9C,uBAAuB,EAAE,2BAA2B;QACpD,uBAAuB,EAAE,2BAA2B;QACpD,uBAAuB,EAAE,2BAA2B;QACpD,iBAAiB,EAAE,oBAAoB;QACvC,iBAAiB,EAAE,qBAAqB;QACxC,aAAa,EAAE,iBAAiB;KACjC,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEH,MAAM,UAAU,mBAAmB,CAAC,aAA4B,EAAU;IACxE,OAAO,IAAI,CAAC,SAAS,CAAC,4BAA4B,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;AAAA,CAC1E"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
/**
|
|
5
|
+
* The archive a managed deployment builds from, with a signed URL to download it.
|
|
6
|
+
*/
|
|
7
|
+
export type DeploymentArchiveResponse = {
|
|
8
|
+
/**
|
|
9
|
+
* Mistral Cloud archive the worker builds from
|
|
10
|
+
*/
|
|
11
|
+
archiveId: string;
|
|
12
|
+
/**
|
|
13
|
+
* A signed URL to download the archive, which expires within 24 hours. Null once Mistral Cloud has deleted the archive.
|
|
14
|
+
*/
|
|
15
|
+
downloadUrl?: string | null | undefined;
|
|
16
|
+
};
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const DeploymentArchiveResponse$inboundSchema: z.ZodType<DeploymentArchiveResponse, unknown>;
|
|
19
|
+
export declare function deploymentArchiveResponseFromJSON(jsonString: string): SafeParseResult<DeploymentArchiveResponse, SDKValidationError>;
|
|
20
|
+
//# sourceMappingURL=deploymentarchiveresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deploymentarchiveresponse.d.ts","sourceRoot":"","sources":["../../../src/models/components/deploymentarchiveresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,OAAO,CASP,CAAC;AAEH,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export const DeploymentArchiveResponse$inboundSchema = z.object({
|
|
9
|
+
archive_id: z.string(),
|
|
10
|
+
download_url: z.nullable(z.string()).optional(),
|
|
11
|
+
}).transform((v) => {
|
|
12
|
+
return remap$(v, {
|
|
13
|
+
"archive_id": "archiveId",
|
|
14
|
+
"download_url": "downloadUrl",
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
export function deploymentArchiveResponseFromJSON(jsonString) {
|
|
18
|
+
return safeParse(jsonString, (x) => DeploymentArchiveResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeploymentArchiveResponse' from JSON`);
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=deploymentarchiveresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deploymentarchiveresponse.js","sourceRoot":"","sources":["../../../src/models/components/deploymentarchiveresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAkBjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,uCAAuC,GAGhD,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,YAAY,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAClB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,YAAY,EAAE,WAAW;QACzB,cAAc,EAAE,aAAa;KAC9B,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEH,MAAM,UAAU,iCAAiC,CAC/C,UAAkB,EAC8C;IAChE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AAAA,CACH"}
|
|
@@ -1,18 +1,31 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
2
|
import { DeploymentMistralCloudBackendSpec, DeploymentMistralCloudBackendSpec$Outbound } from "./deploymentmistralcloudbackendspec.js";
|
|
3
3
|
export type DeploymentWorkerSpecInput = {
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
* GitHub repository to build the worker from. Set this or 'archive_id', not both.
|
|
6
|
+
*/
|
|
7
|
+
githubUrl?: string | null | undefined;
|
|
5
8
|
revision?: string | null | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* Mistral Cloud archive to build the worker from instead of a repository. The archive is the whole build context: 'dockerfile_path' is relative to its root, and 'build_directory' must be unset.
|
|
11
|
+
*/
|
|
12
|
+
archiveId?: string | null | undefined;
|
|
6
13
|
/**
|
|
7
14
|
* Backend-specific configuration for the Mistral Cloud backend.
|
|
8
15
|
*/
|
|
9
16
|
backendSpec?: DeploymentMistralCloudBackendSpec | null | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Workspace roles, by name, that the deployment's service account holds beyond `workflow_executor`. Granted only if the deploying user holds them.
|
|
19
|
+
*/
|
|
20
|
+
requestedRoles?: Array<string> | null | undefined;
|
|
10
21
|
};
|
|
11
22
|
/** @internal */
|
|
12
23
|
export type DeploymentWorkerSpecInput$Outbound = {
|
|
13
|
-
github_url
|
|
24
|
+
github_url?: string | null | undefined;
|
|
14
25
|
revision?: string | null | undefined;
|
|
26
|
+
archive_id?: string | null | undefined;
|
|
15
27
|
backend_spec?: DeploymentMistralCloudBackendSpec$Outbound | null | undefined;
|
|
28
|
+
requested_roles?: Array<string> | null | undefined;
|
|
16
29
|
};
|
|
17
30
|
/** @internal */
|
|
18
31
|
export declare const DeploymentWorkerSpecInput$outboundSchema: z.ZodType<DeploymentWorkerSpecInput$Outbound, DeploymentWorkerSpecInput>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploymentworkerspecinput.d.ts","sourceRoot":"","sources":["../../../src/models/components/deploymentworkerspecinput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EACL,iCAAiC,EACjC,0CAA0C,EAE3C,MAAM,wCAAwC,CAAC;AAEhD,MAAM,MAAM,yBAAyB,GAAG;IACtC,SAAS,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"deploymentworkerspecinput.d.ts","sourceRoot":"","sources":["../../../src/models/components/deploymentworkerspecinput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EACL,iCAAiC,EACjC,0CAA0C,EAE3C,MAAM,wCAAwC,CAAC;AAEhD,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,WAAW,CAAC,EAAE,iCAAiC,GAAG,IAAI,GAAG,SAAS,CAAC;IACnE;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;CACnD,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,YAAY,CAAC,EAAE,0CAA0C,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7E,eAAe,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;CACpD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,yBAAyB,CAezB,CAAC;AAEH,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR"}
|
|
@@ -6,14 +6,18 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
6
6
|
import { DeploymentMistralCloudBackendSpec$outboundSchema, } from "./deploymentmistralcloudbackendspec.js";
|
|
7
7
|
/** @internal */
|
|
8
8
|
export const DeploymentWorkerSpecInput$outboundSchema = z.object({
|
|
9
|
-
githubUrl: z.string(),
|
|
9
|
+
githubUrl: z.nullable(z.string()).optional(),
|
|
10
10
|
revision: z.nullable(z.string()).optional(),
|
|
11
|
+
archiveId: z.nullable(z.string()).optional(),
|
|
11
12
|
backendSpec: z.nullable(DeploymentMistralCloudBackendSpec$outboundSchema)
|
|
12
13
|
.optional(),
|
|
14
|
+
requestedRoles: z.nullable(z.array(z.string())).optional(),
|
|
13
15
|
}).transform((v) => {
|
|
14
16
|
return remap$(v, {
|
|
15
17
|
githubUrl: "github_url",
|
|
18
|
+
archiveId: "archive_id",
|
|
16
19
|
backendSpec: "backend_spec",
|
|
20
|
+
requestedRoles: "requested_roles",
|
|
17
21
|
});
|
|
18
22
|
});
|
|
19
23
|
export function deploymentWorkerSpecInputToJSON(deploymentWorkerSpecInput) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploymentworkerspecinput.js","sourceRoot":"","sources":["../../../src/models/components/deploymentworkerspecinput.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAGL,gDAAgD,GACjD,MAAM,wCAAwC,CAAC;
|
|
1
|
+
{"version":3,"file":"deploymentworkerspecinput.js","sourceRoot":"","sources":["../../../src/models/components/deploymentworkerspecinput.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAGL,gDAAgD,GACjD,MAAM,wCAAwC,CAAC;AA+BhD,gBAAgB;AAChB,MAAM,CAAC,MAAM,wCAAwC,GAGjD,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC5C,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3C,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC5C,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,gDAAgD,CAAC;SACtE,QAAQ,EAAE;IACb,cAAc,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;CAC3D,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAClB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;QACvB,SAAS,EAAE,YAAY;QACvB,WAAW,EAAE,cAAc;QAC3B,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEH,MAAM,UAAU,+BAA+B,CAC7C,yBAAoD,EAC5C;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AAAA,CACH"}
|
|
@@ -14,9 +14,16 @@ export type BackendSpec = (DeploymentMistralCloudBackendSpec & {
|
|
|
14
14
|
type: "mistral_cloud";
|
|
15
15
|
}) | discriminatedUnionTypes.Unknown<"type">;
|
|
16
16
|
export type DeploymentWorkerSpecResponse = {
|
|
17
|
+
/**
|
|
18
|
+
* GitHub repository the worker builds from. Empty for a worker built from an archive.
|
|
19
|
+
*/
|
|
17
20
|
githubUrl: string;
|
|
18
21
|
type: string;
|
|
19
22
|
revision?: string | null | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Archive the worker builds from, if any.
|
|
25
|
+
*/
|
|
26
|
+
archiveId?: string | null | undefined;
|
|
20
27
|
/**
|
|
21
28
|
* Backend-specific configuration. 'mistral_cloud' is Mistral Cloud; 'kubernetes' is a deployment that already runs on Kubernetes.
|
|
22
29
|
*/
|
|
@@ -27,6 +34,7 @@ export type DeploymentWorkerSpecResponse = {
|
|
|
27
34
|
}) | discriminatedUnionTypes.Unknown<"type">;
|
|
28
35
|
restartedAt?: string | null | undefined;
|
|
29
36
|
commit?: GitCommitMetadata | null | undefined;
|
|
37
|
+
requestedRoles?: Array<string> | null | undefined;
|
|
30
38
|
};
|
|
31
39
|
/** @internal */
|
|
32
40
|
export declare const BackendSpec$inboundSchema: z.ZodType<BackendSpec, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploymentworkerspecresponse.d.ts","sourceRoot":"","sources":["../../../src/models/components/deploymentworkerspecresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,KAAK,uBAAuB,MAAM,mCAAmC,CAAC;AAE7E,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,iCAAiC,EAElC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,MAAM,MAAM,WAAW,GACnB,CAAC,iCAAiC,GAAG;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,CAAC,GACvD,wBAAwB,GACxB,CAAC,iCAAiC,GAAG;IAAE,IAAI,EAAE,eAAe,CAAA;CAAE,CAAC,GAC/D,uBAAuB,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;AAE5C,MAAM,MAAM,4BAA4B,GAAG;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,WAAW,EACP,CAAC,iCAAiC,GAAG;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,CAAC,GACvD,wBAAwB,GACxB,CAAC,iCAAiC,GAAG;QAAE,IAAI,EAAE,eAAe,CAAA;KAAE,CAAC,GAC/D,uBAAuB,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IAC5C,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,MAAM,CAAC,EAAE,iBAAiB,GAAG,IAAI,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"deploymentworkerspecresponse.d.ts","sourceRoot":"","sources":["../../../src/models/components/deploymentworkerspecresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,KAAK,uBAAuB,MAAM,mCAAmC,CAAC;AAE7E,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,iCAAiC,EAElC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAEhC;;GAEG;AACH,MAAM,MAAM,WAAW,GACnB,CAAC,iCAAiC,GAAG;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,CAAC,GACvD,wBAAwB,GACxB,CAAC,iCAAiC,GAAG;IAAE,IAAI,EAAE,eAAe,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github_url: z.string(),
|
|
23
23
|
type: z.string().default("workflows_worker"),
|
|
24
24
|
revision: z.nullable(z.string()).optional(),
|
|
25
|
+
archive_id: z.nullable(z.string()).optional(),
|
|
25
26
|
backend_spec: discriminatedUnion("type", {
|
|
26
27
|
koyeb: DeploymentMistralCloudBackendSpec$inboundSchema.and(z.object({ type: z.literal("koyeb") })),
|
|
27
28
|
kubernetes: DeploymentK8sBackendSpec$inboundSchema,
|
|
@@ -29,11 +30,14 @@ export const DeploymentWorkerSpecResponse$inboundSchema = z.object({
|
|
|
29
30
|
}),
|
|
30
31
|
restarted_at: z.nullable(z.string()).optional(),
|
|
31
32
|
commit: z.nullable(GitCommitMetadata$inboundSchema).optional(),
|
|
33
|
+
requested_roles: z.nullable(z.array(z.string())).optional(),
|
|
32
34
|
}).transform((v) => {
|
|
33
35
|
return remap$(v, {
|
|
34
36
|
"github_url": "githubUrl",
|
|
37
|
+
"archive_id": "archiveId",
|
|
35
38
|
"backend_spec": "backendSpec",
|
|
36
39
|
"restarted_at": "restartedAt",
|
|
40
|
+
"requested_roles": "requestedRoles",
|
|
37
41
|
});
|
|
38
42
|
});
|
|
39
43
|
export function deploymentWorkerSpecResponseFromJSON(jsonString) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploymentworkerspecresponse.js","sourceRoot":"","sources":["../../../src/models/components/deploymentworkerspecresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAGvE,OAAO,EAEL,sCAAsC,GACvC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,+CAA+C,GAChD,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAEL,+BAA+B,GAChC,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"deploymentworkerspecresponse.js","sourceRoot":"","sources":["../../../src/models/components/deploymentworkerspecresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAGvE,OAAO,EAEL,sCAAsC,GACvC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,+CAA+C,GAChD,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAEL,+BAA+B,GAChC,MAAM,wBAAwB,CAAC;AAmChC,gBAAgB;AAChB,MAAM,CAAC,MAAM,yBAAyB,GACpC,kBAAkB,CAAC,MAAM,EAAE;IACzB,KAAK,EAAE,+CAA+C,CAAC,GAAG,CACxD,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,CACvC;IACD,UAAU,EAAE,sCAAsC;IAClD,aAAa,EAAE,+CAA+C,CAAC,GAAG,CAChE,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,EAAE,CAAC,CAC/C;CACF,CAAC,CAAC;AAEL,MAAM,UAAU,mBAAmB,CACjC,UAAkB,EACgC;IAClD,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yBAAyB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrD,yCAAyC,CAC1C,CAAC;AAAA,CACH;AAED,gBAAgB;AAChB,MAAM,CAAC,MAAM,0CAA0C,GAGnD,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EA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AE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CA4C1D,CAAC;AAEH,wBAAgB,cAAc,CAC5B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAM7C"}
|
|
@@ -10,6 +10,7 @@ export const GetLog$inboundSchema = z.object({
|
|
|
10
10
|
organization_id: z.string(),
|
|
11
11
|
workspace_id: z.string(),
|
|
12
12
|
user_id: z.string(),
|
|
13
|
+
service_account_id: z.string().default(""),
|
|
13
14
|
timestamp: z.iso.datetime({ offset: true }).transform(v => new Date(v)),
|
|
14
15
|
trace_id: z.string(),
|
|
15
16
|
span_id: z.string(),
|
|
@@ -32,6 +33,7 @@ export const GetLog$inboundSchema = z.object({
|
|
|
32
33
|
"organization_id": "organizationId",
|
|
33
34
|
"workspace_id": "workspaceId",
|
|
34
35
|
"user_id": "userId",
|
|
36
|
+
"service_account_id": "serviceAccountId",
|
|
35
37
|
"trace_id": "traceId",
|
|
36
38
|
"span_id": "spanId",
|
|
37
39
|
"trace_flags": "traceFlags",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getlog.js","sourceRoot":"","sources":["../../../src/models/components/getlog.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"getlog.js","sourceRoot":"","sources":["../../../src/models/components/getlog.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AA4BjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,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B,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,iBAAiB,EACjB,OAAO,CACqC,CAAC;AAE/C,gBAAgB;AAChB,eAAO,MAAM,qBAAqB,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CA4H5D,CAAC;AAEH,wBAAgB,eAAe,CAC7B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAM9C"}
|
|
@@ -18,6 +18,7 @@ export const GetSpan$inboundSchema = z.object({
|
|
|
18
18
|
organization_id: z.string(),
|
|
19
19
|
workspace_id: z.string(),
|
|
20
20
|
user_id: z.string(),
|
|
21
|
+
service_account_id: z.string().default(""),
|
|
21
22
|
trace_id: z.string(),
|
|
22
23
|
span_id: z.string(),
|
|
23
24
|
parent_span_id: z.string(),
|
|
@@ -79,6 +80,7 @@ export const GetSpan$inboundSchema = z.object({
|
|
|
79
80
|
"organization_id": "organizationId",
|
|
80
81
|
"workspace_id": "workspaceId",
|
|
81
82
|
"user_id": "userId",
|
|
83
|
+
"service_account_id": "serviceAccountId",
|
|
82
84
|
"trace_id": "traceId",
|
|
83
85
|
"span_id": "spanId",
|
|
84
86
|
"parent_span_id": "parentSpanId",
|