iptdevs-design-system 3.2.110 → 3.2.112
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 +1 -1
- package/esm2020/lib/core/services/budget-service/budget-service.mjs +11 -1
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/iptdevs-design-system.mjs +10 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +10 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/PaymentGateway/PaymentGateway.models.d.ts +38 -0
- package/lib/core/services/budget-service/budget-service.d.ts +3 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -52,3 +52,41 @@ export interface IWompiPaymentRs {
|
|
|
52
52
|
reference: string;
|
|
53
53
|
transaction_id?: string;
|
|
54
54
|
}
|
|
55
|
+
export interface IGetTransactionsByUserCodeRq {
|
|
56
|
+
Token: string;
|
|
57
|
+
user_code: number;
|
|
58
|
+
}
|
|
59
|
+
export interface IGetTransactionsByUserCode {
|
|
60
|
+
transactions: IWpTransactionRs[];
|
|
61
|
+
}
|
|
62
|
+
export interface IWpTransactionRs {
|
|
63
|
+
wp_payment_gateway_transaction_code: number;
|
|
64
|
+
wp_payment_method: string;
|
|
65
|
+
wp_reference: string;
|
|
66
|
+
wp_transaction_amount: number;
|
|
67
|
+
wp_status: string;
|
|
68
|
+
customer_type_id_card: number;
|
|
69
|
+
customer_id_card: string;
|
|
70
|
+
customer_full_name: string;
|
|
71
|
+
customer_email: string;
|
|
72
|
+
customer_phone: string;
|
|
73
|
+
fees: IWpFeeRs[];
|
|
74
|
+
}
|
|
75
|
+
export interface IWpFeeRs {
|
|
76
|
+
wp_transaction_code: number;
|
|
77
|
+
cod_payment_code: number;
|
|
78
|
+
wp_status: string;
|
|
79
|
+
fee_amount: number;
|
|
80
|
+
total_credits: number;
|
|
81
|
+
wp_applied: number;
|
|
82
|
+
amount_due: number;
|
|
83
|
+
fee_due_date: string;
|
|
84
|
+
fee_created_at: string;
|
|
85
|
+
payment_bills: IWpPaymentBillRs[];
|
|
86
|
+
}
|
|
87
|
+
export interface IWpPaymentBillRs {
|
|
88
|
+
code: number;
|
|
89
|
+
amount: number;
|
|
90
|
+
payment_method: string;
|
|
91
|
+
payment_date: string;
|
|
92
|
+
}
|
|
@@ -6,7 +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
|
+
import { IGetTransactionsByUserCodeRq, IWompiPaymentRq } from '../../models/PaymentGateway/PaymentGateway.models';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class BudgetService extends IPTGeneralService {
|
|
12
12
|
private http;
|
|
@@ -124,6 +124,8 @@ export declare class BudgetService extends IPTGeneralService {
|
|
|
124
124
|
obtainPendingGatewayPaymentsForProcessing(codeStudent: number): Observable<any>;
|
|
125
125
|
newTransactionOnWompiPaymentGateway(param: IWompiPaymentRq): Observable<any>;
|
|
126
126
|
handle(param: any): Observable<any>;
|
|
127
|
+
getTransactionsByUserCode(param: IGetTransactionsByUserCodeRq): Observable<any>;
|
|
128
|
+
revertPendingPaymentsByUserCode(param: IGetTransactionsByUserCodeRq): Observable<any>;
|
|
127
129
|
static ɵfac: i0.ɵɵFactoryDeclaration<BudgetService, never>;
|
|
128
130
|
static ɵprov: i0.ɵɵInjectableDeclaration<BudgetService>;
|
|
129
131
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -76,6 +76,7 @@ export * from "./lib/core/models/PossibleStudent/PossibleStudent.models";
|
|
|
76
76
|
export * from "./lib/core/models/announcement/announcement-user-rq.model";
|
|
77
77
|
export * from "./lib/core/models/announcement/announcement-user-rs.model";
|
|
78
78
|
export * from "./lib/core/models/epayco/epayco.interfaces";
|
|
79
|
+
export * from "./lib/core/models/PaymentGateway/PaymentGateway.models";
|
|
79
80
|
export * from "./lib/core/pipes/course-pipes/schedule-form.pipe";
|
|
80
81
|
export * from "./lib/core/pipes/course-pipes/time-form.pipe";
|
|
81
82
|
export * from "./lib/core/pipes/course-pipes/type-level.pipe";
|