@riocrypto/common 1.0.1764 → 1.0.1765
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/build/index.d.ts +2 -1
- package/build/index.js +2 -1
- package/build/types/liquidity-automation-type.d.ts +4 -0
- package/build/types/liquidity-automation-type.js +8 -0
- package/build/types/liquidity-automation.d.ts +32 -0
- package/package.json +1 -1
- package/build/types/internal-transfer-automation.d.ts +0 -19
- /package/build/types/{internal-transfer-automation.js → liquidity-automation.js} +0 -0
package/build/index.d.ts
CHANGED
|
@@ -302,7 +302,8 @@ export * from "./types/arbitrage-frequency";
|
|
|
302
302
|
export * from "./types/arbitrage-provider";
|
|
303
303
|
export * from "./types/fx-provider";
|
|
304
304
|
export * from "./types/internal-transfer-automation-frequency";
|
|
305
|
-
export * from "./types/
|
|
305
|
+
export * from "./types/liquidity-automation";
|
|
306
|
+
export * from "./types/liquidity-automation-type";
|
|
306
307
|
export * from "./classes/KYCFieldClass";
|
|
307
308
|
export * from "./classes/KYCFileClass";
|
|
308
309
|
export * from "./classes/CountryAsset";
|
package/build/index.js
CHANGED
|
@@ -318,7 +318,8 @@ __exportStar(require("./types/arbitrage-frequency"), exports);
|
|
|
318
318
|
__exportStar(require("./types/arbitrage-provider"), exports);
|
|
319
319
|
__exportStar(require("./types/fx-provider"), exports);
|
|
320
320
|
__exportStar(require("./types/internal-transfer-automation-frequency"), exports);
|
|
321
|
-
__exportStar(require("./types/
|
|
321
|
+
__exportStar(require("./types/liquidity-automation"), exports);
|
|
322
|
+
__exportStar(require("./types/liquidity-automation-type"), exports);
|
|
322
323
|
__exportStar(require("./classes/KYCFieldClass"), exports);
|
|
323
324
|
__exportStar(require("./classes/KYCFileClass"), exports);
|
|
324
325
|
__exportStar(require("./classes/CountryAsset"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LiquidityAutomationType = void 0;
|
|
4
|
+
var LiquidityAutomationType;
|
|
5
|
+
(function (LiquidityAutomationType) {
|
|
6
|
+
LiquidityAutomationType["Transfer"] = "transfer";
|
|
7
|
+
LiquidityAutomationType["Trade"] = "trade";
|
|
8
|
+
})(LiquidityAutomationType = exports.LiquidityAutomationType || (exports.LiquidityAutomationType = {}));
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { InternalTransferType } from "./internal-transfer-type";
|
|
2
|
+
import { TreasuryProvider } from "./treasury-provider";
|
|
3
|
+
import { Fiat } from "./fiat";
|
|
4
|
+
import { Crypto } from "./crypto";
|
|
5
|
+
import { InternalTransferAutomationFrequency } from "./internal-transfer-automation-frequency";
|
|
6
|
+
import { LiquidityAutomationType } from "./liquidity-automation-type";
|
|
7
|
+
import { InternalTradeType } from "./internal-trade-type";
|
|
8
|
+
export interface LiquidityAutomation {
|
|
9
|
+
id: string;
|
|
10
|
+
createdAt: Date;
|
|
11
|
+
adminId: string;
|
|
12
|
+
type: LiquidityAutomationType;
|
|
13
|
+
transferDetails?: {
|
|
14
|
+
transferType?: InternalTransferType;
|
|
15
|
+
origin: TreasuryProvider;
|
|
16
|
+
destination: TreasuryProvider;
|
|
17
|
+
amount: number;
|
|
18
|
+
currency: Fiat | Crypto;
|
|
19
|
+
};
|
|
20
|
+
tradeDetails?: {
|
|
21
|
+
provider: TreasuryProvider;
|
|
22
|
+
originAmount: number;
|
|
23
|
+
originCurrency: Fiat | Crypto;
|
|
24
|
+
destinationAmount: number;
|
|
25
|
+
destinationCurrency: Fiat | Crypto;
|
|
26
|
+
type: InternalTradeType;
|
|
27
|
+
};
|
|
28
|
+
initialExecutionDate: Date;
|
|
29
|
+
frequency: InternalTransferAutomationFrequency;
|
|
30
|
+
lastExecutionDate?: Date;
|
|
31
|
+
isActive: boolean;
|
|
32
|
+
}
|
package/package.json
CHANGED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { InternalTransferType } from "./internal-transfer-type";
|
|
2
|
-
import { TreasuryProvider } from "./treasury-provider";
|
|
3
|
-
import { Fiat } from "./fiat";
|
|
4
|
-
import { Crypto } from "./crypto";
|
|
5
|
-
import { InternalTransferAutomationFrequency } from "./internal-transfer-automation-frequency";
|
|
6
|
-
export interface InternalTransferAutomation {
|
|
7
|
-
id: string;
|
|
8
|
-
createdAt: Date;
|
|
9
|
-
adminId: string;
|
|
10
|
-
transferType: InternalTransferType;
|
|
11
|
-
initialExecutionDate: Date;
|
|
12
|
-
origin: TreasuryProvider;
|
|
13
|
-
destination: TreasuryProvider;
|
|
14
|
-
amount: number;
|
|
15
|
-
currency: Fiat | Crypto;
|
|
16
|
-
frequency: InternalTransferAutomationFrequency;
|
|
17
|
-
lastExecutionDate?: Date;
|
|
18
|
-
isActive: boolean;
|
|
19
|
-
}
|
|
File without changes
|