iptdevs-design-system 3.2.43 → 3.2.45

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.
@@ -404,6 +404,11 @@ export interface IAddConditionToRuleRq {
404
404
  operator: string;
405
405
  value: string;
406
406
  }
407
+ export interface IUpdateTypePaymentRq {
408
+ token: string;
409
+ name: string;
410
+ description: string | null;
411
+ }
407
412
  export interface IObtPreassignedCoursesAndStudentEnrollRs {
408
413
  student: IIptUserFullDataRq;
409
414
  preAssignedCourses: number[];
@@ -426,3 +431,17 @@ export interface IRegistrationInProgressRs {
426
431
  accept_terms_code: number | null;
427
432
  created_at: string;
428
433
  }
434
+ export interface ICreateConditionRq {
435
+ token: string;
436
+ key: string;
437
+ name: string;
438
+ description?: string;
439
+ value_type: 'agreement' | 'numeric' | 'boolean' | 'string';
440
+ }
441
+ export interface IUpdateConditionRq {
442
+ token: string;
443
+ key: string;
444
+ name: string;
445
+ description?: string;
446
+ value_type: 'agreement' | 'numeric' | 'boolean' | 'string';
447
+ }
@@ -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, IAssignCommissionGoalToUserRq, IGetActiveCommissionGoalForUserRq, IPayCommissionsRq, ITokenRq, IGetSummaryByCommercialAdvisorRq, IGetCodStudentDetailsByAdviserRq, IUpdatePaymentAreaCommissionRq, IAddConditionToRuleRq } 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, IAssignCommissionGoalToUserRq, IGetActiveCommissionGoalForUserRq, IPayCommissionsRq, ITokenRq, IGetSummaryByCommercialAdvisorRq, IGetCodStudentDetailsByAdviserRq, IUpdatePaymentAreaCommissionRq, IAddConditionToRuleRq, IUpdateTypePaymentRq, ICreateConditionRq, IUpdateConditionRq } 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';
@@ -90,7 +90,13 @@ export declare class CommercialService extends IPTGeneralService {
90
90
  getAllAgreements(request: ITokenRq): Observable<any>;
91
91
  addConditionToRule(request: IAddConditionToRuleRq, ruleCode: number): Observable<any>;
92
92
  deleteConditionFromRule(request: ITokenRq, conditionId: number): Observable<any>;
93
+ updateTypePayment(request: IUpdateTypePaymentRq, code: number): Observable<any>;
94
+ deleteTypePayment(request: ITokenRq, code: number): Observable<any>;
95
+ deletePaymentAreaCommission(request: ITokenRq, code: number): Observable<any>;
93
96
  obtainPreassignedCoursesAndStudentEnrollmentStatus(code: number): Observable<any>;
97
+ createCondition(request: ICreateConditionRq): Observable<any>;
98
+ updateCondition(request: IUpdateConditionRq, code: number): Observable<any>;
99
+ deleteCondition(request: ITokenRq, code: number): Observable<any>;
94
100
  static ɵfac: i0.ɵɵFactoryDeclaration<CommercialService, never>;
95
101
  static ɵprov: i0.ɵɵInjectableDeclaration<CommercialService>;
96
102
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iptdevs-design-system",
3
- "version": "3.2.43",
3
+ "version": "3.2.45",
4
4
  "description": "Library common elements into IPT Plattform.",
5
5
  "keywords": [
6
6
  "IPT",