@abtnode/schema 1.16.13-beta-0656f92f → 1.16.13-beta-90ded76f

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/index.js CHANGED
@@ -410,6 +410,13 @@ input RequestGetSnapshotSitesInput {
410
410
  hash: String
411
411
  }
412
412
 
413
+ input RequestGetTrafficInsightsInput {
414
+ did: String
415
+ startDate: String
416
+ endDate: String
417
+ paging: PagingInput
418
+ }
419
+
413
420
  input RequestGrantPermissionForRoleInput {
414
421
  teamDid: String
415
422
  roleName: String
@@ -542,6 +549,11 @@ input RequestUpdateAccessKeyInput {
542
549
  passport: String
543
550
  }
544
551
 
552
+ input RequestUpdateAppSessionConfigInput {
553
+ did: String
554
+ config: SessionConfigInput
555
+ }
556
+
545
557
  input RequestUpdateBlockletSpaceGatewayInput {
546
558
  did: String
547
559
  where: SpaceGatewayInput
@@ -750,11 +762,6 @@ input WebHookParamInput {
750
762
  type: String
751
763
  }
752
764
 
753
- input RequestUpdateAppSessionConfigInput {
754
- did: String
755
- config: SessionConfigInput
756
- }
757
-
758
765
  type AccessKey {
759
766
  accessKeyId: String
760
767
  accessKeyPublic: String
@@ -1555,6 +1562,12 @@ type ResponseGetSnapshotSites {
1555
1562
  sites: [RoutingSite!]
1556
1563
  }
1557
1564
 
1565
+ type ResponseGetTrafficInsights {
1566
+ code: StatusCode
1567
+ list: [TrafficInsight!]
1568
+ paging: Paging
1569
+ }
1570
+
1558
1571
  type ResponseGetUsersCountPerRole {
1559
1572
  code: StatusCode
1560
1573
  counts: [KeyValue!]
@@ -1749,6 +1762,23 @@ type SpaceGateway {
1749
1762
  did: String
1750
1763
  }
1751
1764
 
1765
+ type TrafficInsight {
1766
+ did: String
1767
+ date: String
1768
+ totalRequests: Uint32
1769
+ validRequests: Uint32
1770
+ failedRequests: Uint32
1771
+ generationTime: Uint32
1772
+ uniqueVisitors: Uint32
1773
+ uniqueFiles: Uint32
1774
+ excludedHits: Uint32
1775
+ uniqueReferrers: Uint32
1776
+ uniqueNotFound: Uint32
1777
+ uniqueStaticFiles: Uint32
1778
+ logSize: Uint32
1779
+ bandwidth: Uint32
1780
+ }
1781
+
1752
1782
  type TrustedFactory {
1753
1783
  holderDid: String
1754
1784
  issuerDid: String
@@ -2025,4 +2055,5 @@ type Query {
2025
2055
  getLauncherSession(input: RequestGetLauncherSessionInput): ResponseGetLauncherSession
2026
2056
  getBlockletBackups(input: RequestGetBlockletBackupsInput): ResponseGetBlockletBackups
2027
2057
  getBlockletSpaceGateways(input: RequestBlockletInput): ResponseGetBlockletSpaceGateways
2058
+ getTrafficInsights(input: RequestGetTrafficInsightsInput): ResponseGetTrafficInsights
2028
2059
  }`;
@@ -410,6 +410,13 @@ input RequestGetSnapshotSitesInput {
410
410
  hash: String
411
411
  }
412
412
 
413
+ input RequestGetTrafficInsightsInput {
414
+ did: String
415
+ startDate: String
416
+ endDate: String
417
+ paging: PagingInput
418
+ }
419
+
413
420
  input RequestGrantPermissionForRoleInput {
414
421
  teamDid: String
415
422
  roleName: String
@@ -542,6 +549,11 @@ input RequestUpdateAccessKeyInput {
542
549
  passport: String
543
550
  }
544
551
 
552
+ input RequestUpdateAppSessionConfigInput {
553
+ did: String
554
+ config: SessionConfigInput
555
+ }
556
+
545
557
  input RequestUpdateBlockletSpaceGatewayInput {
546
558
  did: String
547
559
  where: SpaceGatewayInput
@@ -750,11 +762,6 @@ input WebHookParamInput {
750
762
  type: String
751
763
  }
752
764
 
753
- input RequestUpdateAppSessionConfigInput {
754
- did: String
755
- config: SessionConfigInput
756
- }
757
-
758
765
  type AccessKey {
759
766
  accessKeyId: String
760
767
  accessKeyPublic: String
@@ -1555,6 +1562,12 @@ type ResponseGetSnapshotSites {
1555
1562
  sites: [RoutingSite!]
1556
1563
  }
1557
1564
 
1565
+ type ResponseGetTrafficInsights {
1566
+ code: StatusCode
1567
+ list: [TrafficInsight!]
1568
+ paging: Paging
1569
+ }
1570
+
1558
1571
  type ResponseGetUsersCountPerRole {
1559
1572
  code: StatusCode
1560
1573
  counts: [KeyValue!]
@@ -1749,6 +1762,23 @@ type SpaceGateway {
1749
1762
  did: String
1750
1763
  }
1751
1764
 
1765
+ type TrafficInsight {
1766
+ did: String
1767
+ date: String
1768
+ totalRequests: Uint32
1769
+ validRequests: Uint32
1770
+ failedRequests: Uint32
1771
+ generationTime: Uint32
1772
+ uniqueVisitors: Uint32
1773
+ uniqueFiles: Uint32
1774
+ excludedHits: Uint32
1775
+ uniqueReferrers: Uint32
1776
+ uniqueNotFound: Uint32
1777
+ uniqueStaticFiles: Uint32
1778
+ logSize: Uint32
1779
+ bandwidth: Uint32
1780
+ }
1781
+
1752
1782
  type TrustedFactory {
1753
1783
  holderDid: String
1754
1784
  issuerDid: String
@@ -2027,5 +2057,6 @@ type Query {
2027
2057
  getLauncherSession(input: RequestGetLauncherSessionInput): ResponseGetLauncherSession
2028
2058
  getBlockletBackups(input: RequestGetBlockletBackupsInput): ResponseGetBlockletBackups
2029
2059
  getBlockletSpaceGateways(input: RequestBlockletInput): ResponseGetBlockletSpaceGateways
2060
+ getTrafficInsights(input: RequestGetTrafficInsightsInput): ResponseGetTrafficInsights
2030
2061
  }
2031
2062
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.13-beta-0656f92f",
6
+ "version": "1.16.13-beta-90ded76f",
7
7
  "description": "",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -13,7 +13,7 @@
13
13
  "keywords": [],
14
14
  "author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
15
15
  "license": "Apache-2.0",
16
- "gitHead": "07996e8ec6fd2141ee3e93dd699ed7fd434bc0ad",
16
+ "gitHead": "e6d4b88fe2cb45e00e5d745e1cd148dc76a019a4",
17
17
  "devDependencies": {
18
18
  "@wangshijun/ts-protoc-gen": "^0.16.2"
19
19
  }