iptdevs-design-system 3.2.148 → 3.2.149
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 +11 -10
- package/esm2020/lib/core/services/parameters-service/parameters.service.mjs +2 -2
- package/fesm2015/iptdevs-design-system.mjs +11 -10
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +11 -10
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/commercial/commercial.model.d.ts +7 -2
- package/lib/core/services/commercial-service/comercial.service.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1552,7 +1552,7 @@ class ParameterService extends IPTGeneralService {
|
|
|
1552
1552
|
return this.http.get(serviceUrl);
|
|
1553
1553
|
}
|
|
1554
1554
|
getAllCampus() {
|
|
1555
|
-
let serviceUrl = this.SERVICE_URL + 'get/
|
|
1555
|
+
let serviceUrl = this.SERVICE_URL + 'get/campus/all';
|
|
1556
1556
|
return this.http.get(serviceUrl);
|
|
1557
1557
|
}
|
|
1558
1558
|
getCampusByCode(codeCampu) {
|
|
@@ -4261,11 +4261,6 @@ class CommercialService extends IPTGeneralService {
|
|
|
4261
4261
|
const options = { ...this.httpOptions, params: request };
|
|
4262
4262
|
return this.http.get(serviceUrl, options);
|
|
4263
4263
|
}
|
|
4264
|
-
getTransactionCommissionsByCode(request) {
|
|
4265
|
-
const serviceUrl = this.SERVICE_URL + `get/commissions/by/transaction/code/`;
|
|
4266
|
-
this.generateRequestParams(request);
|
|
4267
|
-
return this.http.get(serviceUrl, this.httpOptions);
|
|
4268
|
-
}
|
|
4269
4264
|
createTypePayment(params) {
|
|
4270
4265
|
const serviceUrl = this.SERVICE_URL + 'post/create/type/payment/commissions';
|
|
4271
4266
|
this.generateRequestParams(params);
|
|
@@ -4324,17 +4319,23 @@ class CommercialService extends IPTGeneralService {
|
|
|
4324
4319
|
payCommissions(params) {
|
|
4325
4320
|
const serviceUrl = this.SERVICE_URL + 'commissions/pay/cods';
|
|
4326
4321
|
this.generateRequestParams(params);
|
|
4327
|
-
return this.http.post(serviceUrl, params, this.httpOptions);
|
|
4322
|
+
//return this.http.post(serviceUrl, params, this.httpOptions);
|
|
4323
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
4328
4324
|
}
|
|
4329
4325
|
rejectTransactionByCode(params) {
|
|
4330
|
-
const serviceUrl = this.SERVICE_URL + 'commissions/
|
|
4326
|
+
const serviceUrl = this.SERVICE_URL + 'commissions/reject/transaction';
|
|
4331
4327
|
this.generateRequestParams(params);
|
|
4332
|
-
return this.http.post(serviceUrl,
|
|
4328
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
4333
4329
|
}
|
|
4334
4330
|
approveTransactionByCode(params) {
|
|
4335
4331
|
const serviceUrl = this.SERVICE_URL + 'commissions/approve/transaction';
|
|
4336
4332
|
this.generateRequestParams(params);
|
|
4337
|
-
return this.http.post(serviceUrl,
|
|
4333
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
4334
|
+
}
|
|
4335
|
+
getTransactionCommissionsByCode(request) {
|
|
4336
|
+
const serviceUrl = this.SERVICE_URL + `get/commissions/by/transaction/code`;
|
|
4337
|
+
this.generateRequestParams(request);
|
|
4338
|
+
return this.http.get(serviceUrl, this.httpOptions);
|
|
4338
4339
|
}
|
|
4339
4340
|
payAdvisorBonuses(params) {
|
|
4340
4341
|
const serviceUrl = this.SERVICE_URL + 'commissions/pay/bonuses';
|