@bzbs/react-api-client 1.4.0 → 1.4.1
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.
- package/dist/index.d.mts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2575,6 +2575,12 @@ declare class RegistrationApi extends BaseService {
|
|
|
2575
2575
|
constructor(client: AxiosInstance, baseUrl: string);
|
|
2576
2576
|
/**
|
|
2577
2577
|
* Validates registration information before actual registration.
|
|
2578
|
+
* This also triggers the backend to send OTP to the contact number or email.
|
|
2579
|
+
* Please refrain from using this API along with request otp API.
|
|
2580
|
+
* Possible error codes:
|
|
2581
|
+
* 2078 - Duplicate contact number
|
|
2582
|
+
* 2089 - Duplicate email
|
|
2583
|
+
* 401 - Duplicate username
|
|
2578
2584
|
*
|
|
2579
2585
|
* @param params - The validation parameters.
|
|
2580
2586
|
* @param params.appId - The application ID.
|
|
@@ -2589,7 +2595,7 @@ declare class RegistrationApi extends BaseService {
|
|
|
2589
2595
|
username: string;
|
|
2590
2596
|
email: string;
|
|
2591
2597
|
contactNumber: string;
|
|
2592
|
-
}, requestOptions?: RequestOptions): Promise<ServiceResponse<
|
|
2598
|
+
}, requestOptions?: RequestOptions): Promise<ServiceResponse<OtpResponse>>;
|
|
2593
2599
|
/**
|
|
2594
2600
|
* Registers a user with the provided registration parameters.
|
|
2595
2601
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -2575,6 +2575,12 @@ declare class RegistrationApi extends BaseService {
|
|
|
2575
2575
|
constructor(client: AxiosInstance, baseUrl: string);
|
|
2576
2576
|
/**
|
|
2577
2577
|
* Validates registration information before actual registration.
|
|
2578
|
+
* This also triggers the backend to send OTP to the contact number or email.
|
|
2579
|
+
* Please refrain from using this API along with request otp API.
|
|
2580
|
+
* Possible error codes:
|
|
2581
|
+
* 2078 - Duplicate contact number
|
|
2582
|
+
* 2089 - Duplicate email
|
|
2583
|
+
* 401 - Duplicate username
|
|
2578
2584
|
*
|
|
2579
2585
|
* @param params - The validation parameters.
|
|
2580
2586
|
* @param params.appId - The application ID.
|
|
@@ -2589,7 +2595,7 @@ declare class RegistrationApi extends BaseService {
|
|
|
2589
2595
|
username: string;
|
|
2590
2596
|
email: string;
|
|
2591
2597
|
contactNumber: string;
|
|
2592
|
-
}, requestOptions?: RequestOptions): Promise<ServiceResponse<
|
|
2598
|
+
}, requestOptions?: RequestOptions): Promise<ServiceResponse<OtpResponse>>;
|
|
2593
2599
|
/**
|
|
2594
2600
|
* Registers a user with the provided registration parameters.
|
|
2595
2601
|
*
|
package/dist/index.js
CHANGED
|
@@ -2074,7 +2074,13 @@ var RegistrationApi = class extends BaseService {
|
|
|
2074
2074
|
super(client, baseUrl);
|
|
2075
2075
|
}
|
|
2076
2076
|
/**
|
|
2077
|
-
* Validates registration information before actual registration.
|
|
2077
|
+
* Validates registration information before actual registration.
|
|
2078
|
+
* This also triggers the backend to send OTP to the contact number or email.
|
|
2079
|
+
* Please refrain from using this API along with request otp API.
|
|
2080
|
+
* Possible error codes:
|
|
2081
|
+
* 2078 - Duplicate contact number
|
|
2082
|
+
* 2089 - Duplicate email
|
|
2083
|
+
* 401 - Duplicate username
|
|
2078
2084
|
*
|
|
2079
2085
|
* @param params - The validation parameters.
|
|
2080
2086
|
* @param params.appId - The application ID.
|