@riocrypto/common 1.0.1999 → 1.0.2002

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.
@@ -1,4 +1,4 @@
1
- import { Processor } from "@riocrypto/common";
1
+ import { Processor } from "../types/processor";
2
2
  import { Subjects } from "./subjects";
3
3
  export interface BankAccountVerificationSentEvent {
4
4
  subject: Subjects.BankAccountVerificationSent;
package/build/index.d.ts CHANGED
@@ -351,6 +351,8 @@ export * from "./types/admin-auth-dashboard-settings";
351
351
  export * from "./types/STP-mxn-withdrawal";
352
352
  export * from "./types/STP-deposit-CLABE";
353
353
  export * from "./types/STP-settings";
354
+ export * from "./types/axe";
355
+ export * from "./types/axe-status";
354
356
  export * from "./classes/KYCFieldClass";
355
357
  export * from "./classes/KYCFileClass";
356
358
  export * from "./classes/CountryAsset";
package/build/index.js CHANGED
@@ -367,6 +367,8 @@ __exportStar(require("./types/admin-auth-dashboard-settings"), exports);
367
367
  __exportStar(require("./types/STP-mxn-withdrawal"), exports);
368
368
  __exportStar(require("./types/STP-deposit-CLABE"), exports);
369
369
  __exportStar(require("./types/STP-settings"), exports);
370
+ __exportStar(require("./types/axe"), exports);
371
+ __exportStar(require("./types/axe-status"), exports);
370
372
  __exportStar(require("./classes/KYCFieldClass"), exports);
371
373
  __exportStar(require("./classes/KYCFileClass"), exports);
372
374
  __exportStar(require("./classes/CountryAsset"), exports);
@@ -0,0 +1,7 @@
1
+ export declare enum AxeStatus {
2
+ PendingConsumption = "pendingConsumption",
3
+ PartiallyConsumed = "partiallyConsumed",
4
+ Consumed = "consumed",
5
+ Cancelled = "cancelled",
6
+ Failed = "failed"
7
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AxeStatus = void 0;
4
+ var AxeStatus;
5
+ (function (AxeStatus) {
6
+ AxeStatus["PendingConsumption"] = "pendingConsumption";
7
+ AxeStatus["PartiallyConsumed"] = "partiallyConsumed";
8
+ AxeStatus["Consumed"] = "consumed";
9
+ AxeStatus["Cancelled"] = "cancelled";
10
+ AxeStatus["Failed"] = "failed";
11
+ })(AxeStatus = exports.AxeStatus || (exports.AxeStatus = {}));
@@ -0,0 +1,20 @@
1
+ import { AxeStatus } from "./axe-status";
2
+ import { Side } from "./side";
3
+ export interface Axe {
4
+ createdAt: Date;
5
+ oppositeUserId: string;
6
+ oppositeOrderId: string;
7
+ side: Side;
8
+ totalAmount: number;
9
+ netPrice: number;
10
+ amountConsumed: number;
11
+ amountRemaining: number;
12
+ status: AxeStatus;
13
+ takerOrders: {
14
+ id: string;
15
+ userId: string;
16
+ amount: number;
17
+ netPrice: number;
18
+ }[];
19
+ usersExcludedFromNotifications: string[];
20
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -15,9 +15,7 @@ export interface ImportOrderData {
15
15
  price: number;
16
16
  side: Side;
17
17
  platformFeeFiat: number;
18
- platformFeeFiatTax: number;
19
18
  deferredSettlementFeeFiat?: number;
20
- deferredSettlementFeeFiatTax?: number;
21
19
  processingFeeFiat?: number;
22
20
  transferFeeFiat?: number;
23
21
  hashes?: string[];
@@ -30,4 +28,6 @@ export interface ImportOrderData {
30
28
  skipInvoicing?: boolean;
31
29
  skipEmails?: boolean;
32
30
  skipPushNotifications?: boolean;
31
+ serviceFeeFiat?: number;
32
+ serviceFeeFiatTax?: number;
33
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1999",
3
+ "version": "1.0.2002",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",