@bzbs/react-api-client 1.0.7 → 1.0.9
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 +11 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -486,6 +486,9 @@ interface CouponResponseData {
|
|
|
486
486
|
}
|
|
487
487
|
|
|
488
488
|
interface Dashboard {
|
|
489
|
+
name?: string;
|
|
490
|
+
config?: string;
|
|
491
|
+
icon_url?: string;
|
|
489
492
|
type?: string;
|
|
490
493
|
size?: string;
|
|
491
494
|
imgtype?: string;
|
|
@@ -1179,6 +1182,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1179
1182
|
deviceNotificationEnabled: boolean;
|
|
1180
1183
|
clientVersion: string;
|
|
1181
1184
|
deviceToken: string;
|
|
1185
|
+
macAddress: string;
|
|
1182
1186
|
options?: {
|
|
1183
1187
|
[key: string]: unknown;
|
|
1184
1188
|
};
|
|
@@ -1204,6 +1208,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1204
1208
|
deviceNotificationEnabled: boolean;
|
|
1205
1209
|
clientVersion: string;
|
|
1206
1210
|
deviceToken: string;
|
|
1211
|
+
macAddress: string;
|
|
1207
1212
|
options?: {
|
|
1208
1213
|
[key: string]: unknown;
|
|
1209
1214
|
};
|
|
@@ -1229,6 +1234,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1229
1234
|
deviceNotificationEnabled: boolean;
|
|
1230
1235
|
clientVersion: string;
|
|
1231
1236
|
deviceToken: string;
|
|
1237
|
+
macAddress: string;
|
|
1232
1238
|
options?: {
|
|
1233
1239
|
[key: string]: unknown;
|
|
1234
1240
|
};
|
|
@@ -1257,6 +1263,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1257
1263
|
deviceNotificationEnabled: boolean;
|
|
1258
1264
|
clientVersion: string;
|
|
1259
1265
|
deviceToken: string;
|
|
1266
|
+
macAddress: string;
|
|
1260
1267
|
options?: {
|
|
1261
1268
|
[key: string]: unknown;
|
|
1262
1269
|
};
|
|
@@ -1284,6 +1291,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1284
1291
|
deviceNotificationEnabled: boolean;
|
|
1285
1292
|
clientVersion: string;
|
|
1286
1293
|
deviceToken: string;
|
|
1294
|
+
macAddress: string;
|
|
1287
1295
|
options?: {
|
|
1288
1296
|
[key: string]: unknown;
|
|
1289
1297
|
};
|
|
@@ -1310,6 +1318,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1310
1318
|
deviceNotificationEnabled: boolean;
|
|
1311
1319
|
clientVersion: string;
|
|
1312
1320
|
deviceToken: string;
|
|
1321
|
+
macAddress: string;
|
|
1313
1322
|
options?: {
|
|
1314
1323
|
[key: string]: unknown;
|
|
1315
1324
|
};
|
|
@@ -1449,6 +1458,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1449
1458
|
appId: string;
|
|
1450
1459
|
clientVersion?: string;
|
|
1451
1460
|
deviceToken?: string;
|
|
1461
|
+
macAddress?: string;
|
|
1452
1462
|
options?: {
|
|
1453
1463
|
[key: string]: unknown;
|
|
1454
1464
|
};
|
|
@@ -1470,6 +1480,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1470
1480
|
appId: string;
|
|
1471
1481
|
clientVersion?: string;
|
|
1472
1482
|
deviceToken?: string;
|
|
1483
|
+
macAddress?: string;
|
|
1473
1484
|
options?: {
|
|
1474
1485
|
[key: string]: unknown;
|
|
1475
1486
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -486,6 +486,9 @@ interface CouponResponseData {
|
|
|
486
486
|
}
|
|
487
487
|
|
|
488
488
|
interface Dashboard {
|
|
489
|
+
name?: string;
|
|
490
|
+
config?: string;
|
|
491
|
+
icon_url?: string;
|
|
489
492
|
type?: string;
|
|
490
493
|
size?: string;
|
|
491
494
|
imgtype?: string;
|
|
@@ -1179,6 +1182,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1179
1182
|
deviceNotificationEnabled: boolean;
|
|
1180
1183
|
clientVersion: string;
|
|
1181
1184
|
deviceToken: string;
|
|
1185
|
+
macAddress: string;
|
|
1182
1186
|
options?: {
|
|
1183
1187
|
[key: string]: unknown;
|
|
1184
1188
|
};
|
|
@@ -1204,6 +1208,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1204
1208
|
deviceNotificationEnabled: boolean;
|
|
1205
1209
|
clientVersion: string;
|
|
1206
1210
|
deviceToken: string;
|
|
1211
|
+
macAddress: string;
|
|
1207
1212
|
options?: {
|
|
1208
1213
|
[key: string]: unknown;
|
|
1209
1214
|
};
|
|
@@ -1229,6 +1234,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1229
1234
|
deviceNotificationEnabled: boolean;
|
|
1230
1235
|
clientVersion: string;
|
|
1231
1236
|
deviceToken: string;
|
|
1237
|
+
macAddress: string;
|
|
1232
1238
|
options?: {
|
|
1233
1239
|
[key: string]: unknown;
|
|
1234
1240
|
};
|
|
@@ -1257,6 +1263,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1257
1263
|
deviceNotificationEnabled: boolean;
|
|
1258
1264
|
clientVersion: string;
|
|
1259
1265
|
deviceToken: string;
|
|
1266
|
+
macAddress: string;
|
|
1260
1267
|
options?: {
|
|
1261
1268
|
[key: string]: unknown;
|
|
1262
1269
|
};
|
|
@@ -1284,6 +1291,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1284
1291
|
deviceNotificationEnabled: boolean;
|
|
1285
1292
|
clientVersion: string;
|
|
1286
1293
|
deviceToken: string;
|
|
1294
|
+
macAddress: string;
|
|
1287
1295
|
options?: {
|
|
1288
1296
|
[key: string]: unknown;
|
|
1289
1297
|
};
|
|
@@ -1310,6 +1318,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1310
1318
|
deviceNotificationEnabled: boolean;
|
|
1311
1319
|
clientVersion: string;
|
|
1312
1320
|
deviceToken: string;
|
|
1321
|
+
macAddress: string;
|
|
1313
1322
|
options?: {
|
|
1314
1323
|
[key: string]: unknown;
|
|
1315
1324
|
};
|
|
@@ -1449,6 +1458,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1449
1458
|
appId: string;
|
|
1450
1459
|
clientVersion?: string;
|
|
1451
1460
|
deviceToken?: string;
|
|
1461
|
+
macAddress?: string;
|
|
1452
1462
|
options?: {
|
|
1453
1463
|
[key: string]: unknown;
|
|
1454
1464
|
};
|
|
@@ -1470,6 +1480,7 @@ declare class AuthenticateApi extends BaseService {
|
|
|
1470
1480
|
appId: string;
|
|
1471
1481
|
clientVersion?: string;
|
|
1472
1482
|
deviceToken?: string;
|
|
1483
|
+
macAddress?: string;
|
|
1473
1484
|
options?: {
|
|
1474
1485
|
[key: string]: unknown;
|
|
1475
1486
|
};
|
package/dist/index.js
CHANGED
|
@@ -221,6 +221,7 @@ var AuthenticateApi = class extends BaseService {
|
|
|
221
221
|
device_locale: params.deviceLocale,
|
|
222
222
|
os: params.os,
|
|
223
223
|
platform: params.platform,
|
|
224
|
+
mac_address: params.macAddress,
|
|
224
225
|
device_noti_enable: true,
|
|
225
226
|
client_version: params.clientVersion,
|
|
226
227
|
device_token: params.deviceToken
|
|
@@ -257,6 +258,7 @@ var AuthenticateApi = class extends BaseService {
|
|
|
257
258
|
device_locale: params.deviceLocale,
|
|
258
259
|
os: params.os,
|
|
259
260
|
platform: params.platform,
|
|
261
|
+
mac_address: params.macAddress,
|
|
260
262
|
device_noti_enable: true,
|
|
261
263
|
client_version: params.clientVersion,
|
|
262
264
|
device_token: params.deviceToken
|
|
@@ -293,6 +295,7 @@ var AuthenticateApi = class extends BaseService {
|
|
|
293
295
|
device_locale: params.deviceLocale,
|
|
294
296
|
os: params.os,
|
|
295
297
|
platform: params.platform,
|
|
298
|
+
mac_address: params.macAddress,
|
|
296
299
|
device_noti_enable: true,
|
|
297
300
|
client_version: params.clientVersion,
|
|
298
301
|
device_token: params.deviceToken
|
|
@@ -332,6 +335,7 @@ var AuthenticateApi = class extends BaseService {
|
|
|
332
335
|
device_locale: params.deviceLocale,
|
|
333
336
|
os: params.os,
|
|
334
337
|
platform: params.platform,
|
|
338
|
+
mac_address: params.macAddress,
|
|
335
339
|
device_noti_enable: true,
|
|
336
340
|
client_version: params.clientVersion,
|
|
337
341
|
device_token: params.deviceToken
|
|
@@ -370,6 +374,7 @@ var AuthenticateApi = class extends BaseService {
|
|
|
370
374
|
device_locale: params.deviceLocale,
|
|
371
375
|
os: params.os,
|
|
372
376
|
platform: params.platform,
|
|
377
|
+
mac_address: params.macAddress,
|
|
373
378
|
device_noti_enable: true,
|
|
374
379
|
client_version: params.clientVersion,
|
|
375
380
|
device_token: params.deviceToken
|
|
@@ -407,6 +412,7 @@ var AuthenticateApi = class extends BaseService {
|
|
|
407
412
|
device_locale: params.deviceLocale,
|
|
408
413
|
os: params.os,
|
|
409
414
|
platform: params.platform,
|
|
415
|
+
mac_address: params.macAddress,
|
|
410
416
|
device_noti_enable: true,
|
|
411
417
|
client_version: params.clientVersion,
|
|
412
418
|
device_token: params.deviceToken
|
|
@@ -605,7 +611,8 @@ var AuthenticateApi = class extends BaseService {
|
|
|
605
611
|
uuid: params.uuid,
|
|
606
612
|
app_id: params.appId,
|
|
607
613
|
client_version: params.clientVersion,
|
|
608
|
-
device_token: params.deviceToken
|
|
614
|
+
device_token: params.deviceToken,
|
|
615
|
+
mac_address: params.macAddress
|
|
609
616
|
}, params.options),
|
|
610
617
|
{
|
|
611
618
|
headers: __spreadValues({
|
|
@@ -637,7 +644,8 @@ var AuthenticateApi = class extends BaseService {
|
|
|
637
644
|
uuid: params.uuid,
|
|
638
645
|
app_id: params.appId,
|
|
639
646
|
client_version: params.clientVersion,
|
|
640
|
-
device_token: params.deviceToken
|
|
647
|
+
device_token: params.deviceToken,
|
|
648
|
+
mac_address: params.macAddress
|
|
641
649
|
}, params.options),
|
|
642
650
|
{
|
|
643
651
|
headers: __spreadValues({
|