@abtnode/types 1.16.21-beta-46c675eb → 1.16.21-beta-e828f413

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