@abtnode/types 1.16.29-beta-112566d5 → 1.16.29-next-680cf137
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/CONTRIBUTING.zh.md +6 -0
- package/lib/rpc_pb.d.ts +782 -770
- package/lib/type_pb.d.ts +1 -0
- package/package.json +2 -2
package/lib/rpc_pb.d.ts
CHANGED
@@ -1,982 +1,994 @@
|
|
1
1
|
// package: abt_node
|
2
2
|
// file: rpc.proto
|
3
|
-
import * as enum_pb from
|
4
|
-
import * as type_pb from
|
5
|
-
export type TEmptyRequest = {
|
3
|
+
import * as enum_pb from "./enum_pb";
|
4
|
+
import * as type_pb from "./type_pb";
|
5
|
+
export type TEmptyRequest = {
|
6
|
+
}
|
6
7
|
export type TGeneralResponse = {
|
7
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
8
|
-
}
|
8
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
9
|
+
}
|
9
10
|
export type TBooleanResponse = {
|
10
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
11
|
-
result: boolean
|
12
|
-
}
|
11
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
12
|
+
result: boolean,
|
13
|
+
}
|
13
14
|
export type TRequestBlocklet = {
|
14
|
-
did: string
|
15
|
-
}
|
15
|
+
did: string,
|
16
|
+
}
|
16
17
|
export type TRequestComponents = {
|
17
|
-
did: string
|
18
|
-
componentDids: string[]
|
19
|
-
}
|
18
|
+
did: string,
|
19
|
+
componentDids: string[],
|
20
|
+
}
|
20
21
|
export type TRequestBlockletDetail = {
|
21
|
-
did: string
|
22
|
-
attachRuntimeInfo: boolean
|
23
|
-
getOptionalComponents: boolean
|
24
|
-
}
|
22
|
+
did: string,
|
23
|
+
attachRuntimeInfo: boolean,
|
24
|
+
getOptionalComponents: boolean,
|
25
|
+
}
|
25
26
|
export type TResponseBlocklet = {
|
26
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
27
|
-
blocklet?: type_pb.TBlockletState
|
28
|
-
}
|
27
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
28
|
+
blocklet?: type_pb.TBlockletState,
|
29
|
+
}
|
29
30
|
export type TRequestBlockletMetaFromUrl = {
|
30
|
-
url: string
|
31
|
-
checkPrice: boolean
|
32
|
-
}
|
31
|
+
url: string,
|
32
|
+
checkPrice: boolean,
|
33
|
+
}
|
33
34
|
export type TResponseBlockletMetaFromUrl = {
|
34
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
35
|
-
meta?: type_pb.TBlockletMeta
|
36
|
-
isFree: boolean
|
37
|
-
inStore: boolean
|
38
|
-
registryUrl: string
|
39
|
-
}
|
35
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
36
|
+
meta?: type_pb.TBlockletMeta,
|
37
|
+
isFree: boolean,
|
38
|
+
inStore: boolean,
|
39
|
+
registryUrl: string,
|
40
|
+
}
|
40
41
|
export type TRequestBlockletDiff = {
|
41
|
-
did: string
|
42
|
-
hashFiles: type_pb.THashFile[]
|
43
|
-
rootDid: string
|
44
|
-
}
|
42
|
+
did: string,
|
43
|
+
hashFiles: type_pb.THashFile[],
|
44
|
+
rootDid: string,
|
45
|
+
}
|
45
46
|
export type TResponseBlockletDiff = {
|
46
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
47
|
-
blockletDiff?: type_pb.TBlockletDiff
|
48
|
-
}
|
47
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
48
|
+
blockletDiff?: type_pb.TBlockletDiff,
|
49
|
+
}
|
49
50
|
export type TRequestGetBlocklets = {
|
50
|
-
useCache: boolean
|
51
|
-
query?: type_pb.TBlockletQuery
|
52
|
-
}
|
51
|
+
useCache: boolean,
|
52
|
+
query?: type_pb.TBlockletQuery,
|
53
|
+
}
|
53
54
|
export type TResponseGetBlocklets = {
|
54
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
55
|
-
blocklets: type_pb.TBlockletState[]
|
56
|
-
}
|
55
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
56
|
+
blocklets: type_pb.TBlockletState[],
|
57
|
+
}
|
57
58
|
export type TResponseBlockletsFromBackup = {
|
58
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
59
|
-
backups: type_pb.TBlockletBackupState[]
|
60
|
-
}
|
61
|
-
export type TRequestGetNodeInfo = {
|
59
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
60
|
+
backups: type_pb.TBlockletBackupState[],
|
61
|
+
}
|
62
|
+
export type TRequestGetNodeInfo = {
|
63
|
+
}
|
62
64
|
export type TResponseGetNodeInfo = {
|
63
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
64
|
-
info?: type_pb.TNodeState
|
65
|
-
}
|
65
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
66
|
+
info?: type_pb.TNodeState,
|
67
|
+
}
|
66
68
|
export type TResponseGetNodeEnv = {
|
67
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
68
|
-
info?: type_pb.TNodeEnvInfo
|
69
|
-
}
|
69
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
70
|
+
info?: type_pb.TNodeEnvInfo,
|
71
|
+
}
|
70
72
|
export type TRequestResetNode = {
|
71
|
-
owner: boolean
|
72
|
-
blocklets: boolean
|
73
|
-
webhooks: boolean
|
74
|
-
certificates: boolean
|
75
|
-
accessKeys: boolean
|
76
|
-
blockletExtras: boolean
|
77
|
-
routingRules: boolean
|
78
|
-
users: boolean
|
79
|
-
invitations: boolean
|
80
|
-
}
|
73
|
+
owner: boolean,
|
74
|
+
blocklets: boolean,
|
75
|
+
webhooks: boolean,
|
76
|
+
certificates: boolean,
|
77
|
+
accessKeys: boolean,
|
78
|
+
blockletExtras: boolean,
|
79
|
+
routingRules: boolean,
|
80
|
+
users: boolean,
|
81
|
+
invitations: boolean,
|
82
|
+
}
|
81
83
|
export type TResponseResetNode = {
|
82
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
83
|
-
}
|
84
|
-
export type TRequestDelegationState = {
|
84
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
85
|
+
}
|
86
|
+
export type TRequestDelegationState = {
|
87
|
+
}
|
85
88
|
export type TResponseDelegationState = {
|
86
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
87
|
-
state?: type_pb.TDelegationState
|
88
|
-
}
|
89
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
90
|
+
state?: type_pb.TDelegationState,
|
91
|
+
}
|
89
92
|
export type TRequestConfigBlocklet = {
|
90
|
-
did: string[]
|
91
|
-
configs: type_pb.TConfigEntry[]
|
92
|
-
}
|
93
|
+
did: string[],
|
94
|
+
configs: type_pb.TConfigEntry[],
|
95
|
+
}
|
93
96
|
export type TRequestVersionedBlocklet = {
|
94
|
-
type: string
|
95
|
-
did: string
|
96
|
-
storeUrl: string
|
97
|
-
url: string
|
98
|
-
file: enum_pb.UploadMap[keyof enum_pb.UploadMap]
|
99
|
-
diffVersion: string
|
100
|
-
deleteSet: string[]
|
101
|
-
title: string
|
102
|
-
description: string
|
103
|
-
startImmediately: boolean
|
104
|
-
downloadTokenList: type_pb.TDownloadToken[]
|
105
|
-
}
|
97
|
+
type: string,
|
98
|
+
did: string,
|
99
|
+
storeUrl: string,
|
100
|
+
url: string,
|
101
|
+
file: enum_pb.UploadMap[keyof enum_pb.UploadMap],
|
102
|
+
diffVersion: string,
|
103
|
+
deleteSet: string[],
|
104
|
+
title: string,
|
105
|
+
description: string,
|
106
|
+
startImmediately: boolean,
|
107
|
+
downloadTokenList: type_pb.TDownloadToken[],
|
108
|
+
}
|
106
109
|
export type TRequestInstallComponent = {
|
107
|
-
rootDid: string
|
108
|
-
mountPoint: string
|
109
|
-
url: string
|
110
|
-
file: enum_pb.UploadMap[keyof enum_pb.UploadMap]
|
111
|
-
did: string
|
112
|
-
diffVersion: string
|
113
|
-
deleteSet: string[]
|
114
|
-
name: string
|
115
|
-
title: string
|
116
|
-
configs: type_pb.TConfigEntry[]
|
117
|
-
downloadTokenList: type_pb.TDownloadToken[]
|
118
|
-
skipNavigation: boolean
|
119
|
-
onlyRequired: boolean
|
120
|
-
}
|
110
|
+
rootDid: string,
|
111
|
+
mountPoint: string,
|
112
|
+
url: string,
|
113
|
+
file: enum_pb.UploadMap[keyof enum_pb.UploadMap],
|
114
|
+
did: string,
|
115
|
+
diffVersion: string,
|
116
|
+
deleteSet: string[],
|
117
|
+
name: string,
|
118
|
+
title: string,
|
119
|
+
configs: type_pb.TConfigEntry[],
|
120
|
+
downloadTokenList: type_pb.TDownloadToken[],
|
121
|
+
skipNavigation: boolean,
|
122
|
+
onlyRequired: boolean,
|
123
|
+
}
|
121
124
|
export type TResponseCheckComponentsForUpdates = {
|
122
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
123
|
-
preUpdateInfo?: type_pb.TBlockletPreUpdateInfo
|
124
|
-
}
|
125
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
126
|
+
preUpdateInfo?: type_pb.TBlockletPreUpdateInfo,
|
127
|
+
}
|
125
128
|
export type TRequestUpdateComponents = {
|
126
|
-
updateId: string
|
127
|
-
rootDid: string
|
128
|
-
selectedComponents: string[]
|
129
|
-
}
|
129
|
+
updateId: string,
|
130
|
+
rootDid: string,
|
131
|
+
selectedComponents: string[],
|
132
|
+
}
|
130
133
|
export type TRequestGetDynamicComponents = {
|
131
|
-
url: string
|
132
|
-
}
|
134
|
+
url: string,
|
135
|
+
}
|
133
136
|
export type TResponseGetDynamicComponents = {
|
134
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
135
|
-
components: type_pb.TComponentState[]
|
136
|
-
}
|
137
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
138
|
+
components: type_pb.TComponentState[],
|
139
|
+
}
|
137
140
|
export type TRequestConfigPublicToStore = {
|
138
|
-
did: string
|
139
|
-
publicToStore: boolean
|
140
|
-
}
|
141
|
+
did: string,
|
142
|
+
publicToStore: boolean,
|
143
|
+
}
|
141
144
|
export type TRequestConfigNavigations = {
|
142
|
-
did: string
|
143
|
-
navigations: type_pb.TConfigNavigation[]
|
144
|
-
}
|
145
|
+
did: string,
|
146
|
+
navigations: type_pb.TConfigNavigation[],
|
147
|
+
}
|
145
148
|
export type TRequestConfigOAuth = {
|
146
|
-
did: string
|
147
|
-
oauth: string
|
148
|
-
}
|
149
|
+
did: string,
|
150
|
+
oauth: string,
|
151
|
+
}
|
149
152
|
export type TRequestJoinFederatedLogin = {
|
150
|
-
did: string
|
151
|
-
appUrl: string
|
152
|
-
}
|
153
|
+
did: string,
|
154
|
+
appUrl: string,
|
155
|
+
}
|
153
156
|
export type TRequestQuitFederatedLogin = {
|
154
|
-
did: string
|
155
|
-
}
|
157
|
+
did: string,
|
158
|
+
}
|
156
159
|
export type TRequestDisbandFederatedLogin = {
|
157
|
-
did: string
|
158
|
-
}
|
160
|
+
did: string,
|
161
|
+
}
|
159
162
|
export type TRequestAuditFederatedLogin = {
|
160
|
-
did: string
|
161
|
-
memberPid: string
|
162
|
-
status: string
|
163
|
-
}
|
163
|
+
did: string,
|
164
|
+
memberPid: string,
|
165
|
+
status: string,
|
166
|
+
}
|
164
167
|
export type TRequestConfigFederated = {
|
165
|
-
did: string
|
166
|
-
autoLogin: boolean
|
167
|
-
}
|
168
|
+
did: string,
|
169
|
+
autoLogin: boolean,
|
170
|
+
}
|
168
171
|
export type TRequestConfigNotification = {
|
169
|
-
did: string
|
170
|
-
notification: string
|
171
|
-
}
|
172
|
+
did: string,
|
173
|
+
notification: string,
|
174
|
+
}
|
172
175
|
export type TRequestSendEmail = {
|
173
|
-
did: string
|
174
|
-
receiver: string
|
175
|
-
email: string
|
176
|
-
}
|
176
|
+
did: string,
|
177
|
+
receiver: string,
|
178
|
+
email: string,
|
179
|
+
}
|
177
180
|
export type TRequestSendPush = {
|
178
|
-
did: string
|
179
|
-
receiver: string
|
180
|
-
notification: string
|
181
|
-
}
|
181
|
+
did: string,
|
182
|
+
receiver: string,
|
183
|
+
notification: string,
|
184
|
+
}
|
182
185
|
export type TRequestUpdateWhoCanAccess = {
|
183
|
-
did: string[]
|
184
|
-
whoCanAccess: string
|
185
|
-
}
|
186
|
+
did: string[],
|
187
|
+
whoCanAccess: string,
|
188
|
+
}
|
186
189
|
export type TRequestUpdateComponentTitle = {
|
187
|
-
did: string
|
188
|
-
rootDid: string
|
189
|
-
title: string
|
190
|
-
}
|
190
|
+
did: string,
|
191
|
+
rootDid: string,
|
192
|
+
title: string,
|
193
|
+
}
|
191
194
|
export type TRequestUpdateComponentMountPoint = {
|
192
|
-
did: string
|
193
|
-
rootDid: string
|
194
|
-
mountPoint: string
|
195
|
-
}
|
195
|
+
did: string,
|
196
|
+
rootDid: string,
|
197
|
+
mountPoint: string,
|
198
|
+
}
|
196
199
|
export type TRequestBackupBlocklet = {
|
197
|
-
appDid: string
|
198
|
-
to: enum_pb.BackupToMap[keyof enum_pb.BackupToMap]
|
199
|
-
}
|
200
|
+
appDid: string,
|
201
|
+
to: enum_pb.BackupToMap[keyof enum_pb.BackupToMap],
|
202
|
+
}
|
200
203
|
export type TRequestRestoreBlocklet = {
|
201
|
-
endpoint: string
|
202
|
-
appDid: string
|
203
|
-
delegation: string
|
204
|
-
password: Uint8Array | string
|
205
|
-
wallet?: Record<string, any
|
206
|
-
from: enum_pb.BackupToMap[keyof enum_pb.BackupToMap]
|
207
|
-
appPid: string
|
208
|
-
}
|
204
|
+
endpoint: string,
|
205
|
+
appDid: string,
|
206
|
+
delegation: string,
|
207
|
+
password: Uint8Array | string,
|
208
|
+
wallet?: Record<string, any>,
|
209
|
+
from: enum_pb.BackupToMap[keyof enum_pb.BackupToMap],
|
210
|
+
appPid: string,
|
211
|
+
}
|
209
212
|
export type TRequestDeleteBlocklet = {
|
210
|
-
did: string
|
211
|
-
keepData: boolean
|
212
|
-
}
|
213
|
+
did: string,
|
214
|
+
keepData: boolean,
|
215
|
+
}
|
213
216
|
export type TRequestDeleteComponent = {
|
214
|
-
did: string
|
215
|
-
rootDid: string
|
216
|
-
keepData: boolean
|
217
|
-
}
|
218
|
-
export type TRequestRegistry = {
|
217
|
+
did: string,
|
218
|
+
rootDid: string,
|
219
|
+
keepData: boolean,
|
220
|
+
}
|
221
|
+
export type TRequestRegistry = {
|
222
|
+
}
|
219
223
|
export type TRequestBlockletMeta = {
|
220
|
-
did: string
|
221
|
-
storeUrl: string
|
222
|
-
}
|
224
|
+
did: string,
|
225
|
+
storeUrl: string,
|
226
|
+
}
|
223
227
|
export type TResponseBlockletMeta = {
|
224
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
225
|
-
meta?: Record<string, any
|
226
|
-
}
|
228
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
229
|
+
meta?: Record<string, any>,
|
230
|
+
}
|
227
231
|
export type TRequestGetNotifications = {
|
228
|
-
receiver: string
|
229
|
-
sender: string
|
230
|
-
read: boolean
|
231
|
-
paging?: type_pb.TPaging
|
232
|
-
}
|
232
|
+
receiver: string,
|
233
|
+
sender: string,
|
234
|
+
read: boolean,
|
235
|
+
paging?: type_pb.TPaging,
|
236
|
+
}
|
233
237
|
export type TResponseGetNotifications = {
|
234
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
235
|
-
list: type_pb.TNotification[]
|
236
|
-
paging?: type_pb.TPaging
|
237
|
-
}
|
238
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
239
|
+
list: type_pb.TNotification[],
|
240
|
+
paging?: type_pb.TPaging,
|
241
|
+
}
|
238
242
|
export type TRequestReadNotifications = {
|
239
|
-
id: string
|
240
|
-
}
|
243
|
+
id: string,
|
244
|
+
}
|
241
245
|
export type TResponseReadNotifications = {
|
242
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
243
|
-
numAffected: number
|
244
|
-
}
|
246
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
247
|
+
numAffected: number,
|
248
|
+
}
|
245
249
|
export type TRequestGetBlockletNotifications = {
|
246
|
-
receiver: string
|
247
|
-
sender: string
|
248
|
-
read: boolean
|
249
|
-
paging?: type_pb.TPaging
|
250
|
-
teamDid: string
|
251
|
-
}
|
250
|
+
receiver: string,
|
251
|
+
sender: string,
|
252
|
+
read: boolean,
|
253
|
+
paging?: type_pb.TPaging,
|
254
|
+
teamDid: string,
|
255
|
+
}
|
252
256
|
export type TResponseGetBlockletNotifications = {
|
253
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
254
|
-
list: type_pb.TNotification[]
|
255
|
-
paging?: type_pb.TPaging
|
256
|
-
}
|
257
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
258
|
+
list: type_pb.TNotification[],
|
259
|
+
paging?: type_pb.TPaging,
|
260
|
+
}
|
257
261
|
export type TRequestReadBlockletNotifications = {
|
258
|
-
id: string
|
259
|
-
teamDid: string
|
260
|
-
}
|
262
|
+
id: string,
|
263
|
+
teamDid: string,
|
264
|
+
}
|
261
265
|
export type TResponseReadBlockletNotifications = {
|
262
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
263
|
-
numAffected: number
|
264
|
-
}
|
266
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
267
|
+
numAffected: number,
|
268
|
+
}
|
265
269
|
export type TRequestNodeRouting = {
|
266
|
-
provider: string
|
267
|
-
snapshotHash: string
|
268
|
-
forceRepopulate: boolean
|
269
|
-
}
|
270
|
+
provider: string,
|
271
|
+
snapshotHash: string,
|
272
|
+
forceRepopulate: boolean,
|
273
|
+
}
|
270
274
|
export type TRequestAddRoutingSite = {
|
271
|
-
domain: string
|
272
|
-
type: string
|
273
|
-
rules: type_pb.TRoutingRule[]
|
274
|
-
}
|
275
|
+
domain: string,
|
276
|
+
type: string,
|
277
|
+
rules: type_pb.TRoutingRule[],
|
278
|
+
}
|
275
279
|
export type TRequestUpdateRoutingSite = {
|
276
|
-
id: string
|
277
|
-
corsAllowedOrigins: string[]
|
278
|
-
domain: string
|
279
|
-
teamDid: string
|
280
|
-
}
|
280
|
+
id: string,
|
281
|
+
corsAllowedOrigins: string[],
|
282
|
+
domain: string,
|
283
|
+
teamDid: string,
|
284
|
+
}
|
281
285
|
export type TRequestAddDomainAlias = {
|
282
|
-
id: string
|
283
|
-
domainAlias: string
|
284
|
-
force: boolean
|
285
|
-
teamDid: string
|
286
|
-
type: string
|
287
|
-
nftDid: string
|
288
|
-
chainHost: string
|
289
|
-
inBlockletSetup: boolean
|
290
|
-
}
|
286
|
+
id: string,
|
287
|
+
domainAlias: string,
|
288
|
+
force: boolean,
|
289
|
+
teamDid: string,
|
290
|
+
type: string,
|
291
|
+
nftDid: string,
|
292
|
+
chainHost: string,
|
293
|
+
inBlockletSetup: boolean,
|
294
|
+
}
|
291
295
|
export type TRequestDeleteDomainAlias = {
|
292
|
-
id: string
|
293
|
-
domainAlias: string
|
294
|
-
teamDid: string
|
295
|
-
}
|
296
|
+
id: string,
|
297
|
+
domainAlias: string,
|
298
|
+
teamDid: string,
|
299
|
+
}
|
296
300
|
export type TRequestGetRoutingSites = {
|
297
|
-
snapshotHash: string
|
298
|
-
}
|
301
|
+
snapshotHash: string,
|
302
|
+
}
|
299
303
|
export type TResponseGetRoutingSites = {
|
300
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
301
|
-
sites: type_pb.TRoutingSite[]
|
302
|
-
}
|
304
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
305
|
+
sites: type_pb.TRoutingSite[],
|
306
|
+
}
|
303
307
|
export type TResponseRoutingSite = {
|
304
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
305
|
-
site?: type_pb.TRoutingSite
|
306
|
-
}
|
308
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
309
|
+
site?: type_pb.TRoutingSite,
|
310
|
+
}
|
307
311
|
export type TRequestDeleteRoutingSite = {
|
308
|
-
id: string
|
309
|
-
}
|
312
|
+
id: string,
|
313
|
+
}
|
310
314
|
export type TRequestAddRoutingRule = {
|
311
|
-
id: string
|
312
|
-
rule?: type_pb.TRoutingRule
|
313
|
-
teamDid: string
|
314
|
-
}
|
315
|
+
id: string,
|
316
|
+
rule?: type_pb.TRoutingRule,
|
317
|
+
teamDid: string,
|
318
|
+
}
|
315
319
|
export type TRequestUpdateRoutingRule = {
|
316
|
-
id: string
|
317
|
-
rule?: type_pb.TRoutingRule
|
318
|
-
teamDid: string
|
319
|
-
}
|
320
|
+
id: string,
|
321
|
+
rule?: type_pb.TRoutingRule,
|
322
|
+
teamDid: string,
|
323
|
+
}
|
320
324
|
export type TRequestDeleteRoutingRule = {
|
321
|
-
id: string
|
322
|
-
ruleId: string
|
323
|
-
teamDid: string
|
324
|
-
}
|
325
|
+
id: string,
|
326
|
+
ruleId: string,
|
327
|
+
teamDid: string,
|
328
|
+
}
|
325
329
|
export type TRequestCheckDomains = {
|
326
|
-
domains: string[]
|
327
|
-
did: string
|
328
|
-
}
|
330
|
+
domains: string[],
|
331
|
+
did: string,
|
332
|
+
}
|
329
333
|
export type TResponseCheckDomains = {
|
330
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
331
|
-
}
|
334
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
335
|
+
}
|
332
336
|
export type TRequestFindCertificateByDomain = {
|
333
|
-
domain: string
|
334
|
-
did: string
|
335
|
-
}
|
337
|
+
domain: string,
|
338
|
+
did: string,
|
339
|
+
}
|
336
340
|
export type TResponseFindCertificateByDomain = {
|
337
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
338
|
-
cert?: type_pb.TCertificate
|
339
|
-
}
|
341
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
342
|
+
cert?: type_pb.TCertificate,
|
343
|
+
}
|
340
344
|
export type TRequestTakeRoutingSnapshot = {
|
341
|
-
dryRun: boolean
|
342
|
-
message: string
|
343
|
-
}
|
345
|
+
dryRun: boolean,
|
346
|
+
message: string,
|
347
|
+
}
|
344
348
|
export type TResponseTakeRoutingSnapshot = {
|
345
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
346
|
-
hash: string
|
347
|
-
}
|
349
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
350
|
+
hash: string,
|
351
|
+
}
|
348
352
|
export type TRequestGetRoutingSnapshots = {
|
349
|
-
limit: number
|
350
|
-
}
|
353
|
+
limit: number,
|
354
|
+
}
|
351
355
|
export type TResponseGetRoutingSnapshots = {
|
352
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
353
|
-
snapshots: type_pb.TRoutingSnapshot[]
|
354
|
-
}
|
356
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
357
|
+
snapshots: type_pb.TRoutingSnapshot[],
|
358
|
+
}
|
355
359
|
export type TRequestGetSnapshotSites = {
|
356
|
-
hash: string
|
357
|
-
}
|
360
|
+
hash: string,
|
361
|
+
}
|
358
362
|
export type TResponseGetSnapshotSites = {
|
359
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
360
|
-
sites: type_pb.TRoutingSite[]
|
361
|
-
}
|
362
|
-
export type TRequestGetRoutingProviders = {
|
363
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
364
|
+
sites: type_pb.TRoutingSite[],
|
365
|
+
}
|
366
|
+
export type TRequestGetRoutingProviders = {
|
367
|
+
}
|
363
368
|
export type TResponseGetRoutingProviders = {
|
364
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
365
|
-
providers: type_pb.TRoutingProvider[]
|
366
|
-
}
|
367
|
-
export type TRequestGetCertificates = {
|
369
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
370
|
+
providers: type_pb.TRoutingProvider[],
|
371
|
+
}
|
372
|
+
export type TRequestGetCertificates = {
|
373
|
+
}
|
368
374
|
export type TResponseGetCertificates = {
|
369
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
370
|
-
certificates: type_pb.TCertificate[]
|
371
|
-
}
|
375
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
376
|
+
certificates: type_pb.TCertificate[],
|
377
|
+
}
|
372
378
|
export type TRequestAddNginxHttpsCert = {
|
373
|
-
name: string
|
374
|
-
privateKey: string
|
375
|
-
certificate: string
|
376
|
-
}
|
379
|
+
name: string,
|
380
|
+
privateKey: string,
|
381
|
+
certificate: string,
|
382
|
+
}
|
377
383
|
export type TResponseAddNginxHttpsCert = {
|
378
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
379
|
-
}
|
384
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
385
|
+
}
|
380
386
|
export type TRequestUpdateNginxHttpsCert = {
|
381
|
-
id: string
|
382
|
-
name: string
|
383
|
-
}
|
387
|
+
id: string,
|
388
|
+
name: string,
|
389
|
+
}
|
384
390
|
export type TResponseUpdateNginxHttpsCert = {
|
385
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
386
|
-
}
|
391
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
392
|
+
}
|
387
393
|
export type TRequestDeleteNginxHttpsCert = {
|
388
|
-
id: string
|
389
|
-
}
|
394
|
+
id: string,
|
395
|
+
}
|
390
396
|
export type TResponseDeleteNginxHttpsCert = {
|
391
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
392
|
-
}
|
397
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
398
|
+
}
|
393
399
|
export type TRequestAddLetsEncryptCert = {
|
394
|
-
domain: string
|
395
|
-
did: string
|
396
|
-
siteId: string
|
397
|
-
inBlockletSetup: boolean
|
398
|
-
}
|
400
|
+
domain: string,
|
401
|
+
did: string,
|
402
|
+
siteId: string,
|
403
|
+
inBlockletSetup: boolean,
|
404
|
+
}
|
399
405
|
export type TResponseAddLetsEncryptCert = {
|
400
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
401
|
-
}
|
406
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
407
|
+
}
|
402
408
|
export type TRequestIsDidDomain = {
|
403
|
-
domain: string
|
404
|
-
}
|
409
|
+
domain: string,
|
410
|
+
}
|
405
411
|
export type TResponseIsDidDomain = {
|
406
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
407
|
-
value: boolean
|
408
|
-
}
|
409
|
-
export type TRequestAccessKeys = {
|
412
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
413
|
+
value: boolean,
|
414
|
+
}
|
415
|
+
export type TRequestAccessKeys = {
|
416
|
+
}
|
410
417
|
export type TResponseAccessKeys = {
|
411
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
412
|
-
list: type_pb.TAccessKey[]
|
413
|
-
}
|
418
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
419
|
+
list: type_pb.TAccessKey[],
|
420
|
+
}
|
414
421
|
export type TRequestCreateAccessKey = {
|
415
|
-
remark: string
|
416
|
-
passport: string
|
417
|
-
}
|
422
|
+
remark: string,
|
423
|
+
passport: string,
|
424
|
+
}
|
418
425
|
export type TResponseCreateAccessKey = {
|
419
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
420
|
-
data?: type_pb.TCreateAccessKey
|
421
|
-
}
|
426
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
427
|
+
data?: type_pb.TCreateAccessKey,
|
428
|
+
}
|
422
429
|
export type TRequestUpdateAccessKey = {
|
423
|
-
accessKeyId: string
|
424
|
-
remark: string
|
425
|
-
passport: string
|
426
|
-
}
|
430
|
+
accessKeyId: string,
|
431
|
+
remark: string,
|
432
|
+
passport: string,
|
433
|
+
}
|
427
434
|
export type TResponseUpdateAccessKey = {
|
428
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
429
|
-
data?: type_pb.TAccessKey
|
430
|
-
}
|
435
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
436
|
+
data?: type_pb.TAccessKey,
|
437
|
+
}
|
431
438
|
export type TRequestDeleteAccessKey = {
|
432
|
-
accessKeyId: string
|
433
|
-
}
|
439
|
+
accessKeyId: string,
|
440
|
+
}
|
434
441
|
export type TResponseDeleteAccessKey = {
|
435
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
436
|
-
}
|
442
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
443
|
+
}
|
437
444
|
export type TRequestCreateWebHook = {
|
438
|
-
type: enum_pb.SenderTypeMap[keyof enum_pb.SenderTypeMap]
|
439
|
-
title: string
|
440
|
-
description: string
|
441
|
-
params: type_pb.TWebHookParam[]
|
442
|
-
}
|
445
|
+
type: enum_pb.SenderTypeMap[keyof enum_pb.SenderTypeMap],
|
446
|
+
title: string,
|
447
|
+
description: string,
|
448
|
+
params: type_pb.TWebHookParam[],
|
449
|
+
}
|
443
450
|
export type TRequestDeleteWebHook = {
|
444
|
-
id: string
|
445
|
-
}
|
446
|
-
export type TRequestWebHook = {
|
447
|
-
|
451
|
+
id: string,
|
452
|
+
}
|
453
|
+
export type TRequestWebHook = {
|
454
|
+
}
|
455
|
+
export type TRequestSenderList = {
|
456
|
+
}
|
448
457
|
export type TResponseSenderList = {
|
449
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
450
|
-
senders: type_pb.TWebHookSender[]
|
451
|
-
}
|
458
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
459
|
+
senders: type_pb.TWebHookSender[],
|
460
|
+
}
|
452
461
|
export type TResponseWebHooks = {
|
453
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
454
|
-
webhooks: type_pb.TWebHook[]
|
455
|
-
}
|
462
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
463
|
+
webhooks: type_pb.TWebHook[],
|
464
|
+
}
|
456
465
|
export type TResponseDeleteWebHook = {
|
457
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
458
|
-
}
|
466
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
467
|
+
}
|
459
468
|
export type TResponseCreateWebHook = {
|
460
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
461
|
-
webhook?: type_pb.TWebHookSender
|
462
|
-
}
|
469
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
470
|
+
webhook?: type_pb.TWebHookSender,
|
471
|
+
}
|
463
472
|
export type TRequestSendMsg = {
|
464
|
-
webhookId: string
|
465
|
-
message: string
|
466
|
-
}
|
473
|
+
webhookId: string,
|
474
|
+
message: string,
|
475
|
+
}
|
467
476
|
export type TResponseSendMsg = {
|
468
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
469
|
-
}
|
470
|
-
export type TRequestUpgradeNodeVersion = {
|
477
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
478
|
+
}
|
479
|
+
export type TRequestUpgradeNodeVersion = {
|
480
|
+
}
|
471
481
|
export type TResponseUpgradeNodeVersion = {
|
472
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
473
|
-
sessionId: string
|
474
|
-
}
|
475
|
-
export type TRequestCheckNodeVersion = {
|
482
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
483
|
+
sessionId: string,
|
484
|
+
}
|
485
|
+
export type TRequestCheckNodeVersion = {
|
486
|
+
}
|
476
487
|
export type TResponseCheckNodeVersion = {
|
477
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
478
|
-
version: string
|
479
|
-
}
|
480
|
-
export type TRequestRestartServer = {
|
488
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
489
|
+
version: string,
|
490
|
+
}
|
491
|
+
export type TRequestRestartServer = {
|
492
|
+
}
|
481
493
|
export type TResponseRestartServer = {
|
482
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
483
|
-
sessionId: string
|
484
|
-
}
|
494
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
495
|
+
sessionId: string,
|
496
|
+
}
|
485
497
|
export type TRequestGetSession = {
|
486
|
-
id: string
|
487
|
-
}
|
498
|
+
id: string,
|
499
|
+
}
|
488
500
|
export type TResponseGetSession = {
|
489
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
490
|
-
session?: Record<string, any
|
491
|
-
}
|
501
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
502
|
+
session?: Record<string, any>,
|
503
|
+
}
|
492
504
|
export type TRequestStartSession = {
|
493
|
-
data: string
|
494
|
-
}
|
505
|
+
data: string,
|
506
|
+
}
|
495
507
|
export type TRequestUpdateSession = {
|
496
|
-
id: string
|
497
|
-
data: string
|
498
|
-
}
|
508
|
+
id: string,
|
509
|
+
data: string,
|
510
|
+
}
|
499
511
|
export type TRequestEndSession = {
|
500
|
-
id: string
|
501
|
-
}
|
512
|
+
id: string,
|
513
|
+
}
|
502
514
|
export type TRequestCreateInvitation = {
|
503
|
-
teamDid: string
|
504
|
-
role: string
|
505
|
-
remark: string
|
506
|
-
sourceapppid: string
|
507
|
-
}
|
515
|
+
teamDid: string,
|
516
|
+
role: string,
|
517
|
+
remark: string,
|
518
|
+
sourceapppid: string,
|
519
|
+
}
|
508
520
|
export type TResponseCreateInvitation = {
|
509
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
510
|
-
inviteInfo?: type_pb.TInviteInfo
|
511
|
-
}
|
521
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
522
|
+
inviteInfo?: type_pb.TInviteInfo,
|
523
|
+
}
|
512
524
|
export type TRequestCreateTransferNodeInvitation = {
|
513
|
-
teamDid: string
|
514
|
-
remark: string
|
515
|
-
}
|
525
|
+
teamDid: string,
|
526
|
+
remark: string,
|
527
|
+
}
|
516
528
|
export type TResponseCreateTransferNodeInvitation = {
|
517
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
518
|
-
inviteInfo?: type_pb.TInviteInfo
|
519
|
-
}
|
529
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
530
|
+
inviteInfo?: type_pb.TInviteInfo,
|
531
|
+
}
|
520
532
|
export type TRequestDeleteTeamSession = {
|
521
|
-
teamDid: string
|
522
|
-
sessionId: string
|
523
|
-
}
|
533
|
+
teamDid: string,
|
534
|
+
sessionId: string,
|
535
|
+
}
|
524
536
|
export type TResponseGetInvitations = {
|
525
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
526
|
-
invitations: type_pb.TInviteInfo[]
|
527
|
-
}
|
537
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
538
|
+
invitations: type_pb.TInviteInfo[],
|
539
|
+
}
|
528
540
|
export type TRequestDeleteInvitation = {
|
529
|
-
teamDid: string
|
530
|
-
inviteId: string
|
531
|
-
}
|
541
|
+
teamDid: string,
|
542
|
+
inviteId: string,
|
543
|
+
}
|
532
544
|
export type TRequestHasPermission = {
|
533
|
-
teamDid: string
|
534
|
-
role: string
|
535
|
-
permission: string
|
536
|
-
}
|
545
|
+
teamDid: string,
|
546
|
+
role: string,
|
547
|
+
permission: string,
|
548
|
+
}
|
537
549
|
export type TRequestCreatePassportIssuance = {
|
538
|
-
teamDid: string
|
539
|
-
ownerDid: string
|
540
|
-
name: string
|
541
|
-
}
|
550
|
+
teamDid: string,
|
551
|
+
ownerDid: string,
|
552
|
+
name: string,
|
553
|
+
}
|
542
554
|
export type TResponseCreatePassportIssuance = {
|
543
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
544
|
-
info?: type_pb.TPassportIssuanceInfo
|
545
|
-
}
|
555
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
556
|
+
info?: type_pb.TPassportIssuanceInfo,
|
557
|
+
}
|
546
558
|
export type TRequestGetPassportIssuances = {
|
547
|
-
teamDid: string
|
548
|
-
ownerDid: string
|
549
|
-
}
|
559
|
+
teamDid: string,
|
560
|
+
ownerDid: string,
|
561
|
+
}
|
550
562
|
export type TResponseGetPassportIssuances = {
|
551
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
552
|
-
list: type_pb.TPassportIssuanceInfo[]
|
553
|
-
}
|
563
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
564
|
+
list: type_pb.TPassportIssuanceInfo[],
|
565
|
+
}
|
554
566
|
export type TRequestConfigTrustedPassports = {
|
555
|
-
teamDid: string
|
556
|
-
trustedPassports: type_pb.TTrustedPassport[]
|
557
|
-
}
|
567
|
+
teamDid: string,
|
568
|
+
trustedPassports: type_pb.TTrustedPassport[],
|
569
|
+
}
|
558
570
|
export type TRequestConfigTrustedFactories = {
|
559
|
-
teamDid: string
|
560
|
-
trustedFactories: type_pb.TTrustedFactory[]
|
561
|
-
}
|
571
|
+
teamDid: string,
|
572
|
+
trustedFactories: type_pb.TTrustedFactory[],
|
573
|
+
}
|
562
574
|
export type TRequestConfigPassportIssuance = {
|
563
|
-
teamDid: string
|
564
|
-
enable: boolean
|
565
|
-
}
|
575
|
+
teamDid: string,
|
576
|
+
enable: boolean,
|
577
|
+
}
|
566
578
|
export type TResponseRoles = {
|
567
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
568
|
-
roles: type_pb.TRole[]
|
569
|
-
}
|
579
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
580
|
+
roles: type_pb.TRole[],
|
581
|
+
}
|
570
582
|
export type TRequestCreateRole = {
|
571
|
-
teamDid: string
|
572
|
-
name: string
|
573
|
-
title: string
|
574
|
-
description: string
|
575
|
-
childName: string
|
576
|
-
permissions: string[]
|
577
|
-
extra: string
|
578
|
-
}
|
583
|
+
teamDid: string,
|
584
|
+
name: string,
|
585
|
+
title: string,
|
586
|
+
description: string,
|
587
|
+
childName: string,
|
588
|
+
permissions: string[],
|
589
|
+
extra: string,
|
590
|
+
}
|
579
591
|
export type TResponseRole = {
|
580
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
581
|
-
role?: type_pb.TRole
|
582
|
-
}
|
592
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
593
|
+
role?: type_pb.TRole,
|
594
|
+
}
|
583
595
|
export type TResponsePermissions = {
|
584
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
585
|
-
permissions: type_pb.TPermission[]
|
586
|
-
}
|
596
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
597
|
+
permissions: type_pb.TPermission[],
|
598
|
+
}
|
587
599
|
export type TRequestCreatePermission = {
|
588
|
-
teamDid: string
|
589
|
-
name: string
|
590
|
-
description: string
|
591
|
-
}
|
600
|
+
teamDid: string,
|
601
|
+
name: string,
|
602
|
+
description: string,
|
603
|
+
}
|
592
604
|
export type TRequestTeamPermission = {
|
593
|
-
teamDid: string
|
594
|
-
permission?: type_pb.TPermission
|
595
|
-
}
|
605
|
+
teamDid: string,
|
606
|
+
permission?: type_pb.TPermission,
|
607
|
+
}
|
596
608
|
export type TResponsePermission = {
|
597
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
598
|
-
permission?: type_pb.TPermission
|
599
|
-
}
|
609
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
610
|
+
permission?: type_pb.TPermission,
|
611
|
+
}
|
600
612
|
export type TRequestGrantPermissionForRole = {
|
601
|
-
teamDid: string
|
602
|
-
roleName: string
|
603
|
-
grantName: string
|
604
|
-
}
|
613
|
+
teamDid: string,
|
614
|
+
roleName: string,
|
615
|
+
grantName: string,
|
616
|
+
}
|
605
617
|
export type TRequestRevokePermissionFromRole = {
|
606
|
-
teamDid: string
|
607
|
-
roleName: string
|
608
|
-
grantName: string
|
609
|
-
}
|
618
|
+
teamDid: string,
|
619
|
+
roleName: string,
|
620
|
+
grantName: string,
|
621
|
+
}
|
610
622
|
export type TRequestDeleteRole = {
|
611
|
-
teamDid: string
|
612
|
-
name: string
|
613
|
-
}
|
623
|
+
teamDid: string,
|
624
|
+
name: string,
|
625
|
+
}
|
614
626
|
export type TRequestDeletePermission = {
|
615
|
-
teamDid: string
|
616
|
-
name: string
|
617
|
-
}
|
627
|
+
teamDid: string,
|
628
|
+
name: string,
|
629
|
+
}
|
618
630
|
export type TRequestUpdatePermissionsForRole = {
|
619
|
-
teamDid: string
|
620
|
-
roleName: string
|
621
|
-
grantNames: string[]
|
622
|
-
}
|
631
|
+
teamDid: string,
|
632
|
+
roleName: string,
|
633
|
+
grantNames: string[],
|
634
|
+
}
|
623
635
|
export type TRequestTeamRole = {
|
624
|
-
teamDid: string
|
625
|
-
role?: type_pb.TRoleUpdate
|
626
|
-
}
|
636
|
+
teamDid: string,
|
637
|
+
role?: type_pb.TRoleUpdate,
|
638
|
+
}
|
627
639
|
export type TRequestTeamUser = {
|
628
|
-
teamDid: string
|
629
|
-
user?: type_pb.TUserInfo
|
630
|
-
options?: TRequestTeamUserOptions
|
631
|
-
}
|
640
|
+
teamDid: string,
|
641
|
+
user?: type_pb.TUserInfo,
|
642
|
+
options?: TRequestTeamUserOptions,
|
643
|
+
}
|
632
644
|
export type TRequestUpdateUserTags = {
|
633
|
-
teamDid: string
|
634
|
-
did: string
|
635
|
-
tags: number[]
|
636
|
-
}
|
645
|
+
teamDid: string,
|
646
|
+
did: string,
|
647
|
+
tags: number[],
|
648
|
+
}
|
637
649
|
export type TRequestUpdateUserExtra = {
|
638
|
-
teamDid: string
|
639
|
-
did: string
|
640
|
-
remark: string
|
641
|
-
extra: string
|
642
|
-
}
|
650
|
+
teamDid: string,
|
651
|
+
did: string,
|
652
|
+
remark: string,
|
653
|
+
extra: string,
|
654
|
+
}
|
643
655
|
export type TRequestUpdateUserProfile = {
|
644
|
-
teamDid: string
|
645
|
-
did: string
|
646
|
-
remark: string
|
647
|
-
locale: string
|
648
|
-
}
|
656
|
+
teamDid: string,
|
657
|
+
did: string,
|
658
|
+
remark: string,
|
659
|
+
locale: string,
|
660
|
+
}
|
649
661
|
export type TRequestTeamUserOptions = {
|
650
|
-
enableConnectedAccount: boolean
|
651
|
-
includeTags: boolean
|
652
|
-
}
|
662
|
+
enableConnectedAccount: boolean,
|
663
|
+
includeTags: boolean,
|
664
|
+
}
|
653
665
|
export type TResponseUser = {
|
654
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
655
|
-
user?: type_pb.TUserInfo
|
656
|
-
}
|
666
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
667
|
+
user?: type_pb.TUserInfo,
|
668
|
+
}
|
657
669
|
export type TRequestUsers = {
|
658
|
-
teamDid: string
|
659
|
-
query?: type_pb.TUserQuery
|
660
|
-
sort?: type_pb.TUserSort
|
661
|
-
paging?: type_pb.TPaging
|
662
|
-
dids: string[]
|
663
|
-
}
|
670
|
+
teamDid: string,
|
671
|
+
query?: type_pb.TUserQuery,
|
672
|
+
sort?: type_pb.TUserSort,
|
673
|
+
paging?: type_pb.TPaging,
|
674
|
+
dids: string[],
|
675
|
+
}
|
664
676
|
export type TRequestLogoutUser = {
|
665
|
-
teamDid: string
|
666
|
-
appPid: string
|
667
|
-
userDid: string
|
668
|
-
visitorId: string
|
669
|
-
}
|
677
|
+
teamDid: string,
|
678
|
+
appPid: string,
|
679
|
+
userDid: string,
|
680
|
+
visitorId: string,
|
681
|
+
}
|
670
682
|
export type TResponseGetUsersCount = {
|
671
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
672
|
-
count: number
|
673
|
-
}
|
683
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
684
|
+
count: number,
|
685
|
+
}
|
674
686
|
export type TResponseGetUsersCountPerRole = {
|
675
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
676
|
-
counts: type_pb.TKeyValue[]
|
677
|
-
}
|
687
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
688
|
+
counts: type_pb.TKeyValue[],
|
689
|
+
}
|
678
690
|
export type TResponseUsers = {
|
679
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
680
|
-
users: type_pb.TUserInfo[]
|
681
|
-
paging?: type_pb.TPaging
|
682
|
-
}
|
691
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
692
|
+
users: type_pb.TUserInfo[],
|
693
|
+
paging?: type_pb.TPaging,
|
694
|
+
}
|
683
695
|
export type TRequestIssuePassportToUser = {
|
684
|
-
teamDid: string
|
685
|
-
userDid: string
|
686
|
-
role: string
|
687
|
-
}
|
696
|
+
teamDid: string,
|
697
|
+
userDid: string,
|
698
|
+
role: string,
|
699
|
+
}
|
688
700
|
export type TRequestSwitchProfile = {
|
689
|
-
teamDid: string
|
690
|
-
userDid: string
|
691
|
-
profile?: type_pb.TUserProfile
|
692
|
-
}
|
701
|
+
teamDid: string,
|
702
|
+
userDid: string,
|
703
|
+
profile?: type_pb.TUserProfile,
|
704
|
+
}
|
693
705
|
export type TRequestRevokeUserPassport = {
|
694
|
-
teamDid: string
|
695
|
-
userDid: string
|
696
|
-
passportId: string
|
697
|
-
}
|
706
|
+
teamDid: string,
|
707
|
+
userDid: string,
|
708
|
+
passportId: string,
|
709
|
+
}
|
698
710
|
export type TRequestAddBlockletStore = {
|
699
|
-
teamDid: string
|
700
|
-
url: string
|
701
|
-
scope: string
|
702
|
-
}
|
711
|
+
teamDid: string,
|
712
|
+
url: string,
|
713
|
+
scope: string,
|
714
|
+
}
|
703
715
|
export type TRequestDeleteBlockletStore = {
|
704
|
-
teamDid: string
|
705
|
-
url: string
|
706
|
-
projectId: string
|
707
|
-
scope: string
|
708
|
-
}
|
716
|
+
teamDid: string,
|
717
|
+
url: string,
|
718
|
+
projectId: string,
|
719
|
+
scope: string,
|
720
|
+
}
|
709
721
|
export type TRequestGetAuditLogs = {
|
710
|
-
paging?: type_pb.TPaging
|
711
|
-
scope: string
|
712
|
-
category: string
|
713
|
-
}
|
722
|
+
paging?: type_pb.TPaging,
|
723
|
+
scope: string,
|
724
|
+
category: string,
|
725
|
+
}
|
714
726
|
export type TResponseGetAuditLogs = {
|
715
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
716
|
-
list: type_pb.TAuditLog[]
|
717
|
-
paging?: type_pb.TPaging
|
718
|
-
}
|
727
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
728
|
+
list: type_pb.TAuditLog[],
|
729
|
+
paging?: type_pb.TPaging,
|
730
|
+
}
|
719
731
|
export type TRequestGateway = {
|
720
|
-
requestLimit?: type_pb.TRequestLimit
|
721
|
-
cacheEnabled: boolean
|
722
|
-
}
|
732
|
+
requestLimit?: type_pb.TRequestLimit,
|
733
|
+
cacheEnabled: boolean,
|
734
|
+
}
|
723
735
|
export type TResponseGateway = {
|
724
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
725
|
-
gateway?: type_pb.TGateway
|
726
|
-
cacheEnabled: boolean
|
727
|
-
}
|
736
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
737
|
+
gateway?: type_pb.TGateway,
|
738
|
+
cacheEnabled: boolean,
|
739
|
+
}
|
728
740
|
export type TRequestBlockletRuntimeHistory = {
|
729
|
-
did: string
|
730
|
-
hours: number
|
731
|
-
}
|
741
|
+
did: string,
|
742
|
+
hours: number,
|
743
|
+
}
|
732
744
|
export type TResponseNodeRuntimeHistory = {
|
733
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
734
|
-
history: type_pb.TNodeHistoryItem[]
|
735
|
-
}
|
745
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
746
|
+
history: type_pb.TNodeHistoryItem[],
|
747
|
+
}
|
736
748
|
export type TRequestNodeRuntimeHistory = {
|
737
|
-
hours: number
|
738
|
-
}
|
749
|
+
hours: number,
|
750
|
+
}
|
739
751
|
export type TResponseBlockletRuntimeHistory = {
|
740
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
741
|
-
history: type_pb.TBlockletHistoryItem[]
|
742
|
-
}
|
752
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
753
|
+
history: type_pb.TBlockletHistoryItem[],
|
754
|
+
}
|
743
755
|
export type TRequestMigrateApplicationToStructV2 = {
|
744
|
-
did: string
|
745
|
-
appSk: string
|
746
|
-
}
|
756
|
+
did: string,
|
757
|
+
appSk: string,
|
758
|
+
}
|
747
759
|
export type TRequestAddBlockletSpaceGateway = {
|
748
|
-
did: string
|
749
|
-
spaceGateway?: type_pb.TSpaceGateway
|
750
|
-
}
|
760
|
+
did: string,
|
761
|
+
spaceGateway?: type_pb.TSpaceGateway,
|
762
|
+
}
|
751
763
|
export type TRequestDeleteBlockletSpaceGateway = {
|
752
|
-
did: string
|
753
|
-
spacegatewaydid: string
|
754
|
-
}
|
764
|
+
did: string,
|
765
|
+
spacegatewaydid: string,
|
766
|
+
}
|
755
767
|
export type TRequestUpdateBlockletSpaceGateway = {
|
756
|
-
did: string
|
757
|
-
where?: type_pb.TSpaceGateway
|
758
|
-
spaceGateway?: type_pb.TSpaceGateway
|
759
|
-
}
|
768
|
+
did: string,
|
769
|
+
where?: type_pb.TSpaceGateway,
|
770
|
+
spaceGateway?: type_pb.TSpaceGateway,
|
771
|
+
}
|
760
772
|
export type TResponseGetBlockletSpaceGateways = {
|
761
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
762
|
-
spaceGateways: type_pb.TSpaceGateway[]
|
763
|
-
}
|
773
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
774
|
+
spaceGateways: type_pb.TSpaceGateway[],
|
775
|
+
}
|
764
776
|
export type TRequestUpdateAutoBackup = {
|
765
|
-
did: string
|
766
|
-
autobackup?: type_pb.TAutoBackup
|
767
|
-
}
|
777
|
+
did: string,
|
778
|
+
autobackup?: type_pb.TAutoBackup,
|
779
|
+
}
|
768
780
|
export type TResponseGetAutoBackup = {
|
769
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
770
|
-
autobackup?: type_pb.TAutoBackup
|
771
|
-
}
|
781
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
782
|
+
autobackup?: type_pb.TAutoBackup,
|
783
|
+
}
|
772
784
|
export type TRequestGetAutoBackup = {
|
773
|
-
did: string
|
774
|
-
}
|
785
|
+
did: string,
|
786
|
+
}
|
775
787
|
export type TRequestGetBlockletBackups = {
|
776
|
-
did: string
|
777
|
-
}
|
788
|
+
did: string,
|
789
|
+
}
|
778
790
|
export type TResponseGetBlockletBackups = {
|
779
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
780
|
-
backups: type_pb.TBackup[]
|
781
|
-
}
|
791
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
792
|
+
backups: type_pb.TBackup[],
|
793
|
+
}
|
782
794
|
export type TRequestUpdateAutoCheckUpdate = {
|
783
|
-
did: string
|
784
|
-
autoCheckUpdate?: type_pb.TAutoCheckUpdate
|
785
|
-
}
|
795
|
+
did: string,
|
796
|
+
autoCheckUpdate?: type_pb.TAutoCheckUpdate,
|
797
|
+
}
|
786
798
|
export type TRequestGetAutoCheckUpdate = {
|
787
|
-
did: string
|
788
|
-
}
|
799
|
+
did: string,
|
800
|
+
}
|
789
801
|
export type TResponseGetAutoCheckUpdate = {
|
790
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
791
|
-
autoCheckUpdate?: type_pb.TAutoCheckUpdate
|
792
|
-
}
|
802
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
803
|
+
autoCheckUpdate?: type_pb.TAutoCheckUpdate,
|
804
|
+
}
|
793
805
|
export type TRequestGetLauncherSession = {
|
794
|
-
launcherSessionId: string
|
795
|
-
launcherUrl: string
|
796
|
-
}
|
806
|
+
launcherSessionId: string,
|
807
|
+
launcherUrl: string,
|
808
|
+
}
|
797
809
|
export type TResponseGetLauncherSession = {
|
798
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
799
|
-
error: string
|
800
|
-
launcherSession?: Record<string, any
|
801
|
-
}
|
810
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
811
|
+
error: string,
|
812
|
+
launcherSession?: Record<string, any>,
|
813
|
+
}
|
802
814
|
export type TRequestUpdateAppSessionConfig = {
|
803
|
-
did: string
|
804
|
-
config?: type_pb.TSessionConfig
|
805
|
-
}
|
815
|
+
did: string,
|
816
|
+
config?: type_pb.TSessionConfig,
|
817
|
+
}
|
806
818
|
export type TRequestGetTrafficInsights = {
|
807
|
-
did: string
|
808
|
-
startDate: string
|
809
|
-
endDate: string
|
810
|
-
paging?: type_pb.TPaging
|
811
|
-
}
|
819
|
+
did: string,
|
820
|
+
startDate: string,
|
821
|
+
endDate: string,
|
822
|
+
paging?: type_pb.TPaging,
|
823
|
+
}
|
812
824
|
export type TResponseGetTrafficInsights = {
|
813
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
814
|
-
list: type_pb.TTrafficInsight[]
|
815
|
-
paging?: type_pb.TPaging
|
816
|
-
}
|
825
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
826
|
+
list: type_pb.TTrafficInsight[],
|
827
|
+
paging?: type_pb.TPaging,
|
828
|
+
}
|
817
829
|
export type TRequestClearCache = {
|
818
|
-
teamDid: string
|
819
|
-
pattern: string
|
820
|
-
}
|
830
|
+
teamDid: string,
|
831
|
+
pattern: string,
|
832
|
+
}
|
821
833
|
export type TResponseClearCache = {
|
822
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
823
|
-
removed: string[]
|
824
|
-
}
|
834
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
835
|
+
removed: string[],
|
836
|
+
}
|
825
837
|
export type TRequestTag = {
|
826
|
-
teamDid: string
|
827
|
-
tag?: type_pb.TTag
|
828
|
-
}
|
838
|
+
teamDid: string,
|
839
|
+
tag?: type_pb.TTag,
|
840
|
+
}
|
829
841
|
export type TResponseTag = {
|
830
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
831
|
-
tag?: type_pb.TTag
|
832
|
-
}
|
842
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
843
|
+
tag?: type_pb.TTag,
|
844
|
+
}
|
833
845
|
export type TRequestTags = {
|
834
|
-
teamDid: string
|
835
|
-
paging?: type_pb.TPaging
|
836
|
-
}
|
846
|
+
teamDid: string,
|
847
|
+
paging?: type_pb.TPaging,
|
848
|
+
}
|
837
849
|
export type TResponseTags = {
|
838
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
839
|
-
tags: type_pb.TTag[]
|
840
|
-
paging?: type_pb.TPaging
|
841
|
-
}
|
850
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
851
|
+
tags: type_pb.TTag[],
|
852
|
+
paging?: type_pb.TPaging,
|
853
|
+
}
|
842
854
|
export type TRequestProject = {
|
843
|
-
did: string
|
844
|
-
projectid: string
|
845
|
-
messageid: string
|
846
|
-
}
|
855
|
+
did: string,
|
856
|
+
projectid: string,
|
857
|
+
messageid: string,
|
858
|
+
}
|
847
859
|
export type TResponseGetProject = {
|
848
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
849
|
-
project?: type_pb.TProject
|
850
|
-
}
|
860
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
861
|
+
project?: type_pb.TProject,
|
862
|
+
}
|
851
863
|
export type TRequestGetProjects = {
|
852
|
-
did: string
|
853
|
-
paging?: type_pb.TPaging
|
854
|
-
componentDid: string
|
855
|
-
tenantScope: string
|
856
|
-
}
|
864
|
+
did: string,
|
865
|
+
paging?: type_pb.TPaging,
|
866
|
+
componentDid: string,
|
867
|
+
tenantScope: string,
|
868
|
+
}
|
857
869
|
export type TResponseGetProjects = {
|
858
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
859
|
-
projects: type_pb.TProject[]
|
860
|
-
paging?: type_pb.TPaging
|
861
|
-
}
|
870
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
871
|
+
projects: type_pb.TProject[],
|
872
|
+
paging?: type_pb.TPaging,
|
873
|
+
}
|
862
874
|
export type TRequestCreateProject = {
|
863
|
-
did: string
|
864
|
-
type: enum_pb.PublishTypeMap[keyof enum_pb.PublishTypeMap]
|
865
|
-
blockletDid: string
|
866
|
-
blockletTitle: string
|
867
|
-
componentDid: string
|
868
|
-
tenantScope: string
|
869
|
-
}
|
875
|
+
did: string,
|
876
|
+
type: enum_pb.PublishTypeMap[keyof enum_pb.PublishTypeMap],
|
877
|
+
blockletDid: string,
|
878
|
+
blockletTitle: string,
|
879
|
+
componentDid: string,
|
880
|
+
tenantScope: string,
|
881
|
+
}
|
870
882
|
export type TResponseProject = {
|
871
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
872
|
-
project?: type_pb.TProject
|
873
|
-
}
|
883
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
884
|
+
project?: type_pb.TProject,
|
885
|
+
}
|
874
886
|
export type TRequestUpdateProject = {
|
875
|
-
did: string
|
876
|
-
projectid: string
|
877
|
-
blockletTitle: string
|
878
|
-
blockletDescription: string
|
879
|
-
blockletIntroduction: string
|
880
|
-
}
|
887
|
+
did: string,
|
888
|
+
projectid: string,
|
889
|
+
blockletTitle: string,
|
890
|
+
blockletDescription: string,
|
891
|
+
blockletIntroduction: string,
|
892
|
+
}
|
881
893
|
export type TRequestRelease = {
|
882
|
-
did: string
|
883
|
-
projectId: string
|
884
|
-
releaseId: string
|
885
|
-
}
|
894
|
+
did: string,
|
895
|
+
projectId: string,
|
896
|
+
releaseId: string,
|
897
|
+
}
|
886
898
|
export type TResponseGetRelease = {
|
887
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
888
|
-
release?: type_pb.TRelease
|
889
|
-
}
|
899
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
900
|
+
release?: type_pb.TRelease,
|
901
|
+
}
|
890
902
|
export type TRequestGetReleases = {
|
891
|
-
did: string
|
892
|
-
projectid: string
|
893
|
-
paging?: type_pb.TPaging
|
894
|
-
}
|
903
|
+
did: string,
|
904
|
+
projectid: string,
|
905
|
+
paging?: type_pb.TPaging,
|
906
|
+
}
|
895
907
|
export type TResponseGetReleases = {
|
896
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
897
|
-
releases: type_pb.TRelease[]
|
898
|
-
paging?: type_pb.TPaging
|
899
|
-
}
|
908
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
909
|
+
releases: type_pb.TRelease[],
|
910
|
+
paging?: type_pb.TPaging,
|
911
|
+
}
|
900
912
|
export type TRequestCreateRelease = {
|
901
|
-
did: string
|
902
|
-
projectId: string
|
903
|
-
releaseId: string
|
904
|
-
blockletDid: string
|
905
|
-
blockletVersion: string
|
906
|
-
blockletTitle: string
|
907
|
-
blockletDescription: string
|
908
|
-
blockletLogo: string
|
909
|
-
blockletIntroduction: string
|
910
|
-
blockletScreenshots: string[]
|
911
|
-
note: string
|
912
|
-
status: string
|
913
|
-
blockletComponents: string[]
|
914
|
-
uploadedResource: string
|
915
|
-
}
|
913
|
+
did: string,
|
914
|
+
projectId: string,
|
915
|
+
releaseId: string,
|
916
|
+
blockletDid: string,
|
917
|
+
blockletVersion: string,
|
918
|
+
blockletTitle: string,
|
919
|
+
blockletDescription: string,
|
920
|
+
blockletLogo: string,
|
921
|
+
blockletIntroduction: string,
|
922
|
+
blockletScreenshots: string[],
|
923
|
+
note: string,
|
924
|
+
status: string,
|
925
|
+
blockletComponents: string[],
|
926
|
+
uploadedResource: string,
|
927
|
+
}
|
916
928
|
export type TResponseRelease = {
|
917
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
918
|
-
release?: type_pb.TRelease
|
919
|
-
}
|
929
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
930
|
+
release?: type_pb.TRelease,
|
931
|
+
}
|
920
932
|
export type TRequestConnectToStore = {
|
921
|
-
did: string
|
922
|
-
storeId: string
|
923
|
-
storeUrl: string
|
924
|
-
storeName: string
|
925
|
-
projectId: string
|
926
|
-
}
|
933
|
+
did: string,
|
934
|
+
storeId: string,
|
935
|
+
storeUrl: string,
|
936
|
+
storeName: string,
|
937
|
+
projectId: string,
|
938
|
+
}
|
927
939
|
export type TResponseConnectToStore = {
|
928
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
929
|
-
url: string
|
930
|
-
}
|
940
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
941
|
+
url: string,
|
942
|
+
}
|
931
943
|
export type TRequestDisconnectFromStore = {
|
932
|
-
did: string
|
933
|
-
storeId: string
|
934
|
-
projectId: string
|
935
|
-
storeScope: string
|
936
|
-
}
|
944
|
+
did: string,
|
945
|
+
storeId: string,
|
946
|
+
projectId: string,
|
947
|
+
storeScope: string,
|
948
|
+
}
|
937
949
|
export type TResponseDisconnectFromStore = {
|
938
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
939
|
-
}
|
950
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
951
|
+
}
|
940
952
|
export type TRequestConnectByStudio = {
|
941
|
-
did: string
|
942
|
-
storeId: string
|
943
|
-
storeUrl: string
|
944
|
-
storeName: string
|
945
|
-
blockletTitle: string
|
946
|
-
type: string
|
947
|
-
tenantScope: string
|
948
|
-
componentDid: string
|
949
|
-
messageId: string
|
950
|
-
}
|
953
|
+
did: string,
|
954
|
+
storeId: string,
|
955
|
+
storeUrl: string,
|
956
|
+
storeName: string,
|
957
|
+
blockletTitle: string,
|
958
|
+
type: string,
|
959
|
+
tenantScope: string,
|
960
|
+
componentDid: string,
|
961
|
+
messageId: string,
|
962
|
+
}
|
951
963
|
export type TResponseConnectByStudio = {
|
952
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
953
|
-
url: string
|
954
|
-
}
|
964
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
965
|
+
url: string,
|
966
|
+
}
|
955
967
|
export type TRequestPublishToStore = {
|
956
|
-
did: string
|
957
|
-
projectId: string
|
958
|
-
releaseId: string
|
959
|
-
type: string
|
960
|
-
storeId: string
|
961
|
-
}
|
968
|
+
did: string,
|
969
|
+
projectId: string,
|
970
|
+
releaseId: string,
|
971
|
+
type: string,
|
972
|
+
storeId: string,
|
973
|
+
}
|
962
974
|
export type TResponsePublishToStore = {
|
963
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
964
|
-
url: string
|
965
|
-
}
|
975
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
976
|
+
url: string,
|
977
|
+
}
|
966
978
|
export type TRequestGetSelectedResources = {
|
967
|
-
did: string
|
968
|
-
projectId: string
|
969
|
-
releaseId: string
|
970
|
-
componentDid: string
|
971
|
-
}
|
979
|
+
did: string,
|
980
|
+
projectId: string,
|
981
|
+
releaseId: string,
|
982
|
+
componentDid: string,
|
983
|
+
}
|
972
984
|
export type TResponseGetSelectedResources = {
|
973
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
974
|
-
resources: string[]
|
975
|
-
}
|
985
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
986
|
+
resources: string[],
|
987
|
+
}
|
976
988
|
export type TRequestUpdateSelectedResources = {
|
977
|
-
did: string
|
978
|
-
projectId: string
|
979
|
-
releaseId: string
|
980
|
-
componentDid: string
|
981
|
-
resources: string[]
|
982
|
-
}
|
989
|
+
did: string,
|
990
|
+
projectId: string,
|
991
|
+
releaseId: string,
|
992
|
+
componentDid: string,
|
993
|
+
resources: string[],
|
994
|
+
}
|