@bzbs/react-api-client 1.0.8 → 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.mjs CHANGED
@@ -164,6 +164,9 @@ var AuthenticateApi = class extends BaseService {
164
164
  * @param params - The parameters.
165
165
  * @param params.appId - Your application id.
166
166
  * @param params.uuid - The unique device identifier.
167
+ * @param params.otp - The OTP to confirm. (For Login with OTP only)
168
+ * @param params.refcode - The reference code for the OTP. (For Login with OTP only)
169
+ * @param params.contact_number - The contact number for the user. (For Login with OTP only)
167
170
  * @param params.options - (Optional) Additional params for the request.
168
171
  * @param requestOptions - Optional request options.
169
172
  * @returns A promise that resolves to a ServiceResponse containing the login response.
@@ -178,9 +181,13 @@ var AuthenticateApi = class extends BaseService {
178
181
  device_locale: params.deviceLocale,
179
182
  os: params.os,
180
183
  platform: params.platform,
184
+ mac_address: params.macAddress,
181
185
  device_noti_enable: true,
182
186
  client_version: params.clientVersion,
183
- device_token: params.deviceToken
187
+ device_token: params.deviceToken,
188
+ otp: params.otp,
189
+ refcode: params.refcode,
190
+ contact_number: params.contact_number
184
191
  }, params.options),
185
192
  {
186
193
  headers: __spreadValues({
@@ -214,6 +221,7 @@ var AuthenticateApi = class extends BaseService {
214
221
  device_locale: params.deviceLocale,
215
222
  os: params.os,
216
223
  platform: params.platform,
224
+ mac_address: params.macAddress,
217
225
  device_noti_enable: true,
218
226
  client_version: params.clientVersion,
219
227
  device_token: params.deviceToken
@@ -250,6 +258,7 @@ var AuthenticateApi = class extends BaseService {
250
258
  device_locale: params.deviceLocale,
251
259
  os: params.os,
252
260
  platform: params.platform,
261
+ mac_address: params.macAddress,
253
262
  device_noti_enable: true,
254
263
  client_version: params.clientVersion,
255
264
  device_token: params.deviceToken
@@ -289,6 +298,7 @@ var AuthenticateApi = class extends BaseService {
289
298
  device_locale: params.deviceLocale,
290
299
  os: params.os,
291
300
  platform: params.platform,
301
+ mac_address: params.macAddress,
292
302
  device_noti_enable: true,
293
303
  client_version: params.clientVersion,
294
304
  device_token: params.deviceToken
@@ -327,6 +337,7 @@ var AuthenticateApi = class extends BaseService {
327
337
  device_locale: params.deviceLocale,
328
338
  os: params.os,
329
339
  platform: params.platform,
340
+ mac_address: params.macAddress,
330
341
  device_noti_enable: true,
331
342
  client_version: params.clientVersion,
332
343
  device_token: params.deviceToken
@@ -364,6 +375,7 @@ var AuthenticateApi = class extends BaseService {
364
375
  device_locale: params.deviceLocale,
365
376
  os: params.os,
366
377
  platform: params.platform,
378
+ mac_address: params.macAddress,
367
379
  device_noti_enable: true,
368
380
  client_version: params.clientVersion,
369
381
  device_token: params.deviceToken
@@ -562,7 +574,8 @@ var AuthenticateApi = class extends BaseService {
562
574
  uuid: params.uuid,
563
575
  app_id: params.appId,
564
576
  client_version: params.clientVersion,
565
- device_token: params.deviceToken
577
+ device_token: params.deviceToken,
578
+ mac_address: params.macAddress
566
579
  }, params.options),
567
580
  {
568
581
  headers: __spreadValues({
@@ -594,7 +607,8 @@ var AuthenticateApi = class extends BaseService {
594
607
  uuid: params.uuid,
595
608
  app_id: params.appId,
596
609
  client_version: params.clientVersion,
597
- device_token: params.deviceToken
610
+ device_token: params.deviceToken,
611
+ mac_address: params.macAddress
598
612
  }, params.options),
599
613
  {
600
614
  headers: __spreadValues({