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