iptdevs-design-system 3.2.119 → 3.2.120
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/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 +15 -0
- package/lib/core/services/budget-service/budget-service.d.ts +3 -1
- package/package.json +1 -1
|
@@ -88,3 +88,18 @@ export interface IWpPaymentBillRs {
|
|
|
88
88
|
payment_method: string;
|
|
89
89
|
payment_date: string;
|
|
90
90
|
}
|
|
91
|
+
export interface IUpdateTransactionStatusRq {
|
|
92
|
+
token?: string;
|
|
93
|
+
reference_ipt?: string;
|
|
94
|
+
new_status?: string;
|
|
95
|
+
new_wp_transaction_code?: string;
|
|
96
|
+
new_wp_payment_method?: string;
|
|
97
|
+
status_message_resp?: string;
|
|
98
|
+
wp_trans_started_at?: Date;
|
|
99
|
+
wp_trans_finished_at?: Date;
|
|
100
|
+
}
|
|
101
|
+
export interface IWompiTransactionPayloadRq {
|
|
102
|
+
token: string;
|
|
103
|
+
wompi_transaction_id: number;
|
|
104
|
+
type_environment: string;
|
|
105
|
+
}
|
|
@@ -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 { IGetTransactionsByUserCodeRq, IWompiPaymentRq } from '../../models/PaymentGateway/PaymentGateway.models';
|
|
9
|
+
import { IGetTransactionsByUserCodeRq, IUpdateTransactionStatusRq, IWompiPaymentRq, IWompiTransactionPayloadRq } 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;
|
|
@@ -128,6 +128,8 @@ export declare class BudgetService extends IPTGeneralService {
|
|
|
128
128
|
handle(param: any): Observable<any>;
|
|
129
129
|
getTransactionsByUserCode(param: IGetTransactionsByUserCodeRq): Observable<any>;
|
|
130
130
|
revertPendingPaymentsByUserCode(param: IGetTransactionsByUserCodeRq): Observable<any>;
|
|
131
|
+
updateTransactionStatus(param: IUpdateTransactionStatusRq): Observable<any>;
|
|
132
|
+
getWompiTransactionById(param: IWompiTransactionPayloadRq): Observable<any>;
|
|
131
133
|
static ɵfac: i0.ɵɵFactoryDeclaration<BudgetService, never>;
|
|
132
134
|
static ɵprov: i0.ɵɵInjectableDeclaration<BudgetService>;
|
|
133
135
|
}
|