@abtnode/types 1.16.28-next-5a717317 → 1.16.29-beta-0070353c
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 +774 -754
- package/lib/type_pb.d.ts +850 -844
- package/package.json +2 -2
package/lib/rpc_pb.d.ts
CHANGED
@@ -1,963 +1,983 @@
|
|
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
|
-
}
|
515
|
+
teamDid: string,
|
516
|
+
role: string,
|
517
|
+
remark: string,
|
518
|
+
}
|
507
519
|
export type TResponseCreateInvitation = {
|
508
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
509
|
-
inviteInfo?: type_pb.TInviteInfo
|
510
|
-
}
|
520
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
521
|
+
inviteInfo?: type_pb.TInviteInfo,
|
522
|
+
}
|
511
523
|
export type TRequestCreateTransferNodeInvitation = {
|
512
|
-
teamDid: string
|
513
|
-
remark: string
|
514
|
-
}
|
524
|
+
teamDid: string,
|
525
|
+
remark: string,
|
526
|
+
}
|
515
527
|
export type TResponseCreateTransferNodeInvitation = {
|
516
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
517
|
-
inviteInfo?: type_pb.TInviteInfo
|
518
|
-
}
|
528
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
529
|
+
inviteInfo?: type_pb.TInviteInfo,
|
530
|
+
}
|
519
531
|
export type TRequestDeleteTeamSession = {
|
520
|
-
teamDid: string
|
521
|
-
sessionId: string
|
522
|
-
}
|
532
|
+
teamDid: string,
|
533
|
+
sessionId: string,
|
534
|
+
}
|
523
535
|
export type TResponseGetInvitations = {
|
524
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
525
|
-
invitations: type_pb.TInviteInfo[]
|
526
|
-
}
|
536
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
537
|
+
invitations: type_pb.TInviteInfo[],
|
538
|
+
}
|
527
539
|
export type TRequestDeleteInvitation = {
|
528
|
-
teamDid: string
|
529
|
-
inviteId: string
|
530
|
-
}
|
540
|
+
teamDid: string,
|
541
|
+
inviteId: string,
|
542
|
+
}
|
531
543
|
export type TRequestHasPermission = {
|
532
|
-
teamDid: string
|
533
|
-
role: string
|
534
|
-
permission: string
|
535
|
-
}
|
544
|
+
teamDid: string,
|
545
|
+
role: string,
|
546
|
+
permission: string,
|
547
|
+
}
|
536
548
|
export type TRequestCreatePassportIssuance = {
|
537
|
-
teamDid: string
|
538
|
-
ownerDid: string
|
539
|
-
name: string
|
540
|
-
}
|
549
|
+
teamDid: string,
|
550
|
+
ownerDid: string,
|
551
|
+
name: string,
|
552
|
+
}
|
541
553
|
export type TResponseCreatePassportIssuance = {
|
542
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
543
|
-
info?: type_pb.TPassportIssuanceInfo
|
544
|
-
}
|
554
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
555
|
+
info?: type_pb.TPassportIssuanceInfo,
|
556
|
+
}
|
545
557
|
export type TRequestGetPassportIssuances = {
|
546
|
-
teamDid: string
|
547
|
-
ownerDid: string
|
548
|
-
}
|
558
|
+
teamDid: string,
|
559
|
+
ownerDid: string,
|
560
|
+
}
|
549
561
|
export type TResponseGetPassportIssuances = {
|
550
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
551
|
-
list: type_pb.TPassportIssuanceInfo[]
|
552
|
-
}
|
562
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
563
|
+
list: type_pb.TPassportIssuanceInfo[],
|
564
|
+
}
|
553
565
|
export type TRequestConfigTrustedPassports = {
|
554
|
-
teamDid: string
|
555
|
-
trustedPassports: type_pb.TTrustedPassport[]
|
556
|
-
}
|
566
|
+
teamDid: string,
|
567
|
+
trustedPassports: type_pb.TTrustedPassport[],
|
568
|
+
}
|
557
569
|
export type TRequestConfigTrustedFactories = {
|
558
|
-
teamDid: string
|
559
|
-
trustedFactories: type_pb.TTrustedFactory[]
|
560
|
-
}
|
570
|
+
teamDid: string,
|
571
|
+
trustedFactories: type_pb.TTrustedFactory[],
|
572
|
+
}
|
561
573
|
export type TRequestConfigPassportIssuance = {
|
562
|
-
teamDid: string
|
563
|
-
enable: boolean
|
564
|
-
}
|
574
|
+
teamDid: string,
|
575
|
+
enable: boolean,
|
576
|
+
}
|
565
577
|
export type TResponseRoles = {
|
566
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
567
|
-
roles: type_pb.TRole[]
|
568
|
-
}
|
578
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
579
|
+
roles: type_pb.TRole[],
|
580
|
+
}
|
569
581
|
export type TRequestCreateRole = {
|
570
|
-
teamDid: string
|
571
|
-
name: string
|
572
|
-
title: string
|
573
|
-
description: string
|
574
|
-
childName: string
|
575
|
-
permissions: string[]
|
576
|
-
extra: string
|
577
|
-
}
|
582
|
+
teamDid: string,
|
583
|
+
name: string,
|
584
|
+
title: string,
|
585
|
+
description: string,
|
586
|
+
childName: string,
|
587
|
+
permissions: string[],
|
588
|
+
extra: string,
|
589
|
+
}
|
578
590
|
export type TResponseRole = {
|
579
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
580
|
-
role?: type_pb.TRole
|
581
|
-
}
|
591
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
592
|
+
role?: type_pb.TRole,
|
593
|
+
}
|
582
594
|
export type TResponsePermissions = {
|
583
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
584
|
-
permissions: type_pb.TPermission[]
|
585
|
-
}
|
595
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
596
|
+
permissions: type_pb.TPermission[],
|
597
|
+
}
|
586
598
|
export type TRequestCreatePermission = {
|
587
|
-
teamDid: string
|
588
|
-
name: string
|
589
|
-
description: string
|
590
|
-
}
|
599
|
+
teamDid: string,
|
600
|
+
name: string,
|
601
|
+
description: string,
|
602
|
+
}
|
591
603
|
export type TRequestTeamPermission = {
|
592
|
-
teamDid: string
|
593
|
-
permission?: type_pb.TPermission
|
594
|
-
}
|
604
|
+
teamDid: string,
|
605
|
+
permission?: type_pb.TPermission,
|
606
|
+
}
|
595
607
|
export type TResponsePermission = {
|
596
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
597
|
-
permission?: type_pb.TPermission
|
598
|
-
}
|
608
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
609
|
+
permission?: type_pb.TPermission,
|
610
|
+
}
|
599
611
|
export type TRequestGrantPermissionForRole = {
|
600
|
-
teamDid: string
|
601
|
-
roleName: string
|
602
|
-
grantName: string
|
603
|
-
}
|
612
|
+
teamDid: string,
|
613
|
+
roleName: string,
|
614
|
+
grantName: string,
|
615
|
+
}
|
604
616
|
export type TRequestRevokePermissionFromRole = {
|
605
|
-
teamDid: string
|
606
|
-
roleName: string
|
607
|
-
grantName: string
|
608
|
-
}
|
617
|
+
teamDid: string,
|
618
|
+
roleName: string,
|
619
|
+
grantName: string,
|
620
|
+
}
|
609
621
|
export type TRequestDeleteRole = {
|
610
|
-
teamDid: string
|
611
|
-
name: string
|
612
|
-
}
|
622
|
+
teamDid: string,
|
623
|
+
name: string,
|
624
|
+
}
|
613
625
|
export type TRequestDeletePermission = {
|
614
|
-
teamDid: string
|
615
|
-
name: string
|
616
|
-
}
|
626
|
+
teamDid: string,
|
627
|
+
name: string,
|
628
|
+
}
|
617
629
|
export type TRequestUpdatePermissionsForRole = {
|
618
|
-
teamDid: string
|
619
|
-
roleName: string
|
620
|
-
grantNames: string[]
|
621
|
-
}
|
630
|
+
teamDid: string,
|
631
|
+
roleName: string,
|
632
|
+
grantNames: string[],
|
633
|
+
}
|
622
634
|
export type TRequestTeamRole = {
|
623
|
-
teamDid: string
|
624
|
-
role?: type_pb.TRoleUpdate
|
625
|
-
}
|
635
|
+
teamDid: string,
|
636
|
+
role?: type_pb.TRoleUpdate,
|
637
|
+
}
|
626
638
|
export type TRequestTeamUser = {
|
627
|
-
teamDid: string
|
628
|
-
user?: type_pb.TUserInfo
|
629
|
-
options?: TRequestTeamUserOptions
|
630
|
-
}
|
639
|
+
teamDid: string,
|
640
|
+
user?: type_pb.TUserInfo,
|
641
|
+
options?: TRequestTeamUserOptions,
|
642
|
+
}
|
631
643
|
export type TRequestUpdateUserTags = {
|
632
|
-
teamDid: string
|
633
|
-
did: string
|
634
|
-
tags: number[]
|
635
|
-
}
|
644
|
+
teamDid: string,
|
645
|
+
did: string,
|
646
|
+
tags: number[],
|
647
|
+
}
|
636
648
|
export type TRequestUpdateUserExtra = {
|
637
|
-
teamDid: string
|
638
|
-
did: string
|
639
|
-
remark: string
|
640
|
-
extra: string
|
641
|
-
}
|
649
|
+
teamDid: string,
|
650
|
+
did: string,
|
651
|
+
remark: string,
|
652
|
+
extra: string,
|
653
|
+
}
|
654
|
+
export type TRequestUpdateUserProfile = {
|
655
|
+
teamDid: string,
|
656
|
+
did: string,
|
657
|
+
remark: string,
|
658
|
+
locale: string,
|
659
|
+
}
|
642
660
|
export type TRequestTeamUserOptions = {
|
643
|
-
enableConnectedAccount: boolean
|
644
|
-
includeTags: boolean
|
645
|
-
}
|
661
|
+
enableConnectedAccount: boolean,
|
662
|
+
includeTags: boolean,
|
663
|
+
}
|
646
664
|
export type TResponseUser = {
|
647
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
648
|
-
user?: type_pb.TUserInfo
|
649
|
-
}
|
665
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
666
|
+
user?: type_pb.TUserInfo,
|
667
|
+
}
|
650
668
|
export type TRequestUsers = {
|
651
|
-
teamDid: string
|
652
|
-
query?: type_pb.TUserQuery
|
653
|
-
sort?: type_pb.TUserSort
|
654
|
-
paging?: type_pb.TPaging
|
655
|
-
dids: string[]
|
656
|
-
}
|
669
|
+
teamDid: string,
|
670
|
+
query?: type_pb.TUserQuery,
|
671
|
+
sort?: type_pb.TUserSort,
|
672
|
+
paging?: type_pb.TPaging,
|
673
|
+
dids: string[],
|
674
|
+
}
|
657
675
|
export type TRequestLogoutUser = {
|
658
|
-
teamDid: string
|
659
|
-
appPid: string
|
660
|
-
userDid: string
|
661
|
-
visitorId: string
|
662
|
-
}
|
676
|
+
teamDid: string,
|
677
|
+
appPid: string,
|
678
|
+
userDid: string,
|
679
|
+
visitorId: string,
|
680
|
+
}
|
663
681
|
export type TResponseGetUsersCount = {
|
664
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
665
|
-
count: number
|
666
|
-
}
|
682
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
683
|
+
count: number,
|
684
|
+
}
|
667
685
|
export type TResponseGetUsersCountPerRole = {
|
668
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
669
|
-
counts: type_pb.TKeyValue[]
|
670
|
-
}
|
686
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
687
|
+
counts: type_pb.TKeyValue[],
|
688
|
+
}
|
671
689
|
export type TResponseUsers = {
|
672
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
673
|
-
users: type_pb.TUserInfo[]
|
674
|
-
paging?: type_pb.TPaging
|
675
|
-
}
|
690
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
691
|
+
users: type_pb.TUserInfo[],
|
692
|
+
paging?: type_pb.TPaging,
|
693
|
+
}
|
676
694
|
export type TRequestIssuePassportToUser = {
|
677
|
-
teamDid: string
|
678
|
-
userDid: string
|
679
|
-
role: string
|
680
|
-
}
|
695
|
+
teamDid: string,
|
696
|
+
userDid: string,
|
697
|
+
role: string,
|
698
|
+
}
|
681
699
|
export type TRequestSwitchProfile = {
|
682
|
-
teamDid: string
|
683
|
-
userDid: string
|
684
|
-
profile?: type_pb.TUserProfile
|
685
|
-
}
|
700
|
+
teamDid: string,
|
701
|
+
userDid: string,
|
702
|
+
profile?: type_pb.TUserProfile,
|
703
|
+
}
|
686
704
|
export type TRequestRevokeUserPassport = {
|
687
|
-
teamDid: string
|
688
|
-
userDid: string
|
689
|
-
passportId: string
|
690
|
-
}
|
705
|
+
teamDid: string,
|
706
|
+
userDid: string,
|
707
|
+
passportId: string,
|
708
|
+
}
|
691
709
|
export type TRequestAddBlockletStore = {
|
692
|
-
teamDid: string
|
693
|
-
url: string
|
694
|
-
|
710
|
+
teamDid: string,
|
711
|
+
url: string,
|
712
|
+
scope: string,
|
713
|
+
}
|
695
714
|
export type TRequestDeleteBlockletStore = {
|
696
|
-
teamDid: string
|
697
|
-
url: string
|
698
|
-
projectId: string
|
699
|
-
}
|
715
|
+
teamDid: string,
|
716
|
+
url: string,
|
717
|
+
projectId: string,
|
718
|
+
}
|
700
719
|
export type TRequestGetAuditLogs = {
|
701
|
-
paging?: type_pb.TPaging
|
702
|
-
scope: string
|
703
|
-
category: string
|
704
|
-
}
|
720
|
+
paging?: type_pb.TPaging,
|
721
|
+
scope: string,
|
722
|
+
category: string,
|
723
|
+
}
|
705
724
|
export type TResponseGetAuditLogs = {
|
706
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
707
|
-
list: type_pb.TAuditLog[]
|
708
|
-
paging?: type_pb.TPaging
|
709
|
-
}
|
725
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
726
|
+
list: type_pb.TAuditLog[],
|
727
|
+
paging?: type_pb.TPaging,
|
728
|
+
}
|
710
729
|
export type TRequestGateway = {
|
711
|
-
requestLimit?: type_pb.TRequestLimit
|
712
|
-
cacheEnabled: boolean
|
713
|
-
}
|
730
|
+
requestLimit?: type_pb.TRequestLimit,
|
731
|
+
cacheEnabled: boolean,
|
732
|
+
}
|
714
733
|
export type TResponseGateway = {
|
715
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
716
|
-
gateway?: type_pb.TGateway
|
717
|
-
cacheEnabled: boolean
|
718
|
-
}
|
734
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
735
|
+
gateway?: type_pb.TGateway,
|
736
|
+
cacheEnabled: boolean,
|
737
|
+
}
|
719
738
|
export type TRequestBlockletRuntimeHistory = {
|
720
|
-
did: string
|
721
|
-
hours: number
|
722
|
-
}
|
739
|
+
did: string,
|
740
|
+
hours: number,
|
741
|
+
}
|
723
742
|
export type TResponseNodeRuntimeHistory = {
|
724
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
725
|
-
history: type_pb.TNodeHistoryItem[]
|
726
|
-
}
|
743
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
744
|
+
history: type_pb.TNodeHistoryItem[],
|
745
|
+
}
|
727
746
|
export type TRequestNodeRuntimeHistory = {
|
728
|
-
hours: number
|
729
|
-
}
|
747
|
+
hours: number,
|
748
|
+
}
|
730
749
|
export type TResponseBlockletRuntimeHistory = {
|
731
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
732
|
-
history: type_pb.TBlockletHistoryItem[]
|
733
|
-
}
|
750
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
751
|
+
history: type_pb.TBlockletHistoryItem[],
|
752
|
+
}
|
734
753
|
export type TRequestMigrateApplicationToStructV2 = {
|
735
|
-
did: string
|
736
|
-
appSk: string
|
737
|
-
}
|
754
|
+
did: string,
|
755
|
+
appSk: string,
|
756
|
+
}
|
738
757
|
export type TRequestAddBlockletSpaceGateway = {
|
739
|
-
did: string
|
740
|
-
spaceGateway?: type_pb.TSpaceGateway
|
741
|
-
}
|
758
|
+
did: string,
|
759
|
+
spaceGateway?: type_pb.TSpaceGateway,
|
760
|
+
}
|
742
761
|
export type TRequestDeleteBlockletSpaceGateway = {
|
743
|
-
did: string
|
744
|
-
spacegatewaydid: string
|
745
|
-
}
|
762
|
+
did: string,
|
763
|
+
spacegatewaydid: string,
|
764
|
+
}
|
746
765
|
export type TRequestUpdateBlockletSpaceGateway = {
|
747
|
-
did: string
|
748
|
-
where?: type_pb.TSpaceGateway
|
749
|
-
spaceGateway?: type_pb.TSpaceGateway
|
750
|
-
}
|
766
|
+
did: string,
|
767
|
+
where?: type_pb.TSpaceGateway,
|
768
|
+
spaceGateway?: type_pb.TSpaceGateway,
|
769
|
+
}
|
751
770
|
export type TResponseGetBlockletSpaceGateways = {
|
752
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
753
|
-
spaceGateways: type_pb.TSpaceGateway[]
|
754
|
-
}
|
771
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
772
|
+
spaceGateways: type_pb.TSpaceGateway[],
|
773
|
+
}
|
755
774
|
export type TRequestUpdateAutoBackup = {
|
756
|
-
did: string
|
757
|
-
autobackup?: type_pb.TAutoBackup
|
758
|
-
}
|
775
|
+
did: string,
|
776
|
+
autobackup?: type_pb.TAutoBackup,
|
777
|
+
}
|
759
778
|
export type TResponseGetAutoBackup = {
|
760
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
761
|
-
autobackup?: type_pb.TAutoBackup
|
762
|
-
}
|
779
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
780
|
+
autobackup?: type_pb.TAutoBackup,
|
781
|
+
}
|
763
782
|
export type TRequestGetAutoBackup = {
|
764
|
-
did: string
|
765
|
-
}
|
783
|
+
did: string,
|
784
|
+
}
|
766
785
|
export type TRequestGetBlockletBackups = {
|
767
|
-
did: string
|
768
|
-
}
|
786
|
+
did: string,
|
787
|
+
}
|
769
788
|
export type TResponseGetBlockletBackups = {
|
770
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
771
|
-
backups: type_pb.TBackup[]
|
772
|
-
}
|
789
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
790
|
+
backups: type_pb.TBackup[],
|
791
|
+
}
|
773
792
|
export type TRequestUpdateAutoCheckUpdate = {
|
774
|
-
did: string
|
775
|
-
autoCheckUpdate?: type_pb.TAutoCheckUpdate
|
776
|
-
}
|
793
|
+
did: string,
|
794
|
+
autoCheckUpdate?: type_pb.TAutoCheckUpdate,
|
795
|
+
}
|
777
796
|
export type TRequestGetAutoCheckUpdate = {
|
778
|
-
did: string
|
779
|
-
}
|
797
|
+
did: string,
|
798
|
+
}
|
780
799
|
export type TResponseGetAutoCheckUpdate = {
|
781
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
782
|
-
autoCheckUpdate?: type_pb.TAutoCheckUpdate
|
783
|
-
}
|
800
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
801
|
+
autoCheckUpdate?: type_pb.TAutoCheckUpdate,
|
802
|
+
}
|
784
803
|
export type TRequestGetLauncherSession = {
|
785
|
-
launcherSessionId: string
|
786
|
-
launcherUrl: string
|
787
|
-
}
|
804
|
+
launcherSessionId: string,
|
805
|
+
launcherUrl: string,
|
806
|
+
}
|
788
807
|
export type TResponseGetLauncherSession = {
|
789
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
790
|
-
error: string
|
791
|
-
launcherSession?: Record<string, any
|
792
|
-
}
|
808
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
809
|
+
error: string,
|
810
|
+
launcherSession?: Record<string, any>,
|
811
|
+
}
|
793
812
|
export type TRequestUpdateAppSessionConfig = {
|
794
|
-
did: string
|
795
|
-
config?: type_pb.TSessionConfig
|
796
|
-
}
|
813
|
+
did: string,
|
814
|
+
config?: type_pb.TSessionConfig,
|
815
|
+
}
|
797
816
|
export type TRequestGetTrafficInsights = {
|
798
|
-
did: string
|
799
|
-
startDate: string
|
800
|
-
endDate: string
|
801
|
-
paging?: type_pb.TPaging
|
802
|
-
}
|
817
|
+
did: string,
|
818
|
+
startDate: string,
|
819
|
+
endDate: string,
|
820
|
+
paging?: type_pb.TPaging,
|
821
|
+
}
|
803
822
|
export type TResponseGetTrafficInsights = {
|
804
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
805
|
-
list: type_pb.TTrafficInsight[]
|
806
|
-
paging?: type_pb.TPaging
|
807
|
-
}
|
823
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
824
|
+
list: type_pb.TTrafficInsight[],
|
825
|
+
paging?: type_pb.TPaging,
|
826
|
+
}
|
808
827
|
export type TRequestClearCache = {
|
809
|
-
teamDid: string
|
810
|
-
pattern: string
|
811
|
-
}
|
828
|
+
teamDid: string,
|
829
|
+
pattern: string,
|
830
|
+
}
|
812
831
|
export type TResponseClearCache = {
|
813
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
814
|
-
removed: string[]
|
815
|
-
}
|
832
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
833
|
+
removed: string[],
|
834
|
+
}
|
816
835
|
export type TRequestTag = {
|
817
|
-
teamDid: string
|
818
|
-
tag?: type_pb.TTag
|
819
|
-
}
|
836
|
+
teamDid: string,
|
837
|
+
tag?: type_pb.TTag,
|
838
|
+
}
|
820
839
|
export type TResponseTag = {
|
821
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
822
|
-
tag?: type_pb.TTag
|
823
|
-
}
|
840
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
841
|
+
tag?: type_pb.TTag,
|
842
|
+
}
|
824
843
|
export type TRequestTags = {
|
825
|
-
teamDid: string
|
826
|
-
paging?: type_pb.TPaging
|
827
|
-
}
|
844
|
+
teamDid: string,
|
845
|
+
paging?: type_pb.TPaging,
|
846
|
+
}
|
828
847
|
export type TResponseTags = {
|
829
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
830
|
-
tags: type_pb.TTag[]
|
831
|
-
paging?: type_pb.TPaging
|
832
|
-
}
|
848
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
849
|
+
tags: type_pb.TTag[],
|
850
|
+
paging?: type_pb.TPaging,
|
851
|
+
}
|
833
852
|
export type TRequestProject = {
|
834
|
-
did: string
|
835
|
-
projectid: string
|
836
|
-
messageid: string
|
837
|
-
}
|
853
|
+
did: string,
|
854
|
+
projectid: string,
|
855
|
+
messageid: string,
|
856
|
+
}
|
838
857
|
export type TResponseGetProject = {
|
839
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
840
|
-
project?: type_pb.TProject
|
841
|
-
}
|
858
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
859
|
+
project?: type_pb.TProject,
|
860
|
+
}
|
842
861
|
export type TRequestGetProjects = {
|
843
|
-
did: string
|
844
|
-
paging?: type_pb.TPaging
|
845
|
-
componentDid: string
|
846
|
-
tenantScope: string
|
847
|
-
}
|
862
|
+
did: string,
|
863
|
+
paging?: type_pb.TPaging,
|
864
|
+
componentDid: string,
|
865
|
+
tenantScope: string,
|
866
|
+
}
|
848
867
|
export type TResponseGetProjects = {
|
849
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
850
|
-
projects: type_pb.TProject[]
|
851
|
-
paging?: type_pb.TPaging
|
852
|
-
}
|
868
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
869
|
+
projects: type_pb.TProject[],
|
870
|
+
paging?: type_pb.TPaging,
|
871
|
+
}
|
853
872
|
export type TRequestCreateProject = {
|
854
|
-
did: string
|
855
|
-
type: enum_pb.PublishTypeMap[keyof enum_pb.PublishTypeMap]
|
856
|
-
blockletDid: string
|
857
|
-
blockletTitle: string
|
858
|
-
componentDid: string
|
859
|
-
tenantScope: string
|
860
|
-
}
|
873
|
+
did: string,
|
874
|
+
type: enum_pb.PublishTypeMap[keyof enum_pb.PublishTypeMap],
|
875
|
+
blockletDid: string,
|
876
|
+
blockletTitle: string,
|
877
|
+
componentDid: string,
|
878
|
+
tenantScope: string,
|
879
|
+
}
|
861
880
|
export type TResponseProject = {
|
862
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
863
|
-
project?: type_pb.TProject
|
864
|
-
}
|
881
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
882
|
+
project?: type_pb.TProject,
|
883
|
+
}
|
865
884
|
export type TRequestUpdateProject = {
|
866
|
-
did: string
|
867
|
-
projectid: string
|
868
|
-
blockletTitle: string
|
869
|
-
blockletDescription: string
|
870
|
-
blockletIntroduction: string
|
871
|
-
}
|
885
|
+
did: string,
|
886
|
+
projectid: string,
|
887
|
+
blockletTitle: string,
|
888
|
+
blockletDescription: string,
|
889
|
+
blockletIntroduction: string,
|
890
|
+
}
|
872
891
|
export type TRequestRelease = {
|
873
|
-
did: string
|
874
|
-
projectId: string
|
875
|
-
releaseId: string
|
876
|
-
}
|
892
|
+
did: string,
|
893
|
+
projectId: string,
|
894
|
+
releaseId: string,
|
895
|
+
}
|
877
896
|
export type TResponseGetRelease = {
|
878
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
879
|
-
release?: type_pb.TRelease
|
880
|
-
}
|
897
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
898
|
+
release?: type_pb.TRelease,
|
899
|
+
}
|
881
900
|
export type TRequestGetReleases = {
|
882
|
-
did: string
|
883
|
-
projectid: string
|
884
|
-
paging?: type_pb.TPaging
|
885
|
-
}
|
901
|
+
did: string,
|
902
|
+
projectid: string,
|
903
|
+
paging?: type_pb.TPaging,
|
904
|
+
}
|
886
905
|
export type TResponseGetReleases = {
|
887
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
888
|
-
releases: type_pb.TRelease[]
|
889
|
-
paging?: type_pb.TPaging
|
890
|
-
}
|
906
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
907
|
+
releases: type_pb.TRelease[],
|
908
|
+
paging?: type_pb.TPaging,
|
909
|
+
}
|
891
910
|
export type TRequestCreateRelease = {
|
892
|
-
did: string
|
893
|
-
projectId: string
|
894
|
-
releaseId: string
|
895
|
-
blockletDid: string
|
896
|
-
blockletVersion: string
|
897
|
-
blockletTitle: string
|
898
|
-
blockletDescription: string
|
899
|
-
blockletLogo: string
|
900
|
-
blockletIntroduction: string
|
901
|
-
blockletScreenshots: string[]
|
902
|
-
note: string
|
903
|
-
status: string
|
904
|
-
blockletComponents: string[]
|
905
|
-
|
911
|
+
did: string,
|
912
|
+
projectId: string,
|
913
|
+
releaseId: string,
|
914
|
+
blockletDid: string,
|
915
|
+
blockletVersion: string,
|
916
|
+
blockletTitle: string,
|
917
|
+
blockletDescription: string,
|
918
|
+
blockletLogo: string,
|
919
|
+
blockletIntroduction: string,
|
920
|
+
blockletScreenshots: string[],
|
921
|
+
note: string,
|
922
|
+
status: string,
|
923
|
+
blockletComponents: string[],
|
924
|
+
uploadedResource: string,
|
925
|
+
}
|
906
926
|
export type TResponseRelease = {
|
907
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
908
|
-
release?: type_pb.TRelease
|
909
|
-
}
|
927
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
928
|
+
release?: type_pb.TRelease,
|
929
|
+
}
|
910
930
|
export type TRequestConnectToStore = {
|
911
|
-
did: string
|
912
|
-
storeId: string
|
913
|
-
storeUrl: string
|
914
|
-
storeName: string
|
915
|
-
projectId: string
|
916
|
-
}
|
931
|
+
did: string,
|
932
|
+
storeId: string,
|
933
|
+
storeUrl: string,
|
934
|
+
storeName: string,
|
935
|
+
projectId: string,
|
936
|
+
}
|
917
937
|
export type TResponseConnectToStore = {
|
918
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
919
|
-
url: string
|
920
|
-
}
|
938
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
939
|
+
url: string,
|
940
|
+
}
|
921
941
|
export type TRequestConnectByStudio = {
|
922
|
-
did: string
|
923
|
-
storeId: string
|
924
|
-
storeUrl: string
|
925
|
-
storeName: string
|
926
|
-
blockletTitle: string
|
927
|
-
type: string
|
928
|
-
tenantScope: string
|
929
|
-
componentDid: string
|
930
|
-
messageId: string
|
931
|
-
}
|
942
|
+
did: string,
|
943
|
+
storeId: string,
|
944
|
+
storeUrl: string,
|
945
|
+
storeName: string,
|
946
|
+
blockletTitle: string,
|
947
|
+
type: string,
|
948
|
+
tenantScope: string,
|
949
|
+
componentDid: string,
|
950
|
+
messageId: string,
|
951
|
+
}
|
932
952
|
export type TResponseConnectByStudio = {
|
933
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
934
|
-
url: string
|
935
|
-
}
|
953
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
954
|
+
url: string,
|
955
|
+
}
|
936
956
|
export type TRequestPublishToStore = {
|
937
|
-
did: string
|
938
|
-
projectId: string
|
939
|
-
releaseId: string
|
940
|
-
type: string
|
941
|
-
storeId: string
|
942
|
-
}
|
957
|
+
did: string,
|
958
|
+
projectId: string,
|
959
|
+
releaseId: string,
|
960
|
+
type: string,
|
961
|
+
storeId: string,
|
962
|
+
}
|
943
963
|
export type TResponsePublishToStore = {
|
944
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
945
|
-
url: string
|
946
|
-
}
|
964
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
965
|
+
url: string,
|
966
|
+
}
|
947
967
|
export type TRequestGetSelectedResources = {
|
948
|
-
did: string
|
949
|
-
projectId: string
|
950
|
-
releaseId: string
|
951
|
-
componentDid: string
|
952
|
-
}
|
968
|
+
did: string,
|
969
|
+
projectId: string,
|
970
|
+
releaseId: string,
|
971
|
+
componentDid: string,
|
972
|
+
}
|
953
973
|
export type TResponseGetSelectedResources = {
|
954
|
-
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap]
|
955
|
-
resources: string[]
|
956
|
-
}
|
974
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
975
|
+
resources: string[],
|
976
|
+
}
|
957
977
|
export type TRequestUpdateSelectedResources = {
|
958
|
-
did: string
|
959
|
-
projectId: string
|
960
|
-
releaseId: string
|
961
|
-
componentDid: string
|
962
|
-
resources: string[]
|
963
|
-
}
|
978
|
+
did: string,
|
979
|
+
projectId: string,
|
980
|
+
releaseId: string,
|
981
|
+
componentDid: string,
|
982
|
+
resources: string[],
|
983
|
+
}
|