@abtnode/types 1.16.13-beta-0656f92f → 1.16.13-beta-2eb54cbc

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/rpc_pb.d.ts CHANGED
@@ -685,7 +685,18 @@ export type TResponseGetLauncherSession = {
685
685
  error: string,
686
686
  launcherSession?: Record<string, any>,
687
687
  }
688
- export type TrequestUpdateAppSessionConfig = {
688
+ export type TRequestUpdateAppSessionConfig = {
689
689
  did: string,
690
690
  config?: type_pb.TSessionConfig,
691
691
  }
692
+ export type TRequestGetTrafficInsights = {
693
+ did: string,
694
+ startDate: string,
695
+ endDate: string,
696
+ paging?: type_pb.TPaging,
697
+ }
698
+ export type TResponseGetTrafficInsights = {
699
+ code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
700
+ list: type_pb.TTrafficInsight[],
701
+ paging?: type_pb.TPaging,
702
+ }
package/lib/type_pb.d.ts CHANGED
@@ -754,3 +754,19 @@ export type TSessionConfig = {
754
754
  cacheTtl: number,
755
755
  ttl: number,
756
756
  }
757
+ export type TTrafficInsight = {
758
+ did: string,
759
+ date: string,
760
+ totalRequests: number,
761
+ validRequests: number,
762
+ failedRequests: number,
763
+ generationTime: number,
764
+ uniqueVisitors: number,
765
+ uniqueFiles: number,
766
+ excludedHits: number,
767
+ uniqueReferrers: number,
768
+ uniqueNotFound: number,
769
+ uniqueStaticFiles: number,
770
+ logSize: number,
771
+ bandwidth: number,
772
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/types",
3
- "version": "1.16.13-beta-0656f92f",
3
+ "version": "1.16.13-beta-2eb54cbc",
4
4
  "description": "Typescript definitions generated from protobuf",
5
5
  "keywords": [
6
6
  "abtnode",
@@ -36,5 +36,5 @@
36
36
  "bugs": {
37
37
  "url": "https://github.com/ArcBlock/abt-node/issues"
38
38
  },
39
- "gitHead": "07996e8ec6fd2141ee3e93dd699ed7fd434bc0ad"
39
+ "gitHead": "7adf96c2eb31762d8eb14b8121fce9865d6a458c"
40
40
  }