@bytexbyte/berify-analytics-api 1.3.14 → 1.3.16

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.
@@ -86,7 +86,7 @@ export type ScanRateType = {
86
86
  export type BatchScanDataRequest = {
87
87
  batchId: string;
88
88
  };
89
- export type BatchScanDataDataResult = {
89
+ export type BatchScanDataResult = {
90
90
  tagTokenId: string;
91
91
  totalScan: number;
92
92
  uniqueCount: number;
@@ -109,8 +109,9 @@ export type BatchScanDataDataResult = {
109
109
  };
110
110
  };
111
111
  export type BatchScanDataResponse = {
112
- status: string;
113
- data: BatchScanDataDataResult[];
112
+ status: 'ok' | 'error';
113
+ data?: BatchScanDataResult[];
114
+ error?: string;
114
115
  currentPage: number;
115
116
  totalPages: number;
116
117
  pageSize: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytexbyte/berify-analytics-api",
3
- "version": "1.3.14",
3
+ "version": "1.3.16",
4
4
  "description": "api",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",