@riocrypto/common-server 1.0.1695 → 1.0.1697

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.
@@ -31,10 +31,6 @@ const buildOnboarding = (mongoose) => {
31
31
  type: String,
32
32
  required: true,
33
33
  },
34
- result: {
35
- type: String,
36
- required: true,
37
- },
38
34
  }, {
39
35
  toJSON: {
40
36
  transform(doc, ret) {
@@ -52,8 +52,7 @@ interface UserAttrs {
52
52
  [country in CountryOfOrigin]?: {
53
53
  status?: OnboardingStatus;
54
54
  hasAcceptedTerms?: boolean;
55
- aiPriseId?: string;
56
- bridgeId?: string;
55
+ onboardingId?: string;
57
56
  personalId?: string;
58
57
  taxId?: string;
59
58
  immigrationStatus?: ImmigrationStatus;
@@ -162,8 +161,7 @@ interface UserDoc extends Document {
162
161
  [country in CountryOfOrigin]?: {
163
162
  status?: OnboardingStatus;
164
163
  hasAcceptedTerms?: boolean;
165
- aiPriseId?: string;
166
- bridgeId?: string;
164
+ onboardingId?: string;
167
165
  personalId?: string;
168
166
  taxId?: string;
169
167
  immigrationStatus?: ImmigrationStatus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1695",
3
+ "version": "1.0.1697",
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.1489",
29
+ "@riocrypto/common": "^1.0.1490",
30
30
  "@types/express": "^4.17.13",
31
31
  "axios": "^1.6.0",
32
32
  "crypto-js": "^4.2.0",