/* Options: Date: 2024-12-29 03:43:18 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: CRMContactSpouseRequest.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } // @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); } } export class CRMContactResponse { public responseStatus: ResponseStatus; public guid: string; public regent_id: number; public full_name: string; public first_name: string; public last_name: string; public middle_name: string; public preferred_name: string; public former_name: string; public prefix: string; public addressee: string; public primary_salutation: 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 citizenship: string; public citizenship_other: string; public permanent_resident: string; public dob?: string; public birth_month: string; public deceased_date?: string; public age?: number; public denomination: string; public connection_to_regent: string; public student_status: string; public student_segment: string; public engagement_score?: number; 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_last_event_date?: string; public campaign_monitor_last_reframe_purchase_dt?: string; public consent_to_receive_bulk_email: string; public last_consent_source: string; public last_consent_date?: string; 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 added_by: string; public added_date?: string; public changed_by: string; public changed_date?: string; public current_program: string; public total_audit_hours?: number; public total_credit_hours?: number; 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 all_terms_registered: string; public all_terms_registered_onsite: string; public all_terms_registered_online: string; public has_regent_degree: boolean; public owner_full_name: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/DynamicsCRM/Contact/{regent_id}/Spouse", "POST") export class CRMContactSpouseRequest implements IReturn { public regent_id: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'CRMContactSpouseRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new CRMContactResponse(); } }