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