iptdevs-design-system 3.2.29 → 3.2.31

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.
@@ -4143,11 +4143,6 @@ class CommercialService extends IPTGeneralService {
4143
4143
  this.generateRequestParams(params);
4144
4144
  return this.http.post(serviceUrl, this.httpOptions);
4145
4145
  }
4146
- getCodStudentDetailsByAdviser(params) {
4147
- let serviceUrl = this.SERVICE_URL + 'get/cod/student/details/by/adviser';
4148
- this.generateRequestParams(params);
4149
- return this.http.post(serviceUrl, this.httpOptions);
4150
- }
4151
4146
  gesPosibleStudentAllFourModelsByDate(params) {
4152
4147
  let serviceUrl = this.SERVICE_URL + 'get/posible/students/all/four/models/by/date';
4153
4148
  this.generateRequestParams(params);
@@ -4173,11 +4168,6 @@ class CommercialService extends IPTGeneralService {
4173
4168
  this.generateRequestParams(params);
4174
4169
  return this.http.post(serviceUrl, this.httpOptions);
4175
4170
  }
4176
- getSummaryByCommercialAdvisor(params) {
4177
- let serviceUrl = this.SERVICE_URL + 'get/summary/by/commercial/advisor';
4178
- this.generateRequestParams(params);
4179
- return this.http.post(serviceUrl, this.httpOptions);
4180
- }
4181
4171
  getAllCodInformationForExporting(params) {
4182
4172
  let serviceUrl = this.SERVICE_URL + 'get/all/cod/information/for/exporting';
4183
4173
  this.generateRequestParams(params);
@@ -4213,6 +4203,85 @@ class CommercialService extends IPTGeneralService {
4213
4203
  this.generateRequestParams(code);
4214
4204
  return this.http.get(serviceUrl, this.httpOptions);
4215
4205
  }
4206
+ getSummaryByCommercialAdvisor(request) {
4207
+ const serviceUrl = this.SERVICE_URL + 'get/summary/by/commercial/advisor';
4208
+ this.generateRequestParams({ params: request });
4209
+ return this.http.post(serviceUrl, this.httpOptions);
4210
+ }
4211
+ getCodStudentDetailsByAdviser(request) {
4212
+ const serviceUrl = this.SERVICE_URL + 'get/cod/student/details/by/adviser';
4213
+ const options = { ...this.httpOptions, params: request };
4214
+ return this.http.get(serviceUrl, options);
4215
+ }
4216
+ createTypePayment(request) {
4217
+ const serviceUrl = this.SERVICE_URL + 'post/create/type/payment/commissions';
4218
+ this.generateRequestParams({ params: request });
4219
+ return this.http.post(serviceUrl, this.httpOptions);
4220
+ }
4221
+ getAllTypePayments(request) {
4222
+ const serviceUrl = this.SERVICE_URL + 'get/all/type/payment/commissions';
4223
+ this.generateRequestParams(request);
4224
+ return this.http.get(serviceUrl, this.httpOptions);
4225
+ }
4226
+ createCommissionArea(request) {
4227
+ const serviceUrl = this.SERVICE_URL + 'post/create/commission/area';
4228
+ this.generateRequestParams({ params: request });
4229
+ return this.http.post(serviceUrl, this.httpOptions);
4230
+ }
4231
+ getAllCommissionAreas(request) {
4232
+ const serviceUrl = this.SERVICE_URL + 'get/all/commission/areas';
4233
+ this.generateRequestParams(request);
4234
+ return this.http.get(serviceUrl, this.httpOptions);
4235
+ }
4236
+ assignCourseTypesToArea(request) {
4237
+ const serviceUrl = this.SERVICE_URL + 'post/assign/course-types/to-area';
4238
+ this.generateRequestParams({ params: request });
4239
+ return this.http.post(serviceUrl, this.httpOptions);
4240
+ }
4241
+ createPaymentAreaCommission(request) {
4242
+ const serviceUrl = this.SERVICE_URL + 'post/create/payment/area/commission';
4243
+ this.generateRequestParams({ params: request });
4244
+ return this.http.post(serviceUrl, this.httpOptions);
4245
+ }
4246
+ getCommissionRulesByArea(request, areaCode) {
4247
+ const serviceUrl = this.SERVICE_URL + `get/commission-rules/by-area/${areaCode}`;
4248
+ this.generateRequestParams(request);
4249
+ return this.http.get(serviceUrl, this.httpOptions);
4250
+ }
4251
+ createTypeUserCommission(request) {
4252
+ const serviceUrl = this.SERVICE_URL + 'post/create/type/user/commission';
4253
+ this.generateRequestParams({ params: request });
4254
+ return this.http.post(serviceUrl, this.httpOptions);
4255
+ }
4256
+ getAllTypeUserCommissions(request) {
4257
+ const serviceUrl = this.SERVICE_URL + 'get/all/type/user/commissions';
4258
+ this.generateRequestParams(request);
4259
+ return this.http.get(serviceUrl, this.httpOptions);
4260
+ }
4261
+ assignCommissionGoalToUser(request) {
4262
+ const serviceUrl = this.SERVICE_URL + 'post/assign/goal/to/user';
4263
+ this.generateRequestParams({ params: request });
4264
+ return this.http.post(serviceUrl, this.httpOptions);
4265
+ }
4266
+ getActiveCommissionGoalForUser(request) {
4267
+ const serviceUrl = this.SERVICE_URL + 'get/active/goal/for/user';
4268
+ this.generateRequestParams(request);
4269
+ return this.http.get(serviceUrl, this.httpOptions);
4270
+ }
4271
+ payCommissions(request) {
4272
+ const serviceUrl = this.SERVICE_URL + 'post/pay/commissions';
4273
+ this.generateRequestParams({ params: request });
4274
+ return this.http.post(serviceUrl, this.httpOptions);
4275
+ }
4276
+ updatePaymentAreaCommission(request, ruleCode) {
4277
+ const serviceUrl = this.SERVICE_URL + `put/payment-area-commission/${ruleCode}`;
4278
+ return this.http.put(serviceUrl, request, this.httpOptions);
4279
+ }
4280
+ getAllAreasWithCommissionRules(request) {
4281
+ const serviceUrl = this.SERVICE_URL + 'get/all-areas-with-commission-rules';
4282
+ this.generateRequestParams(request);
4283
+ return this.http.get(serviceUrl, this.httpOptions);
4284
+ }
4216
4285
  }
4217
4286
  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 });
4218
4287
  CommercialService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, providedIn: 'root' });