@ohioepa/oepa-ui-lib 1.3.3 → 1.3.5
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/esm2022/lib/edoc-attachment/edoc-attachment.service.mjs +14 -9
- package/esm2022/lib/lynx-image-upload/lynx.service.mjs +15 -10
- package/esm2022/lib/oepa-account/account.service.mjs +23 -18
- package/esm2022/lib/oepa-reference/oepa-reference.service.mjs +13 -8
- package/esm2022/lib/parameter/parameter.service.mjs +17 -12
- package/esm2022/lib/params-help-button/params-help.service.mjs +11 -4
- package/esm2022/lib/shopping-cart/shopping-cart.service.mjs +13 -6
- package/fesm2022/ohioepa-oepa-ui-lib.mjs +99 -60
- package/fesm2022/ohioepa-oepa-ui-lib.mjs.map +1 -1
- package/lib/edoc-attachment/edoc-attachment.service.d.ts +2 -2
- package/lib/lynx-image-upload/lynx.service.d.ts +3 -3
- package/lib/oepa-account/account.service.d.ts +3 -3
- package/lib/oepa-reference/oepa-reference.service.d.ts +2 -2
- package/lib/parameter/parameter.service.d.ts +2 -2
- package/lib/params-help-button/params-help.service.d.ts +2 -1
- package/lib/shopping-cart/shopping-cart.service.d.ts +2 -1
- package/ohioepa-oepa-ui-lib-1.3.5.tgz +0 -0
- package/package.json +1 -1
- package/ohioepa-oepa-ui-lib-1.3.3.tgz +0 -0
|
@@ -6023,32 +6023,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
6023
6023
|
|
|
6024
6024
|
class EdocAttachmentService {
|
|
6025
6025
|
http;
|
|
6026
|
-
ebizRootURL;
|
|
6027
6026
|
fileUtilUrl = '/ebiz/api/v1/fileutil';
|
|
6028
|
-
|
|
6027
|
+
params;
|
|
6028
|
+
constructor(http, ebizRootURL, app) {
|
|
6029
6029
|
this.http = http;
|
|
6030
|
-
this.ebizRootURL = ebizRootURL;
|
|
6031
6030
|
this.fileUtilUrl = ebizRootURL + this.fileUtilUrl;
|
|
6031
|
+
this.params = {
|
|
6032
|
+
'app': app
|
|
6033
|
+
};
|
|
6032
6034
|
}
|
|
6033
6035
|
createEDocAttachment(eDocAttachment) {
|
|
6034
6036
|
let url = this.fileUtilUrl + '/eDocumentAttachments';
|
|
6035
|
-
return this.http.post(url, eDocAttachment);
|
|
6037
|
+
return this.http.post(url, eDocAttachment, { params: this.params });
|
|
6036
6038
|
}
|
|
6037
6039
|
deleteEDocAttachment(eDocAttachmentID) {
|
|
6038
6040
|
let url = this.fileUtilUrl + '/eDocumentAttachments/' + eDocAttachmentID;
|
|
6039
|
-
return this.http.delete(url);
|
|
6041
|
+
return this.http.delete(url, { params: this.params });
|
|
6040
6042
|
}
|
|
6041
6043
|
retrieveEDocAttachment(eDocAttachmentID) {
|
|
6042
6044
|
let url = this.fileUtilUrl + '/eDocumentAttachments/' + eDocAttachmentID;
|
|
6043
|
-
return this.http.get(url);
|
|
6045
|
+
return this.http.get(url, { params: this.params });
|
|
6044
6046
|
}
|
|
6045
6047
|
downloadEDocAttachment(eDocAttachmentID) {
|
|
6046
6048
|
let url = this.fileUtilUrl + '/eDocumentAttachments/' + eDocAttachmentID + '/download';
|
|
6047
6049
|
const headers = new HttpHeaders();
|
|
6048
6050
|
headers.append('Content-type', 'application/json;odata=verbose');
|
|
6049
|
-
return this.http.get(url, { headers: headers, responseType: 'blob' });
|
|
6051
|
+
return this.http.get(url, { headers: headers, params: this.params, responseType: 'blob' });
|
|
6050
6052
|
}
|
|
6051
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EdocAttachmentService, deps: [{ token: i1.HttpClient }, { token: 'ebizRootURL' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6053
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EdocAttachmentService, deps: [{ token: i1.HttpClient }, { token: 'ebizRootURL' }, { token: 'app' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6052
6054
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EdocAttachmentService, providedIn: 'root' });
|
|
6053
6055
|
}
|
|
6054
6056
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EdocAttachmentService, decorators: [{
|
|
@@ -6059,6 +6061,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
6059
6061
|
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
6060
6062
|
type: Inject,
|
|
6061
6063
|
args: ['ebizRootURL']
|
|
6064
|
+
}] }, { type: undefined, decorators: [{
|
|
6065
|
+
type: Inject,
|
|
6066
|
+
args: ['app']
|
|
6062
6067
|
}] }] });
|
|
6063
6068
|
|
|
6064
6069
|
class EdocAttachmentComponent {
|
|
@@ -6973,14 +6978,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
6973
6978
|
class ParamsHelpService {
|
|
6974
6979
|
http;
|
|
6975
6980
|
baseURL = '/ebiz/api/v1/gateway/helpURLs/';
|
|
6976
|
-
|
|
6981
|
+
params = {};
|
|
6982
|
+
constructor(http, ebizRootURL, app) {
|
|
6977
6983
|
this.http = http;
|
|
6978
6984
|
this.baseURL = ebizRootURL + this.baseURL;
|
|
6985
|
+
this.params = {
|
|
6986
|
+
'app': app
|
|
6987
|
+
};
|
|
6979
6988
|
}
|
|
6980
6989
|
retrieveHelpURL(helpURLParamName) {
|
|
6981
|
-
return this.http.get(this.baseURL + helpURLParamName, { responseType: 'text' });
|
|
6990
|
+
return this.http.get(this.baseURL + helpURLParamName, { responseType: 'text', params: this.params });
|
|
6982
6991
|
}
|
|
6983
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ParamsHelpService, deps: [{ token: i1.HttpClient }, { token: 'ebizRootURL' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6992
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ParamsHelpService, deps: [{ token: i1.HttpClient }, { token: 'ebizRootURL' }, { token: 'app' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6984
6993
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ParamsHelpService, providedIn: 'root' });
|
|
6985
6994
|
}
|
|
6986
6995
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ParamsHelpService, decorators: [{
|
|
@@ -6991,6 +7000,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
6991
7000
|
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
6992
7001
|
type: Inject,
|
|
6993
7002
|
args: ['ebizRootURL']
|
|
7003
|
+
}] }, { type: undefined, decorators: [{
|
|
7004
|
+
type: Inject,
|
|
7005
|
+
args: ['app']
|
|
6994
7006
|
}] }] });
|
|
6995
7007
|
|
|
6996
7008
|
class ParamsHelpButtonComponent {
|
|
@@ -7736,10 +7748,14 @@ class ShoppingCartService {
|
|
|
7736
7748
|
http;
|
|
7737
7749
|
ebizRootURL;
|
|
7738
7750
|
paymentUrl = '/ebiz/api/v1/payment/';
|
|
7739
|
-
|
|
7751
|
+
params = {};
|
|
7752
|
+
constructor(http, ebizRootURL, app) {
|
|
7740
7753
|
this.http = http;
|
|
7741
7754
|
this.ebizRootURL = ebizRootURL;
|
|
7742
7755
|
this.paymentUrl = ebizRootURL + this.paymentUrl;
|
|
7756
|
+
this.params = {
|
|
7757
|
+
'app': app
|
|
7758
|
+
};
|
|
7743
7759
|
}
|
|
7744
7760
|
getEbizRootURL() {
|
|
7745
7761
|
return this.ebizRootURL;
|
|
@@ -7753,7 +7769,7 @@ class ShoppingCartService {
|
|
|
7753
7769
|
const headers = new HttpHeaders();
|
|
7754
7770
|
headers.append('Content-Type', 'application/json');
|
|
7755
7771
|
const url = this.paymentUrl + '/shoppingCart/' + serviceName;
|
|
7756
|
-
return this.http.get(url, { headers: headers, responseType: 'json' });
|
|
7772
|
+
return this.http.get(url, { headers: headers, responseType: 'json', params: this.params });
|
|
7757
7773
|
}
|
|
7758
7774
|
/**
|
|
7759
7775
|
* Store cart in the database
|
|
@@ -7764,7 +7780,7 @@ class ShoppingCartService {
|
|
|
7764
7780
|
const headers = new HttpHeaders();
|
|
7765
7781
|
headers.append('Content-Type', 'application/json');
|
|
7766
7782
|
const url = this.paymentUrl + '/shoppingCart';
|
|
7767
|
-
return this.http.post(url, cart, { headers: headers, responseType: 'json' });
|
|
7783
|
+
return this.http.post(url, cart, { headers: headers, responseType: 'json', params: this.params });
|
|
7768
7784
|
}
|
|
7769
7785
|
/**
|
|
7770
7786
|
* Remove the item with the type id, id, from cart and store it in the database
|
|
@@ -7810,9 +7826,9 @@ class ShoppingCartService {
|
|
|
7810
7826
|
checkOut(cart) {
|
|
7811
7827
|
const headers = new HttpHeaders({ 'Content-Type': 'application/json; odata=verbose' });
|
|
7812
7828
|
const url = this.paymentUrl + '/shoppingCart/' + cart.serviceName + '/checkout';
|
|
7813
|
-
return this.http.post(url, cart, { headers: headers, responseType: 'json' });
|
|
7829
|
+
return this.http.post(url, cart, { headers: headers, responseType: 'json', params: this.params });
|
|
7814
7830
|
}
|
|
7815
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ShoppingCartService, deps: [{ token: i1.HttpClient }, { token: 'ebizRootURL' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7831
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ShoppingCartService, deps: [{ token: i1.HttpClient }, { token: 'ebizRootURL' }, { token: 'app' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7816
7832
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ShoppingCartService, providedIn: 'root' });
|
|
7817
7833
|
}
|
|
7818
7834
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ShoppingCartService, decorators: [{
|
|
@@ -7823,6 +7839,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
7823
7839
|
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
7824
7840
|
type: Inject,
|
|
7825
7841
|
args: ['ebizRootURL']
|
|
7842
|
+
}] }, { type: undefined, decorators: [{
|
|
7843
|
+
type: Inject,
|
|
7844
|
+
args: ['app']
|
|
7826
7845
|
}] }] });
|
|
7827
7846
|
|
|
7828
7847
|
class ShoppingCartViewComponent {
|
|
@@ -8867,41 +8886,43 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
8867
8886
|
|
|
8868
8887
|
class LynxService {
|
|
8869
8888
|
http;
|
|
8870
|
-
ebizRootURL;
|
|
8871
8889
|
lynxUrl = '/ebiz/api/v1/lynx/';
|
|
8872
|
-
|
|
8890
|
+
params;
|
|
8891
|
+
constructor(http, ebizRootURL, app) {
|
|
8873
8892
|
this.http = http;
|
|
8874
|
-
this.ebizRootURL = ebizRootURL;
|
|
8875
8893
|
this.lynxUrl = ebizRootURL + this.lynxUrl;
|
|
8894
|
+
this.params = {
|
|
8895
|
+
'app': app
|
|
8896
|
+
};
|
|
8876
8897
|
}
|
|
8877
8898
|
retrieveProjects() {
|
|
8878
8899
|
const headers = new HttpHeaders();
|
|
8879
8900
|
headers.append('Content-type', 'application/json');
|
|
8880
|
-
return this.http.get(this.lynxUrl + 'projects', { headers: headers });
|
|
8901
|
+
return this.http.get(this.lynxUrl + 'projects', { headers: headers, params: this.params });
|
|
8881
8902
|
}
|
|
8882
8903
|
retrieveProjectMetadata(projectID) {
|
|
8883
8904
|
const headers = new HttpHeaders();
|
|
8884
8905
|
headers.append('Content-type', 'application/json');
|
|
8885
|
-
return this.http.get(this.lynxUrl + 'metadata/' + projectID, { headers: headers });
|
|
8906
|
+
return this.http.get(this.lynxUrl + 'metadata/' + projectID, { headers: headers, params: this.params });
|
|
8886
8907
|
}
|
|
8887
8908
|
storeImage(attachment, projectID) {
|
|
8888
8909
|
const headers = new HttpHeaders();
|
|
8889
8910
|
headers.append('Content-type', 'application/json');
|
|
8890
8911
|
let url = this.lynxUrl + 'project/' + projectID + '/' + 'image';
|
|
8891
|
-
return this.http.post(url, attachment, { headers: headers });
|
|
8912
|
+
return this.http.post(url, attachment, { headers: headers, params: this.params });
|
|
8892
8913
|
}
|
|
8893
8914
|
tagImage(imageMetadata, imageID, projectID) {
|
|
8894
8915
|
const headers = new HttpHeaders();
|
|
8895
8916
|
headers.append('Content-type', 'application/json');
|
|
8896
8917
|
let url = this.lynxUrl + 'project/' + projectID + '/' + 'image/' + imageID + '/metadata';
|
|
8897
|
-
return this.http.post(url, imageMetadata, { headers: headers });
|
|
8918
|
+
return this.http.post(url, imageMetadata, { headers: headers, params: this.params });
|
|
8898
8919
|
}
|
|
8899
8920
|
downloadImage(imageID) {
|
|
8900
8921
|
const headers = new HttpHeaders();
|
|
8901
8922
|
headers.append('Content-type', 'application/json;odata=verbose');
|
|
8902
|
-
return this.http.get(this.lynxUrl + 'image' + '/' + imageID, { headers: headers, responseType: 'blob' });
|
|
8923
|
+
return this.http.get(this.lynxUrl + 'image' + '/' + imageID, { headers: headers, params: this.params, responseType: 'blob' });
|
|
8903
8924
|
}
|
|
8904
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LynxService, deps: [{ token: i1.HttpClient }, { token: 'ebizRootURL' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8925
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LynxService, deps: [{ token: i1.HttpClient }, { token: 'ebizRootURL' }, { token: 'app' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8905
8926
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LynxService, providedIn: 'root' });
|
|
8906
8927
|
}
|
|
8907
8928
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LynxService, decorators: [{
|
|
@@ -8912,6 +8933,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
8912
8933
|
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
8913
8934
|
type: Inject,
|
|
8914
8935
|
args: ['ebizRootURL']
|
|
8936
|
+
}] }, { type: undefined, decorators: [{
|
|
8937
|
+
type: Inject,
|
|
8938
|
+
args: ['app']
|
|
8915
8939
|
}] }] });
|
|
8916
8940
|
|
|
8917
8941
|
const digitRegExp = /\d/;
|
|
@@ -8955,42 +8979,44 @@ function convertToMask(strNumber) {
|
|
|
8955
8979
|
|
|
8956
8980
|
class ParameterService {
|
|
8957
8981
|
http;
|
|
8958
|
-
ebizRootURL;
|
|
8959
8982
|
baseUrl = '/ebiz/api/v1/parameters';
|
|
8960
|
-
|
|
8983
|
+
params = {};
|
|
8984
|
+
constructor(http, ebizRootURL, app) {
|
|
8961
8985
|
this.http = http;
|
|
8962
|
-
this.ebizRootURL = ebizRootURL;
|
|
8963
8986
|
this.baseUrl = ebizRootURL + this.baseUrl;
|
|
8987
|
+
this.params = {
|
|
8988
|
+
'app': app
|
|
8989
|
+
};
|
|
8964
8990
|
}
|
|
8965
8991
|
retrieveParameterByName(parameterName) {
|
|
8966
8992
|
let url = this.baseUrl + '/names/' + parameterName;
|
|
8967
|
-
return this.http.get(url);
|
|
8993
|
+
return this.http.get(url, { params: this.params });
|
|
8968
8994
|
}
|
|
8969
8995
|
retrieveParameterByID(parameterID) {
|
|
8970
8996
|
let url = this.baseUrl + '/' + parameterID;
|
|
8971
|
-
return this.http.get(url);
|
|
8997
|
+
return this.http.get(url, { params: this.params });
|
|
8972
8998
|
}
|
|
8973
8999
|
createParameter(parameter) {
|
|
8974
9000
|
let url = this.baseUrl;
|
|
8975
|
-
return this.http.post(url, parameter);
|
|
9001
|
+
return this.http.post(url, parameter, { params: this.params });
|
|
8976
9002
|
}
|
|
8977
9003
|
deleteParameter(parameterID) {
|
|
8978
9004
|
let url = this.baseUrl + '/' + parameterID;
|
|
8979
|
-
return this.http.delete(url);
|
|
9005
|
+
return this.http.delete(url, { params: this.params });
|
|
8980
9006
|
}
|
|
8981
9007
|
deleteParameterByName(parameterName) {
|
|
8982
9008
|
let url = this.baseUrl + '/names/' + parameterName;
|
|
8983
|
-
return this.http.delete(url);
|
|
9009
|
+
return this.http.delete(url, { params: this.params });
|
|
8984
9010
|
}
|
|
8985
9011
|
retrieveParameterByPrefix(prefix) {
|
|
8986
9012
|
let url = this.baseUrl + '/namePrefix/' + prefix;
|
|
8987
|
-
return this.http.get(url);
|
|
9013
|
+
return this.http.get(url, { params: this.params });
|
|
8988
9014
|
}
|
|
8989
9015
|
updateParameter(parameter) {
|
|
8990
9016
|
let url = this.baseUrl + '/' + parameter.id;
|
|
8991
|
-
return this.http.put(url, parameter);
|
|
9017
|
+
return this.http.put(url, parameter, { params: this.params });
|
|
8992
9018
|
}
|
|
8993
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ParameterService, deps: [{ token: i1.HttpClient }, { token: 'ebizRootURL' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9019
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ParameterService, deps: [{ token: i1.HttpClient }, { token: 'ebizRootURL' }, { token: 'app' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8994
9020
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ParameterService, providedIn: 'root' });
|
|
8995
9021
|
}
|
|
8996
9022
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ParameterService, decorators: [{
|
|
@@ -9001,6 +9027,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
9001
9027
|
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
9002
9028
|
type: Inject,
|
|
9003
9029
|
args: ['ebizRootURL']
|
|
9030
|
+
}] }, { type: undefined, decorators: [{
|
|
9031
|
+
type: Inject,
|
|
9032
|
+
args: ['app']
|
|
9004
9033
|
}] }] });
|
|
9005
9034
|
|
|
9006
9035
|
class ValidationService {
|
|
@@ -9136,51 +9165,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
9136
9165
|
|
|
9137
9166
|
class AccountService {
|
|
9138
9167
|
http;
|
|
9139
|
-
|
|
9140
|
-
|
|
9141
|
-
constructor(http, ebizRootURL) {
|
|
9168
|
+
URL = '/ebiz/api/v2/accounts';
|
|
9169
|
+
params;
|
|
9170
|
+
constructor(http, ebizRootURL, app) {
|
|
9142
9171
|
this.http = http;
|
|
9143
|
-
this.ebizRootURL = ebizRootURL;
|
|
9144
9172
|
this.URL = ebizRootURL + this.URL;
|
|
9173
|
+
this.params = {
|
|
9174
|
+
'app': app
|
|
9175
|
+
};
|
|
9145
9176
|
}
|
|
9146
9177
|
retrieveRolesForService(serviceName) {
|
|
9147
|
-
return this.http.get(this.URL + "/roles/" + serviceName);
|
|
9178
|
+
return this.http.get(this.URL + "/roles/" + serviceName, { params: this.params });
|
|
9148
9179
|
}
|
|
9149
9180
|
retrieveUsersForService(serviceName) {
|
|
9150
|
-
return this.http.get(this.URL + "/users/service/" + serviceName);
|
|
9181
|
+
return this.http.get(this.URL + "/users/service/" + serviceName, { params: this.params });
|
|
9151
9182
|
}
|
|
9152
9183
|
searchAccounts(criteria) {
|
|
9153
|
-
return this.http.post(this.URL + "/search", criteria);
|
|
9184
|
+
return this.http.post(this.URL + "/search", criteria, { params: this.params });
|
|
9154
9185
|
}
|
|
9155
9186
|
retrieveServicesByServiceType(serviceType) {
|
|
9156
|
-
return this.http.get(`${this.URL}/services/serviceTypes/${serviceType}/list
|
|
9187
|
+
return this.http.get(`${this.URL}/services/serviceTypes/${serviceType}/list`, { params: this.params });
|
|
9157
9188
|
}
|
|
9158
9189
|
retrieveServiceNamesByServiceType(serviceType) {
|
|
9159
|
-
return this.http.get(`${this.URL}/services/serviceTypes/${serviceType}/names
|
|
9190
|
+
return this.http.get(`${this.URL}/services/serviceTypes/${serviceType}/names`, { params: this.params });
|
|
9160
9191
|
}
|
|
9161
9192
|
retrieveAllServices() {
|
|
9162
|
-
return this.http.get(`${this.URL}/services/serviceTypes/all
|
|
9193
|
+
return this.http.get(`${this.URL}/services/serviceTypes/all`, { params: this.params });
|
|
9163
9194
|
}
|
|
9164
9195
|
retrieveService(name) {
|
|
9165
|
-
return this.http.get(`${this.URL}/services/serviceTypes/${name}
|
|
9196
|
+
return this.http.get(`${this.URL}/services/serviceTypes/${name}`, { params: this.params });
|
|
9166
9197
|
}
|
|
9167
9198
|
retrieveAttestationByType(type) {
|
|
9168
|
-
return this.http.get(`${this.URL}/attestation/${type}
|
|
9199
|
+
return this.http.get(`${this.URL}/attestation/${type}`, { params: this.params });
|
|
9169
9200
|
}
|
|
9170
9201
|
updateServiceStatus(service) {
|
|
9171
|
-
return this.http.post(this.URL + "/updateServiceStatus", service);
|
|
9202
|
+
return this.http.post(this.URL + "/updateServiceStatus", service, { params: this.params });
|
|
9172
9203
|
}
|
|
9173
9204
|
searchAccountServiceAllows(criteria) {
|
|
9174
|
-
return this.http.post(this.URL + "/searchAccountServiceAllows", criteria);
|
|
9205
|
+
return this.http.post(this.URL + "/searchAccountServiceAllows", criteria, { params: this.params });
|
|
9175
9206
|
}
|
|
9176
9207
|
createAccountServiceAllow(accountServiceAllow) {
|
|
9177
|
-
return this.http.post(this.URL + '/createAccountServiceAllow/', accountServiceAllow);
|
|
9208
|
+
return this.http.post(this.URL + '/createAccountServiceAllow/', accountServiceAllow, { params: this.params });
|
|
9178
9209
|
}
|
|
9179
9210
|
deleteAccountServiceAllow(accountServiceAllow) {
|
|
9180
9211
|
return this.http
|
|
9181
|
-
.delete(this.URL + '/deleteAccountServiceAllow/service/' + accountServiceAllow.serviceName + '/account/' + accountServiceAllow.userID);
|
|
9212
|
+
.delete(this.URL + '/deleteAccountServiceAllow/service/' + accountServiceAllow.serviceName + '/account/' + accountServiceAllow.userID, { params: this.params });
|
|
9182
9213
|
}
|
|
9183
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AccountService, deps: [{ token: i1.HttpClient }, { token: 'ebizRootURL' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9214
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AccountService, deps: [{ token: i1.HttpClient }, { token: 'ebizRootURL' }, { token: 'app' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9184
9215
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AccountService, providedIn: 'root' });
|
|
9185
9216
|
}
|
|
9186
9217
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AccountService, decorators: [{
|
|
@@ -9191,40 +9222,45 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
9191
9222
|
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
9192
9223
|
type: Inject,
|
|
9193
9224
|
args: ['ebizRootURL']
|
|
9225
|
+
}] }, { type: undefined, decorators: [{
|
|
9226
|
+
type: Inject,
|
|
9227
|
+
args: ['app']
|
|
9194
9228
|
}] }] });
|
|
9195
9229
|
|
|
9196
9230
|
class OepaReferenceService {
|
|
9197
9231
|
http;
|
|
9198
|
-
ebizRootURL;
|
|
9199
9232
|
countiesUrl = '/ebiz/api/v1/references/counties/state';
|
|
9200
9233
|
districtsUrl = '/ebiz/api/v1/references/districts';
|
|
9201
9234
|
doLaaTypessUrl = '/ebiz/api/v1/asbestos/references/doLaaTypes';
|
|
9202
|
-
|
|
9235
|
+
params = {};
|
|
9236
|
+
constructor(http, ebizRootURL, app) {
|
|
9203
9237
|
this.http = http;
|
|
9204
|
-
this.ebizRootURL = ebizRootURL;
|
|
9205
9238
|
this.countiesUrl = ebizRootURL + this.countiesUrl;
|
|
9206
9239
|
this.districtsUrl = ebizRootURL + this.districtsUrl;
|
|
9207
9240
|
this.doLaaTypessUrl = ebizRootURL + this.doLaaTypessUrl;
|
|
9241
|
+
this.params = {
|
|
9242
|
+
'app': app
|
|
9243
|
+
};
|
|
9208
9244
|
}
|
|
9209
9245
|
/**
|
|
9210
9246
|
* Retrieve counties
|
|
9211
9247
|
*/
|
|
9212
9248
|
getCounties(state) {
|
|
9213
|
-
return this.http.get(this.countiesUrl + '/' + state);
|
|
9249
|
+
return this.http.get(this.countiesUrl + '/' + state, { params: this.params });
|
|
9214
9250
|
}
|
|
9215
9251
|
/**
|
|
9216
9252
|
* Retrieve districts
|
|
9217
9253
|
*/
|
|
9218
9254
|
getDistricts() {
|
|
9219
|
-
return this.http.get(this.districtsUrl);
|
|
9255
|
+
return this.http.get(this.districtsUrl, { params: this.params });
|
|
9220
9256
|
}
|
|
9221
9257
|
/**
|
|
9222
9258
|
* Retrieve DO/LAAs
|
|
9223
9259
|
*/
|
|
9224
9260
|
getDoLaaTypes() {
|
|
9225
|
-
return this.http.get(this.doLaaTypessUrl);
|
|
9261
|
+
return this.http.get(this.doLaaTypessUrl, { params: this.params });
|
|
9226
9262
|
}
|
|
9227
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: OepaReferenceService, deps: [{ token: i1.HttpClient }, { token: 'ebizRootURL' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9263
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: OepaReferenceService, deps: [{ token: i1.HttpClient }, { token: 'ebizRootURL' }, { token: 'app' }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9228
9264
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: OepaReferenceService, providedIn: 'root' });
|
|
9229
9265
|
}
|
|
9230
9266
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: OepaReferenceService, decorators: [{
|
|
@@ -9235,6 +9271,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
9235
9271
|
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
9236
9272
|
type: Inject,
|
|
9237
9273
|
args: ['ebizRootURL']
|
|
9274
|
+
}] }, { type: undefined, decorators: [{
|
|
9275
|
+
type: Inject,
|
|
9276
|
+
args: ['app']
|
|
9238
9277
|
}] }] });
|
|
9239
9278
|
|
|
9240
9279
|
/**
|