UNPKG

@sethub/sdk

Version:

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

22 lines (21 loc) 749 B
import type { SetHubProtocols } from '../../../common/types/common'; import type { HttpClientProtocols } from '../../../http/protocols/client.protocols'; import type { EditableMemberRole } from './member'; type UpdateProjectMemberRoleFailure = { code: 'internal'; message: string; }; export declare namespace UpdateProjectMemberRole { type Input = { projectSlug: string; id: string; role: EditableMemberRole; }; type Options = Pick<HttpClientProtocols.PostOptions, 'abortSignal'>; type Success = void; type ErrorCodes = 'internal'; type Failure = UpdateProjectMemberRoleFailure; type Output = Success | Failure; type Response = SetHubProtocols.Response<Success, Failure>; } export {};