@abtnode/types 1.16.42-beta-20250412-084444-20b0cf19 → 1.16.42-beta-20250415-222652-04c5d2fe
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 +56 -1
- package/lib/type_pb.d.ts +29 -0
- package/package.json +2 -2
package/lib/rpc_pb.d.ts
CHANGED
@@ -465,34 +465,70 @@ export type TResponseIsDidDomain = {
|
|
465
465
|
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
466
466
|
value: boolean;
|
467
467
|
};
|
468
|
-
export type TRequestAccessKeys = {
|
468
|
+
export type TRequestAccessKeys = {
|
469
|
+
teamDid: string;
|
470
|
+
paging?: type_pb.TPaging;
|
471
|
+
remark: string;
|
472
|
+
componentDid: string;
|
473
|
+
resourceType: string;
|
474
|
+
resourceId: string;
|
475
|
+
};
|
469
476
|
export type TResponseAccessKeys = {
|
470
477
|
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
471
478
|
list: type_pb.TAccessKey[];
|
479
|
+
paging?: type_pb.TPaging;
|
480
|
+
};
|
481
|
+
export type TRequestAccessKey = {
|
482
|
+
teamDid: string;
|
483
|
+
accessKeyId: string;
|
484
|
+
};
|
485
|
+
export type TResponseAccessKey = {
|
486
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
487
|
+
data?: type_pb.TAccessKey;
|
472
488
|
};
|
473
489
|
export type TRequestCreateAccessKey = {
|
490
|
+
teamDid: string;
|
474
491
|
remark: string;
|
475
492
|
passport: string;
|
493
|
+
authType: string;
|
494
|
+
componentDid: string;
|
495
|
+
resourceType: string;
|
496
|
+
resourceId: string;
|
497
|
+
createdVia: string;
|
498
|
+
expireAt: number;
|
476
499
|
};
|
477
500
|
export type TResponseCreateAccessKey = {
|
478
501
|
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
479
502
|
data?: type_pb.TCreateAccessKey;
|
480
503
|
};
|
481
504
|
export type TRequestUpdateAccessKey = {
|
505
|
+
teamDid: string;
|
482
506
|
accessKeyId: string;
|
483
507
|
remark: string;
|
484
508
|
passport: string;
|
509
|
+
expireAt: number;
|
485
510
|
};
|
486
511
|
export type TResponseUpdateAccessKey = {
|
487
512
|
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
488
513
|
data?: type_pb.TAccessKey;
|
489
514
|
};
|
490
515
|
export type TRequestDeleteAccessKey = {
|
516
|
+
teamDid: string;
|
491
517
|
accessKeyId: string;
|
492
518
|
};
|
493
519
|
export type TResponseDeleteAccessKey = {
|
494
520
|
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
495
521
|
};
|
522
|
+
export type TRequestVerifyAccessKey = {
|
523
|
+
teamDid: string;
|
524
|
+
accessKeyId: string;
|
525
|
+
resourceType: string;
|
526
|
+
resourceId: string;
|
527
|
+
componentDid: string;
|
528
|
+
};
|
529
|
+
export type TResponseVerifyAccessKey = {
|
530
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
531
|
+
};
|
496
532
|
export type TRequestCreateWebHook = {
|
497
533
|
type: enum_pb.SenderTypeMap[keyof enum_pb.SenderTypeMap];
|
498
534
|
title: string;
|
@@ -731,6 +767,25 @@ export type TRequestUsers = {
|
|
731
767
|
paging?: type_pb.TPaging;
|
732
768
|
dids: string[];
|
733
769
|
};
|
770
|
+
export type TRequestUserSessions = {
|
771
|
+
teamDid: string;
|
772
|
+
query?: type_pb.TUserSessionQuery;
|
773
|
+
sort?: type_pb.TUserSessionSort;
|
774
|
+
paging?: type_pb.TPaging;
|
775
|
+
};
|
776
|
+
export type TResponseUserSessions = {
|
777
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
778
|
+
list: type_pb.TUserSession[];
|
779
|
+
paging?: type_pb.TPaging;
|
780
|
+
};
|
781
|
+
export type TRequestUserSessionsCount = {
|
782
|
+
teamDid: string;
|
783
|
+
query?: type_pb.TUserSessionQuery;
|
784
|
+
};
|
785
|
+
export type TResponseUserSessionsCount = {
|
786
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
787
|
+
count: number;
|
788
|
+
};
|
734
789
|
export type TRequestLogoutUser = {
|
735
790
|
teamDid: string;
|
736
791
|
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 = {
|
@@ -721,17 +724,31 @@ export type TAccessKey = {
|
|
721
724
|
remark: string;
|
722
725
|
passport: string;
|
723
726
|
createdAt: number;
|
727
|
+
updatedAt: number;
|
724
728
|
lastUsedAt: number;
|
725
729
|
createdBy: string;
|
726
730
|
updatedBy: string;
|
731
|
+
authType: string;
|
732
|
+
componentDid: string;
|
733
|
+
resourceType: string;
|
734
|
+
resourceId: string;
|
735
|
+
createdVia: string;
|
736
|
+
expireAt: number;
|
727
737
|
};
|
728
738
|
export type TCreateAccessKey = {
|
729
739
|
accessKeyId: string;
|
740
|
+
accessKeyPublic: string;
|
730
741
|
accessKeySecret: string;
|
731
742
|
remark: string;
|
732
743
|
passport: string;
|
733
744
|
createdAt: number;
|
734
745
|
lastUsedAt: number;
|
746
|
+
authType: string;
|
747
|
+
componentDid: string;
|
748
|
+
resourceType: string;
|
749
|
+
resourceId: string;
|
750
|
+
createdVia: string;
|
751
|
+
expireAt: number;
|
735
752
|
};
|
736
753
|
export type TWebHookSender = {
|
737
754
|
type: enum_pb.SenderTypeMap[keyof enum_pb.SenderTypeMap];
|
@@ -854,6 +871,7 @@ export type TUserInfo = {
|
|
854
871
|
phoneVerified: boolean;
|
855
872
|
metadata?: TUserMetadata;
|
856
873
|
address?: TUserAddress;
|
874
|
+
userSessionsCount: number;
|
857
875
|
};
|
858
876
|
export type TUserProfile = {
|
859
877
|
did: string;
|
@@ -880,6 +898,17 @@ export type TUserSort = {
|
|
880
898
|
createdAt: number;
|
881
899
|
lastLoginAt: number;
|
882
900
|
};
|
901
|
+
export type TUserSessionSort = {
|
902
|
+
updatedAt: number;
|
903
|
+
createdAt: number;
|
904
|
+
};
|
905
|
+
export type TUserSessionQuery = {
|
906
|
+
userDid: string;
|
907
|
+
visitorId: string;
|
908
|
+
appPid: string;
|
909
|
+
status: string;
|
910
|
+
includeUser: boolean;
|
911
|
+
};
|
883
912
|
export type TUserSession = {
|
884
913
|
id: string;
|
885
914
|
visitorId: string;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@abtnode/types",
|
3
|
-
"version": "1.16.42-beta-
|
3
|
+
"version": "1.16.42-beta-20250415-222652-04c5d2fe",
|
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": "
|
39
|
+
"gitHead": "4458b1e7e92d62d93c70de7f636a0f6ae9a59f26"
|
40
40
|
}
|