@bytexbyte/berify-analytics-api 1.3.20 → 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.
- package/lib/ScanChart/type.d.ts +8 -1
- package/lib/ScanChart/type.js +8 -0
- package/package.json +1 -1
package/lib/ScanChart/type.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { BlockChainStatusType } from "@prisma/client";
|
|
2
1
|
export type ScanReportRequest = {
|
|
3
2
|
tagTokenId?: string;
|
|
4
3
|
batchId?: string;
|
|
@@ -92,6 +91,13 @@ export type BatchScanDataRequest = {
|
|
|
92
91
|
gtRedeemStatus?: 'redeemed' | 'not_redeemed' | 'none';
|
|
93
92
|
search?: string;
|
|
94
93
|
};
|
|
94
|
+
declare enum BlockChainStatusType {
|
|
95
|
+
queued = 0,
|
|
96
|
+
minted = 1,
|
|
97
|
+
transferring = 2,
|
|
98
|
+
transferred = 3,
|
|
99
|
+
fail = 4
|
|
100
|
+
}
|
|
95
101
|
export type BatchScanDataResult = {
|
|
96
102
|
tagTokenId: string;
|
|
97
103
|
totalScan: number;
|
|
@@ -123,3 +129,4 @@ export type BatchScanDataResponse = {
|
|
|
123
129
|
pageSize: number;
|
|
124
130
|
totalItems: number;
|
|
125
131
|
};
|
|
132
|
+
export {};
|
package/lib/ScanChart/type.js
CHANGED
|
@@ -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 = {}));
|