ng-pli-commons 0.0.1821 → 0.0.1825
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.
- package/esm2020/lib/components/configuration-token/configuration-token.component.mjs +2 -3
- package/esm2020/lib/components/pdf-generator/pdf-generator.component.mjs +4 -4
- package/esm2020/lib/services/credit-study.service.mjs +1 -7
- package/esm2020/lib/services/gic-collection.service.mjs +1 -4
- package/esm2020/lib/services/master-category.service.mjs +66 -0
- package/esm2020/lib/services/master-program.service.mjs +78 -0
- package/esm2020/lib/services/master-university.service.mjs +68 -0
- package/esm2020/lib/services/pli-cnf-mail.service.mjs +1 -7
- package/esm2020/lib/services/tasa.cambio.service.mjs +2 -3
- package/esm2020/lib/services/token.service.mjs +3 -21
- package/esm2020/public-api.mjs +4 -2
- package/esm2020/version.mjs +8 -8
- package/fesm2015/ng-pli-commons.mjs +219 -74
- package/fesm2015/ng-pli-commons.mjs.map +1 -1
- package/fesm2020/ng-pli-commons.mjs +213 -72
- package/fesm2020/ng-pli-commons.mjs.map +1 -1
- package/lib/services/credit-study.service.d.ts +0 -1
- package/lib/services/gic-collection.service.d.ts +0 -1
- package/lib/services/master-category.service.d.ts +40 -0
- package/lib/services/master-program.service.d.ts +45 -0
- package/lib/services/master-university.service.d.ts +40 -0
- package/lib/services/pli-cnf-mail.service.d.ts +0 -1
- package/lib/services/token.service.d.ts +2 -2
- package/package.json +1 -1
- package/public-api.d.ts +3 -1
- package/esm2020/lib/services/plis-beneficiario.service.mjs +0 -29
- package/lib/services/plis-beneficiario.service.d.ts +0 -11
|
@@ -34,7 +34,6 @@ export declare class CreditStudyService {
|
|
|
34
34
|
saveCodebtor(applicationId: string, codebtor: Codebtor): Observable<Object>;
|
|
35
35
|
removeCodebtor(applicationId: string, identification: string): Observable<Object>;
|
|
36
36
|
saveCodebtorCheckSum(applicationId: string, codebtor: Codebtor): Observable<Object>;
|
|
37
|
-
updateCodebtorDateForm(applicationId: string, codebtor: Codebtor): Observable<Object>;
|
|
38
37
|
saveAllCodebtors(applicationId: string, lCodebtor: Codebtor[]): Observable<Object>;
|
|
39
38
|
codebtorsSendInitialEmail(applicationId: string): Observable<Object>;
|
|
40
39
|
saveBeneficiaryCreditReviewerObservation(applicationId: string, lObservations: CreditReviewerObservation[]): Observable<Object>;
|
|
@@ -13,7 +13,6 @@ export declare class GicCollectionService {
|
|
|
13
13
|
delete(gicPaymentApplicationId: string, isFromCollection?: boolean): Observable<Object>;
|
|
14
14
|
deletedeletePaymentApplications(gicPaymentApplicationIds: string[], isFromCollection?: boolean): Observable<Object>;
|
|
15
15
|
sendToBankVision(listIds: any): Observable<any>;
|
|
16
|
-
queueSendToBankVision(listIds: any): Observable<any>;
|
|
17
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<GicCollectionService, never>;
|
|
18
17
|
static ɵprov: i0.ɵɵInjectableDeclaration<GicCollectionService>;
|
|
19
18
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { MasterCategory, MasterCategoryResponseApi } from 'ng-pli-util';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MasterCategoryService {
|
|
6
|
+
private environment;
|
|
7
|
+
private httpClient;
|
|
8
|
+
private headerJson;
|
|
9
|
+
constructor(environment: any, httpClient: HttpClient);
|
|
10
|
+
/**
|
|
11
|
+
* MasterCategory[] returns a list of MasterCategory
|
|
12
|
+
* @returns MasterCategory[]
|
|
13
|
+
*/
|
|
14
|
+
getAll(): Observable<MasterCategory[]>;
|
|
15
|
+
/**
|
|
16
|
+
* return MasterCategoryResponseApi with list MasterCategory
|
|
17
|
+
* @returns MasterCategoryResponseApi
|
|
18
|
+
*/
|
|
19
|
+
getAllResponseApi(page_size: number, page?: number, name?: string): Observable<MasterCategoryResponseApi>;
|
|
20
|
+
/**
|
|
21
|
+
* Return category by id
|
|
22
|
+
* @param id id category
|
|
23
|
+
* @returns MasterCategory category
|
|
24
|
+
*/
|
|
25
|
+
getById(id: number): Observable<MasterCategory>;
|
|
26
|
+
/**
|
|
27
|
+
* Create category
|
|
28
|
+
* @param category
|
|
29
|
+
* @returns MasterCategory category create
|
|
30
|
+
*/
|
|
31
|
+
save(category: MasterCategory): Observable<MasterCategory>;
|
|
32
|
+
/**
|
|
33
|
+
* Delete category by id
|
|
34
|
+
* @param id
|
|
35
|
+
* @returns empty
|
|
36
|
+
*/
|
|
37
|
+
delete(id: number): Observable<any>;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MasterCategoryService, never>;
|
|
39
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MasterCategoryService>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { MasterProgram, MasterProgramResponseApi, MasterProgramType } from 'ng-pli-util';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MasterProgramService {
|
|
6
|
+
private environment;
|
|
7
|
+
private httpClient;
|
|
8
|
+
private headerJson;
|
|
9
|
+
constructor(environment: any, httpClient: HttpClient);
|
|
10
|
+
/**
|
|
11
|
+
* MasterProgram[] returns a list of MasterProgram
|
|
12
|
+
* @returns MasterProgram[]
|
|
13
|
+
*/
|
|
14
|
+
getAll(): Observable<MasterProgram[]>;
|
|
15
|
+
/**
|
|
16
|
+
* MasterProgramResponseApi returns a MasterProgramResponseApi
|
|
17
|
+
* @returns MasterProgramResponseApi
|
|
18
|
+
*/
|
|
19
|
+
getAllResponseApi(page_size: number, page?: number, name?: string, english_name?: string, type?: string, study_area?: string, faculty?: string, university_name?: string): Observable<MasterProgramResponseApi>;
|
|
20
|
+
/**
|
|
21
|
+
* Return program by id
|
|
22
|
+
* @param id id program
|
|
23
|
+
* @returns MasterProgram program
|
|
24
|
+
*/
|
|
25
|
+
getById(id: number): Observable<MasterProgram>;
|
|
26
|
+
/**
|
|
27
|
+
* Create program
|
|
28
|
+
* @param program
|
|
29
|
+
* @returns MasterProgram program create
|
|
30
|
+
*/
|
|
31
|
+
save(program: MasterProgram): Observable<MasterProgram>;
|
|
32
|
+
/**
|
|
33
|
+
* Delete program by id
|
|
34
|
+
* @param id
|
|
35
|
+
* @returns empty
|
|
36
|
+
*/
|
|
37
|
+
delete(id: number): Observable<any>;
|
|
38
|
+
/**
|
|
39
|
+
* MasterProgramType[] returns a list of MasterProgramType
|
|
40
|
+
* @returns MasterProgramType[]
|
|
41
|
+
*/
|
|
42
|
+
getAllProgramType(): Observable<MasterProgramType[]>;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MasterProgramService, never>;
|
|
44
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MasterProgramService>;
|
|
45
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { MasterUniversity, MasterUniversityResponseApi } from 'ng-pli-util';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MasterUniversityService {
|
|
6
|
+
private environment;
|
|
7
|
+
private httpClient;
|
|
8
|
+
private headerJson;
|
|
9
|
+
constructor(environment: any, httpClient: HttpClient);
|
|
10
|
+
/**
|
|
11
|
+
* MasterUniversity[] returns a list of MasterUniversity
|
|
12
|
+
* @returns MasterUniversity[]
|
|
13
|
+
*/
|
|
14
|
+
getAll(): Observable<MasterUniversity[]>;
|
|
15
|
+
/**
|
|
16
|
+
* MasterUniversityResponseApi returns a MasterUniversityResponseApi
|
|
17
|
+
* @returns MasterUniversityResponseApi
|
|
18
|
+
*/
|
|
19
|
+
getAllResponseApi(page_size: number, page?: number, name?: string, english_name?: string, country?: string): Observable<MasterUniversityResponseApi>;
|
|
20
|
+
/**
|
|
21
|
+
* Return university by id
|
|
22
|
+
* @param id id university
|
|
23
|
+
* @returns MasterUniversity university
|
|
24
|
+
*/
|
|
25
|
+
getById(id: number): Observable<MasterUniversity>;
|
|
26
|
+
/**
|
|
27
|
+
* Create University
|
|
28
|
+
* @param university
|
|
29
|
+
* @returns MasterUniversity university create
|
|
30
|
+
*/
|
|
31
|
+
save(university: MasterUniversity): Observable<MasterUniversity>;
|
|
32
|
+
/**
|
|
33
|
+
* Delete university by id
|
|
34
|
+
* @param id
|
|
35
|
+
* @returns empty
|
|
36
|
+
*/
|
|
37
|
+
delete(id: number): Observable<any>;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MasterUniversityService, never>;
|
|
39
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MasterUniversityService>;
|
|
40
|
+
}
|
|
@@ -7,7 +7,6 @@ export declare class PliCnfMailService {
|
|
|
7
7
|
private httpClient;
|
|
8
8
|
constructor(environment: any, httpClient: HttpClient);
|
|
9
9
|
save(pliCnfMail: PliCnfMail): Observable<any>;
|
|
10
|
-
getByPromCodigo(promCodigo: number): Observable<any>;
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<PliCnfMailService, never>;
|
|
12
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<PliCnfMailService>;
|
|
13
12
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { CurrencyPipe } from '@angular/common';
|
|
2
1
|
import { HttpClient } from '@angular/common/http';
|
|
3
|
-
import { PliCnfGuaranteeToken, Token } from 'ng-pli-util';
|
|
4
2
|
import { Observable } from 'rxjs';
|
|
5
3
|
import { FormService } from './form.service';
|
|
4
|
+
import { CurrencyPipe } from '@angular/common';
|
|
5
|
+
import { Token, PliCnfGuaranteeToken } from 'ng-pli-util';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class TokenService {
|
|
8
8
|
private environment;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -141,7 +141,6 @@ export * from './lib/services/pli-seg-action-user.service';
|
|
|
141
141
|
export * from './lib/services/pli-segmentation.service';
|
|
142
142
|
export * from './lib/services/pli-tag.service';
|
|
143
143
|
export * from './lib/services/pli-user.service';
|
|
144
|
-
export * from './lib/services/plis-beneficiario.service';
|
|
145
144
|
export * from './lib/services/ppp.service';
|
|
146
145
|
export * from './lib/services/profile.service';
|
|
147
146
|
export * from './lib/services/promotion-score.service';
|
|
@@ -198,3 +197,6 @@ export * from './lib/services/gic-payment-plan.service';
|
|
|
198
197
|
export * from './lib/services/plis-estatus-change.service';
|
|
199
198
|
export * from './lib/services/pli-message-type.service';
|
|
200
199
|
export * from './lib/services/pli-cnf-mail.service';
|
|
200
|
+
export * from './lib/services/master-university.service';
|
|
201
|
+
export * from './lib/services/master-program.service';
|
|
202
|
+
export * from './lib/services/master-category.service';
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Injectable, Inject } from '@angular/core';
|
|
2
|
-
import { HttpParams } from '@angular/common/http';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common/http";
|
|
5
|
-
export class PlisBeneficiarioService {
|
|
6
|
-
constructor(environment, httpClient) {
|
|
7
|
-
this.environment = environment;
|
|
8
|
-
this.httpClient = httpClient;
|
|
9
|
-
}
|
|
10
|
-
getByNumeroDocumentoAndPatCodigo(identification, patCodigo) {
|
|
11
|
-
return this.httpClient.get(this.environment.host.backend.plis + 'beneficiario/getByNumeroDocumentoAndPatCodigo', {
|
|
12
|
-
params: new HttpParams()
|
|
13
|
-
.set('identification', identification)
|
|
14
|
-
.set('patCodigo', patCodigo)
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
PlisBeneficiarioService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: PlisBeneficiarioService, deps: [{ token: 'environment' }, { token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
19
|
-
PlisBeneficiarioService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: PlisBeneficiarioService, providedIn: 'root' });
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: PlisBeneficiarioService, decorators: [{
|
|
21
|
-
type: Injectable,
|
|
22
|
-
args: [{
|
|
23
|
-
providedIn: 'root'
|
|
24
|
-
}]
|
|
25
|
-
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
26
|
-
type: Inject,
|
|
27
|
-
args: ['environment']
|
|
28
|
-
}] }, { type: i1.HttpClient }]; } });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGxpcy1iZW5lZmljaWFyaW8uc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXBsaS1jb21tb25zL3NyYy9saWIvc2VydmljZXMvcGxpcy1iZW5lZmljaWFyaW8uc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRCxPQUFPLEVBQWMsVUFBVSxFQUFFLE1BQU0sc0JBQXNCLENBQUM7OztBQU85RCxNQUFNLE9BQU8sdUJBQXVCO0lBQ25DLFlBQTJDLFdBQVcsRUFBVSxVQUFzQjtRQUEzQyxnQkFBVyxHQUFYLFdBQVcsQ0FBQTtRQUFVLGVBQVUsR0FBVixVQUFVLENBQVk7SUFBRyxDQUFDO0lBRTFGLGdDQUFnQyxDQUFDLGNBQXNCLEVBQUUsU0FBaUI7UUFDekUsT0FBTyxJQUFJLENBQUMsVUFBVSxDQUFDLEdBQUcsQ0FDekIsSUFBSSxDQUFDLFdBQVcsQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFDLElBQUksR0FBRywrQ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saWVudC5nZXQoXHJcblx0XHRcdHRoaXMuZW52aXJvbm1lbnQuaG9zdC5iYWNrZW5kLnBsaXMgKyAnYmVuZWZpY2lhcmlvL2dldEJ5TnVtZXJvRG9jdW1lbnRvQW5kUGF0Q29kaWdvJyxcclxuXHRcdFx0e1xyXG5cdFx0XHRcdHBhcmFtczogbmV3IEh0dHBQYXJhbXMoKVxyXG5cdFx0XHRcdFx0LnNldCgnaWRlbnRpZmljYXRpb24nLCBpZGVudGlmaWNhdGlvbilcclxuXHRcdFx0XHRcdC5zZXQoJ3BhdENvZGlnbycsIHBhdENvZGlnbylcclxuXHRcdFx0fVxyXG5cdFx0KTtcclxuXHR9XHJcbn1cclxuIl19
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class PlisBeneficiarioService {
|
|
5
|
-
private environment;
|
|
6
|
-
private httpClient;
|
|
7
|
-
constructor(environment: any, httpClient: HttpClient);
|
|
8
|
-
getByNumeroDocumentoAndPatCodigo(identification: string, patCodigo: number): Observable<Object>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PlisBeneficiarioService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PlisBeneficiarioService>;
|
|
11
|
-
}
|