@riocrypto/common-server 1.0.2096 → 1.0.2098
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 +32 -36
- package/build/models/order.js +6 -0
- package/package.json +2 -2
package/build/models/order.d.ts
CHANGED
|
@@ -47,6 +47,8 @@ interface OrderAttrs {
|
|
|
47
47
|
requestedNetPrice?: number;
|
|
48
48
|
payoutAddressId?: string;
|
|
49
49
|
payoutBankAccountId?: string;
|
|
50
|
+
bulkCryptoPaymentId?: string;
|
|
51
|
+
bulkBankPaymentId?: string;
|
|
50
52
|
binancePayment?: {
|
|
51
53
|
binanceTransactionId: string;
|
|
52
54
|
amount: number;
|
|
@@ -57,20 +59,6 @@ interface OrderAttrs {
|
|
|
57
59
|
};
|
|
58
60
|
attributes?: OrderAttribute[];
|
|
59
61
|
settleBy?: Date;
|
|
60
|
-
originOfFunds?: {
|
|
61
|
-
blockchainAddress?: string;
|
|
62
|
-
accountHolderName?: string;
|
|
63
|
-
accountNumber?: string;
|
|
64
|
-
CCI?: string;
|
|
65
|
-
CLABE?: string;
|
|
66
|
-
};
|
|
67
|
-
destinationOfFunds?: {
|
|
68
|
-
blockchainAddress?: string;
|
|
69
|
-
accountHolderName?: string;
|
|
70
|
-
accountNumber?: string;
|
|
71
|
-
CCI?: string;
|
|
72
|
-
CLABE?: string;
|
|
73
|
-
};
|
|
74
62
|
payoutTransferLimit?: number;
|
|
75
63
|
paymentReceivedAt?: Date;
|
|
76
64
|
version: number;
|
|
@@ -91,20 +79,29 @@ interface OrderAttrs {
|
|
|
91
79
|
};
|
|
92
80
|
paymentsReceived?: {
|
|
93
81
|
amount: number;
|
|
94
|
-
blockchainTxId
|
|
82
|
+
blockchainTxId: string;
|
|
95
83
|
SPEITrackingNumber?: string;
|
|
96
84
|
SPIDTrackingNumber?: string;
|
|
97
85
|
CEPLink?: string;
|
|
98
|
-
|
|
86
|
+
blockchainAddress?: string;
|
|
87
|
+
accountHolderName?: string;
|
|
88
|
+
accountNumber?: string;
|
|
89
|
+
CCI?: string;
|
|
90
|
+
CLABE?: string;
|
|
99
91
|
receivedAt?: Date;
|
|
100
92
|
}[];
|
|
101
93
|
payoutsSent?: {
|
|
102
94
|
amount: number;
|
|
103
|
-
blockchainTxId
|
|
95
|
+
blockchainTxId: string;
|
|
104
96
|
SPEITrackingNumber?: string;
|
|
105
97
|
SPIDTrackingNumber?: string;
|
|
106
|
-
bankPayoutId?: string;
|
|
107
98
|
CEPLink?: string;
|
|
99
|
+
references: string[];
|
|
100
|
+
blockchainAddress?: string;
|
|
101
|
+
accountHolderName?: string;
|
|
102
|
+
accountNumber?: string;
|
|
103
|
+
CCI?: string;
|
|
104
|
+
CLABE?: string;
|
|
108
105
|
fee?: number;
|
|
109
106
|
feeCurrency?: Crypto | Fiat;
|
|
110
107
|
sentAt?: Date;
|
|
@@ -156,6 +153,8 @@ interface OrderDoc extends Document {
|
|
|
156
153
|
requestedNetPrice?: number;
|
|
157
154
|
payoutAddressId?: string;
|
|
158
155
|
payoutBankAccountId?: string;
|
|
156
|
+
bulkCryptoPaymentId?: string;
|
|
157
|
+
bulkBankPaymentId?: string;
|
|
159
158
|
binancePayment?: {
|
|
160
159
|
binanceTransactionId: string;
|
|
161
160
|
amount: number;
|
|
@@ -166,20 +165,6 @@ interface OrderDoc extends Document {
|
|
|
166
165
|
};
|
|
167
166
|
attributes?: OrderAttribute[];
|
|
168
167
|
settleBy?: Date;
|
|
169
|
-
originOfFunds?: {
|
|
170
|
-
blockchainAddress?: string;
|
|
171
|
-
accountHolderName?: string;
|
|
172
|
-
accountNumber?: string;
|
|
173
|
-
CCI?: string;
|
|
174
|
-
CLABE?: string;
|
|
175
|
-
};
|
|
176
|
-
destinationOfFunds?: {
|
|
177
|
-
blockchainAddress?: string;
|
|
178
|
-
accountHolderName?: string;
|
|
179
|
-
accountNumber?: string;
|
|
180
|
-
CCI?: string;
|
|
181
|
-
CLABE?: string;
|
|
182
|
-
};
|
|
183
168
|
paymentInstructions?: {
|
|
184
169
|
blockchainAddress?: string;
|
|
185
170
|
USBankTransferMethod?: "wire" | "ach_push";
|
|
@@ -196,19 +181,30 @@ interface OrderDoc extends Document {
|
|
|
196
181
|
CCI?: string;
|
|
197
182
|
};
|
|
198
183
|
paymentsReceived?: {
|
|
199
|
-
|
|
184
|
+
amount: number;
|
|
185
|
+
blockchainTxId: string;
|
|
200
186
|
SPEITrackingNumber?: string;
|
|
201
187
|
SPIDTrackingNumber?: string;
|
|
202
188
|
CEPLink?: string;
|
|
203
|
-
|
|
189
|
+
blockchainAddress?: string;
|
|
190
|
+
accountHolderName?: string;
|
|
191
|
+
accountNumber?: string;
|
|
192
|
+
CCI?: string;
|
|
193
|
+
CLABE?: string;
|
|
204
194
|
receivedAt?: Date;
|
|
205
195
|
}[];
|
|
206
196
|
payoutsSent?: {
|
|
207
|
-
|
|
197
|
+
amount: number;
|
|
198
|
+
blockchainTxId: string;
|
|
208
199
|
SPEITrackingNumber?: string;
|
|
209
200
|
SPIDTrackingNumber?: string;
|
|
210
201
|
CEPLink?: string;
|
|
211
|
-
|
|
202
|
+
references: string[];
|
|
203
|
+
blockchainAddress?: string;
|
|
204
|
+
accountHolderName?: string;
|
|
205
|
+
accountNumber?: string;
|
|
206
|
+
CCI?: string;
|
|
207
|
+
CLABE?: string;
|
|
212
208
|
fee?: number;
|
|
213
209
|
feeCurrency?: Crypto | Fiat;
|
|
214
210
|
sentAt?: Date;
|
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.2098",
|
|
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.1859",
|
|
32
32
|
"@types/express": "^4.17.13",
|
|
33
33
|
"axios": "^1.7.4",
|
|
34
34
|
"crypto-js": "^4.2.0",
|