iptdevs-design-system 3.2.29 → 3.2.31
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/services/commercial-service/comercial.service.mjs +80 -11
- package/fesm2015/iptdevs-design-system.mjs +79 -10
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +79 -10
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/commercial/commercial.model.d.ts +58 -0
- package/lib/core/services/commercial-service/comercial.service.d.ts +17 -3
- package/package.json +1 -1
|
@@ -329,3 +329,61 @@ export interface getSummaryByCommercialAdvisorRq {
|
|
|
329
329
|
end_date: string;
|
|
330
330
|
include_details: false;
|
|
331
331
|
}
|
|
332
|
+
export interface ICreateTypePaymentRq {
|
|
333
|
+
token: string;
|
|
334
|
+
name: string;
|
|
335
|
+
description?: string;
|
|
336
|
+
}
|
|
337
|
+
export interface ICreateCommissionAreaRq {
|
|
338
|
+
token: string;
|
|
339
|
+
name: string;
|
|
340
|
+
}
|
|
341
|
+
export interface IAssignCourseTypesToAreaRq {
|
|
342
|
+
token: string;
|
|
343
|
+
commission_area_code: number;
|
|
344
|
+
course_type_codes: number[];
|
|
345
|
+
}
|
|
346
|
+
export interface ICreatePaymentAreaCommissionRq {
|
|
347
|
+
token: string;
|
|
348
|
+
area_course: number;
|
|
349
|
+
type_payment: number;
|
|
350
|
+
amount: number;
|
|
351
|
+
}
|
|
352
|
+
export interface ICreateTypeUserCommissionRq {
|
|
353
|
+
token: string;
|
|
354
|
+
name: string;
|
|
355
|
+
status?: boolean;
|
|
356
|
+
}
|
|
357
|
+
export interface IAssignCommissionGoalToUserRq {
|
|
358
|
+
token: string;
|
|
359
|
+
user_code: number;
|
|
360
|
+
goal_code: number;
|
|
361
|
+
type_user_commission_code: number;
|
|
362
|
+
}
|
|
363
|
+
export interface IGetActiveCommissionGoalForUserRq {
|
|
364
|
+
token: string;
|
|
365
|
+
user_code: number;
|
|
366
|
+
}
|
|
367
|
+
export interface IPayCommissionsRq {
|
|
368
|
+
token: string;
|
|
369
|
+
cod_codes: number[];
|
|
370
|
+
notes?: string;
|
|
371
|
+
}
|
|
372
|
+
export interface IGetSummaryByCommercialAdvisorRq {
|
|
373
|
+
token: string;
|
|
374
|
+
start_date?: string;
|
|
375
|
+
end_date?: string;
|
|
376
|
+
}
|
|
377
|
+
export interface IGetCodStudentDetailsByAdviserRq {
|
|
378
|
+
token: string;
|
|
379
|
+
adviser_code: number;
|
|
380
|
+
start_date?: string;
|
|
381
|
+
end_date?: string;
|
|
382
|
+
}
|
|
383
|
+
export interface ITokenRq {
|
|
384
|
+
token: string;
|
|
385
|
+
}
|
|
386
|
+
export interface IUpdatePaymentAreaCommissionRq {
|
|
387
|
+
token: string;
|
|
388
|
+
amount: number;
|
|
389
|
+
}
|
|
@@ -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,
|
|
7
|
+
import { AdicInfoByCodeRq, CodPricesRq, IGoalInterfaceRq, ParentByCodeRq, IObtainRefersByUserRq, IAssignPosibleStudentForValueRq, IGetContactsadviserRq, IObtainCodPricesRq, IAssigningAdvisorGoalsRq, IReportCodForAdviserRq, ICreateTicketReferralRq, IGetPosibleStudentByDateRq, IGetUserAdviserCommercialByTypeAssingContactsRq, AssingCustomersByTypeAssingContactForAdviserRq, ICreateTypePaymentRq, ICreateCommissionAreaRq, IAssignCourseTypesToAreaRq, ICreatePaymentAreaCommissionRq, ICreateTypeUserCommissionRq, IAssignCommissionGoalToUserRq, IGetActiveCommissionGoalForUserRq, IPayCommissionsRq, ITokenRq, IGetSummaryByCommercialAdvisorRq, IGetCodStudentDetailsByAdviserRq, IUpdatePaymentAreaCommissionRq } 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';
|
|
@@ -58,13 +58,11 @@ export declare class CommercialService extends IPTGeneralService {
|
|
|
58
58
|
prizesForDurationOdContest(): Observable<any>;
|
|
59
59
|
createTicketReferral(params: ICreateTicketReferralRq): Observable<any>;
|
|
60
60
|
obtainStatusAndReferralsByUserCode(params: IObtainRefersByUserRq): Observable<any>;
|
|
61
|
-
getCodStudentDetailsByAdviser(params: ICodDetailsbyAdviser): Observable<any>;
|
|
62
61
|
gesPosibleStudentAllFourModelsByDate(params: IGetPosibleStudentByDateRq): Observable<any>;
|
|
63
62
|
gesUserAdviserCommercialByTypeAssingContact(params: IGetUserAdviserCommercialByTypeAssingContactsRq): Observable<any>;
|
|
64
63
|
assingCustomersByTypeAssingContactForAdviser(params: AssingCustomersByTypeAssingContactForAdviserRq): Observable<any>;
|
|
65
64
|
obtainAdditionalUserDataByCourse(params: IgetCoursesFinishAndunassignedRq): Observable<any>;
|
|
66
65
|
obtainAllReferralsByUser(params: IObtainAllReferralsByUserRq): Observable<any>;
|
|
67
|
-
getSummaryByCommercialAdvisor(params: getSummaryByCommercialAdvisorRq): Observable<any>;
|
|
68
66
|
getAllCodInformationForExporting(params: ICodPaymentRq): Observable<any>;
|
|
69
67
|
obtainCodByAdvisorWithTheirStates(params: ICodWithTheirStatesRq): Observable<any>;
|
|
70
68
|
extendTimeOfAcceptanceOfTerms(params: IExtendTimeTermsRq): Observable<any>;
|
|
@@ -72,6 +70,22 @@ export declare class CommercialService extends IPTGeneralService {
|
|
|
72
70
|
updateStatusOfTermsAndConditionsRecords(): Observable<any>;
|
|
73
71
|
obtainCodByCoodinatorWithTheirStates(params: ICodWithTheirStatesRq): Observable<any>;
|
|
74
72
|
obtainAllInformationCodByCode(code: number): Observable<any>;
|
|
73
|
+
getSummaryByCommercialAdvisor(request: IGetSummaryByCommercialAdvisorRq): Observable<any>;
|
|
74
|
+
getCodStudentDetailsByAdviser(request: IGetCodStudentDetailsByAdviserRq): Observable<any>;
|
|
75
|
+
createTypePayment(request: ICreateTypePaymentRq): Observable<any>;
|
|
76
|
+
getAllTypePayments(request: ITokenRq): Observable<any>;
|
|
77
|
+
createCommissionArea(request: ICreateCommissionAreaRq): Observable<any>;
|
|
78
|
+
getAllCommissionAreas(request: ITokenRq): Observable<any>;
|
|
79
|
+
assignCourseTypesToArea(request: IAssignCourseTypesToAreaRq): Observable<any>;
|
|
80
|
+
createPaymentAreaCommission(request: ICreatePaymentAreaCommissionRq): Observable<any>;
|
|
81
|
+
getCommissionRulesByArea(request: ITokenRq, areaCode: number): Observable<any>;
|
|
82
|
+
createTypeUserCommission(request: ICreateTypeUserCommissionRq): Observable<any>;
|
|
83
|
+
getAllTypeUserCommissions(request: ITokenRq): Observable<any>;
|
|
84
|
+
assignCommissionGoalToUser(request: IAssignCommissionGoalToUserRq): Observable<any>;
|
|
85
|
+
getActiveCommissionGoalForUser(request: IGetActiveCommissionGoalForUserRq): Observable<any>;
|
|
86
|
+
payCommissions(request: IPayCommissionsRq): Observable<any>;
|
|
87
|
+
updatePaymentAreaCommission(request: IUpdatePaymentAreaCommissionRq, ruleCode: number): Observable<any>;
|
|
88
|
+
getAllAreasWithCommissionRules(request: ITokenRq): Observable<any>;
|
|
75
89
|
static ɵfac: i0.ɵɵFactoryDeclaration<CommercialService, never>;
|
|
76
90
|
static ɵprov: i0.ɵɵInjectableDeclaration<CommercialService>;
|
|
77
91
|
}
|