@abtnode/types 1.16.42-beta-20250412-083409-53f46a85 → 1.16.42-beta-20250413-121549-22e9a196

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
@@ -731,6 +731,25 @@ export type TRequestUsers = {
731
731
  paging?: type_pb.TPaging;
732
732
  dids: string[];
733
733
  };
734
+ export type TRequestUserSessions = {
735
+ teamDid: string;
736
+ query?: type_pb.TUserSessionQuery;
737
+ sort?: type_pb.TUserSessionSort;
738
+ paging?: type_pb.TPaging;
739
+ };
740
+ export type TResponseUserSessions = {
741
+ code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
742
+ list: type_pb.TUserSession[];
743
+ paging?: type_pb.TPaging;
744
+ };
745
+ export type TRequestUserSessionsCount = {
746
+ teamDid: string;
747
+ query?: type_pb.TUserSessionQuery;
748
+ };
749
+ export type TResponseUserSessionsCount = {
750
+ code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
751
+ count: number;
752
+ };
734
753
  export type TRequestLogoutUser = {
735
754
  teamDid: string;
736
755
  appPid: string;
package/lib/type_pb.d.ts CHANGED
@@ -463,6 +463,9 @@ export type TConfigNavigation = {
463
463
  role: string;
464
464
  visible: boolean;
465
465
  from: string;
466
+ activeIcon: string;
467
+ color: string;
468
+ activeColor: string;
466
469
  description: string;
467
470
  };
468
471
  export type TEnvironment = {
@@ -854,6 +857,7 @@ export type TUserInfo = {
854
857
  phoneVerified: boolean;
855
858
  metadata?: TUserMetadata;
856
859
  address?: TUserAddress;
860
+ userSessionsCount: number;
857
861
  };
858
862
  export type TUserProfile = {
859
863
  did: string;
@@ -880,6 +884,17 @@ export type TUserSort = {
880
884
  createdAt: number;
881
885
  lastLoginAt: number;
882
886
  };
887
+ export type TUserSessionSort = {
888
+ updatedAt: number;
889
+ createdAt: number;
890
+ };
891
+ export type TUserSessionQuery = {
892
+ userDid: string;
893
+ visitorId: string;
894
+ appPid: string;
895
+ status: string;
896
+ includeUser: boolean;
897
+ };
883
898
  export type TUserSession = {
884
899
  id: string;
885
900
  visitorId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abtnode/types",
3
- "version": "1.16.42-beta-20250412-083409-53f46a85",
3
+ "version": "1.16.42-beta-20250413-121549-22e9a196",
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": "5a8845130c92e05d675243fd35648cfeaecf24c8"
39
+ "gitHead": "00ff6ee0d86ea1938965c69a973fd08ec1769f08"
40
40
  }