/* Options: Date: 2024-12-29 03:30:37 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: BioSyncRequest.* //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 BioResponse { public responseStatus: ResponseStatus; public first_name: string; public middle_name: string; public last_name: string; public preferred_name: string; public birth_name: string; public prefix: string; public dob?: string; public citizenship: string; public citizenship_code: string; public citizenship_other: string; public permanent_resident: string; public citizenship_other_code: string; public permanent_resident_code: string; public gender: string; public gender_code: string; public marital_status: string; public marital_status_code: string; public deceased_date?: string; public added_by: string; public added_date?: string; public changed_by: string; public changed_date?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class BioSyncResponse { public responseStatus: ResponseStatus; public uuid: string; public regent_id: number; public sugar_bio: BioResponse; public regis_bio: BioResponse; public re_bio: BioResponse; public exists_in_sugar: boolean; public exists_in_re: boolean; public are_equal: boolean; public first_name_are_equal: boolean; public middle_name_are_equal: boolean; public last_name_are_equal: boolean; public preferred_name_are_equal: boolean; public birth_name_are_equal: boolean; public prefix_are_equal: boolean; public dob_are_equal: boolean; public deceased_are_equal: boolean; public citizenship_are_equal: boolean; public gender_are_equal: boolean; public marital_status_are_equal: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/admissions/{uuid}/bio/sync", "POST") export class BioSyncRequest implements IReturn { public uuid: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'BioSyncRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new BioSyncResponse(); } }