@riocrypto/common 1.0.1495 → 1.0.1497

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.
@@ -109,11 +109,12 @@ export declare class RioAdminClient {
109
109
  id: string;
110
110
  kycLink: string;
111
111
  }>;
112
- createUSOnboardingByLinks({ userType, firstName, middleName, lastName, secondLastName, email, brokerId, }: {
112
+ createUSOnboardingByLink({ userType, businessName, firstName, middleName, lastName, secondLastName, email, brokerId, }: {
113
113
  userType: UserType;
114
- firstName: string;
114
+ businessName?: string;
115
+ firstName?: string;
115
116
  middleName?: string;
116
- lastName: string;
117
+ lastName?: string;
117
118
  secondLastName?: string;
118
119
  email: string;
119
120
  brokerId?: string;
@@ -260,10 +260,11 @@ class RioAdminClient {
260
260
  return data;
261
261
  });
262
262
  }
263
- createUSOnboardingByLinks({ userType, firstName, middleName, lastName, secondLastName, email, brokerId, }) {
263
+ createUSOnboardingByLink({ userType, businessName, firstName, middleName, lastName, secondLastName, email, brokerId, }) {
264
264
  return __awaiter(this, void 0, void 0, function* () {
265
265
  const { data } = yield this.axios.post("/api/onboardings/US/link", {
266
266
  userType,
267
+ businessName,
267
268
  firstName,
268
269
  middleName,
269
270
  lastName,
@@ -194,11 +194,12 @@ export declare class RioClient {
194
194
  id: string;
195
195
  kycLink: string;
196
196
  }>;
197
- createUSOnboardingByLinks({ userType, firstName, middleName, lastName, secondLastName, email, brokerId, }: {
197
+ createUSOnboardingByLink({ userType, businessName, firstName, middleName, lastName, secondLastName, email, brokerId, }: {
198
198
  userType: UserType;
199
- firstName: string;
199
+ businessName?: string;
200
+ firstName?: string;
200
201
  middleName?: string;
201
- lastName: string;
202
+ lastName?: string;
202
203
  secondLastName?: string;
203
204
  email: string;
204
205
  brokerId?: string;
@@ -741,7 +741,7 @@ class RioClient {
741
741
  return data;
742
742
  });
743
743
  }
744
- createUSOnboardingByLinks({ userType, firstName, middleName, lastName, secondLastName, email, brokerId, }) {
744
+ createUSOnboardingByLink({ userType, businessName, firstName, middleName, lastName, secondLastName, email, brokerId, }) {
745
745
  return __awaiter(this, void 0, void 0, function* () {
746
746
  const { data } = yield this.axios.post("/api/onboardings/US/link", {
747
747
  userType,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1495",
3
+ "version": "1.0.1497",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",