@tiba-spark/client-shared-lib 25.3.0-187 → 25.3.0-193

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.
@@ -820,6 +820,203 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
820
820
  type: Inject,
821
821
  args: [API_BASE_URL$2]
822
822
  }] }] });
823
+ class ApiTrafficServiceProxy {
824
+ constructor(http, baseUrl) {
825
+ this.jsonParseReviver = undefined;
826
+ this.http = http;
827
+ this.baseUrl = baseUrl ?? "";
828
+ }
829
+ /**
830
+ * @param startDate (optional)
831
+ * @param endDate (optional)
832
+ * @param searchValue (optional)
833
+ * @param method (optional)
834
+ * @param skip (optional)
835
+ * @param take (optional)
836
+ * @param statusCode (optional)
837
+ * @param tenantIds (optional)
838
+ * @param vendorsIds (optional)
839
+ * @param parkingLotsIds (optional)
840
+ * @return Success
841
+ */
842
+ getApiTraffic(startDate, endDate, searchValue, method, skip, take, statusCode, tenantIds, vendorsIds, parkingLotsIds) {
843
+ let url_ = this.baseUrl + "/api/services/apitraffic?";
844
+ if (startDate === null)
845
+ throw new Error("The parameter 'startDate' cannot be null.");
846
+ else if (startDate !== undefined)
847
+ url_ += "StartDate=" + encodeURIComponent(startDate ? "" + startDate.toISOString() : "") + "&";
848
+ if (endDate === null)
849
+ throw new Error("The parameter 'endDate' cannot be null.");
850
+ else if (endDate !== undefined)
851
+ url_ += "EndDate=" + encodeURIComponent(endDate ? "" + endDate.toISOString() : "") + "&";
852
+ if (searchValue === null)
853
+ throw new Error("The parameter 'searchValue' cannot be null.");
854
+ else if (searchValue !== undefined)
855
+ url_ += "SearchValue=" + encodeURIComponent("" + searchValue) + "&";
856
+ if (method === null)
857
+ throw new Error("The parameter 'method' cannot be null.");
858
+ else if (method !== undefined)
859
+ url_ += "Method=" + encodeURIComponent("" + method) + "&";
860
+ if (skip === null)
861
+ throw new Error("The parameter 'skip' cannot be null.");
862
+ else if (skip !== undefined)
863
+ url_ += "Skip=" + encodeURIComponent("" + skip) + "&";
864
+ if (take === null)
865
+ throw new Error("The parameter 'take' cannot be null.");
866
+ else if (take !== undefined)
867
+ url_ += "Take=" + encodeURIComponent("" + take) + "&";
868
+ if (statusCode === null)
869
+ throw new Error("The parameter 'statusCode' cannot be null.");
870
+ else if (statusCode !== undefined)
871
+ statusCode && statusCode.forEach(item => { url_ += "StatusCode=" + encodeURIComponent("" + item) + "&"; });
872
+ if (tenantIds === null)
873
+ throw new Error("The parameter 'tenantIds' cannot be null.");
874
+ else if (tenantIds !== undefined)
875
+ tenantIds && tenantIds.forEach(item => { url_ += "TenantIds=" + encodeURIComponent("" + item) + "&"; });
876
+ if (vendorsIds === null)
877
+ throw new Error("The parameter 'vendorsIds' cannot be null.");
878
+ else if (vendorsIds !== undefined)
879
+ vendorsIds && vendorsIds.forEach(item => { url_ += "VendorsIds=" + encodeURIComponent("" + item) + "&"; });
880
+ if (parkingLotsIds === null)
881
+ throw new Error("The parameter 'parkingLotsIds' cannot be null.");
882
+ else if (parkingLotsIds !== undefined)
883
+ parkingLotsIds && parkingLotsIds.forEach(item => { url_ += "ParkingLotsIds=" + encodeURIComponent("" + item) + "&"; });
884
+ url_ = url_.replace(/[?&]$/, "");
885
+ let options_ = {
886
+ observe: "response",
887
+ responseType: "blob",
888
+ headers: new HttpHeaders({
889
+ "Accept": "text/plain"
890
+ })
891
+ };
892
+ return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
893
+ return this.processGetApiTraffic(response_);
894
+ })).pipe(catchError((response_) => {
895
+ if (response_ instanceof HttpResponseBase) {
896
+ try {
897
+ return this.processGetApiTraffic(response_);
898
+ }
899
+ catch (e) {
900
+ return throwError(e);
901
+ }
902
+ }
903
+ else
904
+ return throwError(response_);
905
+ }));
906
+ }
907
+ processGetApiTraffic(response) {
908
+ const status = response.status;
909
+ const responseBlob = response instanceof HttpResponse ? response.body :
910
+ response.error instanceof Blob ? response.error : undefined;
911
+ let _headers = {};
912
+ if (response.headers) {
913
+ for (let key of response.headers.keys()) {
914
+ _headers[key] = response.headers.get(key);
915
+ }
916
+ }
917
+ if (status === 404) {
918
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
919
+ let result404 = null;
920
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
921
+ result404 = ProblemDetails$1.fromJS(resultData404);
922
+ return throwException$2("Not Found", status, _responseText, _headers, result404);
923
+ }));
924
+ }
925
+ else if (status === 200) {
926
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
927
+ let result200 = null;
928
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
929
+ result200 = ApiIntegrationTrafficLogsDtoEntityWrapperDtoHttpResponseData.fromJS(resultData200);
930
+ return of(result200);
931
+ }));
932
+ }
933
+ else if (status !== 200 && status !== 204) {
934
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
935
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
936
+ }));
937
+ }
938
+ return of(null);
939
+ }
940
+ /**
941
+ * @param id (optional)
942
+ * @return Success
943
+ */
944
+ getApiTrafficById(id) {
945
+ let url_ = this.baseUrl + "/api/services/apitraffic/get-by-id?";
946
+ if (id === null)
947
+ throw new Error("The parameter 'id' cannot be null.");
948
+ else if (id !== undefined)
949
+ url_ += "id=" + encodeURIComponent("" + id) + "&";
950
+ url_ = url_.replace(/[?&]$/, "");
951
+ let options_ = {
952
+ observe: "response",
953
+ responseType: "blob",
954
+ headers: new HttpHeaders({
955
+ "Accept": "text/plain"
956
+ })
957
+ };
958
+ return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
959
+ return this.processGetApiTrafficById(response_);
960
+ })).pipe(catchError((response_) => {
961
+ if (response_ instanceof HttpResponseBase) {
962
+ try {
963
+ return this.processGetApiTrafficById(response_);
964
+ }
965
+ catch (e) {
966
+ return throwError(e);
967
+ }
968
+ }
969
+ else
970
+ return throwError(response_);
971
+ }));
972
+ }
973
+ processGetApiTrafficById(response) {
974
+ const status = response.status;
975
+ const responseBlob = response instanceof HttpResponse ? response.body :
976
+ response.error instanceof Blob ? response.error : undefined;
977
+ let _headers = {};
978
+ if (response.headers) {
979
+ for (let key of response.headers.keys()) {
980
+ _headers[key] = response.headers.get(key);
981
+ }
982
+ }
983
+ if (status === 404) {
984
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
985
+ let result404 = null;
986
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
987
+ result404 = ProblemDetails$1.fromJS(resultData404);
988
+ return throwException$2("Not Found", status, _responseText, _headers, result404);
989
+ }));
990
+ }
991
+ else if (status === 200) {
992
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
993
+ let result200 = null;
994
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
995
+ result200 = ApiIntegrationTrafficLogsDtoHttpResponseData.fromJS(resultData200);
996
+ return of(result200);
997
+ }));
998
+ }
999
+ else if (status !== 200 && status !== 204) {
1000
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
1001
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
1002
+ }));
1003
+ }
1004
+ return of(null);
1005
+ }
1006
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ApiTrafficServiceProxy, deps: [{ token: HttpClient }, { token: API_BASE_URL$2, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
1007
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ApiTrafficServiceProxy }); }
1008
+ }
1009
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ApiTrafficServiceProxy, decorators: [{
1010
+ type: Injectable
1011
+ }], ctorParameters: () => [{ type: i1$1.HttpClient, decorators: [{
1012
+ type: Inject,
1013
+ args: [HttpClient]
1014
+ }] }, { type: undefined, decorators: [{
1015
+ type: Optional
1016
+ }, {
1017
+ type: Inject,
1018
+ args: [API_BASE_URL$2]
1019
+ }] }] });
823
1020
  class AssetServiceProxy {
824
1021
  constructor(http, baseUrl) {
825
1022
  this.jsonParseReviver = undefined;
@@ -2603,6 +2800,69 @@ class BackofficeServiceProxy {
2603
2800
  }
2604
2801
  return of(null);
2605
2802
  }
2803
+ /**
2804
+ * @param tenantid (optional)
2805
+ * @param searchParam (optional)
2806
+ * @return Success
2807
+ */
2808
+ getBackofficeFacilityTree(tenantid, searchParam) {
2809
+ let url_ = this.baseUrl + "/api/services/backoffice/tree?";
2810
+ if (tenantid === null)
2811
+ throw new Error("The parameter 'tenantid' cannot be null.");
2812
+ else if (tenantid !== undefined)
2813
+ url_ += "tenantid=" + encodeURIComponent("" + tenantid) + "&";
2814
+ if (searchParam === null)
2815
+ throw new Error("The parameter 'searchParam' cannot be null.");
2816
+ else if (searchParam !== undefined)
2817
+ url_ += "searchParam=" + encodeURIComponent("" + searchParam) + "&";
2818
+ url_ = url_.replace(/[?&]$/, "");
2819
+ let options_ = {
2820
+ observe: "response",
2821
+ responseType: "blob",
2822
+ headers: new HttpHeaders({
2823
+ "Accept": "text/plain"
2824
+ })
2825
+ };
2826
+ return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
2827
+ return this.processGetBackofficeFacilityTree(response_);
2828
+ })).pipe(catchError((response_) => {
2829
+ if (response_ instanceof HttpResponseBase) {
2830
+ try {
2831
+ return this.processGetBackofficeFacilityTree(response_);
2832
+ }
2833
+ catch (e) {
2834
+ return throwError(e);
2835
+ }
2836
+ }
2837
+ else
2838
+ return throwError(response_);
2839
+ }));
2840
+ }
2841
+ processGetBackofficeFacilityTree(response) {
2842
+ const status = response.status;
2843
+ const responseBlob = response instanceof HttpResponse ? response.body :
2844
+ response.error instanceof Blob ? response.error : undefined;
2845
+ let _headers = {};
2846
+ if (response.headers) {
2847
+ for (let key of response.headers.keys()) {
2848
+ _headers[key] = response.headers.get(key);
2849
+ }
2850
+ }
2851
+ if (status === 200) {
2852
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
2853
+ let result200 = null;
2854
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
2855
+ result200 = FacilityTreeDtoIEnumerableHttpResponseData$1.fromJS(resultData200);
2856
+ return of(result200);
2857
+ }));
2858
+ }
2859
+ else if (status !== 200 && status !== 204) {
2860
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
2861
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
2862
+ }));
2863
+ }
2864
+ return of(null);
2865
+ }
2606
2866
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BackofficeServiceProxy, deps: [{ token: HttpClient }, { token: API_BASE_URL$2, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
2607
2867
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BackofficeServiceProxy }); }
2608
2868
  }
@@ -9680,6 +9940,67 @@ class VendorServiceProxy {
9680
9940
  this.http = http;
9681
9941
  this.baseUrl = baseUrl ?? "";
9682
9942
  }
9943
+ /**
9944
+ * @return Success
9945
+ */
9946
+ getAllVendors() {
9947
+ let url_ = this.baseUrl + "/api/services/vendor/get-all";
9948
+ url_ = url_.replace(/[?&]$/, "");
9949
+ let options_ = {
9950
+ observe: "response",
9951
+ responseType: "blob",
9952
+ headers: new HttpHeaders({
9953
+ "Accept": "text/plain"
9954
+ })
9955
+ };
9956
+ return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
9957
+ return this.processGetAllVendors(response_);
9958
+ })).pipe(catchError((response_) => {
9959
+ if (response_ instanceof HttpResponseBase) {
9960
+ try {
9961
+ return this.processGetAllVendors(response_);
9962
+ }
9963
+ catch (e) {
9964
+ return throwError(e);
9965
+ }
9966
+ }
9967
+ else
9968
+ return throwError(response_);
9969
+ }));
9970
+ }
9971
+ processGetAllVendors(response) {
9972
+ const status = response.status;
9973
+ const responseBlob = response instanceof HttpResponse ? response.body :
9974
+ response.error instanceof Blob ? response.error : undefined;
9975
+ let _headers = {};
9976
+ if (response.headers) {
9977
+ for (let key of response.headers.keys()) {
9978
+ _headers[key] = response.headers.get(key);
9979
+ }
9980
+ }
9981
+ if (status === 404) {
9982
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
9983
+ let result404 = null;
9984
+ let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
9985
+ result404 = ProblemDetails$1.fromJS(resultData404);
9986
+ return throwException$2("Not Found", status, _responseText, _headers, result404);
9987
+ }));
9988
+ }
9989
+ else if (status === 200) {
9990
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
9991
+ let result200 = null;
9992
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
9993
+ result200 = VendorDtoIEnumerableHttpResponseData.fromJS(resultData200);
9994
+ return of(result200);
9995
+ }));
9996
+ }
9997
+ else if (status !== 200 && status !== 204) {
9998
+ return blobToText$2(responseBlob).pipe(mergeMap(_responseText => {
9999
+ return throwException$2("An unexpected server error occurred.", status, _responseText, _headers);
10000
+ }));
10001
+ }
10002
+ return of(null);
10003
+ }
9683
10004
  /**
9684
10005
  * @param searchValue (optional)
9685
10006
  * @param skip (optional)
@@ -10564,6 +10885,194 @@ let AllRolePermissionAccountsDto$1 = class AllRolePermissionAccountsDto {
10564
10885
  return result;
10565
10886
  }
10566
10887
  };
10888
+ class ApiIntegrationTrafficLogsDto {
10889
+ constructor(data) {
10890
+ if (data) {
10891
+ for (var property in data) {
10892
+ if (data.hasOwnProperty(property))
10893
+ this[property] = data[property];
10894
+ }
10895
+ }
10896
+ }
10897
+ init(_data) {
10898
+ if (_data) {
10899
+ this.id = _data["id"];
10900
+ this.relativeUrl = _data["relativeUrl"];
10901
+ this.statusCode = _data["statusCode"];
10902
+ this.method = _data["method"];
10903
+ this.vendorName = _data["vendorName"];
10904
+ this.externalIdentifier = _data["externalIdentifier"];
10905
+ this.parkingLot = _data["parkingLot"];
10906
+ this.parkingLotId = _data["parkingLotId"];
10907
+ this.sparkVersion = _data["sparkVersion"];
10908
+ this.requestTime = _data["requestTime"] ? moment(_data["requestTime"].toString()) : undefined;
10909
+ this.smartParkId = _data["smartParkId"];
10910
+ this.smartParkGuid = _data["smartParkGuid"];
10911
+ this.tenantName = _data["tenantName"];
10912
+ this.tenantId = _data["tenantId"];
10913
+ this.vendorId = _data["vendorId"];
10914
+ this.request = _data["request"];
10915
+ this.response = _data["response"];
10916
+ }
10917
+ }
10918
+ static fromJS(data) {
10919
+ data = typeof data === 'object' ? data : {};
10920
+ let result = new ApiIntegrationTrafficLogsDto();
10921
+ result.init(data);
10922
+ return result;
10923
+ }
10924
+ toJSON(data) {
10925
+ data = typeof data === 'object' ? data : {};
10926
+ data["id"] = this.id;
10927
+ data["relativeUrl"] = this.relativeUrl;
10928
+ data["statusCode"] = this.statusCode;
10929
+ data["method"] = this.method;
10930
+ data["vendorName"] = this.vendorName;
10931
+ data["externalIdentifier"] = this.externalIdentifier;
10932
+ data["parkingLot"] = this.parkingLot;
10933
+ data["parkingLotId"] = this.parkingLotId;
10934
+ data["sparkVersion"] = this.sparkVersion;
10935
+ data["requestTime"] = this.requestTime ? this.requestTime.toISOString() : undefined;
10936
+ data["smartParkId"] = this.smartParkId;
10937
+ data["smartParkGuid"] = this.smartParkGuid;
10938
+ data["tenantName"] = this.tenantName;
10939
+ data["tenantId"] = this.tenantId;
10940
+ data["vendorId"] = this.vendorId;
10941
+ data["request"] = this.request;
10942
+ data["response"] = this.response;
10943
+ return data;
10944
+ }
10945
+ clone() {
10946
+ const json = this.toJSON();
10947
+ let result = new ApiIntegrationTrafficLogsDto();
10948
+ result.init(json);
10949
+ return result;
10950
+ }
10951
+ }
10952
+ class ApiIntegrationTrafficLogsDtoEntityWrapperDto {
10953
+ constructor(data) {
10954
+ if (data) {
10955
+ for (var property in data) {
10956
+ if (data.hasOwnProperty(property))
10957
+ this[property] = data[property];
10958
+ }
10959
+ }
10960
+ }
10961
+ init(_data) {
10962
+ if (_data) {
10963
+ if (Array.isArray(_data["entities"])) {
10964
+ this.entities = [];
10965
+ for (let item of _data["entities"])
10966
+ this.entities.push(ApiIntegrationTrafficLogsDto.fromJS(item));
10967
+ }
10968
+ this.counter = _data["counter"];
10969
+ this.subCounter = _data["subCounter"];
10970
+ }
10971
+ }
10972
+ static fromJS(data) {
10973
+ data = typeof data === 'object' ? data : {};
10974
+ let result = new ApiIntegrationTrafficLogsDtoEntityWrapperDto();
10975
+ result.init(data);
10976
+ return result;
10977
+ }
10978
+ toJSON(data) {
10979
+ data = typeof data === 'object' ? data : {};
10980
+ if (Array.isArray(this.entities)) {
10981
+ data["entities"] = [];
10982
+ for (let item of this.entities)
10983
+ data["entities"].push(item ? item.toJSON() : undefined);
10984
+ }
10985
+ data["counter"] = this.counter;
10986
+ data["subCounter"] = this.subCounter;
10987
+ return data;
10988
+ }
10989
+ clone() {
10990
+ const json = this.toJSON();
10991
+ let result = new ApiIntegrationTrafficLogsDtoEntityWrapperDto();
10992
+ result.init(json);
10993
+ return result;
10994
+ }
10995
+ }
10996
+ class ApiIntegrationTrafficLogsDtoEntityWrapperDtoHttpResponseData {
10997
+ constructor(data) {
10998
+ if (data) {
10999
+ for (var property in data) {
11000
+ if (data.hasOwnProperty(property))
11001
+ this[property] = data[property];
11002
+ }
11003
+ }
11004
+ }
11005
+ init(_data) {
11006
+ if (_data) {
11007
+ this.errorMessage = _data["errorMessage"];
11008
+ this.isSuccess = _data["isSuccess"];
11009
+ this.statusCode = _data["statusCode"];
11010
+ this.data = _data["data"] ? ApiIntegrationTrafficLogsDtoEntityWrapperDto.fromJS(_data["data"]) : undefined;
11011
+ this.successMessage = _data["successMessage"];
11012
+ }
11013
+ }
11014
+ static fromJS(data) {
11015
+ data = typeof data === 'object' ? data : {};
11016
+ let result = new ApiIntegrationTrafficLogsDtoEntityWrapperDtoHttpResponseData();
11017
+ result.init(data);
11018
+ return result;
11019
+ }
11020
+ toJSON(data) {
11021
+ data = typeof data === 'object' ? data : {};
11022
+ data["errorMessage"] = this.errorMessage;
11023
+ data["isSuccess"] = this.isSuccess;
11024
+ data["statusCode"] = this.statusCode;
11025
+ data["data"] = this.data ? this.data.toJSON() : undefined;
11026
+ data["successMessage"] = this.successMessage;
11027
+ return data;
11028
+ }
11029
+ clone() {
11030
+ const json = this.toJSON();
11031
+ let result = new ApiIntegrationTrafficLogsDtoEntityWrapperDtoHttpResponseData();
11032
+ result.init(json);
11033
+ return result;
11034
+ }
11035
+ }
11036
+ class ApiIntegrationTrafficLogsDtoHttpResponseData {
11037
+ constructor(data) {
11038
+ if (data) {
11039
+ for (var property in data) {
11040
+ if (data.hasOwnProperty(property))
11041
+ this[property] = data[property];
11042
+ }
11043
+ }
11044
+ }
11045
+ init(_data) {
11046
+ if (_data) {
11047
+ this.errorMessage = _data["errorMessage"];
11048
+ this.isSuccess = _data["isSuccess"];
11049
+ this.statusCode = _data["statusCode"];
11050
+ this.data = _data["data"] ? ApiIntegrationTrafficLogsDto.fromJS(_data["data"]) : undefined;
11051
+ this.successMessage = _data["successMessage"];
11052
+ }
11053
+ }
11054
+ static fromJS(data) {
11055
+ data = typeof data === 'object' ? data : {};
11056
+ let result = new ApiIntegrationTrafficLogsDtoHttpResponseData();
11057
+ result.init(data);
11058
+ return result;
11059
+ }
11060
+ toJSON(data) {
11061
+ data = typeof data === 'object' ? data : {};
11062
+ data["errorMessage"] = this.errorMessage;
11063
+ data["isSuccess"] = this.isSuccess;
11064
+ data["statusCode"] = this.statusCode;
11065
+ data["data"] = this.data ? this.data.toJSON() : undefined;
11066
+ data["successMessage"] = this.successMessage;
11067
+ return data;
11068
+ }
11069
+ clone() {
11070
+ const json = this.toJSON();
11071
+ let result = new ApiIntegrationTrafficLogsDtoHttpResponseData();
11072
+ result.init(json);
11073
+ return result;
11074
+ }
11075
+ }
10567
11076
  let AppConfigurationDto$1 = class AppConfigurationDto {
10568
11077
  constructor(data) {
10569
11078
  if (data) {
@@ -13341,6 +13850,110 @@ var FacilityRemoteCommandTypes$2;
13341
13850
  FacilityRemoteCommandTypes[FacilityRemoteCommandTypes["RunMacro"] = 5] = "RunMacro";
13342
13851
  FacilityRemoteCommandTypes[FacilityRemoteCommandTypes["TransmitSpecialDays"] = 6] = "TransmitSpecialDays";
13343
13852
  })(FacilityRemoteCommandTypes$2 || (FacilityRemoteCommandTypes$2 = {}));
13853
+ let FacilityTreeDto$1 = class FacilityTreeDto {
13854
+ constructor(data) {
13855
+ if (data) {
13856
+ for (var property in data) {
13857
+ if (data.hasOwnProperty(property))
13858
+ this[property] = data[property];
13859
+ }
13860
+ }
13861
+ }
13862
+ init(_data) {
13863
+ if (_data) {
13864
+ this.id = _data["id"];
13865
+ this.cloudId = _data["cloudId"];
13866
+ this.name = _data["name"];
13867
+ this.parent = _data["parent"];
13868
+ this.guid = _data["guid"];
13869
+ this.type = _data["type"];
13870
+ this.localId = _data["localId"];
13871
+ if (Array.isArray(_data["children"])) {
13872
+ this.children = [];
13873
+ for (let item of _data["children"])
13874
+ this.children.push(FacilityTreeDto.fromJS(item));
13875
+ }
13876
+ this.active = _data["active"];
13877
+ }
13878
+ }
13879
+ static fromJS(data) {
13880
+ data = typeof data === 'object' ? data : {};
13881
+ let result = new FacilityTreeDto();
13882
+ result.init(data);
13883
+ return result;
13884
+ }
13885
+ toJSON(data) {
13886
+ data = typeof data === 'object' ? data : {};
13887
+ data["id"] = this.id;
13888
+ data["cloudId"] = this.cloudId;
13889
+ data["name"] = this.name;
13890
+ data["parent"] = this.parent;
13891
+ data["guid"] = this.guid;
13892
+ data["type"] = this.type;
13893
+ data["localId"] = this.localId;
13894
+ if (Array.isArray(this.children)) {
13895
+ data["children"] = [];
13896
+ for (let item of this.children)
13897
+ data["children"].push(item ? item.toJSON() : undefined);
13898
+ }
13899
+ data["active"] = this.active;
13900
+ return data;
13901
+ }
13902
+ clone() {
13903
+ const json = this.toJSON();
13904
+ let result = new FacilityTreeDto();
13905
+ result.init(json);
13906
+ return result;
13907
+ }
13908
+ };
13909
+ let FacilityTreeDtoIEnumerableHttpResponseData$1 = class FacilityTreeDtoIEnumerableHttpResponseData {
13910
+ constructor(data) {
13911
+ if (data) {
13912
+ for (var property in data) {
13913
+ if (data.hasOwnProperty(property))
13914
+ this[property] = data[property];
13915
+ }
13916
+ }
13917
+ }
13918
+ init(_data) {
13919
+ if (_data) {
13920
+ this.errorMessage = _data["errorMessage"];
13921
+ this.isSuccess = _data["isSuccess"];
13922
+ this.statusCode = _data["statusCode"];
13923
+ if (Array.isArray(_data["data"])) {
13924
+ this.data = [];
13925
+ for (let item of _data["data"])
13926
+ this.data.push(FacilityTreeDto$1.fromJS(item));
13927
+ }
13928
+ this.successMessage = _data["successMessage"];
13929
+ }
13930
+ }
13931
+ static fromJS(data) {
13932
+ data = typeof data === 'object' ? data : {};
13933
+ let result = new FacilityTreeDtoIEnumerableHttpResponseData();
13934
+ result.init(data);
13935
+ return result;
13936
+ }
13937
+ toJSON(data) {
13938
+ data = typeof data === 'object' ? data : {};
13939
+ data["errorMessage"] = this.errorMessage;
13940
+ data["isSuccess"] = this.isSuccess;
13941
+ data["statusCode"] = this.statusCode;
13942
+ if (Array.isArray(this.data)) {
13943
+ data["data"] = [];
13944
+ for (let item of this.data)
13945
+ data["data"].push(item ? item.toJSON() : undefined);
13946
+ }
13947
+ data["successMessage"] = this.successMessage;
13948
+ return data;
13949
+ }
13950
+ clone() {
13951
+ const json = this.toJSON();
13952
+ let result = new FacilityTreeDtoIEnumerableHttpResponseData();
13953
+ result.init(json);
13954
+ return result;
13955
+ }
13956
+ };
13344
13957
  var FeatureState;
13345
13958
  (function (FeatureState) {
13346
13959
  FeatureState[FeatureState["None"] = 0] = "None";
@@ -13407,6 +14020,88 @@ var GeneralActionType$1;
13407
14020
  (function (GeneralActionType) {
13408
14021
  GeneralActionType[GeneralActionType["DisconnectFromSessions"] = 1] = "DisconnectFromSessions";
13409
14022
  })(GeneralActionType$1 || (GeneralActionType$1 = {}));
14023
+ class GetApiTrafficQuery {
14024
+ constructor(data) {
14025
+ if (data) {
14026
+ for (var property in data) {
14027
+ if (data.hasOwnProperty(property))
14028
+ this[property] = data[property];
14029
+ }
14030
+ }
14031
+ }
14032
+ init(_data) {
14033
+ if (_data) {
14034
+ this.startDate = _data["startDate"] ? moment(_data["startDate"].toString()) : undefined;
14035
+ this.endDate = _data["endDate"] ? moment(_data["endDate"].toString()) : undefined;
14036
+ this.searchValue = _data["searchValue"];
14037
+ this.method = _data["method"];
14038
+ this.skip = _data["skip"];
14039
+ this.take = _data["take"];
14040
+ if (Array.isArray(_data["statusCode"])) {
14041
+ this.statusCode = [];
14042
+ for (let item of _data["statusCode"])
14043
+ this.statusCode.push(item);
14044
+ }
14045
+ if (Array.isArray(_data["tenantIds"])) {
14046
+ this.tenantIds = [];
14047
+ for (let item of _data["tenantIds"])
14048
+ this.tenantIds.push(item);
14049
+ }
14050
+ if (Array.isArray(_data["vendorsIds"])) {
14051
+ this.vendorsIds = [];
14052
+ for (let item of _data["vendorsIds"])
14053
+ this.vendorsIds.push(item);
14054
+ }
14055
+ if (Array.isArray(_data["parkingLotsIds"])) {
14056
+ this.parkingLotsIds = [];
14057
+ for (let item of _data["parkingLotsIds"])
14058
+ this.parkingLotsIds.push(item);
14059
+ }
14060
+ }
14061
+ }
14062
+ static fromJS(data) {
14063
+ data = typeof data === 'object' ? data : {};
14064
+ let result = new GetApiTrafficQuery();
14065
+ result.init(data);
14066
+ return result;
14067
+ }
14068
+ toJSON(data) {
14069
+ data = typeof data === 'object' ? data : {};
14070
+ data["startDate"] = this.startDate ? this.startDate.toISOString() : undefined;
14071
+ data["endDate"] = this.endDate ? this.endDate.toISOString() : undefined;
14072
+ data["searchValue"] = this.searchValue;
14073
+ data["method"] = this.method;
14074
+ data["skip"] = this.skip;
14075
+ data["take"] = this.take;
14076
+ if (Array.isArray(this.statusCode)) {
14077
+ data["statusCode"] = [];
14078
+ for (let item of this.statusCode)
14079
+ data["statusCode"].push(item);
14080
+ }
14081
+ if (Array.isArray(this.tenantIds)) {
14082
+ data["tenantIds"] = [];
14083
+ for (let item of this.tenantIds)
14084
+ data["tenantIds"].push(item);
14085
+ }
14086
+ if (Array.isArray(this.vendorsIds)) {
14087
+ data["vendorsIds"] = [];
14088
+ for (let item of this.vendorsIds)
14089
+ data["vendorsIds"].push(item);
14090
+ }
14091
+ if (Array.isArray(this.parkingLotsIds)) {
14092
+ data["parkingLotsIds"] = [];
14093
+ for (let item of this.parkingLotsIds)
14094
+ data["parkingLotsIds"].push(item);
14095
+ }
14096
+ return data;
14097
+ }
14098
+ clone() {
14099
+ const json = this.toJSON();
14100
+ let result = new GetApiTrafficQuery();
14101
+ result.init(json);
14102
+ return result;
14103
+ }
14104
+ }
13410
14105
  let GetLogoDto$1 = class GetLogoDto {
13411
14106
  constructor(data) {
13412
14107
  if (data) {
@@ -13793,6 +14488,16 @@ var HopperStatus$1;
13793
14488
  HopperStatus[HopperStatus["Security"] = 2] = "Security";
13794
14489
  HopperStatus[HopperStatus["Error"] = 3] = "Error";
13795
14490
  })(HopperStatus$1 || (HopperStatus$1 = {}));
14491
+ var HttpMethod;
14492
+ (function (HttpMethod) {
14493
+ HttpMethod[HttpMethod["ALL"] = 0] = "ALL";
14494
+ HttpMethod[HttpMethod["GET"] = 1] = "GET";
14495
+ HttpMethod[HttpMethod["POST"] = 2] = "POST";
14496
+ HttpMethod[HttpMethod["PUT"] = 3] = "PUT";
14497
+ HttpMethod[HttpMethod["DELETE"] = 4] = "DELETE";
14498
+ HttpMethod[HttpMethod["FUTURED"] = 5] = "FUTURED";
14499
+ HttpMethod[HttpMethod["UNKNOWEN"] = 99] = "UNKNOWEN";
14500
+ })(HttpMethod || (HttpMethod = {}));
13796
14501
  class HttpResponseData_1 {
13797
14502
  constructor(data) {
13798
14503
  if (data) {
@@ -14985,6 +15690,11 @@ var OrderDirection$2;
14985
15690
  OrderDirection[OrderDirection["Asc"] = 1] = "Asc";
14986
15691
  OrderDirection[OrderDirection["Desc"] = 2] = "Desc";
14987
15692
  })(OrderDirection$2 || (OrderDirection$2 = {}));
15693
+ var ParkBranchType$1;
15694
+ (function (ParkBranchType) {
15695
+ ParkBranchType[ParkBranchType["Park"] = 0] = "Park";
15696
+ ParkBranchType[ParkBranchType["Group"] = 1] = "Group";
15697
+ })(ParkBranchType$1 || (ParkBranchType$1 = {}));
14988
15698
  var PasswordChangeType$1;
14989
15699
  (function (PasswordChangeType) {
14990
15700
  PasswordChangeType[PasswordChangeType["Registration"] = 0] = "Registration";
@@ -20131,6 +20841,54 @@ class VendorDtoHttpResponseData {
20131
20841
  return result;
20132
20842
  }
20133
20843
  }
20844
+ class VendorDtoIEnumerableHttpResponseData {
20845
+ constructor(data) {
20846
+ if (data) {
20847
+ for (var property in data) {
20848
+ if (data.hasOwnProperty(property))
20849
+ this[property] = data[property];
20850
+ }
20851
+ }
20852
+ }
20853
+ init(_data) {
20854
+ if (_data) {
20855
+ this.errorMessage = _data["errorMessage"];
20856
+ this.isSuccess = _data["isSuccess"];
20857
+ this.statusCode = _data["statusCode"];
20858
+ if (Array.isArray(_data["data"])) {
20859
+ this.data = [];
20860
+ for (let item of _data["data"])
20861
+ this.data.push(VendorDto.fromJS(item));
20862
+ }
20863
+ this.successMessage = _data["successMessage"];
20864
+ }
20865
+ }
20866
+ static fromJS(data) {
20867
+ data = typeof data === 'object' ? data : {};
20868
+ let result = new VendorDtoIEnumerableHttpResponseData();
20869
+ result.init(data);
20870
+ return result;
20871
+ }
20872
+ toJSON(data) {
20873
+ data = typeof data === 'object' ? data : {};
20874
+ data["errorMessage"] = this.errorMessage;
20875
+ data["isSuccess"] = this.isSuccess;
20876
+ data["statusCode"] = this.statusCode;
20877
+ if (Array.isArray(this.data)) {
20878
+ data["data"] = [];
20879
+ for (let item of this.data)
20880
+ data["data"].push(item ? item.toJSON() : undefined);
20881
+ }
20882
+ data["successMessage"] = this.successMessage;
20883
+ return data;
20884
+ }
20885
+ clone() {
20886
+ const json = this.toJSON();
20887
+ let result = new VendorDtoIEnumerableHttpResponseData();
20888
+ result.init(json);
20889
+ return result;
20890
+ }
20891
+ }
20134
20892
  class VendorIPDto {
20135
20893
  constructor(data) {
20136
20894
  if (data) {
@@ -20469,6 +21227,11 @@ var cloudServiceProxies = /*#__PURE__*/Object.freeze({
20469
21227
  get AlertsDeviceType () { return AlertsDeviceType$1; },
20470
21228
  AllRolePermissionAccountsDto: AllRolePermissionAccountsDto$1,
20471
21229
  ApiException: ApiException$2,
21230
+ ApiIntegrationTrafficLogsDto: ApiIntegrationTrafficLogsDto,
21231
+ ApiIntegrationTrafficLogsDtoEntityWrapperDto: ApiIntegrationTrafficLogsDtoEntityWrapperDto,
21232
+ ApiIntegrationTrafficLogsDtoEntityWrapperDtoHttpResponseData: ApiIntegrationTrafficLogsDtoEntityWrapperDtoHttpResponseData,
21233
+ ApiIntegrationTrafficLogsDtoHttpResponseData: ApiIntegrationTrafficLogsDtoHttpResponseData,
21234
+ ApiTrafficServiceProxy: ApiTrafficServiceProxy,
20472
21235
  AppConfigurationDto: AppConfigurationDto$1,
20473
21236
  AppConfigurationDtoHttpResponseData: AppConfigurationDtoHttpResponseData$1,
20474
21237
  get AppModule () { return AppModule$2; },
@@ -20549,12 +21312,15 @@ var cloudServiceProxies = /*#__PURE__*/Object.freeze({
20549
21312
  get EventActionType () { return EventActionType; },
20550
21313
  FacilityBasicDto: FacilityBasicDto$2,
20551
21314
  get FacilityRemoteCommandTypes () { return FacilityRemoteCommandTypes$2; },
21315
+ FacilityTreeDto: FacilityTreeDto$1,
21316
+ FacilityTreeDtoIEnumerableHttpResponseData: FacilityTreeDtoIEnumerableHttpResponseData$1,
20552
21317
  get FeatureState () { return FeatureState; },
20553
21318
  get Features () { return Features; },
20554
21319
  FileServiceProxy: FileServiceProxy$1,
20555
21320
  get FileType () { return FileType$1; },
20556
21321
  FilterDto: FilterDto$1,
20557
21322
  get GeneralActionType () { return GeneralActionType$1; },
21323
+ GetApiTrafficQuery: GetApiTrafficQuery,
20558
21324
  GetLogoDto: GetLogoDto$1,
20559
21325
  GetSelfValidationsQuery: GetSelfValidationsQuery,
20560
21326
  HandlingAlertDto: HandlingAlertDto,
@@ -20566,6 +21332,7 @@ var cloudServiceProxies = /*#__PURE__*/Object.freeze({
20566
21332
  get HealthStatus () { return HealthStatus$1; },
20567
21333
  HopperDto: HopperDto$1,
20568
21334
  get HopperStatus () { return HopperStatus$1; },
21335
+ get HttpMethod () { return HttpMethod; },
20569
21336
  HttpResponseData_1: HttpResponseData_1,
20570
21337
  get HttpStatusCode () { return HttpStatusCode$2; },
20571
21338
  IDynamicPricingCommandBase: IDynamicPricingCommandBase,
@@ -20599,6 +21366,7 @@ var cloudServiceProxies = /*#__PURE__*/Object.freeze({
20599
21366
  OnlineValidatorContextDtoHttpResponseData: OnlineValidatorContextDtoHttpResponseData$1,
20600
21367
  OrderByDto: OrderByDto$1,
20601
21368
  get OrderDirection () { return OrderDirection$2; },
21369
+ get ParkBranchType () { return ParkBranchType$1; },
20602
21370
  get PasswordChangeType () { return PasswordChangeType$1; },
20603
21371
  get PasswordExpirationState () { return PasswordExpirationState$2; },
20604
21372
  PasswordPolicySettings: PasswordPolicySettings,
@@ -20735,6 +21503,7 @@ var cloudServiceProxies = /*#__PURE__*/Object.freeze({
20735
21503
  VendorDtoEntityWrapperDto: VendorDtoEntityWrapperDto,
20736
21504
  VendorDtoEntityWrapperDtoHttpResponseData: VendorDtoEntityWrapperDtoHttpResponseData,
20737
21505
  VendorDtoHttpResponseData: VendorDtoHttpResponseData,
21506
+ VendorDtoIEnumerableHttpResponseData: VendorDtoIEnumerableHttpResponseData,
20738
21507
  VendorIPDto: VendorIPDto,
20739
21508
  VendorServiceProxy: VendorServiceProxy,
20740
21509
  VersionsDto: VersionsDto,
@@ -21341,8 +22110,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
21341
22110
 
21342
22111
  var DataQaAttribute;
21343
22112
  (function (DataQaAttribute) {
22113
+ DataQaAttribute["select_http_status_multiple"] = "select-http-status-multiple";
21344
22114
  DataQaAttribute["select_actions_types_multiple"] = "select-actions-types-multiple";
21345
22115
  DataQaAttribute["select_entitites_types_multiple"] = "select-entitites-types-multiple";
22116
+ DataQaAttribute["select_methods_type"] = "select-methods-type";
21346
22117
  DataQaAttribute["select_tenants_multiple"] = "select-tenants-multiple";
21347
22118
  DataQaAttribute["select_smartpark_version_multiple"] = "select-smartpark-version-multiple";
21348
22119
  DataQaAttribute["select_spark_version_multiple"] = "select-spark-version-multiple";
@@ -21739,6 +22510,8 @@ var DataQaAttribute;
21739
22510
  DataQaAttribute["restriction_lane_type"] = "restriction-lane-type";
21740
22511
  DataQaAttribute["dashboard_view"] = "dashboard-view";
21741
22512
  DataQaAttribute["upsert_self_validations"] = "upsert-self-validations";
22513
+ DataQaAttribute["select_facilites_multiple"] = "select-facilites-multiple";
22514
+ DataQaAttribute["select_vendors_multiple"] = "select-vendors-multiple";
21742
22515
  })(DataQaAttribute || (DataQaAttribute = {}));
21743
22516
 
21744
22517
  var Localization;
@@ -24482,6 +25255,19 @@ var Localization;
24482
25255
  Localization["delete_vendor_title"] = "delete_vendor_title";
24483
25256
  Localization["revoke_token_message"] = "revoke_token_message";
24484
25257
  Localization["revoke_token_title"] = "revoke_token_title";
25258
+ Localization["api_traffic"] = "api_traffic";
25259
+ Localization["relative_url"] = "relative_url";
25260
+ Localization["status_code"] = "status_code";
25261
+ Localization["method"] = "method";
25262
+ Localization["external_identifier"] = "external_identifier";
25263
+ Localization["request_time"] = "request_time";
25264
+ Localization["search_by_relative_or_external_identifier_name"] = "search_by_relative_or_external_identifier_name";
25265
+ Localization["select_status_code"] = "select_status_code";
25266
+ Localization["select_vendor"] = "select_vendor";
25267
+ Localization["select_http_methods"] = "select_http_methods";
25268
+ Localization["request"] = "request";
25269
+ Localization["response"] = "response";
25270
+ Localization["select_facility"] = "select_facility";
24485
25271
  Localization["used_or_expired"] = "used_or_expired";
24486
25272
  })(Localization || (Localization = {}));
24487
25273
 
@@ -83459,8 +84245,9 @@ var IconsHelper;
83459
84245
  IconsHelper[IconsHelper["copy"] = 203] = "copy";
83460
84246
  IconsHelper[IconsHelper["blue_generate"] = 204] = "blue_generate";
83461
84247
  IconsHelper[IconsHelper["white_vendors"] = 205] = "white_vendors";
83462
- IconsHelper[IconsHelper["excel_file"] = 206] = "excel_file";
83463
- IconsHelper[IconsHelper["refresh"] = 207] = "refresh";
84248
+ IconsHelper[IconsHelper["white_api_traffic"] = 206] = "white_api_traffic";
84249
+ IconsHelper[IconsHelper["excel_file"] = 207] = "excel_file";
84250
+ IconsHelper[IconsHelper["refresh"] = 208] = "refresh";
83464
84251
  })(IconsHelper || (IconsHelper = {}));
83465
84252
  var IconsHelperText;
83466
84253
  (function (IconsHelperText) {
@@ -83671,6 +84458,7 @@ var IconsHelperText;
83671
84458
  IconsHelperText["copy"] = "copy";
83672
84459
  IconsHelperText["blue_generate"] = "blue-generate";
83673
84460
  IconsHelperText["white_vendors"] = "white-vendors";
84461
+ IconsHelperText["white_api_traffic"] = "white-api-traffic";
83674
84462
  IconsHelperText["excel_file"] = "excel-file";
83675
84463
  IconsHelperText["refresh"] = "refresh";
83676
84464
  })(IconsHelperText || (IconsHelperText = {}));
@@ -94817,6 +95605,12 @@ class RouteService extends BaseComponent {
94817
95605
  relativeTo
94818
95606
  });
94819
95607
  }
95608
+ navigateToBackofficeSideBarParker(id, relativeTo) {
95609
+ this.navigate({
95610
+ sidebar: [id.toString()],
95611
+ relativeTo
95612
+ });
95613
+ }
94820
95614
  navigateToSideBarSubTicketParker(searchType, ticketId, subTicketId, relativeTo) {
94821
95615
  this.navigate({
94822
95616
  sidebar: [type, searchType.toString(), parkers, ticketId.toString(), subTicketId.toString()],