@riocrypto/common 1.0.1291 → 1.0.1293

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.
@@ -63,7 +63,7 @@ export declare class RioAdminClient {
63
63
  }>;
64
64
  uploadFile(id: string, country: CountryOfOrigin, fileType: KYCFileType, formData: FormData): Promise<User>;
65
65
  getUBO(id: string): Promise<UBO>;
66
- sendUBOOnboardingEmail(associatedUserId: string, country: Country): Promise<void>;
66
+ sendUBOOnboardingEmail(email: string, associatedUserId: string, country: Country): Promise<void>;
67
67
  getUBOS(page: number, limit?: number): Promise<UBO[]>;
68
68
  updateUBO(update: UBOUpdate, uboId?: string): Promise<UBO>;
69
69
  getUBOOnboardingRequirements(country: Country, countryOfOrigin: CountryOfOrigin): Promise<{
@@ -116,11 +116,12 @@ class RioAdminClient {
116
116
  return data;
117
117
  });
118
118
  }
119
- sendUBOOnboardingEmail(associatedUserId, country) {
119
+ sendUBOOnboardingEmail(email, associatedUserId, country) {
120
120
  return __awaiter(this, void 0, void 0, function* () {
121
121
  yield this.axios.post("/api/ubos/onboarding-email", {
122
122
  associatedUserId,
123
123
  country,
124
+ email,
124
125
  });
125
126
  });
126
127
  }
@@ -56,7 +56,7 @@ export declare class RioClient {
56
56
  getRioSettings(): Promise<RioSettings>;
57
57
  sendVerificationEmail(userId: string, country: Country): Promise<void>;
58
58
  sendUBOVerificationEmail(uboId: string, country: Country): Promise<void>;
59
- sendUBOOnboardingEmail(associatedUserId: string, country: Country): Promise<void>;
59
+ sendUBOOnboardingEmail(email: string, associatedUserId: string, country: Country): Promise<void>;
60
60
  sendBridgeOnboardingEmail(userId: string): Promise<void>;
61
61
  getOnboardingRequirements(userType: UserType, country: Country, countryOfOrigin: CountryOfOrigin): Promise<{
62
62
  textRequirements: ("personalId" | "taxId")[];
@@ -139,11 +139,12 @@ class RioClient {
139
139
  });
140
140
  });
141
141
  }
142
- sendUBOOnboardingEmail(associatedUserId, country) {
142
+ sendUBOOnboardingEmail(email, associatedUserId, country) {
143
143
  return __awaiter(this, void 0, void 0, function* () {
144
144
  yield this.axios.post("/api/ubos/onboarding-email", {
145
145
  associatedUserId,
146
146
  country,
147
+ email,
147
148
  });
148
149
  });
149
150
  }
@@ -61,7 +61,6 @@ export declare type UserInput = {
61
61
  individualIdentityVerification?: {
62
62
  status?: "passed" | "failed" | "review";
63
63
  };
64
- UBOOnboardingStatus?: OnboardingStatus;
65
64
  legalRepresentative?: {
66
65
  firstName?: string;
67
66
  middleName?: string;
@@ -66,7 +66,6 @@ export declare type UserUpdate = {
66
66
  individualIdentityVerification?: {
67
67
  status?: "passed" | "failed" | "review";
68
68
  };
69
- UBOOnboardingStatus?: OnboardingStatus;
70
69
  files?: {
71
70
  certificateOfIncorporation?: string;
72
71
  KYCReport?: string;
@@ -68,7 +68,6 @@ export declare type User = {
68
68
  individualIdentityVerification?: {
69
69
  status?: "passed" | "failed" | "review";
70
70
  };
71
- UBOOnboardingStatus?: OnboardingStatus;
72
71
  legalRepresentative?: {
73
72
  firstName?: string;
74
73
  middleName?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1291",
3
+ "version": "1.0.1293",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",