ng-pli-commons 0.0.1301 → 0.0.1305

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 (30) hide show
  1. package/bundles/ng-pli-commons.umd.js +49 -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/components/configuration-token-multiapplication/configuration-token-multiapplication.component.js +101 -0
  6. package/esm2015/lib/components/project-summary-config/project-summary-config.component.js +31 -0
  7. package/esm2015/lib/services/application.service.js +9 -1
  8. package/esm2015/lib/services/configuration-document.service.js +7 -1
  9. package/esm2015/lib/services/document-analysis-auto.service.js +28 -0
  10. package/esm2015/public_api.js +2 -1
  11. package/esm2015/version.js +8 -8
  12. package/esm5/lib/components/configuration-token-multiapplication/configuration-token-multiapplication.component.js +128 -0
  13. package/esm5/lib/components/project-summary-config/project-summary-config.component.js +36 -0
  14. package/esm5/lib/services/application.service.js +9 -1
  15. package/esm5/lib/services/configuration-document.service.js +7 -1
  16. package/esm5/lib/services/document-analysis-auto.service.js +30 -0
  17. package/esm5/public_api.js +2 -1
  18. package/esm5/version.js +8 -8
  19. package/fesm2015/ng-pli-commons.js +46 -8
  20. package/fesm2015/ng-pli-commons.js.map +1 -1
  21. package/fesm5/ng-pli-commons.js +47 -8
  22. package/fesm5/ng-pli-commons.js.map +1 -1
  23. package/lib/components/configuration-token-multiapplication/configuration-token-multiapplication.component.d.ts +34 -0
  24. package/lib/components/project-summary-config/project-summary-config.component.d.ts +13 -0
  25. package/lib/services/application.service.d.ts +5 -1
  26. package/lib/services/configuration-document.service.d.ts +1 -0
  27. package/lib/services/document-analysis-auto.service.d.ts +11 -0
  28. package/ng-pli-commons.metadata.json +1 -1
  29. package/package.json +1 -1
  30. package/public_api.d.ts +1 -0
@@ -3430,6 +3430,12 @@
3430
3430
  params: new i1$1.HttpParams().set('formId', formId.toString())
3431
3431
  });
3432
3432
  };
3433
+ ConfigurationDocumentService.prototype.getByPromCodigoAndAutomaticValidation = function (promCodigo) {
3434
+ return this.httpClient.get(this.environment.host.backend.configuration +
3435
+ 'configuration-document/getByPromCodigoAndAutomaticValidation', {
3436
+ params: new i1$1.HttpParams().set('promCodigo', promCodigo.toString())
3437
+ });
3438
+ };
3433
3439
  /** */
3434
3440
  ConfigurationDocumentService.STATIC_TOKEN_DOCUMENTARY_KEY_ESPACIO = 'espacio';
3435
3441
  /** */
@@ -4994,6 +5000,14 @@
4994
5000
  ApplicationService.prototype.updateSingleApplicationValue = function (applicationValueRequestTO) {
4995
5001
  return this.httpClient.put(this.environment.host.backend.frontoffice + "application/updateSingleApplicationValue", applicationValueRequestTO);
4996
5002
  };
5003
+ /** It returns the list by dataTableParameters for automatic document analysis*/
5004
+ ApplicationService.prototype.getByByDocumentValidation = function (dataTableParameters) {
5005
+ return this.httpClient.post(this.environment.host.backend.backoffice + 'application/getByByDocumentValidation', dataTableParameters);
5006
+ };
5007
+ /** Change document status manually.*/
5008
+ ApplicationService.prototype.updateStatusValidationDocument = function (changeStatusValidationDocumentTO) {
5009
+ return this.httpClient.post(this.environment.host.backend.backoffice + 'application/updateStatusValidationDocument', changeStatusValidationDocumentTO);
5010
+ };
4997
5011
  ApplicationService.decorators = [
4998
5012
  { type: i0.Injectable, args: [{
4999
5013
  providedIn: 'root'
@@ -15286,6 +15300,33 @@
15286
15300
  return DataLetterSegmentationService;
15287
15301
  }());
15288
15302
 
15303
+ var DocumentAnalysisAutoService = /** @class */ (function () {
15304
+ function DocumentAnalysisAutoService(environment, httpClient) {
15305
+ this.environment = environment;
15306
+ this.httpClient = httpClient;
15307
+ this.headerJson = { headers: new i1$1.HttpHeaders({ 'Content-Type': 'application/json' }) };
15308
+ }
15309
+ /** It send All applications for automatic document analysis */
15310
+ DocumentAnalysisAutoService.prototype.send = function (sendDocAnalysisAutoDto) {
15311
+ return this.httpClient.post(this.environment.host.backend.queue + 'docAnalysisAuto/send', {
15312
+ sendDocAnalysisAutoDto: sendDocAnalysisAutoDto
15313
+ });
15314
+ };
15315
+ DocumentAnalysisAutoService.decorators = [
15316
+ { type: i0.Injectable, args: [{
15317
+ providedIn: 'root'
15318
+ },] }
15319
+ ];
15320
+ DocumentAnalysisAutoService.ctorParameters = function () {
15321
+ return [
15322
+ { type: undefined, decorators: [{ type: i0.Inject, args: ['environment',] }] },
15323
+ { type: i1$1.HttpClient }
15324
+ ];
15325
+ };
15326
+ DocumentAnalysisAutoService.ngInjectableDef = i0.defineInjectable({ factory: function DocumentAnalysisAutoService_Factory() { return new DocumentAnalysisAutoService(i0.inject("environment"), i0.inject(i1$1.HttpClient)); }, token: DocumentAnalysisAutoService, providedIn: "root" });
15327
+ return DocumentAnalysisAutoService;
15328
+ }());
15329
+
15289
15330
  var DocumentValidationAttemptService = /** @class */ (function () {
15290
15331
  function DocumentValidationAttemptService(environment, httpClient) {
15291
15332
  this.environment = environment;
@@ -17111,9 +17152,9 @@
17111
17152
  /* tslint:disable */
17112
17153
  var VERSION = {
17113
17154
  "dirty": true,
17114
- "raw": "v0.0.18-1840-g44b79ec1-dirty",
17115
- "hash": "g44b79ec1",
17116
- "distance": 1840,
17155
+ "raw": "v0.0.18-1844-g9ab6752-dirty",
17156
+ "hash": "g9ab6752",
17157
+ "distance": 1844,
17117
17158
  "tag": "v0.0.18",
17118
17159
  "semver": {
17119
17160
  "options": {
@@ -17129,10 +17170,10 @@
17129
17170
  "build": [],
17130
17171
  "version": "0.0.18"
17131
17172
  },
17132
- "suffix": "1840-g44b79ec1-dirty",
17133
- "semverString": "0.0.18+1840.g44b79ec1",
17134
- "version": "0.0.1301",
17135
- "buildTimestamp": "2021-12-28T08:20:15.957Z"
17173
+ "suffix": "1844-g9ab6752-dirty",
17174
+ "semverString": "0.0.18+1844.g9ab6752",
17175
+ "version": "0.0.1305",
17176
+ "buildTimestamp": "2022-01-06T14:52:26.889Z"
17136
17177
  };
17137
17178
  /* tslint:enable */
17138
17179
 
@@ -17205,6 +17246,7 @@
17205
17246
  exports.CubeService = CubeService;
17206
17247
  exports.DataFormService = DataFormService;
17207
17248
  exports.DataLetterSegmentationService = DataLetterSegmentationService;
17249
+ exports.DocumentAnalysisAutoService = DocumentAnalysisAutoService;
17208
17250
  exports.DocumentManagementService = DocumentManagementService;
17209
17251
  exports.DocumentValidationAttemptService = DocumentValidationAttemptService;
17210
17252
  exports.DocumentService = DocumentService;