@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,82 @@
|
|
|
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
|
+
import {
|
|
11
|
+
ConnectedRepository,
|
|
12
|
+
ConnectedRepository$inboundSchema,
|
|
13
|
+
ConnectedRepository$Outbound,
|
|
14
|
+
ConnectedRepository$outboundSchema,
|
|
15
|
+
} from "./connectedrepository.js";
|
|
16
|
+
|
|
17
|
+
export type Connection = {
|
|
18
|
+
githubLogin: string;
|
|
19
|
+
githubUserId: number;
|
|
20
|
+
scopes: string;
|
|
21
|
+
syncedAt: Date;
|
|
22
|
+
repositories: Array<ConnectedRepository>;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const Connection$inboundSchema: z.ZodType<
|
|
27
|
+
Connection,
|
|
28
|
+
z.ZodTypeDef,
|
|
29
|
+
unknown
|
|
30
|
+
> = z.object({
|
|
31
|
+
github_login: z.string(),
|
|
32
|
+
github_user_id: z.number().int(),
|
|
33
|
+
scopes: z.string(),
|
|
34
|
+
synced_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
35
|
+
repositories: z.array(ConnectedRepository$inboundSchema),
|
|
36
|
+
}).transform((v) => {
|
|
37
|
+
return remap$(v, {
|
|
38
|
+
"github_login": "githubLogin",
|
|
39
|
+
"github_user_id": "githubUserId",
|
|
40
|
+
"synced_at": "syncedAt",
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
/** @internal */
|
|
44
|
+
export type Connection$Outbound = {
|
|
45
|
+
github_login: string;
|
|
46
|
+
github_user_id: number;
|
|
47
|
+
scopes: string;
|
|
48
|
+
synced_at: string;
|
|
49
|
+
repositories: Array<ConnectedRepository$Outbound>;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/** @internal */
|
|
53
|
+
export const Connection$outboundSchema: z.ZodType<
|
|
54
|
+
Connection$Outbound,
|
|
55
|
+
z.ZodTypeDef,
|
|
56
|
+
Connection
|
|
57
|
+
> = z.object({
|
|
58
|
+
githubLogin: z.string(),
|
|
59
|
+
githubUserId: z.number().int(),
|
|
60
|
+
scopes: z.string(),
|
|
61
|
+
syncedAt: z.date().transform(v => v.toISOString()),
|
|
62
|
+
repositories: z.array(ConnectedRepository$outboundSchema),
|
|
63
|
+
}).transform((v) => {
|
|
64
|
+
return remap$(v, {
|
|
65
|
+
githubLogin: "github_login",
|
|
66
|
+
githubUserId: "github_user_id",
|
|
67
|
+
syncedAt: "synced_at",
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
export function connectionToJSON(connection: Connection): string {
|
|
72
|
+
return JSON.stringify(Connection$outboundSchema.parse(connection));
|
|
73
|
+
}
|
|
74
|
+
export function connectionFromJSON(
|
|
75
|
+
jsonString: string,
|
|
76
|
+
): SafeParseResult<Connection, SDKValidationError> {
|
|
77
|
+
return safeParse(
|
|
78
|
+
jsonString,
|
|
79
|
+
(x) => Connection$inboundSchema.parse(JSON.parse(x)),
|
|
80
|
+
`Failed to parse 'Connection' from JSON`,
|
|
81
|
+
);
|
|
82
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
Connection,
|
|
11
|
+
Connection$inboundSchema,
|
|
12
|
+
Connection$Outbound,
|
|
13
|
+
Connection$outboundSchema,
|
|
14
|
+
} from "./connection.js";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The caller's connection, or its absence. Never carries the token.
|
|
18
|
+
*/
|
|
19
|
+
export type ConnectionEnvelope = {
|
|
20
|
+
connection?: Connection | null | undefined;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const ConnectionEnvelope$inboundSchema: z.ZodType<
|
|
25
|
+
ConnectionEnvelope,
|
|
26
|
+
z.ZodTypeDef,
|
|
27
|
+
unknown
|
|
28
|
+
> = z.object({
|
|
29
|
+
connection: z.nullable(Connection$inboundSchema).optional(),
|
|
30
|
+
});
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type ConnectionEnvelope$Outbound = {
|
|
33
|
+
connection?: Connection$Outbound | null | undefined;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const ConnectionEnvelope$outboundSchema: z.ZodType<
|
|
38
|
+
ConnectionEnvelope$Outbound,
|
|
39
|
+
z.ZodTypeDef,
|
|
40
|
+
ConnectionEnvelope
|
|
41
|
+
> = z.object({
|
|
42
|
+
connection: z.nullable(Connection$outboundSchema).optional(),
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
export function connectionEnvelopeToJSON(
|
|
46
|
+
connectionEnvelope: ConnectionEnvelope,
|
|
47
|
+
): string {
|
|
48
|
+
return JSON.stringify(
|
|
49
|
+
ConnectionEnvelope$outboundSchema.parse(connectionEnvelope),
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
export function connectionEnvelopeFromJSON(
|
|
53
|
+
jsonString: string,
|
|
54
|
+
): SafeParseResult<ConnectionEnvelope, SDKValidationError> {
|
|
55
|
+
return safeParse(
|
|
56
|
+
jsonString,
|
|
57
|
+
(x) => ConnectionEnvelope$inboundSchema.parse(JSON.parse(x)),
|
|
58
|
+
`Failed to parse 'ConnectionEnvelope' from JSON`,
|
|
59
|
+
);
|
|
60
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type ConnectRequest = {
|
|
11
|
+
code: string;
|
|
12
|
+
state: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const ConnectRequest$inboundSchema: z.ZodType<
|
|
17
|
+
ConnectRequest,
|
|
18
|
+
z.ZodTypeDef,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.object({
|
|
21
|
+
code: z.string(),
|
|
22
|
+
state: z.string(),
|
|
23
|
+
});
|
|
24
|
+
/** @internal */
|
|
25
|
+
export type ConnectRequest$Outbound = {
|
|
26
|
+
code: string;
|
|
27
|
+
state: string;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/** @internal */
|
|
31
|
+
export const ConnectRequest$outboundSchema: z.ZodType<
|
|
32
|
+
ConnectRequest$Outbound,
|
|
33
|
+
z.ZodTypeDef,
|
|
34
|
+
ConnectRequest
|
|
35
|
+
> = z.object({
|
|
36
|
+
code: z.string(),
|
|
37
|
+
state: z.string(),
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
export function connectRequestToJSON(connectRequest: ConnectRequest): string {
|
|
41
|
+
return JSON.stringify(ConnectRequest$outboundSchema.parse(connectRequest));
|
|
42
|
+
}
|
|
43
|
+
export function connectRequestFromJSON(
|
|
44
|
+
jsonString: string,
|
|
45
|
+
): SafeParseResult<ConnectRequest, SDKValidationError> {
|
|
46
|
+
return safeParse(
|
|
47
|
+
jsonString,
|
|
48
|
+
(x) => ConnectRequest$inboundSchema.parse(JSON.parse(x)),
|
|
49
|
+
`Failed to parse 'ConnectRequest' from JSON`,
|
|
50
|
+
);
|
|
51
|
+
}
|
|
@@ -13,7 +13,6 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
13
13
|
*/
|
|
14
14
|
export type GitHubReadCloneRequest = {
|
|
15
15
|
assignmentGeneration: number;
|
|
16
|
-
installationId: number;
|
|
17
16
|
repositoryId: number;
|
|
18
17
|
owner: string;
|
|
19
18
|
repository: string;
|
|
@@ -27,7 +26,6 @@ export const GitHubReadCloneRequest$inboundSchema: z.ZodType<
|
|
|
27
26
|
unknown
|
|
28
27
|
> = z.object({
|
|
29
28
|
assignment_generation: z.number().int(),
|
|
30
|
-
installation_id: z.number().int(),
|
|
31
29
|
repository_id: z.number().int(),
|
|
32
30
|
owner: z.string(),
|
|
33
31
|
repository: z.string(),
|
|
@@ -35,7 +33,6 @@ export const GitHubReadCloneRequest$inboundSchema: z.ZodType<
|
|
|
35
33
|
}).transform((v) => {
|
|
36
34
|
return remap$(v, {
|
|
37
35
|
"assignment_generation": "assignmentGeneration",
|
|
38
|
-
"installation_id": "installationId",
|
|
39
36
|
"repository_id": "repositoryId",
|
|
40
37
|
"base_sha": "baseSha",
|
|
41
38
|
});
|
|
@@ -43,7 +40,6 @@ export const GitHubReadCloneRequest$inboundSchema: z.ZodType<
|
|
|
43
40
|
/** @internal */
|
|
44
41
|
export type GitHubReadCloneRequest$Outbound = {
|
|
45
42
|
assignment_generation: number;
|
|
46
|
-
installation_id: number;
|
|
47
43
|
repository_id: number;
|
|
48
44
|
owner: string;
|
|
49
45
|
repository: string;
|
|
@@ -57,7 +53,6 @@ export const GitHubReadCloneRequest$outboundSchema: z.ZodType<
|
|
|
57
53
|
GitHubReadCloneRequest
|
|
58
54
|
> = z.object({
|
|
59
55
|
assignmentGeneration: z.number().int(),
|
|
60
|
-
installationId: z.number().int(),
|
|
61
56
|
repositoryId: z.number().int(),
|
|
62
57
|
owner: z.string(),
|
|
63
58
|
repository: z.string(),
|
|
@@ -65,7 +60,6 @@ export const GitHubReadCloneRequest$outboundSchema: z.ZodType<
|
|
|
65
60
|
}).transform((v) => {
|
|
66
61
|
return remap$(v, {
|
|
67
62
|
assignmentGeneration: "assignment_generation",
|
|
68
|
-
installationId: "installation_id",
|
|
69
63
|
repositoryId: "repository_id",
|
|
70
64
|
baseSha: "base_sha",
|
|
71
65
|
});
|
|
@@ -27,6 +27,7 @@ export * from "./agenttextconfiguration.js";
|
|
|
27
27
|
export * from "./agentversion.js";
|
|
28
28
|
export * from "./agentversionlist.js";
|
|
29
29
|
export * from "./allowedtools.js";
|
|
30
|
+
export * from "./authorizeintent.js";
|
|
30
31
|
export * from "./autochunkingstrategy.js";
|
|
31
32
|
export * from "./autoendpoint.js";
|
|
32
33
|
export * from "./banwordsconfig.js";
|
|
@@ -132,6 +133,10 @@ export * from "./computevolume.js";
|
|
|
132
133
|
export * from "./computevolumedata.js";
|
|
133
134
|
export * from "./computevolumedatainput.js";
|
|
134
135
|
export * from "./computevolumeinput.js";
|
|
136
|
+
export * from "./connectedrepository.js";
|
|
137
|
+
export * from "./connection.js";
|
|
138
|
+
export * from "./connectionenvelope.js";
|
|
139
|
+
export * from "./connectrequest.js";
|
|
135
140
|
export * from "./containerfilecitation.js";
|
|
136
141
|
export * from "./conversation.js";
|
|
137
142
|
export * from "./conversationdeletedobject.js";
|
|
@@ -398,7 +403,10 @@ export * from "./registrymodelorigin.js";
|
|
|
398
403
|
export * from "./registrysource.js";
|
|
399
404
|
export * from "./reinforcementhyperparameters.js";
|
|
400
405
|
export * from "./repo.js";
|
|
406
|
+
export * from "./repositorylist.js";
|
|
401
407
|
export * from "./requestcounts.js";
|
|
408
|
+
export * from "./resolvedreference.js";
|
|
409
|
+
export * from "./resolvereferencerequest.js";
|
|
402
410
|
export * from "./resourcerole.js";
|
|
403
411
|
export * from "./responsecancelledevent.js";
|
|
404
412
|
export * from "./responsecodeinterpretercallcodedeltaevent.js";
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
ConnectedRepository,
|
|
11
|
+
ConnectedRepository$inboundSchema,
|
|
12
|
+
ConnectedRepository$Outbound,
|
|
13
|
+
ConnectedRepository$outboundSchema,
|
|
14
|
+
} from "./connectedrepository.js";
|
|
15
|
+
|
|
16
|
+
export type RepositoryList = {
|
|
17
|
+
repositories: Array<ConnectedRepository>;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const RepositoryList$inboundSchema: z.ZodType<
|
|
22
|
+
RepositoryList,
|
|
23
|
+
z.ZodTypeDef,
|
|
24
|
+
unknown
|
|
25
|
+
> = z.object({
|
|
26
|
+
repositories: z.array(ConnectedRepository$inboundSchema),
|
|
27
|
+
});
|
|
28
|
+
/** @internal */
|
|
29
|
+
export type RepositoryList$Outbound = {
|
|
30
|
+
repositories: Array<ConnectedRepository$Outbound>;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const RepositoryList$outboundSchema: z.ZodType<
|
|
35
|
+
RepositoryList$Outbound,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
RepositoryList
|
|
38
|
+
> = z.object({
|
|
39
|
+
repositories: z.array(ConnectedRepository$outboundSchema),
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
export function repositoryListToJSON(repositoryList: RepositoryList): string {
|
|
43
|
+
return JSON.stringify(RepositoryList$outboundSchema.parse(repositoryList));
|
|
44
|
+
}
|
|
45
|
+
export function repositoryListFromJSON(
|
|
46
|
+
jsonString: string,
|
|
47
|
+
): SafeParseResult<RepositoryList, SDKValidationError> {
|
|
48
|
+
return safeParse(
|
|
49
|
+
jsonString,
|
|
50
|
+
(x) => RepositoryList$inboundSchema.parse(JSON.parse(x)),
|
|
51
|
+
`Failed to parse 'RepositoryList' from JSON`,
|
|
52
|
+
);
|
|
53
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
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 ResolvedReference = {
|
|
12
|
+
repositoryId: number;
|
|
13
|
+
owner: string;
|
|
14
|
+
repository: string;
|
|
15
|
+
ref: string;
|
|
16
|
+
sha: string;
|
|
17
|
+
defaultBranch: string;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const ResolvedReference$inboundSchema: z.ZodType<
|
|
22
|
+
ResolvedReference,
|
|
23
|
+
z.ZodTypeDef,
|
|
24
|
+
unknown
|
|
25
|
+
> = z.object({
|
|
26
|
+
repository_id: z.number().int(),
|
|
27
|
+
owner: z.string(),
|
|
28
|
+
repository: z.string(),
|
|
29
|
+
ref: z.string(),
|
|
30
|
+
sha: z.string(),
|
|
31
|
+
default_branch: z.string(),
|
|
32
|
+
}).transform((v) => {
|
|
33
|
+
return remap$(v, {
|
|
34
|
+
"repository_id": "repositoryId",
|
|
35
|
+
"default_branch": "defaultBranch",
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type ResolvedReference$Outbound = {
|
|
40
|
+
repository_id: number;
|
|
41
|
+
owner: string;
|
|
42
|
+
repository: string;
|
|
43
|
+
ref: string;
|
|
44
|
+
sha: string;
|
|
45
|
+
default_branch: string;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const ResolvedReference$outboundSchema: z.ZodType<
|
|
50
|
+
ResolvedReference$Outbound,
|
|
51
|
+
z.ZodTypeDef,
|
|
52
|
+
ResolvedReference
|
|
53
|
+
> = z.object({
|
|
54
|
+
repositoryId: z.number().int(),
|
|
55
|
+
owner: z.string(),
|
|
56
|
+
repository: z.string(),
|
|
57
|
+
ref: z.string(),
|
|
58
|
+
sha: z.string(),
|
|
59
|
+
defaultBranch: z.string(),
|
|
60
|
+
}).transform((v) => {
|
|
61
|
+
return remap$(v, {
|
|
62
|
+
repositoryId: "repository_id",
|
|
63
|
+
defaultBranch: "default_branch",
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
export function resolvedReferenceToJSON(
|
|
68
|
+
resolvedReference: ResolvedReference,
|
|
69
|
+
): string {
|
|
70
|
+
return JSON.stringify(
|
|
71
|
+
ResolvedReference$outboundSchema.parse(resolvedReference),
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
export function resolvedReferenceFromJSON(
|
|
75
|
+
jsonString: string,
|
|
76
|
+
): SafeParseResult<ResolvedReference, SDKValidationError> {
|
|
77
|
+
return safeParse(
|
|
78
|
+
jsonString,
|
|
79
|
+
(x) => ResolvedReference$inboundSchema.parse(JSON.parse(x)),
|
|
80
|
+
`Failed to parse 'ResolvedReference' from JSON`,
|
|
81
|
+
);
|
|
82
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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 ResolveReferenceRequest = {
|
|
12
|
+
repositoryId: number;
|
|
13
|
+
ref?: string | null | undefined;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const ResolveReferenceRequest$inboundSchema: z.ZodType<
|
|
18
|
+
ResolveReferenceRequest,
|
|
19
|
+
z.ZodTypeDef,
|
|
20
|
+
unknown
|
|
21
|
+
> = z.object({
|
|
22
|
+
repository_id: z.number().int(),
|
|
23
|
+
ref: z.nullable(z.string()).optional(),
|
|
24
|
+
}).transform((v) => {
|
|
25
|
+
return remap$(v, {
|
|
26
|
+
"repository_id": "repositoryId",
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
/** @internal */
|
|
30
|
+
export type ResolveReferenceRequest$Outbound = {
|
|
31
|
+
repository_id: number;
|
|
32
|
+
ref?: string | null | undefined;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const ResolveReferenceRequest$outboundSchema: z.ZodType<
|
|
37
|
+
ResolveReferenceRequest$Outbound,
|
|
38
|
+
z.ZodTypeDef,
|
|
39
|
+
ResolveReferenceRequest
|
|
40
|
+
> = z.object({
|
|
41
|
+
repositoryId: z.number().int(),
|
|
42
|
+
ref: z.nullable(z.string()).optional(),
|
|
43
|
+
}).transform((v) => {
|
|
44
|
+
return remap$(v, {
|
|
45
|
+
repositoryId: "repository_id",
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
export function resolveReferenceRequestToJSON(
|
|
50
|
+
resolveReferenceRequest: ResolveReferenceRequest,
|
|
51
|
+
): string {
|
|
52
|
+
return JSON.stringify(
|
|
53
|
+
ResolveReferenceRequest$outboundSchema.parse(resolveReferenceRequest),
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
export function resolveReferenceRequestFromJSON(
|
|
57
|
+
jsonString: string,
|
|
58
|
+
): SafeParseResult<ResolveReferenceRequest, SDKValidationError> {
|
|
59
|
+
return safeParse(
|
|
60
|
+
jsonString,
|
|
61
|
+
(x) => ResolveReferenceRequest$inboundSchema.parse(JSON.parse(x)),
|
|
62
|
+
`Failed to parse 'ResolveReferenceRequest' from JSON`,
|
|
63
|
+
);
|
|
64
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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 ConnectApiV1SandboxGithubOauthConnectionsPostRequest = {
|
|
13
|
+
/**
|
|
14
|
+
* Optional external end-user identifier forwarded by the API gateway.
|
|
15
|
+
*/
|
|
16
|
+
xOnBehalfOf?: string | undefined;
|
|
17
|
+
connectRequest: components.ConnectRequest;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const ConnectApiV1SandboxGithubOauthConnectionsPostRequest$inboundSchema:
|
|
22
|
+
z.ZodType<
|
|
23
|
+
ConnectApiV1SandboxGithubOauthConnectionsPostRequest,
|
|
24
|
+
z.ZodTypeDef,
|
|
25
|
+
unknown
|
|
26
|
+
> = z.object({
|
|
27
|
+
"X-On-Behalf-Of": z.string().optional(),
|
|
28
|
+
ConnectRequest: components.ConnectRequest$inboundSchema,
|
|
29
|
+
}).transform((v) => {
|
|
30
|
+
return remap$(v, {
|
|
31
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
32
|
+
"ConnectRequest": "connectRequest",
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
/** @internal */
|
|
36
|
+
export type ConnectApiV1SandboxGithubOauthConnectionsPostRequest$Outbound = {
|
|
37
|
+
"X-On-Behalf-Of"?: string | undefined;
|
|
38
|
+
ConnectRequest: components.ConnectRequest$Outbound;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const ConnectApiV1SandboxGithubOauthConnectionsPostRequest$outboundSchema:
|
|
43
|
+
z.ZodType<
|
|
44
|
+
ConnectApiV1SandboxGithubOauthConnectionsPostRequest$Outbound,
|
|
45
|
+
z.ZodTypeDef,
|
|
46
|
+
ConnectApiV1SandboxGithubOauthConnectionsPostRequest
|
|
47
|
+
> = z.object({
|
|
48
|
+
xOnBehalfOf: z.string().optional(),
|
|
49
|
+
connectRequest: components.ConnectRequest$outboundSchema,
|
|
50
|
+
}).transform((v) => {
|
|
51
|
+
return remap$(v, {
|
|
52
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
53
|
+
connectRequest: "ConnectRequest",
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
export function connectApiV1SandboxGithubOauthConnectionsPostRequestToJSON(
|
|
58
|
+
connectApiV1SandboxGithubOauthConnectionsPostRequest:
|
|
59
|
+
ConnectApiV1SandboxGithubOauthConnectionsPostRequest,
|
|
60
|
+
): string {
|
|
61
|
+
return JSON.stringify(
|
|
62
|
+
ConnectApiV1SandboxGithubOauthConnectionsPostRequest$outboundSchema.parse(
|
|
63
|
+
connectApiV1SandboxGithubOauthConnectionsPostRequest,
|
|
64
|
+
),
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
export function connectApiV1SandboxGithubOauthConnectionsPostRequestFromJSON(
|
|
68
|
+
jsonString: string,
|
|
69
|
+
): SafeParseResult<
|
|
70
|
+
ConnectApiV1SandboxGithubOauthConnectionsPostRequest,
|
|
71
|
+
SDKValidationError
|
|
72
|
+
> {
|
|
73
|
+
return safeParse(
|
|
74
|
+
jsonString,
|
|
75
|
+
(x) =>
|
|
76
|
+
ConnectApiV1SandboxGithubOauthConnectionsPostRequest$inboundSchema.parse(
|
|
77
|
+
JSON.parse(x),
|
|
78
|
+
),
|
|
79
|
+
`Failed to parse 'ConnectApiV1SandboxGithubOauthConnectionsPostRequest' from JSON`,
|
|
80
|
+
);
|
|
81
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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 CreateIntentApiV1SandboxGithubOauthIntentsPostRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* Optional external end-user identifier forwarded by the API gateway.
|
|
14
|
+
*/
|
|
15
|
+
xOnBehalfOf?: string | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const CreateIntentApiV1SandboxGithubOauthIntentsPostRequest$inboundSchema:
|
|
20
|
+
z.ZodType<
|
|
21
|
+
CreateIntentApiV1SandboxGithubOauthIntentsPostRequest,
|
|
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 CreateIntentApiV1SandboxGithubOauthIntentsPostRequest$Outbound = {
|
|
33
|
+
"X-On-Behalf-Of"?: string | undefined;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const CreateIntentApiV1SandboxGithubOauthIntentsPostRequest$outboundSchema:
|
|
38
|
+
z.ZodType<
|
|
39
|
+
CreateIntentApiV1SandboxGithubOauthIntentsPostRequest$Outbound,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
CreateIntentApiV1SandboxGithubOauthIntentsPostRequest
|
|
42
|
+
> = z.object({
|
|
43
|
+
xOnBehalfOf: z.string().optional(),
|
|
44
|
+
}).transform((v) => {
|
|
45
|
+
return remap$(v, {
|
|
46
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
export function createIntentApiV1SandboxGithubOauthIntentsPostRequestToJSON(
|
|
51
|
+
createIntentApiV1SandboxGithubOauthIntentsPostRequest:
|
|
52
|
+
CreateIntentApiV1SandboxGithubOauthIntentsPostRequest,
|
|
53
|
+
): string {
|
|
54
|
+
return JSON.stringify(
|
|
55
|
+
CreateIntentApiV1SandboxGithubOauthIntentsPostRequest$outboundSchema.parse(
|
|
56
|
+
createIntentApiV1SandboxGithubOauthIntentsPostRequest,
|
|
57
|
+
),
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
export function createIntentApiV1SandboxGithubOauthIntentsPostRequestFromJSON(
|
|
61
|
+
jsonString: string,
|
|
62
|
+
): SafeParseResult<
|
|
63
|
+
CreateIntentApiV1SandboxGithubOauthIntentsPostRequest,
|
|
64
|
+
SDKValidationError
|
|
65
|
+
> {
|
|
66
|
+
return safeParse(
|
|
67
|
+
jsonString,
|
|
68
|
+
(x) =>
|
|
69
|
+
CreateIntentApiV1SandboxGithubOauthIntentsPostRequest$inboundSchema.parse(
|
|
70
|
+
JSON.parse(x),
|
|
71
|
+
),
|
|
72
|
+
`Failed to parse 'CreateIntentApiV1SandboxGithubOauthIntentsPostRequest' from JSON`,
|
|
73
|
+
);
|
|
74
|
+
}
|