@riocrypto/common 1.0.2609 → 1.0.2612
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/events/rio-settings-updated-event.d.ts +7 -0
- package/build/index.d.ts +1 -0
- package/build/index.js +1 -0
- package/build/types/compliance-recent-session.d.ts +17 -0
- package/build/types/compliance-recent-session.js +2 -0
- package/build/types/compliance-tree-user.d.ts +2 -0
- package/build/types/platform-fee-range.d.ts +3 -0
- package/build/types/rio-settings-update.d.ts +7 -0
- package/build/types/rio-settings.d.ts +7 -0
- package/build/types/twap-session.d.ts +5 -0
- package/build/types/twap-settlement.d.ts +1 -0
- package/package.json +1 -1
|
@@ -76,6 +76,13 @@ export interface RioSettingsUpdatedEvent {
|
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
|
+
defaultTWAPTwoWaySettlementDateOffsetFee?: {
|
|
80
|
+
[key in Country]?: {
|
|
81
|
+
[key in Side]?: {
|
|
82
|
+
[key: number]: number;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
};
|
|
79
86
|
holidays?: {
|
|
80
87
|
[key in Country]: {
|
|
81
88
|
dates: string[];
|
package/build/index.d.ts
CHANGED
|
@@ -301,6 +301,7 @@ export * from "./types/fireblocks-vault";
|
|
|
301
301
|
export * from "./types/fireblocks-transfer";
|
|
302
302
|
export * from "./types/user-type";
|
|
303
303
|
export * from "./types/compliance-tree-user";
|
|
304
|
+
export * from "./types/compliance-recent-session";
|
|
304
305
|
export * from "./types/compliance-step-type";
|
|
305
306
|
export * from "./types/platform-fee-range";
|
|
306
307
|
export * from "./types/api-key";
|
package/build/index.js
CHANGED
|
@@ -317,6 +317,7 @@ __exportStar(require("./types/fireblocks-vault"), exports);
|
|
|
317
317
|
__exportStar(require("./types/fireblocks-transfer"), exports);
|
|
318
318
|
__exportStar(require("./types/user-type"), exports);
|
|
319
319
|
__exportStar(require("./types/compliance-tree-user"), exports);
|
|
320
|
+
__exportStar(require("./types/compliance-recent-session"), exports);
|
|
320
321
|
__exportStar(require("./types/compliance-step-type"), exports);
|
|
321
322
|
__exportStar(require("./types/platform-fee-range"), exports);
|
|
322
323
|
__exportStar(require("./types/api-key"), exports);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Country } from "./country";
|
|
2
|
+
import { ComplianceSessionStatus } from "./compliance-session-status";
|
|
3
|
+
import { UserType } from "./user-type";
|
|
4
|
+
export interface ComplianceRecentSession {
|
|
5
|
+
id: string;
|
|
6
|
+
userId: string;
|
|
7
|
+
userDisplayName: string;
|
|
8
|
+
userType: UserType;
|
|
9
|
+
country?: Country;
|
|
10
|
+
status: ComplianceSessionStatus;
|
|
11
|
+
message: string;
|
|
12
|
+
createdAt: string;
|
|
13
|
+
startedBy?: string | null;
|
|
14
|
+
startedByName?: string | null;
|
|
15
|
+
ruleSetId?: string | null;
|
|
16
|
+
ruleSetName?: string | null;
|
|
17
|
+
}
|
|
@@ -63,6 +63,13 @@ export interface RioSettingsUpdate {
|
|
|
63
63
|
};
|
|
64
64
|
};
|
|
65
65
|
};
|
|
66
|
+
defaultTWAPTwoWaySettlementDateOffsetFee?: {
|
|
67
|
+
[key in Country]?: {
|
|
68
|
+
[key in Side]?: {
|
|
69
|
+
[key: number]: number;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
66
73
|
holidays?: {
|
|
67
74
|
[key in Country]: {
|
|
68
75
|
dates: string[];
|
|
@@ -20,6 +20,11 @@ export interface TWAPSession {
|
|
|
20
20
|
maxOriginAmount?: number;
|
|
21
21
|
tradeCurrency: Fiat | Crypto;
|
|
22
22
|
spread: number;
|
|
23
|
+
spreadHistory: {
|
|
24
|
+
spread: number;
|
|
25
|
+
appliedAt: Date;
|
|
26
|
+
firstOrderId?: string;
|
|
27
|
+
}[];
|
|
23
28
|
clipSize: number;
|
|
24
29
|
interval: number;
|
|
25
30
|
isRunning: boolean;
|