UNPKG

ecoledirecte-api-types

Version:

If you need a EcoleDirecte client for JavaScript, this isn't the right place! This way: [ecoledirecte.js](https://github.com/a2br/ecoledirecte.js).

40 lines 986 B
import { failureRes } from "../failure"; export declare type walletsRes = walletsResSuccess | failureRes; export declare type walletsResSuccess = { code: 200; token: string; host: string; data: walletsResData; }; export declare type walletsResData = { comptes: compte[]; }; export declare type typeCompte = "portemonnaie" | "pmactivite"; export declare type compte = { id: number; idEleve: number; typeCompte: typeCompte; disponible: boolean; montantVersement: number; montantModifiable: boolean; quantiteModifiable: boolean; codeCompte: string; idServiceClasse: number; libelle: string; libelleCompte: string; solde: number; avenir: unknown[]; ecritures: ecriture[]; }; export declare type ecriture = { /** * YYYY-MM-DD */ date: string; libelle: string; lettrage: string; infoComp: string; montant: number; ecritures?: ecriture[]; }; //# sourceMappingURL=wallets.d.ts.map