@riocrypto/common-server 1.0.1692 → 1.0.1694
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.
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { Country } from "@riocrypto/common";
|
|
2
2
|
import mongoose from "mongoose";
|
|
3
3
|
interface OnboardingAttrs {
|
|
4
|
-
brokerId?: string;
|
|
5
|
-
authId?: string;
|
|
6
|
-
aiPriseId: string;
|
|
7
4
|
country: Country;
|
|
8
5
|
status: "approved" | "declined" | "pending" | "review" | "error";
|
|
9
|
-
}
|
|
10
|
-
interface OnboardingDoc extends mongoose.Document {
|
|
11
6
|
brokerId?: string;
|
|
12
7
|
authId?: string;
|
|
13
|
-
aiPriseId
|
|
8
|
+
aiPriseId?: string;
|
|
9
|
+
}
|
|
10
|
+
interface OnboardingDoc extends mongoose.Document {
|
|
14
11
|
country: Country;
|
|
15
12
|
status: "approved" | "declined" | "pending" | "review" | "error";
|
|
13
|
+
brokerId?: string;
|
|
14
|
+
authId?: string;
|
|
15
|
+
aiPriseId?: string;
|
|
16
16
|
}
|
|
17
17
|
interface OnboardingModel extends mongoose.Model<OnboardingDoc> {
|
|
18
18
|
build(attrs: OnboardingAttrs): OnboardingDoc;
|
package/build/models/user.d.ts
CHANGED
|
@@ -51,9 +51,11 @@ interface UserAttrs {
|
|
|
51
51
|
onboarding?: {
|
|
52
52
|
[country in CountryOfOrigin]?: {
|
|
53
53
|
status?: OnboardingStatus;
|
|
54
|
+
hasAcceptedTerms?: boolean;
|
|
55
|
+
aiPriseId?: string;
|
|
56
|
+
bridgeId?: string;
|
|
54
57
|
personalId?: string;
|
|
55
58
|
taxId?: string;
|
|
56
|
-
hasAcceptedTerms?: boolean;
|
|
57
59
|
immigrationStatus?: ImmigrationStatus;
|
|
58
60
|
individualIdentityVerification?: {
|
|
59
61
|
status?: "passed" | "failed" | "review";
|
|
@@ -159,9 +161,11 @@ interface UserDoc extends Document {
|
|
|
159
161
|
onboarding?: {
|
|
160
162
|
[country in CountryOfOrigin]?: {
|
|
161
163
|
status?: OnboardingStatus;
|
|
164
|
+
hasAcceptedTerms?: boolean;
|
|
165
|
+
aiPriseId?: string;
|
|
166
|
+
bridgeId?: string;
|
|
162
167
|
personalId?: string;
|
|
163
168
|
taxId?: string;
|
|
164
|
-
hasAcceptedTerms?: boolean;
|
|
165
169
|
immigrationStatus?: ImmigrationStatus;
|
|
166
170
|
individualIdentityVerification?: {
|
|
167
171
|
status?: "passed" | "failed" | "review";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riocrypto/common-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1694",
|
|
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.1489",
|
|
30
30
|
"@types/express": "^4.17.13",
|
|
31
31
|
"axios": "^1.6.0",
|
|
32
32
|
"crypto-js": "^4.2.0",
|