@riocrypto/common 1.0.2403 → 1.0.2404

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,7 @@ 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-withdrawal-status";
441
442
  export * from "./classes/KYCFieldClass";
442
443
  export * from "./classes/KYCFileClass";
443
444
  export * from "./classes/CountryAsset";
package/build/index.js CHANGED
@@ -454,6 +454,7 @@ __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-withdrawal-status"), exports);
457
458
  __exportStar(require("./classes/KYCFieldClass"), exports);
458
459
  __exportStar(require("./classes/KYCFileClass"), exports);
459
460
  __exportStar(require("./classes/CountryAsset"), exports);
@@ -1,3 +1,4 @@
1
+ import { STPWithdrawalStatus } from "./stp-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: STPWithdrawalStatus;
14
16
  }[];
15
17
  numberOfParts?: number;
16
18
  partsCompleted?: number;
@@ -0,0 +1,6 @@
1
+ export declare enum STPWithdrawalStatus {
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.STPWithdrawalStatus = void 0;
4
+ var STPWithdrawalStatus;
5
+ (function (STPWithdrawalStatus) {
6
+ STPWithdrawalStatus["PendingApproval"] = "pendingApproval";
7
+ STPWithdrawalStatus["Processing"] = "processing";
8
+ STPWithdrawalStatus["Complete"] = "complete";
9
+ STPWithdrawalStatus["Failed"] = "failed";
10
+ })(STPWithdrawalStatus = exports.STPWithdrawalStatus || (exports.STPWithdrawalStatus = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.2403",
3
+ "version": "1.0.2404",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",