@meetkai/mka1 0.53.29 → 0.53.30
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 +247 -226
- package/bin/mcp-server.js +1825 -688
- package/bin/mcp-server.js.map +38 -9
- package/dist/commonjs/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts +16 -0
- package/dist/commonjs/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js +130 -0
- package/dist/commonjs/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js.map +1 -0
- package/dist/commonjs/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts +15 -0
- package/dist/commonjs/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js +125 -0
- package/dist/commonjs/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js.map +1 -0
- package/dist/commonjs/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts +14 -0
- package/dist/commonjs/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js +125 -0
- package/dist/commonjs/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js.map +1 -0
- package/dist/commonjs/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +15 -0
- package/dist/commonjs/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js +125 -0
- package/dist/commonjs/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -0
- package/dist/commonjs/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts +15 -0
- package/dist/commonjs/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js +125 -0
- package/dist/commonjs/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js.map +1 -0
- package/dist/commonjs/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts +15 -0
- package/dist/commonjs/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js +125 -0
- package/dist/commonjs/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js.map +1 -0
- package/dist/commonjs/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts +16 -0
- package/dist/commonjs/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts.map +1 -0
- package/dist/commonjs/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js +132 -0
- package/dist/commonjs/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +15 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js +63 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js +63 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js +62 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js +63 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js +63 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js +63 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js +63 -0
- package/dist/commonjs/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js.map +1 -0
- package/dist/commonjs/models/components/authorizeintent.d.ts +21 -0
- package/dist/commonjs/models/components/authorizeintent.d.ts.map +1 -0
- package/dist/commonjs/models/components/authorizeintent.js +73 -0
- package/dist/commonjs/models/components/authorizeintent.js.map +1 -0
- package/dist/commonjs/models/components/connectedrepository.d.ts +25 -0
- package/dist/commonjs/models/components/connectedrepository.d.ts.map +1 -0
- package/dist/commonjs/models/components/connectedrepository.js +77 -0
- package/dist/commonjs/models/components/connectedrepository.js.map +1 -0
- package/dist/commonjs/models/components/connection.d.ts +26 -0
- package/dist/commonjs/models/components/connection.d.ts.map +1 -0
- package/dist/commonjs/models/components/connection.js +80 -0
- package/dist/commonjs/models/components/connection.js.map +1 -0
- package/dist/commonjs/models/components/connectionenvelope.d.ts +21 -0
- package/dist/commonjs/models/components/connectionenvelope.d.ts.map +1 -0
- package/dist/commonjs/models/components/connectionenvelope.js +59 -0
- package/dist/commonjs/models/components/connectionenvelope.js.map +1 -0
- package/dist/commonjs/models/components/connectrequest.d.ts +19 -0
- package/dist/commonjs/models/components/connectrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/connectrequest.js +60 -0
- package/dist/commonjs/models/components/connectrequest.js.map +1 -0
- package/dist/commonjs/models/components/githubreadclonerequest.d.ts +0 -2
- package/dist/commonjs/models/components/githubreadclonerequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/githubreadclonerequest.js +0 -4
- package/dist/commonjs/models/components/githubreadclonerequest.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +8 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +8 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/repositorylist.d.ts +18 -0
- package/dist/commonjs/models/components/repositorylist.d.ts.map +1 -0
- package/dist/commonjs/models/components/repositorylist.js +59 -0
- package/dist/commonjs/models/components/repositorylist.js.map +1 -0
- package/dist/commonjs/models/components/resolvedreference.d.ts +27 -0
- package/dist/commonjs/models/components/resolvedreference.d.ts.map +1 -0
- package/dist/commonjs/models/components/resolvedreference.js +79 -0
- package/dist/commonjs/models/components/resolvedreference.js.map +1 -0
- package/dist/commonjs/models/components/resolvereferencerequest.d.ts +19 -0
- package/dist/commonjs/models/components/resolvereferencerequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/resolvereferencerequest.js +69 -0
- package/dist/commonjs/models/components/resolvereferencerequest.js.map +1 -0
- package/dist/commonjs/models/operations/connectapiv1sandboxgithuboauthconnectionspost.d.ts +23 -0
- package/dist/commonjs/models/operations/connectapiv1sandboxgithuboauthconnectionspost.d.ts.map +1 -0
- package/dist/commonjs/models/operations/connectapiv1sandboxgithuboauthconnectionspost.js +72 -0
- package/dist/commonjs/models/operations/connectapiv1sandboxgithuboauthconnectionspost.js.map +1 -0
- package/dist/commonjs/models/operations/createintentapiv1sandboxgithuboauthintentspost.d.ts +20 -0
- package/dist/commonjs/models/operations/createintentapiv1sandboxgithuboauthintentspost.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createintentapiv1sandboxgithuboauthintentspost.js +67 -0
- package/dist/commonjs/models/operations/createintentapiv1sandboxgithuboauthintentspost.js.map +1 -0
- package/dist/commonjs/models/operations/disconnectapiv1sandboxgithuboauthconnectionsdelete.d.ts +20 -0
- package/dist/commonjs/models/operations/disconnectapiv1sandboxgithuboauthconnectionsdelete.d.ts.map +1 -0
- package/dist/commonjs/models/operations/disconnectapiv1sandboxgithuboauthconnectionsdelete.js +69 -0
- package/dist/commonjs/models/operations/disconnectapiv1sandboxgithuboauthconnectionsdelete.js.map +1 -0
- package/dist/commonjs/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.d.ts +20 -0
- package/dist/commonjs/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.js +69 -0
- package/dist/commonjs/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +7 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +7 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/listrepositoriesapiv1sandboxgithubrepositoriesget.d.ts +20 -0
- package/dist/commonjs/models/operations/listrepositoriesapiv1sandboxgithubrepositoriesget.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listrepositoriesapiv1sandboxgithubrepositoriesget.js +69 -0
- package/dist/commonjs/models/operations/listrepositoriesapiv1sandboxgithubrepositoriesget.js.map +1 -0
- package/dist/commonjs/models/operations/refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost.d.ts +20 -0
- package/dist/commonjs/models/operations/refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost.d.ts.map +1 -0
- package/dist/commonjs/models/operations/refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost.js +69 -0
- package/dist/commonjs/models/operations/refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost.js.map +1 -0
- package/dist/commonjs/models/operations/resolvereferenceapiv1sandboxgithubrepositoriesresolvepost.d.ts +23 -0
- package/dist/commonjs/models/operations/resolvereferenceapiv1sandboxgithubrepositoriesresolvepost.d.ts.map +1 -0
- package/dist/commonjs/models/operations/resolvereferenceapiv1sandboxgithubrepositoriesresolvepost.js +74 -0
- package/dist/commonjs/models/operations/resolvereferenceapiv1sandboxgithubrepositoriesresolvepost.js.map +1 -0
- package/dist/commonjs/react-query/index.d.ts +7 -0
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +7 -0
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts +27 -0
- package/dist/commonjs/react-query/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js +48 -0
- package/dist/commonjs/react-query/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts +26 -0
- package/dist/commonjs/react-query/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js +48 -0
- package/dist/commonjs/react-query/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts +25 -0
- package/dist/commonjs/react-query/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js +48 -0
- package/dist/commonjs/react-query/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.d.ts +15 -0
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.js +41 -0
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +28 -0
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js +63 -0
- package/dist/commonjs/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.core.d.ts +15 -0
- package/dist/commonjs/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.core.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.core.js +41 -0
- package/dist/commonjs/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.core.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts +28 -0
- package/dist/commonjs/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js +63 -0
- package/dist/commonjs/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts +26 -0
- package/dist/commonjs/react-query/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js +48 -0
- package/dist/commonjs/react-query/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js.map +1 -0
- package/dist/commonjs/react-query/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts +27 -0
- package/dist/commonjs/react-query/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts.map +1 -0
- package/dist/commonjs/react-query/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js +48 -0
- package/dist/commonjs/react-query/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js.map +1 -0
- package/dist/commonjs/sdk/schema3other.d.ts +28 -0
- package/dist/commonjs/sdk/schema3other.d.ts.map +1 -1
- package/dist/commonjs/sdk/schema3other.js +49 -0
- package/dist/commonjs/sdk/schema3other.js.map +1 -1
- package/dist/esm/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts +16 -0
- package/dist/esm/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js +94 -0
- package/dist/esm/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js.map +1 -0
- package/dist/esm/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts +15 -0
- package/dist/esm/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js +89 -0
- package/dist/esm/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js.map +1 -0
- package/dist/esm/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts +14 -0
- package/dist/esm/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js +89 -0
- package/dist/esm/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js.map +1 -0
- package/dist/esm/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +15 -0
- package/dist/esm/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js +89 -0
- package/dist/esm/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -0
- package/dist/esm/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts +15 -0
- package/dist/esm/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js +89 -0
- package/dist/esm/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js.map +1 -0
- package/dist/esm/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts +15 -0
- package/dist/esm/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js +89 -0
- package/dist/esm/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js.map +1 -0
- package/dist/esm/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts +16 -0
- package/dist/esm/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts.map +1 -0
- package/dist/esm/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js +96 -0
- package/dist/esm/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +15 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js +27 -0
- package/dist/esm/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js +27 -0
- package/dist/esm/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js +26 -0
- package/dist/esm/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js +27 -0
- package/dist/esm/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js +27 -0
- package/dist/esm/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js +27 -0
- package/dist/esm/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts +8 -0
- package/dist/esm/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js +27 -0
- package/dist/esm/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js.map +1 -0
- package/dist/esm/models/components/authorizeintent.d.ts +21 -0
- package/dist/esm/models/components/authorizeintent.d.ts.map +1 -0
- package/dist/esm/models/components/authorizeintent.js +35 -0
- package/dist/esm/models/components/authorizeintent.js.map +1 -0
- package/dist/esm/models/components/connectedrepository.d.ts +25 -0
- package/dist/esm/models/components/connectedrepository.d.ts.map +1 -0
- package/dist/esm/models/components/connectedrepository.js +39 -0
- package/dist/esm/models/components/connectedrepository.js.map +1 -0
- package/dist/esm/models/components/connection.d.ts +26 -0
- package/dist/esm/models/components/connection.d.ts.map +1 -0
- package/dist/esm/models/components/connection.js +42 -0
- package/dist/esm/models/components/connection.js.map +1 -0
- package/dist/esm/models/components/connectionenvelope.d.ts +21 -0
- package/dist/esm/models/components/connectionenvelope.d.ts.map +1 -0
- package/dist/esm/models/components/connectionenvelope.js +21 -0
- package/dist/esm/models/components/connectionenvelope.js.map +1 -0
- package/dist/esm/models/components/connectrequest.d.ts +19 -0
- package/dist/esm/models/components/connectrequest.d.ts.map +1 -0
- package/dist/esm/models/components/connectrequest.js +22 -0
- package/dist/esm/models/components/connectrequest.js.map +1 -0
- package/dist/esm/models/components/githubreadclonerequest.d.ts +0 -2
- package/dist/esm/models/components/githubreadclonerequest.d.ts.map +1 -1
- package/dist/esm/models/components/githubreadclonerequest.js +0 -4
- package/dist/esm/models/components/githubreadclonerequest.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +8 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +8 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/repositorylist.d.ts +18 -0
- package/dist/esm/models/components/repositorylist.d.ts.map +1 -0
- package/dist/esm/models/components/repositorylist.js +21 -0
- package/dist/esm/models/components/repositorylist.js.map +1 -0
- package/dist/esm/models/components/resolvedreference.d.ts +27 -0
- package/dist/esm/models/components/resolvedreference.d.ts.map +1 -0
- package/dist/esm/models/components/resolvedreference.js +41 -0
- package/dist/esm/models/components/resolvedreference.js.map +1 -0
- package/dist/esm/models/components/resolvereferencerequest.d.ts +19 -0
- package/dist/esm/models/components/resolvereferencerequest.d.ts.map +1 -0
- package/dist/esm/models/components/resolvereferencerequest.js +31 -0
- package/dist/esm/models/components/resolvereferencerequest.js.map +1 -0
- package/dist/esm/models/operations/connectapiv1sandboxgithuboauthconnectionspost.d.ts +23 -0
- package/dist/esm/models/operations/connectapiv1sandboxgithuboauthconnectionspost.d.ts.map +1 -0
- package/dist/esm/models/operations/connectapiv1sandboxgithuboauthconnectionspost.js +34 -0
- package/dist/esm/models/operations/connectapiv1sandboxgithuboauthconnectionspost.js.map +1 -0
- package/dist/esm/models/operations/createintentapiv1sandboxgithuboauthintentspost.d.ts +20 -0
- package/dist/esm/models/operations/createintentapiv1sandboxgithuboauthintentspost.d.ts.map +1 -0
- package/dist/esm/models/operations/createintentapiv1sandboxgithuboauthintentspost.js +29 -0
- package/dist/esm/models/operations/createintentapiv1sandboxgithuboauthintentspost.js.map +1 -0
- package/dist/esm/models/operations/disconnectapiv1sandboxgithuboauthconnectionsdelete.d.ts +20 -0
- package/dist/esm/models/operations/disconnectapiv1sandboxgithuboauthconnectionsdelete.d.ts.map +1 -0
- package/dist/esm/models/operations/disconnectapiv1sandboxgithuboauthconnectionsdelete.js +31 -0
- package/dist/esm/models/operations/disconnectapiv1sandboxgithuboauthconnectionsdelete.js.map +1 -0
- package/dist/esm/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.d.ts +20 -0
- package/dist/esm/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.d.ts.map +1 -0
- package/dist/esm/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.js +31 -0
- package/dist/esm/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +7 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +7 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/listrepositoriesapiv1sandboxgithubrepositoriesget.d.ts +20 -0
- package/dist/esm/models/operations/listrepositoriesapiv1sandboxgithubrepositoriesget.d.ts.map +1 -0
- package/dist/esm/models/operations/listrepositoriesapiv1sandboxgithubrepositoriesget.js +31 -0
- package/dist/esm/models/operations/listrepositoriesapiv1sandboxgithubrepositoriesget.js.map +1 -0
- package/dist/esm/models/operations/refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost.d.ts +20 -0
- package/dist/esm/models/operations/refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost.d.ts.map +1 -0
- package/dist/esm/models/operations/refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost.js +31 -0
- package/dist/esm/models/operations/refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost.js.map +1 -0
- package/dist/esm/models/operations/resolvereferenceapiv1sandboxgithubrepositoriesresolvepost.d.ts +23 -0
- package/dist/esm/models/operations/resolvereferenceapiv1sandboxgithubrepositoriesresolvepost.d.ts.map +1 -0
- package/dist/esm/models/operations/resolvereferenceapiv1sandboxgithubrepositoriesresolvepost.js +36 -0
- package/dist/esm/models/operations/resolvereferenceapiv1sandboxgithubrepositoriesresolvepost.js.map +1 -0
- package/dist/esm/react-query/index.d.ts +7 -0
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +7 -0
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts +27 -0
- package/dist/esm/react-query/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js +43 -0
- package/dist/esm/react-query/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js.map +1 -0
- package/dist/esm/react-query/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts +26 -0
- package/dist/esm/react-query/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js +43 -0
- package/dist/esm/react-query/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js.map +1 -0
- package/dist/esm/react-query/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts +25 -0
- package/dist/esm/react-query/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js +43 -0
- package/dist/esm/react-query/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js.map +1 -0
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.d.ts +15 -0
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.js +36 -0
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.js.map +1 -0
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts +28 -0
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js +53 -0
- package/dist/esm/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js.map +1 -0
- package/dist/esm/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.core.d.ts +15 -0
- package/dist/esm/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.core.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.core.js +36 -0
- package/dist/esm/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.core.js.map +1 -0
- package/dist/esm/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts +28 -0
- package/dist/esm/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js +53 -0
- package/dist/esm/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js.map +1 -0
- package/dist/esm/react-query/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts +26 -0
- package/dist/esm/react-query/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js +43 -0
- package/dist/esm/react-query/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js.map +1 -0
- package/dist/esm/react-query/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts +27 -0
- package/dist/esm/react-query/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.d.ts.map +1 -0
- package/dist/esm/react-query/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js +43 -0
- package/dist/esm/react-query/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js.map +1 -0
- package/dist/esm/sdk/schema3other.d.ts +28 -0
- package/dist/esm/sdk/schema3other.d.ts.map +1 -1
- package/dist/esm/sdk/schema3other.js +49 -0
- package/dist/esm/sdk/schema3other.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.ts +187 -0
- package/src/funcs/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.ts +177 -0
- package/src/funcs/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts +177 -0
- package/src/funcs/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts +177 -0
- package/src/funcs/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts +177 -0
- package/src/funcs/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts +180 -0
- package/src/funcs/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts +192 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +19 -1
- package/src/mcp-server/tools/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.ts +39 -0
- package/src/mcp-server/tools/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.ts +40 -0
- package/src/mcp-server/tools/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts +38 -0
- package/src/mcp-server/tools/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts +40 -0
- package/src/mcp-server/tools/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts +40 -0
- package/src/mcp-server/tools/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts +40 -0
- package/src/mcp-server/tools/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts +40 -0
- package/src/models/components/authorizeintent.ts +68 -0
- package/src/models/components/connectedrepository.ts +78 -0
- package/src/models/components/connection.ts +82 -0
- package/src/models/components/connectionenvelope.ts +60 -0
- package/src/models/components/connectrequest.ts +51 -0
- package/src/models/components/githubreadclonerequest.ts +0 -6
- package/src/models/components/index.ts +8 -0
- package/src/models/components/repositorylist.ts +53 -0
- package/src/models/components/resolvedreference.ts +82 -0
- package/src/models/components/resolvereferencerequest.ts +64 -0
- package/src/models/operations/connectapiv1sandboxgithuboauthconnectionspost.ts +81 -0
- package/src/models/operations/createintentapiv1sandboxgithuboauthintentspost.ts +74 -0
- package/src/models/operations/disconnectapiv1sandboxgithuboauthconnectionsdelete.ts +73 -0
- package/src/models/operations/getconnectionapiv1sandboxgithuboauthconnectionsget.ts +73 -0
- package/src/models/operations/index.ts +7 -0
- package/src/models/operations/listrepositoriesapiv1sandboxgithubrepositoriesget.ts +73 -0
- package/src/models/operations/refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost.ts +76 -0
- package/src/models/operations/resolvereferenceapiv1sandboxgithubrepositoriesresolvepost.ts +80 -0
- package/src/react-query/index.ts +7 -0
- package/src/react-query/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.ts +128 -0
- package/src/react-query/schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.ts +126 -0
- package/src/react-query/schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.ts +126 -0
- package/src/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.core.ts +89 -0
- package/src/react-query/schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.ts +149 -0
- package/src/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.core.ts +89 -0
- package/src/react-query/schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.ts +149 -0
- package/src/react-query/schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.ts +127 -0
- package/src/react-query/schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.ts +129 -0
- package/src/sdk/schema3other.ts +124 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* Optional external end-user identifier forwarded by the API gateway.
|
|
14
|
+
*/
|
|
15
|
+
xOnBehalfOf?: string | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$inboundSchema:
|
|
20
|
+
z.ZodType<
|
|
21
|
+
DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest,
|
|
22
|
+
z.ZodTypeDef,
|
|
23
|
+
unknown
|
|
24
|
+
> = z.object({
|
|
25
|
+
"X-On-Behalf-Of": z.string().optional(),
|
|
26
|
+
}).transform((v) => {
|
|
27
|
+
return remap$(v, {
|
|
28
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$Outbound =
|
|
33
|
+
{
|
|
34
|
+
"X-On-Behalf-Of"?: string | undefined;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$outboundSchema:
|
|
39
|
+
z.ZodType<
|
|
40
|
+
DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$Outbound,
|
|
41
|
+
z.ZodTypeDef,
|
|
42
|
+
DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest
|
|
43
|
+
> = z.object({
|
|
44
|
+
xOnBehalfOf: z.string().optional(),
|
|
45
|
+
}).transform((v) => {
|
|
46
|
+
return remap$(v, {
|
|
47
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
export function disconnectApiV1SandboxGithubOauthConnectionsDeleteRequestToJSON(
|
|
52
|
+
disconnectApiV1SandboxGithubOauthConnectionsDeleteRequest:
|
|
53
|
+
DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest,
|
|
54
|
+
): string {
|
|
55
|
+
return JSON.stringify(
|
|
56
|
+
DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$outboundSchema
|
|
57
|
+
.parse(disconnectApiV1SandboxGithubOauthConnectionsDeleteRequest),
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
export function disconnectApiV1SandboxGithubOauthConnectionsDeleteRequestFromJSON(
|
|
61
|
+
jsonString: string,
|
|
62
|
+
): SafeParseResult<
|
|
63
|
+
DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest,
|
|
64
|
+
SDKValidationError
|
|
65
|
+
> {
|
|
66
|
+
return safeParse(
|
|
67
|
+
jsonString,
|
|
68
|
+
(x) =>
|
|
69
|
+
DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest$inboundSchema
|
|
70
|
+
.parse(JSON.parse(x)),
|
|
71
|
+
`Failed to parse 'DisconnectApiV1SandboxGithubOauthConnectionsDeleteRequest' from JSON`,
|
|
72
|
+
);
|
|
73
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* Optional external end-user identifier forwarded by the API gateway.
|
|
14
|
+
*/
|
|
15
|
+
xOnBehalfOf?: string | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$inboundSchema:
|
|
20
|
+
z.ZodType<
|
|
21
|
+
GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest,
|
|
22
|
+
z.ZodTypeDef,
|
|
23
|
+
unknown
|
|
24
|
+
> = z.object({
|
|
25
|
+
"X-On-Behalf-Of": z.string().optional(),
|
|
26
|
+
}).transform((v) => {
|
|
27
|
+
return remap$(v, {
|
|
28
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$Outbound =
|
|
33
|
+
{
|
|
34
|
+
"X-On-Behalf-Of"?: string | undefined;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$outboundSchema:
|
|
39
|
+
z.ZodType<
|
|
40
|
+
GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$Outbound,
|
|
41
|
+
z.ZodTypeDef,
|
|
42
|
+
GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest
|
|
43
|
+
> = z.object({
|
|
44
|
+
xOnBehalfOf: z.string().optional(),
|
|
45
|
+
}).transform((v) => {
|
|
46
|
+
return remap$(v, {
|
|
47
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
export function getConnectionApiV1SandboxGithubOauthConnectionsGetRequestToJSON(
|
|
52
|
+
getConnectionApiV1SandboxGithubOauthConnectionsGetRequest:
|
|
53
|
+
GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest,
|
|
54
|
+
): string {
|
|
55
|
+
return JSON.stringify(
|
|
56
|
+
GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$outboundSchema
|
|
57
|
+
.parse(getConnectionApiV1SandboxGithubOauthConnectionsGetRequest),
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
export function getConnectionApiV1SandboxGithubOauthConnectionsGetRequestFromJSON(
|
|
61
|
+
jsonString: string,
|
|
62
|
+
): SafeParseResult<
|
|
63
|
+
GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest,
|
|
64
|
+
SDKValidationError
|
|
65
|
+
> {
|
|
66
|
+
return safeParse(
|
|
67
|
+
jsonString,
|
|
68
|
+
(x) =>
|
|
69
|
+
GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest$inboundSchema
|
|
70
|
+
.parse(JSON.parse(x)),
|
|
71
|
+
`Failed to parse 'GetConnectionApiV1SandboxGithubOauthConnectionsGetRequest' from JSON`,
|
|
72
|
+
);
|
|
73
|
+
}
|
|
@@ -18,6 +18,7 @@ export * from "./classifytext.js";
|
|
|
18
18
|
export * from "./clearclusterprice.js";
|
|
19
19
|
export * from "./clearorgprice.js";
|
|
20
20
|
export * from "./compactresponse.js";
|
|
21
|
+
export * from "./connectapiv1sandboxgithuboauthconnectionspost.js";
|
|
21
22
|
export * from "./conversationscreate.js";
|
|
22
23
|
export * from "./conversationsdelete.js";
|
|
23
24
|
export * from "./conversationsitemscreate.js";
|
|
@@ -45,6 +46,7 @@ export * from "./createevalsuite.js";
|
|
|
45
46
|
export * from "./createevalsuiteversion.js";
|
|
46
47
|
export * from "./createextractschema.js";
|
|
47
48
|
export * from "./createimage.js";
|
|
49
|
+
export * from "./createintentapiv1sandboxgithuboauthintentspost.js";
|
|
48
50
|
export * from "./createjob.js";
|
|
49
51
|
export * from "./createmcpcredential.js";
|
|
50
52
|
export * from "./createmcpserver.js";
|
|
@@ -98,6 +100,7 @@ export * from "./deleteteam.js";
|
|
|
98
100
|
export * from "./deletetexttospeechhistory.js";
|
|
99
101
|
export * from "./deletevectorstore.js";
|
|
100
102
|
export * from "./deletevectorstorefile.js";
|
|
103
|
+
export * from "./disconnectapiv1sandboxgithuboauthconnectionsdelete.js";
|
|
101
104
|
export * from "./downloadworkspacearchive.js";
|
|
102
105
|
export * from "./downloadworkspacefile.js";
|
|
103
106
|
export * from "./embed.js";
|
|
@@ -123,6 +126,7 @@ export * from "./getcompletionsusage.js";
|
|
|
123
126
|
export * from "./getcomputesecret.js";
|
|
124
127
|
export * from "./getcomputetenant.js";
|
|
125
128
|
export * from "./getcomputeusage.js";
|
|
129
|
+
export * from "./getconnectionapiv1sandboxgithuboauthconnectionsget.js";
|
|
126
130
|
export * from "./getconversationsusage.js";
|
|
127
131
|
export * from "./getcosts.js";
|
|
128
132
|
export * from "./getcostsusage.js";
|
|
@@ -225,6 +229,7 @@ export * from "./listpreconfiguredskills.js";
|
|
|
225
229
|
export * from "./listprompts.js";
|
|
226
230
|
export * from "./listpromptversions.js";
|
|
227
231
|
export * from "./listrepos.js";
|
|
232
|
+
export * from "./listrepositoriesapiv1sandboxgithubrepositoriesget.js";
|
|
228
233
|
export * from "./listresponsefeedback.js";
|
|
229
234
|
export * from "./listresponses.js";
|
|
230
235
|
export * from "./listscopedapikeys.js";
|
|
@@ -256,12 +261,14 @@ export * from "./proxybrowserportrequest.js";
|
|
|
256
261
|
export * from "./putcomputetenant.js";
|
|
257
262
|
export * from "./putorgautomodel.js";
|
|
258
263
|
export * from "./readcloneapiv1sandboxsessionssessionidgithubreadclonepost.js";
|
|
264
|
+
export * from "./refreshrepositoriesapiv1sandboxgithubrepositoriesrefreshpost.js";
|
|
259
265
|
export * from "./regeneratescopedapikey.js";
|
|
260
266
|
export * from "./regenerateserviceaccountapikey.js";
|
|
261
267
|
export * from "./reissueownerkey.js";
|
|
262
268
|
export * from "./removeteammember.js";
|
|
263
269
|
export * from "./replacemodelcatalogorgaccess.js";
|
|
264
270
|
export * from "./rerunfailedevalsamples.js";
|
|
271
|
+
export * from "./resolvereferenceapiv1sandboxgithubrepositoriesresolvepost.js";
|
|
265
272
|
export * from "./resumeagentschedule.js";
|
|
266
273
|
export * from "./resumefinetuningjob.js";
|
|
267
274
|
export * from "./retrievefinetuningjob.js";
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* Optional external end-user identifier forwarded by the API gateway.
|
|
14
|
+
*/
|
|
15
|
+
xOnBehalfOf?: string | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$inboundSchema:
|
|
20
|
+
z.ZodType<
|
|
21
|
+
ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest,
|
|
22
|
+
z.ZodTypeDef,
|
|
23
|
+
unknown
|
|
24
|
+
> = z.object({
|
|
25
|
+
"X-On-Behalf-Of": z.string().optional(),
|
|
26
|
+
}).transform((v) => {
|
|
27
|
+
return remap$(v, {
|
|
28
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$Outbound =
|
|
33
|
+
{
|
|
34
|
+
"X-On-Behalf-Of"?: string | undefined;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$outboundSchema:
|
|
39
|
+
z.ZodType<
|
|
40
|
+
ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$Outbound,
|
|
41
|
+
z.ZodTypeDef,
|
|
42
|
+
ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest
|
|
43
|
+
> = z.object({
|
|
44
|
+
xOnBehalfOf: z.string().optional(),
|
|
45
|
+
}).transform((v) => {
|
|
46
|
+
return remap$(v, {
|
|
47
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
export function listRepositoriesApiV1SandboxGithubRepositoriesGetRequestToJSON(
|
|
52
|
+
listRepositoriesApiV1SandboxGithubRepositoriesGetRequest:
|
|
53
|
+
ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest,
|
|
54
|
+
): string {
|
|
55
|
+
return JSON.stringify(
|
|
56
|
+
ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$outboundSchema
|
|
57
|
+
.parse(listRepositoriesApiV1SandboxGithubRepositoriesGetRequest),
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
export function listRepositoriesApiV1SandboxGithubRepositoriesGetRequestFromJSON(
|
|
61
|
+
jsonString: string,
|
|
62
|
+
): SafeParseResult<
|
|
63
|
+
ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest,
|
|
64
|
+
SDKValidationError
|
|
65
|
+
> {
|
|
66
|
+
return safeParse(
|
|
67
|
+
jsonString,
|
|
68
|
+
(x) =>
|
|
69
|
+
ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest$inboundSchema
|
|
70
|
+
.parse(JSON.parse(x)),
|
|
71
|
+
`Failed to parse 'ListRepositoriesApiV1SandboxGithubRepositoriesGetRequest' from JSON`,
|
|
72
|
+
);
|
|
73
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest =
|
|
12
|
+
{
|
|
13
|
+
/**
|
|
14
|
+
* Optional external end-user identifier forwarded by the API gateway.
|
|
15
|
+
*/
|
|
16
|
+
xOnBehalfOf?: string | undefined;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$inboundSchema:
|
|
21
|
+
z.ZodType<
|
|
22
|
+
RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest,
|
|
23
|
+
z.ZodTypeDef,
|
|
24
|
+
unknown
|
|
25
|
+
> = z.object({
|
|
26
|
+
"X-On-Behalf-Of": z.string().optional(),
|
|
27
|
+
}).transform((v) => {
|
|
28
|
+
return remap$(v, {
|
|
29
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
/** @internal */
|
|
33
|
+
export type RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$Outbound =
|
|
34
|
+
{
|
|
35
|
+
"X-On-Behalf-Of"?: string | undefined;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
/** @internal */
|
|
39
|
+
export const RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$outboundSchema:
|
|
40
|
+
z.ZodType<
|
|
41
|
+
RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$Outbound,
|
|
42
|
+
z.ZodTypeDef,
|
|
43
|
+
RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest
|
|
44
|
+
> = z.object({
|
|
45
|
+
xOnBehalfOf: z.string().optional(),
|
|
46
|
+
}).transform((v) => {
|
|
47
|
+
return remap$(v, {
|
|
48
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
export function refreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequestToJSON(
|
|
53
|
+
refreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest:
|
|
54
|
+
RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest,
|
|
55
|
+
): string {
|
|
56
|
+
return JSON.stringify(
|
|
57
|
+
RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$outboundSchema
|
|
58
|
+
.parse(
|
|
59
|
+
refreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest,
|
|
60
|
+
),
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
export function refreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequestFromJSON(
|
|
64
|
+
jsonString: string,
|
|
65
|
+
): SafeParseResult<
|
|
66
|
+
RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest,
|
|
67
|
+
SDKValidationError
|
|
68
|
+
> {
|
|
69
|
+
return safeParse(
|
|
70
|
+
jsonString,
|
|
71
|
+
(x) =>
|
|
72
|
+
RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest$inboundSchema
|
|
73
|
+
.parse(JSON.parse(x)),
|
|
74
|
+
`Failed to parse 'RefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPostRequest' from JSON`,
|
|
75
|
+
);
|
|
76
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import * as components from "../components/index.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest = {
|
|
13
|
+
/**
|
|
14
|
+
* Optional external end-user identifier forwarded by the API gateway.
|
|
15
|
+
*/
|
|
16
|
+
xOnBehalfOf?: string | undefined;
|
|
17
|
+
resolveReferenceRequest: components.ResolveReferenceRequest;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$inboundSchema:
|
|
22
|
+
z.ZodType<
|
|
23
|
+
ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
unknown
|
|
26
|
+
> = z.object({
|
|
27
|
+
"X-On-Behalf-Of": z.string().optional(),
|
|
28
|
+
ResolveReferenceRequest: components.ResolveReferenceRequest$inboundSchema,
|
|
29
|
+
}).transform((v) => {
|
|
30
|
+
return remap$(v, {
|
|
31
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
32
|
+
"ResolveReferenceRequest": "resolveReferenceRequest",
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
/** @internal */
|
|
36
|
+
export type ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$Outbound =
|
|
37
|
+
{
|
|
38
|
+
"X-On-Behalf-Of"?: string | undefined;
|
|
39
|
+
ResolveReferenceRequest: components.ResolveReferenceRequest$Outbound;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
/** @internal */
|
|
43
|
+
export const ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$outboundSchema:
|
|
44
|
+
z.ZodType<
|
|
45
|
+
ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$Outbound,
|
|
46
|
+
z.ZodTypeDef,
|
|
47
|
+
ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest
|
|
48
|
+
> = z.object({
|
|
49
|
+
xOnBehalfOf: z.string().optional(),
|
|
50
|
+
resolveReferenceRequest: components.ResolveReferenceRequest$outboundSchema,
|
|
51
|
+
}).transform((v) => {
|
|
52
|
+
return remap$(v, {
|
|
53
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
54
|
+
resolveReferenceRequest: "ResolveReferenceRequest",
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
export function resolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequestToJSON(
|
|
59
|
+
resolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest:
|
|
60
|
+
ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest,
|
|
61
|
+
): string {
|
|
62
|
+
return JSON.stringify(
|
|
63
|
+
ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$outboundSchema
|
|
64
|
+
.parse(resolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest),
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
export function resolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequestFromJSON(
|
|
68
|
+
jsonString: string,
|
|
69
|
+
): SafeParseResult<
|
|
70
|
+
ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest,
|
|
71
|
+
SDKValidationError
|
|
72
|
+
> {
|
|
73
|
+
return safeParse(
|
|
74
|
+
jsonString,
|
|
75
|
+
(x) =>
|
|
76
|
+
ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest$inboundSchema
|
|
77
|
+
.parse(JSON.parse(x)),
|
|
78
|
+
`Failed to parse 'ResolveReferenceApiV1SandboxGithubRepositoriesResolvePostRequest' from JSON`,
|
|
79
|
+
);
|
|
80
|
+
}
|
package/src/react-query/index.ts
CHANGED
|
@@ -327,6 +327,13 @@ export * from "./sandboxSetPricing.js";
|
|
|
327
327
|
export * from "./sandboxTerminate.js";
|
|
328
328
|
export * from "./sandboxUploadArchive.js";
|
|
329
329
|
export * from "./sandboxUploadFile.js";
|
|
330
|
+
export * from "./schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js";
|
|
331
|
+
export * from "./schema3OtherCreateIntentApiV1SandboxGithubOauthIntentsPost.js";
|
|
332
|
+
export * from "./schema3OtherDisconnectApiV1SandboxGithubOauthConnectionsDelete.js";
|
|
333
|
+
export * from "./schema3OtherGetConnectionApiV1SandboxGithubOauthConnectionsGet.js";
|
|
334
|
+
export * from "./schema3OtherListRepositoriesApiV1SandboxGithubRepositoriesGet.js";
|
|
330
335
|
export * from "./schema3OtherReadCloneApiV1SandboxSessionsSessionIdGithubReadClonePost.js";
|
|
336
|
+
export * from "./schema3OtherRefreshRepositoriesApiV1SandboxGithubRepositoriesRefreshPost.js";
|
|
337
|
+
export * from "./schema3OtherResolveReferenceApiV1SandboxGithubRepositoriesResolvePost.js";
|
|
331
338
|
export * from "./usageCosts.js";
|
|
332
339
|
export * from "./usageSandbox.js";
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
MutationKey,
|
|
7
|
+
useMutation,
|
|
8
|
+
UseMutationResult,
|
|
9
|
+
} from "@tanstack/react-query";
|
|
10
|
+
import { SDKCore } from "../core.js";
|
|
11
|
+
import { schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost } from "../funcs/schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost.js";
|
|
12
|
+
import { combineSignals } from "../lib/primitives.js";
|
|
13
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
14
|
+
import * as components from "../models/components/index.js";
|
|
15
|
+
import {
|
|
16
|
+
ConnectionError,
|
|
17
|
+
InvalidRequestError,
|
|
18
|
+
RequestAbortedError,
|
|
19
|
+
RequestTimeoutError,
|
|
20
|
+
UnexpectedClientError,
|
|
21
|
+
} from "../models/errors/httpclienterrors.js";
|
|
22
|
+
import * as errors from "../models/errors/index.js";
|
|
23
|
+
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
24
|
+
import { SDKError } from "../models/errors/sdkerror.js";
|
|
25
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
26
|
+
import * as operations from "../models/operations/index.js";
|
|
27
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
28
|
+
import { useSDKContext } from "./_context.js";
|
|
29
|
+
import { MutationHookOptions } from "./_types.js";
|
|
30
|
+
|
|
31
|
+
export type Schema3OtherConnectApiV1SandboxGithubOauthConnectionsPostMutationVariables =
|
|
32
|
+
{
|
|
33
|
+
request: operations.ConnectApiV1SandboxGithubOauthConnectionsPostRequest;
|
|
34
|
+
options?: RequestOptions;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export type Schema3OtherConnectApiV1SandboxGithubOauthConnectionsPostMutationData =
|
|
38
|
+
components.Connection;
|
|
39
|
+
|
|
40
|
+
export type Schema3OtherConnectApiV1SandboxGithubOauthConnectionsPostMutationError =
|
|
41
|
+
| errors.HTTPValidationError
|
|
42
|
+
| SDKError
|
|
43
|
+
| ResponseValidationError
|
|
44
|
+
| ConnectionError
|
|
45
|
+
| RequestAbortedError
|
|
46
|
+
| RequestTimeoutError
|
|
47
|
+
| InvalidRequestError
|
|
48
|
+
| UnexpectedClientError
|
|
49
|
+
| SDKValidationError;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Connect
|
|
53
|
+
*/
|
|
54
|
+
export function useSchema3OtherConnectApiV1SandboxGithubOauthConnectionsPostMutation(
|
|
55
|
+
options?: MutationHookOptions<
|
|
56
|
+
Schema3OtherConnectApiV1SandboxGithubOauthConnectionsPostMutationData,
|
|
57
|
+
Schema3OtherConnectApiV1SandboxGithubOauthConnectionsPostMutationError,
|
|
58
|
+
Schema3OtherConnectApiV1SandboxGithubOauthConnectionsPostMutationVariables
|
|
59
|
+
>,
|
|
60
|
+
): UseMutationResult<
|
|
61
|
+
Schema3OtherConnectApiV1SandboxGithubOauthConnectionsPostMutationData,
|
|
62
|
+
Schema3OtherConnectApiV1SandboxGithubOauthConnectionsPostMutationError,
|
|
63
|
+
Schema3OtherConnectApiV1SandboxGithubOauthConnectionsPostMutationVariables
|
|
64
|
+
> {
|
|
65
|
+
const client = useSDKContext();
|
|
66
|
+
return useMutation({
|
|
67
|
+
...buildSchema3OtherConnectApiV1SandboxGithubOauthConnectionsPostMutation(
|
|
68
|
+
client,
|
|
69
|
+
options,
|
|
70
|
+
),
|
|
71
|
+
...options,
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function mutationKeySchema3OtherConnectApiV1SandboxGithubOauthConnectionsPost(): MutationKey {
|
|
76
|
+
return [
|
|
77
|
+
"@meetkai/mka1",
|
|
78
|
+
"schema-3_other",
|
|
79
|
+
"connectApiV1SandboxGithubOauthConnectionsPost",
|
|
80
|
+
];
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function buildSchema3OtherConnectApiV1SandboxGithubOauthConnectionsPostMutation(
|
|
84
|
+
client$: SDKCore,
|
|
85
|
+
hookOptions?: RequestOptions,
|
|
86
|
+
): {
|
|
87
|
+
mutationKey: MutationKey;
|
|
88
|
+
mutationFn: (
|
|
89
|
+
variables:
|
|
90
|
+
Schema3OtherConnectApiV1SandboxGithubOauthConnectionsPostMutationVariables,
|
|
91
|
+
) => Promise<
|
|
92
|
+
Schema3OtherConnectApiV1SandboxGithubOauthConnectionsPostMutationData
|
|
93
|
+
>;
|
|
94
|
+
} {
|
|
95
|
+
return {
|
|
96
|
+
mutationKey:
|
|
97
|
+
mutationKeySchema3OtherConnectApiV1SandboxGithubOauthConnectionsPost(),
|
|
98
|
+
mutationFn:
|
|
99
|
+
function schema3OtherConnectApiV1SandboxGithubOauthConnectionsPostMutationFn(
|
|
100
|
+
{
|
|
101
|
+
request,
|
|
102
|
+
options,
|
|
103
|
+
},
|
|
104
|
+
): Promise<
|
|
105
|
+
Schema3OtherConnectApiV1SandboxGithubOauthConnectionsPostMutationData
|
|
106
|
+
> {
|
|
107
|
+
const mergedOptions = {
|
|
108
|
+
...hookOptions,
|
|
109
|
+
...options,
|
|
110
|
+
fetchOptions: {
|
|
111
|
+
...hookOptions?.fetchOptions,
|
|
112
|
+
...options?.fetchOptions,
|
|
113
|
+
signal: combineSignals(
|
|
114
|
+
hookOptions?.fetchOptions?.signal,
|
|
115
|
+
options?.fetchOptions?.signal,
|
|
116
|
+
),
|
|
117
|
+
},
|
|
118
|
+
};
|
|
119
|
+
return unwrapAsync(
|
|
120
|
+
schema3OtherConnectApiV1SandboxGithubOauthConnectionsPost(
|
|
121
|
+
client$,
|
|
122
|
+
request,
|
|
123
|
+
mergedOptions,
|
|
124
|
+
),
|
|
125
|
+
);
|
|
126
|
+
},
|
|
127
|
+
};
|
|
128
|
+
}
|