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