ng-pli-commons 0.0.1663 → 0.0.1665

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 (49) hide show
  1. package/esm2020/lib/components/pdf-config/pdf-config.component.mjs +3 -3
  2. package/esm2020/lib/components/pdf-visualizer/pdf-visualizer.component.mjs +7 -9
  3. package/esm2020/lib/components/progress-bar/progress-bar.component.mjs +11 -4
  4. package/esm2020/lib/services/budget.service.mjs +3 -3
  5. package/esm2020/lib/services/document-history.service.mjs +1 -1
  6. package/esm2020/lib/services/gic-client-disbursement-metadata.service.mjs +31 -0
  7. package/esm2020/lib/services/gic-client.service.mjs +7 -1
  8. package/esm2020/lib/services/gic-cnf-bankvision-transaction.service.mjs +31 -0
  9. package/esm2020/lib/services/gic-cnf-closing-date.service.mjs +34 -0
  10. package/esm2020/lib/services/gic-cnf-maintenance.service.mjs +30 -0
  11. package/esm2020/lib/services/gic-collection.service.mjs +45 -0
  12. package/esm2020/lib/services/gic-disbursement.service.mjs +30 -0
  13. package/esm2020/lib/services/gic-payment-application.service.mjs +27 -0
  14. package/esm2020/lib/services/gic-payment-plan.service.mjs +29 -0
  15. package/esm2020/lib/services/import-excel-gic.service.mjs +40 -0
  16. package/esm2020/lib/services/initial-configuration-gic-parameters.service.mjs +51 -0
  17. package/esm2020/lib/services/interest-adjustment.service.mjs +31 -0
  18. package/esm2020/lib/services/maintenance.service.mjs +59 -0
  19. package/esm2020/lib/services/progress-bar.service.mjs +13 -6
  20. package/esm2020/lib/services/return-refund.service.mjs +47 -0
  21. package/esm2020/lib/services/tasa.cambio.service.mjs +9 -1
  22. package/esm2020/lib/services/token.service.mjs +2 -5
  23. package/esm2020/lib/utils/formio-util.mjs +20 -26
  24. package/esm2020/public-api.mjs +14 -1
  25. package/esm2020/version.mjs +8 -8
  26. package/fesm2015/ng-pli-commons.mjs +2030 -1555
  27. package/fesm2015/ng-pli-commons.mjs.map +1 -1
  28. package/fesm2020/ng-pli-commons.mjs +2003 -1554
  29. package/fesm2020/ng-pli-commons.mjs.map +1 -1
  30. package/lib/components/progress-bar/progress-bar.component.d.ts +2 -1
  31. package/lib/services/budget.service.d.ts +1 -1
  32. package/lib/services/gic-client-disbursement-metadata.service.d.ts +12 -0
  33. package/lib/services/gic-client.service.d.ts +2 -0
  34. package/lib/services/gic-cnf-bankvision-transaction.service.d.ts +13 -0
  35. package/lib/services/gic-cnf-closing-date.service.d.ts +15 -0
  36. package/lib/services/gic-cnf-maintenance.service.d.ts +13 -0
  37. package/lib/services/gic-collection.service.d.ts +18 -0
  38. package/lib/services/gic-disbursement.service.d.ts +14 -0
  39. package/lib/services/gic-payment-application.service.d.ts +13 -0
  40. package/lib/services/gic-payment-plan.service.d.ts +18 -0
  41. package/lib/services/import-excel-gic.service.d.ts +20 -0
  42. package/lib/services/initial-configuration-gic-parameters.service.d.ts +19 -0
  43. package/lib/services/interest-adjustment.service.d.ts +15 -0
  44. package/lib/services/maintenance.service.d.ts +22 -0
  45. package/lib/services/progress-bar.service.d.ts +3 -2
  46. package/lib/services/return-refund.service.d.ts +18 -0
  47. package/lib/services/tasa.cambio.service.d.ts +2 -0
  48. package/package.json +1 -1
  49. package/public-api.d.ts +13 -0
@@ -15,6 +15,7 @@ export declare class ProgressBarComponent implements OnInit, OnDestroy {
15
15
  current: number;
16
16
  /** */
17
17
  end: number;
18
+ projectFrom: number;
18
19
  finishProcess: EventEmitter<any>;
19
20
  setTimeOutValue: any;
20
21
  constructor(toastrService: ToastrService, progressBarService: ProgressBarService);
@@ -25,5 +26,5 @@ export declare class ProgressBarComponent implements OnInit, OnDestroy {
25
26
  closeTabCallback(e: any): string;
26
27
  ngOnDestroy(): void;
27
28
  static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "pli-progress-bar", never, { "processId": "processId"; "processType": "processType"; "percentage": "percentage"; "current": "current"; "end": "end"; }, { "finishProcess": "finishProcess"; }, never, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "pli-progress-bar", never, { "processId": "processId"; "processType": "processType"; "percentage": "percentage"; "current": "current"; "end": "end"; "projectFrom": "projectFrom"; }, { "finishProcess": "finishProcess"; }, never, never>;
29
30
  }
@@ -59,7 +59,7 @@ export declare class BudgetService {
59
59
  isBudgetWizardUseCategory(cpreasiCodigo: number, rubCodigo: number): Observable<any>;
60
60
  updateAsistenteOrden(lPliCnfPresupuestoAsistente: PliCnfPresupuestoAsistente[]): Observable<any>;
61
61
  /**Returns PliCnfPresupuestoGlobalRubro */
62
- _getListPresupuestoGlobalCategory(cpreCodigo: number): Observable<PliCnfPresupuestoGlobalRubro[]>;
62
+ _getListPresupuestoGlobalCategory(cpreCodigo: number): Observable<any>;
63
63
  static ɵfac: i0.ɵɵFactoryDeclaration<BudgetService, never>;
64
64
  static ɵprov: i0.ɵɵInjectableDeclaration<BudgetService>;
65
65
  }
@@ -0,0 +1,12 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class GicClientDisbursementMetadataService {
5
+ private environment;
6
+ private httpClient;
7
+ private headerJson;
8
+ constructor(environment: any, httpClient: HttpClient);
9
+ getClientDisbursementMetadata(promCodigo: number, identification: string): Observable<any>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<GicClientDisbursementMetadataService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<GicClientDisbursementMetadataService>;
12
+ }
@@ -10,6 +10,8 @@ export declare class GicClientService {
10
10
  constructor(environment: any, httpClient: HttpClient);
11
11
  getByDataTablesParameters(dataTableParameters: DataTableParameters): Observable<any>;
12
12
  sendToGic(gicClientRequestTO: GicClientRequestTO): Observable<any>;
13
+ savePaymentDay(identification: String, promCodigo: number, paymentDay: number): Observable<any>;
14
+ saveSurplus(identification: String, promCodigo: number, surplus: number): Observable<any>;
13
15
  static ɵfac: i0.ɵɵFactoryDeclaration<GicClientService, never>;
14
16
  static ɵprov: i0.ɵɵInjectableDeclaration<GicClientService>;
15
17
  }
@@ -0,0 +1,13 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { GicCnfBankvisionTransaction } from 'ng-pli-util';
4
+ import * as i0 from "@angular/core";
5
+ export declare class GicCnfBankvisionTransactionService {
6
+ private environment;
7
+ private httpClient;
8
+ constructor(environment: any, httpClient: HttpClient);
9
+ getByPromCodigo(promCode: number): Observable<any>;
10
+ save(gicCnfBankvisionTransaction: GicCnfBankvisionTransaction): Observable<any>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<GicCnfBankvisionTransactionService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<GicCnfBankvisionTransactionService>;
13
+ }
@@ -0,0 +1,15 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { GicCnfClosingDate } from 'ng-pli-util';
4
+ import * as i0 from "@angular/core";
5
+ export declare class GicCnfClosingDateService {
6
+ private environment;
7
+ private httpClient;
8
+ constructor(environment: any, httpClient: HttpClient);
9
+ getAll(): Observable<any>;
10
+ save(gicCnfClosingDate: GicCnfClosingDate): Observable<any>;
11
+ delete(id: number): Observable<any>;
12
+ getClosingDate(): Observable<Object>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<GicCnfClosingDateService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<GicCnfClosingDateService>;
15
+ }
@@ -0,0 +1,13 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { GicCnfMaintenance } from 'ng-pli-util';
4
+ import * as i0 from "@angular/core";
5
+ export declare class GicCnfMaintenaceService {
6
+ private environment;
7
+ private httpClient;
8
+ constructor(environment: any, httpClient: HttpClient);
9
+ getByPromCodigo(promCodigo: number): Observable<any>;
10
+ save(gicCnfMaintenance: GicCnfMaintenance): Observable<any>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<GicCnfMaintenaceService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<GicCnfMaintenaceService>;
13
+ }
@@ -0,0 +1,18 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { DataTableParameters, GicPaymentApplication, UpdateBankvisionRequestTO } from 'ng-pli-util';
3
+ import { Observable } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export declare class GicCollectionService {
6
+ private environment;
7
+ private httpClient;
8
+ private headerJson;
9
+ constructor(environment: any, httpClient: HttpClient);
10
+ getByDataTablesParameters(dataTableParameters: DataTableParameters): Observable<any>;
11
+ updateBankvisionState(updateBankvisionRequestTO: UpdateBankvisionRequestTO): Observable<any>;
12
+ updateGicPaymentApplication(gicPaymentApplication: GicPaymentApplication): Observable<Object>;
13
+ delete(gicPaymentApplicationId: string): Observable<Object>;
14
+ deletedeletePaymentApplications(gicPaymentApplicationIds: string[]): Observable<Object>;
15
+ sendToBankVision(listIds: any): Observable<any>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<GicCollectionService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<GicCollectionService>;
18
+ }
@@ -0,0 +1,14 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { DataTableParameters, UpdateBankvisionRequestTO } from 'ng-pli-util';
3
+ import { Observable } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export declare class GicDisbursementService {
6
+ private environment;
7
+ private httpClient;
8
+ private headerJson;
9
+ constructor(environment: any, httpClient: HttpClient);
10
+ getByDataTablesParameters(dataTableParameters: DataTableParameters): Observable<any>;
11
+ updateBankvisionState(updateBankvisionRequestTO: UpdateBankvisionRequestTO): Observable<any>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<GicDisbursementService, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<GicDisbursementService>;
14
+ }
@@ -0,0 +1,13 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { DataTableParameters } from 'ng-pli-util';
3
+ import { Observable } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export declare class GicPaymentApplicationService {
6
+ private environment;
7
+ private httpClient;
8
+ private headerJson;
9
+ constructor(environment: any, httpClient: HttpClient);
10
+ getByDataTablesParameters(dataTableParameters: DataTableParameters): Observable<any>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<GicPaymentApplicationService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<GicPaymentApplicationService>;
13
+ }
@@ -0,0 +1,18 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class GicPaymentPlanService {
5
+ private environment;
6
+ private httpClient;
7
+ private headerJson;
8
+ constructor(environment: any, httpClient: HttpClient);
9
+ generatePaymentPlants(data: {
10
+ identification: string;
11
+ refinancedFee?: number;
12
+ refinancedFeeNumber?: number;
13
+ minPaymentToCapital?: number;
14
+ }): Observable<Object>;
15
+ generatePaymentPlantsByIdentifications(identifications: string[]): Observable<Object>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<GicPaymentPlanService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<GicPaymentPlanService>;
18
+ }
@@ -0,0 +1,20 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ImportExcelGICService {
5
+ private environment;
6
+ private httpClient;
7
+ private urlBase;
8
+ private headerJson;
9
+ constructor(environment: any, httpClient: HttpClient);
10
+ sendInitials(clients: any[]): Observable<any>;
11
+ sendDisbursments(disbursments: any[]): Observable<Object>;
12
+ /**
13
+ * Send collections
14
+ * @param collections
15
+ * @return observable<any>
16
+ */
17
+ sendCollections(collections: any[]): Observable<any>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImportExcelGICService, never>;
19
+ static ɵprov: i0.ɵɵInjectableDeclaration<ImportExcelGICService>;
20
+ }
@@ -0,0 +1,19 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { GicParametersConfiguration } from 'ng-pli-util';
4
+ import * as i0 from "@angular/core";
5
+ export declare class InitialConfigurationGicParametersService {
6
+ private environment;
7
+ private httpClient;
8
+ private headerJson;
9
+ constructor(environment: any, httpClient: HttpClient);
10
+ saveConfiguration(gicParametersConfiguration: GicParametersConfiguration): Observable<any>;
11
+ getAllConfigurationByPromCodigo(promCodigo: string): Observable<any>;
12
+ getConfigurationById(id: number): Observable<any>;
13
+ updateGicParametersConfiguration(gicParametersConfiguration: GicParametersConfiguration): Observable<any>;
14
+ deleteConfigurationById(id: number, promCodigo: string): Observable<any>;
15
+ getLPromCodigos(): Observable<any>;
16
+ cloningConfigByPromCodigo(promCodigoOfCloning: any, promCodigoOfCloningDestination: any): Observable<any>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<InitialConfigurationGicParametersService, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<InitialConfigurationGicParametersService>;
19
+ }
@@ -0,0 +1,15 @@
1
+ import { HttpClient } from "@angular/common/http";
2
+ import { Observable } from "rxjs";
3
+ import { DataTableParameters, InterestAdjustment } from 'ng-pli-util';
4
+ import * as i0 from "@angular/core";
5
+ export declare class InterestAdjustmentService {
6
+ private environment;
7
+ private httpClient;
8
+ private headerJson;
9
+ constructor(environment: any, httpClient: HttpClient);
10
+ /** It save a return or refund */
11
+ save(interestAdjustment: InterestAdjustment): Observable<any>;
12
+ getByDataTablesParameters(dataTableParameters: DataTableParameters): Observable<any>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<InterestAdjustmentService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<InterestAdjustmentService>;
15
+ }
@@ -0,0 +1,22 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { CondonationMaintenance, DataTableParameters, MaintenanceForm } from 'ng-pli-util';
4
+ import * as i0 from "@angular/core";
5
+ export declare class MaintenanceService {
6
+ private environment;
7
+ private httpClient;
8
+ private headerJson;
9
+ constructor(environment: any, httpClient: HttpClient);
10
+ getByDataTablesParameters(dataTableParameters: DataTableParameters): Observable<any>;
11
+ getByDataTablesParametersForCondonation(dataTableParameters: DataTableParameters): Observable<any>;
12
+ update(maintenanceForm: MaintenanceForm): Observable<Object>;
13
+ downloadFlatFile(maintenanceIds: string[]): Observable<Object>;
14
+ delete(maintenanceId: string): Observable<Object>;
15
+ deleteCondonationMaintenance(maintenanceId: string): Observable<Object>;
16
+ deleteByIdIn(maintenanceIdList: string[]): Observable<Object>;
17
+ downloadCondonationFile(): Observable<Object>;
18
+ updateCondonationMaintenace(maintenanceForm: CondonationMaintenance): Observable<Object>;
19
+ generateCondonationMaintenance(): Observable<Object>;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaintenanceService, never>;
21
+ static ɵprov: i0.ɵɵInjectableDeclaration<MaintenanceService>;
22
+ }
@@ -5,9 +5,10 @@ import * as i0 from "@angular/core";
5
5
  export declare class ProgressBarService {
6
6
  private environment;
7
7
  private httpClient;
8
+ urlBase: string;
8
9
  constructor(environment: any, httpClient: HttpClient);
9
- saveProgress(data: ProgressBar): Observable<any>;
10
- getProgress(processId: number, processType: number): Observable<any>;
10
+ saveProgress(data: ProgressBar, projectFrom?: number): Observable<any>;
11
+ getProgress(processId: number, processType: number, projectFrom?: number): Observable<any>;
11
12
  static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarService, never>;
12
13
  static ɵprov: i0.ɵɵInjectableDeclaration<ProgressBarService>;
13
14
  }
@@ -0,0 +1,18 @@
1
+ import { HttpClient } from "@angular/common/http";
2
+ import { Observable } from "rxjs";
3
+ import { TransactionForm } from 'ng-pli-util';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ReturnRefundService {
6
+ private environment;
7
+ private httpClient;
8
+ private headerJson;
9
+ constructor(environment: any, httpClient: HttpClient);
10
+ /** It save a return or refund */
11
+ save(returnRefund: TransactionForm): Observable<any>;
12
+ validateIdentification(promCodigo: number, identification: string): Observable<any>;
13
+ getCreditCreilingAvailable(promCodigo: number, fund: number, identification: string): Observable<Object>;
14
+ delete(disbursementDatatableId: string): Observable<Object>;
15
+ getBankvisionCode(disbursementDatatableId: string): Observable<Object>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReturnRefundService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<ReturnRefundService>;
18
+ }
@@ -1,5 +1,6 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
+ import { TasaCambio } from 'ng-pli-util';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class TasaCambioService {
5
6
  private environment;
@@ -7,6 +8,7 @@ export declare class TasaCambioService {
7
8
  constructor(environment: any, httpClient: HttpClient);
8
9
  /** Search list of exchange rates */
9
10
  getAllTasaCambioLightInDate(date: string): Observable<any>;
11
+ getAllTasaCambioLightInDateByMonOrigenDestino(date: string, monOrigen: number, monDestino: number): Observable<TasaCambio>;
10
12
  static ɵfac: i0.ɵɵFactoryDeclaration<TasaCambioService, never>;
11
13
  static ɵprov: i0.ɵɵInjectableDeclaration<TasaCambioService>;
12
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-pli-commons",
3
- "version": "0.0.1663",
3
+ "version": "0.0.1665",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.2.0",
6
6
  "@angular/core": "^13.2.0",
package/public-api.d.ts CHANGED
@@ -56,11 +56,18 @@ export * from './lib/services/evaluation.service';
56
56
  export * from './lib/services/export-excel.service';
57
57
  export * from './lib/services/file.service';
58
58
  export * from './lib/services/form.service';
59
+ export * from './lib/services/gic-client-disbursement-metadata.service';
60
+ export * from './lib/services/gic-cnf-bankvision-transaction.service';
61
+ export * from './lib/services/gic-cnf-closing-date.service';
59
62
  export * from './lib/services/hash.service';
60
63
  export * from './lib/services/gic-client.service';
64
+ export * from './lib/services/gic-disbursement.service';
65
+ export * from './lib/services/gic-collection.service';
66
+ export * from './lib/services/gic-payment-application.service';
61
67
  export * from './lib/services/global.show.task.service';
62
68
  export * from './lib/services/guarantee.service';
63
69
  export * from './lib/services/import-data.service';
70
+ export * from './lib/services/initial-configuration-gic-parameters.service';
64
71
  export * from './lib/services/initial-record.service';
65
72
  export * from './lib/services/interaction-application-user.service';
66
73
  export * from './lib/services/keys-assignation.service';
@@ -173,4 +180,10 @@ export * from './lib/services/partner-system.service';
173
180
  export * from './lib/services/document-history.service';
174
181
  export * from './lib/services/pli-cnf-support-document-category.service';
175
182
  export * from './lib/services/pli-cnf-evaluation-task-mailing.service';
183
+ export * from './lib/services/return-refund.service';
184
+ export * from './lib/services/interest-adjustment.service';
185
+ export * from './lib/services/import-excel-gic.service';
186
+ export * from './lib/services/gic-cnf-maintenance.service';
187
+ export * from './lib/services/maintenance.service';
176
188
  export * from './lib/components/configuration-token/configuration-token-subject.service';
189
+ export * from './lib/services/gic-payment-plan.service';