/* Options: Date: 2024-12-29 03:37:54 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CRMContactCreateMultipleRequest.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } // @DataContract export class ResponseError { // @DataMember(Order=1) public errorCode: string; // @DataMember(Order=2) public fieldName: string; // @DataMember(Order=3) public message: string; // @DataMember(Order=4) public meta: { [index: string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class ResponseStatus { // @DataMember(Order=1) public errorCode: string; // @DataMember(Order=2) public message: string; // @DataMember(Order=3) public stackTrace: string; // @DataMember(Order=4) public errors: ResponseError[]; // @DataMember(Order=5) public meta: { [index: string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/DynamicsCRM/Contact/Create", "POST") export class CRMContactCreateRequest implements IReturn { public regent_id?: number; public first_name: string; public last_name: string; public middle_name: string; public preferred_name: string; public prefix: string; public addressee: string; public primary_salutation: string; public former_name: string; public spouse_name: string; public spouse_is_main_contact: boolean; public addr1: string; public addr2: string; public city: string; public state: string; public country: string; public code: string; public dob?: string; public deceased_date?: string; public citizenship: string; public citizenship_other: string; public permanent_resident: string; public denomination: string; public connection_to_regent: string; public student_segment: string; public reason_added: string; public gender: string; public marital_status: string; public financial_aid_received: boolean; public is_applicant: boolean; public solicitation_method: string; public solicitation_exceptions: string; public campaign_monitor_optin: boolean; public campaign_monitor_suppressed: boolean; public campaign_monitor_lists: string; public email: string; public email_secondary: string; public phone_home: string; public phone_bus: string; public phone_cell: string; public no_mail: boolean; public no_email: boolean; public no_bulk_email: boolean; public no_phone: boolean; public no_marketing_materials: boolean; public prefers_email: boolean; public prefers_phone: boolean; public last_credit_class?: string; public last_audit_class?: string; public last_oncampus_class?: string; public last_distance_education_class?: string; public last_evening_weekend_class?: string; public last_summer_class?: string; public last_marketplace_class?: string; public last_anglican_studies_class?: string; public image_base64: string; public owning_username: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'CRMContactCreateRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new ResponseStatus(); } } // @Route("/DynamicsCRM/Contact/Create/Multiple", "POST") export class CRMContactCreateMultipleRequest implements IReturn { public contacts: CRMContactCreateRequest[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'CRMContactCreateMultipleRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new ResponseStatus(); } }