/* Options: Date: 2024-12-29 02:54:16 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: ExternalDegreesRequest.* //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 StudentProgramSimpleResponse { public responseStatus: ResponseStatus; public regent_id: number; public uuid: string; public program_id: number; public program_code: string; public program_name: string; public concentration_code: string; public concentration_name: string; public start_date?: string; public end_date?: string; public catalog: string; public is_active: boolean; public is_graduated: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ExternalDegreeResponse { public id?: number; public institution_id?: number; public degree_name: string; public degree_override_name: string; public institution_name: string; public graduation_month: string; public start_year?: number; public end_year?: number; public is_only_in_d365: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ExternalDegreesAdminResponse { public degree_code: string; public degree_name: string; public degree_type: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class PersonSimpleResponse { public responseStatus: ResponseStatus; public regent_id: number; public ubc_id?: number; public uuid: string; public regent_login: string; public first_name: string; public preferred_name: string; public middle_name: string; public last_name: string; public email: string; public phone_home: string; public phone_cell: string; public phone_bus: string; 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 is_student: boolean; public is_faculty: boolean; public is_vendor: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ExternalDegreesResponse { public responseStatus: ResponseStatus; public person: PersonSimpleResponse; public gpa?: number; public student_programs: StudentProgramSimpleResponse[]; public degrees: ExternalDegreeResponse[]; public valid_degrees: ExternalDegreesAdminResponse[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/Academic/{uuid}/ExternalDegrees", "POST") export class ExternalDegreesRequest implements IReturn { public uuid: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'ExternalDegreesRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new ExternalDegreesResponse(); } }