iptdevs-design-system
Version:
Library common elements into IPT Plattform.
386 lines (385 loc) • 9.53 kB
TypeScript
import { MessageRq } from "../attendance/attendance.interface";
export interface CodRq {
course: CourseInformationCOD;
student: StudentCOD;
payment: PaymentCOD;
aditionalInformation: AdiotionalInformationCOD;
}
export interface StudentCOD {
name: string;
last_name: string;
nick_name: string;
email: string;
agreement_email: string;
phone_indicative: number;
phone_number: string;
birthdate: string;
city: string;
id_card_type: number;
id_card: string;
password: string;
parent: Parent;
}
export interface CourseInformationCOD {
course_type: number;
agreement: number;
english_level: number;
course: number;
}
export interface Parent {
name: string;
last_name: string;
id_card_type: number;
id_card: string;
phone_indicative: number;
phone_number: string;
}
export interface AdiotionalInformationCOD {
grade: string;
program_name: string;
institution_name: string;
occupation: string;
marketing_reasons: string;
study_reasons: string;
observation: string;
}
export interface PaymentCOD {
payment_method: number;
value: string;
fee_numbers: string;
payment_date: string;
first_fee: string;
}
export interface CreateCODRq {
token: string;
student_name: string;
student_last_name: string;
nickname: string;
student_email: string;
student_phone_indicative: string;
student_phone_number: string;
gender: string;
birthdate: string;
city: string;
student_id_card_type: string;
student_id_card: string;
password: string;
needAtendant: string;
parent_name: string;
parent_last_name: string;
parent_id_card_type: string;
parent_id_card: string;
parent_phone_indicative: string;
parent_phone_number: string;
parent_occupation: string;
parent_office_address: string;
social_stratum: string;
civil_status: string;
educational_level: string;
student_address: string;
student_occupation: string;
disability: string;
health_regimen: string;
marketing_reasons: string;
study_reasons: string;
multiculturalism_1: string;
multiculturalism_2: string;
multiculturalism_3: string;
multiculturalism_4: string;
multiculturalism_5: string;
multiculturalism_6: string;
availible_courses: string;
observation: string;
agreement_by_category: string;
english_level: string;
payment_method: string;
quota_times: string;
payment_date: string;
payment_dates: string[];
program_price: string;
total_price: string;
terms: string;
re_password: string;
age: string;
country: string;
course_type: string;
state: string;
academic_plan: string;
code_refers: string;
paid_level: string;
}
export interface IUpdateCODRq {
token: string;
student_name: string;
student_last_name: string;
nickname: string;
student_email: string;
student_phone_indicative: string;
student_phone_number: string;
gender: string;
birthdate: string;
city: string;
student_id_card_type: string;
student_id_card: string;
needAtendant: string;
parent_name: string;
parent_last_name: string;
parent_id_card_type: string;
parent_id_card: string;
parent_phone_indicative: string;
parent_phone_number: string;
parent_occupation: string;
parent_office_address: string;
social_stratum: string;
civil_status: string;
educational_level: string;
student_address: string;
student_occupation: string;
disability: string;
health_regimen: string;
marketing_reasons: string;
study_reasons: string;
multiculturalism_1: string;
multiculturalism_2: string;
multiculturalism_3: string;
multiculturalism_4: string;
multiculturalism_5: string;
multiculturalism_6: string;
availible_courses: string;
observation: string;
agreement_by_category: string;
english_level: string;
payment_method: string;
quota_times: string;
payment_date: string;
payment_dates: string[];
program_price: string;
total_price: string;
terms: string;
age: string;
country: string;
course_type: string;
state: string;
academic_plan: string;
code_refers: number | null;
paid_level: string;
code_cod: string;
}
export interface CodInformationRq {
code: number;
course: CourseRq;
course_type: string;
agreement: string;
english_level: string;
student: Student2Rq;
parent: number;
aditional_information: number;
adviser: string;
cod_status: CodStatusRq;
cod_price: number;
updated_at: Date;
created_at: Date;
}
export interface CodStatusRq {
code: number;
status: string;
color_status: string;
}
export interface CourseRq {
code: number;
course_schedule: string[];
teacher: string;
course_type: CourseType2Rq;
to_start: Date;
start_date: Date;
finish_date: Date;
capacity: number;
more_days: number | null;
english_level: string;
agreement: string;
course_modality: CourseModalityRq;
}
export interface CourseModalityRq {
code: number;
name: string;
}
export interface CourseType2Rq {
code: number;
name: string;
number_class: number;
academic_plan: string;
}
export interface Student2Rq {
code: number;
name: string;
last_name: string;
nick_name: string | null;
email: string;
email_ipt: string;
role: number;
service_hour: number;
phone_indicative: number;
phone_number: string;
gender: number;
birthdate: Date | null;
city: number;
id_card_type: number;
id_card: string;
}
export interface FullDataCodRq {
code: number;
course: CourseCodRq;
course_type: CourseTypeCodRq;
agreement: AgreementCodRq;
english_level: EnglishLevelCodRq;
student: StudentCodRq;
parent: Parent;
aditional_information: AditionalInformationCodRq;
adviser: string;
cod_status: CodStatusCodRq;
cod_price: CodPriceCodRq;
}
export interface AditionalInformationCodRq {
code: number;
grade: string;
program_name: string | null;
institution_name: string;
occupation: string;
parent_occupation: string | null;
disability: string | null;
health_regimen: string | null;
marketing_reasons: number;
study_reasons: number;
observation: string | null;
head_of_the_family: number;
afro_descendant: number;
displaced: number;
indigenous: number;
reinserted: number;
rom_population: number;
updated_at: Date;
}
export interface AgreementCodRq {
code: number;
name: string;
end_time: Date;
category: number | null;
}
export interface CodPriceCodRq {
code: number;
name: string;
agreement: number;
enrollment: number;
normal_price: number;
financed_price: number;
fee_number: number;
quota_price: number;
}
export interface CodStatusCodRq {
code: number;
status: string;
color_status: string;
}
export interface CourseCodRq {
code: number;
course_schedule: string[];
teacher: string;
course_type: CourseTypeCodRq;
to_start: Date;
start_date: Date | null;
finish_date: Date | null;
capacity: number;
more_days: number | null;
english_level: string;
agreement: string;
course_modality: number;
}
export interface CourseTypeCodRq {
code: number;
name: string;
number_class: number;
academic_plan: string;
}
export interface EnglishLevelCodRq {
code: number;
name: string;
}
export interface ParentCodRq {
code: number;
name: string;
last_name: string;
id_card_type: number;
id_card: string;
phone_indicative: number;
phone_number: string;
occupation: string | null;
office_adrress: string | null;
}
export interface StudentCodRq {
code: number;
name: string;
last_name: string;
nick_name: string;
email: string;
email_ipt: string;
role: number;
phone_indicative: number;
phone_number: string;
gender: number;
birthdate: Date;
city: number;
id_card_type: number;
id_card: string;
}
export interface FullDataCODRq {
token: string;
student_id_card: number;
}
export interface GetCodByCourseRq {
token: string;
course: number;
}
export interface IAllDataStudentByTeacherRq {
ip_applicant: string;
status: number;
message: MessageRq;
data: RsDataStudentByTeacherRq[];
}
export interface RsDataStudentByTeacherRq {
student: Student2Rq;
code: number;
course: CourseRq;
course_type: string;
english_level: string;
agreement: string;
cod_status: CodStatusRq;
adviser: string;
}
export interface GetCodByStudentCourseRq {
token: string;
code_student: number;
code_course: number;
}
export interface IobtaincodCurrrentAndLevelFullDataRenovationsRq {
codeStudent: number;
token: string;
}
export interface IobtainAllPaymentBillCanceledByStudentRq {
invoice_cancelled: number;
code: number;
english_level: number;
timely_date: Date;
created_at: Date;
payment_service_name: string;
payment_method_name: string;
payment_wallet_name: string;
bank_name: string;
payment_amount: number;
adviser_name: string;
type_movement_name: string;
academic_plan: number;
}
export interface ICodPaymentRq {
token: string;
cod_code: number;
}