iptdevs-design-system 3.1.944 → 3.1.945

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -205,8 +205,8 @@ export interface IAllCodInfExportingRq {
205
205
  }
206
206
  export interface IAllCodInfExportingRs {
207
207
  data_cod: IDataCodRs;
208
- data_parent: IDataParentRs;
209
- data_referral: any[];
208
+ data_parent?: IDataParentRs | null;
209
+ data_referral: IDataReferralRs[];
210
210
  data_payment: IDataPaymentRs[];
211
211
  data_course: IDataDataCourseRs;
212
212
  }
@@ -251,7 +251,7 @@ export interface IDataCodRs {
251
251
  student_occupation: string;
252
252
  student_disability: string;
253
253
  student_health_regimen: string;
254
- student_observation: null;
254
+ student_observation: string | null;
255
255
  student_educational_level: string;
256
256
  student_stratum: string;
257
257
  student_civil_status: string;
@@ -278,7 +278,7 @@ export interface IAcceptTermsRs {
278
278
  is_used: number;
279
279
  is_active: number;
280
280
  expires_at: Date;
281
- accepted_at: null;
281
+ accepted_at: Date | null;
282
282
  }
283
283
  export interface IDataDataCourseRs {
284
284
  data_course: IDataCourseDataCourseRs;
@@ -290,18 +290,18 @@ export interface IDesciptionCourseRs {
290
290
  course_code: number;
291
291
  schedule_code: number;
292
292
  teacher_name: string;
293
- classroom_code: null;
294
- course_modality: null;
295
- classroom_name: null;
296
- classroom_capacity: null;
297
- classroom_email: null;
298
- classroom_adress: null;
299
- classroom_status: null;
300
- campus_name: null;
301
- campus_city: null;
302
- campus_state: null;
303
- campus_country: null;
304
- campus_country_iso: null;
293
+ classroom_code: number | null;
294
+ course_modality: number | null;
295
+ classroom_name: string | null;
296
+ classroom_capacity: number | null;
297
+ classroom_email: string | null;
298
+ classroom_adress: string | null;
299
+ classroom_status: number | null;
300
+ campus_name: string | null;
301
+ campus_city: string | null;
302
+ campus_state: string | null;
303
+ campus_country: string | null;
304
+ campus_country_iso: string | null;
305
305
  detail_schedule: ICourseScheduleRs;
306
306
  }
307
307
  export interface ICourseWalletRs {
@@ -368,6 +368,61 @@ export interface IPaymentBillRs {
368
368
  invoice_cancelled: number;
369
369
  payment_bill: number;
370
370
  }
371
+ export interface IDataReferralRs {
372
+ code: number;
373
+ amount_payable: number;
374
+ payment_status: number;
375
+ transaction_number: null;
376
+ code_tiket: null;
377
+ cod_code: number;
378
+ student_code: number;
379
+ student_id_card: string;
380
+ student_role_code: number;
381
+ student_role: string;
382
+ student_name: string;
383
+ student_last_name: string;
384
+ student_phone_number: string;
385
+ student_email: string;
386
+ student_enrollment_status: string;
387
+ student_course_type: string;
388
+ student_adviser: string;
389
+ referred_code: number;
390
+ referred_id_card: string;
391
+ referred_role_code: number;
392
+ referred_role: string;
393
+ referred_name: string;
394
+ referred_last_name: string;
395
+ referred_phone_number: string;
396
+ referred_email: string;
397
+ is_redeemable: IDataPaymentRs;
398
+ all_dates_valid: IAllDatesValidRs;
399
+ }
400
+ export interface IAllDatesValidRs {
401
+ cod: ICodTermsRs;
402
+ allPayments: number;
403
+ paymentCod: IDataPaymentRs[];
404
+ status: string;
405
+ timelyPayment: boolean;
406
+ allDatesValid: boolean;
407
+ statementRequiredPayments: string;
408
+ requiredPayments: boolean;
409
+ }
410
+ export interface ICodTermsRs {
411
+ code: number;
412
+ course: number;
413
+ course_type: number;
414
+ agreement: number;
415
+ english_level: number;
416
+ student: number;
417
+ parent: number;
418
+ aditional_information: number;
419
+ adviser: number;
420
+ cod_status: number;
421
+ cod_price: number;
422
+ cod_paid: number;
423
+ accept_terms_code: number | null;
424
+ created_at: Date;
425
+ }
371
426
  export interface INewTermsAndCondRq {
372
427
  token: string;
373
428
  cod_code: number;
@@ -2,6 +2,7 @@ import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
3
  import { IPTGeneralService } from '../service-enviroments';
4
4
  import { GetCertificate } from '../../models/academic/academic.component';
5
+ import { IAllCodInfExportingRs } from '../../models/terms/terms-rs.model';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class CertificateService extends IPTGeneralService {
7
8
  private http;
@@ -10,7 +11,7 @@ export declare class CertificateService extends IPTGeneralService {
10
11
  getCertificate(params: GetCertificate): Observable<any>;
11
12
  getCertificateApiUrl(): string;
12
13
  getCertificatesApiUrl(): string;
13
- generateCodFileInPdf(params: any): Observable<any>;
14
+ generateCodFileInPdf(params: IAllCodInfExportingRs): Observable<any>;
14
15
  generateCodSendEmail(params: any): Observable<any>;
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<CertificateService, never>;
16
17
  static ɵprov: i0.ɵɵInjectableDeclaration<CertificateService>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iptdevs-design-system",
3
- "version": "3.1.944",
3
+ "version": "3.1.945",
4
4
  "description": "Library common elements into IPT Plattform.",
5
5
  "keywords": [
6
6
  "IPT",