@openinc/parse-server-opendash
Version:
Parse Server Cloud Code for open.INC Stack.
24 lines (23 loc) • 794 B
TypeScript
import type { Contact } from "./Contact";
import type { Source } from "./Source";
import type { Tenant } from "./Tenant";
export interface CompanyAttributes {
id: string;
objectId: string;
createdAt: Date;
updatedAt: Date;
contacts: Parse.Relation<Company, Contact>;
name?: string;
sources: Parse.Relation<Company, Source>;
tenant?: Tenant;
}
export declare class Company extends Parse.Object<CompanyAttributes> {
static className: string;
constructor(data?: Partial<CompanyAttributes>);
get contacts(): Parse.Relation<Company, Contact>;
get name(): string | undefined;
set name(value: string | undefined);
get sources(): Parse.Relation<Company, Source>;
get tenant(): Tenant | undefined;
set tenant(value: Tenant | undefined);
}