ng-pli-commons 0.0.1280 → 0.0.1284

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.
@@ -9,18 +9,18 @@
9
9
  $ = $ && $.hasOwnProperty('default') ? $['default'] : $;
10
10
 
11
11
  /*! *****************************************************************************
12
- Copyright (c) Microsoft Corporation.
12
+ Copyright (c) Microsoft Corporation. All rights reserved.
13
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
14
+ this file except in compliance with the License. You may obtain a copy of the
15
+ License at http://www.apache.org/licenses/LICENSE-2.0
13
16
 
14
- Permission to use, copy, modify, and/or distribute this software for any
15
- purpose with or without fee is hereby granted.
17
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
19
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
20
+ MERCHANTABLITY OR NON-INFRINGEMENT.
16
21
 
17
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
18
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
19
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
20
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
21
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
22
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
23
- PERFORMANCE OF THIS SOFTWARE.
22
+ See the Apache Version 2.0 License for specific language governing permissions
23
+ and limitations under the License.
24
24
  ***************************************************************************** */
25
25
  /* global Reflect, Promise */
26
26
  var extendStatics = function (d, b) {
@@ -4975,6 +4975,9 @@
4975
4975
  ApplicationService.prototype.updateAllInitialRecord = function (initialRecord) {
4976
4976
  return this.httpClient.post(this.environment.host.backend.frontoffice + 'application/updateAllInitialRecord', initialRecord, this.headerJson);
4977
4977
  };
4978
+ ApplicationService.prototype.updateSingleApplicationValue = function (applicationValueRequestTO) {
4979
+ return this.httpClient.put(this.environment.host.backend.frontoffice + "application/updateSingleApplicationValue", applicationValueRequestTO);
4980
+ };
4978
4981
  ApplicationService.decorators = [
4979
4982
  { type: i0.Injectable, args: [{
4980
4983
  providedIn: 'root'
@@ -5285,6 +5288,15 @@
5285
5288
  return this.httpClient.post(this.environment.host.backend.configuration +
5286
5289
  'token-transformation/transformByUsername', data, this.headerJson);
5287
5290
  };
5291
+ /** It returns a string with formula result */
5292
+ TokenTransformationService.prototype.resolveFormula = function (formula, promCodigo, applicationId) {
5293
+ var data = {
5294
+ formula: formula,
5295
+ promCodigo: promCodigo,
5296
+ applicationId: applicationId
5297
+ };
5298
+ return this.httpClient.post(this.environment.host.backend.configuration + 'token-transformation/resolveFormula', data, this.headerJson);
5299
+ };
5288
5300
  TokenTransformationService.decorators = [
5289
5301
  { type: i0.Injectable, args: [{
5290
5302
  providedIn: 'root'
@@ -15014,6 +15026,36 @@
15014
15026
  return DataLetterSegmentationService;
15015
15027
  }());
15016
15028
 
15029
+ var DocumentValidationAttemptService = /** @class */ (function () {
15030
+ function DocumentValidationAttemptService(environment, httpClient) {
15031
+ this.environment = environment;
15032
+ this.httpClient = httpClient;
15033
+ }
15034
+ DocumentValidationAttemptService.prototype.getByApplicationIdAndDocumentId = function (applicationId, configurationDocumentId) {
15035
+ return this.httpClient.get(this.environment.host.backend.frontoffice + 'getByApplicationIdAndDocumentId', {
15036
+ params: new i1$1.HttpParams()
15037
+ .set('applicationId', applicationId)
15038
+ .set('configurationDocumentId', configurationDocumentId.toString())
15039
+ });
15040
+ };
15041
+ DocumentValidationAttemptService.prototype.save = function (documentValidationAttempt) {
15042
+ return this.httpClient.post(this.environment.host.backend.frontoffice + 'save', documentValidationAttempt);
15043
+ };
15044
+ DocumentValidationAttemptService.decorators = [
15045
+ { type: i0.Injectable, args: [{
15046
+ providedIn: 'root'
15047
+ },] }
15048
+ ];
15049
+ DocumentValidationAttemptService.ctorParameters = function () {
15050
+ return [
15051
+ { type: undefined, decorators: [{ type: i0.Inject, args: ['environment',] }] },
15052
+ { type: i1$1.HttpClient }
15053
+ ];
15054
+ };
15055
+ DocumentValidationAttemptService.ngInjectableDef = i0.defineInjectable({ factory: function DocumentValidationAttemptService_Factory() { return new DocumentValidationAttemptService(i0.inject("environment"), i0.inject(i1$1.HttpClient)); }, token: DocumentValidationAttemptService, providedIn: "root" });
15056
+ return DocumentValidationAttemptService;
15057
+ }());
15058
+
15017
15059
  var InitialRecordService = /** @class */ (function () {
15018
15060
  function InitialRecordService(environment, httpClient) {
15019
15061
  this.environment = environment;
@@ -16806,9 +16848,9 @@
16806
16848
  /* tslint:disable */
16807
16849
  var VERSION = {
16808
16850
  "dirty": true,
16809
- "raw": "v0.0.18-1805-g624614b-dirty",
16810
- "hash": "g624614b",
16811
- "distance": 1805,
16851
+ "raw": "v0.0.18-1809-gc58313b-dirty",
16852
+ "hash": "gc58313b",
16853
+ "distance": 1809,
16812
16854
  "tag": "v0.0.18",
16813
16855
  "semver": {
16814
16856
  "options": {
@@ -16824,10 +16866,10 @@
16824
16866
  "build": [],
16825
16867
  "version": "0.0.18"
16826
16868
  },
16827
- "suffix": "1805-g624614b-dirty",
16828
- "semverString": "0.0.18+1805.g624614b",
16829
- "version": "0.0.1280",
16830
- "buildTimestamp": "2021-11-05T20:23:34.346Z"
16869
+ "suffix": "1809-gc58313b-dirty",
16870
+ "semverString": "0.0.18+1809.gc58313b",
16871
+ "version": "0.0.1284",
16872
+ "buildTimestamp": "2021-11-30T21:59:57.981Z"
16831
16873
  };
16832
16874
  /* tslint:enable */
16833
16875
 
@@ -16900,6 +16942,7 @@
16900
16942
  exports.DataFormService = DataFormService;
16901
16943
  exports.DataLetterSegmentationService = DataLetterSegmentationService;
16902
16944
  exports.DocumentManagementService = DocumentManagementService;
16945
+ exports.DocumentValidationAttemptService = DocumentValidationAttemptService;
16903
16946
  exports.DocumentService = DocumentService;
16904
16947
  exports.DocumentaryTypeService = DocumentaryTypeService;
16905
16948
  exports.EmailService = EmailService;