Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | 8x 8x 8x 8x 8x 2x | import { NAME as APPLICATION_NAME } from '../FapiApplication';
import AFapiListBatch from './AFapiListBatch';
export const NAME = `${APPLICATION_NAME}-get-project-list-batch`;
export default class FapiGetProjectListBatch extends AFapiListBatch<unknown, IOutput> {
public getName(): string {
return NAME;
}
protected getUrl(): string {
return 'projects';
}
}
export interface IOutput {
/* eslint-disable @typescript-eslint/naming-convention */
id: number;
hidden: boolean;
name: string;
code: string;
email: string;
is_default: boolean;
has_different_logo: boolean;
logo: string;
has_different_signature: boolean;
signature: string;
has_different_bank_account_set: boolean;
bank_account_set: boolean;
has_different_sender: boolean;
sender_email: string;
sender_name: string;
sender_reply_to: string;
forms: {
id: number;
name: string;
path: string;
}[];
/* eslint-enable @typescript-eslint/naming-convention */
}
|