UNPKG

@sethub/sdk

Version:

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

33 lines (32 loc) 1.05 kB
import type { SetHubProtocols } from '../../../common/types/common'; import type { HttpClientProtocols } from '../../../http/protocols/client.protocols'; type CreateProjectUpdateSetFailure = { code: 'internal'; message: string; }; export declare namespace CreateProjectUpdateSet { type Input = { projectSlug: string; name: string; assigneeMemberId: string; application?: string; batchId?: string; promotedToQaAt?: Date; promotedToProdAt?: Date; }; type APIInput = { name: string; assignee_member_id: string; application: string | null; batch_id: string | null; promoted_to_qa_at: Date | null; promoted_to_prod_at: Date | null; }; type Options = Pick<HttpClientProtocols.PostOptions, 'abortSignal'>; type Success = void; type ErrorCodes = 'internal'; type Failure = CreateProjectUpdateSetFailure; type Output = Success | Failure; type Response = SetHubProtocols.Response<Success, Failure>; } export {};