iptdevs-design-system 3.2.91 → 3.2.93
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/models/media/media.interfaces.mjs +1 -1
- package/esm2020/lib/core/services/commercial-service/comercial.service.mjs +9 -1
- package/esm2020/lib/core/services/media-service/media.service.mjs +6 -1
- package/fesm2015/iptdevs-design-system.mjs +10 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +13 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/commercial/commercial.model.d.ts +3 -0
- package/lib/core/models/media/media.interfaces.d.ts +15 -0
- package/lib/core/services/commercial-service/comercial.service.d.ts +2 -1
- package/lib/core/services/media-service/media.service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -3690,6 +3690,11 @@ class MediaService extends IPTGeneralService {
|
|
|
3690
3690
|
formData.append('token', params.token);
|
|
3691
3691
|
return this.http.post(serviceUrl, formData);
|
|
3692
3692
|
}
|
|
3693
|
+
getDocumentUrl(params) {
|
|
3694
|
+
let serviceUrl = this.SERVICE_URL + 'document/get/url';
|
|
3695
|
+
this.generateRequestParams(params);
|
|
3696
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
3697
|
+
}
|
|
3693
3698
|
}
|
|
3694
3699
|
MediaService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: MediaService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3695
3700
|
MediaService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: MediaService, providedIn: 'root' });
|
|
@@ -4442,6 +4447,14 @@ class CommercialService extends IPTGeneralService {
|
|
|
4442
4447
|
this.generateRequestParams(request);
|
|
4443
4448
|
return this.http.get(serviceUrl, this.httpOptions);
|
|
4444
4449
|
}
|
|
4450
|
+
deleteTypeUserCommission(params, code) {
|
|
4451
|
+
const serviceUrl = this.SERVICE_URL + `delete/type/user/commission/${code}`;
|
|
4452
|
+
const options = {
|
|
4453
|
+
...this.httpOptions,
|
|
4454
|
+
body: { params }
|
|
4455
|
+
};
|
|
4456
|
+
return this.http.delete(serviceUrl, options);
|
|
4457
|
+
}
|
|
4445
4458
|
}
|
|
4446
4459
|
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 });
|
|
4447
4460
|
CommercialService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, providedIn: 'root' });
|