@sethub/sdk
Version:
<div align="center"> <h1> SetHub SDK </h1>
17 lines (16 loc) • 595 B
TypeScript
import type { SetHubProtocols } from '../../../common/types/common';
import type { HttpClientProtocols } from '../../../http/protocols/client.protocols';
import { Profile } from './profile';
type GetMyProfileFailure = {
code: 'internal';
message: string;
};
export declare namespace GetMyProfile {
type Options = Pick<HttpClientProtocols.PostOptions, 'abortSignal'>;
type Success = Profile;
type ErrorCodes = 'internal';
type Failure = GetMyProfileFailure;
type Output = Success | Failure;
type Response = SetHubProtocols.Response<Success, Failure>;
}
export {};