@riocrypto/common-server 1.0.1821 → 1.0.1823
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 +6 -0
- package/build/models/order.js +9 -0
- package/package.json +2 -2
package/build/models/order.d.ts
CHANGED
|
@@ -49,7 +49,10 @@ interface OrderAttrs {
|
|
|
49
49
|
paymentAddressId?: string;
|
|
50
50
|
payoutAddressId?: string;
|
|
51
51
|
payoutBankAccountId?: string;
|
|
52
|
+
binancePaymentId?: string;
|
|
53
|
+
binancePayoutId?: string;
|
|
52
54
|
attributes?: OrderAttribute[];
|
|
55
|
+
settleBy?: Date;
|
|
53
56
|
}
|
|
54
57
|
interface OrderDoc extends Document {
|
|
55
58
|
quoteId: string;
|
|
@@ -100,7 +103,10 @@ interface OrderDoc extends Document {
|
|
|
100
103
|
paymentAddressId?: string;
|
|
101
104
|
payoutAddressId?: string;
|
|
102
105
|
payoutBankAccountId?: string;
|
|
106
|
+
binancePaymentId?: string;
|
|
107
|
+
binancePayoutId?: string;
|
|
103
108
|
attributes?: OrderAttribute[];
|
|
109
|
+
settleBy?: Date;
|
|
104
110
|
}
|
|
105
111
|
interface OrderModel extends Model<OrderDoc> {
|
|
106
112
|
build(attrs: OrderAttrs): OrderDoc;
|
package/build/models/order.js
CHANGED
|
@@ -214,6 +214,15 @@ const buildOrder = (mongoose) => {
|
|
|
214
214
|
payoutBankAccountId: {
|
|
215
215
|
type: String,
|
|
216
216
|
},
|
|
217
|
+
binancePaymentId: {
|
|
218
|
+
type: String,
|
|
219
|
+
},
|
|
220
|
+
binancePayoutId: {
|
|
221
|
+
type: String,
|
|
222
|
+
},
|
|
223
|
+
settleBy: {
|
|
224
|
+
type: mongoose.Schema.Types.Date,
|
|
225
|
+
},
|
|
217
226
|
attributes: [
|
|
218
227
|
{
|
|
219
228
|
type: String,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riocrypto/common-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1823",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@google-cloud/secret-manager": "^5.3.0",
|
|
27
27
|
"@google-cloud/storage": "^6.9.5",
|
|
28
28
|
"@hyperdx/node-opentelemetry": "^0.4.2",
|
|
29
|
-
"@riocrypto/common": "^1.0.
|
|
29
|
+
"@riocrypto/common": "^1.0.1624",
|
|
30
30
|
"@types/express": "^4.17.13",
|
|
31
31
|
"axios": "^1.6.0",
|
|
32
32
|
"crypto-js": "^4.2.0",
|