@bzbs/react-api-client 1.0.9 → 1.0.10

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 CHANGED
@@ -1169,6 +1169,9 @@ declare class AuthenticateApi extends BaseService {
1169
1169
  * @param params - The parameters.
1170
1170
  * @param params.appId - Your application id.
1171
1171
  * @param params.uuid - The unique device identifier.
1172
+ * @param params.otp - The OTP to confirm. (For Login with OTP only)
1173
+ * @param params.refcode - The reference code for the OTP. (For Login with OTP only)
1174
+ * @param params.contact_number - The contact number for the user. (For Login with OTP only)
1172
1175
  * @param params.options - (Optional) Additional params for the request.
1173
1176
  * @param requestOptions - Optional request options.
1174
1177
  * @returns A promise that resolves to a ServiceResponse containing the login response.
@@ -1183,6 +1186,9 @@ declare class AuthenticateApi extends BaseService {
1183
1186
  clientVersion: string;
1184
1187
  deviceToken: string;
1185
1188
  macAddress: string;
1189
+ otp?: string;
1190
+ refcode?: string;
1191
+ contact_number?: string;
1186
1192
  options?: {
1187
1193
  [key: string]: unknown;
1188
1194
  };
package/dist/index.d.ts CHANGED
@@ -1169,6 +1169,9 @@ declare class AuthenticateApi extends BaseService {
1169
1169
  * @param params - The parameters.
1170
1170
  * @param params.appId - Your application id.
1171
1171
  * @param params.uuid - The unique device identifier.
1172
+ * @param params.otp - The OTP to confirm. (For Login with OTP only)
1173
+ * @param params.refcode - The reference code for the OTP. (For Login with OTP only)
1174
+ * @param params.contact_number - The contact number for the user. (For Login with OTP only)
1172
1175
  * @param params.options - (Optional) Additional params for the request.
1173
1176
  * @param requestOptions - Optional request options.
1174
1177
  * @returns A promise that resolves to a ServiceResponse containing the login response.
@@ -1183,6 +1186,9 @@ declare class AuthenticateApi extends BaseService {
1183
1186
  clientVersion: string;
1184
1187
  deviceToken: string;
1185
1188
  macAddress: string;
1189
+ otp?: string;
1190
+ refcode?: string;
1191
+ contact_number?: string;
1186
1192
  options?: {
1187
1193
  [key: string]: unknown;
1188
1194
  };
package/dist/index.js CHANGED
@@ -207,6 +207,9 @@ var AuthenticateApi = class extends BaseService {
207
207
  * @param params - The parameters.
208
208
  * @param params.appId - Your application id.
209
209
  * @param params.uuid - The unique device identifier.
210
+ * @param params.otp - The OTP to confirm. (For Login with OTP only)
211
+ * @param params.refcode - The reference code for the OTP. (For Login with OTP only)
212
+ * @param params.contact_number - The contact number for the user. (For Login with OTP only)
210
213
  * @param params.options - (Optional) Additional params for the request.
211
214
  * @param requestOptions - Optional request options.
212
215
  * @returns A promise that resolves to a ServiceResponse containing the login response.
@@ -224,7 +227,10 @@ var AuthenticateApi = class extends BaseService {
224
227
  mac_address: params.macAddress,
225
228
  device_noti_enable: true,
226
229
  client_version: params.clientVersion,
227
- device_token: params.deviceToken
230
+ device_token: params.deviceToken,
231
+ otp: params.otp,
232
+ refcode: params.refcode,
233
+ contact_number: params.contact_number
228
234
  }, params.options),
229
235
  {
230
236
  headers: __spreadValues({