@riocrypto/common 1.0.2527 → 1.0.2529

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.
@@ -3,6 +3,6 @@ import { Asset } from "./Asset";
3
3
  export declare class FiatAsset extends Asset {
4
4
  symbol: Fiat;
5
5
  constructor(symbol: Fiat);
6
- getName(): "Mexican Peso" | "United States Dollar" | "Peruvian Sol" | "ERR";
6
+ getName(): "Mexican Peso" | "United States Dollar" | "Peruvian Sol" | "Colombian Peso" | "ERR";
7
7
  getImageUri(): string;
8
8
  }
@@ -18,6 +18,9 @@ class FiatAsset extends Asset_1.Asset {
18
18
  else if (this.symbol === fiat_1.Fiat.PEN) {
19
19
  return "Peruvian Sol";
20
20
  }
21
+ else if (this.symbol === fiat_1.Fiat.COP) {
22
+ return "Colombian Peso";
23
+ }
21
24
  else {
22
25
  return "ERR";
23
26
  }
@@ -2,5 +2,5 @@ import { Processor } from "../types/processor";
2
2
  export declare class ProcessorClass {
3
3
  private key;
4
4
  constructor(key: Processor);
5
- getName(): "ERR" | "SPEI" | "SPID" | "Binance RFQ" | "Kapstar" | "Interbank" | "Bridge" | "SWIFT";
5
+ getName(): "ERR" | "SPEI" | "SPID" | "Binance RFQ" | "Kapstar" | "Interbank" | "Coltefinanciera" | "Bridge" | "SWIFT";
6
6
  }
@@ -22,6 +22,9 @@ class ProcessorClass {
22
22
  else if (this.key === processor_1.Processor.Interbank) {
23
23
  return "Interbank";
24
24
  }
25
+ else if (this.key === processor_1.Processor.Coltefinanciera) {
26
+ return "Coltefinanciera";
27
+ }
25
28
  else if (this.key === processor_1.Processor.Bridge) {
26
29
  return "Bridge";
27
30
  }
@@ -7,6 +7,8 @@ export interface AsyncBankPayoutCompletedEvent {
7
7
  amount: number;
8
8
  payouts: {
9
9
  amount: number;
10
+ accountNumber?: string;
11
+ CCI?: string;
10
12
  SPEITrackingNumber?: string;
11
13
  SPIDTrackingNumber?: string;
12
14
  CLABE?: string;
@@ -7,6 +7,8 @@ export interface BankPayoutCompletedEvent {
7
7
  amount: number;
8
8
  payouts: {
9
9
  amount: number;
10
+ accountNumber?: string;
11
+ CCI?: string;
10
12
  SPEITrackingNumber?: string;
11
13
  SPIDTrackingNumber?: string;
12
14
  CLABE?: string;
@@ -8,6 +8,8 @@ const getCountryTimezone = (country) => {
8
8
  return "America/Mexico_City";
9
9
  case country_1.Country.Peru:
10
10
  return "America/Lima";
11
+ case country_1.Country.Colombia:
12
+ return "America/Bogota";
11
13
  case country_1.Country.UnitedStates:
12
14
  return "America/New_York";
13
15
  default:
@@ -1,5 +1,6 @@
1
1
  export declare enum Country {
2
2
  Mexico = "MX",
3
3
  Peru = "PE",
4
+ Colombia = "CO",
4
5
  UnitedStates = "US"
5
6
  }
@@ -5,5 +5,6 @@ var Country;
5
5
  (function (Country) {
6
6
  Country["Mexico"] = "MX";
7
7
  Country["Peru"] = "PE";
8
+ Country["Colombia"] = "CO";
8
9
  Country["UnitedStates"] = "US";
9
10
  })(Country = exports.Country || (exports.Country = {}));
@@ -12,6 +12,7 @@ export declare enum CurrencyWithCountry {
12
12
  MXN = "MXN-MX",
13
13
  USD = "USD-US",
14
14
  PEN = "PEN-PE",
15
+ COP = "COP-CO",
15
16
  MXUSD = "USD-MX",
16
17
  PEUSD = "USD-PE"
17
18
  }
@@ -16,6 +16,7 @@ var CurrencyWithCountry;
16
16
  CurrencyWithCountry["MXN"] = "MXN-MX";
17
17
  CurrencyWithCountry["USD"] = "USD-US";
18
18
  CurrencyWithCountry["PEN"] = "PEN-PE";
19
+ CurrencyWithCountry["COP"] = "COP-CO";
19
20
  CurrencyWithCountry["MXUSD"] = "USD-MX";
20
21
  CurrencyWithCountry["PEUSD"] = "USD-PE";
21
22
  })(CurrencyWithCountry = exports.CurrencyWithCountry || (exports.CurrencyWithCountry = {}));
@@ -1,5 +1,6 @@
1
1
  export declare enum Fiat {
2
2
  USD = "USD",
3
3
  MXN = "MXN",
4
- PEN = "PEN"
4
+ PEN = "PEN",
5
+ COP = "COP"
5
6
  }
@@ -7,4 +7,5 @@ var Fiat;
7
7
  Fiat["USD"] = "USD";
8
8
  Fiat["MXN"] = "MXN";
9
9
  Fiat["PEN"] = "PEN";
10
+ Fiat["COP"] = "COP";
10
11
  })(Fiat = exports.Fiat || (exports.Fiat = {}));
@@ -107,6 +107,7 @@ export interface Order {
107
107
  RUC?: string;
108
108
  RFC?: string;
109
109
  CCI?: string;
110
+ NIT?: string;
110
111
  };
111
112
  paymentsReceived?: {
112
113
  amount: number;
@@ -7,5 +7,6 @@ export declare enum Processor {
7
7
  Bridge = "bridge",
8
8
  SPEI_STP = "spei-stp",
9
9
  SPEI_NVIO = "spei-nvio",
10
- BinanceRFQ = "binance-rfq"
10
+ BinanceRFQ = "binance-rfq",
11
+ Coltefinanciera = "coltefinanciera"
11
12
  }
@@ -12,4 +12,5 @@ var Processor;
12
12
  Processor["SPEI_STP"] = "spei-stp";
13
13
  Processor["SPEI_NVIO"] = "spei-nvio";
14
14
  Processor["BinanceRFQ"] = "binance-rfq";
15
+ Processor["Coltefinanciera"] = "coltefinanciera";
15
16
  })(Processor = exports.Processor || (exports.Processor = {}));
@@ -11,6 +11,9 @@ export declare enum TradingMarket {
11
11
  USDT_PEUSD = "USDT_USD_PE",
12
12
  EURC_PEUSD = "EURC_USD_PE",
13
13
  USDC_PEUSD = "USDC_USD_PE",
14
+ USDT_COP = "USDT_COP_CO",
15
+ USDC_COP = "USDC_COP_CO",
16
+ EURC_COP = "EURC_COP_CO",
14
17
  USDT_USD = "USDT_USD_US",
15
18
  USDC_USD = "USDC_USD_US"
16
19
  }
@@ -15,6 +15,9 @@ var TradingMarket;
15
15
  TradingMarket["USDT_PEUSD"] = "USDT_USD_PE";
16
16
  TradingMarket["EURC_PEUSD"] = "EURC_USD_PE";
17
17
  TradingMarket["USDC_PEUSD"] = "USDC_USD_PE";
18
+ TradingMarket["USDT_COP"] = "USDT_COP_CO";
19
+ TradingMarket["USDC_COP"] = "USDC_COP_CO";
20
+ TradingMarket["EURC_COP"] = "EURC_COP_CO";
18
21
  TradingMarket["USDT_USD"] = "USDT_USD_US";
19
22
  TradingMarket["USDC_USD"] = "USDC_USD_US";
20
23
  })(TradingMarket = exports.TradingMarket || (exports.TradingMarket = {}));
@@ -28,11 +28,14 @@ export declare enum UserAttribute {
28
28
  SendSellOrderMXNAxes = "sendSellOrderMXNAxes",
29
29
  SendBuyOrderPENAxes = "sendBuyOrderPENAxes",
30
30
  SendSellOrderPENAxes = "sendSellOrderPENAxes",
31
+ SendBuyOrderCOPAxes = "sendBuyOrderCOPAxes",
32
+ SendSellOrderCOPAxes = "sendSellOrderCOPAxes",
31
33
  DoNotSendPlaceFXTradeAdminTask = "doNotSendPlaceFXTradeAdminTask",
32
34
  ShowOvernightLiquidity = "showOvernightLiquidity",
33
35
  DoNotSendSlackPaymentNotifications = "doNotSendSlackPaymentNotifications",
34
36
  NoAfterHoursMarkupForMXNQuotes = "noAfterHoursMarkupForMXNQuotes",
35
37
  NoAfterHoursMarkupForPENQuotes = "noAfterHoursMarkupForPENQuotes",
38
+ NoAfterHoursMarkupForCOPQuotes = "noAfterHoursMarkupForCOPQuotes",
36
39
  CanRequestEmergencySupport = "canRequestEmergencySupport",
37
40
  CanSkipAdvancedVerificationsForBankAccounts = "canSkipAdvancedVerificationsForBankAccounts",
38
41
  NoUSDTHarmonizing = "NoUSDTHarmonizing",
@@ -32,11 +32,14 @@ var UserAttribute;
32
32
  UserAttribute["SendSellOrderMXNAxes"] = "sendSellOrderMXNAxes";
33
33
  UserAttribute["SendBuyOrderPENAxes"] = "sendBuyOrderPENAxes";
34
34
  UserAttribute["SendSellOrderPENAxes"] = "sendSellOrderPENAxes";
35
+ UserAttribute["SendBuyOrderCOPAxes"] = "sendBuyOrderCOPAxes";
36
+ UserAttribute["SendSellOrderCOPAxes"] = "sendSellOrderCOPAxes";
35
37
  UserAttribute["DoNotSendPlaceFXTradeAdminTask"] = "doNotSendPlaceFXTradeAdminTask";
36
38
  UserAttribute["ShowOvernightLiquidity"] = "showOvernightLiquidity";
37
39
  UserAttribute["DoNotSendSlackPaymentNotifications"] = "doNotSendSlackPaymentNotifications";
38
40
  UserAttribute["NoAfterHoursMarkupForMXNQuotes"] = "noAfterHoursMarkupForMXNQuotes";
39
41
  UserAttribute["NoAfterHoursMarkupForPENQuotes"] = "noAfterHoursMarkupForPENQuotes";
42
+ UserAttribute["NoAfterHoursMarkupForCOPQuotes"] = "noAfterHoursMarkupForCOPQuotes";
40
43
  UserAttribute["CanRequestEmergencySupport"] = "canRequestEmergencySupport";
41
44
  UserAttribute["CanSkipAdvancedVerificationsForBankAccounts"] = "canSkipAdvancedVerificationsForBankAccounts";
42
45
  UserAttribute["NoUSDTHarmonizing"] = "NoUSDTHarmonizing";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.2527",
3
+ "version": "1.0.2529",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",