iptdevs-design-system 3.2.103 → 3.2.105
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/PaymentGateway/PaymentGateway.models.mjs +2 -0
- package/esm2020/lib/core/models/budget/budget.model.mjs +1 -1
- package/esm2020/lib/core/services/budget-service/budget-service.mjs +15 -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/PaymentGateway/PaymentGateway.models.d.ts +49 -0
- package/lib/core/models/budget/budget.model.d.ts +21 -0
- package/lib/core/services/budget-service/budget-service.d.ts +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { IMessageServiceRs } from "design-system";
|
|
2
|
+
export interface IStudentPendingFeesRs {
|
|
3
|
+
ip_applicant: string;
|
|
4
|
+
status: number;
|
|
5
|
+
message: IMessageServiceRs;
|
|
6
|
+
data: IStudentPendingFeeRs[];
|
|
7
|
+
}
|
|
8
|
+
export interface IStudentPendingFeeRs {
|
|
9
|
+
code: number;
|
|
10
|
+
cod: number;
|
|
11
|
+
timely_date: string;
|
|
12
|
+
amount: number;
|
|
13
|
+
fee_number: number;
|
|
14
|
+
status: number;
|
|
15
|
+
updated_amount_by: number | null;
|
|
16
|
+
updated_by: number;
|
|
17
|
+
deleted_at: string | null;
|
|
18
|
+
updated_at: string;
|
|
19
|
+
created_at: string;
|
|
20
|
+
dayVenc: number;
|
|
21
|
+
colorDay: string;
|
|
22
|
+
selected?: boolean;
|
|
23
|
+
partialAmount?: number;
|
|
24
|
+
isPartial?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface IPaymentSelectionRs {
|
|
27
|
+
selectedFees: IStudentPendingFeeRs[];
|
|
28
|
+
totalAmount: number;
|
|
29
|
+
isPartialMode: boolean;
|
|
30
|
+
partialAmount: number;
|
|
31
|
+
}
|
|
32
|
+
export interface IWompiPaymentRq {
|
|
33
|
+
student_code: string;
|
|
34
|
+
fee_codes: number[];
|
|
35
|
+
amount_in_cents: number;
|
|
36
|
+
customer_id_card: string;
|
|
37
|
+
customer_full_name: string;
|
|
38
|
+
customer_phone: string;
|
|
39
|
+
customer_email: string;
|
|
40
|
+
type_currency: number;
|
|
41
|
+
type_environment: string;
|
|
42
|
+
payment_method: string;
|
|
43
|
+
is_partial: boolean;
|
|
44
|
+
}
|
|
45
|
+
export interface IWompiPaymentRs {
|
|
46
|
+
checkout_url: string;
|
|
47
|
+
reference: string;
|
|
48
|
+
transaction_id?: string;
|
|
49
|
+
}
|
|
@@ -1063,4 +1063,25 @@ export interface ICoursePaymentRangeReportCodDetail {
|
|
|
1063
1063
|
total_amount_in_range: number;
|
|
1064
1064
|
payment_dates: string;
|
|
1065
1065
|
}
|
|
1066
|
+
export interface IobtainPendingGatewayPaymentsForProcessingRs {
|
|
1067
|
+
ip_applicant?: string;
|
|
1068
|
+
status?: number;
|
|
1069
|
+
message?: IMessageRq;
|
|
1070
|
+
data?: obtainPendingGatewayPaymentsForProcessingRs[];
|
|
1071
|
+
}
|
|
1072
|
+
export interface obtainPendingGatewayPaymentsForProcessingRs {
|
|
1073
|
+
code?: number;
|
|
1074
|
+
cod?: number;
|
|
1075
|
+
timely_date?: Date;
|
|
1076
|
+
amount?: number;
|
|
1077
|
+
fee_number?: number;
|
|
1078
|
+
status?: number;
|
|
1079
|
+
updated_amount_by?: number;
|
|
1080
|
+
updated_by?: number | null;
|
|
1081
|
+
deleted_at?: null;
|
|
1082
|
+
updated_at?: Date;
|
|
1083
|
+
created_at?: Date;
|
|
1084
|
+
dayVenc?: number;
|
|
1085
|
+
colorDay?: string;
|
|
1086
|
+
}
|
|
1066
1087
|
export {};
|
|
@@ -6,6 +6,7 @@ import { IgetCoursesFinishAndunassignedRq } from '../../models/reports/reports.m
|
|
|
6
6
|
import { IPTGeneralService } from '../service-enviroments';
|
|
7
7
|
import { ICodPaymentRq } from '../../models/cod/cod-rq.model';
|
|
8
8
|
import { ICreateTransferRq, ISearchTransferRq, IUpdateTransferRq } from '../../models/transfer/transfer.model';
|
|
9
|
+
import { IWompiPaymentRq } from '../../models/PaymentGateway/PaymentGateway.models';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class BudgetService extends IPTGeneralService {
|
|
11
12
|
private http;
|
|
@@ -120,6 +121,9 @@ export declare class BudgetService extends IPTGeneralService {
|
|
|
120
121
|
getPaymentsByMadeExport(params: any): Observable<any>;
|
|
121
122
|
searchForStudentsByDifferentParameters(param: IObtainStudentPaymentByDiffParamRq): Observable<any>;
|
|
122
123
|
obtainCoursePaymentRangeReport(param: ICoursePaymentRangeReportRq): Observable<ICoursePaymentRangeReportRs>;
|
|
124
|
+
obtainPendingGatewayPaymentsForProcessing(codeStudent: number): Observable<any>;
|
|
125
|
+
newTransactionOnWompiPaymentGateway(param: IWompiPaymentRq): Observable<any>;
|
|
126
|
+
handle(param: any): Observable<any>;
|
|
123
127
|
static ɵfac: i0.ɵɵFactoryDeclaration<BudgetService, never>;
|
|
124
128
|
static ɵprov: i0.ɵɵInjectableDeclaration<BudgetService>;
|
|
125
129
|
}
|