agmission/Development/client/src/app/auth/models/user.model.ts

28 lines
554 B
TypeScript

import { AGNavSubscription, Trial } from "@app/domain/models/subscription.model";
export interface UserModel {
_id: string;
name: string;
username: string;
roles: any;
parent: any;
lang: string;
pre: number;
billable?: boolean;
membership?: IMembership,
contact: string;
country?: string;
partner?: string;
}
export interface IMembership {
custId: string;
endOfPeriod?: Number;
subscriptions?: AGNavSubscription[];
trials?: Trial;
customLimits?: {
maxVehicles?: number | null;
maxAcres?: number | null;
};
}