/* Options: Date: 2024-12-29 04:05:53 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: CRMAccountRequest.* //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 CRMAccountResponse { public responseStatus: ResponseStatus; public guid: string; public regent_id: number; public name: string; public other_name: string; public institution_names: string; public business_type: string; public regent_friendly_church: string; public denomination: string; public reason_added: string; public connection_to_regent: string; public educational_affiliation: string; public accreditation_status: string; public accreditation_status_notes: string; public addr1: string; public addr2: string; public city: string; public state: string; public country: string; public code: string; public email: string; public solicitation_method: string; public solicitation_exceptions: string; public campaign_monitor_optin: boolean; public campaign_monitor_suppressed: boolean; public consent_to_receive_bulk_email: string; public last_consent_source: string; public last_consent_date?: string; public campaign_monitor_lists: 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 added_by: string; public added_date?: string; public changed_by: string; public changed_date?: string; public owner_full_name: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/DynamicsCRM/Account/{regent_id}", "POST") export class CRMAccountRequest implements IReturn { public regent_id: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'CRMAccountRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new CRMAccountResponse(); } }