@riocrypto/common-server 1.0.2374 → 1.0.2375
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/models/order.d.ts +1 -5
- package/build/models/order.js +0 -3
- package/package.json +2 -2
package/build/models/order.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Country, Fees, Fiat, LiquidityProvider, OrderStatus, PaymentMethod, PayoutMethod, Processor, Side, Crypto,
|
|
1
|
+
import { Country, Fees, Fiat, LiquidityProvider, OrderStatus, PaymentMethod, PayoutMethod, Processor, Side, Crypto, OrderAttribute, SettlementTime } from "@riocrypto/common";
|
|
2
2
|
import { Mongoose, Model, Document } from "mongoose";
|
|
3
3
|
interface OrderAttrs {
|
|
4
4
|
quoteId: string;
|
|
@@ -16,7 +16,6 @@ interface OrderAttrs {
|
|
|
16
16
|
amountFiatReceived?: number;
|
|
17
17
|
amountCrypto: number;
|
|
18
18
|
amountCryptoReceived?: number;
|
|
19
|
-
substatus?: OrderSubstatus;
|
|
20
19
|
liquidityProvider: LiquidityProvider;
|
|
21
20
|
processor: Processor;
|
|
22
21
|
fees: Fees;
|
|
@@ -35,7 +34,6 @@ interface OrderAttrs {
|
|
|
35
34
|
discount?: number;
|
|
36
35
|
markup?: number;
|
|
37
36
|
expiredQuotes?: string[];
|
|
38
|
-
partner?: Partner;
|
|
39
37
|
imported?: boolean;
|
|
40
38
|
managedWallet?: boolean;
|
|
41
39
|
USBankTransferMethod?: "wire" | "ach_push";
|
|
@@ -127,7 +125,6 @@ interface OrderDoc extends Document {
|
|
|
127
125
|
quoteId: string;
|
|
128
126
|
userId: string;
|
|
129
127
|
status: OrderStatus;
|
|
130
|
-
substatus?: OrderSubstatus;
|
|
131
128
|
crypto: Crypto;
|
|
132
129
|
side: Side;
|
|
133
130
|
fiat: Fiat;
|
|
@@ -159,7 +156,6 @@ interface OrderDoc extends Document {
|
|
|
159
156
|
wireMessage?: string;
|
|
160
157
|
markup?: number;
|
|
161
158
|
expiredQuotes?: string[];
|
|
162
|
-
partner?: Partner;
|
|
163
159
|
imported?: boolean;
|
|
164
160
|
managedWallet?: boolean;
|
|
165
161
|
USBankTransferMethod?: "wire" | "ach_push";
|
package/build/models/order.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riocrypto/common-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2375",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@google-cloud/secret-manager": "^5.3.0",
|
|
29
29
|
"@google-cloud/storage": "^6.9.5",
|
|
30
30
|
"@hyperdx/node-opentelemetry": "^0.7.0",
|
|
31
|
-
"@riocrypto/common": "^1.0.
|
|
31
|
+
"@riocrypto/common": "^1.0.2099",
|
|
32
32
|
"@types/express": "^4.17.13",
|
|
33
33
|
"axios": "^1.7.4",
|
|
34
34
|
"crypto-js": "^4.2.0",
|