@abtnode/types 1.16.28-beta-8acda0e6 → 1.16.28-beta-6917161a

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