@fiado/type-kit 1.8.38 → 1.8.40

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,5 +1,5 @@
1
- import { ExternalAccountType } from "./ExternalAccountType";
2
1
  import { ExternalAccountCurrency } from "./ExternalAccountCurrency";
2
+ import { ExternalAccountTypeEnum } from "../enums/ExternalAccountTypeEnum";
3
3
  export declare class GetExternalBankResponse {
4
4
  id: string;
5
5
  name: string;
@@ -7,7 +7,7 @@ export declare class GetExternalBankResponse {
7
7
  accountNumberRegex: string;
8
8
  sortNumber: number;
9
9
  currency: ExternalAccountCurrency;
10
- accountType: [ExternalAccountType];
10
+ accountType: Array<ExternalAccountTypeEnum>;
11
11
  iconUrl: string | null;
12
12
  bankCode: string | null;
13
13
  }
@@ -0,0 +1,6 @@
1
+ export declare enum ExternalAccountTypeEnum {
2
+ CHECKING = "Checking",
3
+ SAVINGS = "Savings",
4
+ AHORRO = "Ahorro",
5
+ CORRIENTE = "Corriente"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ExternalAccountTypeEnum = void 0;
4
+ var ExternalAccountTypeEnum;
5
+ (function (ExternalAccountTypeEnum) {
6
+ ExternalAccountTypeEnum["CHECKING"] = "Checking";
7
+ ExternalAccountTypeEnum["SAVINGS"] = "Savings";
8
+ ExternalAccountTypeEnum["AHORRO"] = "Ahorro";
9
+ ExternalAccountTypeEnum["CORRIENTE"] = "Corriente";
10
+ })(ExternalAccountTypeEnum || (exports.ExternalAccountTypeEnum = ExternalAccountTypeEnum = {}));
@@ -2,5 +2,6 @@ export declare enum ProviderCode {
2
2
  TERN = "K26Y1",
3
3
  POMELO = "Q8798",
4
4
  STP = "3B07O",
5
- CP = "7842J"
5
+ CP = "7842J",
6
+ PAGOCONFIADO = "P9429"
6
7
  }
@@ -7,4 +7,5 @@ var ProviderCode;
7
7
  ProviderCode["POMELO"] = "Q8798";
8
8
  ProviderCode["STP"] = "3B07O";
9
9
  ProviderCode["CP"] = "7842J";
10
+ ProviderCode["PAGOCONFIADO"] = "P9429";
10
11
  })(ProviderCode || (exports.ProviderCode = ProviderCode = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.8.38",
3
+ "version": "1.8.40",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -1,5 +1,5 @@
1
- import {ExternalAccountType} from "./ExternalAccountType";
2
1
  import {ExternalAccountCurrency} from "./ExternalAccountCurrency";
2
+ import {ExternalAccountTypeEnum} from "../enums/ExternalAccountTypeEnum";
3
3
 
4
4
  export class GetExternalBankResponse {
5
5
  id: string;
@@ -8,7 +8,7 @@ export class GetExternalBankResponse {
8
8
  accountNumberRegex: string;
9
9
  sortNumber: number;
10
10
  currency: ExternalAccountCurrency;
11
- accountType: [ExternalAccountType];
11
+ accountType: Array<ExternalAccountTypeEnum>;
12
12
  iconUrl: string | null;
13
13
  bankCode: string | null;
14
14
  }
@@ -0,0 +1,6 @@
1
+ export enum ExternalAccountTypeEnum {
2
+ CHECKING = "Checking",
3
+ SAVINGS = "Savings",
4
+ AHORRO = "Ahorro",
5
+ CORRIENTE = "Corriente"
6
+ }
@@ -2,5 +2,7 @@ export enum ProviderCode {
2
2
  TERN = 'K26Y1',
3
3
  POMELO = 'Q8798',
4
4
  STP = '3B07O',
5
- CP = '7842J'
5
+ CP = '7842J',
6
+ PAGOCONFIADO = "P9429"
7
+
6
8
  }