@abtnode/types 1.16.21-beta-7b40ffb4 → 1.16.21-beta-420f105a

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