@sethub/sdk
Version:
<div align="center"> <h1> SetHub SDK </h1>
35 lines (34 loc) • 1.11 kB
TypeScript
import type { SetHubProtocols } from '../../../common/types/common';
import type { HttpClientProtocols } from '../../../http/protocols/client.protocols';
import type { ApplicationDetails } from './application';
type GetProjectApplicationDetailsFailure = {
code: 'internal';
message: string;
};
export declare namespace GetProjectApplicationDetails {
type Input = {
projectSlug: string;
id: string;
};
type Options = Pick<HttpClientProtocols.PostOptions, 'abortSignal'>;
type APIResponse = {
id: string;
name: string;
created_at: string;
created_by_member: {
id: string;
user: {
id: string;
name: string;
email: string;
};
};
};
type ProjectApplicationDetails = ApplicationDetails;
type Success = ProjectApplicationDetails;
type ErrorCodes = 'internal';
type Failure = GetProjectApplicationDetailsFailure;
type Output = APIResponse | Failure;
type Response = SetHubProtocols.Response<Success, Failure>;
}
export {};