ng-pli-commons 0.0.1281 → 0.0.1285

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.
Files changed (36) hide show
  1. package/bundles/ng-pli-commons.umd.js +50 -7
  2. package/bundles/ng-pli-commons.umd.js.map +1 -1
  3. package/bundles/ng-pli-commons.umd.min.js +1 -1
  4. package/bundles/ng-pli-commons.umd.min.js.map +1 -1
  5. package/esm2015/lib/services/application.service.js +4 -1
  6. package/esm2015/lib/services/document-validation-attempt.service.js +31 -0
  7. package/esm2015/lib/services/migration-survey-queue.service.js +1 -1
  8. package/esm2015/lib/services/pli-cnf-survey-document.service.js +1 -1
  9. package/esm2015/lib/services/pli-cnf-survey.service.js +1 -1
  10. package/esm2015/lib/services/survey-metadata.service.js +1 -1
  11. package/esm2015/lib/services/survey-queue.service.js +1 -1
  12. package/esm2015/lib/services/survey.service.js +1 -1
  13. package/esm2015/lib/services/token-transformation.service.js +10 -1
  14. package/esm2015/public_api.js +2 -1
  15. package/esm2015/version.js +8 -8
  16. package/esm5/lib/services/application.service.js +4 -1
  17. package/esm5/lib/services/document-validation-attempt.service.js +33 -0
  18. package/esm5/lib/services/migration-survey-queue.service.js +1 -1
  19. package/esm5/lib/services/pli-cnf-survey-document.service.js +1 -1
  20. package/esm5/lib/services/pli-cnf-survey.service.js +1 -1
  21. package/esm5/lib/services/survey-metadata.service.js +1 -1
  22. package/esm5/lib/services/survey-queue.service.js +1 -1
  23. package/esm5/lib/services/survey.service.js +1 -1
  24. package/esm5/lib/services/token-transformation.service.js +10 -1
  25. package/esm5/public_api.js +2 -1
  26. package/esm5/version.js +8 -8
  27. package/fesm2015/ng-pli-commons.js +47 -8
  28. package/fesm2015/ng-pli-commons.js.map +1 -1
  29. package/fesm5/ng-pli-commons.js +48 -8
  30. package/fesm5/ng-pli-commons.js.map +1 -1
  31. package/lib/services/application.service.d.ts +2 -1
  32. package/lib/services/document-validation-attempt.service.d.ts +10 -0
  33. package/lib/services/token-transformation.service.d.ts +2 -0
  34. package/ng-pli-commons.metadata.json +1 -1
  35. package/package.json +1 -1
  36. package/public_api.d.ts +1 -0
@@ -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-1806-g2ecaf4c6-dirty",
16810
- "hash": "g2ecaf4c6",
16811
- "distance": 1806,
16851
+ "raw": "v0.0.18-1810-g612088a-dirty",
16852
+ "hash": "g612088a",
16853
+ "distance": 1810,
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": "1806-g2ecaf4c6-dirty",
16828
- "semverString": "0.0.18+1806.g2ecaf4c6",
16829
- "version": "0.0.1281",
16830
- "buildTimestamp": "2021-11-25T16:50:59.693Z"
16869
+ "suffix": "1810-g612088a-dirty",
16870
+ "semverString": "0.0.18+1810.g612088a",
16871
+ "version": "0.0.1285",
16872
+ "buildTimestamp": "2021-12-01T14:45:26.172Z"
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;