ravcredit-lib 0.0.18 → 0.0.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ravcredit-lib",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "types": "./index.d.ts",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.0.0",
package/src/index.d.ts ADDED
@@ -0,0 +1,45 @@
1
+ /*
2
+ * Public API Surface of ravcredit-lib
3
+ */
4
+
5
+ export * from './lib/ravcredit-lib.service';
6
+ export * from './lib/ravcredit-lib.component';
7
+ export * from './lib/v1/objects/oAddress';
8
+ export * from './lib/v1/objects/oBusiness';
9
+ export * from './lib/v1/objects/oClient';
10
+ export * from './lib/v1/objects/oConekta';
11
+ export * from './lib/v1/objects/oContract';
12
+ export * from './lib/v1/objects/oContractAll';
13
+ export * from './lib/v1/objects/oCustomer';
14
+ export * from './lib/v1/objects/oDevice';
15
+ export * from './lib/v1/objects/oFinancial';
16
+ export * from './lib/v1/objects/oGlobal';
17
+ export * from './lib/v1/objects/oLogIn';
18
+ export * from './lib/v1/objects/oNewPayment';
19
+ export * from './lib/v1/objects/oNotification';
20
+ export * from './lib/v1/objects/oPassport';
21
+ export * from './lib/v1/objects/oUser';
22
+ export * from './lib/v1/objects/oVerification';
23
+
24
+ export * from './lib/v1/util/UtilClient';
25
+ export * from './lib/v1/util/UtilsHttp'
26
+ export * from './lib/v1/util/UtilBusiness';
27
+ export * from './lib/v1/util/UtilDynamiCore';
28
+ export * from './lib/v1/util/UtilContract';
29
+ export * from './lib/v1/util/UtilConekta';
30
+ export * from './lib/v1/util/UtilNotification';
31
+ export * from './lib/v1/util/UtilTime';
32
+ export * from './lib/v1/util/UtilDashboard';
33
+ export * from './lib/v1/util/UtilPassport';
34
+ export * from './lib/v1/util/UtilPayment';
35
+
36
+ export * from './lib/v1/idb/indexed-db.service';
37
+ export * from './lib/v1/const/constants';
38
+
39
+ export * from './lib/v2/objects/oAws';
40
+ export * from './lib/v2/objects/oCatalog';
41
+ export * from './lib/v2/objects/oContract';
42
+ export * from './lib/v2/objects/oAsset';
43
+ export * from './lib/v2/objects/oCompany';
44
+ export * from './lib/v2/objects/oScoreDto';
45
+ export * from './lib/v2/objects/oMediaDto';
@@ -11,7 +11,8 @@ import {oClient, oUserReference} from '../objects/oClient';
11
11
  import {tyClientContract} from '../objects/oGlobal';
12
12
  import {oAsset, oAssetBrand, oAssetCategory} from '../../v2/objects/oAsset';
13
13
  import {oCatalog} from '../../v2/objects/oCatalog';
14
- import {oScore, oScoreReference} from '../../v2/objects/oClient';
14
+ import {oScoreReference} from '../../v2/objects/oScoreDto';
15
+ // import {oScore, oScoreReference} from '../../v2/objects/oClient';
15
16
 
16
17
  export enum eProvider {
17
18
  none = "",
@@ -1,6 +1,5 @@
1
- import {oScoreNoHit, oScoreReference} from './oClient';
2
1
  import {oCatalog} from './oCatalog';
3
- import {oDevice} from '../../v1/objects/oDevice';
2
+ import {oScoreNoHit, oScoreReference} from './oScoreDto';
4
3
 
5
4
  export interface oAssetCategory {
6
5
  name: string
@@ -1,6 +1,8 @@
1
1
  import {oClient} from '../../v1/objects/oClient';
2
2
  import {eVerificationStep} from '../../v1/objects/oVerification';
3
3
  import { eIdentityTypes } from "../../v1/util/UtilClient";
4
+ import { oMediaIdentity } from "./oMediaDto";
5
+ import {oScore, oScoreNoHit} from './oScoreDto';
4
6
 
5
7
  export interface oClientPayments {
6
8
  date: number;
@@ -22,55 +24,6 @@ export interface oClientReferences {
22
24
  url?: string;
23
25
  }
24
26
 
25
- export interface oScoreAddress {
26
- CP: string,
27
- ciudad: string,
28
- estado: string,
29
- domicilio: string,
30
- coloniaPoblacion: string,
31
- delegacionMunicipio: string
32
- }
33
-
34
- export interface oScoreHit {
35
- valor: string
36
- }
37
-
38
- export interface oScoreNoHit {
39
- date: string,
40
- score: string,
41
- message: string,
42
- evaluation: string
43
- }
44
-
45
- export interface oScoreGeneral {
46
- nombres: string,
47
- apellidoMaterno: string,
48
- apellidoPaterno: string,
49
- fechaNacimiento: string
50
- }
51
-
52
- export interface oScore {
53
- domicilio: oScoreAddress,
54
- scoreNoHit: oScoreHit,
55
- folioConsulta: string,
56
- datosGenerales: oScoreGeneral
57
- }
58
-
59
- export interface oMediaIdentity
60
- {
61
- url: string,
62
- name: eIdentityTypes,
63
- active: boolean,
64
- metadata: any,
65
- uploaded: number
66
- }
67
-
68
- //TODO: Add pending data, those params will comes from "Circulo de credito" API
69
- export interface oScoreReference {
70
- name: string,
71
- score: number
72
- }
73
-
74
27
  export interface oClientV2 extends oClient {
75
28
  score: oScore,
76
29
  seller_id?: string
@@ -0,0 +1,10 @@
1
+ import {eIdentityTypes} from '../../v1/util/UtilClient';
2
+
3
+ export interface oMediaIdentity
4
+ {
5
+ url: string,
6
+ name: eIdentityTypes,
7
+ active: boolean,
8
+ metadata: any,
9
+ uploaded: number
10
+ }
@@ -0,0 +1,40 @@
1
+
2
+
3
+ export interface oScoreAddress {
4
+ CP: string,
5
+ ciudad: string,
6
+ estado: string,
7
+ domicilio: string,
8
+ coloniaPoblacion: string,
9
+ delegacionMunicipio: string
10
+ }
11
+
12
+ export interface oScoreHit {
13
+ valor: string
14
+ }
15
+
16
+ export interface oScoreNoHit {
17
+ date: string,
18
+ score: string,
19
+ message: string,
20
+ evaluation: string
21
+ }
22
+
23
+ export interface oScoreGeneral {
24
+ nombres: string,
25
+ apellidoMaterno: string,
26
+ apellidoPaterno: string,
27
+ fechaNacimiento: string
28
+ }
29
+
30
+ export interface oScore {
31
+ domicilio: oScoreAddress,
32
+ scoreNoHit: oScoreHit,
33
+ folioConsulta: string,
34
+ datosGenerales: oScoreGeneral
35
+ }
36
+ //TODO: Add pending data, those params will comes from "Circulo de credito" API
37
+ export interface oScoreReference {
38
+ name: string,
39
+ score: number
40
+ }
package/src/public-api.ts CHANGED
@@ -41,3 +41,5 @@ export * from './lib/v2/objects/oCatalog';
41
41
  export * from './lib/v2/objects/oContract';
42
42
  export * from './lib/v2/objects/oAsset';
43
43
  export * from './lib/v2/objects/oCompany';
44
+ export * from './lib/v2/objects/oScoreDto';
45
+ export * from './lib/v2/objects/oMediaDto';