idea-toolbox
Version:
IDEA's utility functions
44 lines (43 loc) • 1.1 kB
TypeScript
import { Resource } from './resource.model';
import { epochDateTime } from './epoch';
import { ClientInfo } from './clientInfo.model';
/**
* Contact request from the Contacts Us box of the website or from specific campaigns.
*
* Table: `idea_contactRequests`.
*
* Indexes:
* - `campaign-timestamp-index` (GSI); includes: name, wantsDemo.
*/
export declare class ContactRequest extends Resource {
/**
* Business email to get in contact with the requester (PK).
*/
email: string;
/**
* Timestamp of the request (SK).
*/
timestamp: epochDateTime;
/**
* Full name of the requester.
*/
name?: string;
/**
* If any, specific campaign id.
*/
campaign?: string;
/**
* If set, the requester specified if he/she would like to be contacted for a demo.
*/
wantsDemo?: boolean;
/**
* The details of the client at the time of the error.
*/
client?: ClientInfo;
/**
* Any notes to attach to the request.
*/
notes?: string;
load(x: any): void;
validate(): string[];
}