@mistralai/mistralai 2.6.1 → 2.6.3
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 +11 -2
- package/esm/funcs/betaUsersListOrganizations.d.ts +23 -0
- package/esm/funcs/betaUsersListOrganizations.d.ts.map +1 -0
- package/esm/funcs/betaUsersListOrganizations.js +128 -0
- package/esm/funcs/betaUsersListOrganizations.js.map +1 -0
- package/esm/funcs/betaUsersListWorkspaces.d.ts +21 -0
- package/esm/funcs/betaUsersListWorkspaces.d.ts.map +1 -0
- package/esm/funcs/betaUsersListWorkspaces.js +126 -0
- package/esm/funcs/betaUsersListWorkspaces.js.map +1 -0
- package/esm/funcs/realtimeSessionsCreate.d.ts +16 -0
- package/esm/funcs/realtimeSessionsCreate.d.ts.map +1 -0
- package/esm/funcs/realtimeSessionsCreate.js +82 -0
- package/esm/funcs/realtimeSessionsCreate.js.map +1 -0
- package/esm/funcs/workflowsDeploymentsGetDeployment.js +5 -1
- package/esm/funcs/workflowsDeploymentsGetDeployment.js.map +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/components/activitytaskcompletedresponse.d.ts +12 -0
- package/esm/models/components/activitytaskcompletedresponse.d.ts.map +1 -1
- package/esm/models/components/activitytaskcompletedresponse.js +6 -0
- package/esm/models/components/activitytaskcompletedresponse.js.map +1 -1
- package/esm/models/components/activitytaskfailedresponse.d.ts +12 -0
- package/esm/models/components/activitytaskfailedresponse.d.ts.map +1 -1
- package/esm/models/components/activitytaskfailedresponse.js +6 -0
- package/esm/models/components/activitytaskfailedresponse.js.map +1 -1
- package/esm/models/components/activitytaskretryingresponse.d.ts +12 -0
- package/esm/models/components/activitytaskretryingresponse.d.ts.map +1 -1
- package/esm/models/components/activitytaskretryingresponse.js +6 -0
- package/esm/models/components/activitytaskretryingresponse.js.map +1 -1
- package/esm/models/components/activitytaskstartedresponse.d.ts +12 -0
- package/esm/models/components/activitytaskstartedresponse.d.ts.map +1 -1
- package/esm/models/components/activitytaskstartedresponse.js +6 -0
- package/esm/models/components/activitytaskstartedresponse.js.map +1 -1
- package/esm/models/components/agentscompletionrequest.d.ts +6 -0
- package/esm/models/components/agentscompletionrequest.d.ts.map +1 -1
- package/esm/models/components/agentscompletionrequest.js +3 -0
- package/esm/models/components/agentscompletionrequest.js.map +1 -1
- package/esm/models/components/agentscompletionstreamrequest.d.ts +6 -0
- package/esm/models/components/agentscompletionstreamrequest.d.ts.map +1 -1
- package/esm/models/components/agentscompletionstreamrequest.js +3 -0
- package/esm/models/components/agentscompletionstreamrequest.js.map +1 -1
- package/esm/models/components/authdirection.d.ts +10 -0
- package/esm/models/components/authdirection.d.ts.map +1 -0
- package/esm/models/components/authdirection.js +13 -0
- package/esm/models/components/authdirection.js.map +1 -0
- package/esm/models/components/authenticationmethodcreateorupdaterequest.d.ts +57 -0
- package/esm/models/components/authenticationmethodcreateorupdaterequest.d.ts.map +1 -0
- package/esm/models/components/authenticationmethodcreateorupdaterequest.js +50 -0
- package/esm/models/components/authenticationmethodcreateorupdaterequest.js.map +1 -0
- package/esm/models/components/chatcompletionrequest.d.ts +6 -0
- package/esm/models/components/chatcompletionrequest.d.ts.map +1 -1
- package/esm/models/components/chatcompletionrequest.js +3 -0
- package/esm/models/components/chatcompletionrequest.js.map +1 -1
- package/esm/models/components/chatcompletionstreamrequest.d.ts +6 -0
- package/esm/models/components/chatcompletionstreamrequest.d.ts.map +1 -1
- package/esm/models/components/chatcompletionstreamrequest.js +3 -0
- package/esm/models/components/chatcompletionstreamrequest.js.map +1 -1
- package/esm/models/components/clientsecret.d.ts +11 -0
- package/esm/models/components/clientsecret.d.ts.map +1 -0
- package/esm/models/components/clientsecret.js +21 -0
- package/esm/models/components/clientsecret.js.map +1 -0
- package/esm/models/components/clientsessionpurpose.d.ts +15 -0
- package/esm/models/components/clientsessionpurpose.d.ts.map +1 -0
- package/esm/models/components/clientsessionpurpose.js +14 -0
- package/esm/models/components/clientsessionpurpose.js.map +1 -0
- package/esm/models/components/connectorauthenticationheader.d.ts +11 -2
- package/esm/models/components/connectorauthenticationheader.d.ts.map +1 -1
- package/esm/models/components/connectorauthenticationheader.js +14 -0
- package/esm/models/components/connectorauthenticationheader.js.map +1 -1
- package/esm/models/components/createconnectorrequest.d.ts +15 -0
- package/esm/models/components/createconnectorrequest.d.ts.map +1 -1
- package/esm/models/components/createconnectorrequest.js +5 -0
- package/esm/models/components/createconnectorrequest.js.map +1 -1
- package/esm/models/components/createingestionpipelineconfigurationrequest.d.ts +3 -0
- package/esm/models/components/createingestionpipelineconfigurationrequest.d.ts.map +1 -1
- package/esm/models/components/createingestionpipelineconfigurationrequest.js +3 -0
- package/esm/models/components/createingestionpipelineconfigurationrequest.js.map +1 -1
- package/esm/models/components/createrealtimesessionrequest.d.ts +17 -0
- package/esm/models/components/createrealtimesessionrequest.d.ts.map +1 -0
- package/esm/models/components/createrealtimesessionrequest.js +14 -0
- package/esm/models/components/createrealtimesessionrequest.js.map +1 -0
- package/esm/models/components/createrealtimesessionresponse.d.ts +18 -0
- package/esm/models/components/createrealtimesessionresponse.d.ts.map +1 -0
- package/esm/models/components/createrealtimesessionresponse.js +25 -0
- package/esm/models/components/createrealtimesessionresponse.js.map +1 -0
- package/esm/models/components/customtaskcanceledresponse.d.ts +12 -0
- package/esm/models/components/customtaskcanceledresponse.d.ts.map +1 -1
- package/esm/models/components/customtaskcanceledresponse.js +6 -0
- package/esm/models/components/customtaskcanceledresponse.js.map +1 -1
- package/esm/models/components/customtaskcompletedresponse.d.ts +12 -0
- package/esm/models/components/customtaskcompletedresponse.d.ts.map +1 -1
- package/esm/models/components/customtaskcompletedresponse.js +6 -0
- package/esm/models/components/customtaskcompletedresponse.js.map +1 -1
- package/esm/models/components/customtaskfailedresponse.d.ts +12 -0
- package/esm/models/components/customtaskfailedresponse.d.ts.map +1 -1
- package/esm/models/components/customtaskfailedresponse.js +6 -0
- package/esm/models/components/customtaskfailedresponse.js.map +1 -1
- package/esm/models/components/customtaskinprogressresponse.d.ts +12 -0
- package/esm/models/components/customtaskinprogressresponse.d.ts.map +1 -1
- package/esm/models/components/customtaskinprogressresponse.js +6 -0
- package/esm/models/components/customtaskinprogressresponse.js.map +1 -1
- package/esm/models/components/customtaskstartedresponse.d.ts +12 -0
- package/esm/models/components/customtaskstartedresponse.d.ts.map +1 -1
- package/esm/models/components/customtaskstartedresponse.js +6 -0
- package/esm/models/components/customtaskstartedresponse.js.map +1 -1
- package/esm/models/components/customtasktimedoutresponse.d.ts +12 -0
- package/esm/models/components/customtasktimedoutresponse.d.ts.map +1 -1
- package/esm/models/components/customtasktimedoutresponse.js +6 -0
- package/esm/models/components/customtasktimedoutresponse.js.map +1 -1
- package/esm/models/components/deploymentdetailresponse.d.ts +2 -0
- package/esm/models/components/deploymentdetailresponse.d.ts.map +1 -1
- package/esm/models/components/deploymentdetailresponse.js.map +1 -1
- package/esm/models/components/deploymentresponse.d.ts +2 -0
- package/esm/models/components/deploymentresponse.d.ts.map +1 -1
- package/esm/models/components/deploymentresponse.js.map +1 -1
- package/esm/models/components/deploymentworkerspecresponse.d.ts +5 -0
- package/esm/models/components/deploymentworkerspecresponse.d.ts.map +1 -1
- package/esm/models/components/deploymentworkerspecresponse.js +2 -0
- package/esm/models/components/deploymentworkerspecresponse.js.map +1 -1
- package/esm/models/components/extendedoauthservermetadata.d.ts +10 -0
- package/esm/models/components/extendedoauthservermetadata.d.ts.map +1 -1
- package/esm/models/components/extendedoauthservermetadata.js +67 -0
- package/esm/models/components/extendedoauthservermetadata.js.map +1 -1
- package/esm/models/components/gitcommitauthor.d.ts +12 -0
- package/esm/models/components/gitcommitauthor.d.ts.map +1 -0
- package/esm/models/components/gitcommitauthor.js +21 -0
- package/esm/models/components/gitcommitauthor.js.map +1 -0
- package/esm/models/components/gitcommitmetadata.d.ts +14 -0
- package/esm/models/components/gitcommitmetadata.d.ts.map +1 -0
- package/esm/models/components/gitcommitmetadata.js +23 -0
- package/esm/models/components/gitcommitmetadata.js.map +1 -0
- package/esm/models/components/globalheadervalue.d.ts +26 -0
- package/esm/models/components/globalheadervalue.d.ts.map +1 -0
- package/esm/models/components/globalheadervalue.js +32 -0
- package/esm/models/components/globalheadervalue.js.map +1 -0
- package/esm/models/components/inboundauthenticationtype.d.ts +9 -0
- package/esm/models/components/inboundauthenticationtype.d.ts.map +1 -0
- package/esm/models/components/inboundauthenticationtype.js +11 -0
- package/esm/models/components/inboundauthenticationtype.js.map +1 -0
- package/esm/models/components/index.d.ts +18 -0
- package/esm/models/components/index.d.ts.map +1 -1
- package/esm/models/components/index.js +18 -0
- package/esm/models/components/index.js.map +1 -1
- package/esm/models/components/ingestionpipelinetargetindexref.d.ts +14 -0
- package/esm/models/components/ingestionpipelinetargetindexref.d.ts.map +1 -0
- package/esm/models/components/ingestionpipelinetargetindexref.js +14 -0
- package/esm/models/components/ingestionpipelinetargetindexref.js.map +1 -0
- package/esm/models/components/listorganizationsresponse.d.ts +14 -0
- package/esm/models/components/listorganizationsresponse.d.ts.map +1 -0
- package/esm/models/components/listorganizationsresponse.js +15 -0
- package/esm/models/components/listorganizationsresponse.js.map +1 -0
- package/esm/models/components/listworkspacesresponse.d.ts +14 -0
- package/esm/models/components/listworkspacesresponse.d.ts.map +1 -0
- package/esm/models/components/listworkspacesresponse.js +15 -0
- package/esm/models/components/listworkspacesresponse.js.map +1 -0
- package/esm/models/components/oauth2metadatasecrets.d.ts +27 -0
- package/esm/models/components/oauth2metadatasecrets.d.ts.map +1 -0
- package/esm/models/components/oauth2metadatasecrets.js +24 -0
- package/esm/models/components/oauth2metadatasecrets.js.map +1 -0
- package/esm/models/components/oauthmetadatasource.d.ts +18 -0
- package/esm/models/components/oauthmetadatasource.d.ts.map +1 -0
- package/esm/models/components/oauthmetadatasource.js +17 -0
- package/esm/models/components/oauthmetadatasource.js.map +1 -0
- 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/publicauthenticationmethod.d.ts +6 -0
- package/esm/models/components/publicauthenticationmethod.d.ts.map +1 -1
- package/esm/models/components/publicauthenticationmethod.js +8 -0
- package/esm/models/components/publicauthenticationmethod.js.map +1 -1
- package/esm/models/components/requestedservicetier.d.ts +10 -0
- package/esm/models/components/requestedservicetier.d.ts.map +1 -0
- package/esm/models/components/requestedservicetier.js +12 -0
- package/esm/models/components/requestedservicetier.js.map +1 -0
- package/esm/models/components/updateconnectorrequest.d.ts +4 -13
- package/esm/models/components/updateconnectorrequest.d.ts.map +1 -1
- package/esm/models/components/updateconnectorrequest.js +3 -4
- package/esm/models/components/updateconnectorrequest.js.map +1 -1
- package/esm/models/components/usageinfo.d.ts +5 -0
- package/esm/models/components/usageinfo.d.ts.map +1 -1
- package/esm/models/components/usageinfo.js +4 -0
- package/esm/models/components/usageinfo.js.map +1 -1
- package/esm/models/components/userorganization.d.ts +17 -0
- package/esm/models/components/userorganization.d.ts.map +1 -0
- package/esm/models/components/userorganization.js +15 -0
- package/esm/models/components/userorganization.js.map +1 -0
- package/esm/models/components/userworkspace.d.ts +21 -0
- package/esm/models/components/userworkspace.d.ts.map +1 -0
- package/esm/models/components/userworkspace.js +22 -0
- package/esm/models/components/userworkspace.js.map +1 -0
- package/esm/models/components/workflowexecutioncanceledattributes.d.ts +4 -0
- package/esm/models/components/workflowexecutioncanceledattributes.d.ts.map +1 -1
- package/esm/models/components/workflowexecutioncanceledattributes.js +1 -0
- package/esm/models/components/workflowexecutioncanceledattributes.js.map +1 -1
- package/esm/models/components/workflowexecutioncanceledresponse.d.ts +12 -0
- package/esm/models/components/workflowexecutioncanceledresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutioncanceledresponse.js +6 -0
- package/esm/models/components/workflowexecutioncanceledresponse.js.map +1 -1
- package/esm/models/components/workflowexecutioncompletedattributesresponse.d.ts +4 -0
- package/esm/models/components/workflowexecutioncompletedattributesresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutioncompletedattributesresponse.js +1 -0
- package/esm/models/components/workflowexecutioncompletedattributesresponse.js.map +1 -1
- package/esm/models/components/workflowexecutioncompletedresponse.d.ts +12 -0
- package/esm/models/components/workflowexecutioncompletedresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutioncompletedresponse.js +6 -0
- package/esm/models/components/workflowexecutioncompletedresponse.js.map +1 -1
- package/esm/models/components/workflowexecutioncontinuedasnewresponse.d.ts +12 -0
- package/esm/models/components/workflowexecutioncontinuedasnewresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutioncontinuedasnewresponse.js +6 -0
- package/esm/models/components/workflowexecutioncontinuedasnewresponse.js.map +1 -1
- package/esm/models/components/workflowexecutionfailedattributes.d.ts +4 -0
- package/esm/models/components/workflowexecutionfailedattributes.d.ts.map +1 -1
- package/esm/models/components/workflowexecutionfailedattributes.js +1 -0
- package/esm/models/components/workflowexecutionfailedattributes.js.map +1 -1
- package/esm/models/components/workflowexecutionfailedresponse.d.ts +12 -0
- package/esm/models/components/workflowexecutionfailedresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutionfailedresponse.js +6 -0
- package/esm/models/components/workflowexecutionfailedresponse.js.map +1 -1
- package/esm/models/components/workflowexecutionstartedattributesresponse.d.ts +4 -0
- package/esm/models/components/workflowexecutionstartedattributesresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutionstartedattributesresponse.js +1 -0
- package/esm/models/components/workflowexecutionstartedattributesresponse.js.map +1 -1
- package/esm/models/components/workflowexecutionstartedresponse.d.ts +12 -0
- package/esm/models/components/workflowexecutionstartedresponse.d.ts.map +1 -1
- package/esm/models/components/workflowexecutionstartedresponse.js +6 -0
- package/esm/models/components/workflowexecutionstartedresponse.js.map +1 -1
- package/esm/models/components/workflowtaskfailedresponse.d.ts +12 -0
- package/esm/models/components/workflowtaskfailedresponse.d.ts.map +1 -1
- package/esm/models/components/workflowtaskfailedresponse.js +6 -0
- package/esm/models/components/workflowtaskfailedresponse.js.map +1 -1
- package/esm/models/components/workflowtasktimedoutresponse.d.ts +12 -0
- package/esm/models/components/workflowtasktimedoutresponse.d.ts.map +1 -1
- package/esm/models/components/workflowtasktimedoutresponse.js +6 -0
- package/esm/models/components/workflowtasktimedoutresponse.js.map +1 -1
- package/esm/models/operations/createclientsessionv1clientsessionspost.d.ts +9 -0
- package/esm/models/operations/createclientsessionv1clientsessionspost.d.ts.map +1 -0
- package/esm/models/operations/createclientsessionv1clientsessionspost.js +11 -0
- package/esm/models/operations/createclientsessionv1clientsessionspost.js.map +1 -0
- package/esm/models/operations/getdeploymentv1workflowsdeploymentsnameget.d.ts +5 -0
- package/esm/models/operations/getdeploymentv1workflowsdeploymentsnameget.d.ts.map +1 -1
- package/esm/models/operations/getdeploymentv1workflowsdeploymentsnameget.js +6 -0
- package/esm/models/operations/getdeploymentv1workflowsdeploymentsnameget.js.map +1 -1
- package/esm/models/operations/index.d.ts +3 -0
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +3 -0
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/usersapilistorganizations.d.ts +39 -0
- package/esm/models/operations/usersapilistorganizations.d.ts.map +1 -0
- package/esm/models/operations/usersapilistorganizations.js +39 -0
- package/esm/models/operations/usersapilistorganizations.js.map +1 -0
- package/esm/models/operations/usersapilistworkspaces.d.ts +44 -0
- package/esm/models/operations/usersapilistworkspaces.d.ts.map +1 -0
- package/esm/models/operations/usersapilistworkspaces.js +44 -0
- package/esm/models/operations/usersapilistworkspaces.js.map +1 -0
- package/esm/sdk/realtime.d.ts +7 -0
- package/esm/sdk/realtime.d.ts.map +1 -0
- package/esm/sdk/realtime.js +13 -0
- package/esm/sdk/realtime.js.map +1 -0
- package/esm/sdk/sdk.d.ts +3 -0
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +5 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/sessions.d.ts +10 -0
- package/esm/sdk/sessions.d.ts.map +1 -0
- package/esm/sdk/sessions.js +16 -0
- package/esm/sdk/sessions.js.map +1 -0
- package/esm/sdk/users.d.ts +23 -0
- package/esm/sdk/users.d.ts.map +1 -1
- package/esm/sdk/users.js +25 -0
- package/esm/sdk/users.js.map +1 -1
- package/examples/src/model_management.ts +59 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/betaUsersListOrganizations.ts +257 -0
- package/src/funcs/betaUsersListWorkspaces.ts +257 -0
- package/src/funcs/realtimeSessionsCreate.ts +170 -0
- package/src/funcs/workflowsDeploymentsGetDeployment.ts +6 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/activitytaskcompletedresponse.ts +18 -0
- package/src/models/components/activitytaskfailedresponse.ts +18 -0
- package/src/models/components/activitytaskretryingresponse.ts +18 -0
- package/src/models/components/activitytaskstartedresponse.ts +18 -0
- package/src/models/components/agentscompletionrequest.ts +11 -0
- package/src/models/components/agentscompletionstreamrequest.ts +11 -0
- package/src/models/components/authdirection.ts +17 -0
- package/src/models/components/authenticationmethodcreateorupdaterequest.ts +138 -0
- package/src/models/components/chatcompletionrequest.ts +11 -0
- package/src/models/components/chatcompletionstreamrequest.ts +11 -0
- package/src/models/components/clientsecret.ts +36 -0
- package/src/models/components/clientsessionpurpose.ts +23 -0
- package/src/models/components/connectorauthenticationheader.ts +32 -2
- package/src/models/components/createconnectorrequest.ts +19 -0
- package/src/models/components/createingestionpipelineconfigurationrequest.ts +14 -0
- package/src/models/components/createrealtimesessionrequest.ts +39 -0
- package/src/models/components/createrealtimesessionresponse.ts +51 -0
- package/src/models/components/customtaskcanceledresponse.ts +18 -0
- package/src/models/components/customtaskcompletedresponse.ts +18 -0
- package/src/models/components/customtaskfailedresponse.ts +18 -0
- package/src/models/components/customtaskinprogressresponse.ts +18 -0
- package/src/models/components/customtaskstartedresponse.ts +18 -0
- package/src/models/components/customtasktimedoutresponse.ts +18 -0
- package/src/models/components/deploymentdetailresponse.ts +2 -0
- package/src/models/components/deploymentresponse.ts +2 -0
- package/src/models/components/deploymentworkerspecresponse.ts +9 -0
- package/src/models/components/extendedoauthservermetadata.ts +99 -0
- package/src/models/components/gitcommitauthor.ts +40 -0
- package/src/models/components/gitcommitmetadata.ts +46 -0
- package/src/models/components/globalheadervalue.ts +70 -0
- package/src/models/components/inboundauthenticationtype.ts +19 -0
- package/src/models/components/index.ts +18 -0
- package/src/models/components/ingestionpipelinetargetindexref.ts +36 -0
- package/src/models/components/listorganizationsresponse.ts +38 -0
- package/src/models/components/listworkspacesresponse.ts +35 -0
- package/src/models/components/oauth2metadatasecrets.ts +57 -0
- package/src/models/components/oauthmetadatasource.ts +31 -0
- package/src/models/components/observabilityerrorcode.ts +1 -0
- package/src/models/components/publicauthenticationmethod.ts +16 -0
- package/src/models/components/requestedservicetier.ts +18 -0
- package/src/models/components/updateconnectorrequest.ts +17 -15
- package/src/models/components/usageinfo.ts +9 -0
- package/src/models/components/userorganization.ts +39 -0
- package/src/models/components/userworkspace.ts +47 -0
- package/src/models/components/workflowexecutioncanceledattributes.ts +5 -0
- package/src/models/components/workflowexecutioncanceledresponse.ts +18 -0
- package/src/models/components/workflowexecutioncompletedattributesresponse.ts +5 -0
- package/src/models/components/workflowexecutioncompletedresponse.ts +18 -0
- package/src/models/components/workflowexecutioncontinuedasnewresponse.ts +18 -0
- package/src/models/components/workflowexecutionfailedattributes.ts +5 -0
- package/src/models/components/workflowexecutionfailedresponse.ts +18 -0
- package/src/models/components/workflowexecutionstartedattributesresponse.ts +5 -0
- package/src/models/components/workflowexecutionstartedresponse.ts +18 -0
- package/src/models/components/workflowtaskfailedresponse.ts +18 -0
- package/src/models/components/workflowtasktimedoutresponse.ts +18 -0
- package/src/models/operations/createclientsessionv1clientsessionspost.ts +20 -0
- package/src/models/operations/getdeploymentv1workflowsdeploymentsnameget.ts +11 -0
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/usersapilistorganizations.ts +104 -0
- package/src/models/operations/usersapilistworkspaces.ts +114 -0
- package/src/sdk/realtime.ts +14 -0
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/sessions.ts +26 -0
- package/src/sdk/users.ts +52 -0
- package/examples/src/async_jobs.ts +0 -51
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: d0a0a253bc7e
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { UserWorkspace$inboundSchema } from "./userworkspace.js";
|
|
8
|
+
/** @internal */
|
|
9
|
+
export const ListWorkspacesResponse$inboundSchema = z.object({
|
|
10
|
+
workspaces: z.array(UserWorkspace$inboundSchema),
|
|
11
|
+
});
|
|
12
|
+
export function listWorkspacesResponseFromJSON(jsonString) {
|
|
13
|
+
return safeParse(jsonString, (x) => ListWorkspacesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListWorkspacesResponse' from JSON`);
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=listworkspacesresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listworkspacesresponse.js","sourceRoot":"","sources":["../../../src/models/components/listworkspacesresponse.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,OAAO,EAAiB,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAShF,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAG7C,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC;CACjD,CAAC,CAAC;AAEH,MAAM,UAAU,8BAA8B,CAC5C,UAAkB,EAC2C;IAC7D,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* OAuth2 client credentials stored alongside a connector's authentication method.
|
|
4
|
+
*
|
|
5
|
+
* @remarks
|
|
6
|
+
*
|
|
7
|
+
* Used by OAuth2 and Slack App auth types for token exchange and refresh flows.
|
|
8
|
+
* Contains the client credentials obtained during OAuth2 Dynamic Client Registration
|
|
9
|
+
* or provided at connector creation time.
|
|
10
|
+
*/
|
|
11
|
+
export type Oauth2MetadataSecrets = {
|
|
12
|
+
clientId?: string | null | undefined;
|
|
13
|
+
clientSecret?: string | null | undefined;
|
|
14
|
+
clientIdIssuedAt?: number | null | undefined;
|
|
15
|
+
clientSecretExpiresAt?: number | null | undefined;
|
|
16
|
+
};
|
|
17
|
+
/** @internal */
|
|
18
|
+
export type Oauth2MetadataSecrets$Outbound = {
|
|
19
|
+
client_id?: string | null | undefined;
|
|
20
|
+
client_secret?: string | null | undefined;
|
|
21
|
+
client_id_issued_at?: number | null | undefined;
|
|
22
|
+
client_secret_expires_at?: number | null | undefined;
|
|
23
|
+
};
|
|
24
|
+
/** @internal */
|
|
25
|
+
export declare const Oauth2MetadataSecrets$outboundSchema: z.ZodType<Oauth2MetadataSecrets$Outbound, Oauth2MetadataSecrets>;
|
|
26
|
+
export declare function oauth2MetadataSecretsToJSON(oauth2MetadataSecrets: Oauth2MetadataSecrets): string;
|
|
27
|
+
//# sourceMappingURL=oauth2metadatasecrets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauth2metadatasecrets.d.ts","sourceRoot":"","sources":["../../../src/models/components/oauth2metadatasecrets.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;;;;;;;GAQG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACnD,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACtD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,qBAAqB,CAarB,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 9fac067e968f
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export const Oauth2MetadataSecrets$outboundSchema = z.object({
|
|
9
|
+
clientId: z.nullable(z.string()).optional(),
|
|
10
|
+
clientSecret: z.nullable(z.string()).optional(),
|
|
11
|
+
clientIdIssuedAt: z.nullable(z.int()).optional(),
|
|
12
|
+
clientSecretExpiresAt: z.nullable(z.int()).optional(),
|
|
13
|
+
}).transform((v) => {
|
|
14
|
+
return remap$(v, {
|
|
15
|
+
clientId: "client_id",
|
|
16
|
+
clientSecret: "client_secret",
|
|
17
|
+
clientIdIssuedAt: "client_id_issued_at",
|
|
18
|
+
clientSecretExpiresAt: "client_secret_expires_at",
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
export function oauth2MetadataSecretsToJSON(oauth2MetadataSecrets) {
|
|
22
|
+
return JSON.stringify(Oauth2MetadataSecrets$outboundSchema.parse(oauth2MetadataSecrets));
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=oauth2metadatasecrets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauth2metadatasecrets.js","sourceRoot":"","sources":["../../../src/models/components/oauth2metadatasecrets.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AA0B1D,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAG7C,CAAC,CAAC,MAAM,CAAC;IACX,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC3C,YAAY,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC/C,gBAAgB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IAChD,qBAAqB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;CACtD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAClB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,QAAQ,EAAE,WAAW;QACrB,YAAY,EAAE,eAAe;QAC7B,gBAAgB,EAAE,qBAAqB;QACvC,qBAAqB,EAAE,0BAA0B;KAClD,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEH,MAAM,UAAU,2BAA2B,CACzC,qBAA4C,EACpC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,oCAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* How a connector's OAuth server metadata was obtained.
|
|
5
|
+
*/
|
|
6
|
+
export declare const OAuthMetadataSource: {
|
|
7
|
+
readonly Autodiscovery: "autodiscovery";
|
|
8
|
+
readonly Provided: "provided";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* How a connector's OAuth server metadata was obtained.
|
|
12
|
+
*/
|
|
13
|
+
export type OAuthMetadataSource = OpenEnum<typeof OAuthMetadataSource>;
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const OAuthMetadataSource$inboundSchema: z.ZodType<OAuthMetadataSource, unknown>;
|
|
16
|
+
/** @internal */
|
|
17
|
+
export declare const OAuthMetadataSource$outboundSchema: z.ZodType<string, OAuthMetadataSource>;
|
|
18
|
+
//# sourceMappingURL=oauthmetadatasource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauthmetadatasource.d.ts","sourceRoot":"","sources":["../../../src/models/components/oauthmetadatasource.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEvE,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,mBAAmB,EACnB,OAAO,CACuC,CAAC;AACjD,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,MAAM,EACN,mBAAmB,CAC4B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 10a04a8e4a87
|
|
4
|
+
*/
|
|
5
|
+
import * as openEnums from "../../types/enums.js";
|
|
6
|
+
/**
|
|
7
|
+
* How a connector's OAuth server metadata was obtained.
|
|
8
|
+
*/
|
|
9
|
+
export const OAuthMetadataSource = {
|
|
10
|
+
Autodiscovery: "autodiscovery",
|
|
11
|
+
Provided: "provided",
|
|
12
|
+
};
|
|
13
|
+
/** @internal */
|
|
14
|
+
export const OAuthMetadataSource$inboundSchema = openEnums.inboundSchema(OAuthMetadataSource);
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const OAuthMetadataSource$outboundSchema = openEnums.outboundSchema(OAuthMetadataSource);
|
|
17
|
+
//# sourceMappingURL=oauthmetadatasource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauthmetadatasource.js","sourceRoot":"","sources":["../../../src/models/components/oauthmetadatasource.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAGlD;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,aAAa,EAAE,eAAe;IAC9B,QAAQ,EAAE,UAAU;CACZ,CAAC;AAMX,gBAAgB;AAChB,MAAM,CAAC,MAAM,iCAAiC,GAG1C,SAAS,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC;AACjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC,GAG3C,SAAS,CAAC,cAAc,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -46,6 +46,7 @@ export declare const ObservabilityErrorCode: {
|
|
|
46
46
|
readonly TemplateSyntaxError: "TEMPLATE_SYNTAX_ERROR";
|
|
47
47
|
readonly ProjectNameAlreadyExists: "PROJECT_NAME_ALREADY_EXISTS";
|
|
48
48
|
readonly EvaluationNameAlreadyExists: "EVALUATION_NAME_ALREADY_EXISTS";
|
|
49
|
+
readonly OptimizationTrialKeyAlreadyExists: "OPTIMIZATION_TRIAL_KEY_ALREADY_EXISTS";
|
|
49
50
|
readonly TracesFilterQueryParseError: "TRACES_FILTER_QUERY_PARSE_ERROR";
|
|
50
51
|
readonly TraceNotFound: "TRACE_NOT_FOUND";
|
|
51
52
|
readonly SpanNotFound: "SPAN_NOT_FOUND";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observabilityerrorcode.d.ts","sourceRoot":"","sources":["../../../src/models/components/observabilityerrorcode.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"observabilityerrorcode.d.ts","sourceRoot":"","sources":["../../../src/models/components/observabilityerrorcode.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDzB,CAAC;AACX,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE7E,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,sBAAsB,EACtB,OAAO,CAC0C,CAAC"}
|
|
@@ -49,6 +49,7 @@ export const ObservabilityErrorCode = {
|
|
|
49
49
|
TemplateSyntaxError: "TEMPLATE_SYNTAX_ERROR",
|
|
50
50
|
ProjectNameAlreadyExists: "PROJECT_NAME_ALREADY_EXISTS",
|
|
51
51
|
EvaluationNameAlreadyExists: "EVALUATION_NAME_ALREADY_EXISTS",
|
|
52
|
+
OptimizationTrialKeyAlreadyExists: "OPTIMIZATION_TRIAL_KEY_ALREADY_EXISTS",
|
|
52
53
|
TracesFilterQueryParseError: "TRACES_FILTER_QUERY_PARSE_ERROR",
|
|
53
54
|
TraceNotFound: "TRACE_NOT_FOUND",
|
|
54
55
|
SpanNotFound: "SPAN_NOT_FOUND",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observabilityerrorcode.js","sourceRoot":"","sources":["../../../src/models/components/observabilityerrorcode.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAGlD,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,YAAY,EAAE,eAAe;IAC7B,eAAe,EAAE,kBAAkB;IACnC,aAAa,EAAE,gBAAgB;IAC/B,8BAA8B,EAAE,oCAAoC;IACpE,8BAA8B,EAAE,oCAAoC;IACpE,yBAAyB,EAAE,+BAA+B;IAC1D,gBAAgB,EAAE,mBAAmB;IACrC,mBAAmB,EAAE,uBAAuB;IAC5C,gBAAgB,EAAE,oBAAoB;IACtC,cAAc,EAAE,kBAAkB;IAClC,cAAc,EAAE,kBAAkB;IAClC,gBAAgB,EAAE,oBAAoB;IACtC,wBAAwB,EAAE,4BAA4B;IACtD,aAAa,EAAE,gBAAgB;IAC/B,eAAe,EAAE,kBAAkB;IACnC,mBAAmB,EAAE,sBAAsB;IAC3C,kBAAkB,EAAE,sBAAsB;IAC1C,gCAAgC,EAAE,uCAAuC;IACzE,4BAA4B,EAAE,iCAAiC;IAC/D,oBAAoB,EAAE,yBAAyB;IAC/C,sBAAsB,EAAE,2BAA2B;IACnD,sBAAsB,EAAE,2BAA2B;IACnD,aAAa,EAAE,iBAAiB;IAChC,yBAAyB,EAAE,+BAA+B;IAC1D,kCAAkC,EAChC,0CAA0C;IAC5C,iBAAiB,EAAE,sBAAsB;IACzC,gBAAgB,EAAE,oBAAoB;IACtC,wBAAwB,EAAE,6BAA6B;IACvD,eAAe,EAAE,mBAAmB;IACpC,mBAAmB,EAAE,wBAAwB;IAC7C,qBAAqB,EAAE,0BAA0B;IACjD,wBAAwB,EAAE,6BAA6B;IACvD,aAAa,EAAE,iBAAiB;IAChC,oBAAoB,EAAE,yBAAyB;IAC/C,kBAAkB,EAAE,sBAAsB;IAC1C,0BAA0B,EAAE,8BAA8B;IAC1D,wBAAwB,EAAE,6BAA6B;IACvD,qBAAqB,EAAE,0BAA0B;IACjD,gCAAgC,EAAE,sCAAsC;IACxE,uCAAuC,EACrC,8CAA8C;IAChD,4BAA4B,EAAE,iCAAiC;IAC/D,aAAa,EAAE,gBAAgB;IAC/B,mBAAmB,EAAE,uBAAuB;IAC5C,wBAAwB,EAAE,6BAA6B;IACvD,2BAA2B,EAAE,gCAAgC;IAC7D,2BAA2B,EAAE,iCAAiC;IAC9D,aAAa,EAAE,iBAAiB;IAChC,YAAY,EAAE,gBAAgB;CACtB,CAAC;AAGX,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAG7C,SAAS,CAAC,aAAa,CAAC,sBAAsB,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"observabilityerrorcode.js","sourceRoot":"","sources":["../../../src/models/components/observabilityerrorcode.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,SAAS,MAAM,sBAAsB,CAAC;AAGlD,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,YAAY,EAAE,eAAe;IAC7B,eAAe,EAAE,kBAAkB;IACnC,aAAa,EAAE,gBAAgB;IAC/B,8BAA8B,EAAE,oCAAoC;IACpE,8BAA8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IAC9D,aAAa,EAAE,iBAAiB;IAChC,YAAY,EAAE,gBAAgB;CACtB,CAAC;AAGX,gBAAgB;AAChB,MAAM,CAAC,MAAM,oCAAoC,GAG7C,SAAS,CAAC,aAAa,CAAC,sBAAsB,CAAC,CAAC"}
|
|
@@ -2,6 +2,8 @@ import * as z from "zod/v4";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
import { ConnectorAuthenticationHeader } from "./connectorauthenticationheader.js";
|
|
5
|
+
import { ExtendedOAuthServerMetadata } from "./extendedoauthservermetadata.js";
|
|
6
|
+
import { GlobalHeaderValue } from "./globalheadervalue.js";
|
|
5
7
|
import { OutboundAuthenticationType } from "./outboundauthenticationtype.js";
|
|
6
8
|
/**
|
|
7
9
|
* Public view of an authentication method, without secrets.
|
|
@@ -9,7 +11,11 @@ import { OutboundAuthenticationType } from "./outboundauthenticationtype.js";
|
|
|
9
11
|
export type PublicAuthenticationMethod = {
|
|
10
12
|
methodType: OutboundAuthenticationType;
|
|
11
13
|
headers?: Array<ConnectorAuthenticationHeader> | null | undefined;
|
|
14
|
+
globalHeaders?: {
|
|
15
|
+
[k: string]: GlobalHeaderValue;
|
|
16
|
+
} | undefined;
|
|
12
17
|
hasDefaultCredentials: boolean;
|
|
18
|
+
oauth2ServerMetadata?: ExtendedOAuthServerMetadata | null | undefined;
|
|
13
19
|
};
|
|
14
20
|
/** @internal */
|
|
15
21
|
export declare const PublicAuthenticationMethod$inboundSchema: z.ZodType<PublicAuthenticationMethod, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicauthenticationmethod.d.ts","sourceRoot":"","sources":["../../../src/models/components/publicauthenticationmethod.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,6BAA6B,EAE9B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,0BAA0B,EAE3B,MAAM,iCAAiC,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,EAAE,0BAA0B,CAAC;IACvC,OAAO,CAAC,EAAE,KAAK,CAAC,6BAA6B,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAClE,qBAAqB,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"publicauthenticationmethod.d.ts","sourceRoot":"","sources":["../../../src/models/components/publicauthenticationmethod.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,6BAA6B,EAE9B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,2BAA2B,EAE5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,0BAA0B,EAE3B,MAAM,iCAAiC,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,EAAE,0BAA0B,CAAC;IACvC,OAAO,CAAC,EAAE,KAAK,CAAC,6BAA6B,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAClE,aAAa,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,iBAAiB,CAAA;KAAE,GAAG,SAAS,CAAC;IAC/D,qBAAqB,EAAE,OAAO,CAAC;IAC/B,oBAAoB,CAAC,EAAE,2BAA2B,GAAG,IAAI,GAAG,SAAS,CAAC;CACvE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,OAAO,CAiBP,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
|
|
@@ -6,17 +6,25 @@ import * as z from "zod/v4";
|
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { ConnectorAuthenticationHeader$inboundSchema, } from "./connectorauthenticationheader.js";
|
|
9
|
+
import { ExtendedOAuthServerMetadata$inboundSchema, } from "./extendedoauthservermetadata.js";
|
|
10
|
+
import { GlobalHeaderValue$inboundSchema, } from "./globalheadervalue.js";
|
|
9
11
|
import { OutboundAuthenticationType$inboundSchema, } from "./outboundauthenticationtype.js";
|
|
10
12
|
/** @internal */
|
|
11
13
|
export const PublicAuthenticationMethod$inboundSchema = z.object({
|
|
12
14
|
method_type: OutboundAuthenticationType$inboundSchema,
|
|
13
15
|
headers: z.nullable(z.array(ConnectorAuthenticationHeader$inboundSchema))
|
|
14
16
|
.optional(),
|
|
17
|
+
global_headers: z.record(z.string(), GlobalHeaderValue$inboundSchema)
|
|
18
|
+
.optional(),
|
|
15
19
|
has_default_credentials: z.boolean(),
|
|
20
|
+
oauth2_server_metadata: z.nullable(ExtendedOAuthServerMetadata$inboundSchema)
|
|
21
|
+
.optional(),
|
|
16
22
|
}).transform((v) => {
|
|
17
23
|
return remap$(v, {
|
|
18
24
|
"method_type": "methodType",
|
|
25
|
+
"global_headers": "globalHeaders",
|
|
19
26
|
"has_default_credentials": "hasDefaultCredentials",
|
|
27
|
+
"oauth2_server_metadata": "oauth2ServerMetadata",
|
|
20
28
|
});
|
|
21
29
|
});
|
|
22
30
|
export function publicAuthenticationMethodFromJSON(jsonString) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicauthenticationmethod.js","sourceRoot":"","sources":["../../../src/models/components/publicauthenticationmethod.ts"],"names":[],"mappings":"AAAA;;;GAGG;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,EAEL,2CAA2C,GAC5C,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAEL,wCAAwC,GACzC,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"publicauthenticationmethod.js","sourceRoot":"","sources":["../../../src/models/components/publicauthenticationmethod.ts"],"names":[],"mappings":"AAAA;;;GAGG;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,EAEL,2CAA2C,GAC5C,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAEL,yCAAyC,GAC1C,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAEL,+BAA+B,GAChC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,wCAAwC,GACzC,MAAM,iCAAiC,CAAC;AAazC,gBAAgB;AAChB,MAAM,CAAC,MAAM,wCAAwC,GAGjD,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,wCAAwC;IACrD,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,2CAA2C,CAAC,CAAC;SACtE,QAAQ,EAAE;IACb,cAAc,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,+BAA+B,CAAC;SAClE,QAAQ,EAAE;IACb,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE;IACpC,sBAAsB,EAAE,CAAC,CAAC,QAAQ,CAAC,yCAAyC,CAAC;SAC1E,QAAQ,EAAE;CACd,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAClB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,aAAa,EAAE,YAAY;QAC3B,gBAAgB,EAAE,eAAe;QACjC,yBAAyB,EAAE,uBAAuB;QAClD,wBAAwB,EAAE,sBAAsB;KACjD,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEH,MAAM,UAAU,kCAAkC,CAChD,UAAkB,EAC+C;IACjE,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
export declare const RequestedServiceTier: {
|
|
4
|
+
readonly Auto: "auto";
|
|
5
|
+
readonly StandardOnly: "standard_only";
|
|
6
|
+
};
|
|
7
|
+
export type RequestedServiceTier = ClosedEnum<typeof RequestedServiceTier>;
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const RequestedServiceTier$outboundSchema: z.ZodEnum<typeof RequestedServiceTier>;
|
|
10
|
+
//# sourceMappingURL=requestedservicetier.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requestedservicetier.d.ts","sourceRoot":"","sources":["../../../src/models/components/requestedservicetier.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,oBAAoB;;;CAGvB,CAAC;AACX,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAE3E,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,OAAO,oBAAoB,CACG,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 2dea786aa53c
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
export const RequestedServiceTier = {
|
|
7
|
+
Auto: "auto",
|
|
8
|
+
StandardOnly: "standard_only",
|
|
9
|
+
};
|
|
10
|
+
/** @internal */
|
|
11
|
+
export const RequestedServiceTier$outboundSchema = z.enum(RequestedServiceTier);
|
|
12
|
+
//# sourceMappingURL=requestedservicetier.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requestedservicetier.js","sourceRoot":"","sources":["../../../src/models/components/requestedservicetier.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,IAAI,EAAE,MAAM;IACZ,YAAY,EAAE,eAAe;CACrB,CAAC;AAGX,gBAAgB;AAChB,MAAM,CAAC,MAAM,mCAAmC,GAE5C,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
|
-
import {
|
|
2
|
+
import { AuthenticationMethodCreateOrUpdateRequest, AuthenticationMethodCreateOrUpdateRequest$Outbound } from "./authenticationmethodcreateorupdaterequest.js";
|
|
3
3
|
export type UpdateConnectorRequest = {
|
|
4
4
|
/**
|
|
5
5
|
* Optional human-readable title for the connector.
|
|
@@ -27,15 +27,9 @@ export type UpdateConnectorRequest = {
|
|
|
27
27
|
*/
|
|
28
28
|
server?: string | null | undefined;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* list of authentication methods to add to the connector or to update
|
|
31
31
|
*/
|
|
32
|
-
|
|
33
|
-
[k: string]: any;
|
|
34
|
-
} | null | undefined;
|
|
35
|
-
/**
|
|
36
|
-
* New authentication data for your mcp connector.
|
|
37
|
-
*/
|
|
38
|
-
authData?: AuthData | null | undefined;
|
|
32
|
+
authMethods?: Array<AuthenticationMethodCreateOrUpdateRequest> | null | undefined;
|
|
39
33
|
};
|
|
40
34
|
/** @internal */
|
|
41
35
|
export type UpdateConnectorRequest$Outbound = {
|
|
@@ -46,10 +40,7 @@ export type UpdateConnectorRequest$Outbound = {
|
|
|
46
40
|
system_prompt?: string | null | undefined;
|
|
47
41
|
protocol: "mcp";
|
|
48
42
|
server?: string | null | undefined;
|
|
49
|
-
|
|
50
|
-
[k: string]: any;
|
|
51
|
-
} | null | undefined;
|
|
52
|
-
auth_data?: AuthData$Outbound | null | undefined;
|
|
43
|
+
auth_methods?: Array<AuthenticationMethodCreateOrUpdateRequest$Outbound> | null | undefined;
|
|
53
44
|
};
|
|
54
45
|
/** @internal */
|
|
55
46
|
export declare const UpdateConnectorRequest$outboundSchema: z.ZodType<UpdateConnectorRequest$Outbound, UpdateConnectorRequest>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateconnectorrequest.d.ts","sourceRoot":"","sources":["../../../src/models/components/updateconnectorrequest.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"updateconnectorrequest.d.ts","sourceRoot":"","sources":["../../../src/models/components/updateconnectorrequest.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EACL,yCAAyC,EACzC,kDAAkD,EAEnD,MAAM,gDAAgD,CAAC;AAExD,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,IAAI,CAAC,EAAE,MAA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/
|
|
5
5
|
import * as z from "zod/v4";
|
|
6
6
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
-
import {
|
|
7
|
+
import { AuthenticationMethodCreateOrUpdateRequest$outboundSchema, } from "./authenticationmethodcreateorupdaterequest.js";
|
|
8
8
|
/** @internal */
|
|
9
9
|
export const UpdateConnectorRequest$outboundSchema = z.object({
|
|
10
10
|
title: z.nullable(z.string()).optional(),
|
|
@@ -14,13 +14,12 @@ export const UpdateConnectorRequest$outboundSchema = z.object({
|
|
|
14
14
|
systemPrompt: z.nullable(z.string()).optional(),
|
|
15
15
|
protocol: z.literal("mcp").default("mcp"),
|
|
16
16
|
server: z.nullable(z.string()).optional(),
|
|
17
|
-
|
|
18
|
-
authData: z.nullable(AuthData$outboundSchema).optional(),
|
|
17
|
+
authMethods: z.nullable(z.array(AuthenticationMethodCreateOrUpdateRequest$outboundSchema)).optional(),
|
|
19
18
|
}).transform((v) => {
|
|
20
19
|
return remap$(v, {
|
|
21
20
|
iconUrl: "icon_url",
|
|
22
21
|
systemPrompt: "system_prompt",
|
|
23
|
-
|
|
22
|
+
authMethods: "auth_methods",
|
|
24
23
|
});
|
|
25
24
|
});
|
|
26
25
|
export function updateConnectorRequestToJSON(updateConnectorRequest) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateconnectorrequest.js","sourceRoot":"","sources":["../../../src/models/components/updateconnectorrequest.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAGL,
|
|
1
|
+
{"version":3,"file":"updateconnectorrequest.js","sourceRoot":"","sources":["../../../src/models/components/updateconnectorrequest.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE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sB,CAAC,CACpE,CAAC;AAAA,CACH"}
|
|
@@ -6,6 +6,10 @@ export type UsageInfo = {
|
|
|
6
6
|
completionTokens?: number | undefined;
|
|
7
7
|
totalTokens?: number | undefined;
|
|
8
8
|
promptAudioSeconds?: number | null | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* The service tier at which the request was processed: standard or priority.
|
|
11
|
+
*/
|
|
12
|
+
serviceTier?: string | null | undefined;
|
|
9
13
|
[additionalProperties: string]: unknown;
|
|
10
14
|
};
|
|
11
15
|
/** @internal */
|
|
@@ -16,6 +20,7 @@ export type UsageInfo$Outbound = {
|
|
|
16
20
|
completion_tokens: number;
|
|
17
21
|
total_tokens: number;
|
|
18
22
|
prompt_audio_seconds?: number | null | undefined;
|
|
23
|
+
service_tier?: string | null | undefined;
|
|
19
24
|
[additionalProperties: string]: unknown;
|
|
20
25
|
};
|
|
21
26
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usageinfo.d.ts","sourceRoot":"","sources":["../../../src/models/components/usageinfo.ts"],"names":[],"mappings":"AAKA,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,MAAM,MAAM,SAAS,GAAG;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/C,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,EAAE,OAAO,
|
|
1
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AiB,CAC/B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,SAAS,EAAE,kBAAkB,CAAC,CAMhD"}
|
|
@@ -11,12 +11,14 @@ export const UsageInfo$inboundSchema = z.object({
|
|
|
11
11
|
completion_tokens: z.int().default(0),
|
|
12
12
|
total_tokens: z.int().default(0),
|
|
13
13
|
prompt_audio_seconds: z.nullable(z.int()).optional(),
|
|
14
|
+
service_tier: z.nullable(z.string()).optional(),
|
|
14
15
|
}).catchall(z.any()).transform((v) => {
|
|
15
16
|
return remap$(v, {
|
|
16
17
|
"prompt_tokens": "promptTokens",
|
|
17
18
|
"completion_tokens": "completionTokens",
|
|
18
19
|
"total_tokens": "totalTokens",
|
|
19
20
|
"prompt_audio_seconds": "promptAudioSeconds",
|
|
21
|
+
"service_tier": "serviceTier",
|
|
20
22
|
});
|
|
21
23
|
});
|
|
22
24
|
/** @internal */
|
|
@@ -25,6 +27,7 @@ export const UsageInfo$outboundSchema = z.object({
|
|
|
25
27
|
completionTokens: z.int().default(0),
|
|
26
28
|
totalTokens: z.int().default(0),
|
|
27
29
|
promptAudioSeconds: z.nullable(z.int()).optional(),
|
|
30
|
+
serviceTier: z.nullable(z.string()).optional(),
|
|
28
31
|
}).catchall(z.any()).transform((v) => {
|
|
29
32
|
return {
|
|
30
33
|
...remap$(v, {
|
|
@@ -32,6 +35,7 @@ export const UsageInfo$outboundSchema = z.object({
|
|
|
32
35
|
completionTokens: "completion_tokens",
|
|
33
36
|
totalTokens: "total_tokens",
|
|
34
37
|
promptAudioSeconds: "prompt_audio_seconds",
|
|
38
|
+
serviceTier: "service_tier",
|
|
35
39
|
}),
|
|
36
40
|
};
|
|
37
41
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usageinfo.js","sourceRoot":"","sources":["../../../src/models/components/usageinfo.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IA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../errors/sdkvalidationerror.js";
|
|
4
|
+
export type UserOrganization = {
|
|
5
|
+
/**
|
|
6
|
+
* The organization's unique identifier.
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* The organization's display name.
|
|
11
|
+
*/
|
|
12
|
+
name: string;
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const UserOrganization$inboundSchema: z.ZodType<UserOrganization, unknown>;
|
|
16
|
+
export declare function userOrganizationFromJSON(jsonString: string): SafeParseResult<UserOrganization, SDKValidationError>;
|
|
17
|
+
//# sourceMappingURL=userorganization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userorganization.d.ts","sourceRoot":"","sources":["../../../src/models/components/userorganization.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,OAAO,CACpD,gBAAgB,EAChB,OAAO,CAIP,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAMvD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: f685bfb80176
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export const UserOrganization$inboundSchema = z.object({
|
|
9
|
+
id: z.string(),
|
|
10
|
+
name: z.string(),
|
|
11
|
+
});
|
|
12
|
+
export function userOrganizationFromJSON(jsonString) {
|
|
13
|
+
return safeParse(jsonString, (x) => UserOrganization$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UserOrganization' from JSON`);
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=userorganization.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userorganization.js","sourceRoot":"","sources":["../../../src/models/components/userorganization.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAejD,gBAAgB;AAChB,MAAM,CAAC,MAAM,8BAA8B,GAGvC,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAC;AAEH,MAAM,UAAU,wBAAwB,CACtC,UAAkB,EACqC;IACvD,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8BAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type UserWorkspace = {
|
|
5
|
+
/**
|
|
6
|
+
* The workspace's unique identifier.
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* The workspace's display name.
|
|
11
|
+
*/
|
|
12
|
+
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* The identifier of the organization this workspace belongs to.
|
|
15
|
+
*/
|
|
16
|
+
organizationId: string;
|
|
17
|
+
};
|
|
18
|
+
/** @internal */
|
|
19
|
+
export declare const UserWorkspace$inboundSchema: z.ZodType<UserWorkspace, unknown>;
|
|
20
|
+
export declare function userWorkspaceFromJSON(jsonString: string): SafeParseResult<UserWorkspace, SDKValidationError>;
|
|
21
|
+
//# sourceMappingURL=userworkspace.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userworkspace.d.ts","sourceRoot":"","sources":["../../../src/models/components/userworkspace.ts"],"names":[],"mappings":"AAKA,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,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,EAAE,OAAO,CAStE,CAAC;AAEL,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 7a0cb86aee63
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
/** @internal */
|
|
9
|
+
export const UserWorkspace$inboundSchema = z
|
|
10
|
+
.object({
|
|
11
|
+
id: z.string(),
|
|
12
|
+
name: z.string(),
|
|
13
|
+
organization_id: z.string(),
|
|
14
|
+
}).transform((v) => {
|
|
15
|
+
return remap$(v, {
|
|
16
|
+
"organization_id": "organizationId",
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
export function userWorkspaceFromJSON(jsonString) {
|
|
20
|
+
return safeParse(jsonString, (x) => UserWorkspace$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UserWorkspace' from JSON`);
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=userworkspace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userworkspace.js","sourceRoot":"","sources":["../../../src/models/components/userworkspace.ts"],"names":[],"mappings":"AAAA;;;GAGG;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;AAmBjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B,GAAsC,CAAC;KAC5E,MAAM,CAAC;IACN,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAClB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,iBAAiB,EAAE,gBAAgB;KACpC,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEL,MAAM,UAAU,qBAAqB,CACnC,UAAkB,EACkC;IACpD,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2BAA2B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvD,2CAA2C,CAC5C,CAAC;AAAA,CACH"}
|
|
@@ -13,6 +13,10 @@ export type WorkflowExecutionCanceledAttributes = {
|
|
|
13
13
|
* Optional reason provided for the cancellation.
|
|
14
14
|
*/
|
|
15
15
|
reason?: string | null | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Workflow retry attempt number. 1 on first run and CAN; >1 on workflow-level retries.
|
|
18
|
+
*/
|
|
19
|
+
attempt: number;
|
|
16
20
|
};
|
|
17
21
|
/** @internal */
|
|
18
22
|
export declare const WorkflowExecutionCanceledAttributes$inboundSchema: z.ZodType<WorkflowExecutionCanceledAttributes, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflowexecutioncanceledattributes.d.ts","sourceRoot":"","sources":["../../../src/models/components/workflowexecutioncanceledattributes.ts"],"names":[],"mappings":"AAKA,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,mCAAmC,GAAG;IAChD;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"workflowexecutioncanceledattributes.d.ts","sourceRoot":"","sources":["../../../src/models/components/workflowexecutioncanceledattributes.ts"],"names":[],"mappings":"AAKA,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,mCAAmC,GAAG;IAChD;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iDAAiD,EAAE,CAAC,CAAC,OAAO,CACvE,mCAAmC,EACnC,OAAO,CASP,CAAC;AAEH,wBAAgB,2CAA2C,CACzD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mCAAmC,EAAE,kBAAkB,CAAC,CAO1E"}
|
|
@@ -9,6 +9,7 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
9
9
|
export const WorkflowExecutionCanceledAttributes$inboundSchema = z.object({
|
|
10
10
|
task_id: z.string(),
|
|
11
11
|
reason: z.nullable(z.string()).optional(),
|
|
12
|
+
attempt: z.int().default(1),
|
|
12
13
|
}).transform((v) => {
|
|
13
14
|
return remap$(v, {
|
|
14
15
|
"task_id": "taskId",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflowexecutioncanceledattributes.js","sourceRoot":"","sources":["../../../src/models/components/workflowexecutioncanceledattributes.ts"],"names":[],"mappings":"AAAA;;;GAGG;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":"workflowexecutioncanceledattributes.js","sourceRoot":"","sources":["../../../src/models/components/workflowexecutioncanceledattributes.ts"],"names":[],"mappings":"AAAA;;;GAGG;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;AAsBjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,iDAAiD,GAG1D,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACzC,OAAO,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;CAC5B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAClB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,SAAS,EAAE,QAAQ;KACpB,CAAC,CAAC;AAAA,CACJ,CAAC,CAAC;AAEH,MAAM,UAAU,2CAA2C,CACzD,UAAkB,EACwD;IAC1E,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,iDAAiD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxE,iEAAiE,CAClE,CAAC;AAAA,CACH"}
|
|
@@ -26,6 +26,18 @@ export type WorkflowExecutionCanceledResponse = {
|
|
|
26
26
|
* Execution ID of the parent workflow that initiated this execution. If this is a root workflow, this field is not set.
|
|
27
27
|
*/
|
|
28
28
|
parentWorkflowExecId: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* Run ID of the execution this run continued from. Non-null for continue-as-new runs.
|
|
31
|
+
*/
|
|
32
|
+
continuedRunId: string | null;
|
|
33
|
+
/**
|
|
34
|
+
* Run ID of the first execution in this workflow chain. Equals workflow_run_id on fresh starts and resets (chain anchor resets on reset); differs on CAN and Retry runs where it stays anchored to the original first run.
|
|
35
|
+
*/
|
|
36
|
+
firstExecutionRunId: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* Temporal schedule ID that triggered this execution, if any.
|
|
39
|
+
*/
|
|
40
|
+
scheduleId: string | null;
|
|
29
41
|
/**
|
|
30
42
|
* Execution ID of the workflow that emitted this event.
|
|
31
43
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflowexecutioncanceledresponse.d.ts","sourceRoot":"","sources":["../../../src/models/components/workflowexecutioncanceledresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,mCAAmC,EAEpC,MAAM,0CAA0C,CAAC;AAElD;;;;;;GAMG;AACH,MAAM,MAAM,iCAAiC,GAAG;IAC9C;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,6BAA6B,CAAC;IACzC;;OAEG;IACH,UAAU,EAAE,mCAAmC,CAAC;CACjD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,iCAAiC,EACjC,OAAO,
|
|
1
|
+
{"version":3,"file":"workflowexecutioncanceledresponse.d.ts","sourceRoot":"","sources":["../../../src/models/components/workflowexecutioncanceledresponse.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,mCAAmC,EAEpC,MAAM,0CAA0C,CAAC;AAElD;;;;;;GAMG;AACH,MAAM,MAAM,iCAAiC,GAAG;IAC9C;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;OAEG;IACH,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,6BAA6B,CAAC;IACzC;;OAEG;IACH,UAAU,EAAE,mCAAmC,CAAC;CACjD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+CAA+C,EAAE,CAAC,CAAC,OAAO,CACrE,iCAAiC,EACjC,OAAO,CA8BP,CAAC;AAEH,wBAAgB,yCAAyC,CACvD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iCAAiC,EAAE,kBAAkB,CAAC,CAMxE"}
|
|
@@ -12,6 +12,9 @@ export const WorkflowExecutionCanceledResponse$inboundSchema = z.object({
|
|
|
12
12
|
event_timestamp: z.int(),
|
|
13
13
|
root_workflow_exec_id: z.string(),
|
|
14
14
|
parent_workflow_exec_id: z.nullable(z.string()),
|
|
15
|
+
continued_run_id: z.nullable(z.string()),
|
|
16
|
+
first_execution_run_id: z.nullable(z.string()),
|
|
17
|
+
schedule_id: z.nullable(z.string()),
|
|
15
18
|
workflow_exec_id: z.string(),
|
|
16
19
|
workflow_run_id: z.string(),
|
|
17
20
|
workflow_name: z.string(),
|
|
@@ -23,6 +26,9 @@ export const WorkflowExecutionCanceledResponse$inboundSchema = z.object({
|
|
|
23
26
|
"event_timestamp": "eventTimestamp",
|
|
24
27
|
"root_workflow_exec_id": "rootWorkflowExecId",
|
|
25
28
|
"parent_workflow_exec_id": "parentWorkflowExecId",
|
|
29
|
+
"continued_run_id": "continuedRunId",
|
|
30
|
+
"first_execution_run_id": "firstExecutionRunId",
|
|
31
|
+
"schedule_id": "scheduleId",
|
|
26
32
|
"workflow_exec_id": "workflowExecId",
|
|
27
33
|
"workflow_run_id": "workflowRunId",
|
|
28
34
|
"workflow_name": "workflowName",
|