@bytexbyte/berify-analytics-api 2.1.4 → 2.1.6

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.
@@ -3,7 +3,7 @@ export type ScanReportRequest = {
3
3
  tagId?: string;
4
4
  batchId?: string;
5
5
  companyId?: string;
6
- scanTypes?: ScanType;
6
+ scanTypes?: ScanType[] | ScanType;
7
7
  };
8
8
  export type ScanReportResult = {
9
9
  anonymous: number;
@@ -20,7 +20,7 @@ export type UserReportRequest = {
20
20
  tagId?: string;
21
21
  batchId?: string;
22
22
  companyId?: string;
23
- scanTypes?: ScanType;
23
+ scanTypes?: ScanType[] | ScanType;
24
24
  };
25
25
  export type UserReportResult = {
26
26
  appClip: number;
@@ -53,7 +53,7 @@ export type ScanRateByTimeRequest = {
53
53
  companyId?: string;
54
54
  tagId?: string;
55
55
  time: TimeInterval;
56
- scanTypes?: ScanType;
56
+ scanTypes?: ScanType[] | ScanType;
57
57
  };
58
58
  export type ScanRateByTimeResponse = {
59
59
  status: 'ok' | 'error';
@@ -91,7 +91,7 @@ export type BatchScanDataRequest = {
91
91
  order: 'asc' | 'desc';
92
92
  gtRedeemStatus?: 'redeemed' | 'not_redeemed' | 'none';
93
93
  search?: string;
94
- scanTypes?: ScanType;
94
+ scanTypes?: ScanType[] | ScanType;
95
95
  };
96
96
  export type BlockChainStatusType = 'transferred' | 'minted' | 'queued' | 'transferring' | 'fail';
97
97
  export type BatchScanDataResult = {
@@ -132,7 +132,7 @@ export type LeaderBoardRequest = {
132
132
  companyId?: string;
133
133
  page?: number;
134
134
  pageSize?: number;
135
- scanTypes?: ScanType;
135
+ scanTypes?: ScanType[] | ScanType;
136
136
  };
137
137
  export type LeaderBoardResult = {
138
138
  position: number;
@@ -154,7 +154,7 @@ export type TagSearchRequest = {
154
154
  size: string;
155
155
  order: 'asc' | 'desc';
156
156
  filter: string;
157
- scanTypes?: ScanType;
157
+ scanTypes?: ScanType[] | ScanType;
158
158
  };
159
159
  export type GeneralUser = {
160
160
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytexbyte/berify-analytics-api",
3
- "version": "2.1.4",
3
+ "version": "2.1.6",
4
4
  "description": "api",
5
5
  "main": "lib/berifyAnalyticsApi/src/index.js",
6
6
  "types": "lib/berifyAnalyticsApi/src/index.d.ts",