@riocrypto/common-server 1.0.2368 → 1.0.2370

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.
@@ -6,6 +6,7 @@ declare class BridgeClient {
6
6
  constructor(apiKey: string);
7
7
  createKYCLink(fullName: string, email: string, userType: UserType): Promise<{
8
8
  id: string;
9
+ customer_id: string;
9
10
  email: string;
10
11
  type: "individual" | "business";
11
12
  kyc_link: string;
@@ -71,8 +71,10 @@ interface UserAttrs {
71
71
  authorizedPhoneNumbers?: string[];
72
72
  onboarding: {
73
73
  country: Country;
74
- aipriseProfileId?: string;
75
- aipriseVerificationSessionUrl?: string;
74
+ aipriseBusinessProfileId?: string;
75
+ aipriseUserProfileId?: string;
76
+ aipriseBusinessVerificationSessionUrl?: string;
77
+ aipriseUserVerificationSessionUrl?: string;
76
78
  bridgeCustomerId?: string;
77
79
  bridgeKYCLinkId?: string;
78
80
  status: OnboardingStatus;
@@ -183,9 +185,11 @@ interface UserDoc extends Document {
183
185
  authorizedPhoneNumbers?: string[];
184
186
  onboarding: {
185
187
  country: Country;
186
- aipriseProfileId?: string;
187
- aipriseVerificationSessionUrl?: string;
188
+ aipriseBusinessProfileId?: string;
189
+ aipriseUserProfileId?: string;
188
190
  bridgeCustomerId?: string;
191
+ aipriseBusinessVerificationSessionUrl?: string;
192
+ aipriseUserVerificationSessionUrl?: string;
189
193
  bridgeKYCLinkId?: string;
190
194
  status: OnboardingStatus;
191
195
  hasAcceptedTerms: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2368",
3
+ "version": "1.0.2370",
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.2089",
31
+ "@riocrypto/common": "^1.0.2091",
32
32
  "@types/express": "^4.17.13",
33
33
  "axios": "^1.7.4",
34
34
  "crypto-js": "^4.2.0",