UNPKG

@cranberry-money/shared-types

Version:

Shared TypeScript type definitions for Blueberry platform

22 lines 632 B
import type { BaseOperationResponse } from '../../common/base-patterns'; export interface UserDocument { uuid: string; documentType: string; createdAt: string; status: string; downloadUrl?: string; } export interface GenerateDocumentPayload { documentType: string; } export type GenerateDocumentResponse = Pick<BaseOperationResponse, 'uuid'>; export interface SignDocumentResponse extends BaseOperationResponse { signedAt: string; } export interface DocumentQueryParams { document_type?: string; status?: string; page?: number; page_size?: number; } //# sourceMappingURL=document.d.ts.map