iptdevs-design-system 3.1.673 → 3.1.674
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 +10 -1
- package/fesm2015/iptdevs-design-system.mjs +9 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +9 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/models/commercial/commercial.model.d.ts +47 -0
- package/lib/core/services/commercial-service/comercial.service.d.ts +3 -1
- package/package.json +1 -1
|
@@ -3154,6 +3154,15 @@ class CommercialService extends IPTGeneralService {
|
|
|
3154
3154
|
this.generateRequestParams(params);
|
|
3155
3155
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
3156
3156
|
}
|
|
3157
|
+
prizesForDurationOdContest() {
|
|
3158
|
+
let serviceUrl = this.SERVICE_URL + 'prizes/for/duration/of/contest';
|
|
3159
|
+
return this.http.get(serviceUrl);
|
|
3160
|
+
}
|
|
3161
|
+
createTicketReferral(params) {
|
|
3162
|
+
let serviceUrl = this.SERVICE_URL + 'create/contest/registration/by/referrale';
|
|
3163
|
+
this.generateRequestParams(params);
|
|
3164
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
3165
|
+
}
|
|
3157
3166
|
}
|
|
3158
3167
|
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 });
|
|
3159
3168
|
CommercialService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, providedIn: 'root' });
|