@riocrypto/common 1.0.2156 → 1.0.2158
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/{payout-advance-complete-event.d.ts → payout-advances-complete-event.d.ts} +2 -2
- package/build/events/{payout-advance-transaction-created-event.d.ts → payout-advances-transaction-created-event.d.ts} +4 -4
- package/build/events/subjects.d.ts +2 -2
- package/build/events/subjects.js +2 -2
- package/build/index.d.ts +3 -3
- package/build/index.js +3 -3
- package/build/types/bank-account.d.ts +1 -1
- package/build/types/crypto-address.d.ts +1 -1
- package/build/types/order-attribute.d.ts +1 -1
- package/build/types/order-attribute.js +1 -1
- package/build/types/payout-advance-transaction-type.d.ts +1 -1
- package/build/types/payout-advance-transaction-type.js +6 -6
- package/build/types/{payout-advance-transaction.d.ts → payout-advances-transaction.d.ts} +3 -3
- package/build/types/user-attribute.d.ts +1 -1
- package/build/types/user-attribute.js +1 -1
- package/package.json +1 -1
- /package/build/events/{payout-advance-complete-event.js → payout-advances-complete-event.js} +0 -0
- /package/build/events/{payout-advance-transaction-created-event.js → payout-advances-transaction-created-event.js} +0 -0
- /package/build/types/{payout-advance-transaction.js → payout-advances-transaction.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PayoutAdvancesTransactionType } from "../types/payout-advance-transaction-type";
|
|
2
2
|
import { Subjects } from "./subjects";
|
|
3
3
|
import { Fiat } from "../types/fiat";
|
|
4
4
|
import { Crypto } from "../types/crypto";
|
|
5
|
-
export interface
|
|
6
|
-
subject: Subjects.
|
|
5
|
+
export interface PayoutAdvancesTransactionCreatedEvent {
|
|
6
|
+
subject: Subjects.PayoutAdvancesTransactionCreated;
|
|
7
7
|
data: {
|
|
8
8
|
id: string;
|
|
9
9
|
userId: string;
|
|
10
|
-
type:
|
|
10
|
+
type: PayoutAdvancesTransactionType;
|
|
11
11
|
amount: number;
|
|
12
12
|
currency: Fiat | Crypto;
|
|
13
13
|
orderId?: string;
|
|
@@ -30,8 +30,8 @@ export declare enum Subjects {
|
|
|
30
30
|
BankAccountCheckPassed = "bankAccountCheck:passed",
|
|
31
31
|
CircleAddressReady = "circleAddress:ready",
|
|
32
32
|
CircleAddressFailed = "circleAddress:failed",
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
PayoutAdvancesTransactionCreated = "payoutAdvancesTransaction:created",
|
|
34
|
+
PayoutAdvancesUsed = "payoutAdvances:used",
|
|
35
35
|
UBOCreated = "ubo:created",
|
|
36
36
|
UBOUpdated = "ubo:updated",
|
|
37
37
|
BidApproved = "bid:approved",
|
package/build/events/subjects.js
CHANGED
|
@@ -34,8 +34,8 @@ var Subjects;
|
|
|
34
34
|
Subjects["BankAccountCheckPassed"] = "bankAccountCheck:passed";
|
|
35
35
|
Subjects["CircleAddressReady"] = "circleAddress:ready";
|
|
36
36
|
Subjects["CircleAddressFailed"] = "circleAddress:failed";
|
|
37
|
-
Subjects["
|
|
38
|
-
Subjects["
|
|
37
|
+
Subjects["PayoutAdvancesTransactionCreated"] = "payoutAdvancesTransaction:created";
|
|
38
|
+
Subjects["PayoutAdvancesUsed"] = "payoutAdvances:used";
|
|
39
39
|
Subjects["UBOCreated"] = "ubo:created";
|
|
40
40
|
Subjects["UBOUpdated"] = "ubo:updated";
|
|
41
41
|
Subjects["BidApproved"] = "bid:approved";
|
package/build/index.d.ts
CHANGED
|
@@ -163,8 +163,8 @@ export * from "./events/emarkets-fx-trade-failed-event";
|
|
|
163
163
|
export * from "./events/emarkets-fx-trade-completed-event";
|
|
164
164
|
export * from "./events/arbitrage-trade-created-event";
|
|
165
165
|
export * from "./events/order-status-reset-event";
|
|
166
|
-
export * from "./events/payout-
|
|
167
|
-
export * from "./events/payout-
|
|
166
|
+
export * from "./events/payout-advances-transaction-created-event";
|
|
167
|
+
export * from "./events/payout-advances-complete-event";
|
|
168
168
|
export * from "./events/bank-payout-updated-event";
|
|
169
169
|
export * from "./events/bulk-crypto-payment-created-event";
|
|
170
170
|
export * from "./events/bulk-bank-payment-created-event";
|
|
@@ -334,7 +334,7 @@ export * from "./types/arbitrage-provider-status";
|
|
|
334
334
|
export * from "./types/arbitrage-trade";
|
|
335
335
|
export * from "./types/arbitrage-trade-status";
|
|
336
336
|
export * from "./types/arbitrage-trade-type";
|
|
337
|
-
export * from "./types/payout-
|
|
337
|
+
export * from "./types/payout-advances-transaction";
|
|
338
338
|
export * from "./types/payout-advance-transaction-type";
|
|
339
339
|
export * from "./types/currency-with-country";
|
|
340
340
|
export * from "./types/CEP";
|
package/build/index.js
CHANGED
|
@@ -179,8 +179,8 @@ __exportStar(require("./events/emarkets-fx-trade-failed-event"), exports);
|
|
|
179
179
|
__exportStar(require("./events/emarkets-fx-trade-completed-event"), exports);
|
|
180
180
|
__exportStar(require("./events/arbitrage-trade-created-event"), exports);
|
|
181
181
|
__exportStar(require("./events/order-status-reset-event"), exports);
|
|
182
|
-
__exportStar(require("./events/payout-
|
|
183
|
-
__exportStar(require("./events/payout-
|
|
182
|
+
__exportStar(require("./events/payout-advances-transaction-created-event"), exports);
|
|
183
|
+
__exportStar(require("./events/payout-advances-complete-event"), exports);
|
|
184
184
|
__exportStar(require("./events/bank-payout-updated-event"), exports);
|
|
185
185
|
__exportStar(require("./events/bulk-crypto-payment-created-event"), exports);
|
|
186
186
|
__exportStar(require("./events/bulk-bank-payment-created-event"), exports);
|
|
@@ -350,7 +350,7 @@ __exportStar(require("./types/arbitrage-provider-status"), exports);
|
|
|
350
350
|
__exportStar(require("./types/arbitrage-trade"), exports);
|
|
351
351
|
__exportStar(require("./types/arbitrage-trade-status"), exports);
|
|
352
352
|
__exportStar(require("./types/arbitrage-trade-type"), exports);
|
|
353
|
-
__exportStar(require("./types/payout-
|
|
353
|
+
__exportStar(require("./types/payout-advances-transaction"), exports);
|
|
354
354
|
__exportStar(require("./types/payout-advance-transaction-type"), exports);
|
|
355
355
|
__exportStar(require("./types/currency-with-country"), exports);
|
|
356
356
|
__exportStar(require("./types/CEP"), exports);
|
|
@@ -17,7 +17,7 @@ export interface BankAccount {
|
|
|
17
17
|
notes?: string;
|
|
18
18
|
advancedVerificationStatus?: BankAccountVerificationStatus;
|
|
19
19
|
bridgeExternalAccountId?: string;
|
|
20
|
-
|
|
20
|
+
availablePayoutAdvancesAmount?: number;
|
|
21
21
|
email?: string;
|
|
22
22
|
isBitsoBankAccount?: boolean;
|
|
23
23
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare enum OrderAttribute {
|
|
2
2
|
DeferredPayment = "deferredPayment",
|
|
3
3
|
FixedPrice = "fixedPrice",
|
|
4
|
-
|
|
4
|
+
UsesPayoutAdvances = "usesPayoutAdvances",
|
|
5
5
|
BulkPaymentIsDefault = "bulkPaymentIsDefault",
|
|
6
6
|
SkipInvoicing = "skipInvoicing",
|
|
7
7
|
SkipEmails = "skipEmails",
|
|
@@ -5,7 +5,7 @@ var OrderAttribute;
|
|
|
5
5
|
(function (OrderAttribute) {
|
|
6
6
|
OrderAttribute["DeferredPayment"] = "deferredPayment";
|
|
7
7
|
OrderAttribute["FixedPrice"] = "fixedPrice";
|
|
8
|
-
OrderAttribute["
|
|
8
|
+
OrderAttribute["UsesPayoutAdvances"] = "usesPayoutAdvances";
|
|
9
9
|
OrderAttribute["BulkPaymentIsDefault"] = "bulkPaymentIsDefault";
|
|
10
10
|
OrderAttribute["SkipInvoicing"] = "skipInvoicing";
|
|
11
11
|
OrderAttribute["SkipEmails"] = "skipEmails";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
5
|
-
(function (
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
})(
|
|
3
|
+
exports.PayoutAdvancesTransactionType = void 0;
|
|
4
|
+
var PayoutAdvancesTransactionType;
|
|
5
|
+
(function (PayoutAdvancesTransactionType) {
|
|
6
|
+
PayoutAdvancesTransactionType["Credit"] = "credit";
|
|
7
|
+
PayoutAdvancesTransactionType["Debit"] = "debit";
|
|
8
|
+
})(PayoutAdvancesTransactionType = exports.PayoutAdvancesTransactionType || (exports.PayoutAdvancesTransactionType = {}));
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PayoutAdvancesTransactionType } from "./payout-advance-transaction-type";
|
|
2
2
|
import { Fiat } from "./fiat";
|
|
3
3
|
import { Crypto } from "./crypto";
|
|
4
|
-
export interface
|
|
4
|
+
export interface PayoutAdvancesTransaction {
|
|
5
5
|
id: string;
|
|
6
6
|
createdAt: Date;
|
|
7
7
|
userId: string;
|
|
8
8
|
bankAccountId?: string;
|
|
9
9
|
cryptoAddressId?: string;
|
|
10
|
-
type:
|
|
10
|
+
type: PayoutAdvancesTransactionType;
|
|
11
11
|
amount: number;
|
|
12
12
|
currency: Fiat | Crypto;
|
|
13
13
|
orderId?: string;
|
|
@@ -9,7 +9,7 @@ export declare enum UserAttribute {
|
|
|
9
9
|
NoProcessingOrTransferFees = "noProcessingOrTransferFees",
|
|
10
10
|
CanSpecifyNetPrice = "canSpecifyNetPrice",
|
|
11
11
|
CanDeferPayment = "canDeferPayment",
|
|
12
|
-
|
|
12
|
+
CanUsePayoutAdvances = "canUsePayoutAdvances",
|
|
13
13
|
AddToVolumeOnCreateOrder = "addToVolumeOnCreateOrder",
|
|
14
14
|
DisburseMorningBuyOrdersWithoutCosigner = "disburseMorningBuyOrdersWithoutCosigner",
|
|
15
15
|
DisburseMorningSellOrdersWithoutCosigner = "disburseMorningSellOrdersWithoutCosigner",
|
|
@@ -13,7 +13,7 @@ var UserAttribute;
|
|
|
13
13
|
UserAttribute["NoProcessingOrTransferFees"] = "noProcessingOrTransferFees";
|
|
14
14
|
UserAttribute["CanSpecifyNetPrice"] = "canSpecifyNetPrice";
|
|
15
15
|
UserAttribute["CanDeferPayment"] = "canDeferPayment";
|
|
16
|
-
UserAttribute["
|
|
16
|
+
UserAttribute["CanUsePayoutAdvances"] = "canUsePayoutAdvances";
|
|
17
17
|
UserAttribute["AddToVolumeOnCreateOrder"] = "addToVolumeOnCreateOrder";
|
|
18
18
|
UserAttribute["DisburseMorningBuyOrdersWithoutCosigner"] = "disburseMorningBuyOrdersWithoutCosigner";
|
|
19
19
|
UserAttribute["DisburseMorningSellOrdersWithoutCosigner"] = "disburseMorningSellOrdersWithoutCosigner";
|
package/package.json
CHANGED
/package/build/events/{payout-advance-complete-event.js → payout-advances-complete-event.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|