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