UNPKG

phx-node

Version:

PHX NODE

30 lines (29 loc) 1.14 kB
import { DETAIL_PROMO_TYPE } from "./types/tuition"; export declare const timeYearActive: string; export declare const nextYearDate: string; export declare const prevYearDate: string; export declare const parseToObject: (value: string) => Record<string, string>; export declare const findAdjustmentForTuition: (list_detail_fee_adjustment: Array<any>) => any; export declare const findAdjustmentForOtherService: (list_detail_fee_adjustment: Array<any>) => any; export declare const getTotalDetailPromoByCode: (list_detail_promo: any[], code: DETAIL_PROMO_TYPE) => number; export declare const sumTotalFee: (listFee: Array<any>, isFeeAdjustment?: boolean) => number; export declare const generateValue: (value: number) => number; export declare const PHXConvertHeadersRequest: (headers: object) => { authorizationId: number; appId: any; app: any; hostname: any; phoneNumber: any; parentId: number; studentId: number; language: any; os: any; osVersion: any; deviceModel: any; deviceId: any; listUserSchool: { user_id: number; hostname: string; }[]; userId: number; };