UNPKG

@sethub/sdk

Version:

<div align="center"> <h1> SetHub SDK </h1>

20 lines (19 loc) 663 B
import type { SetHubProtocols } from '../../../common/types/common'; import type { HttpClientProtocols } from '../../../http/protocols/client.protocols'; type AcceptProjectInvitationFailure = { code: 'internal'; message: string; }; export declare namespace AcceptProjectInvitation { type Input = { projectSlug: string; id: string; }; type Options = Pick<HttpClientProtocols.PostOptions, 'abortSignal'>; type Success = void; type ErrorCodes = 'internal'; type Failure = AcceptProjectInvitationFailure; type Output = Success | Failure; type Response = SetHubProtocols.Response<Success, Failure>; } export {};