@riocrypto/common 1.0.1070 → 1.0.1072

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.
@@ -34,6 +34,7 @@ import { ChainedQuoteInput } from "../types/chained-quote-input";
34
34
  import { ChainedQuote } from "../types/chained-quote";
35
35
  import { ChainedOrderInput } from "../types/chained-order-input";
36
36
  import { InternalSwap } from "../types/internal-swap";
37
+ import { CountryOfOrigin } from "../types/country-of-origin";
37
38
  export declare class RioAdminClient {
38
39
  private axios;
39
40
  constructor(axios: AxiosStatic | AxiosInstance);
@@ -103,7 +104,7 @@ export declare class RioAdminClient {
103
104
  }>;
104
105
  refreshAdminToken(): Promise<void>;
105
106
  createOrder(order: OrderInput): Promise<Order>;
106
- createBridgeExternalAccount(userId: string, bankName: string, accountNumber: string, routingNumber: string, accountOwnerName: string, streetLine1: string, streetLine2: string, city: string, state: string, postalCode: string, country: Country): Promise<string>;
107
+ createBridgeExternalAccount(userId: string, bankName: string, accountNumber: string, routingNumber: string, accountOwnerName: string, streetLine1: string, streetLine2: string, city: string, state: string, postalCode: string, country: CountryOfOrigin): Promise<string>;
107
108
  getChainedOrders(page: number, limit?: number, query?: ChainedOrderQuery): Promise<ChainedOrder[]>;
108
109
  getChainedQuote(id: string): Promise<ChainedQuote>;
109
110
  getChainedOrder(id: string): Promise<ChainedOrder>;
@@ -29,6 +29,7 @@ import { ChainedQuote } from "../types/chained-quote";
29
29
  import { ChainedOrderInput } from "../types/chained-order-input";
30
30
  import { ChainedOrder } from "../types/chained-order";
31
31
  import { ChainedOrderQuery } from "../types/chained-order-query";
32
+ import { CountryOfOrigin } from "../types/country-of-origin";
32
33
  export declare class RioClient {
33
34
  private axios;
34
35
  constructor(axios: AxiosStatic | AxiosInstance);
@@ -88,7 +89,7 @@ export declare class RioClient {
88
89
  getCryptoAddresses(page: number, limit?: number, query?: CryptoAddressQuery): Promise<CryptoAddress[]>;
89
90
  createCryptoAddress(address: string, crypto: Crypto, userId?: string, label?: string): Promise<CryptoAddress>;
90
91
  createBridgePlaidLink(userId: string): Promise<string>;
91
- createBridgeExternalAccount(userId: string, bankName: string, accountNumber: string, routingNumber: string, accountOwnerName: string, streetLine1: string, streetLine2: string, city: string, state: string, postalCode: string, country: Country): Promise<string>;
92
+ createBridgeExternalAccount(userId: string, bankName: string, accountNumber: string, routingNumber: string, accountOwnerName: string, streetLine1: string, streetLine2: string, city: string, state: string, postalCode: string, country: CountryOfOrigin): Promise<string>;
92
93
  createBankAccount(userId: string, country: Country, fiat: Fiat, bankName: string, accountHolderName: string, accountNumber: string, swiftCode?: string, CCI?: string, notes?: string): Promise<BankAccount>;
93
94
  updateBankAccount(id: string, userId?: string, country?: Country, fiat?: Fiat, accountNumber?: string, swiftCode?: string, notes?: string, approved?: boolean): Promise<BankAccount>;
94
95
  getFeesByVolume(): Promise<{
@@ -1,6 +1,7 @@
1
1
  export interface BitsoFXOrder {
2
2
  id: string;
3
3
  createdAt: Date;
4
+ lastChecked: Date;
4
5
  orderId: string;
5
6
  status: "pending" | "completed" | "cancelled";
6
7
  bitsoOrderId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1070",
3
+ "version": "1.0.1072",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",