iptdevs-design-system 3.2.79 → 3.2.81
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/core.module.mjs +4 -1
- package/esm2020/lib/core/models/commercial/commercial.model.mjs +1 -1
- package/esm2020/lib/core/services/commercial-service/comercial.service.mjs +7 -22
- package/fesm2015/iptdevs-design-system.mjs +8 -21
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +8 -21
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/commercial/commercial.model.d.ts +14 -24
- package/lib/core/services/commercial-service/comercial.service.d.ts +3 -6
- package/package.json +1 -1
|
@@ -438,20 +438,6 @@ export interface IRegistrationInProgressRs {
|
|
|
438
438
|
accept_terms_code: number | null;
|
|
439
439
|
created_at: string;
|
|
440
440
|
}
|
|
441
|
-
export interface ICreateConditionRq {
|
|
442
|
-
token: string;
|
|
443
|
-
key: string;
|
|
444
|
-
name: string;
|
|
445
|
-
description?: string;
|
|
446
|
-
value_type: 'agreement' | 'numeric' | 'boolean' | 'string';
|
|
447
|
-
}
|
|
448
|
-
export interface IUpdateConditionRq {
|
|
449
|
-
token: string;
|
|
450
|
-
key: string;
|
|
451
|
-
name: string;
|
|
452
|
-
description?: string;
|
|
453
|
-
value_type: 'agreement' | 'numeric' | 'boolean' | 'string';
|
|
454
|
-
}
|
|
455
441
|
export interface IRenewalResultRs {
|
|
456
442
|
student_code: number;
|
|
457
443
|
student_name: string;
|
|
@@ -495,20 +481,24 @@ export interface IRemoveSubordinateRq {
|
|
|
495
481
|
manager_id: number;
|
|
496
482
|
subordinate_id: number;
|
|
497
483
|
}
|
|
498
|
-
export interface
|
|
484
|
+
export interface IUpdateTypeUserCommissionRq {
|
|
499
485
|
token: string;
|
|
500
486
|
name: string;
|
|
501
|
-
|
|
502
|
-
description?: string;
|
|
487
|
+
concept_codes: number[];
|
|
503
488
|
}
|
|
504
|
-
export interface
|
|
489
|
+
export interface IPaySelectedCommissionsRq {
|
|
505
490
|
token: string;
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
491
|
+
user_code: number;
|
|
492
|
+
commissions_to_pay: {
|
|
493
|
+
cod_code: number;
|
|
494
|
+
commission_amount: number;
|
|
495
|
+
motivo_detalle: string;
|
|
496
|
+
rule_code_applied: number | null;
|
|
497
|
+
}[];
|
|
509
498
|
}
|
|
510
|
-
export interface
|
|
499
|
+
export interface IPayAdvisorBonusesRq {
|
|
511
500
|
token: string;
|
|
512
|
-
|
|
513
|
-
|
|
501
|
+
user_code: number;
|
|
502
|
+
start_date: string;
|
|
503
|
+
end_date: string;
|
|
514
504
|
}
|
|
@@ -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,
|
|
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, IUpdateTypePaymentRq, IAssignSubordinateRq, IRemoveSubordinateRq, IUpdateTypeUserCommissionRq, IPayAdvisorBonusesRq, IPaySelectedCommissionsRq } 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';
|
|
@@ -83,7 +83,8 @@ export declare class CommercialService extends IPTGeneralService {
|
|
|
83
83
|
getAllTypeUserCommissions(request: ITokenRq): Observable<any>;
|
|
84
84
|
assignCommissionModelToUser(params: IAssignCommissionModelToUserRq): Observable<any>;
|
|
85
85
|
getActiveCommissionModelForUser(request: ITokenRq, userCode: number): Observable<any>;
|
|
86
|
-
payCommissions(params:
|
|
86
|
+
payCommissions(params: IPaySelectedCommissionsRq): Observable<any>;
|
|
87
|
+
payAdvisorBonuses(params: IPayAdvisorBonusesRq): Observable<any>;
|
|
87
88
|
updatePaymentAreaCommission(request: IUpdatePaymentAreaCommissionRq, ruleCode: number): Observable<any>;
|
|
88
89
|
getAllAreasWithCommissionRules(request: ITokenRq): Observable<any>;
|
|
89
90
|
getAllConditions(request: ITokenRq): Observable<any>;
|
|
@@ -94,8 +95,6 @@ export declare class CommercialService extends IPTGeneralService {
|
|
|
94
95
|
deleteTypePayment(request: ITokenRq, code: number): Observable<any>;
|
|
95
96
|
deletePaymentAreaCommission(request: ITokenRq, code: number): Observable<any>;
|
|
96
97
|
obtainPreassignedCoursesAndStudentEnrollmentStatus(code: number): Observable<any>;
|
|
97
|
-
createCondition(request: ICreateConditionRq): Observable<any>;
|
|
98
|
-
updateCondition(request: IUpdateConditionRq, code: number): Observable<any>;
|
|
99
98
|
deleteCondition(request: ITokenRq, code: number): Observable<any>;
|
|
100
99
|
renewStudentsToNextLevel(request: any): Observable<any>;
|
|
101
100
|
obtainPreassignedCourses(): Observable<any>;
|
|
@@ -108,8 +107,6 @@ export declare class CommercialService extends IPTGeneralService {
|
|
|
108
107
|
removeSubordinateFromManager(params: IRemoveSubordinateRq): Observable<any>;
|
|
109
108
|
getUsersForCommissionManagement(request: ITokenRq): Observable<any>;
|
|
110
109
|
getAllCommissionConcepts(request: ITokenRq): Observable<any>;
|
|
111
|
-
createCommissionConcept(params: ICreateCommissionConceptRq): Observable<any>;
|
|
112
|
-
updateCommissionConcept(params: IUpdateCommissionConceptRq, code: number): Observable<any>;
|
|
113
110
|
updateTypeUserCommission(params: IUpdateTypeUserCommissionRq, code: number): Observable<any>;
|
|
114
111
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommercialService, never>;
|
|
115
112
|
static ɵprov: i0.ɵɵInjectableDeclaration<CommercialService>;
|