@alisdigital/types-library
Version:
TypeScript type definitions for Papilet ecosystem with session soft delete and event management features
46 lines (45 loc) • 1.19 kB
TypeScript
import { IImageModelAttributes } from "../../Base/entities/image.entity";
export interface IOrganizerModelAttributes {
_id: string;
information: {
status: "approved" | "pending" | "rejected";
rejectReason?: string | undefined;
title?: string;
commissionRate: number;
serviceFee: number;
isShowTotalRevenue: boolean;
};
address: {
city: {
_id: string;
name: string;
} | string;
district: string;
description: string;
};
files?: {
taxPlate?: IImageModelAttributes;
signatureDeclarations?: IImageModelAttributes;
identityDocument: IImageModelAttributes;
tradeRegistryGazette?: IImageModelAttributes;
};
invoice: {
companyName: string;
taxOffice: string;
taxNumber: string;
address: string;
contractDate: Date;
isCreateInvoice?: boolean;
type: "E-fatura" | "E-arşiv";
};
bank: {
bankName: string;
iban: string;
};
affiliate: {
slug?: string;
rate?: number;
day?: number;
isShowAffiliate?: boolean;
};
}