@riocrypto/common-server 1.0.1625 → 1.0.1626
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.
|
@@ -4,6 +4,7 @@ interface AddressVerificationAttrs {
|
|
|
4
4
|
addressId: string;
|
|
5
5
|
status: AddressVerificationStatus;
|
|
6
6
|
amount: number;
|
|
7
|
+
advancedVerificationStatus?: AddressVerificationStatus;
|
|
7
8
|
}
|
|
8
9
|
interface AddressVerificationModel extends Model<AddressVerificationDoc> {
|
|
9
10
|
build(attrs: AddressVerificationAttrs): AddressVerificationDoc;
|
|
@@ -13,6 +14,7 @@ interface AddressVerificationDoc extends Document {
|
|
|
13
14
|
addressId: string;
|
|
14
15
|
status: AddressVerificationStatus;
|
|
15
16
|
amount: number;
|
|
17
|
+
advancedVerificationStatus?: AddressVerificationStatus;
|
|
16
18
|
}
|
|
17
19
|
declare const buildAddressVerification: (mongoose: Mongoose) => AddressVerificationModel;
|
|
18
20
|
export { buildAddressVerification, AddressVerificationDoc, AddressVerificationAttrs, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Country, Fiat } from "@riocrypto/common";
|
|
1
|
+
import { BankAccountVerificationStatus, Country, Fiat } from "@riocrypto/common";
|
|
2
2
|
import { Mongoose, Model, Document } from "mongoose";
|
|
3
3
|
interface BankAccountAttrs {
|
|
4
4
|
createdAt: Date;
|
|
@@ -13,6 +13,7 @@ interface BankAccountAttrs {
|
|
|
13
13
|
CCI?: string;
|
|
14
14
|
CLABE?: string;
|
|
15
15
|
notes?: string;
|
|
16
|
+
advancedVerificationStatus?: BankAccountVerificationStatus;
|
|
16
17
|
}
|
|
17
18
|
interface BankAccountDoc extends Document {
|
|
18
19
|
createdAt: Date;
|
|
@@ -27,6 +28,7 @@ interface BankAccountDoc extends Document {
|
|
|
27
28
|
CCI?: string;
|
|
28
29
|
CLABE?: string;
|
|
29
30
|
notes?: string;
|
|
31
|
+
advancedVerificationStatus?: BankAccountVerificationStatus;
|
|
30
32
|
}
|
|
31
33
|
interface BankAccountModel extends Model<BankAccountDoc> {
|
|
32
34
|
build(attrs: BankAccountAttrs): BankAccountDoc;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riocrypto/common-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1626",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@google-cloud/storage": "^6.9.5",
|
|
29
29
|
"@google-cloud/vision": "^4.0.2",
|
|
30
30
|
"@hyperdx/node-opentelemetry": "^0.4.2",
|
|
31
|
-
"@riocrypto/common": "^1.0.
|
|
31
|
+
"@riocrypto/common": "^1.0.1457",
|
|
32
32
|
"@types/express": "^4.17.13",
|
|
33
33
|
"axios": "^1.6.0",
|
|
34
34
|
"ccxt": "^3.0.30",
|