@firmer/mesh 0.0.6 → 0.0.8

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.
Files changed (60) hide show
  1. package/dist/cause/errors.d.ts +5 -1
  2. package/dist/codec/json.d.ts +2 -2
  3. package/dist/http/consumer.d.ts +2 -1
  4. package/dist/index.d.ts +13 -5
  5. package/dist/mesh.js +9246 -7004
  6. package/dist/mesh.umd.cjs +8 -8
  7. package/dist/mpc/hook.d.ts +11 -11
  8. package/dist/mpc/reference.d.ts +1 -0
  9. package/dist/mpc/urn.d.ts +3 -1
  10. package/dist/psi/builtin.d.ts +10 -11
  11. package/dist/psi/cache.d.ts +15 -5
  12. package/dist/psi/cipher.d.ts +27 -24
  13. package/dist/psi/cluster.d.ts +2 -0
  14. package/dist/psi/commerce.d.ts +4 -0
  15. package/dist/psi/cryptor.d.ts +5 -0
  16. package/dist/psi/daler.d.ts +42 -20
  17. package/dist/psi/datahouse.d.ts +13 -8
  18. package/dist/psi/devops.d.ts +49 -0
  19. package/dist/psi/endpoint.d.ts +2 -2
  20. package/dist/psi/firewall.d.ts +24 -0
  21. package/dist/psi/index.d.ts +3 -1
  22. package/dist/psi/kms.d.ts +40 -6
  23. package/dist/psi/kv.d.ts +6 -1
  24. package/dist/psi/licenser.d.ts +5 -0
  25. package/dist/psi/locker.d.ts +4 -0
  26. package/dist/psi/network.d.ts +20 -5
  27. package/dist/psi/pipeline.d.ts +7 -9
  28. package/dist/psi/publisher.d.ts +4 -2
  29. package/dist/psi/registry.d.ts +14 -5
  30. package/dist/psi/subscriber.d.ts +1 -3
  31. package/dist/psi/tokenizer.d.ts +17 -8
  32. package/dist/psi/vm.d.ts +34 -0
  33. package/dist/tool/addrs.d.ts +2 -0
  34. package/dist/tool/tool.d.ts +3 -2
  35. package/dist/types/builtin.d.ts +28 -0
  36. package/dist/types/cipher.d.ts +27 -0
  37. package/dist/types/daler.d.ts +97 -8
  38. package/dist/types/devops.d.ts +114 -0
  39. package/dist/types/document.d.ts +11 -0
  40. package/dist/types/entity.d.ts +15 -0
  41. package/dist/types/environ.d.ts +19 -0
  42. package/dist/types/event.d.ts +16 -0
  43. package/dist/types/firewall.d.ts +127 -0
  44. package/dist/types/index.d.ts +3 -0
  45. package/dist/types/keys.d.ts +92 -0
  46. package/dist/types/license.d.ts +26 -0
  47. package/dist/types/oauth2.d.ts +64 -10
  48. package/dist/types/payload.d.ts +6 -0
  49. package/dist/types/principal.d.ts +8 -0
  50. package/dist/types/registration.d.ts +97 -0
  51. package/dist/types/route.d.ts +52 -0
  52. package/dist/types/savepoint.d.ts +10 -0
  53. package/dist/types/schema.d.ts +206 -0
  54. package/dist/types/script.d.ts +56 -9
  55. package/dist/types/status.d.ts +3 -0
  56. package/dist/types/transport.d.ts +18 -0
  57. package/dist/types/version.d.ts +2 -0
  58. package/dist/types/workflow.d.ts +43 -0
  59. package/package.json +9 -9
  60. package/dist/psi/evaluator.d.ts +0 -20
package/dist/psi/kv.d.ts CHANGED
@@ -3,22 +3,27 @@ import { Body, Entry, Page, Paging } from '../types';
3
3
  export declare abstract class KV {
4
4
  /**
5
5
  * Get the value from kv store.
6
+ * 从KV存储读值.
6
7
  */
7
8
  get(key: string, ctx?: Context): Promise<Body>;
8
9
  /**
9
10
  * Put the value to kv store.
11
+ * 从KV写入值.
10
12
  */
11
13
  put(key: string, value: Body, ctx?: Context): Promise<void>;
12
14
  /**
13
15
  * Remove the kv store.
16
+ * 从KV删除值.
14
17
  */
15
18
  remove(key: string, ctx?: Context): Promise<void>;
16
19
  /**
17
20
  * Keys with the pattern of kv store.
21
+ * 检索KV存储中的所有KEY.
18
22
  */
19
23
  keys(pattern: string, ctx?: Context): Promise<string[]>;
20
24
  /**
21
25
  * Index the kv for webui
26
+ * 分页检索KV存储内容.
22
27
  */
23
- index(index: Paging, ctx?: Context): Promise<Page<Entry>>;
28
+ index(idx: Paging, ctx?: Context): Promise<Page<Entry>>;
24
29
  }
@@ -3,22 +3,27 @@ import { License } from '../types';
3
3
  export declare abstract class Licenser {
4
4
  /**
5
5
  * Imports the licenses.
6
+ * 导入许可证书.
6
7
  */
7
8
  imports(license: string, ctx?: Context): Promise<void>;
8
9
  /**
9
10
  * Exports the licenses.
11
+ * 导出许可证书.
10
12
  */
11
13
  exports(ctx?: Context): Promise<string>;
12
14
  /**
13
15
  * Explain the license.
16
+ * 解释许可证书.
14
17
  */
15
18
  explain(ctx?: Context): Promise<License>;
16
19
  /**
17
20
  * Verify the license.
21
+ * 验证许可证书.
18
22
  */
19
23
  verify(ctx?: Context): Promise<number>;
20
24
  /**
21
25
  * Features is license features.
26
+ * 查询系统提供的证书签发因子.
22
27
  */
23
28
  features(ctx?: Context): Promise<Record<string, string>>;
24
29
  }
@@ -2,18 +2,22 @@ import { Context } from './context';
2
2
  export declare abstract class Locker {
3
3
  /**
4
4
  * Lock create write lock.
5
+ * 按ID加写锁.
5
6
  */
6
7
  lock(rid: string, timeout: number, ctx?: Context): Promise<boolean>;
7
8
  /**
8
9
  * Unlock release write lock.
10
+ * 按ID解写锁.
9
11
  */
10
12
  unlock(rid: string, ctx?: Context): Promise<void>;
11
13
  /**
12
14
  * ReadLock create read lock.
15
+ * 按ID加读锁.
13
16
  */
14
17
  readLock(rid: string, timeout: number, ctx?: Context): Promise<boolean>;
15
18
  /**
16
19
  * ReadUnlock release read lock.
20
+ * 按ID解读锁.
17
21
  */
18
22
  readUnlock(rid: string, ctx?: Context): Promise<void>;
19
23
  }
@@ -3,47 +3,62 @@ import { Environ, Page, Paging, Route, Versions } from '../types';
3
3
  export declare abstract class Network {
4
4
  /**
5
5
  * Environ Get the meth network environment fixed information.
6
+ * 获取MESH网络中的当前节点环境信息.
6
7
  */
7
8
  environ(ctx?: Context): Promise<Environ>;
8
9
  /**
9
10
  * Accessible Check the mesh network is accessible.
11
+ * 组网信息网络可达性检测.
10
12
  */
11
13
  accessible(route: Route, ctx?: Context): Promise<boolean>;
12
14
  /**
13
15
  * Refresh the routes to mesh network.
16
+ * 更新组网信息,若状态为删除态会直接物理删除.
14
17
  */
15
18
  refresh(routes: Route[], ctx?: Context): Promise<void>;
16
19
  /**
17
20
  * Route the network edge route.
21
+ * 获取当前节点到目标节点到组网信息.
18
22
  */
19
23
  route(mdc: string, ctx?: Context): Promise<Route>;
20
24
  /**
21
25
  * Routes the network edge routes.
26
+ * 获取所有的组网信息.
22
27
  */
23
28
  routes(ctx?: Context): Promise<Route[]>;
24
29
  /**
25
- * Disable the network
30
+ * Disable the network.
31
+ * 禁用当前节点到目标节点的所有网络通信.
26
32
  */
27
33
  disable(mdc: string, ctx?: Context): Promise<void>;
28
34
  /**
29
35
  * Enable the network
36
+ * 启用当前节点到目标节点的所有网络通信.
30
37
  */
31
38
  enable(mdc: string, ctx?: Context): Promise<void>;
32
39
  /**
33
- * Index the network edges
40
+ * Index the network routes.
41
+ * 分页检索组网列表.
34
42
  */
35
43
  index(index: Paging, ctx?: Context): Promise<Page<Route>>;
36
44
  /**
37
- * Version
38
- * Network environment version.
45
+ * Version Network environment version.
46
+ * 获取对应节点的版本信息.
39
47
  */
40
48
  version(mdc: string, ctx?: Context): Promise<Versions>;
41
49
  /**
42
50
  * Exports the weave certificate.
51
+ * 导出当前节点到目标节点网络的证书信息.
43
52
  */
44
53
  exports(mdc: string, ctx?: Context): Promise<string>;
45
54
  /**
46
55
  * Imports the weave certificate.
56
+ * 导入当前节点到目标节点网络的证书信息.
47
57
  */
48
- imports(crt: string, ctx?: Context): Promise<void>;
58
+ imports(mdc: string, crt: string, ctx?: Context): Promise<void>;
59
+ /**
60
+ * Remove the network route.
61
+ * 删除组网信息.
62
+ */
63
+ remove(sid: string, did: string, ctx?: Context): Promise<void>;
49
64
  }
@@ -1,28 +1,26 @@
1
1
  import { Context } from './context';
2
2
  export declare abstract class Pipeline {
3
3
  /**
4
- * Peek
5
- * Retrieves, but does not remove, the head of this queue,
6
- * or returns None if this queue is empty.
4
+ * Peek Retrieves, but does not remove, the head of this queue, or returns None if this queue is empty.
5
+ * 从管道中根据主题取队头值.
7
6
  */
8
7
  peek(topic: string, ctx?: Context): Promise<Uint8Array>;
9
8
  /**
10
- * Pop
11
- * Retrieves and removes the head of this queue,
12
- * or returns None if this queue is empty.
9
+ * Pop Retrieves and removes the head of this queue, or returns None if this queue is empty.
10
+ * 从管道中根据主题取队头值.
13
11
  */
14
12
  pop(timeout: number, topic: string, ctx?: Context): Promise<Uint8Array>;
15
13
  /**
16
- * Push
17
- * Inserts the specified element into this queue if it is possible to do
18
- * so immediately without violating capacity restrictions.
14
+ * Push Inserts the specified element into this queue if it is possible to do so immediately without violating capacity restrictions.
19
15
  * When using a capacity-restricted queue, this method is generally
20
16
  * preferable to add, which can fail to insert an element only
21
17
  * by throwing an exception.
18
+ * 从管道中根据主题写队尾值
22
19
  */
23
20
  push(payload: Uint8Array, metadata: Record<string, string>, topic: string, ctx?: Context): Promise<void>;
24
21
  /**
25
22
  * Release the channel session.
23
+ * 释放主题对应管道资源.
26
24
  */
27
25
  release(timeout: number, topic: string, ctx?: Context): Promise<void>;
28
26
  }
@@ -2,11 +2,13 @@ import { Context } from './context';
2
2
  import { Event } from '../types';
3
3
  export declare abstract class Publisher {
4
4
  /**
5
- * Publish
5
+ * Publish the envent in queue.
6
+ * 发布事件到消息队列.
6
7
  */
7
8
  publish(events: Event[], ctx?: Context): Promise<string[]>;
8
9
  /**
9
- * Broadcast
10
+ * Broadcast the envent in queue.
11
+ * 广播事件到消息队列,会给所有数联网上的组网节点广播.
10
12
  */
11
13
  broadcast(events: Event[], ctx?: Context): Promise<string[]>;
12
14
  }
@@ -1,20 +1,29 @@
1
1
  import { Context } from './context';
2
- import { Registration } from '../types';
2
+ import { Appdata, Registration } from '../types';
3
3
  export declare abstract class Registry {
4
4
  /**
5
- * Register
5
+ * Register the metadata into registry.
6
+ * 元数据注册.
6
7
  */
7
8
  register(registration: Registration<any>, ctx?: Context): Promise<void>;
8
9
  /**
9
- * Registers
10
+ * Registers the batch metadata into registry.
11
+ * 元数据批量注册.
10
12
  */
11
13
  registers(registrations: Registration<any>[], ctx?: Context): Promise<void>;
12
14
  /**
13
- * Unregister
15
+ * Unregister the metadata from registry.
16
+ * 元数据解注册.
14
17
  */
15
18
  unregister(registration: Registration<any>, ctx?: Context): Promise<void>;
16
19
  /**
17
- * Export
20
+ * Export the metadata from registry.
21
+ * 元数据导出.
18
22
  */
19
23
  export(kind: string, ctx?: Context): Promise<Registration<any>[]>;
24
+ /**
25
+ * Appset export the appset from registry.
26
+ * 应用元数据导出.
27
+ */
28
+ appset(kind: string, ctx?: Context): Promise<Appdata[]>;
20
29
  }
@@ -3,9 +3,7 @@ import { Event } from '../types';
3
3
  export declare abstract class Subscriber {
4
4
  /**
5
5
  * Subscribe the event with {@link tech.firmer.mesh.macro.Bindings} or {@link tech.firmer.mesh.macro.Binding}
6
- *
7
- * Parameters:
8
- * event - uniform event payload.
6
+ * 消息订阅服务接口,主要是实现该接口订阅对应的topic-code.
9
7
  */
10
8
  subscribe(event: Event, ctx?: Context): Promise<void>;
11
9
  }
@@ -1,30 +1,35 @@
1
1
  import { Context } from './context';
2
- import { AccessCode, AccessGrant, AccessToken, Captcha, Credential, Session } from '../types';
2
+ import { AccessCode, AccessGrant, AccessToken, Captcha, Credential, GrantCode, Session } from '../types';
3
3
  export declare abstract class Tokenizer {
4
4
  /**
5
5
  * Captcha apply a graphics captcha.
6
+ * 获取验证码.
6
7
  */
7
8
  captcha(kind: string, features: Record<string, string>, ctx?: Context): Promise<Captcha>;
8
9
  /**
9
10
  * Matches a graphics captcha value.
11
+ * 验证码校验.
10
12
  */
11
13
  matches(mno: string, value: string, ctx?: Context): Promise<boolean>;
12
14
  /**
13
- * Apply
15
+ * Apply trust authenticate token.
16
+ * 申请信任登录令牌.
14
17
  */
15
18
  apply(kind: string, duration: number, ctx?: Context): Promise<string>;
16
19
  /**
17
- * Verify
20
+ * Verify the trust token.
21
+ * 验证信任登录令牌.
18
22
  */
19
23
  verify(token: string, ctx?: Context): Promise<boolean>;
20
24
  /**
21
25
  * Quickauth OAuth2 quick authorize, contains grant code and code authorize.
26
+ * 快速授权,OAuth2多阶段合并为一阶段.
22
27
  */
23
28
  quickauth(credential: Credential, ctx?: Context): Promise<AccessToken>;
24
29
  /**
25
- * Grant OAuth2 code grant.
30
+ * Grant OAuth2 code authorize.
26
31
  */
27
- grant(credential: Credential, ctx?: Context): Promise<AccessGrant>;
32
+ grant(grant: AccessGrant, ctx?: Context): Promise<GrantCode>;
28
33
  /**
29
34
  * Accept OAuth2 accept grant code.
30
35
  */
@@ -45,10 +50,14 @@ export declare abstract class Tokenizer {
45
50
  * Refresh OAuth2 auth token refresh.
46
51
  */
47
52
  refresh(token: string, ctx?: Context): Promise<AccessToken>;
53
+ /**
54
+ * Destroy OAuth2 auth token destroy.
55
+ */
56
+ destroy(token: string, ctx?: Context): Promise<void>;
48
57
  }
49
- export declare abstract class TokenProvider {
58
+ export declare abstract class AuthProvider {
50
59
  /**
51
- * Provide
60
+ * Session
52
61
  */
53
- provide(token: string, ctx?: Context): Promise<Session>;
62
+ session(credential: Credential, ctx?: Context): Promise<Session>;
54
63
  }
@@ -0,0 +1,34 @@
1
+ import { Context } from './context';
2
+ import { Page, Paging, Script } from '../types';
3
+ export declare abstract class VM {
4
+ /**
5
+ * Compile the script.
6
+ * 编译脚本,编译通即会保存快照.
7
+ */
8
+ compile(script: Script, ctx?: Context): Promise<string>;
9
+ /**
10
+ * Setup set up the script.
11
+ * 编译安装脚本到运行时中,为发布语意.
12
+ */
13
+ setup(code: string, version: string, ctx?: Context): Promise<void>;
14
+ /**
15
+ * Remove the script.
16
+ * 删除脚本.
17
+ */
18
+ remove(code: string, ctx?: Context): Promise<void>;
19
+ /**
20
+ * Describe the script.
21
+ * 获取脚本详情.
22
+ */
23
+ describe(code: string, ctx?: Context): Promise<Script>;
24
+ /**
25
+ * Exec the script with name.
26
+ * 执行脚本,此处为规则引擎服务化执行接口.
27
+ */
28
+ exec(code: string, args: Record<string, string>, dft: string, ctx?: Context): Promise<string>;
29
+ /**
30
+ * Index the scripts.
31
+ * 分页检索脚本数据.
32
+ */
33
+ index(idx: Paging, ctx?: Context): Promise<Page<Script>>;
34
+ }
@@ -1,8 +1,10 @@
1
1
  export declare class Addrs {
2
2
  private readonly servers;
3
3
  private readonly availableAddrs;
4
+ private relativePath;
4
5
  constructor(addrs: string);
5
6
  any(): string;
7
+ relative(ok: boolean): void;
6
8
  }
7
9
  export declare class StatefulServer {
8
10
  private available;
@@ -1,4 +1,5 @@
1
1
  import { Addrs } from './addrs';
2
+ import { Type } from '../macro';
2
3
  import { Body, CacheBody, Cause } from '../types';
3
4
  declare class Once<T> {
4
5
  private value?;
@@ -12,10 +13,10 @@ export declare class Tool {
12
13
  static anyone(...varg: (string | undefined)[]): string;
13
14
  static traceId(): string;
14
15
  static spanId(spanId: string, calls: number): string;
15
- static MESH_ADDRESS: Once<Addrs>;
16
+ static readonly MESH_ADDRESS: Once<Addrs>;
16
17
  static newEntity(value: any): Body;
17
18
  static newCacheEntity(key: string, value: any, duration: number): CacheBody;
18
- static readObject<T>(entity: Body): T | null;
19
+ static readObject<T>(entity: Body, k: Type<T>): T | null;
19
20
  /**
20
21
  * Is the version less than the appointed version.
21
22
  *
@@ -1,121 +1,149 @@
1
1
  import { Stacktrace } from '../macro';
2
2
  export declare class Paging {
3
3
  /**
4
+ * Session ID
4
5
  * Session ID
5
6
  */
6
7
  sid: string;
7
8
  /**
9
+ * Start index
8
10
  * Start index
9
11
  */
10
12
  index: number;
11
13
  /**
14
+ * Start limit
12
15
  * Start limit
13
16
  */
14
17
  limit: number;
15
18
  /**
19
+ * Paging factor
16
20
  * Paging factor
17
21
  */
18
22
  factor: Record<string, any>;
19
23
  /**
24
+ * Sort order
20
25
  * Sort order
21
26
  */
22
27
  order: string;
23
28
  }
24
29
  export declare class Page<T> {
25
30
  /**
31
+ * Session ID
26
32
  * Session ID
27
33
  */
28
34
  sid: string;
29
35
  /**
36
+ * Start index
30
37
  * Start index
31
38
  */
32
39
  index: number;
33
40
  /**
41
+ * Start limit
34
42
  * Start limit
35
43
  */
36
44
  limit: number;
37
45
  /**
46
+ * Start total
38
47
  * Start total
39
48
  */
40
49
  total: number;
41
50
  /**
51
+ * Has next
42
52
  * Has next
43
53
  */
44
54
  next: boolean;
45
55
  /**
56
+ * Index data
46
57
  * Index data
47
58
  */
48
59
  data: T[];
49
60
  }
50
61
  export declare class DataLord {
51
62
  /**
63
+ * 节点编码
52
64
  * 节点编码
53
65
  */
54
66
  nodeId: string;
55
67
  /**
68
+ * 节点名称
56
69
  * 节点名称
57
70
  */
58
71
  nodeName: string;
59
72
  /**
73
+ * 机构编码
60
74
  * 机构编码
61
75
  */
62
76
  instId: string;
63
77
  /**
78
+ * 机构名称
64
79
  * 机构名称
65
80
  */
66
81
  instName: string;
67
82
  }
68
83
  export declare class Mani {
69
84
  /**
85
+ * 状态
70
86
  * 状态
71
87
  */
72
88
  status: number;
73
89
  /**
90
+ * 创建时间
74
91
  * 创建时间
75
92
  */
76
93
  createAt?: Date;
77
94
  /**
95
+ * 更新时间
78
96
  * 更新时间
79
97
  */
80
98
  updateAt?: Date;
81
99
  /**
100
+ * 创建人
82
101
  * 创建人
83
102
  */
84
103
  createBy: string;
85
104
  /**
105
+ * 更新人
86
106
  * 更新人
87
107
  */
88
108
  updateBy: string;
89
109
  }
90
110
  export declare class Cause implements Stacktrace {
91
111
  /**
112
+ * Cause name
92
113
  * Cause name
93
114
  */
94
115
  name: string;
95
116
  /**
117
+ * Cause position
96
118
  * Cause position
97
119
  */
98
120
  pos: string;
99
121
  /**
122
+ * Cause descriptor
100
123
  * Cause descriptor
101
124
  */
102
125
  text: string;
103
126
  /**
127
+ * Cause stack
104
128
  * Cause stack
105
129
  */
106
130
  buff: Uint8Array;
107
131
  }
108
132
  export declare class Topic {
109
133
  /**
134
+ *
110
135
  */
111
136
  topic: string;
112
137
  /**
138
+ *
113
139
  */
114
140
  code: string;
115
141
  /**
142
+ *
116
143
  */
117
144
  group: string;
118
145
  /**
146
+ *
119
147
  */
120
148
  sets: string;
121
149
  }
@@ -1,111 +1,138 @@
1
1
  export declare class CRL {
2
2
  /**
3
+ * Resource suite
3
4
  * Resource suite
4
5
  */
5
6
  suite: string;
6
7
  /**
8
+ * Resource project
7
9
  * Resource project
8
10
  */
9
11
  project: string;
10
12
  /**
13
+ * Resource name
11
14
  * Resource name
12
15
  */
13
16
  name: string;
14
17
  /**
18
+ * Resource version
15
19
  * Resource version
16
20
  */
17
21
  version: string;
18
22
  }
19
23
  export declare class CipherHello {
20
24
  /**
25
+ *
21
26
  */
22
27
  name: string;
23
28
  /**
29
+ * ReAnonymize/ReCipher/Homomorphic
24
30
  * ReAnonymize/ReCipher/Homomorphic
25
31
  */
26
32
  proto: string;
27
33
  /**
34
+ * SM2/RSA2/BFV etc.
28
35
  * SM2/RSA2/BFV etc.
29
36
  */
30
37
  algo: string;
31
38
  /**
39
+ *
32
40
  */
33
41
  parties: string[];
34
42
  /**
43
+ *
35
44
  */
36
45
  message: string;
37
46
  }
38
47
  export declare class CipherSuite {
39
48
  /**
49
+ * Handshake suite
40
50
  * Handshake suite
41
51
  */
42
52
  suite: string;
43
53
  /**
54
+ * Cipher sign request
44
55
  * Cipher sign request
45
56
  */
46
57
  csr: Uint8Array;
47
58
  }
48
59
  export declare class CipherKeygen {
49
60
  /**
61
+ *
50
62
  */
51
63
  hello: CipherHello;
52
64
  /**
65
+ *
53
66
  */
54
67
  suite: CipherSuite;
55
68
  /**
69
+ * Local party
56
70
  * Local party
57
71
  */
58
72
  local: string;
59
73
  }
60
74
  export declare class CipherRegen extends CipherKeygen {
61
75
  /**
76
+ * Generate keys
62
77
  * Generate keys
63
78
  */
64
79
  keys: Record<string, Uint8Array>;
65
80
  }
66
81
  export declare class CipherKey {
67
82
  /**
83
+ * Generate keys
68
84
  * Generate keys
69
85
  */
70
86
  keys: Record<string, Uint8Array>;
71
87
  }
72
88
  export declare class CipherEntity {
73
89
  /**
90
+ *
74
91
  */
75
92
  suite: string;
76
93
  /**
94
+ *
77
95
  */
78
96
  body: Uint8Array;
79
97
  }
80
98
  export declare class CipherTxEntity extends CipherEntity {
81
99
  /**
100
+ *
82
101
  */
83
102
  reKey: Uint8Array;
84
103
  }
85
104
  export declare class CipherObject {
86
105
  /**
106
+ *
87
107
  */
88
108
  code: string;
89
109
  /**
110
+ *
90
111
  */
91
112
  name: string;
92
113
  /**
114
+ *
93
115
  */
94
116
  memo: string;
95
117
  /**
118
+ *
96
119
  */
97
120
  uri: string;
98
121
  /**
122
+ * Confidential level
99
123
  * Confidential level
100
124
  */
101
125
  level: string;
102
126
  /**
127
+ *
103
128
  */
104
129
  nodeId: string;
105
130
  /**
131
+ *
106
132
  */
107
133
  instId: string;
108
134
  /**
135
+ *
109
136
  */
110
137
  raw: string;
111
138
  }