@veloceapps/api 11.0.0-50 → 11.0.0-52
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/v2/services/functions-admin-api.service.mjs +3 -14
- package/esm2020/v2/services/orchestrations-admin-api.service.mjs +1 -1
- package/esm2020/v2/types/function.types.mjs +1 -1
- package/esm2020/v2/types/procedure.types.mjs +1 -1
- package/fesm2015/veloceapps-api-v2.mjs +2 -13
- package/fesm2015/veloceapps-api-v2.mjs.map +1 -1
- package/fesm2020/veloceapps-api-v2.mjs +2 -13
- package/fesm2020/veloceapps-api-v2.mjs.map +1 -1
- package/package.json +1 -1
- package/v2/services/functions-admin-api.service.d.ts +2 -3
- package/v2/services/orchestrations-admin-api.service.d.ts +2 -2
- package/v2/types/function.types.d.ts +0 -4
- package/v2/types/procedure.types.d.ts +56 -1
@@ -2,7 +2,7 @@ import { HttpParams, HttpErrorResponse, HttpClientModule } from '@angular/common
|
|
2
2
|
import * as i0 from '@angular/core';
|
3
3
|
import { Injectable, NgModule } from '@angular/core';
|
4
4
|
import * as i1 from '@veloceapps/core';
|
5
|
-
import { Expression,
|
5
|
+
import { Expression, Operator, parseJsonSafely, parseJsonStringAsObject, BaseHttpService, XrayService } from '@veloceapps/core';
|
6
6
|
import { noop, of, map as map$1, tap as tap$1, catchError as catchError$1, forkJoin, switchMap } from 'rxjs';
|
7
7
|
import { map, catchError, tap } from 'rxjs/operators';
|
8
8
|
import * as i2 from 'primeng/api';
|
@@ -782,7 +782,7 @@ class FunctionsAdminApiService {
|
|
782
782
|
});
|
783
783
|
}
|
784
784
|
execute$(body) {
|
785
|
-
const url = this.
|
785
|
+
const url = `${this.serviceUrl}/execute`;
|
786
786
|
return this.baseHttpService.api({
|
787
787
|
url,
|
788
788
|
method: 'post',
|
@@ -802,17 +802,6 @@ class FunctionsAdminApiService {
|
|
802
802
|
method: 'get',
|
803
803
|
});
|
804
804
|
}
|
805
|
-
getExecuteRuleUrl(ruleGroupType) {
|
806
|
-
switch (ruleGroupType) {
|
807
|
-
case RuleGroupTypes.eligibility:
|
808
|
-
return `${this.serviceUrl}/eligibility/execute`;
|
809
|
-
case RuleGroupTypes.rlmContextBased:
|
810
|
-
case RuleGroupTypes.generalContextBased:
|
811
|
-
return `${this.serviceUrl}/execute`;
|
812
|
-
default:
|
813
|
-
return `${this.serviceUrl}/legacy/execute`;
|
814
|
-
}
|
815
|
-
}
|
816
805
|
}
|
817
806
|
FunctionsAdminApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FunctionsAdminApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
818
807
|
FunctionsAdminApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FunctionsAdminApiService });
|