@riocrypto/common 1.0.2403 → 1.0.2405

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 CHANGED
@@ -438,6 +438,8 @@ export * from "./types/transnetwork-bot-status";
438
438
  export * from "./types/inbound-bank-deposit";
439
439
  export * from "./types/inbound-crypto-deposit";
440
440
  export * from "./types/inbound-crypto-deposit-destination-type";
441
+ export * from "./types/STP-mxn-withdrawal-status";
442
+ export * from "./types/bitso-mxn-withdrawal-status";
441
443
  export * from "./classes/KYCFieldClass";
442
444
  export * from "./classes/KYCFileClass";
443
445
  export * from "./classes/CountryAsset";
package/build/index.js CHANGED
@@ -454,6 +454,8 @@ __exportStar(require("./types/transnetwork-bot-status"), exports);
454
454
  __exportStar(require("./types/inbound-bank-deposit"), exports);
455
455
  __exportStar(require("./types/inbound-crypto-deposit"), exports);
456
456
  __exportStar(require("./types/inbound-crypto-deposit-destination-type"), exports);
457
+ __exportStar(require("./types/STP-mxn-withdrawal-status"), exports);
458
+ __exportStar(require("./types/bitso-mxn-withdrawal-status"), exports);
457
459
  __exportStar(require("./classes/KYCFieldClass"), exports);
458
460
  __exportStar(require("./classes/KYCFileClass"), exports);
459
461
  __exportStar(require("./classes/CountryAsset"), exports);
@@ -0,0 +1,6 @@
1
+ export declare enum STPMXNWithdrawalStatus {
2
+ PendingApproval = "pendingApproval",
3
+ Processing = "processing",
4
+ Complete = "complete",
5
+ Failed = "failed"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.STPMXNWithdrawalStatus = void 0;
4
+ var STPMXNWithdrawalStatus;
5
+ (function (STPMXNWithdrawalStatus) {
6
+ STPMXNWithdrawalStatus["PendingApproval"] = "pendingApproval";
7
+ STPMXNWithdrawalStatus["Processing"] = "processing";
8
+ STPMXNWithdrawalStatus["Complete"] = "complete";
9
+ STPMXNWithdrawalStatus["Failed"] = "failed";
10
+ })(STPMXNWithdrawalStatus = exports.STPMXNWithdrawalStatus || (exports.STPMXNWithdrawalStatus = {}));
@@ -1,3 +1,4 @@
1
+ import { STPMXNWithdrawalStatus } from "./STP-mxn-withdrawal-status";
1
2
  export interface STPMXNWithdrawal {
2
3
  createdAt: Date;
3
4
  type: "transaction" | "bankAccountVerification" | "liquidityOrder" | "internalTransfer";
@@ -7,10 +8,11 @@ export interface STPMXNWithdrawal {
7
8
  orderVersion?: number;
8
9
  bulkBankPayoutId?: string;
9
10
  STPWithdrawals: {
10
- id: number;
11
+ id?: number;
12
+ partNumber: number;
11
13
  amount: number;
12
14
  reference: string;
13
- status: "processing" | "complete" | "failed";
15
+ status: STPMXNWithdrawalStatus;
14
16
  }[];
15
17
  numberOfParts?: number;
16
18
  partsCompleted?: number;
@@ -0,0 +1,6 @@
1
+ export declare enum BitsoMXNWithdrawalStatus {
2
+ PendingApproval = "pendingApproval",
3
+ Processing = "processing",
4
+ Complete = "complete",
5
+ Failed = "failed"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BitsoMXNWithdrawalStatus = void 0;
4
+ var BitsoMXNWithdrawalStatus;
5
+ (function (BitsoMXNWithdrawalStatus) {
6
+ BitsoMXNWithdrawalStatus["PendingApproval"] = "pendingApproval";
7
+ BitsoMXNWithdrawalStatus["Processing"] = "processing";
8
+ BitsoMXNWithdrawalStatus["Complete"] = "complete";
9
+ BitsoMXNWithdrawalStatus["Failed"] = "failed";
10
+ })(BitsoMXNWithdrawalStatus = exports.BitsoMXNWithdrawalStatus || (exports.BitsoMXNWithdrawalStatus = {}));
@@ -1,3 +1,4 @@
1
+ import { BitsoMXNWithdrawalStatus } from "./bitso-mxn-withdrawal-status";
1
2
  export interface BitsoMXNWithdrawal {
2
3
  createdAt: Date;
3
4
  type: "transaction" | "bankAccountVerification" | "liquidityOrder" | "internalTransfer";
@@ -8,8 +9,11 @@ export interface BitsoMXNWithdrawal {
8
9
  orderVersion?: number;
9
10
  bulkBankPayoutId?: string;
10
11
  bitsoWithdrawals: {
11
- id: string;
12
- status: "processing" | "complete" | "failed";
12
+ id?: string;
13
+ partNumber: number;
14
+ status: BitsoMXNWithdrawalStatus;
15
+ amount: number;
16
+ reference: string;
13
17
  }[];
14
18
  numberOfParts?: number;
15
19
  partsCompleted?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.2403",
3
+ "version": "1.0.2405",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",