@riocrypto/common-server 1.0.2092 → 1.0.2094
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.
|
@@ -11,6 +11,13 @@ interface BankPayoutAttrs {
|
|
|
11
11
|
cepLink?: string;
|
|
12
12
|
reference?: string;
|
|
13
13
|
};
|
|
14
|
+
payouts?: {
|
|
15
|
+
amount: number;
|
|
16
|
+
SPEITrackingNumber?: string;
|
|
17
|
+
SPIDTrackingNumber?: string;
|
|
18
|
+
CEPLink?: string;
|
|
19
|
+
reference?: string;
|
|
20
|
+
}[];
|
|
14
21
|
}
|
|
15
22
|
interface BankPayoutDoc extends Document {
|
|
16
23
|
orderId: string;
|
|
@@ -23,6 +30,13 @@ interface BankPayoutDoc extends Document {
|
|
|
23
30
|
cepLink?: string;
|
|
24
31
|
reference?: string;
|
|
25
32
|
};
|
|
33
|
+
payouts?: {
|
|
34
|
+
amount: number;
|
|
35
|
+
SPEITrackingNumber?: string;
|
|
36
|
+
SPIDTrackingNumber?: string;
|
|
37
|
+
CEPLink?: string;
|
|
38
|
+
reference?: string;
|
|
39
|
+
}[];
|
|
26
40
|
}
|
|
27
41
|
interface BankPayoutModel extends Model<BankPayoutDoc> {
|
|
28
42
|
build(attrs: BankPayoutAttrs): BankPayoutDoc;
|
package/build/models/order.d.ts
CHANGED
|
@@ -105,6 +105,8 @@ interface OrderAttrs {
|
|
|
105
105
|
SPIDTrackingNumber?: string;
|
|
106
106
|
bankPayoutId?: string;
|
|
107
107
|
CEPLink?: string;
|
|
108
|
+
fee?: number;
|
|
109
|
+
feeCurrency?: Crypto | Fiat;
|
|
108
110
|
sentAt?: Date;
|
|
109
111
|
}[];
|
|
110
112
|
}
|
|
@@ -207,6 +209,9 @@ interface OrderDoc extends Document {
|
|
|
207
209
|
SPIDTrackingNumber?: string;
|
|
208
210
|
CEPLink?: string;
|
|
209
211
|
bankPayoutId?: string;
|
|
212
|
+
fee?: number;
|
|
213
|
+
feeCurrency?: Crypto | Fiat;
|
|
214
|
+
sentAt?: Date;
|
|
210
215
|
}[];
|
|
211
216
|
payoutTransferLimit?: number;
|
|
212
217
|
paymentReceivedAt?: Date;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riocrypto/common-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2094",
|
|
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.1840",
|
|
32
32
|
"@types/express": "^4.17.13",
|
|
33
33
|
"axios": "^1.7.4",
|
|
34
34
|
"crypto-js": "^4.2.0",
|