iptdevs-design-system 3.2.149 → 3.2.151
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.
- package/esm2020/lib/core/models/commercial/commercial.model.mjs +1 -1
- package/esm2020/lib/core/models/parameters/parameters-rs.model.mjs +1 -1
- package/esm2020/lib/core/services/commercial-service/comercial.service.mjs +11 -1
- package/esm2020/lib/core/services/parameters-service/parameters.service.mjs +5 -1
- package/fesm2015/iptdevs-design-system.mjs +14 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +14 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/commercial/commercial.model.d.ts +60 -3
- package/lib/core/models/parameters/parameters-rs.model.d.ts +21 -0
- package/lib/core/services/commercial-service/comercial.service.d.ts +3 -1
- package/lib/core/services/parameters-service/parameters.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -528,6 +528,8 @@ export interface ICommissionListRs {
|
|
|
528
528
|
cod_status_name: string;
|
|
529
529
|
cod_date: Date;
|
|
530
530
|
course_type_name: string;
|
|
531
|
+
course_type_label: string;
|
|
532
|
+
course_code: number | null;
|
|
531
533
|
agreement_code: number;
|
|
532
534
|
agreement_name: string | null;
|
|
533
535
|
commission_area_name: string | null;
|
|
@@ -542,7 +544,7 @@ export interface ICommissionListRs {
|
|
|
542
544
|
cod_price: number;
|
|
543
545
|
payments_ok: boolean;
|
|
544
546
|
existing_commission: boolean;
|
|
545
|
-
student_id_card
|
|
547
|
+
student_id_card?: string | null;
|
|
546
548
|
payment_validation: PaymentValidation;
|
|
547
549
|
validation: Validation[];
|
|
548
550
|
}
|
|
@@ -611,8 +613,8 @@ export interface ITransactionRs {
|
|
|
611
613
|
deleted_at: Date | null;
|
|
612
614
|
updated_at: Date;
|
|
613
615
|
created_at: Date;
|
|
614
|
-
managed_commissions
|
|
615
|
-
payment_bill
|
|
616
|
+
managed_commissions?: IExistingCommissionDataRs[];
|
|
617
|
+
payment_bill?: number | null;
|
|
616
618
|
}
|
|
617
619
|
export interface IUserTransactionRs {
|
|
618
620
|
code: number;
|
|
@@ -628,6 +630,8 @@ export interface IApproveTransactionCommissionRq {
|
|
|
628
630
|
transaction_code: number;
|
|
629
631
|
observation: string;
|
|
630
632
|
wallet: number;
|
|
633
|
+
bank: number;
|
|
634
|
+
payment_reference: number;
|
|
631
635
|
}
|
|
632
636
|
export interface IrejectTransactionCommissionRq {
|
|
633
637
|
token: string;
|
|
@@ -642,3 +646,56 @@ export interface IEditConditionRuleRq {
|
|
|
642
646
|
operator: string;
|
|
643
647
|
value: string;
|
|
644
648
|
}
|
|
649
|
+
export interface IApproveTransactionRs {
|
|
650
|
+
transaction: ITransactionRs;
|
|
651
|
+
bill: IBillCreatedRs;
|
|
652
|
+
bill_observation?: IBillObservationListRs;
|
|
653
|
+
commissions: ICommissionListRs[];
|
|
654
|
+
}
|
|
655
|
+
export interface IBillCreatedRs {
|
|
656
|
+
payment_method: number;
|
|
657
|
+
payment_services: number;
|
|
658
|
+
payment_wallet: number;
|
|
659
|
+
bank: string;
|
|
660
|
+
payment_reference: string;
|
|
661
|
+
generated_for: number;
|
|
662
|
+
generated_by: number;
|
|
663
|
+
type_movements: number;
|
|
664
|
+
common_expenses: number;
|
|
665
|
+
total_amount: number;
|
|
666
|
+
payment_amount: number;
|
|
667
|
+
outstanding_amount: number;
|
|
668
|
+
positive_amount: number;
|
|
669
|
+
discount: number;
|
|
670
|
+
payer_name: null;
|
|
671
|
+
payer_document: null;
|
|
672
|
+
payment_date: Date;
|
|
673
|
+
observation: string;
|
|
674
|
+
transfer_code: null;
|
|
675
|
+
code: number;
|
|
676
|
+
}
|
|
677
|
+
export interface IBillObservationListRs {
|
|
678
|
+
details: IDetailBillRs[];
|
|
679
|
+
total_commissions: number;
|
|
680
|
+
total_amount: number;
|
|
681
|
+
period: IPeriodBillRs;
|
|
682
|
+
}
|
|
683
|
+
export interface IDetailBillRs {
|
|
684
|
+
area: string;
|
|
685
|
+
quantity: number;
|
|
686
|
+
amount: number;
|
|
687
|
+
statuses: any;
|
|
688
|
+
}
|
|
689
|
+
export interface IPeriodBillRs {
|
|
690
|
+
from: string;
|
|
691
|
+
to: string;
|
|
692
|
+
}
|
|
693
|
+
export interface IShowTransactionBillRq {
|
|
694
|
+
token: string;
|
|
695
|
+
code: number;
|
|
696
|
+
}
|
|
697
|
+
export interface ICancellTransactionBillRq {
|
|
698
|
+
token: string;
|
|
699
|
+
code: number;
|
|
700
|
+
observation: string;
|
|
701
|
+
}
|
|
@@ -156,3 +156,24 @@ export interface IgetCourseTypeAndLevelsByAcademicPlanRs {
|
|
|
156
156
|
course_type: IMulticulturalismRs;
|
|
157
157
|
levels: IMulticulturalismRs[];
|
|
158
158
|
}
|
|
159
|
+
export interface IGetCampusDetailRs {
|
|
160
|
+
code?: number;
|
|
161
|
+
name?: string;
|
|
162
|
+
city?: number;
|
|
163
|
+
enterprise?: number;
|
|
164
|
+
billing_prefix?: number;
|
|
165
|
+
state?: number;
|
|
166
|
+
currency?: number;
|
|
167
|
+
address?: string;
|
|
168
|
+
email?: string;
|
|
169
|
+
phone_prefix?: number;
|
|
170
|
+
phone?: string;
|
|
171
|
+
map?: string;
|
|
172
|
+
image_url?: string;
|
|
173
|
+
updated_at?: Date;
|
|
174
|
+
created_at?: Date;
|
|
175
|
+
city_name?: string;
|
|
176
|
+
enterprise_company_name?: string;
|
|
177
|
+
enterprise_commercial_name?: string;
|
|
178
|
+
state_name?: string;
|
|
179
|
+
}
|
|
@@ -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, IGetCommissionsByTransactionCodeRq, IrejectTransactionCommissionRq, IApproveTransactionCommissionRq } 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, IGetCommissionsByTransactionCodeRq, IrejectTransactionCommissionRq, IApproveTransactionCommissionRq, IShowTransactionBillRq, ICancellTransactionBillRq } 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';
|
|
@@ -87,6 +87,8 @@ export declare class CommercialService extends IPTGeneralService {
|
|
|
87
87
|
rejectTransactionByCode(params: IrejectTransactionCommissionRq): Observable<any>;
|
|
88
88
|
approveTransactionByCode(params: IApproveTransactionCommissionRq): Observable<any>;
|
|
89
89
|
getTransactionCommissionsByCode(request: IGetCommissionsByTransactionCodeRq): Observable<any>;
|
|
90
|
+
seeTransactionBill(request: IShowTransactionBillRq): Observable<any>;
|
|
91
|
+
cancellTransactionBill(params: ICancellTransactionBillRq): Observable<any>;
|
|
90
92
|
payAdvisorBonuses(params: IPayAdvisorBonusesRq): Observable<any>;
|
|
91
93
|
updatePaymentAreaCommission(request: IUpdatePaymentAreaCommissionRq, ruleCode: number): Observable<any>;
|
|
92
94
|
getAllAreasWithCommissionRules(request: ITokenRq): Observable<any>;
|
|
@@ -34,6 +34,7 @@ export declare class ParameterService extends IPTGeneralService {
|
|
|
34
34
|
getAllPaymentService(): Observable<any>;
|
|
35
35
|
getAllBanks(): Observable<any>;
|
|
36
36
|
getAllCampus(): Observable<any>;
|
|
37
|
+
getAllCampusDetail(): Observable<any>;
|
|
37
38
|
getCampusByCode(codeCampu: number): Observable<any>;
|
|
38
39
|
getGenders(): Observable<any>;
|
|
39
40
|
getGenderByCode(code: number): Observable<any>;
|