iptdevs-design-system 3.2.62 → 3.2.64
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 +21 -1
- package/fesm2015/iptdevs-design-system.mjs +20 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +20 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/commercial/commercial.model.d.ts +18 -1
- package/lib/core/services/commercial-service/comercial.service.d.ts +5 -1
- package/package.json +1 -1
|
@@ -4393,6 +4393,26 @@ class CommercialService extends IPTGeneralService {
|
|
|
4393
4393
|
this.generateRequestParams(request);
|
|
4394
4394
|
return this.http.get(serviceUrl, this.httpOptions);
|
|
4395
4395
|
}
|
|
4396
|
+
getAllCommissionConcepts(request) {
|
|
4397
|
+
const serviceUrl = this.SERVICE_URL + 'get/all/commission/concepts';
|
|
4398
|
+
this.generateRequestParams(request);
|
|
4399
|
+
return this.http.get(serviceUrl, this.httpOptions);
|
|
4400
|
+
}
|
|
4401
|
+
createCommissionConcept(params) {
|
|
4402
|
+
const serviceUrl = this.SERVICE_URL + 'post/create/commission/concept';
|
|
4403
|
+
this.generateRequestParams(params);
|
|
4404
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
4405
|
+
}
|
|
4406
|
+
updateCommissionConcept(params, code) {
|
|
4407
|
+
const serviceUrl = this.SERVICE_URL + `put/update/commission/concept/${code}`;
|
|
4408
|
+
this.generateRequestParams(params);
|
|
4409
|
+
return this.http.put(serviceUrl, this.httpOptions);
|
|
4410
|
+
}
|
|
4411
|
+
updateTypeUserCommission(params, code) {
|
|
4412
|
+
const serviceUrl = this.SERVICE_URL + `put/update/type/user/commission/${code}`;
|
|
4413
|
+
this.generateRequestParams(params);
|
|
4414
|
+
return this.http.put(serviceUrl, this.httpOptions);
|
|
4415
|
+
}
|
|
4396
4416
|
}
|
|
4397
4417
|
CommercialService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4398
4418
|
CommercialService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, providedIn: 'root' });
|