@sethub/sdk
Version:
<div align="center"> <h1> SetHub SDK </h1>
53 lines (52 loc) • 1.5 kB
TypeScript
import type { SetHubProtocols } from '../../../common/types/common';
import type { HttpClientProtocols } from '../../../http/protocols/client.protocols';
import type { UpdateSetDetails } from './update-set';
type GetProjectUpdateSetDetailsFailure = {
code: 'internal';
message: string;
};
export declare namespace GetProjectUpdateSetDetails {
type Input = {
projectSlug: string;
id: string;
};
type APIOutput = {
id: string;
name: string;
promoted_to_qa_at: string | null;
promoted_to_prod_at: string | null;
created_at: string;
updated_at: string;
batch: {
id: string;
name: string;
} | null;
application: {
id: string;
name: string;
} | null;
assignee_member: {
id: string;
user: {
id: string;
name: string;
email: string;
};
};
created_by_member: {
id: string;
user: {
id: string;
name: string;
email: string;
};
};
};
type Options = Pick<HttpClientProtocols.PostOptions, 'abortSignal'>;
type Success = UpdateSetDetails;
type ErrorCodes = 'internal';
type Failure = GetProjectUpdateSetDetailsFailure;
type Output = APIOutput | Failure;
type Response = SetHubProtocols.Response<Success, Failure>;
}
export {};