cecon-interfaces
Version:
Interfaces de Projetos Cecon
32 lines (31 loc) • 936 B
TypeScript
import { EPayioActivationKeyStatus } from '../enums/activation-key-status.enum';
import { EPayioLicenseType } from '../enums/license-type.enum';
export interface IPayioActivationKey {
activatedAt: Date | null;
allowMultipleTrialActivations: boolean;
allowMultipleTrialCount: number;
allowMultipleTrialLimit: number;
amount: number;
appId: string;
appSlug: string | null;
companyId: string | null;
companyName: string | null;
createdAt: Date;
expiredAt: Date | null;
expiresAt: Date | null;
gracePeriodDays: number;
id: string;
key: string | null;
licenseType: EPayioLicenseType;
logs: string[];
machineUid: string;
notes: string | null;
paidAt: Date | null;
paymentId: string | null;
paymentMethod: string | null;
revokedAt: Date | null;
status: EPayioActivationKeyStatus;
tags: string[];
updatedAt: Date;
periodDays: number;
}