@riocrypto/common 1.0.1052 → 1.0.1054

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.
@@ -66,6 +66,14 @@ const humanizeOrderStatus = (status) => {
66
66
  return "Deposit confirmed";
67
67
  case order_status_1.OrderStatus.BankPayoutDetailsAdded:
68
68
  return "Processing";
69
+ case order_status_1.OrderStatus.BridgeOrderCreationFailed:
70
+ return "US order failed";
71
+ case order_status_1.OrderStatus.AwaitingBridgeRouting:
72
+ return "Processing";
73
+ case order_status_1.OrderStatus.BridgeOrderRoutingFailed:
74
+ return "US order failed";
75
+ case order_status_1.OrderStatus.BridgeTransferFailed:
76
+ return "US order failed";
69
77
  default:
70
78
  return "Unknown";
71
79
  }
@@ -27,7 +27,13 @@ export declare type UserInput = {
27
27
  curp?: string;
28
28
  ruc?: string;
29
29
  economicActivity?: string;
30
- platformFeeRanges?: PlatformFeeRange[];
30
+ platformFeeRanges?: {
31
+ MX?: PlatformFeeRange[];
32
+ PE?: PlatformFeeRange[];
33
+ CO?: PlatformFeeRange[];
34
+ BR?: PlatformFeeRange[];
35
+ US?: PlatformFeeRange[];
36
+ };
31
37
  attributes?: UserAttribute[];
32
38
  brokerId?: string;
33
39
  authorizedPhoneNumbers?: string[];
@@ -29,7 +29,13 @@ export declare type UserUpdate = {
29
29
  curp?: string;
30
30
  ruc?: string;
31
31
  economicActivity?: string;
32
- platformFeeRanges?: PlatformFeeRange[];
32
+ platformFeeRanges?: {
33
+ MX?: PlatformFeeRange[];
34
+ PE?: PlatformFeeRange[];
35
+ CO?: PlatformFeeRange[];
36
+ BR?: PlatformFeeRange[];
37
+ US?: PlatformFeeRange[];
38
+ };
33
39
  attributes?: UserAttribute[];
34
40
  brokerId?: string;
35
41
  authorizedPhoneNumbers?: string[];
@@ -31,7 +31,13 @@ export declare type User = {
31
31
  cpf?: string;
32
32
  curp?: string;
33
33
  economicActivity?: string;
34
- platformFeeRanges?: PlatformFeeRange[];
34
+ platformFeeRanges?: {
35
+ MX?: PlatformFeeRange[];
36
+ PE?: PlatformFeeRange[];
37
+ CO?: PlatformFeeRange[];
38
+ BR?: PlatformFeeRange[];
39
+ US?: PlatformFeeRange[];
40
+ };
35
41
  attributes?: UserAttribute[];
36
42
  brokerId?: string;
37
43
  authorizedPhoneNumbers?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1052",
3
+ "version": "1.0.1054",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",