mobyo-interfaces
Version:
Interfaces de Projetos Mobyo
47 lines (46 loc) • 1.52 kB
TypeScript
import { EDocType, IAddress, IDeliveryArea, IDeliveryAreaFixed, IMessagerChannel, IMobyoApiConfig, IOrigin, IPaymentProvider } from '../../general';
import { IInstallation } from '../../installation';
import { IFee } from '../../transaction';
import { EPixKeyTypes } from '../enums';
import { ICompanyContact } from './i-company-contact';
import { ICompanyCustomData } from './i-company-custom-data';
import { ICompanyTrialPlansUsed } from './i-company-trial-useds';
export interface ICompany {
active: boolean;
address: IAddress;
bgImageUrl: string | null;
config: IMobyoApiConfig | null;
contacts: ICompanyContact[];
containerId: string;
createdAt: Date;
customData: ICompanyCustomData;
deliveryArea: IDeliveryArea[];
deliveryAreaFixed?: IDeliveryAreaFixed | null;
doc: string;
docType: EDocType;
email: string;
fees: IFee[];
fullName: string;
goTransactionsLive: boolean;
id: string;
imageUrl: string | null;
installationDesenfila?: IInstallation;
internationalCode: string;
logoUrl: string | null;
/**@deprecated
* Use phoneNumberNotification instead
*/
messagerChannels: IMessagerChannel[];
name: string;
origin: IOrigin;
paymentProvider: IPaymentProvider;
phoneNumber: string;
phoneNumbersNotification: string[];
pixKey: string;
pixKeyType: EPixKeyTypes;
sandbox: boolean;
tags: string[];
updatedAt: Date;
usedTrialsPlans: ICompanyTrialPlansUsed[];
version: string;
}