/* Options: Date: 2024-12-29 02:35:49 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: PersonCreateRequest.* //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 PersonCreateResponse { public responseStatus: ResponseStatus; public regent_id: number; public uuid: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/person/create", "POST") export class PersonCreateRequest implements IReturn { public first_name: string; public middle_name: string; public last_name: string; public preferred_name: string; public birth_name: string; public prefix: string; public addr1: string; public addr2: string; public country: string; public state: string; public city: string; public code: string; public phone_home: string; public phone_cell: string; public phone_bus: string; public email: string; public dob?: string; public citizenship: string; public citizenship_other: string; public permanent_resident: string; public denomination: string; public occupation: string; public ethnicity: string; public gender: string; public marital_status: string; public deceased_date?: string; public do_not_queue_for_crm: boolean; public authorizing_uuid: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'PersonCreateRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new PersonCreateResponse(); } }