@bzbs/react-api-client 0.1.11 → 0.1.12

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
@@ -1118,6 +1118,12 @@ declare class AuthenticateApi extends BaseService {
1118
1118
  deviceLogin(params: {
1119
1119
  appId: string;
1120
1120
  uuid: string;
1121
+ deviceLocale: string;
1122
+ os: string;
1123
+ platform: string;
1124
+ deviceNotificationEnabled: boolean;
1125
+ clientVersion: string;
1126
+ deviceToken: string;
1121
1127
  options?: {
1122
1128
  [key: string]: unknown;
1123
1129
  };
@@ -1137,6 +1143,12 @@ declare class AuthenticateApi extends BaseService {
1137
1143
  accessToken: string;
1138
1144
  appId: string;
1139
1145
  uuid: string;
1146
+ deviceLocale: string;
1147
+ os: string;
1148
+ platform: string;
1149
+ deviceNotificationEnabled: boolean;
1150
+ clientVersion: string;
1151
+ deviceToken: string;
1140
1152
  options?: {
1141
1153
  [key: string]: unknown;
1142
1154
  };
@@ -1156,6 +1168,12 @@ declare class AuthenticateApi extends BaseService {
1156
1168
  idToken: string;
1157
1169
  appId: string;
1158
1170
  uuid: string;
1171
+ deviceLocale: string;
1172
+ os: string;
1173
+ platform: string;
1174
+ deviceNotificationEnabled: boolean;
1175
+ clientVersion: string;
1176
+ deviceToken: string;
1159
1177
  options?: {
1160
1178
  [key: string]: unknown;
1161
1179
  };
@@ -1178,6 +1196,12 @@ declare class AuthenticateApi extends BaseService {
1178
1196
  authorizationCode: string;
1179
1197
  appId: string;
1180
1198
  uuid: string;
1199
+ deviceLocale: string;
1200
+ os: string;
1201
+ platform: string;
1202
+ deviceNotificationEnabled: boolean;
1203
+ clientVersion: string;
1204
+ deviceToken: string;
1181
1205
  options?: {
1182
1206
  [key: string]: unknown;
1183
1207
  };
@@ -1199,6 +1223,12 @@ declare class AuthenticateApi extends BaseService {
1199
1223
  refreshToken: string;
1200
1224
  appId: string;
1201
1225
  uuid: string;
1226
+ deviceLocale: string;
1227
+ os: string;
1228
+ platform: string;
1229
+ deviceNotificationEnabled: boolean;
1230
+ clientVersion: string;
1231
+ deviceToken: string;
1202
1232
  options?: {
1203
1233
  [key: string]: unknown;
1204
1234
  };
@@ -1217,8 +1247,14 @@ declare class AuthenticateApi extends BaseService {
1217
1247
  usernamePasswordLogin(params: {
1218
1248
  username: string;
1219
1249
  password: string;
1220
- uuid: string;
1221
1250
  appId: string;
1251
+ uuid: string;
1252
+ deviceLocale: string;
1253
+ os: string;
1254
+ platform: string;
1255
+ deviceNotificationEnabled: boolean;
1256
+ clientVersion: string;
1257
+ deviceToken: string;
1222
1258
  options?: {
1223
1259
  [key: string]: unknown;
1224
1260
  };
package/dist/index.d.ts CHANGED
@@ -1118,6 +1118,12 @@ declare class AuthenticateApi extends BaseService {
1118
1118
  deviceLogin(params: {
1119
1119
  appId: string;
1120
1120
  uuid: string;
1121
+ deviceLocale: string;
1122
+ os: string;
1123
+ platform: string;
1124
+ deviceNotificationEnabled: boolean;
1125
+ clientVersion: string;
1126
+ deviceToken: string;
1121
1127
  options?: {
1122
1128
  [key: string]: unknown;
1123
1129
  };
@@ -1137,6 +1143,12 @@ declare class AuthenticateApi extends BaseService {
1137
1143
  accessToken: string;
1138
1144
  appId: string;
1139
1145
  uuid: string;
1146
+ deviceLocale: string;
1147
+ os: string;
1148
+ platform: string;
1149
+ deviceNotificationEnabled: boolean;
1150
+ clientVersion: string;
1151
+ deviceToken: string;
1140
1152
  options?: {
1141
1153
  [key: string]: unknown;
1142
1154
  };
@@ -1156,6 +1168,12 @@ declare class AuthenticateApi extends BaseService {
1156
1168
  idToken: string;
1157
1169
  appId: string;
1158
1170
  uuid: string;
1171
+ deviceLocale: string;
1172
+ os: string;
1173
+ platform: string;
1174
+ deviceNotificationEnabled: boolean;
1175
+ clientVersion: string;
1176
+ deviceToken: string;
1159
1177
  options?: {
1160
1178
  [key: string]: unknown;
1161
1179
  };
@@ -1178,6 +1196,12 @@ declare class AuthenticateApi extends BaseService {
1178
1196
  authorizationCode: string;
1179
1197
  appId: string;
1180
1198
  uuid: string;
1199
+ deviceLocale: string;
1200
+ os: string;
1201
+ platform: string;
1202
+ deviceNotificationEnabled: boolean;
1203
+ clientVersion: string;
1204
+ deviceToken: string;
1181
1205
  options?: {
1182
1206
  [key: string]: unknown;
1183
1207
  };
@@ -1199,6 +1223,12 @@ declare class AuthenticateApi extends BaseService {
1199
1223
  refreshToken: string;
1200
1224
  appId: string;
1201
1225
  uuid: string;
1226
+ deviceLocale: string;
1227
+ os: string;
1228
+ platform: string;
1229
+ deviceNotificationEnabled: boolean;
1230
+ clientVersion: string;
1231
+ deviceToken: string;
1202
1232
  options?: {
1203
1233
  [key: string]: unknown;
1204
1234
  };
@@ -1217,8 +1247,14 @@ declare class AuthenticateApi extends BaseService {
1217
1247
  usernamePasswordLogin(params: {
1218
1248
  username: string;
1219
1249
  password: string;
1220
- uuid: string;
1221
1250
  appId: string;
1251
+ uuid: string;
1252
+ deviceLocale: string;
1253
+ os: string;
1254
+ platform: string;
1255
+ deviceNotificationEnabled: boolean;
1256
+ clientVersion: string;
1257
+ deviceToken: string;
1222
1258
  options?: {
1223
1259
  [key: string]: unknown;
1224
1260
  };
package/dist/index.js CHANGED
@@ -179,7 +179,12 @@ var AuthenticateApi = class extends BaseService {
179
179
  __spreadValues({
180
180
  app_id: params.appId,
181
181
  uuid: params.uuid,
182
- device_noti_enable: true
182
+ device_locale: params.deviceLocale,
183
+ os: params.os,
184
+ platform: params.platform,
185
+ device_noti_enable: true,
186
+ client_version: params.clientVersion,
187
+ device_token: params.deviceToken
183
188
  }, params.options),
184
189
  {
185
190
  headers: __spreadValues({
@@ -210,7 +215,12 @@ var AuthenticateApi = class extends BaseService {
210
215
  access_token: params.accessToken,
211
216
  app_id: params.appId,
212
217
  uuid: params.uuid,
213
- device_noti_enable: true
218
+ device_locale: params.deviceLocale,
219
+ os: params.os,
220
+ platform: params.platform,
221
+ device_noti_enable: true,
222
+ client_version: params.clientVersion,
223
+ device_token: params.deviceToken
214
224
  }, params.options),
215
225
  {
216
226
  headers: __spreadValues({
@@ -241,7 +251,12 @@ var AuthenticateApi = class extends BaseService {
241
251
  id_token: params.idToken,
242
252
  app_id: params.appId,
243
253
  uuid: params.uuid,
244
- device_noti_enable: true
254
+ device_locale: params.deviceLocale,
255
+ os: params.os,
256
+ platform: params.platform,
257
+ device_noti_enable: true,
258
+ client_version: params.clientVersion,
259
+ device_token: params.deviceToken
245
260
  }, params.options),
246
261
  {
247
262
  headers: __spreadValues({
@@ -275,7 +290,12 @@ var AuthenticateApi = class extends BaseService {
275
290
  authorization_code: params.authorizationCode,
276
291
  app_id: params.appId,
277
292
  uuid: params.uuid,
278
- device_noti_enable: "true"
293
+ device_locale: params.deviceLocale,
294
+ os: params.os,
295
+ platform: params.platform,
296
+ device_noti_enable: true,
297
+ client_version: params.clientVersion,
298
+ device_token: params.deviceToken
279
299
  }, params.options),
280
300
  {
281
301
  headers: __spreadValues({
@@ -308,7 +328,12 @@ var AuthenticateApi = class extends BaseService {
308
328
  refresh_token: params.refreshToken,
309
329
  app_id: params.appId,
310
330
  uuid: params.uuid,
311
- device_noti_enable: "true"
331
+ device_locale: params.deviceLocale,
332
+ os: params.os,
333
+ platform: params.platform,
334
+ device_noti_enable: true,
335
+ client_version: params.clientVersion,
336
+ device_token: params.deviceToken
312
337
  }, params.options),
313
338
  {
314
339
  headers: __spreadValues({
@@ -338,9 +363,14 @@ var AuthenticateApi = class extends BaseService {
338
363
  __spreadValues({
339
364
  username: params.username,
340
365
  password: params.password,
341
- uuid: params.uuid,
342
366
  app_id: params.appId,
343
- device_noti_enable: "true"
367
+ uuid: params.uuid,
368
+ device_locale: params.deviceLocale,
369
+ os: params.os,
370
+ platform: params.platform,
371
+ device_noti_enable: true,
372
+ client_version: params.clientVersion,
373
+ device_token: params.deviceToken
344
374
  }, params.options),
345
375
  {
346
376
  headers: __spreadValues({