UNPKG

@arkasuryawan/gp-interfaces

Version:

Geonet Properties Data Interfaces

53 lines (52 loc) 1.62 kB
import { AddressInterface, AuditInterface, ProjectInterface, ProjectLotInterface, TenantType } from "../interfaces"; export declare type TenantAggregatorRequestType = "Requesting" | "Approved" | "Rejected"; export interface TenantInterface extends AuditInterface { legalName?: string; name?: string; status?: "Active" | "Archived"; /** * @deprecated The method should not be used move to `tenantTypes` */ tenantType?: TenantType; /** * @abstract New field moving from `tenantType` */ bannerURL?: string; thumbnailURL?: string; externalId?: string; slug?: string; shortDescription?: string; description?: string; address?: AddressInterface[]; website?: string; email?: string; phone?: string; phone2?: string; legalName_lower?: string; name_lower?: string; website_lower?: string; email_lower?: string; accessToken?: string; referenceCode?: string; aggregatorIds?: string[]; aggregators?: TenantInterface[]; } export interface TenantAggregatorRequestInterface extends AuditInterface { agencyId: string; agency?: TenantInterface; aggregatorId: string; aggregator?: TenantInterface; status: TenantAggregatorRequestType; } export interface TenantExcludeProjectInterface extends AuditInterface { tenantId: string; projectId: string; } export interface TenantProjectInterface extends AuditInterface { tenantId: string; tenant: TenantInterface; projectId: string; project: ProjectInterface; projectLotIds: string[]; projectLots: ProjectLotInterface[]; }