ravcredit-core 0.0.3 → 0.0.5

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/dist/index.d.ts CHANGED
@@ -20,6 +20,7 @@ export * from "./lib/v2/constant/cDashboard.js";
20
20
  export * from "./lib/v2/constant/cDynamic.js";
21
21
  export * from "./lib/v2/constant/constants.js";
22
22
  export * from "./lib/v2/constant/messages.js";
23
+ export * from "./lib/v2/enum/EnumAmortization.js";
23
24
  export * from "./lib/v2/enum/EnumAsset.js";
24
25
  export * from "./lib/v2/enum/EnumAuth.js";
25
26
  export * from "./lib/v2/enum/EnumClient.js";
package/dist/index.js CHANGED
@@ -24,6 +24,7 @@ export * from "./lib/v2/constant/cDynamic.js";
24
24
  export * from "./lib/v2/constant/constants.js";
25
25
  export * from "./lib/v2/constant/messages.js";
26
26
  // V2: ENUM
27
+ export * from "./lib/v2/enum/EnumAmortization.js";
27
28
  export * from "./lib/v2/enum/EnumAsset.js";
28
29
  export * from "./lib/v2/enum/EnumAuth.js";
29
30
  export * from "./lib/v2/enum/EnumClient.js";
@@ -0,0 +1,2 @@
1
+ import type { oAddress } from "../../v1/objects/oAddress.js";
2
+ export declare const cAddress: oAddress;
@@ -0,0 +1,9 @@
1
+ export const cAddress = {
2
+ street: "",
3
+ city: "",
4
+ neighbor: "",
5
+ zip: "",
6
+ ext: "",
7
+ int: "",
8
+ state: ""
9
+ };
@@ -1,4 +1,4 @@
1
- import { cAddress } from "./constants.js";
1
+ import { cAddress } from "./cAddress.js";
2
2
  export const cSchedule = {
3
3
  day: "",
4
4
  open: 0,
@@ -1,4 +1,4 @@
1
- import { cAddress } from "./constants.js";
1
+ import { cAddress } from "./cAddress.js";
2
2
  import { cBusinessDeadlines } from "./cBusiness.js";
3
3
  export var eProvider;
4
4
  (function (eProvider) {
@@ -1,5 +1,4 @@
1
1
  import { iOptionsSelect, iPaymentDelay, iSelect } from "../objects/oUtil.js";
2
- import { oAddress } from "../../v1/objects/oAddress.js";
3
2
  import { iConektaRecurrent, iOxxoRecurrentSources, iOxxorecurrentSourcesData } from "../../v1/objects/oConekta.js";
4
3
  import { iAuthConfig } from "../../v1/objects/oLogIn.js";
5
4
  import { oDaySchedule } from "../../v1/objects/oBusiness.js";
@@ -9,11 +8,12 @@ import { oScore, oScoreAddress, oScoreGeneral, oScoreHit } from "../objects/oSco
9
8
  import { oClient, oUserReference } from "../objects/oClient.js";
10
9
  import { oMediaIdentity } from "../objects/oMedia.js";
11
10
  import { oClientConekta } from "./cClient.js";
11
+ import { cAddress } from "./cAddress.js";
12
+ export { cAddress };
12
13
  export declare const cSingleOptionClientStatus: iOptionsSelect;
13
14
  export declare const cOptionsClientStatus: iOptionsSelect[];
14
15
  export declare const eRolesSelect: iSelect[];
15
16
  export declare const cPaymentDelay: iPaymentDelay;
16
- export declare const cAddress: oAddress;
17
17
  export declare const cOxxoRecurrentSourcesData: iOxxorecurrentSourcesData;
18
18
  export declare const cOxxoRecurrentSources: iOxxoRecurrentSources;
19
19
  export declare const cConektaRecurrent: iConektaRecurrent;
@@ -36,7 +36,7 @@ export declare const cTyClientContract: {
36
36
  id: string;
37
37
  dynamicAccount?: number;
38
38
  client: string;
39
- address: oAddress;
39
+ address: import("../../../index.js").oAddress;
40
40
  device: import("../../../index.js").oDevice;
41
41
  financial: import("../../../index.js").oFinancial;
42
42
  createdAt?: number;
@@ -2,6 +2,8 @@ import { eClientStatus, eIdentityTypes } from "../enum/EnumClient.js";
2
2
  import { eRoles } from "../enum/EnumRoles.js";
3
3
  import { HttpStatus } from "../enum/EnumHttpStatus.js";
4
4
  import { cContract } from "./cContract.js";
5
+ import { cAddress } from "./cAddress.js";
6
+ export { cAddress };
5
7
  export const cSingleOptionClientStatus = {
6
8
  viewValue: "",
7
9
  value: ""
@@ -44,15 +46,6 @@ export const cPaymentDelay = {
44
46
  daysDelay: 0,
45
47
  late: false,
46
48
  };
47
- export const cAddress = {
48
- street: "",
49
- city: "",
50
- neighbor: "",
51
- zip: "",
52
- ext: "",
53
- int: "",
54
- state: ""
55
- };
56
49
  export const cOxxoRecurrentSourcesData = {
57
50
  id: "",
58
51
  object: "",
@@ -0,0 +1,6 @@
1
+ export declare enum AmortizationStatus {
2
+ PENDING = "PENDING",
3
+ PAID = "PAID",
4
+ PARTIALLY_PAID = "PARTIALLY_PAID",
5
+ OVERDUE = "OVERDUE"
6
+ }
@@ -0,0 +1,7 @@
1
+ export var AmortizationStatus;
2
+ (function (AmortizationStatus) {
3
+ AmortizationStatus["PENDING"] = "PENDING";
4
+ AmortizationStatus["PAID"] = "PAID";
5
+ AmortizationStatus["PARTIALLY_PAID"] = "PARTIALLY_PAID";
6
+ AmortizationStatus["OVERDUE"] = "OVERDUE";
7
+ })(AmortizationStatus || (AmortizationStatus = {}));
@@ -11,3 +11,8 @@ export declare enum eConektaOrderStatus {
11
11
  paid = "paid",
12
12
  pending_payment = "pending_payment"
13
13
  }
14
+ export declare enum ePaymentType {
15
+ OXXO = "OXXO",
16
+ ALTERNA = "ALTERNA",
17
+ OXXO_RECURRENT = "oxxo_recurrent"
18
+ }
@@ -13,6 +13,12 @@ export var eConektaOrderStatus;
13
13
  eConektaOrderStatus["paid"] = "paid";
14
14
  eConektaOrderStatus["pending_payment"] = "pending_payment";
15
15
  })(eConektaOrderStatus || (eConektaOrderStatus = {}));
16
+ export var ePaymentType;
17
+ (function (ePaymentType) {
18
+ ePaymentType["OXXO"] = "OXXO";
19
+ ePaymentType["ALTERNA"] = "ALTERNA";
20
+ ePaymentType["OXXO_RECURRENT"] = "oxxo_recurrent";
21
+ })(ePaymentType || (ePaymentType = {}));
16
22
  // export enum eConektaOrderType {
17
23
  // REFERENCE = "REFERENCE",
18
24
  // SPEI = "SPEI",
@@ -1,9 +1,4 @@
1
- export declare enum AmortizationStatus {
2
- PENDING = "PENDING",
3
- PAID = "PAID",
4
- PARTIALLY_PAID = "PARTIALLY_PAID",
5
- OVERDUE = "OVERDUE"
6
- }
1
+ import { AmortizationStatus } from "../enum/EnumAmortization.js";
7
2
  export interface AmortizationItem {
8
3
  installmentNumber: number;
9
4
  id: string;
@@ -1,7 +1 @@
1
- export var AmortizationStatus;
2
- (function (AmortizationStatus) {
3
- AmortizationStatus["PENDING"] = "PENDING";
4
- AmortizationStatus["PAID"] = "PAID";
5
- AmortizationStatus["PARTIALLY_PAID"] = "PARTIALLY_PAID";
6
- AmortizationStatus["OVERDUE"] = "OVERDUE";
7
- })(AmortizationStatus || (AmortizationStatus = {}));
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ravcredit-core",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {