iptdevs-design-system 3.2.162 → 3.2.164

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.
@@ -1260,4 +1260,9 @@ export interface ICreateDiscountWithSegmentRq {
1260
1260
  type: number;
1261
1261
  coupon_segment: number;
1262
1262
  }
1263
+ export interface ISearchForStudentsByDifferentParametersAndCampusRq {
1264
+ token: string;
1265
+ campus: number;
1266
+ user: string;
1267
+ }
1263
1268
  export {};
@@ -1,5 +1,5 @@
1
1
  import { ICodBystudentsRs } from "../cod/cod-rq.model";
2
- import { Message } from "../parameters/parameters-rs.model";
2
+ import { Message, IAgreementRs, ICourseTypeRs, IGetCampusDetailRs, IAcademicPlanRs } from "../parameters/parameters-rs.model";
3
3
  import { IIptUserFullDataRq } from "../user/user-rq.model";
4
4
  import { IPaymentBillGraphRs } from "../budget/budget.model";
5
5
  export interface CodPrices {
@@ -341,6 +341,8 @@ export interface ICreateTypePaymentRq {
341
341
  export interface ICreateCommissionAreaRq {
342
342
  token: string;
343
343
  name: string;
344
+ campus?: number;
345
+ academic_plan?: number;
344
346
  }
345
347
  export interface IAssignCourseTypesToAreaRq {
346
348
  token: string;
@@ -395,6 +397,7 @@ export interface ITokenRq {
395
397
  export interface IUpdatePaymentAreaCommissionRq {
396
398
  token: string;
397
399
  amount: number;
400
+ type_payment_code?: number;
398
401
  }
399
402
  export interface ICommissionCondition {
400
403
  code: number;
@@ -577,23 +580,24 @@ export interface IExistingCommissionDataRs {
577
580
  payment_area_commission?: PaymentAreaCommission;
578
581
  }
579
582
  export interface PaymentAreaCommission {
580
- code: number;
581
- type_payment: TypePayment;
582
- area_course: number;
583
- amount: string;
584
- status: number;
585
- created_at: Date;
586
- updated_at: Date;
587
- deleted_at: Date | null;
583
+ code?: number;
584
+ type_payment?: TypePayment;
585
+ area_course?: number;
586
+ amount?: string;
587
+ status?: number;
588
+ created_at?: Date;
589
+ updated_at?: Date;
590
+ deleted_at?: Date | null;
591
+ conditions?: IConditionRs[];
588
592
  }
589
593
  export interface TypePayment {
590
- code: number;
591
- name: string;
592
- description: null;
593
- type: string;
594
- created_at: Date;
595
- updated_at: Date;
596
- deleted_at: Date | null;
594
+ code?: number;
595
+ name?: string;
596
+ description?: string;
597
+ type?: string;
598
+ created_at?: Date;
599
+ updated_at?: Date;
600
+ deleted_at?: Date | null;
597
601
  }
598
602
  export interface PaymentValidation {
599
603
  enrollment_ok: boolean;
@@ -856,9 +860,77 @@ export interface IaddBonusRuleRq {
856
860
  fee_one?: number;
857
861
  cash_payment?: number;
858
862
  status?: number;
863
+ type_user?: number;
859
864
  }
860
865
  export interface IremoveCommissionFromTransactionRq {
861
866
  token: string;
862
867
  transaction_code?: number;
863
868
  commission_code?: number;
864
869
  }
870
+ export interface ITokenCampusRq extends ITokenRq {
871
+ campus: number;
872
+ }
873
+ export interface ICommissionInitialConfigRs {
874
+ areas: IAreaRs[];
875
+ courses: ICourseTypeCommissionRs[];
876
+ agreements: IAgreementRs[];
877
+ paymentsForDialog: TypePayment[];
878
+ categories: ICategoryRs[];
879
+ contractTypes: IContractTypeRs[];
880
+ plans: IAcademicPlanRs[];
881
+ campus: IGetCampusDetailRs[];
882
+ }
883
+ export interface IAreaRs {
884
+ code?: number;
885
+ name?: string;
886
+ campus?: number;
887
+ academic_plan?: number;
888
+ created_at?: Date;
889
+ updated_at?: Date;
890
+ deleted_at?: Date;
891
+ course_types?: ICourseTypeCommissionRs[];
892
+ payment_area_commissions?: PaymentAreaCommission[];
893
+ }
894
+ export interface ICourseTypeCommissionRs extends ICourseTypeRs {
895
+ campus?: number;
896
+ category?: number;
897
+ pivot?: CoursePivot;
898
+ }
899
+ export interface CoursePivot {
900
+ commission_area_course_id: number;
901
+ course_type_id: number;
902
+ }
903
+ export interface IConditionRs {
904
+ code: number;
905
+ rule_id: number;
906
+ condition_id: number;
907
+ operator: string;
908
+ value: string;
909
+ created_at: Date;
910
+ updated_at: Date;
911
+ deleted_at: Date;
912
+ condition: ICommissionCondition;
913
+ }
914
+ export interface ICategoryRs {
915
+ code: number;
916
+ name: string;
917
+ }
918
+ export interface IContractTypeRs {
919
+ code: number;
920
+ name: string;
921
+ status: number;
922
+ created_at: Date;
923
+ updated_at: Date;
924
+ commission_concepts: ICommissionConceptRs[];
925
+ }
926
+ export interface ICommissionConceptRs {
927
+ code: number;
928
+ name: string;
929
+ key: string;
930
+ description: string;
931
+ pivot: ICommissionConceptPivotRs;
932
+ }
933
+ export interface ICommissionConceptPivotRs {
934
+ type_user_commission_code: number;
935
+ commission_concept_code: number;
936
+ }
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, HttpResponse } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
- import { getdiscountAllRq, DiscountRq, DiscountUpdateRq, IObtainAllCoursewallet, IAssignRequestRq, IObtainAvailableCourseRs, IGetCodByPaymentPlanRq, IUpdateAmountCodPaymentsRq, IParamsUpdateDateCodPaymentsRq, ICancelStudentReceiptRq, ICancelledReceiptByDateRq, IPaymentsReceivedByUserRq, IObtainCourseByCoodDiffParamRq, NameCommonExpenses, IObtainPaymentTranHistoryRq, IObtainStudentPaymentByDiffParamRq, InfoCashClosingRq, IcashClosingDateRq, IcashClosingRq, IpaymentBillEgressRq, IncomesAndEgressRq, IObatinDetailedIncomeByUserAndDateRq, SendEmailPayment, SendEmailPaymentCancellationRS, IPaymentCorrelativeRq, IObtainGatewayPaymentRecordRq, IUpdateEpaycoPaymentRq, IElectronicInvoiceRS, IAccountsBalanceRq, IGetFullPaymentInformationRq, IGetFullPaymentInformationRs, ISearchPaymentBillRq, ISearchPaymentBillRs, IGetSummaryByCoordinatorRq, IAddNewQuotaWithCommentsRq, IDeleteQuotaRecordWithCommentsRq, IModifyQuotaDataWithCommentsRq, IEditInstallmentAmounWithCommentsRq, ICoursePaymentRangeReportRq, ICoursePaymentRangeReportRs, IPreviewModifyPaymentPlanRq, ISaveModifiedPaymentPlanRq, IStudentsWithOverdueFeesByCoordinatorRq, IGetAllDiscountWithModalityBySegmentRq, ICreateDiscountWithSegmentRq, IObtainStudentInfoSerchRq } from '../../models/budget/budget.model';
3
+ import { getdiscountAllRq, DiscountRq, DiscountUpdateRq, IObtainAllCoursewallet, IAssignRequestRq, IObtainAvailableCourseRs, IGetCodByPaymentPlanRq, IUpdateAmountCodPaymentsRq, IParamsUpdateDateCodPaymentsRq, ICancelStudentReceiptRq, ICancelledReceiptByDateRq, IPaymentsReceivedByUserRq, IObtainCourseByCoodDiffParamRq, NameCommonExpenses, IObtainPaymentTranHistoryRq, IObtainStudentPaymentByDiffParamRq, InfoCashClosingRq, IcashClosingDateRq, IcashClosingRq, IpaymentBillEgressRq, IncomesAndEgressRq, IObatinDetailedIncomeByUserAndDateRq, SendEmailPayment, SendEmailPaymentCancellationRS, IPaymentCorrelativeRq, IObtainGatewayPaymentRecordRq, IUpdateEpaycoPaymentRq, IElectronicInvoiceRS, IAccountsBalanceRq, IGetFullPaymentInformationRq, IGetFullPaymentInformationRs, ISearchPaymentBillRq, ISearchPaymentBillRs, IGetSummaryByCoordinatorRq, IAddNewQuotaWithCommentsRq, IDeleteQuotaRecordWithCommentsRq, IModifyQuotaDataWithCommentsRq, IEditInstallmentAmounWithCommentsRq, ICoursePaymentRangeReportRq, ICoursePaymentRangeReportRs, IPreviewModifyPaymentPlanRq, ISaveModifiedPaymentPlanRq, IStudentsWithOverdueFeesByCoordinatorRq, IGetAllDiscountWithModalityBySegmentRq, ICreateDiscountWithSegmentRq, IObtainStudentInfoSerchRq, ISearchForStudentsByDifferentParametersAndCampusRq } from '../../models/budget/budget.model';
4
4
  import { IFullCodStudentOverdueByCoordinatorRq, IPaymentOverdueByCoordinatorCourseRq, IPaymentOverdueByCoordinatorRq, IPaymentReferenceRq, ITransferAssignImage, ITransferCreateRq, ITransferDeleteRq, ITransferGetAllRq, ITransferGetRq, ITransferSearchRq, ITransferShowImageRq, ITransferStatusUpdateRq, ITransferUpdateRq, PaymentBillRq2, PriceByTypeServiceRq, IDeleteCodPaymentsRq, ICreateCodPaymentsRq, ITransferStatusUpdateRequestRq, IUpdateElectronicInvoiceRq, IValidationOfTransfersByNumberRq, IGetDiscountCouponInformationRq } from '../../models/payment/payment-rq.model';
5
5
  import { IgetCoursesFinishAndunassignedRq } from '../../models/reports/reports.model';
6
6
  import { IPTGeneralService } from '../service-enviroments';
@@ -140,6 +140,7 @@ export declare class BudgetService extends IPTGeneralService {
140
140
  validateCouponByReference(reference: string): Observable<any>;
141
141
  getAllDiscountWithModalityBySegment(param: IGetAllDiscountWithModalityBySegmentRq): Observable<any>;
142
142
  createDiscountWithSegment(param: ICreateDiscountWithSegmentRq): Observable<any>;
143
+ searchForStudentsByDifferentParametersAndCampus(param: ISearchForStudentsByDifferentParametersAndCampusRq): Observable<any>;
143
144
  static ɵfac: i0.ɵɵFactoryDeclaration<BudgetService, never>;
144
145
  static ɵprov: i0.ɵɵInjectableDeclaration<BudgetService>;
145
146
  }
@@ -4,7 +4,7 @@ import { Observable } from 'rxjs';
4
4
  import { GetDiscountCouponsRq } from '../../models/payment/payment-rq.model';
5
5
  import { CreateCODRq, FullDataCODRq, GetCodByCourseRq, IUpdateCODRq, IobtaincodCurrrentAndLevelFullDataRenovationsRq, ICodPaymentRq } from '../../models/cod/cod-rq.model';
6
6
  import { IPTGeneralService } from '../service-enviroments';
7
- import { AdicInfoByCodeRq, CodPricesRq, IGoalInterfaceRq, ParentByCodeRq, IObtainRefersByUserRq, IAssignPosibleStudentForValueRq, IGetContactsadviserRq, IObtainCodPricesRq, IAssigningAdvisorGoalsRq, IReportCodForAdviserRq, ICreateTicketReferralRq, IGetPosibleStudentByDateRq, IGetUserAdviserCommercialByTypeAssingContactsRq, AssingCustomersByTypeAssingContactForAdviserRq, ICreateTypePaymentRq, ICreateCommissionAreaRq, IAssignCourseTypesToAreaRq, ICreatePaymentAreaCommissionRq, ICreateTypeUserCommissionRq, IAssignCommissionModelToUserRq, ITokenRq, IGetSummaryByCommercialAdvisorRq, IGetCodStudentDetailsByAdviserRq, IUpdatePaymentAreaCommissionRq, IAddConditionToRuleRq, IEditConditionRuleRq, IUpdateTypePaymentRq, IAssignSubordinateRq, IRemoveSubordinateRq, IUpdateTypeUserCommissionRq, IPayAdvisorBonusesRq, IPaySelectedCommissionsRq, IAssignSubordinatesMassiveRq, IDeleteTypeUserCommissionRq, IrejectTransactionCommissionRq, IApproveTransactionCommissionRq, IShowTransactionBillRq, IaddDevolutionCommissionRq, IobtainTransactionsByStatusRq, ICancellTransactionBillRq, IGetCommissionsByTransactionCodeRq, IaddBonusRuleRq, IremoveCommissionFromTransactionRq } from '../../models/commercial/commercial.model';
7
+ import { AdicInfoByCodeRq, CodPricesRq, IGoalInterfaceRq, ParentByCodeRq, IObtainRefersByUserRq, IAssignPosibleStudentForValueRq, IGetContactsadviserRq, IObtainCodPricesRq, IAssigningAdvisorGoalsRq, IReportCodForAdviserRq, ICreateTicketReferralRq, IGetPosibleStudentByDateRq, IGetUserAdviserCommercialByTypeAssingContactsRq, AssingCustomersByTypeAssingContactForAdviserRq, ICreateTypePaymentRq, ICreateCommissionAreaRq, IAssignCourseTypesToAreaRq, ICreatePaymentAreaCommissionRq, ICreateTypeUserCommissionRq, IAssignCommissionModelToUserRq, ITokenRq, IGetSummaryByCommercialAdvisorRq, IGetCodStudentDetailsByAdviserRq, IUpdatePaymentAreaCommissionRq, IAddConditionToRuleRq, IEditConditionRuleRq, IUpdateTypePaymentRq, IAssignSubordinateRq, IRemoveSubordinateRq, IUpdateTypeUserCommissionRq, IPayAdvisorBonusesRq, IPaySelectedCommissionsRq, IAssignSubordinatesMassiveRq, IDeleteTypeUserCommissionRq, IrejectTransactionCommissionRq, IApproveTransactionCommissionRq, IShowTransactionBillRq, IaddDevolutionCommissionRq, IobtainTransactionsByStatusRq, ICancellTransactionBillRq, IGetCommissionsByTransactionCodeRq, IaddBonusRuleRq, IremoveCommissionFromTransactionRq, ITokenCampusRq } from '../../models/commercial/commercial.model';
8
8
  import { UserTokenRq } from '../../models/user/user-rq.model';
9
9
  import { ISocialNetworksRq } from '../../models/marketing/marketing.model';
10
10
  import { IObtainAllCoursewallet } from '../../models/budget/budget.model';
@@ -112,7 +112,7 @@ export declare class CommercialService extends IPTGeneralService {
112
112
  assignSubordinateToManager(params: IAssignSubordinateRq): Observable<any>;
113
113
  removeSubordinateFromManager(params: IRemoveSubordinateRq): Observable<any>;
114
114
  massAssignSubordinates(params: IAssignSubordinatesMassiveRq): Observable<any>;
115
- getUsersForCommissionManagement(request: ITokenRq): Observable<any>;
115
+ getUsersForCommissionManagement(request: ITokenCampusRq): Observable<any>;
116
116
  getAllCommissionConcepts(request: ITokenRq): Observable<any>;
117
117
  updateTypeUserCommission(params: IUpdateTypeUserCommissionRq, code: number): Observable<any>;
118
118
  getSubordinatesByManager(request: ITokenRq, managerCode: number): Observable<any>;
@@ -126,6 +126,7 @@ export declare class CommercialService extends IPTGeneralService {
126
126
  deleteBonusRule(params: IaddBonusRuleRq): Observable<any>;
127
127
  getBonusRules(): Observable<any>;
128
128
  removeCommissionFromTransaction(params: IremoveCommissionFromTransactionRq): Observable<any>;
129
+ getAllConfigDataForCommission(params: ITokenCampusRq): Observable<any>;
129
130
  static ɵfac: i0.ɵɵFactoryDeclaration<CommercialService, never>;
130
131
  static ɵprov: i0.ɵɵInjectableDeclaration<CommercialService>;
131
132
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iptdevs-design-system",
3
- "version": "3.2.162",
3
+ "version": "3.2.164",
4
4
  "description": "Library common elements into IPT Plattform.",
5
5
  "keywords": [
6
6
  "IPT",