iptdevs-design-system 3.2.92 → 3.2.94
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 +14 -1
- package/esm2020/lib/core/services/media-service/media.service.mjs +3 -3
- package/fesm2015/iptdevs-design-system.mjs +12 -2
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +15 -2
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/commercial/commercial.model.d.ts +3 -0
- package/lib/core/services/commercial-service/comercial.service.d.ts +3 -1
- package/lib/core/services/media-service/media.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3690,9 +3690,9 @@ class MediaService extends IPTGeneralService {
|
|
|
3690
3690
|
formData.append('token', params.token);
|
|
3691
3691
|
return this.http.post(serviceUrl, formData);
|
|
3692
3692
|
}
|
|
3693
|
-
getDocumentUrl(
|
|
3693
|
+
getDocumentUrl(params) {
|
|
3694
3694
|
let serviceUrl = this.SERVICE_URL + 'document/get/url';
|
|
3695
|
-
this.generateRequestParams(
|
|
3695
|
+
this.generateRequestParams(params);
|
|
3696
3696
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
3697
3697
|
}
|
|
3698
3698
|
}
|
|
@@ -4447,6 +4447,19 @@ class CommercialService extends IPTGeneralService {
|
|
|
4447
4447
|
this.generateRequestParams(request);
|
|
4448
4448
|
return this.http.get(serviceUrl, this.httpOptions);
|
|
4449
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
|
+
}
|
|
4458
|
+
getMonthlyBonusStatus(request, code) {
|
|
4459
|
+
let serviceUrl = this.SERVICE_URL + `advisor/monthly/status/${code}`;
|
|
4460
|
+
this.generateRequestParams(request);
|
|
4461
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
4462
|
+
}
|
|
4450
4463
|
}
|
|
4451
4464
|
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 });
|
|
4452
4465
|
CommercialService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, providedIn: 'root' });
|