@abtnode/types 1.16.42-beta-20250413-121549-22e9a196 → 1.16.42-beta-20250415-224346-080ee735
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 +37 -1
- package/lib/type_pb.d.ts +14 -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;
|
package/lib/type_pb.d.ts
CHANGED
@@ -724,17 +724,31 @@ export type TAccessKey = {
|
|
724
724
|
remark: string;
|
725
725
|
passport: string;
|
726
726
|
createdAt: number;
|
727
|
+
updatedAt: number;
|
727
728
|
lastUsedAt: number;
|
728
729
|
createdBy: string;
|
729
730
|
updatedBy: string;
|
731
|
+
authType: string;
|
732
|
+
componentDid: string;
|
733
|
+
resourceType: string;
|
734
|
+
resourceId: string;
|
735
|
+
createdVia: string;
|
736
|
+
expireAt: number;
|
730
737
|
};
|
731
738
|
export type TCreateAccessKey = {
|
732
739
|
accessKeyId: string;
|
740
|
+
accessKeyPublic: string;
|
733
741
|
accessKeySecret: string;
|
734
742
|
remark: string;
|
735
743
|
passport: string;
|
736
744
|
createdAt: number;
|
737
745
|
lastUsedAt: number;
|
746
|
+
authType: string;
|
747
|
+
componentDid: string;
|
748
|
+
resourceType: string;
|
749
|
+
resourceId: string;
|
750
|
+
createdVia: string;
|
751
|
+
expireAt: number;
|
738
752
|
};
|
739
753
|
export type TWebHookSender = {
|
740
754
|
type: enum_pb.SenderTypeMap[keyof enum_pb.SenderTypeMap];
|
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-224346-080ee735",
|
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": "12f194b33fffb20ceb2dbe5fc348fb14053ac8c9"
|
40
40
|
}
|