@bytexbyte/berify-analytics-api 1.3.19 → 1.3.21

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.
@@ -1,4 +1,3 @@
1
- import { BlockChainStatusType } from "@prisma/client";
2
1
  export type ScanReportRequest = {
3
2
  tagTokenId?: string;
4
3
  batchId?: string;
@@ -89,8 +88,16 @@ export type BatchScanDataRequest = {
89
88
  pageSize: string;
90
89
  sort: 'lastScanned' | 'totalScan' | 'uniqueCount';
91
90
  order: 'asc' | 'desc';
92
- gtRedeemStatus: 'redeemed' | 'not_redeemed' | 'none';
91
+ gtRedeemStatus?: 'redeemed' | 'not_redeemed' | 'none';
92
+ search?: string;
93
93
  };
94
+ declare enum BlockChainStatusType {
95
+ queued = 0,
96
+ minted = 1,
97
+ transferring = 2,
98
+ transferred = 3,
99
+ fail = 4
100
+ }
94
101
  export type BatchScanDataResult = {
95
102
  tagTokenId: string;
96
103
  totalScan: number;
@@ -122,3 +129,4 @@ export type BatchScanDataResponse = {
122
129
  pageSize: number;
123
130
  totalItems: number;
124
131
  };
132
+ export {};
@@ -18,3 +18,11 @@ var CompanyRoleType;
18
18
  CompanyRoleType[CompanyRoleType["seo"] = 4] = "seo";
19
19
  CompanyRoleType[CompanyRoleType["associate"] = 5] = "associate";
20
20
  })(CompanyRoleType = exports.CompanyRoleType || (exports.CompanyRoleType = {}));
21
+ var BlockChainStatusType;
22
+ (function (BlockChainStatusType) {
23
+ BlockChainStatusType[BlockChainStatusType["queued"] = 0] = "queued";
24
+ BlockChainStatusType[BlockChainStatusType["minted"] = 1] = "minted";
25
+ BlockChainStatusType[BlockChainStatusType["transferring"] = 2] = "transferring";
26
+ BlockChainStatusType[BlockChainStatusType["transferred"] = 3] = "transferred";
27
+ BlockChainStatusType[BlockChainStatusType["fail"] = 4] = "fail";
28
+ })(BlockChainStatusType || (BlockChainStatusType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytexbyte/berify-analytics-api",
3
- "version": "1.3.19",
3
+ "version": "1.3.21",
4
4
  "description": "api",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",