forked from Yara724/api
30 lines
733 B
TypeScript
30 lines
733 B
TypeScript
/**
|
|
* Native workflow status keys from blameCases (`CaseStatus`) or claimCases (`ClaimCaseStatus`),
|
|
* plus `all` = total matching documents for the tenant.
|
|
*/
|
|
export class BlameCaseStatusCountReportDtoRs {
|
|
[key: string]: number;
|
|
|
|
constructor(report: Record<string, number>) {
|
|
Object.assign(this, report);
|
|
}
|
|
}
|
|
|
|
export class ClaimCaseStatusCountReportDtoRs {
|
|
[key: string]: number;
|
|
|
|
constructor(report: Record<string, number>) {
|
|
Object.assign(this, report);
|
|
}
|
|
}
|
|
|
|
export class CompanyAllRequestsCountReportDtoRs {
|
|
blame: Record<string, number>;
|
|
claim: Record<string, number>;
|
|
|
|
constructor(blame: Record<string, number>, claim: Record<string, number>) {
|
|
this.blame = blame;
|
|
this.claim = claim;
|
|
}
|
|
}
|