quankee-framework-identity-document 1.6.2 → 1.6.3
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quankee-framework-identity-document.mjs","sources":["../../../projects/quankee-framework-identity-document/src/lib/core/service/identity-document.service.ts","../../../projects/quankee-framework-identity-document/src/public-api.ts","../../../projects/quankee-framework-identity-document/src/quankee-framework-identity-document.ts"],"sourcesContent":["import {Injectable} from '@angular/core';\nimport {HttpClient} from '@angular/common/http';\nimport {Observable} from 'rxjs';\nimport {Response} from 'quankee-framework-response';\nimport {IdentityDocumentType} from '../type/identity-document-type';\nimport { IdentityDocumentIssuer } from '../issuer/identity-document-issuer';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class IdentityDocumentService {\n\n constructor(private readonly http: HttpClient) {}\n\n getDocumentTypes(baseUrl: string): Observable<Response<IdentityDocumentType[]>> {\n return this.http.get<Response<IdentityDocumentType[]>>(`${baseUrl}/api/identity/document/types`);\n }\n\n getDocumentIssuers(baseUrl: string): Observable<Response<IdentityDocumentIssuer[]>> {\n return this.http.get<Response<IdentityDocumentIssuer[]>>(`${baseUrl}/api/identity/document/issuers`);\n\n }\n\n}\n","/*\n * Public API Surface of quankee-framework-identity-document\n */\n\nexport * from './lib/core/type/identity-document-type';\nexport * from './lib/core/service/identity-document.service';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAUa,uBAAuB,CAAA;AAEL,IAAA,IAAA;AAA7B,IAAA,WAAA,CAA6B,IAAgB,EAAA;QAAhB,IAAI,CAAA,IAAA,GAAJ,IAAI;;AAEjC,IAAA,gBAAgB,CAAC,OAAe,EAAA;QAC9B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAmC,CAAG,EAAA,OAAO,CAA8B,4BAAA,CAAA,CAAC;;AAGlG,IAAA,kBAAkB,CAAC,OAAe,EAAA;QAChC,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAqC,CAAG,EAAA,OAAO,CAAgC,8BAAA,CAAA,CAAC;;wGAT3F,uBAAuB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAAvB,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,cAFtB,MAAM,EAAA,CAAA;;4FAEP,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAHnC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE;AACb,iBAAA;;;ACTD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"quankee-framework-identity-document.mjs","sources":["../../../projects/quankee-framework-identity-document/src/lib/core/service/identity-document.service.ts","../../../projects/quankee-framework-identity-document/src/public-api.ts","../../../projects/quankee-framework-identity-document/src/quankee-framework-identity-document.ts"],"sourcesContent":["import {Injectable} from '@angular/core';\nimport {HttpClient} from '@angular/common/http';\nimport {Observable} from 'rxjs';\nimport {Response} from 'quankee-framework-response';\nimport {IdentityDocumentType} from '../type/identity-document-type';\nimport { IdentityDocumentIssuer } from '../issuer/identity-document-issuer';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class IdentityDocumentService {\n\n constructor(private readonly http: HttpClient) {}\n\n getDocumentTypes(baseUrl: string): Observable<Response<IdentityDocumentType[]>> {\n return this.http.get<Response<IdentityDocumentType[]>>(`${baseUrl}/api/identity/document/types`);\n }\n\n getDocumentIssuers(baseUrl: string): Observable<Response<IdentityDocumentIssuer[]>> {\n return this.http.get<Response<IdentityDocumentIssuer[]>>(`${baseUrl}/api/identity/document/issuers`);\n\n }\n\n}\n","/*\n * Public API Surface of quankee-framework-identity-document\n */\n\nexport * from './lib/core/type/identity-document-type';\nexport * from './lib/core/issuer/identity-document-issuer';\nexport * from './lib/core/identity/identity-document';\nexport * from './lib/core/service/identity-document.service';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAUa,uBAAuB,CAAA;AAEL,IAAA,IAAA;AAA7B,IAAA,WAAA,CAA6B,IAAgB,EAAA;QAAhB,IAAI,CAAA,IAAA,GAAJ,IAAI;;AAEjC,IAAA,gBAAgB,CAAC,OAAe,EAAA;QAC9B,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAmC,CAAG,EAAA,OAAO,CAA8B,4BAAA,CAAA,CAAC;;AAGlG,IAAA,kBAAkB,CAAC,OAAe,EAAA;QAChC,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAqC,CAAG,EAAA,OAAO,CAAgC,8BAAA,CAAA,CAAC;;wGAT3F,uBAAuB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAAvB,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,cAFtB,MAAM,EAAA,CAAA;;4FAEP,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAHnC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE;AACb,iBAAA;;;ACTD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IdentityDocumentType } from '../type/identity-document-type';
|
|
2
|
+
import { IdentityDocumentIssuer } from '../issuer/identity-document-issuer';
|
|
3
|
+
export interface IdentityDocument {
|
|
4
|
+
id: string;
|
|
5
|
+
partyId: string;
|
|
6
|
+
documentNumber: string;
|
|
7
|
+
fromDate: string;
|
|
8
|
+
thruDate: string;
|
|
9
|
+
status: string;
|
|
10
|
+
identityDocumentType: IdentityDocumentType;
|
|
11
|
+
identityDocumentIssuer: IdentityDocumentIssuer;
|
|
12
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED