/** * Common API response wrapper. * The SDK reads `result`; the other fields are carried for compatibility. * Note: VeroCompliance does not send the legacy ABP `__abp` marker, and the SDK never read it. */ export interface ApiResponse { result: T; targetUrl: string | null; success: boolean; error: ApiError | null; unAuthorized: boolean; } /** * API error structure */ export interface ApiError { code: number; message: string; details: string | null; validationErrors: ValidationError[] | null; } /** * Validation error */ export interface ValidationError { message: string; members: string[]; } /** * Country DTO */ export interface CountryDto { id: number; name: string; abbreviation: string; abbreviation3: string; /** Dial/phone code, e.g. "+43" — only populated when type=PhoneNumber (40) */ countryCode?: string; } /** * Branch (industry) DTO returned by BaseInformation/GetBranches. * The data forms an adjacency-list tree: traverse by passing the parentId of a node back * to GetBranches to fetch its children. `hasChild` indicates whether more levels exist. */ export interface BranchDto { id: number; code?: string; titleEn?: string; titleDe?: string; parentId: number; hasChild: boolean; } /** * Legal entity DTO returned by BaseInformation/GetLegalEntities. * Mirrors the same adjacency-list tree shape as BranchDto. */ export interface LegalEntityDto { id: number; titleEn?: string; titleDe?: string; parentId: number; hasChild: boolean; } /** * File data for uploads */ export interface FileData { fileName: string; fileData: string; } /** * Pagination parameters */ export interface PagedRequest { skipCount?: number; maxResultCount?: number; sorting?: string; } /** * Paged result wrapper */ export interface PagedResult { items: T[]; totalCount: number; } //# sourceMappingURL=common.d.ts.map